diff --git a/311.640905cecd79cc2d.js b/311.640905cecd79cc2d.js deleted file mode 100644 index 00ba8305a..000000000 --- a/311.640905cecd79cc2d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([[311],{30311:(E,l,s)=>{s.r(l),s.d(l,{DocsModule:()=>F});var R=s(52787),G=s(89359),O=s(93285),a=s(65879),i=s(28749);const D=[{path:"",component:O.S,children:[{path:"",redirectTo:"getting-started/zh",pathMatch:"full"},{path:"acl",redirectTo:"acl/zh",pathMatch:"full"},{path:"acl/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/acl.md"},content:{"zh-CN":{content:'
',meta:{order:50,title:"ACL",type:"Advance",url:"/acl/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-acl"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"architecture",redirectTo:"architecture/zh",pathMatch:"full"},{path:"architecture/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/architecture.en-US.md","zh-CN":"docs/architecture.zh-CN.md"},content:{"en-US":{content:'

NG-ALAIN scaffold is a front-end solution to support middleware and back-end application. It is based on Angular and ng-zorro-antd(Angular implementation of Ant Design). The scaffold includes a set of common functionalities and business component libraries. It reduces lots of infrastructure development overwhelmingly and let you focus on business logic development.

Architecture Diagram

@delon/theme

Theme library of scaffold, we publish the theme library to NPM, which extremely simplifies upgrade effort.

Theme library includes not only essential styles(CSS tool like bootstrap) required by NG-ALAIN, but also a set of common data rendering(Pipe) and service tools(page title, scroll bar, etc..), which are needed during daily development.

@delon/abc

Scaffold provides a default set of business components, which abstract commonly used block/area in console service. We will continue to maintain and iterate the components. Provide more advanced abstract components than Ant Design base components to middleware and back-end business.

@delon/chart

@delon/chart chart library is customised based on G2. Providing commonly used chart suite in business development. It can be used alone or composed together to achieve more complex and fancy display effect.

@delon/form

@delon/form follows standard of JSON Schema to build dynamic forms.

@delon/auth

User Authentication module is used for resolving steps to obtain, save and use authentication.

@delon/acl

ACL Access Control List is a very simple role based permission control. It can even reach the granularity of controlling the visibility of a button.

@delon/cache

Reduce the Http request by storing cache of the dictionary, city data, etc. into memory or persistence storage.

@delon/mock

Mock will intercept Angular HTTP request and return testing data.

@delon/util

Daily Utilities\u3002

@delon/testing

Commonly used testing suite.

CLI Schematics

CLI Tool

Directory Structure

Schematic diagram of directory structure\uff1a

\u251c\u2500\u2500 _mock                                       # Mock Data rule\n\u251c\u2500\u2500 src\n\u2502\xa0\xa0 \u251c\u2500\u2500 app\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 core                                # Core module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 i18n\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 net\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 default.interceptor.ts      # Default HTTP interceptor\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 services\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 startup.service.ts          # Initialize project configuration\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 core.module.ts                  # Core module file\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 layout                              # Core layout\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 **                              # Business directory\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes.module.ts                # Service routing module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 routes-routing.module.ts        # Service routes registration\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared                              # Shared module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-delon.module.ts          # @Delon/* import of secondary shared modules\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-zorro.module.ts          # NG-ZORRO import of secondary shared modules\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 shared.module.ts                # Shared module file\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 app.component.ts                    # Root component\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 app.module.ts                       # Root module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 global-config.module.ts             # @delon & ng-zorro global config\n\u2502\xa0\xa0 \u251c\u2500\u2500 assets                                  # Local static resource\n\u2502\xa0\xa0 \u251c\u2500\u2500 environments                            # Environment variable configuration\n\u2502\xa0\xa0 \u251c\u2500\u2500 styles                                  # Style directory\n\u2514\u2500\u2500 \u2514\u2500\u2500 style.less                              # Style guide entry

The following is a description and use of each directory and file.

_mock

The Mock data rules directory, if you create a project via Command Line Tools, you can specify the --mock parameter to determine if the Mock function is required.

src/app/core/core.module.ts

The core module will only be imported once. Therefore, core service classes (eg, messages, data access, etc.) that are required for the entire ** business module should exist here.

src/app/core/i18n

Internationalization data loading and processing related classes. If you create a project via Command Line Tool, you can specify the -di parameter to determine whether internationalization support is required.

src/app/core/net

The default interceptor, where you can handle request parameters, request exceptions, business exceptions, and so on.

src/app/core/services/startup.service.ts

Useful when you need to execute some remote data (eg application information, user information, etc.) before Angular launches.

It is a simple method and returns a Promise object, unless Angular will abort the launch unless resolve(null) is explicitly executed.

src/app/layout

Layout file code, refer to the page structure section.

src/app/routes

Business module, all your business code will be here.

src/app/shared/shared.module.ts

The shared module means that some third-party modules, custom components, and custom instructions that you need to use for the entire business module should exist here. In addition, for @delon & NG-ZORRO, two shared secondary module imports, shared-delon.module.ts andshared-zorro.module.ts.

src/app/global-config.module.ts

Global configuration for @delon & NG-ZORRO.

src/environments

The application environment variable contains the following values:

',meta:{order:20,title:"Architecture",type:"Basic",i18n:"need-update"},toc:[{id:"ArchitectureDiagram",title:"Architecture Diagram",h:2},{id:"DirectoryStructure",title:"Directory Structure",h:2}]},"zh-CN":{content:'

NG-ALAIN \u76ee\u6807\u662f\u63d0\u4f9b\u66f4\u591a\u901a\u7528\u6027\u4e1a\u52a1\u6a21\u5757\uff0c\u8ba9\u5f00\u53d1\u8005\u66f4\u52a0\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u3002\u6240\u4ee5\u5728\u4f60\u7740\u624b\u5f00\u59cb\u5f00\u53d1\u524d\uff0c\u6709\u5fc5\u8981\u4e86\u89e3\u6574\u4e2a NG-ALAIN \u7684\u4f53\u7cfb\u7ed3\u6784\uff0c\u4ece\u6574\u4f53\u4e0a\u4e86\u89e3 NG-ALAIN \u5305\u542b\u4e86\u54ea\u4e9b\u4e1c\u897f\u53ca\u5176\u542b\u4e49\uff0c\u624d\u80fd\u66f4\u597d\u7684\u5229\u7528\u8fd9\u4e9b\u4e1a\u52a1\u7ec4\u4ef6\u5e93\u5feb\u901f\u6784\u5efa\u9879\u76ee\u3002

\u7ed3\u6784\u56fe

\u7c7b\u5e93\u6587\u6863\u63cf\u8ff0
@delon/theme\u6587\u6863\u4e3b\u9898\u7cfb\u7edf\u9664\u4e86\u5305\u542b NG-ALAIN \u57fa\u7840\u6846\u67b6\u53ca\u6240\u9700\u6837\u5f0f\uff08\u5305\u542bCSS\u5de5\u5177\u96c6\uff0c\u4e00\u5957\u7c7b\u4f3cBootstrap\uff09\u4ee5\u5916\uff0c\u8fd8\u5305\u542b\u4e00\u4e9b\u901a\u7528\u7684\u6570\u636e\u6e32\u67d3\uff08Pipe\uff09\u3001\u670d\u52a1\u5de5\u5177\u7c7b\uff08\u9875\u9762\u6807\u9898\u3001\u6eda\u52a8\u6761\u7b49\uff09\u7684\u96c6\u5408\uff0c\u8fd9\u4e9b\u662f\u65e5\u5e38\u5fc5\u4e0d\u53ef\u5c11\u7684\u4e00\u4e9b\u7ec4\u6210
@delon/abc\u6587\u6863\u811a\u624b\u67b6\u5185\u63d0\u4f9b\u4e86\u4e00\u5957\u9ed8\u8ba4\u4e1a\u52a1\u7ec4\u4ef6\uff0c\u8fd9\u4e9b\u7ec4\u4ef6\u62bd\u8c61\u4e86\u63a7\u5236\u53f0\u4e1a\u52a1\u4e2d\u7684\u4e00\u4e9b\u5e38\u89c1\u533a\u5757\u3002\u6211\u4eec\u5c06\u6301\u7eed\u7ef4\u62a4\u548c\u8fed\u4ee3\u8fd9\u4e9b\u7ec4\u4ef6\uff0c\u4e3a\u4e2d\u540e\u53f0\u4e1a\u52a1\u63d0\u4f9b\u6bd4 Ant Design \u57fa\u7840\u7ec4\u4ef6\u66f4\u9ad8\u7ea7\u522b\u7684\u62bd\u8c61
@delon/chart\u6587\u6863\u57fa\u4e8e G2 \u7684\u57fa\u7840\u4e0a\u4e8c\u6b21\u5c01\u88c5\uff0c\u63d0\u4f9b\u4e86\u4e1a\u52a1\u4e2d\u5e38\u7528\u7684\u56fe\u8868\u5957\u4ef6\uff0c\u53ef\u4ee5\u5355\u72ec\u4f7f\u7528\uff0c\u4e5f\u53ef\u4ee5\u7ec4\u5408\u8d77\u6765\u5b9e\u73b0\u590d\u6742\u7684\u5c55\u793a\u6548\u679c
@delon/form\u6587\u6863\u57fa\u4e8e JSON Schema \u6807\u51c6\u7684\u52a8\u6001\u6784\u5efa\u8868\u5355
@delon/auth\u6587\u6863\u7528\u6237\u8ba4\u8bc1\u6a21\u5757\uff0c\u7528\u4e8e\u89e3\u51b3\u5982\u4f55\u83b7\u53d6\u3001\u5b58\u53d6\u3001\u4f7f\u7528\u8fd9\u4e09\u4e2a\u6b65\u9aa4\u7684\u7528\u6237\u8ba4\u8bc1\u73af\u8282
@delon/acl\u6587\u6863\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff0c\u662f\u4e00\u79cd\u975e\u5e38\u7b80\u5355\u7684\u57fa\u4e8e\u89d2\u8272\u6743\u9650\u63a7\u5236\uff0c\u751a\u81f3\u8fbe\u5230\u63a7\u5236\u67d0\u4e2a\u6309\u94ae\u663e\u9690\u7684\u7c92\u5ea6
@delon/cache\u6587\u6863\u5c06\u5b57\u5178\u3001\u57ce\u5e02\u6570\u636e\u7b49\u7f13\u5b58\u81f3\u5185\u5b58\u6216\u6301\u4e45\u5316\u5f53\u4e2d\uff0c\u6709\u6548\u51cf\u5c11 Http \u8bf7\u6c42
@delon/mock\u6587\u6863Mock \u4f1a\u62e6\u622a Angular Http \u8bf7\u6c42\u5e76\u8fd4\u56de\u6d4b\u8bd5\u6570\u636e\uff0c\u5f53\u540e\u7aef\u672a\u5b8c\u6210\u63a5\u53e3\u65f6 Mock \u6280\u672f\u662f\u4e00\u9879\u4e0d\u4f1a\u5f71\u54cd\u524d\u7aef\u5f00\u53d1\u8fdb\u5ea6\u7684\u5de5\u5177
@delon/util\u6587\u6863\u5305\u542b\u6570\u7ec4\u3001\u5ef6\u8fdf\u3001\u5b57\u7b26\u4e32\u3001\u65e5\u671f\u3001\u6821\u9a8c\u7b49\u5e38\u89c1\u5de5\u5177\u96c6
@delon/testing-\u5e38\u7528\u6d4b\u8bd5\u5957\u4ef6
CLI Schematics\u6587\u6863\u5feb\u901f\u751f\u6210\u7edf\u4e00\u7684\u6a21\u677f\u3001\u53ef\u63d2\u62d4\u7684\u63d2\u4ef6\u7b49

\u76ee\u5f55\u7ed3\u6784

\u5f53\u4f7f\u7528 ng add ng-alain \u751f\u6210\u540e\u7684 NG-ALAIN \u811a\u624b\u67b6\uff0c\u5b83\u7684\u57fa\u672c\u76ee\u5f55\u7ed3\u6784\u6982\u7565\u56fe\u5982\u4e0b\uff1a

\u251c\u2500\u2500 _mock                                       # Mock \u6570\u636e\u89c4\u5219\u76ee\u5f55\n\u251c\u2500\u2500 angular.json                                # Angular \u9879\u76ee\u914d\u7f6e\u6587\u4ef6\n\u251c\u2500\u2500 src\n\u2502\xa0\xa0 \u251c\u2500\u2500 app\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 core                                # \u6838\u5fc3\u6a21\u5757\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 i18n\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 net\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 default.interceptor.ts      # \u9ed8\u8ba4HTTP\u62e6\u622a\u5668\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 services\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 startup.service.ts          # \u521d\u59cb\u5316\u9879\u76ee\u914d\u7f6e\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 core.module.ts                  # \u6838\u5fc3\u6a21\u5757\u6587\u4ef6\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 layout                              # \u901a\u7528\u5e03\u5c40\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 **                              # \u4e1a\u52a1\u76ee\u5f55\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes.module.ts                # \u4e1a\u52a1\u8def\u7531\u6a21\u5757\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 routes-routing.module.ts        # \u4e1a\u52a1\u8def\u7531\u6ce8\u518c\u53e3\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared                              # \u5171\u4eab\u6a21\u5757\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-delon.module.ts          # @Delon/* \u6b21\u7ea7\u5171\u4eab\u6a21\u5757\u5bfc\u5165\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-zorro.module.ts          # NG-ZORRO \u6b21\u7ea7\u5171\u4eab\u6a21\u5757\u5bfc\u5165\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 shared.module.ts                # \u5171\u4eab\u6a21\u5757\u6587\u4ef6\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 app.component.ts                    # \u6839\u7ec4\u4ef6\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 app.module.ts                       # \u6839\u6a21\u5757\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 global-config.module.ts             # @delon & ng-zorro \u5168\u5c40\u914d\u7f6e\u9879\n\u2502\xa0\xa0 \u251c\u2500\u2500 assets                                  # \u672c\u5730\u9759\u6001\u8d44\u6e90\n\u2502\xa0\xa0 \u251c\u2500\u2500 environments                            # \u73af\u5883\u53d8\u91cf\u914d\u7f6e\n\u2502\xa0\xa0 \u251c\u2500\u2500 styles                                  # \u6837\u5f0f\u76ee\u5f55\n\u2514\u2500\u2500 \u2514\u2500\u2500 style.less                              # \u6837\u5f0f\u5f15\u5bfc\u5165\u53e3

\u4ee5\u4e0b\u662f\u9488\u5bf9\u5404\u4e2a\u76ee\u5f55\u53ca\u6587\u4ef6\u8bf4\u660e\u53ca\u4f7f\u7528\u76ee\u7684\uff1a

',meta:{order:20,title:"\u4f53\u7cfb\u7ed3\u6784",type:"Basic",i18n:"need-update"},toc:[{id:"\u7ed3\u6784\u56fe",title:"\u7ed3\u6784\u56fe",h:2},{id:"\u76ee\u5f55\u7ed3\u6784",title:"\u76ee\u5f55\u7ed3\u6784",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-architecture"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"auth",redirectTo:"auth/zh",pathMatch:"full"},{path:"auth/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/auth.md"},content:{"zh-CN":{content:'
',meta:{order:40,title:{"en-US":"Auth","zh-CN":"\u7528\u6237\u8ba4\u8bc1"},type:"Advance",url:"/auth/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-auth"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"cache",redirectTo:"cache/zh",pathMatch:"full"},{path:"cache/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/cache.md"},content:{"zh-CN":{content:'
',meta:{order:70,title:{"en-US":"Cache","zh-CN":"\u7f13\u5b58"},type:"Advance",url:"/cache/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-cache"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"changelog",redirectTo:"changelog/zh",pathMatch:"full"},{path:"changelog/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/changelog.en-US.md","zh-CN":"docs/changelog.zh-CN.md"},content:{"en-US":{content:'

NG-ALAIN strictly follows Semantic Versioning 2.0.0.

Release Schedule


16.4.0 (2023-10-19)

Bug Fixes

Features

16.3.0 (2023-09-01)

SCAFFOLDING

Bug Fixes

Features

16.2.1 (2023-08-06)

Bug Fixes

16.2.0 (2023-07-21)

SCAFFOLDING

Bug Fixes

Features

BREAKING CHANGE

16.1.1 (2023-07-16)

Bug Fixes

Features

16.0.1 (2023-06-08)

16.0.0 (2023-06-07)

Bug Fixes

Old Versions

All releases notes can be found here

',meta:{order:100,title:"Change Log",type:"Other"},toc:[{id:"16.4.02023-10-19",title:"16.4.0 (2023-10-19)",h:1,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3}]},{id:"16.3.02023-09-01",title:"16.3.0 (2023-09-01)",h:1,children:[{id:"SCAFFOLDING",title:"SCAFFOLDING",h:3},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"16.2.12023-08-06",title:"16.2.1 (2023-08-06)",h:2},{id:"BugFixes",title:"Bug Fixes",h:3}]},{id:"16.2.02023-07-21",title:"16.2.0 (2023-07-21)",h:1,children:[{id:"SCAFFOLDING",title:"SCAFFOLDING",h:3},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"BREAKINGCHANGE",title:"BREAKING CHANGE",h:3}]},{id:"16.1.12023-07-16",title:"16.1.1 (2023-07-16)",h:1,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"16.0.12023-06-08",title:"16.0.1 (2023-06-08)",h:2}]},{id:"16.0.02023-06-07",title:"16.0.0 (2023-06-07)",h:1,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"OldVersions",title:"Old Versions",h:2}]}]},"zh-CN":{content:'

NG-ALAIN \u4e25\u683c\u9075\u5faa Semantic Versioning 2.0.0 \u8bed\u4e49\u5316\u7248\u672c\u89c4\u8303\u3002

\u53d1\u5e03\u5468\u671f


16.4.0 (2023-10-19)

Bug Fixes

Features

16.3.0 (2023-09-01)

SCAFFOLDING

Bug Fixes

Features

16.2.1 (2023-08-06)

Bug Fixes

16.2.0 (2023-07-21)

SCAFFOLDING

Bug Fixes

Features

BREAKING CHANGE

16.1.1 (2023-07-16)

Bug Fixes

Features

16.0.1 (2023-06-08)

16.0.0 (2023-06-07)

Bug Fixes

\u5386\u53f2\u7248\u672c

\u5386\u53f2\u7248\u672c\u7684\u66f4\u65b0\u8bb0\u5f55\u53ef\u4ee5\u5728 Github',meta:{order:100,title:"\u66f4\u65b0\u65e5\u5fd7",type:"Other"},toc:[{id:"16.4.02023-10-19",title:"16.4.0 (2023-10-19)",h:1,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3}]},{id:"16.3.02023-09-01",title:"16.3.0 (2023-09-01)",h:1,children:[{id:"SCAFFOLDING",title:"SCAFFOLDING",h:3},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"16.2.12023-08-06",title:"16.2.1 (2023-08-06)",h:2},{id:"BugFixes",title:"Bug Fixes",h:3}]},{id:"16.2.02023-07-21",title:"16.2.0 (2023-07-21)",h:1,children:[{id:"SCAFFOLDING",title:"SCAFFOLDING",h:3},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"BREAKINGCHANGE",title:"BREAKING CHANGE",h:3}]},{id:"16.1.12023-07-16",title:"16.1.1 (2023-07-16)",h:1,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"16.0.12023-06-08",title:"16.0.1 (2023-06-08)",h:2}]},{id:"16.0.02023-06-07",title:"16.0.0 (2023-06-07)",h:1,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"\u5386\u53f2\u7248\u672c",title:"\u5386\u53f2\u7248\u672c",h:2}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-changelog"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"cli",redirectTo:"cli/zh",pathMatch:"full"},{path:"cli/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/cli.md"},content:{"zh-CN":{content:'

',meta:{order:10,title:{"en-US":"Cli","zh-CN":"\u547d\u4ee4\u884c\u5de5\u5177"},type:"Other",url:"/cli/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-cli"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"contributing",redirectTo:"contributing/zh",pathMatch:"full"},{path:"contributing/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/contributing.en-US.md","zh-CN":"docs/contributing.zh-CN.md"},content:{"en-US":{content:'

The following is a set of guidelines for contributing to ng-alain. Please spend several minutes in reading these guidelines before you create an issue or pull request.

Code of Conduct

We have adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Open Development

All work on ng-alain\u3001delon happens directly. Both core team members and external contributors send pull requests which go through the same review process.

Bugs

We are using GitHub Issues for bug tracing. The best way to get your bug fixed via GitHub Issues and provide a reprduction with this template.

Before you reporting a bug, please make sure you\'ve searched exists issues, and read our FAQ.

Proposing a Change

If you intend to change the public API or introduce new feature that via GitHub Issues.

Your First Pull Request

Working on your first Pull Request? You can learn how from this free video series:

How to Contribute to Open Source

To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs or small features that have a relatively limited scope. This is a great place to get started.

If you decide to fix an issue, please be sure to check the comment thread in case somebody is already working on a fix. If nobody is working on it at the moment, please leave a comment stating that you intend to work on it so other people don\u2019t accidentally duplicate your effort.

If somebody claims an issue but doesn\u2019t follow up for more than two weeks, it\u2019s fine to take over it but you should still leave a comment.

Sending a Pull Request

The core team is monitoring for pull requests. We will review your pull request and either merge it, request changes to it, or close it with an explanation.

Before submitting a pull request, please make sure the following is done:

  1. Run yarn in the repository root.

  2. If you\u2019ve fixed a bug or added code that should be tested, add tests!

  3. Ensure the test suite passes (npm run test).

  4. Make sure your code lints (npm run lint). Tip: Lint runs automatically when you git commit.

  5. Make sure rebase your code to keep the history clean.

  6. Make sure your commit message meet the guidelines

Development Workflow

After cloning ng-alain or delon, run yarn to fetch its dependencies. Then, you can run several commands:

delon

  1. npm run site runs ng-alain.com website locally

  2. npm run lint checks the code style

  3. npm run test runs the complete test suite

  4. npm run release build packages relases

ng-alain

  1. npm run site runs demo site website locally

  2. npm run lint checks the code style

  3. npm test runs test suite

  4. npm run build creates build of demo site

    <
',meta:{order:40,title:"Contributing",type:"Other"},toc:[{id:"CodeofConduct",title:"Code of Conduct",h:2},{id:"OpenDevelopment",title:"Open Development",h:2},{id:"Bugs",title:"Bugs",h:2},{id:"ProposingaChange",title:"Proposing a Change",h:2},{id:"YourFirstPullRequest",title:"Your First Pull Request",h:2},{id:"SendingaPullRequest",title:"Sending a Pull Request",h:2},{id:"DevelopmentWorkflow",title:"Development Workflow",h:2,children:[{id:"delon",title:"delon",h:3},{id:"ng-alain",title:"ng-alain",h:3}]}]},"zh-CN":{content:'

\u8fd9\u7bc7\u6307\u5357\u4f1a\u6307\u5bfc\u4f60\u5982\u4f55\u4e3a NG-ALAIN \u8d21\u732e\u4e00\u4efd\u81ea\u5df1\u7684\u529b\u91cf\uff0c\u8bf7\u5728\u4f60\u8981\u63d0 issue \u6216\u8005 pull request \u4e4b\u524d\u82b1\u51e0\u5206\u949f\u6765\u9605\u8bfb\u4e00\u904d\u8fd9\u7bc7\u6307\u5357\u3002

\u884c\u4e3a\u51c6\u5219

\u6211\u4eec\u6709\u4e00\u4efd \u884c\u4e3a\u51c6\u5219\uff0c\u5e0c\u671b\u6240\u6709\u7684\u8d21\u732e\u8005\u90fd\u80fd\u9075\u5b88\uff0c\u8bf7\u82b1\u65f6\u95f4\u9605\u8bfb\u4e00\u904d\u5168\u6587\u4ee5\u786e\u4fdd\u4f60\u80fd\u660e\u767d\u54ea\u4e9b\u662f\u53ef\u4ee5\u505a\u7684\uff0c\u54ea\u4e9b\u662f\u4e0d\u53ef\u4ee5\u505a\u7684\u3002

\u900f\u660e\u7684\u5f00\u53d1

\u6211\u4eec\u6240\u6709\u7684\u5de5\u4f5c\u90fd\u4f1a\u653e\u5728 ng-alain\u3001delon \u4e0a\u3002\u4e0d\u7ba1\u662f\u6838\u5fc3\u56e2\u961f\u7684\u6210\u5458\u8fd8\u662f\u5916\u90e8\u8d21\u732e\u8005\u7684 pull request \u90fd\u9700\u8981\u7ecf\u8fc7\u540c\u6837\u6d41\u7a0b\u7684 review\u3002

Bugs

\u6211\u4eec\u4f7f\u7528 GitHub Issues \u6765\u505a bug \u8ffd\u8e2a\u3002\u5982\u679c\u4f60\u60f3\u8981\u4f60\u53d1\u73b0\u7684 bug \u88ab\u5feb\u901f\u89e3\u51b3\uff0c\u6700\u597d\u7684\u529e\u6cd5\u5c31\u662f\u6309\u7167 issues \u5448\u73b0\u7684\u6a21\u677f\u8ba4\u771f\u586b\u5199\u6bcf\u4e00\u9879\uff1b\u5e76\u4e14\u80fd\u4f7f\u7528\u8fd9\u4e2a \u6a21\u677f \u6765\u63d0\u4f9b\u91cd\u73b0\u3002

\u5728\u4f60\u62a5\u544a\u4e00\u4e2a bug \u4e4b\u524d\uff0c\u8bf7\u5148\u786e\u4fdd\u5df2\u7ecf\u641c\u7d22\u8fc7\u5df2\u6709\u7684 issue \u548c\u9605\u8bfb\u4e86 \u6587\u6863\u7ad9\u3002

\u65b0\u589e\u529f\u80fd

\u5982\u679c\u4f60\u6709\u6539\u8fdb\u6211\u4eec\u7684 API \u6216\u8005\u65b0\u589e\u529f\u80fd\u7684\u60f3\u6cd5\uff0c\u540c\u6837\u6309\u7167 issues \u5448\u73b0\u7684\u6a21\u677f\u8ba4\u771f\u586b\u5199\u6bcf\u4e00\u9879\u3002

\u7b2c\u4e00\u6b21\u8d21\u732e

\u5982\u679c\u4f60\u8fd8\u4e0d\u6e05\u695a\u600e\u4e48\u5728 GitHub \u4e0a\u63d0 Pull Request \uff0c\u53ef\u4ee5\u9605\u8bfb\u4e0b\u9762\u8fd9\u7bc7\u6587\u7ae0\u6765\u5b66\u4e60\uff1a

\u5982\u4f55\u4f18\u96c5\u5730\u5728 GitHub \u4e0a\u8d21\u732e\u4ee3\u7801

\u4e3a\u4e86\u80fd\u5e2e\u52a9\u4f60\u5f00\u59cb\u4f60\u7684\u7b2c\u4e00\u6b21\u5c1d\u8bd5\uff0c\u6211\u4eec\u7528 good first issues \u6807\u8bb0\u4e86\u4e00\u4e9b\u6bd4\u8f83\u6bd4\u8f83\u5bb9\u6613\u4fee\u590d\u7684 bug \u548c\u5c0f\u529f\u80fd\u3002\u8fd9\u4e9b issue \u53ef\u4ee5\u5f88\u597d\u5730\u505a\u4e3a\u4f60\u7684\u9996\u6b21\u5c1d\u8bd5\u3002

\u5982\u679c\u4f60\u6253\u7b97\u5f00\u59cb\u5904\u7406\u4e00\u4e2a issue\uff0c\u8bf7\u5148\u68c0\u67e5\u4e00\u4e0b issue \u4e0b\u9762\u7684\u7559\u8a00\u4ee5\u786e\u4fdd\u6ca1\u6709\u522b\u4eba\u6b63\u5728\u5904\u7406\u8fd9\u4e2a issue\u3002\u5982\u679c\u5f53\u524d\u6ca1\u6709\u4eba\u5728\u5904\u7406\u7684\u8bdd\u4f60\u53ef\u4ee5\u7559\u8a00\u544a\u77e5\u5176\u4ed6\u4eba\u4f60\u5c06\u4f1a\u5904\u7406\u8fd9\u4e2a issue\uff0c\u4ee5\u514d\u522b\u4eba\u91cd\u590d\u52b3\u52a8\u3002

\u5982\u679c\u4e4b\u524d\u6709\u4eba\u7559\u8a00\u8bf4\u4f1a\u5904\u7406\u8fd9\u4e2a issue \u4f46\u662f\u4e00\u4e24\u4e2a\u661f\u671f\u90fd\u6ca1\u6709\u52a8\u9759\uff0c\u90a3\u4e48\u4f60\u4e5f\u53ef\u4ee5\u63a5\u624b\u5904\u7406\u8fd9\u4e2a issue\uff0c\u5f53\u7136\u8fd8\u662f\u9700\u8981\u7559\u8a00\u544a\u77e5\u5176\u4ed6\u4eba\u3002

Pull Request

Ng Alain \u4f1a\u5173\u6ce8\u6240\u6709\u7684 pull request\uff0c\u6211\u4eec\u4f1a review \u4ee5\u53ca\u5408\u5e76\u4f60\u7684\u4ee3\u7801\uff0c\u4e5f\u6709\u53ef\u80fd\u8981\u6c42\u4f60\u505a\u4e00\u4e9b\u4fee\u6539\u6216\u8005\u544a\u8bc9\u4f60\u6211\u4eec\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u63a5\u53d7\u8fd9\u6837\u7684\u4fee\u6539\u3002

\u5728\u4f60\u53d1\u9001 Pull Request \u4e4b\u524d\uff0c\u8bf7\u786e\u8ba4\u4f60\u662f\u6309\u7167\u4e0b\u9762\u7684\u6b65\u9aa4\u6765\u505a\u7684\uff1a

  1. \u5728\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u8fd0\u884c\u4e86 yarn\u3002

  2. \u5982\u679c\u4f60\u4fee\u590d\u4e86\u4e00\u4e2a bug \u6216\u8005\u65b0\u589e\u4e86\u4e00\u4e2a\u529f\u80fd\uff0c\u8bf7\u786e\u4fdd\u5199\u4e86\u76f8\u5e94\u7684\u6d4b\u8bd5\uff0c\u8fd9\u5f88\u91cd\u8981\u3002

  3. \u786e\u8ba4\u6240\u6709\u7684\u6d4b\u8bd5\u90fd\u662f\u901a\u8fc7\u7684 npm run test\u3002

  4. \u786e\u4fdd\u4f60\u7684\u4ee3\u7801\u901a\u8fc7\u4e86 lint \u68c0\u67e5 npm run lint\u3002\u5c0f\u8d34\u58eb: Lint \u4f1a\u5728\u4f60 git commit \u7684\u65f6\u5019\u81ea\u52a8\u8fd0\u884c\u3002

  5. \u786e\u4fdd\u4f60\u7684\u4ee3\u7801\u5728\u63d0\u4ea4\u4e4b\u524d\u7ecf\u8fc7\u4e86\u6b63\u786e\u7684 Rebase

  6. \u786e\u4fdd\u4f60\u7684\u63d0\u4ea4\u7b26\u5408\u89c4\u8303

\u5f00\u53d1\u6d41\u7a0b

\u5728\u4f60 clone \u4e86 ng-alain \u6216 delon \u7684\u4ee3\u7801\u5e76\u4e14\u4f7f\u7528 yarn \u5b89\u88c5\u5b8c\u4f9d\u8d56\u540e\uff0c\u4f60\u8fd8\u53ef\u4ee5\u8fd0\u884c\u4e0b\u9762\u51e0\u4e2a\u5e38\u7528\u7684\u547d\u4ee4\uff1a

delon \u57fa\u5efa\u7c7b\u5e93

  1. npm run site \u5728\u672c\u5730\u8fd0\u884c ng-alain.com \u7f51\u7ad9

  2. npm run lint \u68c0\u67e5 packages \u4ee3\u7801\u98ce\u683c

  3. npm run test \u8fd0\u884c packages \u6240\u6709\u7c7b\u5e93\u6d4b\u8bd5

  4. npm run release \u6784\u5efa packages \u53d1\u5e03\u5305

ng-alain \u811a\u624b\u67b6

  1. npm start \u5728\u672c\u5730\u8fd0\u884c\u811a\u624b\u67b6

  2. npm run lint \u68c0\u67e5\u4ee3\u7801\u98ce\u683c

  3. npm test \u8fd0\u884c\u6d4b\u8bd5

  4. npm run build \u6784\u5efa\u751f\u4ea7\u73af\u5883\u7f51\u7ad9

    <
',meta:{order:40,title:"\u8d21\u732e\u6307\u5357",type:"Other"},toc:[{id:"\u884c\u4e3a\u51c6\u5219",title:"\u884c\u4e3a\u51c6\u5219",h:2},{id:"\u900f\u660e\u7684\u5f00\u53d1",title:"\u900f\u660e\u7684\u5f00\u53d1",h:2},{id:"Bugs",title:"Bugs",h:2},{id:"\u65b0\u589e\u529f\u80fd",title:"\u65b0\u589e\u529f\u80fd",h:2},{id:"\u7b2c\u4e00\u6b21\u8d21\u732e",title:"\u7b2c\u4e00\u6b21\u8d21\u732e",h:2},{id:"PullRequest",title:"Pull Request",h:2},{id:"\u5f00\u53d1\u6d41\u7a0b",title:"\u5f00\u53d1\u6d41\u7a0b",h:2,children:[{id:"delon\u57fa\u5efa\u7c7b\u5e93",title:"delon \u57fa\u5efa\u7c7b\u5e93",h:3},{id:"ng-alain\u811a\u624b\u67b6",title:"ng-alain \u811a\u624b\u67b6",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-contributing"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"deploy",redirectTo:"deploy/zh",pathMatch:"full"},{path:"deploy/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/deploy.en-US.md","zh-CN":"docs/deploy.zh-CN.md"},content:{"en-US":{content:'

Construct

When the project is developed, you can package your app with just one line of command:

npm run build

NG-ALAIN itself is an Angular CLI project, so you can also complete more complex build requirements with Build. After the package is successfully packaged, the dist folder will be generated in the root directory, which is to build the packaged file, including several static files such as *.js, *.css, index.html.

JavaScript heap out of memory

Avoid executing ng build when throw error JavaScript heap out of memory:

{\n  "scripts": {\n    "build": "node --max_old_space_size=5120 ./node_modules/@angular/cli/bin/ng build"\n  }\n}

Environmental variables

When you need to distinguish between development and deployment, and test environments, you can configure the corresponding parameters according to different environments through the src/environments folder. The configuration items can also be called directly in the application. At the same time, you need to configure the configuration items in angular.json. Finally, you can change the environment configuration through commands.

Analyze the build file volume

If the build file is large, you can optimize your code by building and analyzing the volume distribution of dependent modules with the analyze command.

npm run analyze

View the analyze page:

npm run analyze:view

Release

When you are ready to deploy (release) your the app, you need only to publish the generated build artifacts - that is, the files in the dist folder - to your cdn or static server. Note that the index.html is usually the entry page for your app and handles all missing file requests. You may need to change the import path of the page after determining the static of js and css.

The default static resource reference path directly points to the directory where the dist folder is published. For example, if you post dist to the root directory of the ng-alain.com site, the requested URL is //ng-alain.com/***.js, //ng-alain.com/***.css, if dist is posted to a directory under a certain directory, such as v2, request The URL is //ng-alain.com/v2/***.js, //ng-alain.com/v2/***.css.

If your static resource is deployed to another domain name (such as a separate CDN address), you can specify a CDN address with the --deployUrl parameter.

ng build -deployUrl=//cdn.ng-alain.com/

The generated index.html with its *.js, *.css files will automatically refer to //cdn.ng-alain.com/*.js, //cdn.ng-alain.com/*css, respectively.

Routing strategy

Angular front-end routing has two different strategies: HashLocationStrategy and PathLocationStrategy. The former is routed by appending a # before a path, and the front-end routing management is performed by HTML5 History, while the latter is similar, but the path does not have # appended before it. Through the configuration of the server, the specified URL can be accessed to the current page, enabling front-end routing management.

If you want to use PathLocationStrategy, you need to replace RouterModule.forRoot(routes, { useHash: true }) of ./src/app/routes/routes-routing.module.ts with RouterModule.forRoot(routes), since that is the default Angular behavior. You might notice that this can also be done by changing the useHash variable in the src/environments/environment.*.ts files, depending on your project configulation. Importantly, your server needs to be correctly configured, such that is returns the index.html for any 404 errors:

Express server example:

app.use(express.static(path.join(__dirname, \'build\')));\n\napp.get(\'/*\', function (req, res) {\n  res.sendFile(path.join(__dirname, \'build\', \'index.html\'));\n});

Egg server example:

// controller\nexports.index = function* () {\n  yield this.render(\'App.jsx\', {\n    context: {\n      user: this.session.user,\n    },\n  });\n};\n\n// router\napp.get(\'home\', \'/*\', \'home.index\');

For more questions about Angular routing, please read official website.

Docker

NG-ALAIN provides a complete image file for building Angular projects based on the nginx WEB service. Where nginx is a mirror using nginx:1.13.5-alpine, which basically satisfies NG-ALAIN The project\'s good operating environment, if there are more needs, you can easily specify nginx.conf with docker run.

1. Building the image

Build a complete image of the runtime environment required by NG-ALAIN based on the Dockerfile.

docker build -t ng-alain .

2. Running

Based on compose (Recommended)

docker-compose up -d

The details can be modified with docker-compose.yml.

Based on imperative

docker run -d -p 80:80 --name alain ng-alain

Finally, you can visit\uff1ahttp://localhost/

3. About SSL

The Dockerfile provided by NG-ALAIN is relatively simple, and the most common use of real projects is support for SSL.

Therefore, by default you can place the certificate in the _nginx/ssl directory and enable the _nginx/default.conf related SSL configuration item.

Finally, add the ports node of docker-compose.yml:

- 443:443

Container deployment

Refer to Angular Container Deployment

',meta:{order:70,title:{"en-US":"Build & Deploy","zh-CN":"\u6784\u5efa\u548c\u53d1\u5e03"},type:"Dev"},toc:[{id:"Construct",title:"Construct",h:2,children:[{id:"JavaScriptheapoutofmemory",title:"JavaScript heap out of memory",h:3},{id:"Environmentalvariables",title:"Environmental variables",h:3},{id:"Analyzethebuildfilevolume",title:"Analyze the build file volume",h:3}]},{id:"Release",title:"Release",h:2,children:[{id:"Routingstrategy",title:"Routing strategy",h:3},{id:"Docker",title:"Docker",h:3},{id:"Containerdeployment",title:"Container deployment",h:3}]}]},"zh-CN":{content:'

\u6784\u5efa

\u5f53\u9879\u76ee\u5f00\u53d1\u5b8c\u6bd5\uff0c\u53ea\u9700\u8981\u8fd0\u884c\u4e00\u884c\u547d\u4ee4\u5c31\u53ef\u4ee5\u6253\u5305\u4f60\u7684\u5e94\u7528\uff1a

npm run build

NG-ALAIN \u672c\u8eab\u662f\u4e00\u4e2a Angular CLI \u9879\u76ee\uff0c\u56e0\u6b64\u4e5f\u53ef\u4ee5\u53c2\u7167 Build \u5b8c\u6210\u66f4\u590d\u6742\u7684\u6784\u5efa\u9700\u6c42\u3002\u6784\u5efa\u6253\u5305\u6210\u529f\u4e4b\u540e\uff0c\u4f1a\u5728\u6839\u76ee\u5f55\u751f\u6210 dist \u6587\u4ef6\u5939\uff0c\u91cc\u9762\u5c31\u662f\u6784\u5efa\u6253\u5305\u597d\u7684\u6587\u4ef6\uff0c\u5305\u542b\u82e5\u5e72 *.js\u3001*.css\u3001index.html \u7b49\u9759\u6001\u6587\u4ef6\u3002

JavaScript heap out of memory

\u907f\u514d\u6267\u884c ng build \u65f6\u629b\u51fa JavaScript heap out of memory\uff1a

{\n  "scripts": {\n    "build": "node --max_old_space_size=5120 ./node_modules/@angular/cli/bin/ng build"\n  }\n}

\u73af\u5883\u53d8\u91cf

\u5f53\u4f60\u9700\u8981\u533a\u522b\u5f00\u53d1\u548c\u90e8\u7f72\u4ee5\u53ca\u6d4b\u8bd5\u73af\u5883\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u901a\u8fc7 src/environments \u6587\u4ef6\u5939\u6839\u636e\u4e0d\u540c\u73af\u5883\u914d\u7f6e\u76f8\u5e94\u7684\u53c2\u6570\uff0c\u914d\u7f6e\u9879\u540c\u65f6\u4e5f\u53ef\u4ee5\u5728\u5e94\u7528\u5f53\u4e2d\u76f4\u63a5\u8c03\u7528\u5b83\u4eec\u3002\u540c\u65f6\uff0c\u8fd8\u9700\u8981\u914d\u7f6e angular.json \u5185\u7684\u914d\u7f6e\u9879\uff0c\u6700\u540e\u4f60\u53ef\u4ee5\u900f\u8fc7\u547d\u4ee4\u6539\u53d8\u73af\u5883\u914d\u7f6e\u3002

\u5206\u6790\u6784\u5efa\u6587\u4ef6\u4f53\u79ef

\u5982\u679c\u6784\u5efa\u6587\u4ef6\u5f88\u5927\uff0c\u53ef\u4ee5\u901a\u8fc7 analyze \u547d\u4ee4\u6784\u5efa\u5e76\u5206\u6790\u4f9d\u8d56\u6a21\u5757\u7684\u4f53\u79ef\u5206\u5e03\uff0c\u4ece\u800c\u4f18\u5316\u4f60\u7684\u4ee3\u7801\u3002

npm run analyze

\u67e5\u770b\u5206\u6790\u9875\uff1a

npm run analyze:view

\u53d1\u5e03

\u5bf9\u4e8e\u53d1\u5e03\u6765\u8bb2\uff0c\u53ea\u9700\u8981\u5c06\u6700\u7ec8\u751f\u6210\u7684\u9759\u6001\u6587\u4ef6\uff0c\u4e5f\u5c31\u662f\u901a\u5e38\u60c5\u51b5\u4e0b dist \u6587\u4ef6\u5939\u7684\u9759\u6001\u6587\u4ef6\u53d1\u5e03\u5230\u4f60\u7684 cdn \u6216\u8005\u9759\u6001\u670d\u52a1\u5668\u5373\u53ef\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\u5176\u4e2d\u7684 index.html \u901a\u5e38\u4f1a\u662f\u4f60\u540e\u53f0\u670d\u52a1\u7684\u5165\u53e3\u9875\u9762\uff0c\u5728\u786e\u5b9a\u4e86 js \u548c css \u7684\u9759\u6001\u4e4b\u540e\u53ef\u80fd\u9700\u8981\u6539\u53d8\u9875\u9762\u7684\u5f15\u5165\u8def\u5f84\u3002

\u9ed8\u8ba4\u7684\u9759\u6001\u8d44\u6e90\u5f15\u7528\u8def\u5f84\u76f4\u63a5\u6307\u5411 dist \u6587\u4ef6\u5939\u53d1\u5e03\u6240\u5904\u5e94\u7528\u7684\u76ee\u5f55\u4e0b\uff0c\u4f8b\u5982\u4f60\u5c06 dist \u53d1\u5e03\u81f3 ng-alain.com \u7ad9\u70b9\u7684\u6839\u76ee\u5f55\u91cc\u5219\u8bf7\u6c42\u7684\u7f51\u5740\u662f //ng-alain.com/***.js\u3001//ng-alain.com/***.css\uff0c\u82e5 dist \u53d1\u5e03\u81f3\u67d0\u7ad9\u70b9\u4e0b\u67d0\u4e2a\u76ee\u5f55\u5982 v2 \u6587\u4ef6\u5939\u4e0b\uff0c\u5219\u8bf7\u6c42\u7684\u7f51\u5740\u662f //ng-alain.com/v2/***.js\u3001//ng-alain.com/v2/***.css\u3002

\u5982\u679c\u4f60\u7684\u9759\u6001\u8d44\u6e90\u662f\u90e8\u7f72\u5230\u5176\u4ed6\u57df\u540d\uff08\u4f8b\u5982\u72ec\u7acb\u7684 cdn \u5730\u5740\uff09\uff0c\u4f60\u53ef\u4ee5\u900f\u8fc7 -d \u53c2\u6570\u6307\u5b9a\u4e00\u4e2a cdn \u5730\u5740\u3002

ng build -d=//cdn.ng-alain.com/

\u8fd9\u6837\u751f\u6210\u7684 index.html \u5185 *.js\u3001*.css \u4f1a\u81ea\u52a8\u52a0\u4e0a //cdn.ng-alain.com/*.js\u3002

\u8def\u7531\u7b56\u7565

Angular \u524d\u7aef\u8def\u7531\u6709\u4e24\u79cd\u4e0d\u540c\u7b56\u7565 HashLocationStrategy \u548c PathLocationStrategy\u3002\u524d\u8005\u662f\u4ee5 # \u540e\u9762\u7684\u8def\u5f84\u8fdb\u884c\u8def\u7531\u5904\u7406\uff0c\u901a\u8fc7 HTML5 History \u8fdb\u884c\u524d\u7aef\u8def\u7531\u7ba1\u7406\uff0c\u800c\u540e\u8005\u5219\u662f\u7c7b\u4f3c\u9875\u9762\u8bbf\u95ee\u8def\u5f84\u5e76\u6ca1\u6709 #\uff0c\u901a\u8fc7\u670d\u52a1\u7aef\u7684\u914d\u7f6e\uff0c\u80fd\u591f\u8bbf\u95ee\u6307\u5b9a URL \u90fd\u5b9a\u5411\u5230\u5f53\u524d\u9875\u9762\uff0c\u4ece\u800c\u80fd\u591f\u8fdb\u884c\u524d\u7aef\u8def\u7531\u7ba1\u7406\u3002

\u5982\u679c\u4f60\u60f3\u91c7\u7528 PathLocationStrategy \u7b56\u7565\uff0c\u5219\u9700\u8981\u5c06 ./src/app/routes/routes.module.ts \u7684 RouterModule.forRoot(routes, { useHash: true }) \u6362\u6210 RouterModule.forRoot(routes)\u3002\u540c\u65f6\u9700\u8981\u670d\u52a1\u7aef\u505a\u4e00\u4e2a\u6620\u5c04\uff0c\u6bd4\u5982\uff1a

express \u7684\u4f8b\u5b50\uff1a

app.use(express.static(path.join(__dirname, \'build\')));\n\napp.get(\'/*\', function (req, res) {\n  res.sendFile(path.join(__dirname, \'build\', \'index.html\'));\n});

egg \u7684\u4f8b\u5b50\uff1a

// controller\nexports.index = function* () {\n  yield this.render(\'App.jsx\', {\n    context: {\n      user: this.session.user,\n    },\n  });\n};\n\n// router\napp.get(\'home\', \'/*\', \'home.index\');

\u6709\u5173\u66f4\u591a Angular \u8def\u7531\u76f8\u5f53\u95ee\u9898\uff0c\u8bf7\u9605\u8bfb\u5b98\u7f51\u3002

Docker

NG-ALAIN \u63d0\u4f9b\u4e86\u4e00\u4e2a\u57fa\u4e8e nginx WEB\u670d\u52a1\u5b8c\u6574\u7684\u6784\u5efaAngular\u9879\u76ee\u7684\u955c\u50cf\u6587\u4ef6\u3002\u5176\u4e2d nginx \u662f\u91c7\u7528 nginx:1.13.5-alpine \u7684\u955c\u50cf\uff0c\u57fa\u672c\u4e0a\u53ef\u4ee5\u6ee1\u8db3 NG-ALAIN \u9879\u76ee\u7684\u826f\u597d\u8fd0\u884c\u73af\u5883\uff0c\u5018\u82e5\u6709\u66f4\u591a\u9700\u6c42\uff0c\u4f60\u53ef\u4ee5\u5229\u7528 docker run \u8f7b\u6613\u7684\u6307\u5b9a nginx.conf\u3002

1\u3001\u6784\u5efa\u955c\u50cf

\u6839\u636e Dockerfile \u6784\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684 NG-ALAIN \u6240\u9700\u8981\u7684\u8fd0\u884c\u73af\u5883\u7684\u955c\u50cf\u3002

docker build -t ng-alain .

2\u3001\u8fd0\u884c

\u57fa\u4e8ecompose\uff08\u63a8\u8350\uff09

docker-compose up -d

\u5176\u7ec6\u8282\u53ef\u4ee5\u901a\u8fc7 docker-compose.yml \u4fee\u6539\u3002

\u57fa\u4e8e\u547d\u4ee4\u5f0f

docker run -d -p 80:80 --name alain ng-alain

\u6700\u540e\u4f60\u53ef\u4ee5\u8bbf\u95ee\uff1ahttp://localhost/

3\u3001\u5173\u4e8eSSL

NG-ALAIN \u63d0\u4f9b\u7684 Dockerfile \u6587\u4ef6\u76f8\u5bf9\u4e8e\u6bd4\u8f83\u7b80\u5355\uff0c\u800c\u5b9e\u9645\u9879\u76ee\u4e2d\u6700\u5e38\u7528\u7684\u662f\u5bf9SSL\u7684\u652f\u6301\u3002

\u56e0\u6b64\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f60\u53ef\u4ee5\u5c06\u8bc1\u4e66\u653e\u7f6e _nginx/ssl \u76ee\u5f55\u4e0b\uff0c\u5e76\u5f00\u542f _nginx/default.conf \u76f8\u5173SSL\u914d\u7f6e\u9879\u5373\u53ef\u3002

\u6700\u540e\uff0c\u589e\u52a0 docker-compose.yml \u7684 ports \u8282\u70b9\uff1a

- 443:443

\u5bb9\u5668\u90e8\u7f72

\u53c2\u8003 Angular \u5bb9\u5668\u90e8\u7f72

',meta:{order:70,title:{"en-US":"Build & Deploy","zh-CN":"\u6784\u5efa\u548c\u53d1\u5e03"},type:"Dev"},toc:[{id:"\u6784\u5efa",title:"\u6784\u5efa",h:2,children:[{id:"JavaScriptheapoutofmemory",title:"JavaScript heap out of memory",h:3},{id:"\u73af\u5883\u53d8\u91cf",title:"\u73af\u5883\u53d8\u91cf",h:3},{id:"\u5206\u6790\u6784\u5efa\u6587\u4ef6\u4f53\u79ef",title:"\u5206\u6790\u6784\u5efa\u6587\u4ef6\u4f53\u79ef",h:3}]},{id:"\u53d1\u5e03",title:"\u53d1\u5e03",h:2,children:[{id:"\u8def\u7531\u7b56\u7565",title:"\u8def\u7531\u7b56\u7565",h:3},{id:"Docker",title:"Docker",h:3},{id:"\u5bb9\u5668\u90e8\u7f72",title:"\u5bb9\u5668\u90e8\u7f72",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-deploy"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"faq",redirectTo:"faq/zh",pathMatch:"full"},{path:"faq/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/faq.en-US.md","zh-CN":"docs/faq.zh-CN.md"},content:{"en-US":{content:'

Please check the FAQ below before asking questions.

Basic

Can\'t Bind to since it isn\'t a known property of

When you have multiple lazy modules, you want each submodule to use the component library (for example: NgZorroAntdModule, NgxTinymceModule) should be exported in ShareModule, please refer to module registration guidelines.

Expression Changed After It Has Been Checked Error

Common mistakes under Angular, this article will help you understand why.

Can\'t bind to \'formGroup\' since it isn\'t a known property of \'form\'

Common mistakes under Angular, the use of Reactive Forms requires the introduction of ReactiveFormsModule, refer to official documentation.

Why is the page not updated after the data is modified?

The NG-ZORRO and @delon/* components work in OnPush mode by default. Mutate objects or arrays do not trigger Angular\'s change detection. Use the immutable method.

How to use @delon daily build version

NG-ALAIN provides a delon-builds repository as a daily build version. It\'s not the final stable version, but contains the latest fixed BUG, To use the latest features, you can create delon.sh in the root directory:

#!/usr/bin/env bash\nset -e\necho "Download latest @delon version"\nrm -rf delon-builds\ngit clone --depth 1 https://github.com/ng-alain/delon-builds.git\nrm -rf node_modules/@delon\nrm -rf node_modules/ng-alain\nrsync -am delon-builds/ node_modules/\nNG_ALAIN_VERSION=$(node -p "require(\'./node_modules/ng-alain/package.json\').version")\nrm -rf delon-builds\necho "Using ng-alain version: ${NG_ALAIN_VERSION}"

When you need to use the daily build version of @delon, you only need to run:

bash delon.sh

If in Windows environment, please use WSL to execute Bash scripts.

Installation

Why can\'t I find the ng-zorro-antd/src/*.less style?

Two situations:

  • Using cnpm to install dependencies, you will not be able to find style files. This is because cnpm is in the form of a soft link path, which causes the ng-zorro-antd folder name to change, so it is recommended to use the yarn install dependency package instead.

  • The ng-zorro-antd version is too old to cause some components to fail to load into the appropriate style

How to use Taobao source correctly?

The simplest is to use the networkEnv plugin.

Or manually repair:

yarn config set registry https://registry.npmmirror.com\nyarn config set sass_binary_site https://npmmirror.com/mirrors/node-sass\n# restore\nyarn config delete registry\nyarn config delete sass_binary_site

Configuration

How do I deploy the antd icon locally?

First, the latest iconfont file can go to this link (mirror) Download.

Finally, redefine the new path in src/styles/theme.less:

@icon-url: "/assets/iconfont";

Use an absolute path or CDN address.

Missing locale data for the locale "zh-cn"

For missing language imports, refer to app.module.ts.

How to deploy ng-alain.com documentation site in local

Online documents will only retain the data of the last three major version numbers. If the version is low, you can view it through local deployment:

git clone --depth 1 -b full https://github.com/ng-alain/archive-docs.git ng-alain-doc\ncd ng-alain-doc\nyarn\nyarn start

Fix the abnormal display of the lower part of the 360 browser

The built-in Chrome core of some 360 browsers is too low, resulting in some CSS3 not supported, you can manually increase .browserslistrc For more details, refer to #2310

',meta:{order:20,title:{"en-US":"FAQ","zh-CN":"\u5e38\u89c1\u95ee\u9898"},type:"Other"},toc:[{id:"Basic",title:"Basic",h:2,children:[{id:"Can'tBindtosinceitisn'taknownpropertyof",title:"Can't Bind to since it isn't a known property of",h:3},{id:"ExpressionChangedAfterItHasBeenCheckedError",title:"Expression Changed After It Has Been Checked Error",h:3},{id:"Can'tbindto'formGroup'sinceitisn'taknownpropertyof'form'",title:"Can't bind to 'formGroup' since it isn't a known property of 'form'",h:3},{id:"Whyisthepagenotupdatedafterthedataismodified",title:"Why is the page not updated after the data is modified?",h:3},{id:"Howtouse@delondailybuildversion",title:"How to use @delon daily build version",h:3}]},{id:"Installation",title:"Installation",h:2,children:[{id:"Whycan'tIfindtheng-zorro-antd/src/*.lessstyle",title:"Why can't I find the ng-zorro-antd/src/*.less style?",h:3},{id:"HowtouseTaobaosourcecorrectly",title:"How to use Taobao source correctly?",h:3}]},{id:"Configuration",title:"Configuration",h:2,children:[{id:"HowdoIdeploytheantdiconlocally",title:"How do I deploy the antd icon locally?",h:3},{id:'Missinglocaledataforthelocale"zh-cn"',title:'Missing locale data for the locale "zh-cn"',h:3},{id:"Howtodeployng-alain.comdocumentationsiteinlocal",title:"How to deploy ng-alain.com documentation site in local",h:3},{id:"Fixtheabnormaldisplayofthelowerpartofthe360browser",title:"Fix the abnormal display of the lower part of the 360 browser",h:3}]}]},"zh-CN":{content:'

\u63d0\u95ee\u4e4b\u524d\uff0c\u8bf7\u5148\u67e5\u9605\u4e0b\u9762\u7684\u5e38\u89c1\u95ee\u9898\u3002

\u57fa\u7840

Can\'t Bind to since it isn\'t a known property of

\u5f53\u4f60\u6709\u591a\u4e2a\u61d2\u6a21\u5757\u65f6\uff0c\u5e0c\u671b\u6bcf\u4e2a\u5b50\u6a21\u5757\u90fd\u9700\u8981\u4f7f\u7528\u7ec4\u4ef6\u5e93\u65f6\uff08\u4f8b\u5982\uff1aNgZorroAntdModule\u3001NgxTinymceModule\uff09\u5e94\u5728 ShareModule \u4e2d export\uff0c\u8bf7\u53c2\u8003\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219\u3002

Expression Changed After It Has Been Checked Error \u9519\u8bef

Angular \u4e0b\u5e38\u89c1\u9519\u8bef\uff0c\u8fd9\u7bc7\u6587\u7ae0 \u4f1a\u5e2e\u52a9\u4f60\u7406\u89e3\u539f\u56e0\u3002

Can\'t bind to \'formGroup\' since it isn\'t a known property of \'form\'

Angular \u4e0b\u5e38\u89c1\u9519\u8bef\uff0c\u4f7f\u7528 Reactive Forms \u9700\u8981\u989d\u5916\u5f15\u5165 ReactiveFormsModule\uff0c\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863\u3002

\u6570\u636e\u4fee\u6539\u540e\u9875\u9762\u4e3a\u4ec0\u4e48\u6ca1\u6709\u66f4\u65b0

NG-ZORRO \u53ca @delon/* \u7ec4\u4ef6\u9ed8\u8ba4\u5728 OnPush \u6a21\u5f0f\u4e0b\u5de5\u4f5c\uff0cmutate \u5bf9\u8c61\u6216\u8005\u6570\u7ec4\u4e0d\u4f1a\u89e6\u53d1 Angular \u7684\u53d8\u66f4\u68c0\u6d4b\uff0c\u8bf7\u4f7f\u7528 immutable \u65b9\u5f0f\u3002

\u5982\u4f55\u4f7f\u7528@delon\u6bcf\u65e5\u6784\u5efa\u7248\u672c

NG-ALAIN \u63d0\u4f9b\u4e00\u4e2a delon-builds \u4ed3\u50a8\u4f5c\u4e3a\u6bcf\u65e5\u6784\u5efa\u7248\u672c\uff0c\u5b83\u5e76\u4e0d\u662f\u6700\u7ec8\u7a33\u5b9a\u7248\u672c\uff0c\u4f46\u5305\u542b\u6700\u65b0\u5df2\u4fee\u590dBUG\u3001\u6700\u65b0\u529f\u80fd\uff0c\u8981\u4f7f\u7528\u53ef\u4ee5\u5728\u6839\u76ee\u5f55\u521b\u5efa delon.sh\uff1a

#!/usr/bin/env bash\nset -e\necho "Download latest @delon version"\nrm -rf delon-builds\ngit clone --depth 1 https://github.com/ng-alain/delon-builds.git\nrm -rf node_modules/@delon\nrm -rf node_modules/ng-alain\nrsync -am delon-builds/ node_modules/\nNG_ALAIN_VERSION=$(node -p "require(\'./node_modules/ng-alain/package.json\').version")\nrm -rf delon-builds\necho "Using ng-alain version: ${NG_ALAIN_VERSION}"

\u5f53\u9700\u8981\u4f7f\u7528@delon\u7684\u6bcf\u65e5\u6784\u5efa\u7248\u672c\uff0c\u53ea\u9700\u8981\u5728\u8fd0\u884c\uff1a

bash delon.sh

\u5982\u679c\u662f Windows \u73af\u5883\uff0c\u8bf7\u4f7f\u7528 WSL \u6765\u6267\u884c Bash \u811a\u672c\u3002

\u5b89\u88c5

\u4e3a\u4ec0\u4e48\u627e\u4e0d\u5230 ng-zorro-antd/src/*.less \u6837\u5f0f\uff1f

\u4e24\u79cd\u60c5\u51b5\uff1a

  • \u4f7f\u7528 cnpm \u5b89\u88c5\u4f9d\u8d56\u5305\uff0c\u4f1a\u9047\u5230\u65e0\u6cd5\u627e\u5230\u6837\u5f0f\u6587\u4ef6\u3002\u8fd9\u662f\u7531\u4e8e cnpm \u91c7\u7528\u7684\u662f\u8f6f\u94fe\u63a5\u8def\u5f84\u5f62\u5f0f\uff0c\u5bfc\u81f4 ng-zorro-antd \u6587\u4ef6\u5939\u540d\u6709\u6240\u53d8\u52a8\uff0c\u56e0\u6b64\u5efa\u8bae\u6539\u7528 yarn \u5b89\u88c5\u4f9d\u8d56\u5305\uff0c\u5982\u679c\u662f\u7f51\u7edc\u56e0\u7d20\uff0c\u8bf7\u53c2\u8003\u4e0b\u65b9\u7684\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u6dd8\u5b9d\u6e90\u3002

  • ng-zorro-antd \u7248\u672c\u8fc7\u65e7\u5bfc\u81f4\u90e8\u5206\u7ec4\u4ef6\u65e0\u6cd5\u52a0\u8f7d\u5230\u76f8\u5e94\u6837\u5f0f

\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u6dd8\u5b9d\u6e90\uff1f

\u6700\u7b80\u5355\u662f\u4f7f\u7528 networkEnv \u63d2\u4ef6\u3002

\u6216\u624b\u52a8\u4fee\u590d\uff1a

yarn config set registry https://registry.npmmirror.com\nyarn config set sass_binary_site https://npmmirror.com/mirrors/node-sass\n# \u6062\u590d\nyarn config delete registry\nyarn config delete sass_binary_site

\u914d\u7f6e

\u5982\u4f55\u672c\u5730\u90e8\u7f72 antd \u56fe\u6807\uff1f

\u9996\u5148\uff0c\u6700\u65b0\u7684 iconfont \u6587\u4ef6\u53ef\u4ee5\u5230 \u6b64\u94fe\u63a5\uff08\u955c\u50cf\uff09 \u4e0b\u8f7d\u3002

\u6700\u540e\uff0c\u5728 src/styles/theme.less \u91cd\u65b0\u5b9a\u4e49\u65b0\u7684\u8def\u5f84\uff1a

@icon-url: "/assets/iconfont";

\u4f7f\u7528\u7edd\u5bf9\u8def\u5f84\u6216CDN\u5730\u5740\u3002

Missing locale data for the locale "zh-cn"

\u7f3a\u5c11\u8bed\u8a00\u5bfc\u5165\uff0c\u53c2\u8003app.module.ts\u3002

\u5982\u4f55\u672c\u5730\u90e8\u7f72ng-alain.com\u6587\u6863

\u7ebf\u4e0a\u6587\u6863\u5c06\u53ea\u4fdd\u7559\u6700\u8fd1\u4e09\u4e2a\u4e3b\u7248\u672c\u53f7\u7684\u6570\u636e\uff0c\u82e5\u662f\u4f4e\u7248\u672c\u53ef\u4ee5\u901a\u8fc7\u672c\u5730\u90e8\u7f72\u6765\u67e5\u770b\uff1a

git clone --depth 1 -b full https://github.com/ng-alain/archive-docs.git ng-alain-doc\ncd ng-alain-doc\nyarn\nyarn start

\u4fee\u590d360\u6d4f\u89c8\u5668\u4e0b\u90e8\u5206\u663e\u793a\u5f02\u5e38

\u90e8\u5206360\u6d4f\u89c8\u5668\u5185\u7f6e\u7684 Chrome \u6838\u5fc3\u8fc7\u4f4e\uff0c\u5bfc\u81f4\u90e8\u5206 CSS3 \u672a\u652f\u6301\uff0c\u53ef\u4ee5\u624b\u52a8\u589e\u52a0 .browserslistrc \u66f4\u591a\u7ec6\u8282\u53c2\u8003 #2310

',meta:{order:20,title:{"en-US":"FAQ","zh-CN":"\u5e38\u89c1\u95ee\u9898"},type:"Other"},toc:[{id:"\u57fa\u7840",title:"\u57fa\u7840",h:2,children:[{id:"Can'tBindtosinceitisn'taknownpropertyof",title:"Can't Bind to since it isn't a known property of",h:3},{id:"ExpressionChangedAfterItHasBeenCheckedError\u9519\u8bef",title:"Expression Changed After It Has Been Checked Error \u9519\u8bef",h:3},{id:"Can'tbindto'formGroup'sinceitisn'taknownpropertyof'form'",title:"Can't bind to 'formGroup' since it isn't a known property of 'form'",h:3},{id:"\u6570\u636e\u4fee\u6539\u540e\u9875\u9762\u4e3a\u4ec0\u4e48\u6ca1\u6709\u66f4\u65b0",title:"\u6570\u636e\u4fee\u6539\u540e\u9875\u9762\u4e3a\u4ec0\u4e48\u6ca1\u6709\u66f4\u65b0",h:3},{id:"\u5982\u4f55\u4f7f\u7528@delon\u6bcf\u65e5\u6784\u5efa\u7248\u672c",title:"\u5982\u4f55\u4f7f\u7528@delon\u6bcf\u65e5\u6784\u5efa\u7248\u672c",h:3}]},{id:"\u5b89\u88c5",title:"\u5b89\u88c5",h:2,children:[{id:"\u4e3a\u4ec0\u4e48\u627e\u4e0d\u5230ng-zorro-antd/src/*.less\u6837\u5f0f\uff1f",title:"\u4e3a\u4ec0\u4e48\u627e\u4e0d\u5230 ng-zorro-antd/src/*.less \u6837\u5f0f\uff1f",h:3},{id:"\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u6dd8\u5b9d\u6e90\uff1f",title:"\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u6dd8\u5b9d\u6e90\uff1f",h:3}]},{id:"\u914d\u7f6e",title:"\u914d\u7f6e",h:2,children:[{id:"\u5982\u4f55\u672c\u5730\u90e8\u7f72antd\u56fe\u6807\uff1f",title:"\u5982\u4f55\u672c\u5730\u90e8\u7f72 antd \u56fe\u6807\uff1f",h:3},{id:'Missinglocaledataforthelocale"zh-cn"',title:'Missing locale data for the locale "zh-cn"',h:3},{id:"\u5982\u4f55\u672c\u5730\u90e8\u7f72ng-alain.com\u6587\u6863",title:"\u5982\u4f55\u672c\u5730\u90e8\u7f72ng-alain.com\u6587\u6863",h:3},{id:"\u4fee\u590d360\u6d4f\u89c8\u5668\u4e0b\u90e8\u5206\u663e\u793a\u5f02\u5e38",title:"\u4fee\u590d360\u6d4f\u89c8\u5668\u4e0b\u90e8\u5206\u663e\u793a\u5f02\u5e38",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-faq"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"getting-started",redirectTo:"getting-started/zh",pathMatch:"full"},{path:"getting-started/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/getting-started.en-US.md","zh-CN":"docs/getting-started.zh-CN.md"},content:{"en-US":{content:'

Foreword

NG-ALAIN is a production-ready solution for admin interfaces. Built on the design principles developed by Ant Design, this project introduces higher level components; we have developed templates, components, and a corresponding design kit to improve the user and development experience for admin interfaces.

How to read document

This document uses the following conventions:

  • API

    • [] Input Property

    • () Output Event

    • [()] Two-way binding

    • ng-content Component content placeholders

    • #tpl Refers <ng-template #tpl>

Preparation

You will need node and git. The project is based on Typescript, Angular, g2, @delon and ng-zorro-antd. It would be helpful if you have pre-existing knowledge on those.

Installation

CLI (Recommend)

Please make sure global Angular Cli is latest version via ng version command, please refer to CLI Command Reference for how to upgrade.

yarn global add @angular/cli\nng new my-project --style less --routing --package-manager yarn\ncd my-project\nng add ng-alain\nyarn start\n# Or use HMR mode by: yarn run hmr

Please refer to Schematics for more details.

Clone the Git Repository

git clone --depth=1 https://github.com/ng-alain/ng-alain.git my-project\ncd my-project\nyarn\nyarn start\n# Or use HMR mode by: yarn run hmr

Note: Installing with the CLI is a clean scaffolding; using clone the git repository include all example pages.

Scaffolding

NG-ALAIN is a standard Angular CLI project that includes common routes for admins and demonstrates our component library. The project layout is as follows:

\u251c\u2500\u2500 _mock                                       # Mock Data rule\n\u251c\u2500\u2500 src\n\u2502\xa0\xa0 \u251c\u2500\u2500 app\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 core                                # Core module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 i18n\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 net\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 default.interceptor.ts      # Default HTTP interceptor\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 services\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 startup.service.ts          # Initialize project configuration\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 core.module.ts                  # Core module file\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 layout                              # Core layout\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 **                              # Business directory\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes.module.ts                # Service routing module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 routes-routing.module.ts        # Service routes registration\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared                              # Shared module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-delon.module.ts          # @Delon/* import of secondary shared modules\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-zorro.module.ts          # NG-ZORRO import of secondary shared modules\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 shared.module.ts                # Shared module file\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 app.component.ts                    # Root component\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 app.module.ts                       # Root module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 global-config.module.ts             # @delon & ng-zorro global config\n\u2502\xa0\xa0 \u251c\u2500\u2500 assets                                  # Local static resource\n\u2502\xa0\xa0 \u251c\u2500\u2500 environments                            # Environment variable configuration\n\u2502\xa0\xa0 \u251c\u2500\u2500 styles                                  # Style directory\n\u2514\u2500\u2500 \u2514\u2500\u2500 style.less                              # Style guide entry

Development

yarn start

This will automatically open http://localhost:4200. If you see the following page then you have succeeded.

Environment Support

\u540d\u79f0\u63cf\u8ff0
angular.jsonAngular \u5de5\u4f5c\u533a\u53ca\u9879\u76ee\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u53c2\u8003Angular\u6587\u6863
_mockMock \u6570\u636e\u89c4\u5219\u76ee\u5f55\uff0c\u82e5\u4f60\u901a\u8fc7 \u547d\u4ee4\u884c\u5de5\u5177 \u521b\u5efa\u9879\u76ee\u65f6\u53ef\u4ee5\u6307\u5b9a --mock \u53c2\u6570\u51b3\u5b9a\u662f\u5426\u9700\u8981 Mock \u529f\u80fd
src/app/core/core.module.ts\u6838\u5fc3\u6a21\u5757\uff0c\u53ea\u4f1a\u5bfc\u5165\u4e00\u6b21\u3002\u56e0\u6b64\uff0c\u9488\u5bf9\u6574\u4e2a\u4e1a\u52a1\u6a21\u5757\u90fd\u9700\u8981\u4f7f\u7528\u7684\u7eaf\u670d\u52a1\u7c7b\uff08\u4f8b\u5982\uff1a\u6d88\u606f\u3001\u6570\u636e\u8bbf\u95ee\u7b49\uff09
src/app/core/i18n\u56fd\u9645\u5316\u6570\u636e\u52a0\u8f7d\u53ca\u5904\u7406\u76f8\u5173\u7c7b\uff0c\u82e5\u4f60\u901a\u8fc7 \u547d\u4ee4\u884c\u5de5\u5177 \u521b\u5efa\u9879\u76ee\u65f6\u53ef\u4ee5\u6307\u5b9a -di \u53c2\u6570\u51b3\u5b9a\u662f\u5426\u9700\u8981\u56fd\u9645\u5316\u652f\u6301
src/app/core/net\u9ed8\u8ba4\u62e6\u622a\u5668\uff0c\u4f60\u53ef\u4ee5\u5728\u8fd9\u91cc\u7edf\u4e00\u5904\u7406\u8bf7\u6c42\u53c2\u6570\u3001\u8bf7\u6c42\u5f02\u5e38\u3001\u4e1a\u52a1\u5f02\u5e38\u7b49\u52a8\u4f5c
src/app/core/services/startup.service.ts\u5f53\u4f60\u9700\u8981\u5728 Angular \u542f\u52a8\u524d\u6267\u884c\u4e00\u4e9b\u8fdc\u7a0b\u6570\u636e\uff08\u4f8b\u5982\uff1a\u5e94\u7528\u4fe1\u606f\u3001\u7528\u6237\u4fe1\u606f\u7b49\uff09\u65f6\u975e\u5e38\u6709\u7528
src/app/layout\u5e03\u5c40\u76ee\u5f55\uff0c\u5305\u542b\u57fa\u7840\u5e03\u5c40\u3001\u7a7a\u767d\u5e03\u5c40\u3001\u7528\u6237\u767b\u5f55\u5e03\u5c40
src/app/routes\u4e1a\u52a1\u6a21\u5757\uff0c\u4f60\u7684\u6240\u6709\u4e1a\u52a1\u4ee3\u7801\u90fd\u5c06\u5728\u8fd9\u91cc
src/app/shared/shared.module.ts\u5171\u4eab\u6a21\u5757\uff0c\u6307\u5f53\u4f60\u9700\u8981\u9488\u5bf9\u6574\u4e2a\u4e1a\u52a1\u6a21\u5757\u90fd\u9700\u8981\u4f7f\u7528\u7684\u4e00\u4e9b\u7b2c\u4e09\u65b9\u6a21\u5757\u3001\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u3001\u81ea\u5b9a\u4e49\u6307\u4ee4\uff0c\u90fd\u5e94\u8be5\u5b58\u5728\u8fd9\u91cc\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u9488\u5bf9 @delon & NG-ZORRO \u5206\u522b\u6784\u5efa\u4e86 shared-delon.module.ts\u3001shared-zorro.module.ts \u4e24\u79cd\u6b21\u7ea7\u5171\u4eab\u6a21\u5757\u7684\u5bfc\u5165\u3002
src/app/global-config.module.ts\u9488\u5bf9 @delon & NG-ZORRO \u7684\u5168\u5c40\u914d\u7f6e\u9879
src/environments\u5e94\u7528\u73af\u5883\u53d8\u91cf\uff0c\u5305\u542b\u4ee5\u4e0b\u503c\uff1aSERVER_URL \u6240\u6709HTTP\u8bf7\u6c42\u7684\u524d\u7f00\uff1bproduction \u662f\u5426\u751f\u4ea7\u73af\u5883\uff1buseHash \u8def\u7531\u662f\u5426useHash\u6a21\u5f0f
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versionslast 2 versions

Contributing

Please read our CONTRIBUTING.md first.

If you\'d like to help us improve NG-ZORRO, just create a Pull Request. Feel free to report bugs and issues here.

If you\'re new to posting issues, we ask that you read How To Ask Questions The Smart Way(This guide does not provide actual support services for this project!) and How to Ask a Question in Open Source Community and How to Report Bugs Effectively prior to posting. Well written bug reports help us help you!

Need Help?

For questions on how to use ng-alain, please post questions to Stack Overflow using the ng-alain tag.

As always, we encourage experienced users to help those who are not familiar with ng-alain!

If you would like to Donate\n to NG-A

',meta:{order:10,title:"Getting Started",type:"Basic",i18n:"need-update"},toc:[{id:"Foreword",title:"Foreword",h:2},{id:"Preparation",title:"Preparation",h:2},{id:"Installation",title:"Installation",h:2,children:[{id:"CLIRecommend",title:"CLI (Recommend)",h:3},{id:"ClonetheGitRepository",title:"Clone the Git Repository",h:3}]},{id:"Scaffolding",title:"Scaffolding",h:2},{id:"Development",title:"Development",h:2},{id:"EnvironmentSupport",title:"Environment Support",h:2},{id:"Contributing",title:"Contributing",h:2},{id:"NeedHelp",title:"Need Help?",h:2},{id:"DONATE",title:"DONATE",h:2}]},"zh-CN":{content:'

\u4ec0\u4e48\u662fNG-ALAIN

NG-ALAIN \u662f\u4e00\u4e2a\u4f01\u4e1a\u7ea7\u4e2d\u540e\u53f0\u524d\u7aef/\u8bbe\u8ba1\u89e3\u51b3\u65b9\u6848\u811a\u624b\u67b6\uff0c\u6211\u4eec\u79c9\u627f Ant Design \u7684\u8bbe\u8ba1\u4ef7\u503c\u89c2\uff0c\u76ee\u6807\u4e5f\u975e\u5e38\u7b80\u5355\uff0c\u5e0c\u671b\u5728Angular\u4e0a\u9762\u5f00\u53d1\u4f01\u4e1a\u540e\u53f0\u66f4\u7b80\u5355\u3001\u66f4\u5feb\u901f\u3002\u968f\u7740\u300e\u8bbe\u8ba1\u8005\u300f\u7684\u4e0d\u65ad\u53cd\u9988\uff0c\u5c06\u6301\u7eed\u8fed\u4ee3\uff0c\u9010\u6b65\u6c89\u6dc0\u548c\u603b\u7ed3\u51fa\u66f4\u591a\u8bbe\u8ba1\u6a21\u5f0f\u548c\u76f8\u5e94\u7684\u4ee3\u7801\u5b9e\u73b0\uff0c\u9610\u8ff0\u4e2d\u540e\u53f0\u4ea7\u54c1\u6a21\u677f/\u7ec4\u4ef6/\u4e1a\u52a1\u573a\u666f\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u4e5f\u5341\u5206\u671f\u5f85\u4f60\u7684\u53c2\u4e0e\u548c\u5171\u5efa\u3002

\u73af\u5883\u642d\u5efa

Angular \u5f00\u53d1\u73af\u5883\u81f3\u5c11\u9700\u8981\u5b89\u88c5 Node.js(Node.js \u5185\u7f6e\u4e86 npm \u65e0\u987b\u5355\u72ec\u5b89\u88c5\uff0c\u4f46\u63a8\u8350\u4f7f\u7528 Yarn \u4f46\u4f60\u9700\u8981\u5355\u72ec\u989d\u5916\u5b89\u88c5\uff09\u3001VSCode\u7f16\u8f91\u5668\uff0c\u5176\u4e2d Node.js \u5efa\u8bae\u5b89\u88c5 LTS \u7248\u672c\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\uff1a

node -v # \u67e5\u770b Node.js \u5f53\u524d\u7248\u672c\nyarn -v # \u67e5\u770b Yarn \u5f53\u524d\u7248\u672c

Yarn \u9ed8\u8ba4\u4ece\u56fd\u5916\u6e90\u6765\u4e0b\u8f7d\u5305\u4fe1\u606f\uff0c\u9274\u4e8e\u56fd\u5185\u73af\u5883\u56e0\u7d20\uff0c\u5728\u5f00\u59cb\u4e0b\u4e00\u6b65\u524d\u5148\u8bbe\u5b9a\u6dd8\u5b9d\u63d0\u4f9b\u955c\u50cf\uff1a

yarn config set registry https://registry.npmmirror.com\nyarn config set sass_binary_site https://npmmirror.com/mirrors/node-sass\n# restore\nyarn config delete registry\nyarn config delete sass_binary_site

\u4e5f\u53ef\u4ee5\u4f7f\u7528 nrm \u5305\uff0c\u53ef\u4ee5\u5feb\u901f\u5207\u6362\u4e0d\u540c\u56fd\u5185\u955c\u50cf\u6e90\u3002

\u5b89\u88c5

\u5168\u5c40 Angular Cli

\u5b89\u88c5\u4e4b\u524d\u8bf7\u5148\u786e\u4fdd\u672c\u5730\u5df2\u7ecf\u5b89\u88c5\u5168\u5c40 Angular Cli\uff0c\u53ea\u6709\u8fd9\u6837\u624d\u80fd\u968f\u65f6\u968f\u5730\u5728\u7ec8\u7aef\u4f7f\u7528 ng \u547d\u4ee4\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\uff1a

yarn global add @angular/cli

\u521b\u5efaNG-ALAIN\u9879\u76ee

NG-ALAIN \u5fc5\u987b\u5148\u521b\u5efa\u4e00\u4e2a\u5168\u65b0\u7684 Angular \u9879\u76ee\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\uff1a

ng new my-project --style less --routing --package-manager yarn

\u5982\u679c\u4f60\u60f3\u4e86\u89e3 --style\u3001--routing \u53c2\u6570\uff0c\u8bf7\u53c2\u8003 ng new \u6587\u6863\u3002

\u63a5\u4e0b\u6765\u53ea\u9700\u8981\u5c06 NG-ALAIN \u6dfb\u52a0\u5230 my-project \u9879\u76ee\u4e2d\u5373\u53ef\uff0c\u5728 my-project \u76ee\u5f55\u4e0b\u901a\u8fc7\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\uff1a

cd my-project\nng add ng-alain

NG-ALAIN \u4f1a\u8be2\u95ee\u662f\u5426\u9700\u8981\u4e00\u4e9b\u989d\u5916\u7684\u63d2\u4ef6\uff0c\u4e00\u5f00\u59cb\u5b8c\u5168\u53ef\u4ee5\u4e00\u8def\u56de\u8f66\uff0c\u8fd9\u4e9b\u63d2\u4ef6\u90fd\u662f\u53ef\u63d2\u62d4\uff0c\u540e\u671f\u53ef\u4ee5\u81ea\u884c\u6dfb\u52a0\u4e0e\u79fb\u9664\u3002

\u4ee5\u4e0a\u53ea\u4f1a\u751f\u6210\u5e72\u51c0\u7684\u9879\u76ee\uff0c\u53ef\u4ee5\u76f4\u63a5\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u4e2d\u3002\u4f60\u53ef\u80fd\u5728\u9884\u89c8\u4e0a\u770b\u5230\u8bb8\u591a\u793a\u4f8b\u9875\uff0c\u5b83\u4eec\u5168\u90fd\u53ef\u4ee5\u5728 Github \u67e5\u770b\u5230\u6e90\u4ee3\u7801\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u901a\u8fc7 Git \u514b\u9686\u4ee3\u7801\u7684\u5f62\u5f0f\u83b7\u5f97\uff1a

git clone --depth=1 https://github.com/ng-alain/ng-alain.git my-project\ncd my-project\nyarn install

\u8fd0\u884c

yarn start

\u542f\u52a8\u5b8c\u6210\u540e\u4f1a\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee http://localhost:4200\uff0c\u82e5\u4f60\u770b\u5230\u5982\u4e0b\u9875\u9762\u5219\u4ee3\u8868\u6210\u529f\u4e86\u3002

\u606d\u559c\u4f60\uff0c\u4f60\u5df2\u7ecf\u6210\u529f\u90e8\u7f72\u4e00\u4e2a NG-ALAIN \u9879\u76ee\u3002

\u652f\u6301\u73af\u5883

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versionslast 2 versions

\u5982\u4f55\u8d21\u732e

\u5728\u4efb\u4f55\u5f62\u5f0f\u7684\u53c2\u4e0e\u524d\uff0c\u8bf7\u5148\u9605\u8bfb \u8d21\u732e\u8005\u6587\u6863\u3002\u5982\u679c\u4f60\u5e0c\u671b\u53c2\u4e0e\u8d21\u732e\uff0c\u6b22\u8fce Pull Request\uff0c\u6216\u7ed9\u6211\u4eec \u62a5\u544a Bug\u3002

\u5f3a\u70c8\u63a8\u8350\u9605\u8bfb \u300a\u63d0\u95ee\u7684\u667a\u6167\u300b(\u672c\u6307\u5357\u4e0d\u63d0\u4f9b\u6b64\u9879\u76ee\u7684\u5b9e\u9645\u652f\u6301\u670d\u52a1\uff01)\u3001\u300a\u5982\u4f55\u5411\u5f00\u6e90\u793e\u533a\u63d0\u95ee\u9898\u300b \u548c \u300a\u5982\u4f55\u6709\u6548\u5730\u62a5\u544a Bug\u300b\u3001\u300a\u5982\u4f55\u5411\u5f00\u6e90\u9879\u76ee\u63d0\u4ea4\u65e0\u6cd5\u89e3\u7b54\u7684\u95ee\u9898\u300b\uff0c\u66f4\u597d\u7684\u95ee\u9898\u66f4\u5bb9\u6613\u83b7\u5f97\u5e2e\u52a9\u3002

\u793e\u533a\u4e92\u52a9

\u5982\u679c\u60a8\u5728\u4f7f\u7528\u7684\u8fc7\u7a0b\u4e2d\u78b0\u5230\u95ee\u9898\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u51e0\u4e2a\u9014\u5f84\u5bfb\u6c42\u5e2e\u52a9\uff0c\u540c\u65f6\u6211\u4eec\u4e5f\u9f13\u52b1\u8d44\u6df1\u7528\u6237\u901a\u8fc7\u4e0b\u9762\u7684\u9014\u5f84\u7ed9\u65b0\u4eba\u63d0\u4f9b\u5e2e\u52a9\u3002

\u901a\u8fc7 Stack Overflow \u6216\u8005 Segment Fault \u63d0\u95ee\u65f6\uff0c\u5efa\u8bae\u52a0\u4e0a ng-alain \u6807\u7b7e\u3002

  1. QQ \u7fa4

  2. Segment Fault\uff08\u4e2d\u6587\uff09

  3. \u52a0\u5165 NG-ALAIN \u81ea\u52a9\u670d\u52a1\u7fa4\uff08\u4e2d\u6587\uff09

\u6350\u52a9

\u5982\u679c\u4f60\u89c9\u5f97 NG-ALAIN \u4e0d\u9519\uff0c\u53ef\u4ee5\u8003\u8651\u81ea\u613f\u4e3a\u672c\u7ad9\u6253\u8d4f\u6216\u6350\u52a9\u3002

{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/global-config.en-US.md","zh-CN":"docs/global-config.zh-CN.md"},content:{"en-US":{content:'

We add support of global configuration to many components. You can define the default behavior of the component through global configuration, thus reducing the code that needs to be written in the template, and support changing global config at runtime.

How to Use?

If you want to provide default configurations to some components, you should provide an object that implements the interface AlainConfig with the injection token ALAIN_CONFIG, in the root module (in another word, to the root injector). Like this:

// global-config.module.ts\nimport { AlainConfig, ALAIN_CONFIG } from \'@delon/util/config\';\n\nconst alainConfig: AlainConfig = {\n  st: { ps: 3 },\n};\n\n@NgModule({\n  providers: [\n    { provide: ALAIN_CONFIG, useValue: alainConfig },\n  ],\n})\nexport class GlobalConfigModule {}

These global configuration would be injected into a service named AlainConfigService and gets stored.

About NG-ZORRO

Please refer to NG-ZORRO Website Documentation

',meta:{order:90,title:{"en-US":"Global Configuration","zh-CN":"\u5168\u5c40\u914d\u7f6e\u9879"},type:"Dev"},toc:[{id:"HowtoUse",title:"How to Use?",h:2},{id:"AboutNG-ZORRO",title:"About NG-ZORRO",h:2}]},"zh-CN":{content:'

\u6211\u4eec\u7ed9\u4f17\u591a\u7ec4\u4ef6\u6dfb\u52a0\u4e86\u5168\u5c40\u914d\u7f6e\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5168\u5c40\u914d\u7f6e\u6765\u5b9a\u4e49\u7ec4\u4ef6\u7684\u9ed8\u8ba4\u884c\u4e3a\uff0c\u4ece\u800c\u51cf\u5c11\u5728\u6a21\u677f\u4e2d\u9700\u8981\u5199\u7684\u4ee3\u7801\uff08\u8ba9\u4f60\u7684\u4ee3\u7801\u66f4\u52a0\u6e05\u723d\uff09\uff0c\u8fd8\u80fd\u5728\u8fd0\u884c\u65f6\u4fee\u6539\u5168\u5c40\u914d\u7f6e\u9879\u3002

\u5982\u4f55\u4f7f\u7528

\u60f3\u8981\u4e3a\u67d0\u4e9b\u7ec4\u4ef6\u63d0\u4f9b\u9ed8\u8ba4\u914d\u7f6e\u9879\uff0c\u8bf7\u5728\u6839\u6ce8\u5165\u5668\u4e2d\u6839\u636e\u6ce8\u5165\u4ee4\u724c ALAIN_CONFIG \u63d0\u4f9b\u4e00\u4e2a\u7b26\u5408 AlainConfig \u63a5\u53e3\u7684\u5bf9\u8c61\uff0c\u4f8b\u5982\uff1a

// global-config.module.ts\nimport { AlainConfig, ALAIN_CONFIG } from \'@delon/util/config\';\n\nconst alainConfig: AlainConfig = {\n  st: { ps: 3 },\n};\n\n@NgModule({\n  providers: [\n    { provide: ALAIN_CONFIG, useValue: alainConfig },\n  ],\n})\nexport class GlobalConfigModule {}

\u8fd9\u4e9b\u5168\u5c40\u914d\u7f6e\u9879\u5c06\u4f1a\u88ab\u6ce8\u5165 AlainConfigService \u5f53\u4e2d\u5e76\u4fdd\u5b58\u3002

\u5173\u4e8e NG-ZORRO \u5168\u5c40\u914d\u7f6e\u9879

\u8bf7\u53c2\u8003 NG-ZORRO \u5b98\u7f51\u6587\u6863

',meta:{order:90,title:{"en-US":"Global Configuration","zh-CN":"\u5168\u5c40\u914d\u7f6e\u9879"},type:"Dev"},toc:[{id:"\u5982\u4f55\u4f7f\u7528",title:"\u5982\u4f55\u4f7f\u7528",h:2},{id:"\u5173\u4e8eNG-ZORRO\u5168\u5c40\u914d\u7f6e\u9879",title:"\u5173\u4e8e NG-ZORRO \u5168\u5c40\u914d\u7f6e\u9879",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-global-config"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"graph",redirectTo:"graph/zh",pathMatch:"full"},{path:"graph/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/graph.md"},content:{"zh-CN":{content:'
',meta:{order:20,title:{"en-US":"Charts","zh-CN":"\u56fe\u8868"},type:"Advance",url:"/chart/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-graph"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"how-to-start",redirectTo:"how-to-start/zh",pathMatch:"full"},{path:"how-to-start/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/how-to-start.en-US.md","zh-CN":"docs/how-to-start.zh-CN.md"},content:{"en-US":{content:'

First, pre-order preparation

As you begin your business development on NG-ALAIN, i recommend that you first review the following documents, which is very helpful for everyone on the team.

NG-ALAIN\'s base component library comes from NG-ZORRO, so you can get a very detailed API documentation for its use on the official website. For ng components provided by -alain are obtained through the component page.

Second, the startup process

NG-ALAIN is a scaffold that can be used directly in production environments. The prerequisite for understanding these details is that you have a certain knowledge of Angular. The following documents may be helpful to you before you start:

When running an app via ng serve, a complete Angular startup process would look like this:

  1. Trigger APP_INITIALIZER (the scaffolding implementation is implemented in StartupService.load) to get the application information.

  2. Trigger service routing (src/app/routes/routes-routing.module.ts` for scaffolding)

  3. Rendering components

1) APP_INITIALIZER

From a mid and back-office perspective, NG-ALAIN always believes that a network request is required to get some application information (eg menu data, user data, etc.) before Angular starts.startup.service.ts\uff1bIt returns a Promise object, which always needs to be called: resolve() to ensure that Angular starts normally.

Network requests may encounter a 403 error because the scaffolding uses the user authentication module by default and always assumes that all requests must be a valid user authorization. For more documentation see:

After obtaining the application information, you need to assign some values \u200b\u200bto the built-in services of the scaffolding, including:

Application Information

Including: application name, description, year, information can be directly injected into the SettingsService (API) and directly in the HTML template.

this.settingService.setApp(res.app);

User Info

Including: name, avatar, email address, etc., information can be directly injected into the SettingsService (API) and directly in the HTML template.

this.settingService.setUser(res.user);

Layout information

Including: name, avatar, email, address, etc., information can be directly injected into the SettingsService (API) and directly in the HTML template.

// Whether to fix the top menu\nthis.settingService.setLayout(`fixed`, false);\n// Whether to collapse the right menu\nthis.settingService.setLayout(`collapsed`, false);

Menu data

NG-ALAIN takes menu from the remote and can also inject MenuService (API) to change the menu data. Of course, it is more reasonable to perform menu assignment before Angular starts.

Menu data Make sure ensure Menu format, menu data throughout Applications, for example: page header auto navigation page-header, page title text TitleService Wait.

this.menuService.add(res.menu);

Page title

If the page title always wants to add the application name as a suffix, you can re-adjust the suffix attribute value by injecting TitleService(API).

// Set the suffix of the page title\nthis.titleService.suffix = res.app.name;

ACL

this.aclService.setFull(true);

It is recommended to load the ACL access control permission data before starting. For more details, please refer to Access Control List.

Globalization

It is recommended to load the internationalization package first before starting, which will ensure that the page is rendered as the target language after the project is started. See Internationalization for more details.

2) Business routing

Scaffolding top-level routing begins with routes-routing.module.ts Its structure is as follows:

const routes: Routes = [\n  {\n    path: \'\',\n    component: LayoutDefaultComponent,\n    children: [\n      { path: \'\', redirectTo: \'dashboard\', pathMatch: \'full\' },\n      { path: \'dashboard\', component: DashboardComponent, data: { title: \'Dashboard\' } },\n      // business submodule\n      // { path: \'trade\', loadChildren: \'./trade/trade.module#TradeModule\' }\n    ]\n  },\n  // Blank layout\n  {\n    path: \'blank\',\n    component: LayoutBlankComponent,\n    children: [\n    ]\n  },\n  // passport\n  {\n    path: \'passport\',\n    component: LayoutPassportComponent,\n    children: [\n      { path: \'login\', component: UserLoginComponent },\n      { path: \'register\', component: UserRegisterComponent },\n      { path: \'register-result\', component: UserRegisterResultComponent }\n    ]\n  },\n  // Single page does not wrap Layout\n  { path: \'callback/:type\', component: CallbackComponent },\n  { path: \'403\', component: Exception403Component },\n  { path: \'404\', component: Exception404Component },\n  { path: \'500\', component: Exception500Component },\n  { path: \'**\', redirectTo: \'dashboard\' }\n];

Above we used the LayoutDefaultComponent base layout in the business module. User authorization uses LayoutPassportComponent user authorization layout and the full screen layout.

It is recommended that all submodules be loaded using a lazy module, such as the TradeModule order module, which organizes the code structure more efficiently.

Under what circumstances do you not use lazy loading?

Angular startup from the top-level component. When a lazy module is encountered, it will initiate a script request. At this time, the dashboard or login page will be blank due to network requests, which is not good for the experience.

Routing permission control

The routing URL may be affected by the browser\'s own historical memory, so that users may access the unprivileged route. If you want a better experience, you need to configure the canActivate option on the route. When the user has no permission, it will utomatically jump to the relevant page. see the ACL Routing Guard section for details.

IDE

A developer must first sharpen his tools if he is to do his work well, NG-ALAIN recommended to use the Visual Studio Code IDE, because ng-alain adds some extra features to VSCode to better help you. Development.

Or use the NG-ALAIN Extension Pack suite directly.

Code fragment

Class style smart reminder

ng-alain has a lot of built-in toolkit styles (API), and the following plugins can be installed directly into the HTML template.

',meta:{order:0,title:"How to start",type:"Dev",i18n:"need-update"},toc:[{id:"First,pre-orderpreparation",title:"First, pre-order preparation",h:2},{id:"Second,thestartupprocess",title:"Second, the startup process",h:2,children:[{id:"1APP_INITIALIZER",title:"1) APP_INITIALIZER",h:3},{id:"2Businessrouting",title:"2) Business routing",h:3},{id:"Underwhatcircumstancesdoyounotuselazyloading",title:"Under what circumstances do you not use lazy loading?",h:3},{id:"Routingpermissioncontrol",title:"Routing permission control",h:3}]},{id:"IDE",title:"IDE",h:2,children:[{id:"Codefragment",title:"Code fragment",h:3},{id:"Classstylesmartreminder",title:"Class style smart reminder",h:3}]}]},"zh-CN":{content:'

\u524d\u5e8f\u51c6\u5907

NG-ALAIN \u6280\u672f\u6808\u57fa\u4e8e Typescript\u3001Angular\u3001\u56fe\u8868G2 \u548c NG-ZORRO\uff0c\u5728\u5f00\u59cb\u5c1d\u8bd5\u4f7f\u7528 NG-ALAIN \u811a\u624b\u67b6\u524d\uff0c\u8bf7\u5148\u63d0\u524d\u4e86\u89e3\u548c\u5b66\u4e60\u8fd9\u4e9b\u77e5\u8bc6\u4f1a\u975e\u5e38\u6709\u5e2e\u52a9\u3002\u5982\u679c\u4f60\u662f\u4e00\u540d Java \u6216 C# \u540e\u7aef\u5f00\u53d1\u4eba\u5458\uff0c\u90a3\u4e48\u606d\u559c\u4f60\uff0c\u4f60\u6240\u89c1\u5230\u7684\u4e0d\u7ba1\u662f\u7ed3\u6784\u3001\u4ee3\u7801\u3001\u5f00\u53d1\u4f53\u9a8c\u7b49\u90fd\u662f\u4f60\u6240\u60f3\u7684\u90a3\u6837\u3002\u4f46\u4e0d\u7ba1\u600e\u4e48\u6837\uff0c\u60f3\u5199\u597d Angular \u4ee3\u7801\uff0c\u4ee5\u4e0b\u8fd9\u4e9b\u6587\u7ae0\u53ca\u793e\u533a\u662f\u4f60\u5fc5\u987b\u8981\u77e5\u9053\u7684\uff1a

\u5199\u5728\u524d\u9762

\u5f88\u591a\u4eba\u5728\u5b66\u4e60\u4e00\u9879\u65b0\u4e1c\u897f\u65f6\uff0c\u65e0\u5916\u4e4e\u5199\u4e2a Hello World \u6216\u662f\u5199\u4e00\u4e2a Http \u8bf7\u6c42\uff0c\u7136\u540e\u6162\u6162\u5f00\u59cb\u8f90\u5c04\u6240\u9700\u8981\u7684\u6280\u672f\u77e5\u8bc6\u3002\u4e00\u4e2a HTTP \u8bf7\u6c42\u5bf9\u4e2d\u540e\u53f0\u800c\u8a00\u4fbf\u662f\u6db5\u76d6\u4e86 CURD \u4e3b\u8981\u4efb\u52a1\uff0c\u751a\u81f3\u53ef\u4ee5\u8bf490%\u65f6\u95f4\u53ca\u529f\u80fd\u90fd\u5728\u505a\u8fd9\u9879\u5de5\u4f5c\u3002\u5728\u4ecb\u7ecd\u7ae0\u8282\u4e2d\u5df2\u7ecf\u63cf\u8ff0\u521b\u5efa\u4e00\u4e2a NG-ALAIN \u9879\u76ee\u5e76\u5982\u4f55\u8fd0\u884c\u5b83\uff0c\u5982\u679c\u6b64\u65f6\u4f60\u4e5f\u60f3\u8981\u5199\u4e2a Hello World\uff0c\u90a3\u4e48\u53ea\u9700\u8981\u5229\u7528 VSCode \u6253\u5f00\u8fd9\u4e2a\u9879\u76ee\uff0c\u5e76\u5728 dashboard.component.html \u6587\u4ef6\u5185\u8f93\u5165\u6587\u672c\uff0c500ms \u540e\u5c31\u4f1a\u5728\u9875\u9762\u4e0a\u7acb\u5373\u5448\u73b0\u3002

\u6d41\u7a0b

\u56de\u8fc7\u5934\u6765\u6211\u4eec\u8bd5\u7740\u56de\u60f3\u4e00\u4e0b\uff0c\u4e00\u4e2a\u4e2d\u540e\u53f0\u9879\u76ee\uff0c\u4ece\u542f\u52a8\u518d\u5230\u5448\u73b0\u4e00\u4efd\u8ba2\u5355\u5217\u8868\u7684\u529f\u80fd\uff0c\u5bf9\u4e8e\u5f00\u53d1\u8005\u800c\u8a00\u5305\u542b\u4e86\u54ea\u4e9b\u4e8b\u4ef6\u3002\u65e0\u5916\u4e4e\u9879\u76ee\u542f\u52a8\u65f6\u5e94\u8be5\u52a0\u8f7d\u70b9\u4ec0\u4e48\u7cfb\u7edf\u914d\u7f6e\u9879\uff0c\u54ea\u4e9b\u9875\u9762\u7528\u6237\u65e0\u6743\u8fdb\u5165\uff1b\u628a\u7c92\u5ea6\u518d\u60f3\u7ec6\u4e00\u70b9\uff0c\u540c\u4e00\u4e2a\u9875\u9762\u4e0d\u540c\u7684\u6309\u94ae\u7ed9\u4e0d\u540c\u7684\u4eba\u7528\uff0cHTTP\u8bf7\u6c42\u82e5\u4ea7\u751f\u9519\u8bef\u662f\u4e0d\u662f\u5f97\u6bcf\u6b21\u90fd\u5199\u76f8\u540c\u7684\u5904\u7406\u4ee3\u7801\u7b49\u7b49\u3002

\u521d\u59cb\u5316\u9879\u76ee\u6570\u636e

Angular \u63d0\u4f9b\u4e00\u4e2aDI\uff08\u4f9d\u8d56\u6ce8\u5165\uff09\u4ee4\u724c APP_INITIALIZER \u8ba9\u5e94\u7528\u542f\u52a8\u65f6\u53ef\u4ee5\u505a\u4e00\u4e9b\u4f1a\u5f71\u54cd\u6e32\u67d3\u7ed3\u679c\u7684\u6570\u636e\uff0c\u6bd4\u5982\uff1a\u8bed\u8a00\u6570\u636e\u3001\u83dc\u5355\u6570\u636e\u3001\u7528\u6237\u4fe1\u606f\u6570\u636e\u3001\u5b57\u5178\u6570\u636e\u7b49\uff0c\u5e76\u4e14\u5fc5\u987b\u8fd4\u56de\u4e00\u4e2a Promise \u5f02\u6b65\u51fd\u6570\uff0c\u5f02\u6b65\u610f\u5473\u8005\u53ef\u4ee5\u505a\u5f88\u591a\u6709\u8da3\u7684\u4e8b\uff0c\u6bd4\u5982\u6570\u636e\u6765\u81ea\u8fdc\u7a0b\u3002APP_INITIALIZER \u53ea\u4f1a\u6267\u884c\u4e00\u6b21\uff0c\u53ea\u9700\u8981\u5728 AppModule \u6a21\u5757\u6ce8\u518c\u5b83\u5c31\u884c\u4e86\u3002

export function StartupServiceFactory(startupService: StartupService): () => Promise {\n  return () => startupService.load();\n}\n\n@NgModule({\n  declarations: [AppComponent],\n  imports: [BrowserModule]\n  providers: [{\n    StartupService,\n    {\n      provide: APP_INITIALIZER,\n      useFactory: StartupServiceFactory,\n      deps: [StartupService],\n      multi: true,\n    },\n  }],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}

\u800c StartupService \u5982\u4e0b\uff1a

@Injectable()\nexport class StartupService {\n  constructor(private httpClient: HttpClient) {}\n\n  load(): Promise { \n    return new Promise((resolve) => {\n      this.httpClient.get(``).subscribe(() => {\n        resolve();\n      });\n    });\n  }\n}

\u54ea\u6015 Http \u8bf7\u6c42\u5931\u8d25\uff0c\u8fd9\u91cc\u4e5f\u5fc5\u987b\u6267\u884c resolve()\uff0c\u5426\u5219\u5e94\u7528\u5c31\u65e0\u6cd5\u542f\u52a8\u3002\u800c NG-ALAIN \u63d0\u4f9b\u7684 startup.service.ts \u5185\u5bb9\u66f4\u52a0\u4e30\u5bcc\u4e00\u70b9\uff0c\u5bf9\u4e8e\u5b8c\u6574\u7684\u4e2d\u540e\u53f0\u800c\u8a00\uff0c\u5927\u591a\u6570\u9879\u76ee\u4e2d\u4ee5\u4e0b\u8fd9\u4e9b\u4fe1\u606f\u90fd\u53ef\u4ee5\u5fc5\u5907\u7684\uff1a

\u6570\u636e\u7c7b\u578b\u63cf\u8ff0
\u5e94\u7528\u4fe1\u606f\u5e94\u7528\u540d\u79f0\u3001\u63cf\u8ff0\u3001\u5e74\u4efd\uff0c\u4fe1\u606f\u53ef\u4ee5\u76f4\u63a5\u6ce8\u5165 SettingsService\uff08API\uff09\u540e\u76f4\u63a5\u5728HTML\u6a21\u677f\u4e2d\u8bbf\u95ee\u3002
\u4f8b\u5982\uff1athis.settingService.setApp(res.app);
\u7528\u6237\u4fe1\u606f\u5f53\u524d\u7528\u6237\u7684\u59d3\u540d\u3001\u5934\u50cf\u3001\u90ae\u7bb1\u5730\u5740\u7b49\uff0c\u4fe1\u606f\u53ef\u4ee5\u76f4\u63a5\u6ce8\u5165 SettingsService\uff08API\uff09\u540e\u76f4\u63a5\u5728HTML\u6a21\u677f\u4e2d\u8bbf\u95ee\u3002
\u4f8b\u5982\uff1athis.settingService.setUser(res.user);
\u5e03\u5c40\u4fe1\u606f\u8c03\u6574\u4e3b\u9898\u914d\u7f6e\uff0c\u4f8b\u5982\uff1a\u56fa\u5b9a\u9876\u90e8\u83dc\u5355\u3001\u6298\u53e0\u83dc\u5355\u7b49\u3002
\u4f8b\u5982\uff1athis.settingService.setLayout("fixed", false); \u6216 this.settingService.setLayout("collapsed", false);
\u83dc\u5355\u6570\u636eNG-ALAIN \u8ba4\u4e3a\u83dc\u5355\u6570\u636e\u4e5f\u662f\u6765\u81ea\u8fdc\u7a0b\uff0c\u4e5f\u53ef\u4ee5\u4efb\u610f\u4f4d\u7f6e\u6ce8\u5165 MenuService\uff08API\uff09\u6765\u6539\u53d8\u83dc\u5355\u6570\u636e\uff0c\u5f53\u7136\u5728 Angular \u542f\u52a8\u4e4b\u524d\u6267\u884c\u83dc\u5355\u8d4b\u503c\u66f4\u4e3a\u5408\u7406\u3002
\u83dc\u5355\u6570\u636e\u52a1\u5fc5\u786e\u4fdd Menu \u683c\u5f0f\uff0c\u83dc\u5355\u6570\u636e\u8d2f\u7a7f\u6574\u4e2a\u5e94\u7528\uff0c\u4f8b\u5982\uff1a\u9875\u5934\u81ea\u52a8\u5bfc\u822a page-header\uff0c\u9875\u6807\u9898\u6587\u672c TitleService \u7b49\u3002
\u4f8b\u5982\uff1athis.menuService.add(res.menu);
\u9875\u9762\u6807\u9898\u82e5\u9875\u9762\u6807\u9898\u603b\u5e0c\u671b\u52a0\u4e0a\u5e94\u7528\u540d\u79f0\u4e3a\u540e\u7f00\u65f6\uff0c\u53ef\u4ee5\u6ce8\u5165 TitleService\uff08API\uff09\u91cd\u65b0\u8c03\u6574 suffix \u5c5e\u6027\u503c\u3002
\u4f8b\u5982\u8bbe\u7f6e\u9875\u9762\u6807\u9898\u7684\u540e\u7f00\uff1athis.titleService.suffix = res.app.name;
ACL\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u6570\u636e\uff0c\u5efa\u8bae\u5728\u542f\u52a8\u524d\u52a0\u8f7dACL\u8bbf\u95ee\u63a7\u5236\u6743\u9650\u6570\u636e\uff0c\u6709\u5173\u66f4\u591a\u7ec6\u8282\u53ef\u53c2\u8003 \u8bbf\u95ee\u63a7\u5236\u5217\u8868\u3002
\u4f8b\u5982\u8bbe\u7f6e\u5168\u91cf\u6743\u9650\uff1athis.aclService.setFull(true);
\u56fd\u9645\u5316\u5efa\u8bae\u5728\u542f\u52a8\u524d\u4f18\u5148\u52a0\u8f7d\u56fd\u9645\u5316\u6570\u636e\u5305\uff0c\u8fd9\u6837\u53ef\u786e\u4fdd\u9879\u76ee\u542f\u52a8\u540e\u9875\u9762\u6e32\u67d3\u4e3a\u76ee\u6807\u8bed\u8a00\u3002\u66f4\u591a\u7ec6\u8282\u53c2\u8003\u56fd\u9645\u5316\u3002

\u4e1a\u52a1\u8def\u7531

\u5f53 Angular \u9879\u76ee\u6b63\u5f0f\u542f\u52a8\u540e\u4f1a\u8fdb\u5165\u6e32\u67d3\u52a8\u4f5c\uff0c\u6839\u636e\u5f53\u524d\u7684\u8def\u7531\u5730\u5740\u6765\u51b3\u5b9a\u4e00\u4e2a\u9875\u9762\u5982\u4f55\u6e32\u67d3\uff0c\u4ece\u6700\u9876\u5c42\u8def\u7531 routes-routing.module.ts \u5f00\u59cb\u4e00\u5c42\u5c42\u5bfb\u627e\uff0c\u5176\u7ed3\u6784\u5982\u4e0b\uff1a

const routes: Routes = [\n  {\n    path: \'\',\n    component: LayoutBasicComponent,\n    children: [\n      { path: \'\', redirectTo: \'dashboard\', pathMatch: \'full\' },\n      { path: \'dashboard\', component: DashboardComponent, data: { title: \'\u4eea\u8868\u76d8\' } },\n      // \u4e1a\u52a1\u5b50\u6a21\u5757\n      // { path: \'trade\', loadChildren: \'./trade/trade.module#TradeModule\' }\n    ]\n  },\n  // \u7a7a\u767d\u5e03\u5c40\n  {\n    path: \'blank\',\n    component: LayoutBlankComponent,\n    children: [\n    ]\n  },\n  // passport\n  {\n    path: \'passport\',\n    component: LayoutPassportComponent,\n    children: [\n      { path: \'login\', component: UserLoginComponent },\n    ]\n  },\n  // \u5355\u9875\u4e0d\u5305\u88f9Layout\n  { path: \'passport/callback/:type\', component: CallbackComponent },\n  { path: \'exception\', loadChildren: () => import(\'./exception/exception.module\').then((m) => m.ExceptionModule) },\n  // \u672a\u547d\u4e2d\u8def\u7531\u5168\u90e8\u8df3\u8f6c\u81f3 `exception/404` \u9875\u9762\u4e0a\n  { path: \'**\', redirectTo: \'exception/404\' },\n];

\u4e0a\u8ff0\u5728\u4e1a\u52a1\u6a21\u5757\u4e2d\u4f7f\u7528\u4e86 LayoutBasicComponent \u57fa\u7840\u5e03\u5c40\u3001\u7528\u6237\u6388\u6743\u4f7f\u7528\u4e86 LayoutPassportComponent \u7528\u6237\u6388\u6743\u5e03\u5c40\u4ee5\u53ca LayoutBlankComponent \u7a7a\u767d\u5e03\u5c40\uff0c\u4ee5\u4e0a\u4e09\u79cd\u5e03\u5c40\u90fd\u53ef\u4ee5\u5728 layout \u76ee\u5f55\u4e0b\u627e\u5f97\u5230\u3002

\u4f8b\u5982\u5f53\u7528\u6237\u8bbf\u95ee /dashboard \u8def\u7531\u65f6\uff0c\u4f1a\u5148\u7ecf\u8fc7 LayoutBasicComponent -> DashboardComponent\uff0c\u6700\u7ec8\u6362\u5f62\u6210\u4e00\u4e2a\u5e9e\u5927\u7684\u7ec4\u4ef6\u6811\u6765\u8868\u793a\u4e00\u4e2a\u5177\u4f53\u7684\u9875\u9762\u3002NG-ALAIN \u811a\u624b\u67b6\u5e2e\u52a9\u4f60\u5b8c\u6210\u5927\u591a\u6570\u5de5\u4f5c\uff0c\u800c\u4e00\u4e2a\u65b0\u5165\u95e8\u7684\u4eba\u66f4\u591a\u53ea\u9700\u8981\u5173\u5fc3 DashboardComponent \u4e1a\u52a1\u7ec4\u4ef6\u8be5\u5982\u4f55\u5b9e\u73b0\u3002

\u4ec0\u4e48\u60c5\u51b5\u4e0b\u4e0d\u4f7f\u7528\u61d2\u52a0\u8f7d\uff1f

Angular \u542f\u52a8\u662f\u4ece\u9876\u5c42\u7ec4\u4ef6\u5f00\u59cb\u5411\u4e0b\u6e32\u67d3\uff0c\u5f53\u9047\u5230\u61d2\u6a21\u5757\u65f6\u4f1a\u5148\u53d1\u8d77\u811a\u672c\u8bf7\u6c42\uff0c\u6b64\u65f6\u4f1a\u56e0\u4e3a\u7f51\u7edc\u8bf7\u6c42\u5bfc\u81f4\u4eea\u8868\u76d8\u6216\u767b\u5f55\u9875\u77ed\u6682\u7684\u7a7a\u767d\uff0c\u8fd9\u5bf9\u4f53\u9a8c\u5e76\u4e0d\u597d\u3002

\u7528\u6237\u8ba4\u8bc1\u4e0e\u6388\u6743

\u9875\u9762\u80fd\u5426\u8bbf\u95ee\u53d6\u51b3\u4e8e\u7528\u6237\u662f\u5426\u767b\u5f55\u3001\u5df2\u7ecf\u767b\u5f55\u8fd8\u5f97\u5224\u65ad\u5426\u6709\u6388\u6743\uff0c\u800c\u8fd9\u4e24\u9879\u5de5\u4f5c\u5206\u522b\u4ea4\u7ed9 @delon/auth \u4e0e @delon/acl \u6765\u5b8c\u6210\u3002

\u7528\u6237\u8ba4\u8bc1

\u9996\u5148\u7528\u6237\u8bbf\u95ee\u9875\u9762\u65f6\u662f\u7531\u9876\u5c42\u8def\u7531\u5f00\u59cb\u5bfb\u627e\u547d\u4e2d\u540e\u8fdb\u884c\u6e32\u67d3\uff0c\u8981\u60f3\u8ba9\u6240\u6709\u672a\u767b\u5f55\u7528\u6237\u8df3\u8f6c\u5230\u767b\u5f55\u9875\u9762\uff0c\u53ef\u4ee5\u914d\u7f6e canActivate \u9009\u9879\uff0c@delon/auth \u5df2\u7ecf\u63d0\u4f9b\u4e86\u5177\u4f53\u7684\u5b9e\u73b0\uff0c\u4f8b\u5982\uff1a

const routes: Routes = [\n  {\n    path: \'\',\n    component: LayoutBasicComponent,\n    canActivate: [authSimpleCanActivate],\n    children: [\n      { path: \'\', redirectTo: \'dashboard\', pathMatch: \'full\' },\n      { path: \'dashboard\', component: DashboardComponent, data: { title: \'\u4eea\u8868\u76d8\' } },\n    ]\n  },\n];

\u8fd9\u91cc\u7684 authSimpleCanActivate \u662f\u56e0\u4e3a\u91c7\u7528\u57fa\u4e8e Simple Web Token \u8ba4\u8bc1\u98ce\u683c\uff0c\u5176\u4ed6\u8ba4\u8bc1\u65b9\u5f0f\u8bf7\u53c2\u8003\u7528\u6237\u8ba4\u8bc1\u7ae0\u8282\u3002

\u5f53\u7528\u6237\u672a\u767b\u5f55\u65f6\u4f1a\u76f4\u63a5\u8df3\u8f6c\u81f3 /passport/login \u9875\u9762\uff0c\u5982\u679c\u91c7\u7528\u7684\u662f JWT \u8ba4\u8bc1\u65b9\u5f0f\uff0c\u8fd8\u4f1a\u5bf9 Token \u662f\u5426\u6709\u6548\u8fdb\u884c\u68c0\u9a8c\u3002

\u7528\u6237\u6388\u6743

\u63a5\u8005\u7528\u6237\u8bbf\u95ee\u7684\u9875\u9762\u8fd8\u9700\u8981\u53d6\u51b3\u4e8e\u6388\u6743\u7a0b\u5ea6\uff0c\u4f8b\u5982\u7cfb\u7edf\u914d\u7f6e\u9875\u666e\u901a\u7528\u6237\u80af\u5b9a\u65e0\u6cd5\u8fdb\u5165\u3002\u5728\u521d\u59cb\u5316\u9879\u76ee\u6570\u636e\u5c0f\u8282\u91cc\u4f1a\u6839\u636e\u5f53\u524d\u7528\u6237\u7684 Token \u6765\u83b7\u5f97\u6388\u6743\u7684\u6570\u636e\uff0c\u5e76\u5c06\u6570\u636e\u4ea4\u7ed9 @delon/acl\uff0c\u540c\u65f6\u5b83\u4e5f\u63d0\u4f9b\u4e00\u7ec4\u8def\u7531\u5b88\u536b\u7684\u5177\u4f53\u5b9e\u73b0 aclCanActivate \u65b9\u6cd5\uff0c\u4f8b\u5982\u5e0c\u671b\u6574\u4e2a\u7cfb\u7edf\u914d\u7f6e\u6a21\u5757\u90fd\u5fc5\u987b\u662f admin \u89d2\u8272\u624d\u80fd\u8bbf\u95ee\uff0c\u5219\uff1a

const routes: Routes = [\n  {\n    path: \'sys\',\n    canActivate: [aclCanActivate],\n    data: { guard: \'admin\' },\n    children: [\n      { path: \'config\', component: ConfigComponent },\n    ]\n  },\n];

\u6b64\u65f6\uff0c\u5f53\u4e00\u4e2a\u672a\u6388\u6743 admin \u89d2\u8272\u7684\u7528\u6237\u5c1d\u8bd5\u8bbf\u95ee /sys/config \u9875\u9762\u65f6\u4f1a\u88ab\u8df3\u8f6c\u81f3\u672a\u6388\u6743\u9519\u8bef\u9875\u4e0a\u3002

\u5f53\u7136\u8fd8\u652f\u6301\u7c92\u5ea6\u6709\u66f4\u7ec6\u64cd\u4f5c\uff0c\u6bd4\u5982\u67d0\u4e2a\u6309\u94ae\uff0c\u8bf7\u53c2\u8003ACL\u7ae0\u8282\u3002

\u62e6\u622a\u7f51\u7edc\u8bf7\u6c42

\u7f51\u7edc\u8bf7\u6c42\u662f\u4e00\u9879\u975e\u5e38\u9891\u7e41\u7684\u5de5\u4f5c\uff0c\u5982\u679c\u60f3\u4f18\u96c5\u7684\u5728\u4e1a\u52a1\u7ec4\u4ef6\u5185\u4f7f\u7528\u7f51\u7edc\u8bf7\u6c42\u52a8\u4f5c\u7684\u8bdd\uff0c\u90a3\u4e48\u5c06\u670d\u52a1\u7aefURL\u524d\u7f00\u3001\u5f02\u5e38\u5904\u7406\u3001Token \u5237\u65b0\u7b49\u64cd\u4f5c\u96c6\u4e2d\u5904\u7406\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\uff0cNG-ALAIN \u811a\u624b\u67b6\u63d0\u4f9b\u4e00\u4e2a default.interceptor.ts \u6587\u4ef6\u3002\u5b83\u4f1a\u5229\u7528\u4ee4\u724c HTTP_INTERCEPTORS \u8d77\u5230\u4e00\u79cd\u62e6\u622a\u5668\u7684\u6548\u679c\u3002

\u6709\u5173\u4ee5\u4e0a\u96c6\u4e2d\u5904\u7406\u7684\u52a8\u4f5c\u7ec6\u8282\uff0c\u8bf7\u53c2\u8003 default.interceptor.ts \u6587\u4ef6\u3002

IDE

\u201c\u5de5\u6b32\u5584\u5176\u4e8b\uff0c\u5fc5\u5148\u5229\u5176\u5668\u662f\u201d\uff0cNG-ALAIN \u811a\u624b\u67b6\u63a8\u8350\u4f7f\u7528 Visual Studio Code IDE\uff0c\u56e0\u4e3a NG-ALAIN \u9488\u5bf9 VSCode \u589e\u52a0\u4e00\u4e9b\u989d\u5916\u7684\u7279\u6027\uff0c\u53ef\u4ee5\u66f4\u597d\u7684\u5e2e\u52a9\u4f60\u5f00\u53d1\u3002

\u6216\u8005\u76f4\u63a5\u4f7f\u7528 NG-ALAIN Extension Pack \u5957\u4ef6\u3002

\u4ee3\u7801\u7247\u65ad

Class\u6837\u5f0f\u667a\u80fd\u63d0\u9192

ng-alain \u5185\u7f6e\u4e86\u5927\u91cf\u7684\u5de5\u5177\u96c6\u6837\u5f0f\uff08API\uff09\uff0c\u5b89\u88c5\u4ee5\u4e0b\u63d2\u4ef6\u53ef\u4ee5\u76f4\u63a5\u5728HTML\u6a21\u677f\u91cc\u76f4\u63a5\u8bbf\u95ee\u5230\u5b83\u4eec\u3002

',meta:{order:0,title:"\u5982\u4f55\u5f00\u59cb",type:"Dev",i18n:"need-update"},toc:[{id:"\u524d\u5e8f\u51c6\u5907",title:"\u524d\u5e8f\u51c6\u5907",h:2},{id:"\u5199\u5728\u524d\u9762",title:"\u5199\u5728\u524d\u9762",h:2},{id:"\u6d41\u7a0b",title:"\u6d41\u7a0b",h:2,children:[{id:"\u521d\u59cb\u5316\u9879\u76ee\u6570\u636e",title:"\u521d\u59cb\u5316\u9879\u76ee\u6570\u636e",h:3},{id:"\u4e1a\u52a1\u8def\u7531",title:"\u4e1a\u52a1\u8def\u7531",h:3},{id:"\u7528\u6237\u8ba4\u8bc1\u4e0e\u6388\u6743",title:"\u7528\u6237\u8ba4\u8bc1\u4e0e\u6388\u6743",h:3},{id:"\u62e6\u622a\u7f51\u7edc\u8bf7\u6c42",title:"\u62e6\u622a\u7f51\u7edc\u8bf7\u6c42",h:3}]},{id:"IDE",title:"IDE",h:2,children:[{id:"\u4ee3\u7801\u7247\u65ad",title:"\u4ee3\u7801\u7247\u65ad",h:3},{id:"Class\u6837\u5f0f\u667a\u80fd\u63d0\u9192",title:"Class\u6837\u5f0f\u667a\u80fd\u63d0\u9192",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-how-to-start"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"i18n",redirectTo:"i18n/zh",pathMatch:"full"},{path:"i18n/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/i18n.en-US.md","zh-CN":"docs/i18n.zh-CN.md"},content:{"en-US":{content:'

Angular internationalization provides a solution for extracting language files, but for NG-ALAIN, this is not the best way; this is mainly limited by @Delon/* The component library needs to provide a set of dynamic translation Service, therefore, NG-ALAIN has built-in a simple internationalized service ALAIN_I18N_TOKEN interface.

How to configure

Scaffolding is composed of two important parts: ng-zorro-antd and @delon/*. These two libraries have their own international configuration. When internationalizing, they need to be the same for these libraries. Language configuration.

Angular

Angular configuration is mainly for currency, date format, etc., such as Chinese version:

import { registerLocaleData } from \'@angular/common\';\nimport zh from \'@angular/common/locales/zh\';\nregisterLocaleData(zh);

ng-zorro-antd

ng-zorro-antd internationalization defaults to the Chinese version, for example the default English version:

import { en_US, provideNzI18n } from \'ng-zorro-antd/i18n\';\n@NgModule({\n  providers: [provideNzI18n(en_US)]\n})\nexport class App1Module {}

Of course, you can also use runtime changes:

import { en_US, NzI18nService } from \'ng-zorro-antd/i18n\';\n...\nconstructor(private nzI18nService:NzI18nService) {\n}\n\nswitchLanguage() {\n  this.nzI18nService.setLocale(en_US);\n}

@delon

@delon internationalization defaults to Chinese version, for example the default is English version:

import { DELON_LOCALE, en_US } from \'@delon/theme\';\n@NgModule({\n  ...\n  providers   : [ { provide: DELON_LOCALE, useValue: en_US } ]\n})\nexport class AppModule { }

Of course, you can also use runtime changes:

import { en_US, DelonLocaleService } from \'@delon/theme\';\n...\nconstructor(private delonLocaleService: DelonLocaleService) {\n}\n\nswitchLanguage() {\n  this.delonLocaleService.setLocale(en_US);\n}

ALAIN_I18N_TOKEN

@delon/* class library has many data interface properties with the i18n typeface (for example: page-header, st column description, Menu menu data, etc.) when you want the data for these components. When the interface can dynamically switch automatically according to the Key value in the current language, you also need to define a self-implementation service interface for ALAIN_I18N_TOKEN (for example: I18NService /master/src/app/core/i18n/i18n.service.ts)) and register under the root module.

import { ALAIN_I18N_TOKEN } from \'@delon/theme\';\nimport { I18NService } from \'@core\';\n\n@NgModule({\n  ...\n  providers: [\n    { provide: ALAIN_I18N_TOKEN, useClass: I18NService, multi: false }\n  ]\n})\nexport class AppModule {}

i18n pipe

In order not to be named by the third-party pipes, the scaffolding contains a i18n pipe, which is equivalent to calling the fanAIN method of ALAIN_I18N_TOKEN directly.

| i18n will not listen to language change notifications, so there will be better performance. When you explicitly re-render the Angular project after switching languages, | i18n will be more suitable.

How to add

When creating scaffolding from command line ng add ng-alain, it is allowed to specify --i18n to indicate whether the internationalized sample code is included.

How to delete

The sample code covers the following:

Default language

Regardless of whether internationalization is required or not, since the default languages \u200b\u200bof class libraries such as Angular, ng-zorro-antd, @delon/* are different, it is also necessary to ensure that the default language of these libraries is the same type. A simple example approach to understand the current language situation for each type of library:

import { Component } from \'@angular/core\';\n\n@Component({\n  selector: \'app-i18n-test\',\n  template: `\n  <h2>angular</h2>\n  <p>Date: {{now | date}}</p>\n  <h2>ng-zorro-antd</h2>\n  <nz-transfer [nzDataSource]="[]"></nz-transfer>\n  <h2>@delon</h2>\n  <div style="width: 200px">\n    <tag-select>\n      <nz-tag>1</nz-tag>\n    </tag-select>\n  </div>`,\n})\nexport class I18nTestComponent {\n  now = new Date();\n}

Example

In order to make language uniformity, NG-ALAIN provides a simple unified configuration in the AppModule root module.

Chinese Version

// #region i18n\nimport { default as ngLang } from \'@angular/common/locales/zh\';\nimport { provideNzI18n, zh_CN as zorroLang } from \'ng-zorro-antd/i18n\';\nimport { DELON_LOCALE, zh_CN as delonLang } from \'@delon/theme\';\nconst LANG = {\n  abbr: \'zh\',\n  ng: ngLang,\n  zorro: zorroLang,\n  delon: delonLang,\n};\n// register angular\nimport { registerLocaleData } from \'@angular/common\';\nregisterLocaleData(LANG.ng, LANG.abbr);\nconst LANG_PROVIDES = [\n  { provide: LOCALE_ID, useValue: LANG.abbr },\n  provideNzI18n(LANG.zorro),\n  { provide: DELON_LOCALE, useValue: LANG.delon },\n];\n// #endregion\n\n@NgModule({\n  providers: [...LANG_PROVIDES],\n})\nexport class AppModule {}

English version

// #region i18n\nimport { default as ngLang } from \'@angular/common/locales/en\';\nimport { provideNzI18n, en_US as zorroLang } from \'ng-zorro-antd/i18n\';\nimport { DELON_LOCALE, en_US as delonLang } from \'@delon/theme\';\nconst LANG = {\n  abbr: \'en\',\n  ng: ngLang,\n  zorro: zorroLang,\n  delon: delonLang,\n};\n// register angular\nimport { registerLocaleData } from \'@angular/common\';\nregisterLocaleData(LANG.ng, LANG.abbr);\nconst LANG_PROVIDES = [\n  { provide: LOCALE_ID, useValue: LANG.abbr },\n  provideNzI18n(LANG.zorro),\n  { provide: DELON_LOCALE, useValue: LANG.delon },\n];\n// #endregion\n\n@NgModule({\n  providers: [...LANG_PROVIDES],\n})\nexport class AppModule {}

Command Line

Use the defaultLanguage plugin to quickly switch between the default locales.

Internationalized routing

If you want to toggle internationalization by routed URLs, e.g. by accessing /zh and /en to change the language, just use the alainI18nCanActivate guard in the root route:

const routes: Route[] = [\n   {\n     path: \'\',\n     component: LayoutComponent,\n     canActivateChild: [alainI18nCanActivate],\n     children: [\n       { path: \'\', redirectTo: \'en\', pathMatch: \'full\' },\n       { path: \':i18n\', component: HomeComponent }\n     ]\n   }\n];

Where :i18n is a fixed value of the parameter, which can be adjusted by the Global Configuration paramNameOfUrlGuard.

',meta:{order:30,title:{"en-US":"I18n","zh-CN":"\u56fd\u9645\u5316"},type:"Advance"},toc:[{id:"Howtoconfigure",title:"How to configure",h:2,children:[{id:"Angular",title:"Angular",h:3},{id:"ng-zorro-antd",title:"ng-zorro-antd",h:3},{id:"@delon",title:"@delon",h:3}]},{id:"ALAIN_I18N_TOKEN",title:"ALAIN_I18N_TOKEN",h:2,children:[{id:"i18npipe",title:"i18n pipe",h:3}]},{id:"Howtoadd",title:"How to add",h:2},{id:"Howtodelete",title:"How to delete",h:2},{id:"Defaultlanguage",title:"Default language",h:2,children:[{id:"Example",title:"Example",h:3},{id:"CommandLine",title:"Command Line",h:3}]},{id:"Internationalizedrouting",title:"Internationalized routing",h:2}]},"zh-CN":{content:'

Angular \u56fd\u9645\u5316\u63d0\u4f9b\u4e00\u79cd\u53ef\u88ab\u63d0\u53d6\u8bed\u8a00\u6587\u4ef6\u7684\u65b9\u6848\uff0c\u4f46\u5bf9\u4e8e NG-ALAIN \u800c\u8a00\uff0c\u8fd9\u5e76\u4e0d\u662f\u6700\u597d\u7684\u65b9\u5f0f\uff1b\u8fd9\u4e3b\u8981\u53d7\u9650\u4e8e @Delon/* \u7ec4\u4ef6\u5e93\u9700\u8981\u63d0\u4f9b\u4e00\u5957\u5e26\u6709\u52a8\u6001\u7ffb\u8bd1\u7684\u670d\u52a1\uff0c\u56e0\u6b64\uff0cNG-ALAIN \u5185\u7f6e\u4e00\u4e2a\u7b80\u6613\u7684\u56fd\u9645\u5316\u670d\u52a1 ALAIN_I18N_TOKEN \u63a5\u53e3\u3002

\u5982\u4f55\u914d\u7f6e

\u811a\u624b\u67b6\u662f\u7531 ng-zorro-antd\u3001@delon/* \u7c7b\u5e93\u4e24\u4e2a\u91cd\u8981\u90e8\u5206\u7ec4\u4ef6\uff0c\u800c\u8fd9\u4e24\u4e2a\u7c7b\u5e93\u6709\u81ea\u5df1\u7684\u56fd\u9645\u5316\u914d\u7f6e\uff0c\u5f53\u8fdb\u884c\u56fd\u9645\u5316\u65f6\u9700\u8981\u5bf9\u8fd9\u4e9b\u7c7b\u5e93\u8fdb\u884c\u76f8\u540c\u8bed\u8a00\u7684\u914d\u7f6e\u3002

Angular

Angular \u914d\u7f6e\u4e3b\u8981\u662f\u9488\u5bf9\u8d27\u5e01\u3001\u65e5\u671f\u683c\u5f0f\u7b49\uff0c\u4f8b\u5982\u4e2d\u6587\u7248\u672c\uff1a

import { registerLocaleData } from \'@angular/common\';\nimport zh from \'@angular/common/locales/zh\';\nregisterLocaleData(zh);

ng-zorro-antd

NG-ZORRO \u56fd\u9645\u5316\u9ed8\u8ba4\u662f\u4e2d\u6587\u7248\uff0c\u4f8b\u5982\u9ed8\u8ba4\u4e3a\u82f1\u6587\u7248\u672c\uff1a

import { en_US, provideNzI18n } from \'ng-zorro-antd/i18n\';\n@NgModule({\n  providers: [provideNzI18n(en_US)]\n})\nexport class App1Module {}

\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u8fd0\u884c\u65f6\u66f4\u6539\uff1a

import { en_US, NzI18nService } from \'ng-zorro-antd/i18n\';\n...\nconstructor(private nzI18nService:NzI18nService) {\n}\n\nswitchLanguage() {\n  this.nzI18nService.setLocale(en_US);\n}

@delon

@delon \u56fd\u9645\u5316\u9ed8\u8ba4\u662f\u4e2d\u6587\u7248\uff0c\u4f8b\u5982\u9ed8\u8ba4\u4e3a\u82f1\u6587\u7248\u672c\uff1a

import { DELON_LOCALE, en_US } from \'@delon/theme\';\n@NgModule({\n  ...\n  providers   : [ { provide: DELON_LOCALE, useValue: en_US } ]\n})\nexport class AppModule { }

\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u8fd0\u884c\u65f6\u66f4\u6539\uff1a

import { en_US, DelonLocaleService } from \'@delon/theme\';\n...\nconstructor(private delonLocaleService: DelonLocaleService) {\n}\n\nswitchLanguage() {\n  this.delonLocaleService.setLocale(en_US);\n}

ALAIN_I18N_TOKEN

@delon/* \u7c7b\u5e93\u6709\u8bb8\u591a\u5e26\u6709 i18n \u5b57\u6837\u7684\u6570\u636e\u63a5\u53e3\u5c5e\u6027\uff08\u4f8b\u5982\uff1apage-header\u3001st \u5217\u63cf\u8ff0\u3001Menu \u83dc\u5355\u6570\u636e\u7b49\u7b49\uff09\uff0c\u5f53\u4f60\u5e0c\u671b\u8fd9\u4e9b\u7ec4\u4ef6\u7684\u6570\u636e\u63a5\u53e3\u80fd\u52a8\u6001\u6839\u636e Key \u503c\u6309\u5f53\u524d\u8bed\u8a00\u81ea\u52a8\u5207\u6362\u65f6\uff0c\u4f60\u8fd8\u9700\u8981\u5bf9 ALAIN_I18N_TOKEN \u5b9a\u4e49\u4e00\u4e2a\u81ea\u5b9e\u73b0\u670d\u52a1\u63a5\u53e3\uff08\u4f8b\u5982\uff1aI18NService\uff09\uff0c\u5e76\u5728\u6839\u6a21\u5757\u4e0b\u6ce8\u518c\u3002

import { ALAIN_I18N_TOKEN } from \'@delon/theme\';\nimport { I18NService } from \'@core\';\n\n@NgModule({\n  ...\n  providers: [\n    { provide: ALAIN_I18N_TOKEN, useClass: I18NService, multi: false }\n  ]\n})\nexport class AppModule {}

i18n\u7ba1\u9053

\u4e3a\u4e86\u4e0d\u53d7\u7b2c\u4e09\u65b9\u5404\u81ea\u7ba1\u9053\u7684\u547d\u540d\u65b9\u5f0f\uff0c\u811a\u624b\u67b6\u5305\u542b\u4e00\u4e2a i18n \u7684\u7ba1\u9053\uff0c\u5b83\u76f8\u5f53\u4e8e\u76f4\u63a5\u8c03\u7528 ALAIN_I18N_TOKEN \u7684 fanyi \u65b9\u6cd5\u3002

| i18n \u4e0d\u4f1a\u76d1\u542c\u8bed\u8a00\u53d8\u66f4\u901a\u77e5\u6240\u4ee5\u4f1a\u6709\u66f4\u597d\u7684\u6027\u80fd\uff0c\u5f53\u4f60\u660e\u786e\u5728\u5207\u6362\u8bed\u8a00\u540e\u4f1a\u91cd\u65b0\u6e32\u67d3 Angular \u9879\u76ee\u65f6 | i18n \u4f1a\u66f4\u9002\u5408\u3002

\u5982\u4f55\u6dfb\u52a0

\u521b\u5efa\u811a\u624b\u67b6\u547d\u4ee4\u884c ng add ng-alain \u65f6\u5141\u8bb8\u6307\u5b9a --i18n \u8868\u793a\u662f\u5426\u5305\u542b\u56fd\u9645\u5316\u793a\u4f8b\u4ee3\u7801\u3002

\u5982\u4f55\u5220\u9664

\u793a\u4f8b\u4ee3\u7801\u6d89\u53ca\u5185\u5bb9\u5305\u62ec\uff1a

  • src/app/core/i18n \u76ee\u5f55

  • \u66ff\u6362\u6389\u9ed8\u8ba4\u5e03\u5c40\u53ef\u80fd\u51fa\u73b0\u7684 I18n \u7684 Pipe \u4f7f\u7528 | i18n

\u9ed8\u8ba4\u8bed\u8a00

\u4e0d\u7ba1\u662f\u5426\u9700\u8981\u56fd\u9645\u5316\uff0c\u7531\u4e8e Angular\u3001ng-zorro-antd\u3001@delon/* \u7b49\u7c7b\u5e93\u7684\u9ed8\u8ba4\u8bed\u8a00\u90fd\u4e0d\u540c\uff0c\u56e0\u6b64\u8fd8\u9700\u8981\u786e\u4fdd\u8fd9\u4e9b\u7c7b\u5e93\u7684\u9ed8\u8ba4\u8bed\u8a00\u662f\u540c\u4e00\u7c7b\u578b\u3002\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u529e\u6cd5\u53ef\u4ee5\u4e86\u89e3\u5404\u7c7b\u5e93\u5f53\u524d\u8bed\u8a00\u60c5\u51b5\uff1a

import { Component } from \'@angular/core\';\n\n@Component({\n  selector: \'app-i18n-test\',\n  template: `\n  <h2>angular</h2>\n  <p>Date: {{now | date}}</p>\n  <h2>ng-zorro-antd</h2>\n  <nz-transfer [nzDataSource]="[]"></nz-transfer>\n  <h2>@delon</h2>\n  <div style="width: 200px">\n    <tag-select>\n      <nz-tag>1</nz-tag>\n    </tag-select>\n  </div>`,\n})\nexport class I18nTestComponent {\n  now = new Date();\n}

\u793a\u4f8b

\u4e3a\u4e86\u4f7f\u8bed\u8a00\u7edf\u4e00\u6027\uff0cNG-ALAIN \u63d0\u4f9b\u4e00\u4e2a\u5728 AppModule \u6839\u6a21\u5757\u91cc\u7b80\u5355\u7684\u7edf\u4e00\u914d\u7f6e\u65b9\u5f0f\u3002

\u4e2d\u6587\u7248

// #region i18n\nimport { default as ngLang } from \'@angular/common/locales/zh\';\nimport { provideNzI18n, zh_CN as zorroLang } from \'ng-zorro-antd/i18n\';\nimport { DELON_LOCALE, zh_CN as delonLang } from \'@delon/theme\';\nconst LANG = {\n  abbr: \'zh\',\n  ng: ngLang,\n  zorro: zorroLang,\n  delon: delonLang,\n};\n// register angular\nimport { registerLocaleData } from \'@angular/common\';\nregisterLocaleData(LANG.ng, LANG.abbr);\nconst LANG_PROVIDES = [\n  { provide: LOCALE_ID, useValue: LANG.abbr },\n  provideNzI18n(LANG.zorro),\n  { provide: DELON_LOCALE, useValue: LANG.delon },\n];\n// #endregion\n\n@NgModule({\n  providers: [...LANG_PROVIDES],\n})\nexport class AppModule {}

\u82f1\u6587\u7248

// #region i18n\nimport { default as ngLang } from \'@angular/common/locales/en\';\nimport { provideNzI18n, en_US as zorroLang } from \'ng-zorro-antd/i18n\';\nimport { DELON_LOCALE, en_US as delonLang } from \'@delon/theme\';\nconst LANG = {\n  abbr: \'en\',\n  ng: ngLang,\n  zorro: zorroLang,\n  delon: delonLang,\n};\n// register angular\nimport { registerLocaleData } from \'@angular/common\';\nregisterLocaleData(LANG.ng, LANG.abbr);\nconst LANG_PROVIDES = [\n  { provide: LOCALE_ID, useValue: LANG.abbr },\n  provideNzI18n(LANG.zorro),\n  { provide: DELON_LOCALE, useValue: LANG.delon },\n];\n// #endregion\n\n@NgModule({\n  providers: [...LANG_PROVIDES],\n})\nexport class AppModule {}

\u547d\u4ee4\u884c

\u4f7f\u7528 defaultLanguage \u63d2\u4ef6\u53ef\u4ee5\u5feb\u901f\u5207\u6362\u9ed8\u8ba4\u8bed\u8a00\u73af\u5883\u3002

\u56fd\u9645\u5316\u8def\u7531

\u82e5\u60f3\u901a\u8fc7\u8def\u7531\u7684URL\u6765\u5207\u6362\u56fd\u9645\u5316\uff0c\u4f8b\u5982\uff1a\u901a\u8fc7\u8bbf\u95ee /zh \u548c /en \u6765\u53d8\u66f4\u8bed\u8a00\uff0c\u5219\u53ea\u9700\u8981\u5728\u6839\u8def\u7531\u4e2d\u4f7f\u7528 alainI18nCanActivate \u5b88\u536b\uff1a

const routes: Route[] = [\n  {\n    path: \'\',\n    component: LayoutComponent,\n    canActivateChild: [alainI18nCanActivate],\n    children: [\n      { path: \'\', redirectTo: \'en\', pathMatch: \'full\' },\n      { path: \':i18n\', component: HomeComponent }\n    ]\n  }\n];

\u5176\u4e2d :i18n \u662f\u53c2\u6570\u56fa\u5b9a\u503c\uff0c\u53ef\u4ee5\u901a\u8fc7\u5168\u5c40\u914d\u7f6e paramNameOfUrlGuard \u6765\u8c03\u6574\u3002

',meta:{order:30,title:{"en-US":"I18n","zh-CN":"\u56fd\u9645\u5316"},type:"Advance"},toc:[{id:"\u5982\u4f55\u914d\u7f6e",title:"\u5982\u4f55\u914d\u7f6e",h:2,children:[{id:"Angular",title:"Angular",h:3},{id:"ng-zorro-antd",title:"ng-zorro-antd",h:3},{id:"@delon",title:"@delon",h:3}]},{id:"ALAIN_I18N_TOKEN",title:"ALAIN_I18N_TOKEN",h:2,children:[{id:"i18n\u7ba1\u9053",title:"i18n\u7ba1\u9053",h:3}]},{id:"\u5982\u4f55\u6dfb\u52a0",title:"\u5982\u4f55\u6dfb\u52a0",h:2},{id:"\u5982\u4f55\u5220\u9664",title:"\u5982\u4f55\u5220\u9664",h:2},{id:"\u9ed8\u8ba4\u8bed\u8a00",title:"\u9ed8\u8ba4\u8bed\u8a00",h:2,children:[{id:"\u793a\u4f8b",title:"\u793a\u4f8b",h:3},{id:"\u547d\u4ee4\u884c",title:"\u547d\u4ee4\u884c",h:3}]},{id:"\u56fd\u9645\u5316\u8def\u7531",title:"\u56fd\u9645\u5316\u8def\u7531",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-i18n"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"import",redirectTo:"import/zh",pathMatch:"full"},{path:"import/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/import.en-US.md","zh-CN":"docs/import.zh-CN.md"},content:{"en-US":{content:'

In addition to the NG-ALAIN base component and the @delon business component, sometimes we need to reference other external class libraries, the following is how to use the rich text component ngx-tinymce:

Angular Component

Installing dependencies

yarn add ngx-tinymce

Import module

You may need to use rich editor in all submodules, as it\'s recommended to import and export them in the SharedModule module.

// #region third libs\nimport { NgxTinymceModule } from \'ngx-tinymce\';\nconst THIRDMODULES = [ NgxTinymceModule ];\n// #endregion

The region: third libs region is a coding convention for NG-ALAIN, register all third-party components into the THIRDMODULES variable, for more coding conventions, refer to Style Guide.

For some third-party components, may be required global configuration. It\'s recommended to register in the root module, for example:

import { NgxTinymceModule } from \'ngx-tinymce\';\n@NgModule({\n  imports: [\n    BrowserModule,\n    NgxTinymceModule.forRoot({\n      baseURL: \'//cdn.bootcss.com/tinymce/4.7.13/\'\n    })\n  ]\n})\nexport class AppModule { }

Next you can use ngx-tinymce in any submodule:

<tinymce [(ngModel)]="html"></tinymce>

Non-Angular Component

Referencing a non-Angular component is actually loading a JavaScript class library file, such as the QR code library qrious:

Installing dependencies

yarn add qrious

Import Scripts

Add qrious.min.js to the scripts node in angular.json:

"scripts": [\n  "node_modules/qrious/dist/qrious.min.js"\n]

If the third-party library requires additional styles, you also need to add a path to styles.

Note: You need to re-run ng s.

Lazy loading script

The above import script method will package the code directly into scripts.js, which will cause the scripts.js to become larger. NG-ALAIN provides another delayed loading CDN library script solution for low-usage services. (Example: zip compression), you can use LazyService to delay loading remote CDN scripts.

How to use

Angular is using TypeScript language, and all types must be clearly defined to be used. For details, please refer to Angular How to use third-party libraries.

A sample code for the call:

declare var QRious: any;\n\n@Component()\nexport class DEMOComponent {\n  constructor() {\n    const qr = new QRious();\n  }\n}',meta:{order:60,title:"Use a third-party lib",type:"Dev"},toc:[{id:"AngularComponent",title:"Angular Component",h:2,children:[{id:"Installingdependencies",title:"Installing dependencies",h:3},{id:"Importmodule",title:"Import module",h:3}]},{id:"Non-AngularComponent",title:"Non-Angular Component",h:2,children:[{id:"Installingdependencies",title:"Installing dependencies",h:3},{id:"ImportScripts",title:"Import Scripts",h:3},{id:"Howtouse",title:"How to use",h:3}]}]},"zh-CN":{content:'

\u9664\u4e86 NG-ZORRO \u57fa\u7840\u7ec4\u4ef6\u4ee5\u53ca @delon \u4e1a\u52a1\u7ec4\u4ef6\u4ee5\u5916\uff0c\u6709\u65f6\u6211\u4eec\u8fd8\u9700\u8981\u5f15\u7528\u5176\u4ed6\u5916\u90e8\u7c7b\u5e93\uff0c\u4ee5\u4e0b\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5bcc\u6587\u672c\u7ec4\u4ef6 ngx-tinymce\uff1a

Angular\u7ec4\u4ef6

\u5b89\u88c5\u4f9d\u8d56\u5305

yarn add ngx-tinymce

\u6ce8\u518c

\u50cf\u5bcc\u6587\u672c\u6846\u4f60\u53ef\u80fd\u9700\u8981\u5728\u6240\u6709\u5b50\u6a21\u5757\u4e2d\u90fd\u4f1a\u53ef\u80fd\u4f1a\u7528\u5230\uff0c\u56e0\u4e3a\u5efa\u8bae\u5728 SharedModule \u6a21\u5757\u4e2d\u5bfc\u5165\u548c\u5bfc\u51fa\u4ed6\u3002

// #region third libs\nimport { NgxTinymceModule } from \'ngx-tinymce\';\nconst THIRDMODULES = [ NgxTinymceModule ];\n// #endregion

region: third libs \u533a\u57df\u662fNG-ALAIN\u7684\u4e00\u4e2a\u7f16\u7801\u7ea6\u5b9a\uff0c\u5c06\u6240\u6709\u7b2c\u4e09\u65b9\u7ec4\u4ef6\u6ce8\u518c\u81f3 THIRDMODULES \u53d8\u91cf\u4e2d\u5373\u53ef\uff0c\u800c\u65e0\u987b\u5173\u5fc3 @NgModule \u5185\u5728\u7684\u5199\u6cd5\uff0c\u6709\u5173\u66f4\u591a\u7f16\u7801\u7ea6\u5b9a\u53ef\u4ee5\u53c2\u8003\u7f16\u7801\u89c4\u8303\u5efa\u8bae\u3002

\u5bf9\u4e8e\u90e8\u5206\u7b2c\u4e09\u65b9\u7ec4\u4ef6\uff0c\u53ef\u80fd\u4f1a\u9700\u8981\u4e00\u4e9b\u914d\u7f6e\u9879\uff0c\u5efa\u8bae\u5728\u6839\u6a21\u5757\u4e2d\u6ce8\u518c\uff0c\u4f8b\u5982\uff1a

import { NgxTinymceModule } from \'ngx-tinymce\';\n@NgModule({\n  imports: [\n    BrowserModule,\n    NgxTinymceModule.forRoot({\n      baseURL: \'//cdn.bootcss.com/tinymce/4.7.13/\'\n    })\n  ]\n})\nexport class AppModule { }

\u63a5\u4e0b\u6765\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u5b50\u6a21\u5757\u4e2d\u4f7f\u7528 ngx-tinymce\uff1a

<tinymce [(ngModel)]="html"></tinymce>

\u975eAngular\u7ec4\u4ef6

\u5f15\u7528\u4e00\u4e2a\u975e Angular \u7ec4\u4ef6\u5b9e\u9645\u4e0a\u662f\u4e00\u4e2a JavaScript \u7c7b\u5e93\uff0c\u4f8b\u5982\u4e8c\u7ef4\u7801\u7c7b\u5e93 qrious\uff0c\u8fd9\u662f\u4e00\u4e2a\u7eaf\u6d01\u7684 JavaScript \u7c7b\u5e93\uff08\u5efa\u8bae\u5c3d\u53ef\u80fd\u4f7f\u7528\u7eaf\u6d01\u7c7b\u5e93\u800c\u975e\u5e26\u6709\u4f9d\u8d56\u5176\u4ed6\uff09\u3002

\u5b89\u88c5\u4f9d\u8d56\u5305

yarn add qrious

\u5bfc\u5165\u811a\u672c

\u5728 angular.json \u627e\u5230 scripts \u8282\u70b9\u5e76\u589e\u52a0\uff1a

"scripts": [\n  "node_modules/qrious/dist/qrious.min.js"\n]

\u5982\u679c\u7b2c\u4e09\u65b9\u7c7b\u5e93\u9700\u8981\u989d\u5916\u7684\u6837\u5f0f\uff0c\u8fd8\u9700\u8981\u5728 styles \u589e\u52a0\u8def\u5f84\u3002

\u6ce8\u610f\uff1a\u9700\u8981\u91cd\u65b0\u8fd0\u884c ng s \u624d\u4f1a\u751f\u6548\u3002

\u5ef6\u8fdf\u52a0\u8f7d\u811a\u672c

\u4e0a\u8ff0\u5bfc\u5165\u811a\u672c\u65b9\u5f0f\u4f1a\u628a\u4ee3\u7801\u76f4\u63a5\u6253\u5305\u8fdb scripts.js\uff0c\u8fd9\u4f1a\u5bfc\u81f4 scripts.js \u4f53\u79ef\u53d8\u5927\uff0cNG-ALAIN \u63d0\u4f9b\u53e6\u4e00\u79cd\u5ef6\u8fdf\u52a0\u8f7dCDN\u7c7b\u5e93\u811a\u672c\u89e3\u51b3\u65b9\u6848\uff0c\u9002\u7528\u4f4e\u4f7f\u7528\u7387\u7684\u4e1a\u52a1\uff08\u4f8b\u5982\uff1azip \u538b\u7f29\uff09\uff0c\u53ef\u4ee5\u5229\u7528 LazyService \u5ef6\u8fdf\u52a0\u8f7d\u8fdc\u7a0bCDN\u811a\u672c\u3002

\u4f7f\u7528

Angular \u662f\u91c7\u7528 TypeScript \u8bed\u8a00\uff0c\u6240\u6709\u7c7b\u578b\u90fd\u5fc5\u987b\u660e\u786e\u5b9a\u4e49\u624d\u80fd\u4f7f\u7528\uff0c\u7ec6\u8282\u8bf7\u53c2\u8003 Angular \u5982\u4f55\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u3002

\u4e00\u4e2a\u8c03\u7528\u7684\u793a\u4f8b\u4ee3\u7801\uff1a

declare var QRious: any;\n\n@Component()\nexport class DEMOComponent {\n  constructor() {\n    const qr = new QRious();\n  }\n}',meta:{order:60,title:"\u4f7f\u7528\u7b2c\u4e09\u65b9\u7c7b\u5e93",type:"Dev"},toc:[{id:"Angular\u7ec4\u4ef6",title:"Angular\u7ec4\u4ef6",h:2,children:[{id:"\u5b89\u88c5\u4f9d\u8d56\u5305",title:"\u5b89\u88c5\u4f9d\u8d56\u5305",h:3},{id:"\u6ce8\u518c",title:"\u6ce8\u518c",h:3}]},{id:"\u975eAngular\u7ec4\u4ef6",title:"\u975eAngular\u7ec4\u4ef6",h:2,children:[{id:"\u5b89\u88c5\u4f9d\u8d56\u5305",title:"\u5b89\u88c5\u4f9d\u8d56\u5305",h:3},{id:"\u5bfc\u5165\u811a\u672c",title:"\u5bfc\u5165\u811a\u672c",h:3},{id:"\u4f7f\u7528",title:"\u4f7f\u7528",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-import"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"mock",redirectTo:"mock/zh",pathMatch:"full"},{path:"mock/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/mock.md"},content:{"zh-CN":{content:'
',meta:{order:60,title:"Mock",type:"Advance",url:"/mock/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-mock"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"module",redirectTo:"module/zh",pathMatch:"full"},{path:"module/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/module.en-US.md","zh-CN":"docs/module.zh-CN.md"},content:{"en-US":{content:'

The AppModule, CoreModule, and SharedModule modules have not been used very clearly, and it is easy to use them. The goal of the Angular module is to make components, instructions, services, and pipeline function blocks more cohesive, and each functional area forms a separate set of business domains or utilities.

1) Classification description


AppModule

The root module is used to guide Angular startup. It is very suitable for importing some modules that need to be used everywhere in the application. Such as: theme system, user master authentication module, permission module, global HTTP interceptors, international services, etc..

CoreModule

The core module will only be imported once. It is equivalent to AppModule, but we should treat it as a pure service class module. For example: message, data access, etc.

SharedModule

We call it a shared module. It should not have providers because ShareModule will be imported in all business modules. Which will cause the service to be overwritten.

NG-ZORRO, @delon/abc, @delon/chart, etc. have changed from all import to on-demand import since version 11. For this reason, NG-ALAIN has refined two files shared-delon.module.ts and shared -zorro.module.ts merges some modules frequently used throughout the project into a module called SharedModule, which is why it is necessary to import it in the business module for the first time. Although this method can reduce unnecessary import code, it will also cause compilation speed. Therefore, it is not recommended to put all components into SharedModule, and try to put the modules that need to be used more than three times before putting them here; Otherwise, you must import it yourself in the business module.

2) Recommendation


AppModule

Should import module:

  • Angular Module: BrowserModule, BrowserAnimationsModule, HttpClientModule

  • AlainThemeModule Theme system

  • DelonMockModule Mock data

  • AlainAuthModule User authentication module

  • AlainACLModule Privilege module

  • Internationalization module

Should include services:

  • Angular globalization

  • HTTP interceptor

  • Angular start service

  • ng-zorro-antd Basic component service

  • @delon/abc Business component service

Role: Throughout the definition of the entire application.


CoreModule

Should only leave the providers attribute.

Role: Some common services. such as: user messages, HTTP data access.


ShareModule

Should contain definitions:

  • Apply generic custom business components

Should import module:

  • Angular generic module:CommonModule\u3001FormsModule\u3001RouterModule\u3001ReactiveFormsModule

  • ng-zorro-antd Basic component module

  • @delon/abc Business component module

  • Third-party generic dependency component module

Should Export all included modules.

Should not have providers attribute.

Function: Some common custom, third-party component definitions, reducing the import of business modules.


Business module

The business module should include a business definition module and a routing module.

Should import module:

Should not:

  • Export any component

  • Try not to use the providers attribute

Route module

Should include only the import, exports modules of the r

',meta:{order:30,title:{"en-US":"Module Guidelines","zh-CN":"\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219"},type:"Other"},toc:[{id:"1Classificationdescription",title:"1) Classification description",h:2,children:[{id:"AppModule",title:"AppModule",h:3},{id:"CoreModule",title:"CoreModule",h:3},{id:"SharedModule",title:"SharedModule",h:3}]},{id:"2Recommendation",title:"2) Recommendation",h:2,children:[{id:"AppModule",title:"AppModule",h:3},{id:"CoreModule",title:"CoreModule",h:3},{id:"ShareModule",title:"ShareModule",h:3},{id:"Businessmodule",title:"Business module",h:3}]}]},"zh-CN":{content:'

\u4e00\u76f4\u4ee5\u6765 AppModule\u3001CoreModule\u3001SharedModule \u6a21\u5757\u4f7f\u7528\u6ca1\u6709\u5f88\u660e\u786e\u7684\u89c4\u8303\uff0c\u5f88\u5bb9\u6613\u8ba9\u4ea7\u751f\u4e71\u7528\u3002Angular\u6a21\u5757\u76ee\u6807\u662f\u4e3a\u4e86\u4f7f\u7ec4\u4ef6\u3001\u6307\u4ee4\u3001\u670d\u52a1\u548c\u7ba1\u9053\u529f\u80fd\u5757\u66f4\u5185\u805a\uff0c\u5e76\u6bcf\u4e00\u4e2a\u529f\u80fd\u533a\u57df\u5f62\u6210\u72ec\u7acb\u7684\u4e1a\u52a1\u9886\u57df\u6216\u5b9e\u7528\u5de5\u5177\u7684\u96c6\u5408\u3002

1) \u5206\u7c7b\u8bf4\u660e


AppModule

\u6839\u6a21\u5757\uff0c\u7528\u4e8e\u5f15\u5bfc Angular \u542f\u52a8\uff1b\u5b83\u975e\u5e38\u9002\u5408\u5bfc\u5165\u4e00\u4e9b\u9700\u8981\u5728\u6574\u4e2a\u5e94\u7528\u5230\u5904\u9700\u8981\u7684\u6a21\u5757\uff0c\u4f8b\u5982\uff1a\u4e3b\u9898\u7cfb\u7edf\u3001\u7528\u6237\u4e3b\u8ba4\u8bc1\u6a21\u5757\u3001\u6743\u9650\u6a21\u5757\u7b49\u6a21\u5757\uff0c\u4ee5\u53ca\u4e00\u4e9b\u5168\u5c40\u6027HTTP\u62e6\u622a\u5668\u3001\u56fd\u9645\u5316\u670d\u52a1\u7b49\u3002

CoreModule

\u6838\u5fc3\u6a21\u5757\u53ea\u4f1a\u88ab\u5bfc\u5165\u4e00\u6b21\uff0c\u5b83\u7b49\u540c AppModule\uff0c\u4f46\u6211\u4eec\u66f4\u5e94\u8be5\u628a\u5b83\u5f53\u6210\u4e00\u4e2a\u7eaf\u670d\u52a1\u7c7b\u6a21\u5757\uff0c\u4f8b\u5982\uff1a\u6d88\u606f\u3001\u6570\u636e\u8bbf\u95ee\u7b49\u3002

SharedModule

\u6211\u4eec\u53eb\u5b83\u5171\u4eab\u6a21\u5757\uff1b\u5b83\u4e0d\u5e94\u8be5\u51fa\u73b0 providers\uff0c\u56e0\u4e3a ShareModule \u4f1a\u5728\u6240\u6709\u4e1a\u52a1\u6a21\u5757\u4e2d\u88ab\u5bfc\u5165\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u670d\u52a1\u88ab\u8986\u76d6\u3002

NG-ZORRO\u3001@delon/abc\u3001@delon/chart \u7b49\u4ece\u7248\u672c11\u5f00\u59cb\u7531\u4e00\u6b21\u6027\u5bfc\u5165\u6539\u6210\u6309\u9700\u5bfc\u5165\uff0c\u4e3a\u6b64 NG-ALAIN \u63d0\u70bc\u4e86\u4e24\u4e2a\u6587\u4ef6 shared-delon.module.ts\u3001shared-zorro.module.ts \u5c06\u4e00\u4e9b\u6574\u4e2a\u9879\u76ee\u7ecf\u5e38\u7528\u5230\u7684\u6a21\u5757\u5408\u5e76\u6210\u4e00\u4e2a\u53eb SharedModule \u6a21\u5757\u5185\uff0c\u8fd9\u4e5f\u5c31\u662f\u4e3a\u4ec0\u4e48\u9700\u8981\u5728\u4e1a\u52a1\u6a21\u5757\u5185\u7b2c\u4e00\u65f6\u95f4\u5bfc\u5165\u5b83\u3002\u867d\u7136\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u5bfc\u5165\u4ee3\u7801\uff0c\u4f46\u540c\u65f6\u4e5f\u4f1a\u5f15\u8d77\u7f16\u8bd1\u901f\u5ea6\uff0c\u56e0\u6b64\u4e0d\u5efa\u8bae\u628a\u6240\u6709\u7ec4\u4ef6\u90fd\u653e\u8fdb SharedModule \u5185\uff0c\u5c3d\u53ef\u80fd\u5c06\u9700\u8981\u7528\u5230\u7684\u6a21\u5757\u4e09\u6b21\u4ee5\u4e0a\u4f7f\u7528\u624d\u653e\u8fdb\u8fd9\u91cc\uff1b\u5426\u5219\u52a1\u5fc5\u5728\u4e1a\u52a1\u6a21\u5757\u5185\u81ea\u884c\u5bfc\u5165\u3002

2) \u5efa\u8bae


AppModule

\u5e94 \u5bfc\u5165\u6a21\u5757\uff1a

  • Angular \u6a21\u5757\uff1aBrowserModule\u3001BrowserAnimationsModule\u3001HttpClientModule

  • AlainThemeModule \u4e3b\u9898\u7cfb\u7edf

  • DelonMockModule Mock\u6570\u636e

  • AlainAuthModule \u7528\u6237\u8ba4\u8bc1\u6a21\u5757

  • AlainACLModule \u6743\u9650\u6a21\u5757

  • \u56fd\u9645\u5316\u6a21\u5757

\u5e94 \u5305\u542b\u670d\u52a1\uff1a

  • Angular \u56fd\u9645\u5316

  • HTTP \u62e6\u622a\u5668

  • Angular \u542f\u52a8\u670d\u52a1

  • ng-zorro-antd \u57fa\u7840\u7ec4\u4ef6\u670d\u52a1

  • @delon/abc \u4e1a\u52a1\u7ec4\u4ef6\u670d\u52a1

\u4f5c\u7528\uff1a \u8d2f\u7a7f\u6574\u4e2a\u5e94\u7528\u7684\u5b9a\u4e49\u3002


CoreModule

\u5e94 \u4ec5\u53ea\u7559 providers \u5c5e\u6027\u3002

\u4f5c\u7528\uff1a \u4e00\u4e9b\u901a\u7528\u670d\u52a1\uff0c\u4f8b\u5982\uff1a\u7528\u6237\u6d88\u606f\u3001HTTP\u6570\u636e\u8bbf\u95ee\u3002


ShareModule

\u5e94 \u5305\u542b\u5b9a\u4e49\uff1a

  • \u5e94\u7528\u901a\u7528\u81ea\u5b9a\u4e49\u4e1a\u52a1\u7ec4\u4ef6

\u5e94 \u5bfc\u5165\u6a21\u5757\uff1a

  • Angular \u901a\u7528\u6a21\u5757\uff1aCommonModule\u3001FormsModule\u3001RouterModule\u3001ReactiveFormsModule

  • ng-zorro-antd \u57fa\u7840\u7ec4\u4ef6\u6a21\u5757

  • @delon/abc \u4e1a\u52a1\u7ec4\u4ef6\u6a21\u5757

  • \u7b2c\u4e09\u65b9\u901a\u7528\u4f9d\u8d56\u7ec4\u4ef6\u6a21\u5757

\u5e94 \u5bfc\u51fa\u6240\u6709\u5305\u542b\u7684\u6a21\u5757\u3002

\u4e0d\u5e94 \u6709 providers \u5c5e\u6027\u3002

\u4f5c\u7528\uff1a \u4e00\u4e9b\u901a\u7528\u81ea\u5b9a\u4e49\u3001\u7b2c\u4e09\u65b9\u7ec4\u4ef6\u5b9a\u4e49\uff0c\u51cf\u5c11\u4e1a\u52a1\u6a21\u5757\u7684\u5bfc\u5165\u3002


\u4e1a\u52a1\u6a21\u5757

\u4e1a\u52a1\u6a21\u5757\u5e94\u8be5\u5305\u62ec\u4e1a\u52a1\u5b9a\u4e49\u6a21\u5757\u548c\u8def\u7531\u6a21\u5757\u3002

\u6a21\u5757

\u5e94 \u5bfc\u5165\u6a21\u5757\uff1a

\u4e0d\u5e94\uff1a

  • \u5bfc\u51fa\u4efb\u4f55\u7ec4\u4ef6

  • \u5c3d\u53ef\u80fd\u4e0d\u8981\u4f7f\u7528 providers \u5c5e\u6027

\u8def\u7531\u6a21\u5757

\u5e94 \u53ea\u5305\u62ec\u8def\u7531\u7684 import\u3001exports',meta:{order:30,title:{"en-US":"Module Guidelines","zh-CN":"\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219"},type:"Other"},toc:[{id:"1\u5206\u7c7b\u8bf4\u660e",title:"1) \u5206\u7c7b\u8bf4\u660e",h:2,children:[{id:"AppModule",title:"AppModule",h:3},{id:"CoreModule",title:"CoreModule",h:3},{id:"SharedModule",title:"SharedModule",h:3}]},{id:"2\u5efa\u8bae",title:"2) \u5efa\u8bae",h:2,children:[{id:"AppModule",title:"AppModule",h:3},{id:"CoreModule",title:"CoreModule",h:3},{id:"ShareModule",title:"ShareModule",h:3},{id:"\u4e1a\u52a1\u6a21\u5757",title:"\u4e1a\u52a1\u6a21\u5757",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-module"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"new-component",redirectTo:"new-component/zh",pathMatch:"full"},{path:"new-component/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/new-component.en-US.md","zh-CN":"docs/new-component.zh-CN.md"},content:{"en-US":{content:'

For some functional modules that may be referenced in multiple places, it is recommended to refine the management into unified management of business components. These components generally have the following characteristics:

  • Only responsible for a relatively independent, stable function;

  • no separate routing configuration;

  • May be purely static, controlled only by parameters passed by the parent component (usually a page).

Let\'s take a simple static component as an example. Suppose your app often needs to display images. These images are fixed in width, have a gray background and a certain padding, and have text descriptions, like the following:

You can do this with a component that has a default style and can receive the parameters passed by the parent component for display.

Create a new file

Create a new folder named components under src/app/shared. Create folder called image-wrapper and component file. If required add ts files index.ts and style files index.less. Provide README.md for component API descriptions in this folder.

When using components, the default is to look for the export object in index.ts. If your component is more complex, you can split it into multiple files, and finally unify the export in index.ts, like this:

// main.component.ts\nexport class MainComponent {}\n\n// sub.component.ts\nexport class SubComponent {}\n\n// index.ts\nexport MainComponent from \'./main.component\';\nexport SubComponent from \'./sub.component\';

Your code is probably like this:

// index.ts\nimport { Component, Input } from \'@angular/core\';\n\n@Component({\n  selector: \'image-wrapper\',\n  template: `\n    <div [ngStyle]="style">\n      <img class="img" [src]="src" [alt]="desc" />\n      <div *ngIf="desc" class="desc">{{ desc }}</div>\n    </div>\n  `,\n  styleUrls: [ \'./index.less\' ]\n})\nexport class ImageWrapperComponent {\n  @Input() style: { [key: string]: string };\n  @Input() src: string;\n  @Input() desc: string;\n}
// index.less\n:host {\n  width: 400px;\n  margin: 0 auto;\n  padding: 0 20px 8px;\n  text-align: center;\n  background: #f2f4f5;\n\n  ::ng-deep {\n    .img {\n      max-width: calc(100% - 32px);\n      margin: 2.4em 1em;\n      vertical-align: middle;\n      box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35);\n    }\n  }\n}

The components are built here, to learn more about the development of component styles.

Register

Once the component is created, you need to import the component into SharedModule so that all submodules can use it.

// shared.module.ts\nimport { ImageWrapperComponent } from \'./image-wrapper\';\nconst COMPONENTS = [\n  ImageWrapperComponent\n];

Use

Where you want to use this component, just follow the component-defined API input parameters and use it directly:

<image-wrapper\n  src="https://os.alipayobjects.com/rmsportal/mgesTPFxodmIwpi.png"\n  desc="schematic-diagram"></image-wrapper>',meta:{order:20,title:{"en-US":"New Component","zh-CN":"\u65b0\u589e\u4e1a\u52a1\u7ec4\u4ef6"},type:"Dev"},toc:[{id:"Createanewfile",title:"Create a new file",h:2},{id:"Register",title:"Register",h:2},{id:"Use",title:"Use",h:2}]},"zh-CN":{content:'

\u5bf9\u4e8e\u4e00\u4e9b\u53ef\u80fd\u88ab\u591a\u5904\u5f15\u7528\u7684\u529f\u80fd\u6a21\u5757\uff0c\u5efa\u8bae\u63d0\u70bc\u6210\u4e1a\u52a1\u7ec4\u4ef6\u7edf\u4e00\u7ba1\u7406\u3002\u8fd9\u4e9b\u7ec4\u4ef6\u4e00\u822c\u6709\u4ee5\u4e0b\u7279\u5f81\uff1a

  • \u53ea\u8d1f\u8d23\u4e00\u5757\u76f8\u5bf9\u72ec\u7acb\uff0c\u7a33\u5b9a\u7684\u529f\u80fd\uff1b

  • \u6ca1\u6709\u5355\u72ec\u7684\u8def\u7531\u914d\u7f6e\uff1b

  • \u53ef\u80fd\u662f\u7eaf\u9759\u6001\u7684\uff0c\u4ec5\u53d7\u7236\u7ec4\u4ef6\uff08\u901a\u5e38\u662f\u4e00\u4e2a\u9875\u9762\uff09\u4f20\u9012\u7684\u53c2\u6570\u63a7\u5236\u3002

\u4e0b\u9762\u4ee5\u4e00\u4e2a\u7b80\u5355\u7684\u9759\u6001\u7ec4\u4ef6\u4e3a\u4f8b\u8fdb\u884c\u4ecb\u7ecd\u3002\u5047\u8bbe\u4f60\u7684\u5e94\u7528\u4e2d\u7ecf\u5e38\u9700\u8981\u5c55\u73b0\u56fe\u7247\uff0c\u8fd9\u4e9b\u56fe\u7247\u5bbd\u5ea6\u56fa\u5b9a\uff0c\u6709\u4e00\u4e2a\u7070\u8272\u7684\u80cc\u666f\u548c\u4e00\u5b9a\u7684\u5185\u8fb9\u8ddd\uff0c\u6709\u6587\u5b57\u4ecb\u7ecd\uff0c\u5c31\u50cf\u4e0b\u56fe\u8fd9\u6837\uff1a

\u4f60\u53ef\u4ee5\u7528\u4e00\u4e2a\u7ec4\u4ef6\u6765\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\uff0c\u5b83\u6709\u9ed8\u8ba4\u7684\u6837\u5f0f\uff0c\u540c\u65f6\u53ef\u4ee5\u63a5\u6536\u7236\u7ec4\u4ef6\u4f20\u9012\u7684\u53c2\u6570\u8fdb\u884c\u5c55\u793a\u3002

\u65b0\u5efa\u6587\u4ef6

\u5728 src/app/shared/components \u4e0b\u65b0\u5efa\u4e00\u4e2a\u4ee5\u7ec4\u4ef6\u540d\u547d\u540d\u7684\u6587\u4ef6\u5939\uff0c\u547d\u540d\u5c3d\u91cf\u4f53\u73b0\u7ec4\u4ef6\u7684\u529f\u80fd\uff0c\u8fd9\u91cc\u5c31\u53eb image-wrapper\u3002\u5728\u6b64\u6587\u4ef6\u5939\u4e0b\u65b0\u589e ts \u6587\u4ef6\u3001\u6837\u5f0f\u6587\u4ef6\uff08\u5982\u679c\u9700\u8981\uff09\u53ca\u7ec4\u4ef6API\u8bf4\u660e\uff0c\u547d\u540d\u4e3a index.ts\u3001index.less\u548cREADME.md\u3002

\u5728\u4f7f\u7528\u7ec4\u4ef6\u65f6\uff0c\u9ed8\u8ba4\u4f1a\u5728 index.ts \u4e2d\u5bfb\u627e export \u7684\u5bf9\u8c61\uff0c\u5982\u679c\u4f60\u7684\u7ec4\u4ef6\u6bd4\u8f83\u590d\u6742\uff0c\u53ef\u4ee5\u5206\u4e3a\u591a\u4e2a\u6587\u4ef6\uff0c\u6700\u540e\u5728 index.ts \u4e2d\u7edf\u4e00 export\uff0c\u5c31\u50cf\u8fd9\u6837\uff1a

// main.component.ts\nexport class MainComponent {}\n\n// sub.component.ts\nexport class SubComponent {}\n\n// index.ts\nexport MainComponent from \'./main.component\';\nexport SubComponent from \'./sub.component\';

\u4f60\u7684\u4ee3\u7801\u5927\u6982\u662f\u8fd9\u4e2a\u6837\u5b50\uff1a

// index.ts\nimport { Component, Input } from \'@angular/core\';\n\n@Component({\n  selector: \'image-wrapper\',\n  template: `\n    <div [ngStyle]="style">\n      <img class="img" [src]="src" [alt]="desc" />\n      <div *ngIf="desc" class="desc">{{ desc }}</div>\n    </div>\n  `,\n  styleUrls: [ \'./index.less\' ]\n})\nexport class ImageWrapperComponent {\n  @Input() style: { [key: string]: string };\n  @Input() src: string;\n  @Input() desc: string;\n}
// index.less\n:host {\n  width: 400px;\n  margin: 0 auto;\n  padding: 0 20px 8px;\n  text-align: center;\n  background: #f2f4f5;\n\n  ::ng-deep {\n    .img {\n      max-width: calc(100% - 32px);\n      margin: 2.4em 1em;\n      vertical-align: middle;\n      box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35);\n    }\n  }\n}

\u5230\u8fd9\u513f\u7ec4\u4ef6\u5c31\u5efa\u597d\u4e86\uff0c\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u7ec4\u4ef6\u6837\u5f0f\u7684\u5f00\u53d1\u3002

\u6ce8\u518c

\u7ec4\u4ef6\u521b\u5efa\u597d\u540e\uff0c\u9700\u8981\u5c06\u7ec4\u4ef6\u5bfc\u5165 SharedModule \u4e2d\uff0c\u8fd9\u6837\u6240\u6709\u5b50\u6a21\u5757\u90fd\u53ef\u4ee5\u4f7f\u7528\u5230\u8be5\u7ec4\u4ef6\u3002

// shared.module.ts\nimport { ImageWrapperComponent } from \'./image-wrapper\';\nconst COMPONENTS = [\n  ImageWrapperComponent\n];

\u4f7f\u7528

\u5728\u8981\u4f7f\u7528\u8fd9\u4e2a\u7ec4\u4ef6\u7684\u5730\u65b9\uff0c\u6309\u7167\u7ec4\u4ef6\u5b9a\u4e49\u7684 API \u4f20\u5165\u53c2\u6570\uff0c\u76f4\u63a5\u4f7f\u7528\u5c31\u597d\uff1a

<image-wrapper\n  src="https://os.alipayobjects.com/rmsportal/mgesTPFxodmIwpi.png"\n  desc="\u793a\u610f\u56fe"></image-wrapper>',meta:{order:20,title:{"en-US":"New Component","zh-CN":"\u65b0\u589e\u4e1a\u52a1\u7ec4\u4ef6"},type:"Dev"},toc:[{id:"\u65b0\u5efa\u6587\u4ef6",title:"\u65b0\u5efa\u6587\u4ef6",h:2},{id:"\u6ce8\u518c",title:"\u6ce8\u518c",h:2},{id:"\u4f7f\u7528",title:"\u4f7f\u7528",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-new-component"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"new-page",redirectTo:"new-page/zh",pathMatch:"full"},{path:"new-page/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/new-page.en-US.md","zh-CN":"docs/new-page.zh-CN.md"},content:{"en-US":{content:'

Angular renders a page in a component tree, the actual development is to organize the code in a module tree to make it better to resuse code. For module granularity depends on the requirements, ng-alain is positioned in the middle of the front-end. Therefore, it is recommended to organize your code structure from a business perspective.

NG-ALAIN provides a very rich set of Schematics templates to quickly create templates and pages that match NG-ALAIN features, as well as a variety of pluggable plugins.

Additionally: NG-ALAIN is a standard Angular CLI project, you can still use the default command line.

First, the module

To create a page, you need to create a module first. If you need a system to set the relevant module, execute the command:

ng g ng-alain:module sys

The CLI will automatically create sys.module.ts and sys-routing.module.ts files under src/app/routes/sys, the former is the system setup module component definition file; the latter is the system setup module routing Configuration file.

// sys.module.ts\nimport { NgModule, Type } from \'@angular/core\';\nimport { SharedModule } from \'@shared\';\nimport { SysRoutingModule } from \'./sys-routing.module\';\n\nconst COMPONENTS: Type[] = [];\n\n@NgModule({\n  imports: [SharedModule, SysRoutingModule],\n  declarations: COMPONENTS,\n})\nexport class SysModule {}

The function of the module is to import the modules we need. All NG-ZORRO, @delon/abc, @delon/chart, etc. are loaded on demand. The external components are imported wherever the current business page needs. In order to reduce these import actions, NG -ALAIN has refined two files shared-delon.module.ts and shared-zorro.module.ts to merge some modules frequently used throughout the project into a module called SharedModule, which is why it is necessary Import it in the business module for the first time. Note: It is not recommended to put all the components in SharedModule, as far as possible, put the modules that need to be used two or three times or more.

And the routing configuration module:

// sys-routing.module.ts\nimport { NgModule } from \'@angular/core\';\nimport { RouterModule, Routes } from \'@angular/router\';\n\nconst routes: Routes = [];\n\n@NgModule({\n  imports: [RouterModule.forChild(routes)],\n  exports: [RouterModule],\n})\nexport class SysRoutingModule {}

By now, you can safely start developing business pages like menu management, logging, system configuration, etc. in the sys directory.

Second, the page

Use the ng generate (abbreviated as: ng g) command to create a log list page in the sys directory:

ng g ng-alain:list log -m=sys

See Command Line Tools for more information.

Finally, you can access the Log page.

Of course, the log may be a very rich piece of information, you can add a view page opened in a modal box to display more details.

ng g ng-alain:view view -m=sys -t=log

-t=log indicates that you want to put the created file under sys/log/view',meta:{order:10,title:{"en-US":"New Page","zh-CN":"\u65b0\u589e\u9875\u9762"},type:"Dev"},toc:[{id:"First,themodule",title:"First, the module",h:2},{id:"Second,thepage",title:"Second, the page",h:2}]},"zh-CN":{content:'

Angular \u867d\u7136\u662f\u4ee5\u7ec4\u4ef6\u6811\u6765\u6e32\u67d3\u4e00\u4e2a\u9875\u9762\uff0c\u7136\u540e\u5b9e\u9645\u5f00\u53d1\u662f\u4ee5\u4e00\u79cd\u6a21\u5757\u6811\u6765\u7ec4\u7ec7\u4ee3\u7801\uff0c\u4f7f\u5176\u80fd\u66f4\u597d\u5730\u4ee3\u7801\u590d\u7528\u3002\u800c\u5bf9\u4e8e\u6a21\u5757\u7c92\u5ea6\u53d6\u51b3\u4e8e\u9700\u6c42\uff0cng-alain\u7684\u5b9a\u4f4d\u5728\u4e8e\u4e2d\u53f0\u524d\u7aef\uff0c\u56e0\u6b64\uff0c\u6bd4\u8f83\u5efa\u8bae\u4ece\u4e1a\u52a1\u89d2\u5ea6\u51fa\u53d1\u7ec4\u7ec7\u4f60\u7684\u4ee3\u7801\u7ed3\u6784\u3002

NG-ALAIN \u63d0\u4f9b\u4e00\u5957\u975e\u5e38\u4e30\u5bcc\u7684 Schematics \u6a21\u677f\uff0c\u53ef\u4ee5\u5feb\u901f\u521b\u5efa\u7b26\u5408 NG-ALAIN \u7279\u70b9\u7684\u6a21\u677f\u548c\u9875\u9762\uff1b\u540c\u65f6\u5305\u542b\u591a\u79cd\u53ef\u63d2\u62d4\u63d2\u4ef6\u3002

\u53e6\uff1aNG-ALAIN \u662f\u4e00\u4e2a\u6807\u51c6\u7684 Angular CLI \u9879\u76ee\uff0c\u4f60\u4f9d\u7136\u53ef\u4ee5\u4f7f\u7528\u9ed8\u8ba4\u7684\u6240\u6709\u547d\u4ee4\u884c\u3002

\u4e00\u3001\u6a21\u5757

\u8981\u521b\u5efa\u4e00\u4e2a\u9875\u9762\u9700\u8981\u5148\u521b\u5efa\u4e00\u4e2a\u6a21\u5757\u5f00\u59cb\uff0c\u5047\u5982\u9700\u8981\u4e00\u4e2a\u7cfb\u7edf\u8bbe\u7f6e\u76f8\u5173\u7684\u6a21\u5757\uff0c\u6267\u884c\u547d\u4ee4\uff1a

ng g ng-alain:module sys

CLI \u4f1a\u81ea\u52a8\u5728 src/app/routes/sys \u4e0b\u521b\u5efa sys.module.ts \u548c sys-routing.module.ts \u6587\u4ef6\uff0c\u524d\u8005\u662f\u7cfb\u7edf\u8bbe\u7f6e\u6a21\u5757\u7ec4\u4ef6\u5b9a\u4e49\u6587\u4ef6\uff1b\u540e\u8005\u662f\u7cfb\u7edf\u8bbe\u7f6e\u6a21\u5757\u8def\u7531\u914d\u7f6e\u6587\u4ef6\u3002

// sys.module.ts\nimport { NgModule, Type } from \'@angular/core\';\nimport { SharedModule } from \'@shared\';\nimport { SysRoutingModule } from \'./sys-routing.module\';\n\nconst COMPONENTS: Type[] = [];\n\n@NgModule({\n  imports: [SharedModule, SysRoutingModule],\n  declarations: COMPONENTS,\n})\nexport class SysModule {}

\u6a21\u5757\u7684\u4f5c\u7528\u662f\u5bfc\u5165\u6211\u4eec\u9700\u8981\u7684\u6a21\u5757\uff0c\u6240\u6709 NG-ZORRO\u3001@delon/abc\u3001@delon/chart \u7b49\u90fd\u662f\u6309\u9700\u6c42\u52a0\u8f7d\u6a21\u5757\uff0c\u5f53\u524d\u4e1a\u52a1\u9875\u9700\u8981\u54ea\u91cc\u5916\u90e8\u7ec4\u4ef6\u5c31\u5bfc\u5165\u54ea\u4e9b\uff0c\u4e3a\u4e86\u51cf\u5c11\u8fd9\u4e9b\u5bfc\u5165\u52a8\u4f5c\uff0cNG-ALAIN \u63d0\u70bc\u4e86\u4e24\u4e2a\u6587\u4ef6 shared-delon.module.ts\u3001shared-zorro.module.ts \u5c06\u4e00\u4e9b\u6574\u4e2a\u9879\u76ee\u7ecf\u5e38\u7528\u5230\u7684\u6a21\u5757\u5408\u5e76\u6210\u4e00\u4e2a\u53eb SharedModule \u6a21\u5757\u5185\uff0c\u8fd9\u4e5f\u5c31\u662f\u4e3a\u4ec0\u4e48\u9700\u8981\u5728\u4e1a\u52a1\u6a21\u5757\u5185\u7b2c\u4e00\u65f6\u95f4\u5bfc\u5165\u5b83\u3002\u6ce8\u610f\uff1a\u4e0d\u5efa\u8bae\u628a\u6240\u6709\u7ec4\u4ef6\u90fd\u653e\u8fdb SharedModule \u5185\uff0c\u5c3d\u53ef\u80fd\u5c06\u9700\u8981\u7528\u5230\u7684\u6a21\u5757\u4ee5\u4e8c\u6216\u4e09\u6b21\u4ee5\u4e0a\u4f7f\u7528\u624d\u653e\u8fdb\u8fd9\u91cc\u3002

\u4ee5\u53ca\u8def\u7531\u914d\u7f6e\u6a21\u5757\uff1a

// sys-routing.module.ts\nimport { NgModule } from \'@angular/core\';\nimport { RouterModule, Routes } from \'@angular/router\';\n\nconst routes: Routes = [];\n\n@NgModule({\n  imports: [RouterModule.forChild(routes)],\n  exports: [RouterModule],\n})\nexport class SysRoutingModule {}

\u81f3\u6b64\uff0c\u4f60\u53ef\u4ee5\u653e\u5fc3\u5728 sys \u76ee\u5f55\u4e2d\u5f00\u59cb\u5f00\u53d1\u50cf\u83dc\u5355\u7ba1\u7406\u3001\u65e5\u5fd7\u3001\u7cfb\u7edf\u914d\u7f6e\u7b49\u4e1a\u52a1\u9875\u9762\u3002

\u4e8c\u3001\u9875\u9762

\u5229\u7528 ng generate\uff08\u53ef\u7b80\u5199\u4e3a\uff1ang g\uff09 \u547d\u4ee4\u5728 sys \u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u65e5\u5fd7\u5217\u8868\u9875\uff1a

ng g ng-alain:list log -m=sys

\u4e86\u89e3\u66f4\u591a\u8bf7\u53c2\u8003\u547d\u4ee4\u884c\u5de5\u5177\u3002

\u6700\u7ec8\uff0c\u4f60\u53ef\u4ee5\u8bbf\u95ee \u65e5\u5fd7 \u9875\u9762\u3002

\u5f53\u7136\u65e5\u5fd7\u53ef\u80fd\u662f\u4e00\u4e2a\u975e\u5e38\u4e30\u5bcc\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u589e\u52a0\u4e00\u4e2a\u4ee5\u6a21\u6001\u6846\u6253\u5f00\u7684\u67e5\u770b\u9875\u6765\u663e\u793a\u66f4\u591a\u8be6\u60c5\u3002

ng g ng-alain:view view -m=sys -t=log

-t=log \u8868\u793a\u5e0c\u671b\u628a\u521b\u5efa\u7684\u6587\u4ef6\u653e\u8fdb\u81f3 sys/log/view',meta:{order:10,title:{"en-US":"New Page","zh-CN":"\u65b0\u589e\u9875\u9762"},type:"Dev"},toc:[{id:"\u4e00\u3001\u6a21\u5757",title:"\u4e00\u3001\u6a21\u5757",h:2},{id:"\u4e8c\u3001\u9875\u9762",title:"\u4e8c\u3001\u9875\u9762",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-new-page"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"performance",redirectTo:"performance/zh",pathMatch:"full"},{path:"performance/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/performance.en-US.md","zh-CN":"docs/performance.zh-CN.md"},content:{"en-US":{content:'

Envelope size optimization

Divided into JavaScript script files and CSS files. The following only describes the script part. For the CSS file, please refer to Optimize Theme System.

Note: It is recommended to always prioritize business, optimize to the post- criteria, and have some understanding of NG-ALAIN before starting to optimize. The optimization scheme in this chapter will change with the change of the version. Please pay attention to the details.

Structure description

In general, there are two files that are larger after the build: scripts.js and main.js, and our optimization is mainly for these two items.

scripts.js

It comes from a collection of scripts nodes of angular.json, so the size of this file depends on the size of the third-party component referenced by the scripts node.

In general, you should put it under scripts when you are using non-Angular third-party components.

main.js

Using ng build by default will package all @angular/*, ng-zorro-antd, @delon/* and some third-party Angular components. Unless you use the --vendor-chunk parameter to separate these classes library.

Optimization object

We know that the resource file packaged by Angular Cli will contain the hashing value of the file. Which is like the unique identifier of the file. If the module is not modified, no new hashing value will be generated. This ensures that after the user downloads the resource for the first time. No matter how we build the user again, there is no need to download it again.

In fact, Angular Cli defaults to --vendor-chunk. The main factor is that these @angular/* are very fast relative to iteration.

According to NG-ALAIN\'s module registration guidelines, generate two shared-delon.module.ts andshared-zorro.module.ts produced are the summary of the import of secondary modules shared by @Delon and NG-ZORRO.

@delon/abc,@delon/chart, ng-zorro-antd The three main libraries all support secondary imports. Only selecting the modules required by the project will effectively solve the problem of package size.

Conclusion

After NG-ZORRO provides better optimization support, we will release #684 and hope to have a better package size. Expected res

',meta:{order:80,title:{"en-US":"Performance","zh-CN":"\u4f18\u5316"},type:"Advance"},toc:[{id:"Envelopesizeoptimization",title:"Envelope size optimization",h:2,children:[{id:"Structuredescription",title:"Structure description",h:3},{id:"Optimizationobject",title:"Optimization object",h:3},{id:"Conclusion",title:"Conclusion",h:3}]}]},"zh-CN":{content:'

\u5305\u4f53\u5927\u5c0f\u4f18\u5316

\u5206\u4e3aJavaScript\u811a\u672c\u6587\u4ef6\u548cCSS\u6587\u4ef6\uff0c\u4ee5\u4e0b\u53ea\u63cf\u8ff0\u811a\u672c\u90e8\u5206\uff0c\u6709\u5173CSS\u6587\u4ef6\u8bf7\u53c2\u8003\u4f18\u5316\u4e3b\u9898\u7cfb\u7edf\u3002

\u6ce8\u610f\uff1a \u5efa\u8bae\u59cb\u7ec8\u4ee5\u4e1a\u52a1\u4f18\u5148\uff0c\u4f18\u5316\u4e3a\u540e\u7684\u51c6\u5219\uff0c\u4e14\u5728\u5f00\u59cb\u524d\u5bf9 NG-ALAIN \u6709\u4e00\u5b9a\u4e86\u89e3\u540e\u518d\u8fdb\u884c\u4f18\u5316\u3002\u672c\u7ae0\u8282\u7684\u4f18\u5316\u65b9\u6848\u4f1a\u968f\u7740\u7248\u672c\u7684\u66f4\u8fed\u6709\u6240\u53d8\u52a8\uff0c\u6709\u5173\u7ec6\u8282\u8bf7\u6301\u7eed\u5173\u6ce8\u3002

\u7ed3\u6784\u8bf4\u660e

\u4e00\u822c\u6765\u8bf4\uff0c\u6784\u5efa\u540e\u6709\u4e24\u4e2a\u6587\u4ef6\u4f1a\u6bd4\u8f83\u5927\uff1ascripts.js \u548c main.js\uff0c\u800c\u6211\u4eec\u4f18\u5316\u4e5f\u4e3b\u8981\u9488\u5bf9\u8fd9\u4e24\u9879\u3002

scripts.js

\u5b83\u6765\u81ea\u662f angular.json \u7684 scripts \u8282\u70b9\u7684\u96c6\u5408\uff0c\u56e0\u6b64\uff0c\u8fd9\u4e2a\u6587\u4ef6\u7684\u5927\u5c0f\u53d6\u51b3\u4e8e scripts \u8282\u70b9\u6240\u5f15\u7528\u7684\u7b2c\u4e09\u65b9\u7ec4\u4ef6\u7684\u5927\u5c0f\u3002

\u4e00\u822c\u6765\u8bf4\uff0c\u5f53\u4f60\u5728\u4f7f\u7528\u975e Angular \u7b2c\u4e09\u65b9\u7ec4\u4ef6\u65f6\u90fd\u5e94\u8be5\u653e\u5728 scripts \u4e0b\u3002

main.js

\u9ed8\u8ba4\u4f7f\u7528 ng build \u4f1a\u5c06\u6240\u6709 @angular/*\u3001ng-zorro-antd\u3001@delon/* \u4ee5\u53ca\u4e00\u4e9b\u7b2c\u4e09\u65b9 Angular \u7ec4\u4ef6\u90fd\u4f1a\u88ab\u6253\u5305\u8fdb\u6765\uff0c\u9664\u975e\u4f60\u4f7f\u7528 --vendor-chunk \u53c2\u6570\u6765\u5206\u79bb\u8fd9\u4e9b\u7c7b\u5e93\u3002

\u4f18\u5316\u5bf9\u8c61

\u6211\u4eec\u77e5\u9053\uff0cAngular Cli \u6253\u5305\u51fa\u6765\u7684\u8d44\u6e90\u6587\u4ef6\u4f1a\u5305\u542b\u8be5\u6587\u4ef6 hashing \u503c\uff0c\u5b83\u50cf\u662f\u6587\u4ef6\u7684\u552f\u4e00\u6807\u8bc6\u7801\uff0c\u82e5\u672a\u5bf9\u8be5\u6587\u4ef6\u8fdb\u884c\u6a21\u5757\u4fee\u6539\u90fd\u4e0d\u4f1a\u4ea7\u751f\u65b0\u7684 hashing \u503c\uff0c\u8fd9\u786e\u4fdd\u7528\u6237\u9996\u6b21\u4e0b\u8f7d\u8d44\u6e90\u540e\u4e0d\u7ba1\u6211\u4eec\u5982\u4f55\u518d\u6b21\u6784\u5efa\u7528\u6237\u90fd\u65e0\u987b\u518d\u4e00\u6b21\u4e0b\u8f7d\u3002

\u4e8b\u5b9e\u4e0a\uff0cAngular Cli \u9ed8\u8ba4\u5c06 --vendor-chunk \u4e3b\u8981\u56e0\u7d20\u662f\u8fd9\u4e9b @angular/* \u76f8\u5bf9\u4e8e\u8fed\u4ee3\u5f88\u5feb\u3002

\u6839\u636e NG-ALAIN \u7684\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219\uff0c\u4ea7\u751f\u7684\u4e24\u4e2a shared-delon.module.ts\u3001shared-zorro.module.ts \u4e24\u4e2a\u4e13\u95e8\u9488\u5bf9 @Delon \u4e0e NG-ZORRO \u5171\u4eab\u6b21\u7ea7\u6a21\u5757\u5bfc\u5165\u7684\u6c47\u603b\u3002

@delon/abc\u3001@delon/chart\u3001ng-zorro-antd \u4e09\u4e2a\u4e3b\u8981\u7c7b\u5e93\u90fd\u652f\u6301\u6b21\u7ea7\u5bfc\u5165\uff0c\u53ea\u9009\u62e9\u9879\u76ee\u6240\u9700\u8981\u7684\u6a21\u5757\u5c06\u6709\u6548\u7684\u89e3\u51b3\u5305\u4f53\u5927\u5c0f\u7684\u95ee\u9898\u3002

\u7ed3\u8bba

\u5f85 NG-ALAIN \u63d0\u4f9b\u66f4\u597d\u7684\u4f18\u5316\u652f\u6301\u540e\uff0c\u6211\u4eec\u4f1a\u53d1\u5e03 #684 \u5e0c\u671b\u5bf9\u5305\u4f53\u5927\u5c0f\u6709\u66f4\u597d\u7684

',meta:{order:80,title:{"en-US":"Performance","zh-CN":"\u4f18\u5316"},type:"Advance"},toc:[{id:"\u5305\u4f53\u5927\u5c0f\u4f18\u5316",title:"\u5305\u4f53\u5927\u5c0f\u4f18\u5316",h:2,children:[{id:"\u7ed3\u6784\u8bf4\u660e",title:"\u7ed3\u6784\u8bf4\u660e",h:3},{id:"\u4f18\u5316\u5bf9\u8c61",title:"\u4f18\u5316\u5bf9\u8c61",h:3},{id:"\u7ed3\u8bba",title:"\u7ed3\u8bba",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-performance"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"server",redirectTo:"server/zh",pathMatch:"full"},{path:"server/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/server.en-US.md","zh-CN":"docs/server.zh-CN.md"},content:{"en-US":{content:'

NG-ALAIN is a single-page application based on the Angular technology stack. We provide development models for front-end code and native analog data.\nWork in the form of the Restful API with the server application of any technology stack. The basics of interacting with the server are briefly described below.

Front-end request process

In NG-ALAIN, a complete front-end UI interaction to the server-side processing flow looks like this:

  1. Start Angular for the first time to execute APP_INITIALIZER;

  2. UI component interaction;

  3. Send the request using the encapsulated _HttpClient;

  4. Trigger the user authentication interceptor @delon/auth and add the token parameter uniformly;

    • If there is no token or an expired interrupt subsequent request, jump directly to the login page;

  5. Trigger the default interceptor to process the prefix and other information;

  6. Get the server back;

  7. Trigger the default interceptor to handle request exceptions, business exceptions, etc.

  8. Update the data and refresh the UI.

Interceptor

By default, two interceptors are registered in the root module.SimpleInterceptor with DefaultInterceptorAnd the execution order is executed in the registration order.

SimpleInterceptor

User Authentication has built-in interceptors for automatically adding token parameters to requests. There is also a JWTInterceptor interceptor, which is a standard JWT specification. If the backend uses standard JWT, it can be directly replaced with a JWTInterceptor interceptor.

DefaultInterceptor

DefaultInterceptor The interceptor simply provides an interceptor. By default, it contains sample code that handles server request prefixes, handles request exceptions, and business exceptions. You can make adjustments based on your own needs.

Important point

We can put the next.handle(req) as the demarcation point in the interceptor intercept method. The first part is the request and the pipe part is the post. This will make it clearer which part is to be done before the request and which part will be executed after the request. For more information on interceptors, please refer to the official website.

Development environment

Under normal circumstances, the development environment and the production environment are not the same back-end request source. You can actually configure it under the environment directory. environment.ts and environment.prod.ts Change the request source for different environments.

environment is actually a JSON object, you can organize different forms to meet the problem of multiple request sources.

Mock

Sometimes when you want to develop the front-end first, you can use @delon/mock to simulate the request data. The actual principle is to use the interceptor to directly return the data to the matching URL instead of sending an HTTP request. By default, it is only valid for the test environment. Of course, you usually need to make sure that the data of the Mock interface is consistent with the backend. You can create the corresponding Mock interface in the _mock directory:

export const USERS = {\n  \'GET /users\': { users: [1, 2], total: 2 }\n}

So for the test environment, when the /users request is encountered, the {users: [1, 2], total: 2 } data is returned directly. See here for more Mock syntax and usage.

Note: When you don\'t need a Mock interface for a request, be sure to comment out or remove it.

Cors

Most applications will be front-end is separate from the back-end, which leads to CORS factors when a request is made to the back end, such as:

http.get(`http://192.168.1.100/api/app`).subscribe();

Note: If the request does not start with http, each request will add environment.SERVER_URL as the leading edge of the request URL.

The following error is returned directly:

Access to XMLHttpRequest at \'http://192.168.1.100/api/app\' from origin \'http://localhost:4200\' has been blocked by CORS policy: No \'Access-Control-Allow-Origin\' header is present on the requested resource.

There are usually two ways to solve cross-domain problems. One is to allow the back-end development environment to directly support CORS requests (not recommended, but simplest), the second is to use Angular Cli to provide Proxy Support, the development proxy server will forward the domain and port of the request sent by Angular to the backend Server, CORS is a security restriction of the browser. There is no problem with CORS before the proxy server and the backend server. This is why many people try to make it clear that they can be requested in Postman but not in Angular.

Assuming that all backend requests are prefixed with /api, you can configure all this prefix in proxy.conf.js to forward to the new backend, for example:

module.exports = {\n  \'/api\': {\n    target: \'http://192.168.1.100/api\',\n    secure: false\n  }\n}
  • /api Proxy path, domain is not supported

  • target Proxy target address

  • secure If the proxy target address is https, it should be set to true, otherwise it is false

  • pathRewrite Rewrite the address, such as pathRewrite: {\'^/api\':\'/\'} to change the prefix /api to /

  • changeOrigin Change the host of the host header to the target URL. Some backends will judge whether it is valid according to its value. You may need to set true

  • logLevel Set to debug to display the message forwarded by the agent on the terminal

Abort more detail please refer to Proxying to a backend server, and for configuration description please refer to http-proxy-middleware options.

Common problem

Q: The request may be rejected or returned directly to 401?

Scaffolding uses the SimpleInterceptor interceptor of @delon/auth by default, which causes an error to be returned directly if a token cannot be obtained during the request.

User Authentication This process is a must for the middle of

',meta:{order:40,title:"Work with Server",type:"Dev"},toc:[{id:"Front-endrequestprocess",title:"Front-end request process",h:2,children:[{id:"Interceptor",title:"Interceptor",h:3}]},{id:"Developmentenvironment",title:"Development environment",h:2},{id:"Mock",title:"Mock",h:2},{id:"Cors",title:"Cors",h:2},{id:"Commonproblem",title:"Common problem",h:2}]},"zh-CN":{content:'

NG-ALAIN \u662f\u4e00\u5957\u57fa\u4e8e Angular \u6280\u672f\u6808\u7684\u5355\u9875\u9762\u5e94\u7528\uff0c\u6211\u4eec\u63d0\u4f9b\u7684\u662f\u524d\u7aef\u4ee3\u7801\u548c\u672c\u5730\u6a21\u62df\u6570\u636e\u7684\u5f00\u53d1\u6a21\u5f0f\uff0c\n\u901a\u8fc7 Restful API \u7684\u5f62\u5f0f\u548c\u4efb\u4f55\u6280\u672f\u6808\u7684\u670d\u52a1\u7aef\u5e94\u7528\u4e00\u8d77\u5de5\u4f5c\u3002\u4e0b\u9762\u5c06\u7b80\u5355\u4ecb\u7ecd\u548c\u670d\u52a1\u7aef\u4ea4\u4e92\u7684\u57fa\u672c\u5199\u6cd5\u3002

\u524d\u7aef\u8bf7\u6c42\u6d41\u7a0b

\u5728 NG-ALAIN \u4e2d\uff0c\u4e00\u4e2a\u5b8c\u6574\u7684\u524d\u7aef UI \u4ea4\u4e92\u5230\u670d\u52a1\u7aef\u5904\u7406\u6d41\u7a0b\u662f\u8fd9\u6837\u7684\uff1a

  1. \u9996\u6b21\u542f\u52a8 Angular \u6267\u884c APP_INITIALIZER\uff1b

  2. UI \u7ec4\u4ef6\u4ea4\u4e92\u64cd\u4f5c\uff1b

  3. \u4f7f\u7528\u5c01\u88c5\u7684 _HttpClient \u53d1\u9001\u8bf7\u6c42\uff1b

  4. \u89e6\u53d1\u7528\u6237\u8ba4\u8bc1\u62e6\u622a\u5668 @delon/auth\uff0c\u7edf\u4e00\u52a0\u5165 token \u53c2\u6570\uff1b

    • \u82e5\u672a\u5b58\u5728 token \u6216\u5df2\u8fc7\u671f\u4e2d\u65ad\u540e\u7eed\u8bf7\u6c42\uff0c\u76f4\u63a5\u8df3\u8f6c\u81f3\u767b\u5f55\u9875\uff1b

  5. \u89e6\u53d1\u9ed8\u8ba4\u62e6\u622a\u5668\uff0c\u7edf\u4e00\u5904\u7406\u524d\u7f00\u7b49\u4fe1\u606f\uff1b

  6. \u83b7\u53d6\u670d\u52a1\u7aef\u8fd4\u56de\uff1b

  7. \u89e6\u53d1\u9ed8\u8ba4\u62e6\u622a\u5668\uff0c\u7edf\u4e00\u5904\u7406\u8bf7\u6c42\u5f02\u5e38\u3001\u4e1a\u52a1\u5f02\u5e38\u7b49\uff1b

  8. \u6570\u636e\u66f4\u65b0\uff0c\u5e76\u5237\u65b0 UI\u3002

\u62e6\u622a\u5668

\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u5728\u6839\u6a21\u5757\u6ce8\u518c\u4e86\u4e24\u4e2a\u62e6\u622a\u5668 SimpleInterceptor \u548c DefaultInterceptor\uff0c\u4e14\u6267\u884c\u987a\u5e8f\u6309\u6ce8\u518c\u987a\u5e8f\u6267\u884c\u3002

SimpleInterceptor

\u7528\u6237\u8ba4\u8bc1\u5185\u7f6e\u7528\u4e8e\u81ea\u52a8\u4e3a\u8bf7\u6c42\u6dfb\u52a0 token \u53c2\u6570\u7684\u62e6\u622a\u5668\u3002\u8fd9\u91cc\u8fd8\u6709\u4e00\u4e2a\u53eb JWTInterceptor \u62e6\u622a\u5668\uff0c\u662f\u4e00\u4e2a\u6807\u51c6 JWT \u89c4\u8303\uff0c\u82e5\u540e\u7aef\u91c7\u7528\u6807\u51c6JWT\u53ef\u4ee5\u76f4\u63a5\u6362\u6210JWTInterceptor\u62e6\u622a\u5668\u3002

DefaultInterceptor

DefaultInterceptor \u62e6\u622a\u5668\u53ea\u662f\u63d0\u4f9b\u4e00\u4e2a\u62e6\u622a\u5668\u7684\u5199\u6cd5\uff0c\u9ed8\u8ba4\u5305\u542b\u4e86\u7edf\u4e00\u5904\u7406\u670d\u52a1\u5668\u8bf7\u6c42\u524d\u7f00\u3001\u5904\u7406\u8bf7\u6c42\u5f02\u5e38\u53ca\u4e1a\u52a1\u5f02\u5e38\u7684\u793a\u4f8b\u4ee3\u7801\uff0c\u4f60\u53ef\u4ee5\u6839\u636e\u4f60\u81ea\u5df1\u7684\u9700\u6c42\u505a\u8c03\u6574\u3002

\u6ce8\u610f\u70b9

\u6211\u4eec\u53ef\u4ee5\u628a\u62e6\u622a\u5668 intercept \u65b9\u6cd5\u5185\uff0c\u4ee5 next.handle(req) \u4e3a\u5206\u754c\u70b9\uff0c\u524d\u90e8\u5206\u4e3a\u8bf7\u6c42\u524d\uff0cpipe \u90e8\u5206\u4e3a\u63a5\u6536\u540e\u3002\u8fd9\u6837\u4f1a\u66f4\u660e\u786e\u77e5\u9053\u54ea\u4e00\u90e8\u5206\u662f\u8bf7\u6c42\u524d\u8981\u505a\uff0c\u54ea\u4e00\u90e8\u5206\u662f\u8bf7\u6c42\u540e\u4f1a\u6267\u884c\u7684\u3002\u6709\u5173\u66f4\u591a\u62e6\u622a\u5668\u77e5\u8bc6\u8bf7\u53c2\u8003\u5b98\u7f51\u3002

\u5f00\u53d1\u73af\u5883

\u6b63\u5e38\u60c5\u51b5\u4e0b\u5f00\u53d1\u73af\u5883\u548c\u751f\u4ea7\u73af\u5883\u4e0d\u662f\u540c\u4e00\u4e2a\u540e\u7aef\u8bf7\u6c42\u6e90\uff0c\u5b9e\u9645\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e environment \u76ee\u5f55\u4e0b environment.ts \u548c environment.prod.ts \u6539\u53d8\u4e0d\u540c\u73af\u5883\u7684\u8bf7\u6c42\u6e90\u3002

environment \u5b9e\u9645\u662f\u4e00\u4e2aJSON\u5bf9\u8c61\uff0c\u53ef\u4ee5\u7ec4\u7ec7\u4e0d\u540c\u5f62\u5f0f\u6765\u6ee1\u8db3\u591a\u8bf7\u6c42\u6e90\u7684\u95ee\u9898\u3002

Mock

\u6709\u65f6\u5019\u5e0c\u671b\u4f18\u5148\u5f00\u53d1\u524d\u7aef\u65f6\uff0c\u53ef\u4ee5\u5229\u7528 @delon/mock \u6765\u6a21\u62df\u8bf7\u6c42\u6570\u636e\uff0c\u5b9e\u9645\u539f\u7406\u662f\u5229\u7528\u62e6\u622a\u5668\uff0c\u5bf9\u5339\u914d\u7684URL\u76f4\u63a5\u8fd4\u56de\u6570\u636e\uff0c\u800c\u4e0d\u662f\u53d1\u9001\u4e00\u4e2aHTTP\u8bf7\u6c42\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ea\u5bf9\u6d4b\u8bd5\u73af\u5883\u6709\u6548\u3002\u5f53\u7136\u901a\u5e38\u60c5\u51b5\u4e0b\u4f60\u9700\u8981\u786e\u4fdd Mock \u63a5\u53e3\u7684\u6570\u636e\u4e0e\u540e\u7aef\u4fdd\u6301\u4e00\u81f4\uff0c\u4f60\u53ef\u4ee5\u5728 _mock \u76ee\u5f55\u4e0b\u521b\u5efa\u76f8\u5e94\u7684 Mock \u63a5\u53e3\uff1a

export const USERS = {\n  \'GET /users\': { users: [1, 2], total: 2 }\n}

\u56e0\u6b64\u5bf9\u4e8e\u6d4b\u8bd5\u73af\u5883\u4e0b\u5f53\u9047\u5230 /users \u8bf7\u6c42\u76f4\u63a5\u8fd4\u56de { users: [1, 2], total: 2 } \u6570\u636e\u3002\u6709\u5173\u66f4\u591a Mock \u8bed\u6cd5\u548c\u4f7f\u7528\u65b9\u5f0f\u53c2\u8003\u8fd9\u91cc\u3002

\u6ce8\uff1a \u5f53\u4f60\u4e0d\u9700\u8981\u67d0\u4e2a\u8bf7\u6c42\u7684 Mock \u63a5\u53e3\u65f6\uff0c\u52a1\u5fc5\u8981\u6ce8\u91ca\u6389\u6216\u79fb\u9664\u5b83\u3002

\u8de8\u57df

\u5927\u90e8\u5206\u5e94\u7528\u90fd\u4f1a\u524d\u540e\u7aef\u5206\u79bb\u8fdb\u884c\u5f00\u53d1\uff0c\u8fd9\u5bfc\u81f4\u5f53\u5bf9\u540e\u7aef\u53d1\u8d77\u4e00\u4e2a\u8bf7\u6c42\u65f6\u4f1a\u53d7\u8de8\u57df\uff08CORS\uff09\u7684\u56e0\u7d20\uff0c\u4f8b\u5982\uff1a

http.get(`http://192.168.1.100/api/app`).subscribe();

\u6ce8\uff1a\u5982\u679c\u975e http \u5f00\u5934\u7684\u8bf7\u6c42\uff0c\u4f1a\u5728\u6bcf\u4e2a\u8bf7\u6c42\u90fd\u4f1a\u52a0\u4e0a environment.SERVER_URL \u4f5c\u4e3a\u8bf7\u6c42 URL \u7684\u524d\u7f18\u3002

\u76f4\u63a5\u8fd4\u56de\u4ee5\u4e0b\u9519\u8bef\uff1a

Access to XMLHttpRequest at \'http://192.168.1.100/api/app\' from origin \'http://localhost:4200\' has been blocked by CORS policy: No \'Access-Control-Allow-Origin\' header is present on the requested resource.

\u800c\u6b63\u5e38\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u6709\u4e24\u79cd\u65b9\u6cd5\uff0c\u4e00\u662f\u8ba9\u540e\u7aef\u5f00\u53d1\u73af\u5883\u76f4\u63a5\u652f\u6301\u8de8\u57df\u8bf7\u6c42\uff08\u4e0d\u63a8\u8350\uff0c\u4f46\u6700\u7b80\u5355\uff09\uff0c\u4e8c\u662f\u5229\u7528 Angular Cli \u63d0\u4f9b\u4ee3\u7406\u652f\u6301\uff0c\u5f00\u53d1\u4ee3\u7406\u670d\u52a1\u5668\u4f1a\u5c06 Angular \u53d1\u9001\u7684\u8bf7\u6c42\u7684\u57df\u548c\u7aef\u53e3\u8f6c\u53d1\u7ed9\u540e\u7aef\u670d\u52a1\u5668\uff0cCORS \u662f\u6d4f\u89c8\u5668\u7684\u5b89\u5168\u9650\u5236\uff0c\u5728\u4ee3\u7406\u670d\u52a1\u5668\u4e0e\u540e\u7aef\u670d\u52a1\u5668\u4e4b\u524d\u5e76\u4e0d\u5b58\u5728 CORS \u7684\u95ee\u9898\uff0c\u8fd9\u4e5f\u5c31\u662f\u4e3a\u4ec0\u4e48\u5f88\u591a\u4eba\u4f1a\u5c1d\u8bd5\u660e\u660e\u5728 Postman \u80fd\u8bf7\u6c42\uff0c\u800c\u5728 Angular \u4e0b\u65e0\u6cd5\u8bf7\u6c42\u7684\u539f\u56e0\u6240\u5728\u3002

\u5047\u5b9a\u6240\u6709\u540e\u7aef\u8bf7\u6c42\u90fd\u662f\u4ee5 /api \u4e3a\u524d\u7f00\u65f6\uff0c\u5c31\u53ef\u4ee5\u5728 proxy.conf.js \u914d\u7f6e\u6240\u6709\u8fd9\u4e2a\u524d\u7f00\u90fd\u8f6c\u5411\u65b0\u7684\u540e\u7aef\uff0c\u4f8b\u5982\uff1a

module.exports = {\n  \'/api\': {\n    target: \'http://192.168.1.100/api\',\n    secure: false\n  }\n}
  • /api \u4ee3\u7406\u8def\u5f84\uff0c\u4e0d\u652f\u6301\u57df

  • target \u4ee3\u7406\u76ee\u6807\u5730\u5740

  • secure \u4ee3\u7406\u76ee\u6807\u5730\u5740\u5982\u679c\u662f https \u5e94\u8be5\u8bbe\u7f6e\u4e3a true\uff0c\u53cd\u4e4b\u4e3a false

  • pathRewrite \u91cd\u5199\u5730\u5740\uff0c\u4f8b\u5982 pathRewrite: {\'^/api\': \'/\'} \u5c06\u524d\u7f00 /api \u8f6c\u4e3a /

  • changeOrigin \u5c06\u4e3b\u673a\u6807\u5934\u7684 host \u66f4\u6539\u4e3a\u76ee\u6807URL\uff0c\u6709\u4e9b\u540e\u7aef\u4f1a\u6839\u636e\u5176\u503c\u6765\u5224\u65ad\u662f\u5426\u6709\u6548\uff0c\u53ef\u80fd\u9700\u8981\u901a\u8fc7\u8bbe\u7f6e true

  • logLevel \u8bbe\u7f6e\u4e3a debug \u53ef\u4ee5\u7ec8\u7aef\u663e\u793a\u4ee3\u7406\u8f6c\u53d1\u7684\u6d88\u606f

\u66f4\u591a\u4f7f\u7528\u8bf4\u660e\u8bf7\u53c2\u8003\u4ee3\u7406\u5230\u540e\u7aef\u670d\u52a1\u5668\uff0c\u4ee5\u53ca\u914d\u7f6e\u63cf\u8ff0\u8bf7\u53c2\u8003http-proxy-middleware options\u3002

\u5e38\u89c1\u95ee\u9898

Q\uff1a \u8bf7\u6c42\u53ef\u80fd\u88ab\u62d2\u7edd\u6216\u76f4\u63a5\u8fd4\u56de 401 ?

\u811a\u624b\u67b6\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528\u4e86 @delon/auth \u7684 SimpleInterceptor \u62e6\u622a\u5668\uff0c\u5bfc\u81f4\u5728\u8bf7\u6c42\u8fc7\u7a0b\u4e2d\u82e5\u53d1\u73b0\u65e0\u6cd5\u83b7\u53d6 Token \u65f6\u4f1a\u76f4\u63a5\u8fd4\u56de\u9519\u8bef\u3002

\u7528\u6237\u8ba4\u8bc1\u8fd9\u4e2a\u8fc7\u7a0b\u662f\u4e2d

',meta:{order:40,title:"\u548c\u670d\u52a1\u7aef\u8fdb\u884c\u4ea4\u4e92",type:"Dev"},toc:[{id:"\u524d\u7aef\u8bf7\u6c42\u6d41\u7a0b",title:"\u524d\u7aef\u8bf7\u6c42\u6d41\u7a0b",h:2,children:[{id:"\u62e6\u622a\u5668",title:"\u62e6\u622a\u5668",h:3}]},{id:"\u5f00\u53d1\u73af\u5883",title:"\u5f00\u53d1\u73af\u5883",h:2},{id:"Mock",title:"Mock",h:2},{id:"\u8de8\u57df",title:"\u8de8\u57df",h:2},{id:"\u5e38\u89c1\u95ee\u9898",title:"\u5e38\u89c1\u95ee\u9898",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-server"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"ssr",redirectTo:"ssr/zh",pathMatch:"full"},{path:"ssr/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/ssr.md"},content:{"zh-CN":{content:'

\u672c\u6587\u63cf\u8ff0\u7684\u662f NG-ALAIN \u5982\u4f55\u652f\u6301\u670d\u52a1\u7aef\u6e32\u67d3\uff08SSR\uff09\u3002

NG-ALAIN \u4e0d\u63a8\u8350\u5728\u4e2d\u540e\u53f0\u4f7f\u7528\u670d\u52a1\u7aef\u6e32\u67d3\uff08SSR\uff09\uff0c\u8fd9\u662f\u56e0\u4e3a\u4e2d\u540e\u53f0\u672c\u8eab\u5bf9\u4e8eSSR\u6240\u5e26\u6765\u7684\u597d\u5904\u8fdc\u5927\u4e8e\u5f00\u53d1\u5e26\u6765\u7684\u9ebb\u70e6\uff0c\u4f46\u4e0d\u7ba1\u600e\u4e48\u6837\u5728\u8bb8\u591a\u4eba\u7684\u8981\u6c42\u4e0b\uff0c\u4ece 9.5 \u7248\u672c\u5f00\u59cb\uff0c\u5df2\u7ecf\u5bf9\u6240\u6709 @delon/* \u7c7b\u5e93\u652f\u6301\u670d\u52a1\u7aef\u6e32\u67d3\u3002

\u5f00\u59cb\u4e4b\u524d

\u5728\u5f00\u59cb\u4e4b\u524d\u8bf7\u5148\u9605\u8bfb\u4ee5\u4e0b\u6587\u7ae0\uff0c\u5b83\u4eec\u80fd\u591f\u66f4\u52a0\u5feb\u901f\u8ba9\u4f60\u4e86\u89e3 Angular \u670d\u52a1\u7aef\u6e32\u67d3\u662f\u5982\u4f55\u5de5\u4f5c\u7684\uff1a

\u6559\u7a0b

\u6dfb\u52a0 @nguniversal/express-engine

\u5728\u4e00\u4e2a\u5b8c\u6574\u7684 NG-ALAIN \u9879\u76ee\u4e0b\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a

ng add @nguniversal/express-engine

\u6700\u540e\u8fd0\u884c\uff1a

npm run dev:ssr

\u6b64\u65f6\u4f1a\u4ee5 SSR \u7684\u5f62\u5f0f\u8fd0\u884c NG-ALAIN\u3002

\u4f46\u5982\u679c\u91c7\u7528\u9ed8\u8ba4 LocalStorageStore \u6765\u5b58\u50a8 Token \u7684\u60c5\u51b5\u4e0b\uff0c\u4f1a\u63d0\u793a\u627e\u4e0d\u5230 localStorage \u7684\u9519\u8bef\uff0c\u8fd9\u662f\u56e0\u4e3a\u670d\u52a1\u7aef\u5e76\u6ca1\u6709\u8fd9\u4e9b\uff0c\u5b83\u4eec\u53ef\u80fd\u8fd8\u5305\u542b window\u3001document\u3001sessionStorage \u7b49\u3002

\u56e0\u6b64\uff0c\u8981\u60f3\u5728\u4e2d\u540e\u53f0\u5f88\u597d\u7684\u652f\u6301 SSR\uff0c\u9700\u8981\u5206\u6790\u6240\u4f9d\u8d56\u7684\u7b2c\u4e09\u65b9\u7c7b\u5e93\u662f\u5426\u652f\u6301 SSR\uff0c\u5982\u679c\u6ca1\u6709\u5fc5\u987b\u624b\u52a8\u5904\u7406\u5728\u670d\u52a1\u7aef\u4e0b\u4e0d\u6e32\u67d3\u8fd9\u4e9b\u7ec4\u4ef6\u3002

\u4e22\u5931Token

\u670d\u52a1\u7aef\u662f\u65e0\u72b6\u6001\u7684\uff0c\u56e0\u6b64\u5224\u65ad\u8bf7\u6c42\u662f\u5426\u6709\u6548\u6388\u6743\uff0c\u76ee\u524d\u901a\u7528\u7684\u505a\u6cd5\u662f\u5c06 Token \u5b58\u50a8\u5728 Cookie \u4e0b\uff0c\u5728\u670d\u52a1\u7aef\u63a5\u6536\u8bf7\u6c42\u65f6\u518d\u6839\u636e Cookies \u6765\u83b7\u53d6 Token \u4fe1\u606f\u3002\x1c

\u867d\u7136 NG-ALAIN \u63d0\u4f9b CookieStorageStore \u4f46\u5b83\u5e76\u4e0d\u652f\u6301\u670d\u52a1\u7aef SSR \u8bbf\u95ee Cookie\uff0c\u56e0\u6b64\u9700\u8981\u624b\u52a8\u6784\u5efa\u9488\u5bf9 SSR \u7684 Token \u6301\u4e45\u5316\u5b58\u50a8\u3002

\u63a8\u8350\u4f7f\u7528 @ngx-utils/cookies \u6765\u5904\u7406 Cookies\uff0c\u5b83\u540c\u65f6\u652f\u6301\u5ba2\u6237\u7aef\u4e0e\u670d\u52a1\u7aef\u3002

\u6ce8\u610f\uff1a \u53d7\u9650\u4e8e #20 \u7684\u539f\u56e0\uff0c\u7531\u4e8e\u4e00\u76f4\u672a\u5904\u7406\uff0c\u6709\u4eba\u4e13\u95e8\u89e3\u51b3\u4e86\u8fd9\u4e2a\u95ee\u9898\u5e76\u53d1\u5e03\u4e00\u4e2a\u65b0\u7c7b\u5e93 ngx-utils-cookies-port\uff0c\u6682\u65f6\u53ea\u80fd\u4f7f\u7528\u5b83\u6765\u4ee3\u66ff @ngx-utils/cookies\uff0c\u7528\u6cd5\u4e00\u6a21\u4e00\u6837\u53ea\u662f\u6a21\u5757\u540d\u6362\u4e00\u4e0b\uff0c\u5728\u4fee\u590d\u4e4b\u540e\u518d\u6362\u56de\u6765\u3002

\u8981\u521b\u5efa\u4e00\u4e2a\u7b26\u5408 @delon/auth \u63a5\u53e3\u6301\u4e45\u5316\u5b58\u50a8\u7c7b\uff0c\u53ea\u9700\u8981\u7ee7\u627f IStore \u5373\u53ef\uff0c\u4f8b\u5982\uff1a

import { Injectable } from \'@angular/core\';\nimport { IStore, ITokenModel } from \'@delon/auth\';\nimport { CookiesService } from \'ngx-utils-cookies-port\';\n\n@Injectable()\nexport class AuthStorageStore implements IStore {\n  constructor(private cookies: CookiesService) {}\n\n  get(key: string): ITokenModel {\n    return JSON.parse(this.cookies.get(key) || \'{}\') || {};\n  }\n\n  set(key: string, value: ITokenModel | null): boolean {\n    this.cookies.put(key, JSON.stringify(value));\n    return true;\n  }\n\n  remove(key: string) {\n    this.cookies.remove(key);\n  }\n}

\u6700\u540e\uff0c\u5728 global-config.module.ts \u5185\u91cd\u65b0\u6ce8\u518c\u5b83\uff1a

 const alainProvides = [\n   { provide: ALAIN_CONFIG, useValue: alainConfig },\n+  { provide: DA_STORE_TOKEN, useClass: AuthStorageStore },\n ];

\u6ce8\u610f\uff1a\u8fd9\u91cc\u4f9d\u7136\u9700\u8981\u6ce8\u518c\u65b0\u589e\u7684\u6a21\u5757\uff0c\u65b9\u6cd5\u8bf7\u53c2\u8003 @ngx-utils/cookies \u8bf4\u660e\u3002

@ngx-utils/cookies \u5185\u90e8\u4f1a\u6839\u636e REQUEST \u6765\u83b7\u53d6\u5f53\u524d\u7684\u8bf7\u6c42\u5934\u4fe1\u606f\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u4fee\u6539 server.ts\uff1a

  // All regular routes use the Universal engine\n  server.get(\'*\', (req, res) => {\n    res.render(indexHtml, {\n      req,\n+     res,\n      providers: [\n        { provide: APP_BASE_HREF, useValue: req.baseUrl },\n+       { provide: \'REQUEST\', useValue: req },\n+       { provide: \'RESPONSE\', useValue: res },\n      ],\n    });\n  });',meta:{order:110,title:"\u670d\u52a1\u7aef\u6e32\u67d3\uff08SSR\uff09",type:"Dev"},toc:[{id:"\u5f00\u59cb\u4e4b\u524d",title:"\u5f00\u59cb\u4e4b\u524d",h:2},{id:"\u6559\u7a0b",title:"\u6559\u7a0b",h:2,children:[{id:"\u6dfb\u52a0@nguniversal/express-engine",title:"\u6dfb\u52a0 @nguniversal/express-engine",h:3},{id:"\u4e22\u5931Token",title:"\u4e22\u5931Token",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-ssr"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"style-guide",redirectTo:"style-guide/zh",pathMatch:"full"},{path:"style-guide/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/style-guide.en-US.md","zh-CN":"docs/style-guide.zh-CN.md"},content:{"en-US":{content:'

The project built by Angular CLI is already very good in terms of its directory structure. Official website also has an Angular Style Guide (Chinese version) Style guide. It is recommended to read it several times. In addition, NG-ALAIN also has a part of the coding style, the following instructions may be useful for reading the code.

Consistent code style

NG-ALAIN uses ESLint to guarantee code quality and Prettier to optimize the code style.

It is recommended to install several plugins for more friendly development in vscode:

Of course, NG-ALAIN has prepared a complete set of extension packs for everyone, just install NG-ALAIN Extension Pack.

Git - pre commit Hook

The ng lint command provided by Angular, can be very effective in helping us find bugs and readability earlier. Isn\'t it cool if we can guarantee that the lint of the file in staged is automatically done before each commit in the team development process?

NG-ALAIN is configured to do lint each time you commit to staged and you can\'t commit if you find an error.

By default, the *.ts, *.less commit process forces the formatting of the code. You can change the rules by modifying the husky node of package.json.

If hint: The\'.husky/pre-commit\' hook was ignored because it\'s not set as executable. is generated when executing git commit -m "commit", it may be due to permission issues. Try to execute in the project root directory:

chmod ug+x .husky/*\nchmod ug+x .git/hooks/*

Style guide

API documentation

Applications are always inevitable for the development of business components. We can not guarantee that you can remember these after a certain time. So, make sure to include the README.md document in each business component and describe the API, DEMO and other information.

For example:

## When do you use it?\n\nInstruction\n\n## DEMO\n\nInstruction\n\n## API\n\nParameter | Description | Type | Default\n----|------|-----|------\nsrc | The map\'s address  | `string` | -

Module registration

Please parameter module registration guidelines.

Auxiliary item

NG-ALAIN is configured with some options for the CLI to better code.

CLI

Vscode is the best choice for writing Angular. You can type: ng g c list in any directory of the project to generate the corresponding files for the component.

NG-ALAIN is configured by default without generating style files & unit tests. So you will see that only .ts, .html are generated. This is because NG-ALAIN provides a very rich style API, and custom styles are not just needed on most pages. At the same time, unit tests.

Of course, you can easily adjust the default configuration in angular.json.

VSCode snippets

VSCode is the best choice for writing Angular. Naturally NG-ALAIN also created the corresponding snippets extension: ng-zorro-vscode and ng-alain-vscode

',meta:{order:90,title:{"en-US":"Style Guide","zh-CN":"\u7f16\u7801\u89c4\u8303\u5efa\u8bae"},type:"Advance"},toc:[{id:"Consistentcodestyle",title:"Consistent code style",h:2},{id:"Git-precommitHook",title:"Git - pre commit Hook",h:2},{id:"Styleguide",title:"Style guide",h:2,children:[{id:"APIdocumentation",title:"API documentation",h:3},{id:"Moduleregistration",title:"Module registration",h:3}]},{id:"Auxiliaryitem",title:"Auxiliary item",h:2,children:[{id:"CLI",title:"CLI",h:3},{id:"VSCodesnippets",title:"VSCode snippets",h:3}]}]},"zh-CN":{content:'

Angular CLI \u6784\u5efa\u7684\u9879\u76ee\u5c31\u5176\u76ee\u5f55\u7ed3\u6784\u800c\u8a00\u5df2\u7ecf\u975e\u5e38\u68d2\u4e86\uff0c\u540c\u65f6\u5b98\u7f51\u4e5f\u6709\u4e00\u4efd Angular Style Guide\uff08\u4e2d\u6587\u7248\uff09\u98ce\u683c\u6307\u5357\uff0c\u5efa\u8bae\u597d\u597d\u9605\u8bfb\u51e0\u904d\u3002\u9664\u6b64\u4e4b\u5916\uff0cNG-ALAIN \u4e5f\u6709\u4e00\u90e8\u5206\u7f16\u7801\u98ce\u683c\uff0c\u5982\u4e0b\u8bf4\u660e\u53ef\u80fd\u5bf9\u4e8e\u4f60\u9605\u8bfb\u4ee3\u7801\u65f6\u6709\u7528\u3002

\u4e00\u81f4\u7684\u4ee3\u7801\u98ce\u683c

NG-ALAIN \u4f7f\u7528 ESLint \u6765\u4fdd\u8bc1\u4ee3\u7801\u8d28\u91cf \u4e0e Prettier \u6765\u4f18\u5316\u4ee3\u7801\u98ce\u683c\u3002

\u63a8\u8350\u5b89\u88c5\u51e0\u4e2a\u63d2\u4ef6\u5728 vscode \u4e2d\u66f4\u53cb\u597d\u7684\u5f00\u53d1\uff1a

\u5f53\u7136\uff0cNG-ALAIN \u4e3a\u5927\u5bb6\u51c6\u5907\u4e86\u4e00\u5957\u5b8c\u6574\u7684\u6269\u5c55\u5305\uff0c\u53ea\u9700\u8981\u5b89\u88c5 NG-ALAIN Extension Pack \u5373\u53ef\u3002

Git - pre commit \u52fe\u5b50

Angular \u63d0\u4f9b\u7684 ng lint \u547d\u4ee4\u53ef\u4ee5\u975e\u5e38\u6709\u6548\u7684\u5e2e\u52a9\u6211\u4eec\u66f4\u65e9\u53d1\u73b0bug\u3001\u66f4\u9ad8\u7684\u53ef\u8bfb\u6027\uff1b\u5982\u679c\u6211\u4eec\u80fd\u591f\u4fdd\u8bc1\u56e2\u961f\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u6bcf\u4e00\u6b21 commit \u524d\u90fd\u81ea\u52a8\u505a\u4e00\u6b21 staged \u4e2d\u6587\u4ef6\u7684 lint \u7684\u8bdd\uff0c\u90a3\u4e0d\u662f\u975e\u5e38\u9177\u5417\uff1f

NG-ALAIN \u914d\u7f6e\u4e86\u6bcf\u6b21\u5bf9 staged \u8fdb\u884c commit \u65f6\u4f1a\u9884\u5148\u505a lint\uff0c\u82e5\u53d1\u73b0\u9519\u8bef\u5219\u65e0\u6cd5\u63d0\u4ea4\u3002

\u9ed8\u8ba4\u5f00\u542f\u4e86 *.ts\u3001*.less \u7684\u63d0\u4ea4\u8fc7\u7a0b\u4e2d\u5f3a\u5236\u5bf9\u4ee3\u7801\u8fdb\u884c\u683c\u5f0f\u5316\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539 package.json \u7684 husky \u8282\u70b9\u6765\u6539\u53d8\u4e9b\u89c4\u5219\u3002

\u82e5\u5728\u6267\u884c git commit -m "commit" \u65f6\u82e5\u4ea7\u751f hint: The \'.husky/pre-commit\' hook was ignored because it\'s not set as executable. \u65f6\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u6743\u9650\u95ee\u9898\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u5728\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u6267\u884c\uff1a

chmod ug+x .husky/*\nchmod ug+x .git/hooks/*

\u98ce\u683c\u6307\u5357

API\u6587\u6863

\u5e94\u7528\u603b\u662f\u514d\u4e0d\u4e86\u4e1a\u52a1\u7ec4\u4ef6\u7684\u5f00\u53d1\uff0c\u6211\u4eec\u65e0\u6cd5\u4fdd\u8bc1\u82e5\u5e72\u65f6\u95f4\u4e4b\u540e\u4f60\u8fd8\u80fd\u8bb0\u5f97\u8fd9\u4e9b\uff0c\u56e0\u6b64\u52a1\u5fc5\u5728\u6bcf\u4e00\u4e2a\u4e1a\u52a1\u7ec4\u4ef6\u9644\u5e26 README.md \u6587\u6863\uff0c\u5e76\u63cf\u8ff0API\u3001DEMO\u7b49\u4fe1\u606f\uff0c\u4f8b\u5982\uff1a

## \u4f55\u65f6\u4f7f\u7528\uff1f\n\n\u7565\n\n## DEMO\n\n\u7565\n\n## API\n\n\u6210\u5458 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c\n----|------|-----|------\nsrc | \u56fe\u7247\u5730\u5740  | `string` | -

\u6a21\u5757\u6ce8\u518c

\u8bf7\u53c2\u6570\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219\u3002

\u8f85\u52a9\u9879

ng-alain \u914d\u7f6e\u4e86\u4e00\u4e9b\u9488\u5bf9 CLI \u9009\u9879\uff0c\u4ee5\u4fbf\u66f4\u597d\u8fdb\u884c\u7f16\u7801\u5de5\u4f5c\u3002

CLI

vscode \u662f\u7f16\u5199 Angular \u6700\u4f73\u7684\u9009\u62e9\uff0c\u4f60\u53ef\u4ee5\u5728\u9879\u76ee\u7684\u4efb\u4f55\u76ee\u5f55\u91cc\u8f93\u5165\uff1ang g c list \u751f\u6210\u7ec4\u4ef6\u7684\u76f8\u5e94\u7684\u6587\u4ef6\u3002

ng-alain \u9ed8\u8ba4\u914d\u7f6e\u4e86\u4e0d\u751f\u6210\u6837\u5f0f\u6587\u4ef6&\u5355\u5143\u6d4b\u8bd5\uff0c\u56e0\u6b64\uff0c\u4f60\u4f1a\u770b\u5230\u751f\u6210\u7684\u53ea\u6709 .ts\u3001.html\u3002\u8fd9\u662f\u56e0\u4e3a ng-alain \u63d0\u4f9b\u4e86\u975e\u5e38\u4e30\u5bcc\u7684\u6837\u5f0fAPI\uff0c\u5728\u5927\u591a\u6570\u9875\u9762\u4e2d\u81ea\u5b9a\u4e49\u6837\u5f0f\u5e76\u4e0d\u662f\u521a\u9700\u7684\uff1b\u540c\u65f6\uff0c\u5355\u5143\u6d4b\u8bd5\u4e5f\u662f\u5982\u6b64\u3002

\u5f53\u7136\uff0c\u4f60\u53ef\u4ee5\u5f88\u5bb9\u6613\u5728 angular.json \u4e2d\u8c03\u6574\u9ed8\u8ba4\u914d\u7f6e\u3002

vscode snippets

vscode \u662f\u7f16\u5199 Angular \u6700\u4f73\u7684\u9009\u62e9\uff0c\u81ea\u7136 NG-ALAIN \u4e5f\u5236\u4f5c\u4e86\u76f8\u5e94 snippets \u6269\u5c55\u63d2\u4ef6\uff1ang-zorro-vscode \u548c ng-alain-vscode

',meta:{order:90,title:{"en-US":"Style Guide","zh-CN":"\u7f16\u7801\u89c4\u8303\u5efa\u8bae"},type:"Advance"},toc:[{id:"\u4e00\u81f4\u7684\u4ee3\u7801\u98ce\u683c",title:"\u4e00\u81f4\u7684\u4ee3\u7801\u98ce\u683c",h:2,children:[{id:"Git-precommit\u52fe\u5b50",title:"Git - pre commit \u52fe\u5b50",h:3}]},{id:"\u98ce\u683c\u6307\u5357",title:"\u98ce\u683c\u6307\u5357",h:2,children:[{id:"API\u6587\u6863",title:"API\u6587\u6863",h:3},{id:"\u6a21\u5757\u6ce8\u518c",title:"\u6a21\u5757\u6ce8\u518c",h:3}]},{id:"\u8f85\u52a9\u9879",title:"\u8f85\u52a9\u9879",h:2,children:[{id:"CLI",title:"CLI",h:3},{id:"vscodesnippets",title:"vscode snippets",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-style-guide"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"theme",redirectTo:"theme/zh",pathMatch:"full"},{path:"theme/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/theme.md"},content:{"zh-CN":{content:'
',meta:{order:10,title:{"en-US":"Theme","zh-CN":"\u4e3b\u9898\u7cfb\u7edf"},type:"Advance",url:"/theme/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-theme"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"upgrade-v16",redirectTo:"upgrade-v16/zh",pathMatch:"full"},{path:"upgrade-v16/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/upgrade-v16.en-US.md","zh-CN":"docs/upgrade-v16.zh-CN.md"},content:{"en-US":{content:'

This guide applies to the current version ng-alain >= 15;\nIf you encounter problems during the upgrade process, feel free to comment here.\nIf you find any errors in this guide, please point out\nOr you have encountered a new problem and solved it, welcome to comment here.

Before upgrade

  1. Make sure Node.js >= 16.10.0.

  2. Create a new branch, or use other methods to back up the current project.

  3. Delete the package-lock.json or yarn.lock file.

1.Upgrade dependencies

  • Upgrade Angular to 15.x version, Run ng update @angular/core@16 @angular/cli@16 @angular-eslint/schematics@16 ng-zorro-antd@16 ng-alain@16.

  • Run ng update @angular/cdk@16, if you have used @angular/cdk.

  • If any warning messages appear in the console, follow the prompts to modify the corresponding code.

NG-ALAIN scaffolding upgrade all change files, please refer to: #2394.

',meta:{order:1e3,type:"Basic",title:"Upgrade to version 16.0",hot:!0},toc:[{id:"Beforeupgrade",title:"Before upgrade",h:2,children:[{id:"1.Upgradedependencies",title:"1.Upgrade dependencies",h:3}]}]},"zh-CN":{content:'

\u672c\u6307\u5357\u9002\u7528\u4e8e\u5f53\u524d\u7248\u672c ng-alain >= 15 ;\n\u5982\u679c\u5728\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898\uff0c\u6b22\u8fce\u63d0\u51fa\u3002\u63d0\u95ee\u524d\u8bf7\u9605\u8bfb \u5982\u4f55\u5411\u5f00\u6e90\u793e\u533a\u63d0\u95ee\u9898\n\u5982\u679c\u53d1\u73b0\u672c\u6307\u5357\u5b58\u5728\u9057\u6f0f/\u9519\u8bef\uff0c\u8bf7\u6307\u51fa!\n\u6216\u8005\u4f60\u9047\u5230\u4e86\u65b0\u7684\u95ee\u9898\u5e76\u89e3\u51b3\u4e86\uff0c\u6b22\u8fce\u8865\u5145!

\u5f00\u59cb\u4e4b\u524d

  1. \u9996\u5148\u786e\u4fdd\u4f60 Node.js >= 16.10.0

  2. \u521b\u5efa\u65b0\u7684\u5206\u652f\uff0c\u6216\u8005\u4f7f\u7528\u5176\u4ed6\u65b9\u5f0f\u5907\u4efd\u5f53\u524d\u9879\u76ee

  3. \u5220\u9664\u9879\u76ee\u4e0b package-lock.json \u6216 yarn.lock \u6587\u4ef6

\u5347\u7ea7\u6b65\u9aa4

\u5347\u7ea7\u76f8\u5173\u4f9d\u8d56

  • \u5c06\u9879\u76ee\u5347\u7ea7\u5230 Angular 15 \u8fd0\u884c ng update @angular/core@16 @angular/cli@16 @angular-eslint/schematics@16 ng-zorro-antd@16 ng-alain@16\u3002

  • \u5982\u679c\u4f60\u6709\u5355\u72ec\u4f7f\u7528 @angular/cdk \u8bf7\u6267\u884c ng update @angular/cdk@16

  • \u5982\u679c\u63a7\u5236\u53f0\u51fa\u73b0\u8b66\u544a\u6d88\u606f\u8bf7\u6309\u63d0\u793a\u4fee\u6539\u5bf9\u5e94\u4ee3\u7801

NG-ALAIN\u811a\u624b\u67b6\u5347\u7ea7\u5168\u90e8\u53d8\u66f4\u6587\u4ef6\uff0c\u8bf7\u53c2\u8003\uff1a#2394\u3002

',meta:{order:1e3,type:"Basic",title:"\u5347\u7ea7\u5230 16.0 \u7248\u672c",hot:!0},toc:[{id:"\u5f00\u59cb\u4e4b\u524d",title:"\u5f00\u59cb\u4e4b\u524d",h:2},{id:"\u5347\u7ea7\u6b65\u9aa4",title:"\u5347\u7ea7\u6b65\u9aa4",h:2,children:[{id:"\u5347\u7ea7\u76f8\u5173\u4f9d\u8d56",title:"\u5347\u7ea7\u76f8\u5173\u4f9d\u8d56",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-upgrade-v16"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"upgrade",redirectTo:"upgrade/zh",pathMatch:"full"},{path:"upgrade/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/upgrade.en-US.md","zh-CN":"docs/upgrade.zh-CN.md"},content:{"en-US":{content:'

In Architecture we have described the overall composition of the NG-ALAIN scaffolding. We spent a lot of time developing some infrastructure and publishing these to the @delon/* series to Npm. , making the upgrade very easy.

Publishing rule

Similar to @angular/*, the version number of the @delon/* class library will be a version number (NPM version) at each iteration, regardless of whether a class library has been modified.

At the same time, please follow the following publishing rules and update version number:

  • @delon as the infrastructure library, which will be slightly higher in the update frequency, usually updated at least once a week.

  • With BREAKING CHANGES at least one minor version number

  • Update Log

How to upgrade?

Method 1: Command (Recommend)

Unless it\'s a major version update (Similar to upgrading from 12.0.0 to 13.0.0), you only need to run the following command:

ng update ng-alain

Method 2: Modify the version number

Modify package.json All class libraries starting with @delon/ are the latest version number:

"@delon/theme": "^12.0.0"

Replace ^12.0.0 with the latest version number.

Finally, reinstall the dependencies.

yarn

Please read Frequently Asked Questions

Method 3: Update all class libraries

Scaffolding in package.json most libraries use loose version numbers, for example:

^0.1.0 with the ^ symbol indicates that the latest minor version number is used, so 0.7.0 is also the range.

To use this update method, you need to follow these steps:

  • Remove the node_modules folder and the yarn.lock file

  • Execute yarn

Note: This method will install all class libraries in a newer version, but it may cause unnecessary troubles due to damaging changes of third-party t

',meta:{order:80,title:{"en-US":"Upgrade scaffold","zh-CN":"\u5347\u7ea7\u811a\u624b\u67b6"},type:"Dev"},toc:[{id:"Publishingrule",title:"Publishing rule",h:2},{id:"Howtoupgrade",title:"How to upgrade?",h:2,children:[{id:"Method1:CommandRecommend",title:"Method 1: Command (Recommend)",h:3},{id:"Method2:Modifytheversionnumber",title:"Method 2: Modify the version number",h:3},{id:"Method3:Updateallclasslibraries",title:"Method 3: Update all class libraries",h:3}]}]},"zh-CN":{content:'

\u5728 \u4f53\u7cfb\u7ed3\u6784 \u4e2d\u6211\u4eec\u5df2\u7ecf\u63cf\u8ff0\u4e86 NG-ALAIN \u811a\u624b\u67b6\u7684\u6574\u4f53\u6784\u6210\uff0c\u6211\u4eec\u82b1\u4e86\u5927\u91cf\u65f6\u95f4\u53bb\u5f00\u53d1\u4e00\u4e9b\u57fa\u7840\u5efa\u8bbe\uff0c\u5e76\u628a\u8fd9\u4e9b\u4ee5 @delon/* \u7cfb\u5217\u53d1\u5e03\u81f3 Npm \u5f53\u4e2d\uff0c\u4f7f\u5f97\u5347\u7ea7\u53d8\u5f97\u975e\u5e38\u8f7b\u677e\u3002

\u53d1\u5e03\u89c4\u5219

\u540c @angular/* \u7c7b\u4f3c\uff0c@delon/* \u7c7b\u5e93\u7684\u7248\u672c\u53f7\u5728\u6bcf\u4e00\u4e2a\u8fed\u4ee3\u65f6\uff0c\u4e0d\u7ba1\u67d0\u7c7b\u5e93\u662f\u5426\u6709\u4fee\u6539\uff0c\u90fd\u4f1a\u7edf\u4e00\u4e2a\u7248\u672c\u53f7 (NPM version) \u3002

\u540c\u65f6\u6309\u4ee5\u4e0b\u53d1\u5e03\u89c4\u5219\u53ca\u66f4\u65b0\u7248\u672c\u53f7\u8bf4\u660e\uff1a

  • @delon \u4f5c\u4e3a\u57fa\u7840\u5efa\u8bbe\u7c7b\u5e93\uff0c\u5728\u66f4\u65b0\u9891\u7387\u4e0a\u4f1a\u7565\u9ad8\uff0c\u4e00\u822c\u4e00\u5468\u81f3\u5c11\u66f4\u65b0\u4e00\u6b21

  • \u5e26\u6709 BREAKING CHANGES \u81f3\u5c11\u63d0\u5347\u4e00\u4e2a\u6b21\u7248\u672c\u53f7

  • \u66f4\u65b0\u65e5\u5fd7

\u5982\u4f55\u5347\u7ea7\uff1f

\u65b9\u5f0f\u4e00\uff1a\u547d\u4ee4\u884c\uff08\u63a8\u8350\uff09

\u9664\u975e\u662f\u5927\u7248\u672c\u66f4\u65b0\uff08\u5373\u7c7b\u4f3c\u4ece 12.0.0 \u5347\u81f3 13.0.0\uff09\uff0c\u5426\u5219\u53ea\u9700\u8981\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5373\u53ef\uff1a

ng update ng-alain

\u65b9\u5f0f\u4e8c\uff1a\u624b\u52a8\u4fee\u6539\u7248\u672c\u53f7

\u4fee\u6539 package.json \u6240\u6709 @delon/ \u5f00\u5934\u7684\u7c7b\u5e93\u7248\u672c\u53f7\u4e3a\u6700\u65b0\u7248\u672c\u53f7\uff1a

"@delon/theme": "^12.0.0"

\u5c06 ^12.0.0 \u66ff\u6362\u6210\u6700\u65b0\u7248\u672c\u53f7\u3002

\u6700\u540e\uff0c\u91cd\u65b0\u5b89\u88c5\u4f9d\u8d56\u5305\u3002

yarn

\u9047\u5230\u95ee\u9898\u8bf7\u9605\u8bfb \u5e38\u89c1\u95ee\u9898

\u65b9\u5f0f\u4e09\uff1a\u66f4\u65b0\u6240\u6709\u7c7b\u5e93

\u811a\u624b\u67b6\u5728 package.json \u91cc\u591a\u6570\u7c7b\u5e93\u90fd\u662f\u4f7f\u7528\u5bbd\u677e\u7684\u7248\u672c\u53f7\uff0c\u4f8b\u5982\uff1a

^0.1.0 \u5e26\u6709 ^ \u7b26\u53f7\u8868\u793a\u4f7f\u7528\u6700\u65b0\u6b21\u7248\u672c\u53f7\uff0c\u56e0\u6b64\uff0c0.7.0 \u4e5f\u662f\u8be5\u8303\u56f4\u4e4b\u5217\u3002

\u8981\u60f3\u91c7\u7528\u8fd9\u79cd\u66f4\u65b0\u65b9\u5f0f\u9700\u8981\u6309\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a

  • \u79fb\u9664 node_modules \u6587\u4ef6\u5939\u53ca yarn.lock \u6587\u4ef6

  • \u6267\u884c yarn

\u6ce8\u610f\uff1a \u8fd9\u79cd\u65b9\u5f0f\u4f1a\u5bf9\u6240\u6709\u7c7b\u5e93\u6309\u6bd4\u8f83\u65b0\u7684\u7248\u672c\u5b89\u88c5\uff0c\u4f46\u6709\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7531\u4e8e\u7b2c\u4e09\u65b9\u7c7b\u578b\u7684\u7834\u574f\u6027\u53d8\u66f4\u4f1a\u5bfc\u81f4\u4e00\u4e9b\u4e0d\u5fc5

',meta:{order:80,title:{"en-US":"Upgrade scaffold","zh-CN":"\u5347\u7ea7\u811a\u624b\u67b6"},type:"Dev"},toc:[{id:"\u53d1\u5e03\u89c4\u5219",title:"\u53d1\u5e03\u89c4\u5219",h:2},{id:"\u5982\u4f55\u5347\u7ea7\uff1f",title:"\u5982\u4f55\u5347\u7ea7\uff1f",h:2,children:[{id:"\u65b9\u5f0f\u4e00\uff1a\u547d\u4ee4\u884c\uff08\u63a8\u8350\uff09",title:"\u65b9\u5f0f\u4e00\uff1a\u547d\u4ee4\u884c\uff08\u63a8\u8350\uff09",h:3},{id:"\u65b9\u5f0f\u4e8c\uff1a\u624b\u52a8\u4fee\u6539\u7248\u672c\u53f7",title:"\u65b9\u5f0f\u4e8c\uff1a\u624b\u52a8\u4fee\u6539\u7248\u672c\u53f7",h:3},{id:"\u65b9\u5f0f\u4e09\uff1a\u66f4\u65b0\u6240\u6709\u7c7b\u5e93",title:"\u65b9\u5f0f\u4e09\uff1a\u66f4\u65b0\u6240\u6709\u7c7b\u5e93",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-upgrade"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()}]}];let F=(()=>{class e{static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275mod=a.oAB({type:e});static#a=this.\u0275inj=a.cJS({imports:[G.m,R.Bz.forChild(D)]})}return e})()}}]); \ No newline at end of file diff --git a/311.f44daf8ad262677d.js b/311.f44daf8ad262677d.js new file mode 100644 index 000000000..f3490c13e --- /dev/null +++ b/311.f44daf8ad262677d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([[311],{30311:(E,l,s)=>{s.r(l),s.d(l,{DocsModule:()=>F});var R=s(52787),G=s(89359),O=s(93285),a=s(65879),i=s(28749);const D=[{path:"",component:O.S,children:[{path:"",redirectTo:"getting-started/zh",pathMatch:"full"},{path:"acl",redirectTo:"acl/zh",pathMatch:"full"},{path:"acl/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/acl.md"},content:{"zh-CN":{content:'
',meta:{order:50,title:"ACL",type:"Advance",url:"/acl/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-acl"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"architecture",redirectTo:"architecture/zh",pathMatch:"full"},{path:"architecture/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/architecture.en-US.md","zh-CN":"docs/architecture.zh-CN.md"},content:{"en-US":{content:'

NG-ALAIN scaffold is a front-end solution to support middleware and back-end application. It is based on Angular and ng-zorro-antd(Angular implementation of Ant Design). The scaffold includes a set of common functionalities and business component libraries. It reduces lots of infrastructure development overwhelmingly and let you focus on business logic development.

Architecture Diagram

@delon/theme

Theme library of scaffold, we publish the theme library to NPM, which extremely simplifies upgrade effort.

Theme library includes not only essential styles(CSS tool like bootstrap) required by NG-ALAIN, but also a set of common data rendering(Pipe) and service tools(page title, scroll bar, etc..), which are needed during daily development.

@delon/abc

Scaffold provides a default set of business components, which abstract commonly used block/area in console service. We will continue to maintain and iterate the components. Provide more advanced abstract components than Ant Design base components to middleware and back-end business.

@delon/chart

@delon/chart chart library is customised based on G2. Providing commonly used chart suite in business development. It can be used alone or composed together to achieve more complex and fancy display effect.

@delon/form

@delon/form follows standard of JSON Schema to build dynamic forms.

@delon/auth

User Authentication module is used for resolving steps to obtain, save and use authentication.

@delon/acl

ACL Access Control List is a very simple role based permission control. It can even reach the granularity of controlling the visibility of a button.

@delon/cache

Reduce the Http request by storing cache of the dictionary, city data, etc. into memory or persistence storage.

@delon/mock

Mock will intercept Angular HTTP request and return testing data.

@delon/util

Daily Utilities\u3002

@delon/testing

Commonly used testing suite.

CLI Schematics

CLI Tool

Directory Structure

Schematic diagram of directory structure\uff1a

\u251c\u2500\u2500 _mock                                       # Mock Data rule\n\u251c\u2500\u2500 src\n\u2502\xa0\xa0 \u251c\u2500\u2500 app\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 core                                # Core module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 i18n\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 net\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 default.interceptor.ts      # Default HTTP interceptor\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 services\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 startup.service.ts          # Initialize project configuration\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 core.module.ts                  # Core module file\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 layout                              # Core layout\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 **                              # Business directory\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes.module.ts                # Service routing module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 routes-routing.module.ts        # Service routes registration\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared                              # Shared module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-delon.module.ts          # @Delon/* import of secondary shared modules\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-zorro.module.ts          # NG-ZORRO import of secondary shared modules\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 shared.module.ts                # Shared module file\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 app.component.ts                    # Root component\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 app.module.ts                       # Root module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 global-config.module.ts             # @delon & ng-zorro global config\n\u2502\xa0\xa0 \u251c\u2500\u2500 assets                                  # Local static resource\n\u2502\xa0\xa0 \u251c\u2500\u2500 environments                            # Environment variable configuration\n\u2502\xa0\xa0 \u251c\u2500\u2500 styles                                  # Style directory\n\u2514\u2500\u2500 \u2514\u2500\u2500 style.less                              # Style guide entry

The following is a description and use of each directory and file.

_mock

The Mock data rules directory, if you create a project via Command Line Tools, you can specify the --mock parameter to determine if the Mock function is required.

src/app/core/core.module.ts

The core module will only be imported once. Therefore, core service classes (eg, messages, data access, etc.) that are required for the entire ** business module should exist here.

src/app/core/i18n

Internationalization data loading and processing related classes. If you create a project via Command Line Tool, you can specify the -di parameter to determine whether internationalization support is required.

src/app/core/net

The default interceptor, where you can handle request parameters, request exceptions, business exceptions, and so on.

src/app/core/services/startup.service.ts

Useful when you need to execute some remote data (eg application information, user information, etc.) before Angular launches.

It is a simple method and returns a Promise object, unless Angular will abort the launch unless resolve(null) is explicitly executed.

src/app/layout

Layout file code, refer to the page structure section.

src/app/routes

Business module, all your business code will be here.

src/app/shared/shared.module.ts

The shared module means that some third-party modules, custom components, and custom instructions that you need to use for the entire business module should exist here. In addition, for @delon & NG-ZORRO, two shared secondary module imports, shared-delon.module.ts andshared-zorro.module.ts.

src/app/global-config.module.ts

Global configuration for @delon & NG-ZORRO.

src/environments

The application environment variable contains the following values:

  • SERVER_URL All HTTP request prefixes

  • production Whether the production environment

  • useHash Whether the route is useHash mode

    <
',meta:{order:20,title:"Architecture",type:"Basic",i18n:"need-update"},toc:[{id:"ArchitectureDiagram",title:"Architecture Diagram",h:2},{id:"DirectoryStructure",title:"Directory Structure",h:2}]},"zh-CN":{content:'

NG-ALAIN \u76ee\u6807\u662f\u63d0\u4f9b\u66f4\u591a\u901a\u7528\u6027\u4e1a\u52a1\u6a21\u5757\uff0c\u8ba9\u5f00\u53d1\u8005\u66f4\u52a0\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u3002\u6240\u4ee5\u5728\u4f60\u7740\u624b\u5f00\u59cb\u5f00\u53d1\u524d\uff0c\u6709\u5fc5\u8981\u4e86\u89e3\u6574\u4e2a NG-ALAIN \u7684\u4f53\u7cfb\u7ed3\u6784\uff0c\u4ece\u6574\u4f53\u4e0a\u4e86\u89e3 NG-ALAIN \u5305\u542b\u4e86\u54ea\u4e9b\u4e1c\u897f\u53ca\u5176\u542b\u4e49\uff0c\u624d\u80fd\u66f4\u597d\u7684\u5229\u7528\u8fd9\u4e9b\u4e1a\u52a1\u7ec4\u4ef6\u5e93\u5feb\u901f\u6784\u5efa\u9879\u76ee\u3002

\u7ed3\u6784\u56fe

\u7c7b\u5e93\u6587\u6863\u63cf\u8ff0
@delon/theme\u6587\u6863\u4e3b\u9898\u7cfb\u7edf\u9664\u4e86\u5305\u542b NG-ALAIN \u57fa\u7840\u6846\u67b6\u53ca\u6240\u9700\u6837\u5f0f\uff08\u5305\u542bCSS\u5de5\u5177\u96c6\uff0c\u4e00\u5957\u7c7b\u4f3cBootstrap\uff09\u4ee5\u5916\uff0c\u8fd8\u5305\u542b\u4e00\u4e9b\u901a\u7528\u7684\u6570\u636e\u6e32\u67d3\uff08Pipe\uff09\u3001\u670d\u52a1\u5de5\u5177\u7c7b\uff08\u9875\u9762\u6807\u9898\u3001\u6eda\u52a8\u6761\u7b49\uff09\u7684\u96c6\u5408\uff0c\u8fd9\u4e9b\u662f\u65e5\u5e38\u5fc5\u4e0d\u53ef\u5c11\u7684\u4e00\u4e9b\u7ec4\u6210
@delon/abc\u6587\u6863\u811a\u624b\u67b6\u5185\u63d0\u4f9b\u4e86\u4e00\u5957\u9ed8\u8ba4\u4e1a\u52a1\u7ec4\u4ef6\uff0c\u8fd9\u4e9b\u7ec4\u4ef6\u62bd\u8c61\u4e86\u63a7\u5236\u53f0\u4e1a\u52a1\u4e2d\u7684\u4e00\u4e9b\u5e38\u89c1\u533a\u5757\u3002\u6211\u4eec\u5c06\u6301\u7eed\u7ef4\u62a4\u548c\u8fed\u4ee3\u8fd9\u4e9b\u7ec4\u4ef6\uff0c\u4e3a\u4e2d\u540e\u53f0\u4e1a\u52a1\u63d0\u4f9b\u6bd4 Ant Design \u57fa\u7840\u7ec4\u4ef6\u66f4\u9ad8\u7ea7\u522b\u7684\u62bd\u8c61
@delon/chart\u6587\u6863\u57fa\u4e8e G2 \u7684\u57fa\u7840\u4e0a\u4e8c\u6b21\u5c01\u88c5\uff0c\u63d0\u4f9b\u4e86\u4e1a\u52a1\u4e2d\u5e38\u7528\u7684\u56fe\u8868\u5957\u4ef6\uff0c\u53ef\u4ee5\u5355\u72ec\u4f7f\u7528\uff0c\u4e5f\u53ef\u4ee5\u7ec4\u5408\u8d77\u6765\u5b9e\u73b0\u590d\u6742\u7684\u5c55\u793a\u6548\u679c
@delon/form\u6587\u6863\u57fa\u4e8e JSON Schema \u6807\u51c6\u7684\u52a8\u6001\u6784\u5efa\u8868\u5355
@delon/auth\u6587\u6863\u7528\u6237\u8ba4\u8bc1\u6a21\u5757\uff0c\u7528\u4e8e\u89e3\u51b3\u5982\u4f55\u83b7\u53d6\u3001\u5b58\u53d6\u3001\u4f7f\u7528\u8fd9\u4e09\u4e2a\u6b65\u9aa4\u7684\u7528\u6237\u8ba4\u8bc1\u73af\u8282
@delon/acl\u6587\u6863\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff0c\u662f\u4e00\u79cd\u975e\u5e38\u7b80\u5355\u7684\u57fa\u4e8e\u89d2\u8272\u6743\u9650\u63a7\u5236\uff0c\u751a\u81f3\u8fbe\u5230\u63a7\u5236\u67d0\u4e2a\u6309\u94ae\u663e\u9690\u7684\u7c92\u5ea6
@delon/cache\u6587\u6863\u5c06\u5b57\u5178\u3001\u57ce\u5e02\u6570\u636e\u7b49\u7f13\u5b58\u81f3\u5185\u5b58\u6216\u6301\u4e45\u5316\u5f53\u4e2d\uff0c\u6709\u6548\u51cf\u5c11 Http \u8bf7\u6c42
@delon/mock\u6587\u6863Mock \u4f1a\u62e6\u622a Angular Http \u8bf7\u6c42\u5e76\u8fd4\u56de\u6d4b\u8bd5\u6570\u636e\uff0c\u5f53\u540e\u7aef\u672a\u5b8c\u6210\u63a5\u53e3\u65f6 Mock \u6280\u672f\u662f\u4e00\u9879\u4e0d\u4f1a\u5f71\u54cd\u524d\u7aef\u5f00\u53d1\u8fdb\u5ea6\u7684\u5de5\u5177
@delon/util\u6587\u6863\u5305\u542b\u6570\u7ec4\u3001\u5ef6\u8fdf\u3001\u5b57\u7b26\u4e32\u3001\u65e5\u671f\u3001\u6821\u9a8c\u7b49\u5e38\u89c1\u5de5\u5177\u96c6
@delon/testing-\u5e38\u7528\u6d4b\u8bd5\u5957\u4ef6
CLI Schematics\u6587\u6863\u5feb\u901f\u751f\u6210\u7edf\u4e00\u7684\u6a21\u677f\u3001\u53ef\u63d2\u62d4\u7684\u63d2\u4ef6\u7b49

\u76ee\u5f55\u7ed3\u6784

\u5f53\u4f7f\u7528 ng add ng-alain \u751f\u6210\u540e\u7684 NG-ALAIN \u811a\u624b\u67b6\uff0c\u5b83\u7684\u57fa\u672c\u76ee\u5f55\u7ed3\u6784\u6982\u7565\u56fe\u5982\u4e0b\uff1a

\u251c\u2500\u2500 _mock                                       # Mock \u6570\u636e\u89c4\u5219\u76ee\u5f55\n\u251c\u2500\u2500 angular.json                                # Angular \u9879\u76ee\u914d\u7f6e\u6587\u4ef6\n\u251c\u2500\u2500 src\n\u2502\xa0\xa0 \u251c\u2500\u2500 app\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 core                                # \u6838\u5fc3\u6a21\u5757\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 i18n\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 net\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 default.interceptor.ts      # \u9ed8\u8ba4HTTP\u62e6\u622a\u5668\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 services\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 startup.service.ts          # \u521d\u59cb\u5316\u9879\u76ee\u914d\u7f6e\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 core.module.ts                  # \u6838\u5fc3\u6a21\u5757\u6587\u4ef6\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 layout                              # \u901a\u7528\u5e03\u5c40\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 **                              # \u4e1a\u52a1\u76ee\u5f55\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes.module.ts                # \u4e1a\u52a1\u8def\u7531\u6a21\u5757\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 routes-routing.module.ts        # \u4e1a\u52a1\u8def\u7531\u6ce8\u518c\u53e3\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared                              # \u5171\u4eab\u6a21\u5757\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-delon.module.ts          # @Delon/* \u6b21\u7ea7\u5171\u4eab\u6a21\u5757\u5bfc\u5165\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-zorro.module.ts          # NG-ZORRO \u6b21\u7ea7\u5171\u4eab\u6a21\u5757\u5bfc\u5165\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 shared.module.ts                # \u5171\u4eab\u6a21\u5757\u6587\u4ef6\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 app.component.ts                    # \u6839\u7ec4\u4ef6\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 app.module.ts                       # \u6839\u6a21\u5757\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 global-config.module.ts             # @delon & ng-zorro \u5168\u5c40\u914d\u7f6e\u9879\n\u2502\xa0\xa0 \u251c\u2500\u2500 assets                                  # \u672c\u5730\u9759\u6001\u8d44\u6e90\n\u2502\xa0\xa0 \u251c\u2500\u2500 environments                            # \u73af\u5883\u53d8\u91cf\u914d\u7f6e\n\u2502\xa0\xa0 \u251c\u2500\u2500 styles                                  # \u6837\u5f0f\u76ee\u5f55\n\u2514\u2500\u2500 \u2514\u2500\u2500 style.less                              # \u6837\u5f0f\u5f15\u5bfc\u5165\u53e3

\u4ee5\u4e0b\u662f\u9488\u5bf9\u5404\u4e2a\u76ee\u5f55\u53ca\u6587\u4ef6\u8bf4\u660e\u53ca\u4f7f\u7528\u76ee\u7684\uff1a

',meta:{order:20,title:"\u4f53\u7cfb\u7ed3\u6784",type:"Basic",i18n:"need-update"},toc:[{id:"\u7ed3\u6784\u56fe",title:"\u7ed3\u6784\u56fe",h:2},{id:"\u76ee\u5f55\u7ed3\u6784",title:"\u76ee\u5f55\u7ed3\u6784",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-architecture"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"auth",redirectTo:"auth/zh",pathMatch:"full"},{path:"auth/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/auth.md"},content:{"zh-CN":{content:'
',meta:{order:40,title:{"en-US":"Auth","zh-CN":"\u7528\u6237\u8ba4\u8bc1"},type:"Advance",url:"/auth/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-auth"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"cache",redirectTo:"cache/zh",pathMatch:"full"},{path:"cache/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/cache.md"},content:{"zh-CN":{content:'
',meta:{order:70,title:{"en-US":"Cache","zh-CN":"\u7f13\u5b58"},type:"Advance",url:"/cache/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-cache"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"changelog",redirectTo:"changelog/zh",pathMatch:"full"},{path:"changelog/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/changelog.en-US.md","zh-CN":"docs/changelog.zh-CN.md"},content:{"en-US":{content:'

NG-ALAIN strictly follows Semantic Versioning 2.0.0.

Release Schedule

  • Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bugfix).

  • Monthly release: minor version at the end of every month for new features.

  • Major version release is not included in this schedule for breaking change and new features.


16.4.1 (2023-10-20)

Bug Fixes

16.4.0 (2023-10-19)

Bug Fixes

  • abc:onboarding: correct dark style (#1650) (7a21933)

  • abc:st: correct width misalignment in export excel (#1655) (76db16c)

  • cli: missing fileReplacements in Angular16 (#1658) (c5b46ee)

  • form:array: fix invalid ui in ui schema (#1657) (6b3c711)

  • form:select: correct trigger onSearch in reset when set value (#1660) (fa234cd)

  • form: fix visibleIf to correctly trigger reset (#1653) (d80f8fb)

  • form: fix render UI can\'t be inherit (#1661) (ee96aaa)

  • fix(form:widget:object): fix missing optional of card type (#1661) (ee96aaa)

Features

16.3.0 (2023-09-01)

SCAFFOLDING

  • enabled bindToComponentInputs #2409.

Bug Fixes

  • abc:pdf: fix ignore dependency pdfjs-dist (If you use local path to load the libary, you need to install the dependency yourself. pdfjs-dist depends on canvas, which may be slow to install dependencies due to environmental factors) (#1641) (#1641) (b987bab)

  • form:select: fix ignore reset option data when set onSearch (#1644) (1f8def7)

  • theme:http: fix missing content of HttpOptions (#1640) (28eeceb)

Features

16.2.1 (2023-08-06)

Bug Fixes

16.2.0 (2023-07-21)

SCAFFOLDING

  • Breaking changes router guard #2407.

  • Code style #2405.

Bug Fixes

  • abc:onboarding: fix ComponentFactoryResolver (#1624) (ae065c2)

  • chat:timeline: fix y2 to be optional (#1622) (b565ddf)

  • cli: remove skipTests from generating module (#1616) (0da83f8)

  • fix misalignment of col placeholders in se, sv, sg (#1617) (83b08c9)

  • theme:modal: removed nzComponentParams (#1615) (45863a1)

Features

  • abc:st: add onCell, support colSpan and rowSpan merging (#1613) (9ab109e)

  • abc:st: button support function method of icon, className (#1618) (6bf27da)

  • theme:layout-default: add fetching property (#1614) (8446da6)

BREAKING CHANGE

  • acl: refactor ACLGuard to aclCanMatch, aclCanActivate, aclCanActivateChild

  • auth:simple refactor SimpleGuard to authSimpleCanMatch, authSimpleCanActivate, authSimpleCanActivateChild

  • auth:jtw refactor JWTGuard to authJWTCanMatch, authJWTCanActivate, authJWTCanActivateChild

  • i18n refactor AlainI18NGuard to alainI18nCanMatch, alainI18nCanActivate, alainI18nCanActivateChild

16.1.1 (2023-07-16)

Bug Fixes

  • cli: remove stylelint-config-prettier (#1606) (2ecc28b)

  • theme: fix ant-btn preserve white spaces when is link type (#1605) (0fdd15d)

Features

16.0.1 (2023-06-08)

  • fix ng-zorro-antd dependency

16.0.0 (2023-06-07)

Bug Fixes

  • abc:st: fix error row class in fixed column title cell (#1598) (d2bf211)

  • form: fix inheriting references to other of ui (#1600) (a0150e7)

Old Versions

All releases notes can be found here

',meta:{order:100,title:"Change Log",type:"Other"},toc:[{id:"16.4.12023-10-20",title:"16.4.1 (2023-10-20)",h:2,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"16.4.02023-10-19",title:"16.4.0 (2023-10-19)",h:1},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"16.3.02023-09-01",title:"16.3.0 (2023-09-01)",h:1},{id:"SCAFFOLDING",title:"SCAFFOLDING",h:3},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3}]},{id:"16.2.12023-08-06",title:"16.2.1 (2023-08-06)",h:2,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"16.2.02023-07-21",title:"16.2.0 (2023-07-21)",h:1},{id:"SCAFFOLDING",title:"SCAFFOLDING",h:3},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"BREAKINGCHANGE",title:"BREAKING CHANGE",h:3},{id:"16.1.12023-07-16",title:"16.1.1 (2023-07-16)",h:1},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3}]},{id:"16.0.12023-06-08",title:"16.0.1 (2023-06-08)",h:2,children:[{id:"16.0.02023-06-07",title:"16.0.0 (2023-06-07)",h:1},{id:"BugFixes",title:"Bug Fixes",h:3}]},{id:"OldVersions",title:"Old Versions",h:2}]},"zh-CN":{content:'

NG-ALAIN \u4e25\u683c\u9075\u5faa Semantic Versioning 2.0.0 \u8bed\u4e49\u5316\u7248\u672c\u89c4\u8303\u3002

\u53d1\u5e03\u5468\u671f

  • \u4fee\u8ba2\u7248\u672c\u53f7\uff1a\u6bcf\u5468\u672b\u4f1a\u8fdb\u884c\u65e5\u5e38 bugfix \u66f4\u65b0\u3002\uff08\u5982\u679c\u6709\u7d27\u6025\u7684 bugfix\uff0c\u5219\u4efb\u4f55\u65f6\u5019\u90fd\u53ef\u53d1\u5e03\uff09

  • \u6b21\u7248\u672c\u53f7\uff1a\u6bcf\u6708\u53d1\u5e03\u4e00\u4e2a\u5e26\u6709\u65b0\u7279\u6027\u7684\u5411\u4e0b\u517c\u5bb9\u7684\u7248\u672c\u3002

  • \u4e3b\u7248\u672c\u53f7\uff1a\u542b\u6709\u7834\u574f\u6027\u66f4\u65b0\u548c\u65b0\u7279\u6027\uff0c\u4e0d\u5728\u53d1\u5e03\u5468\u671f\u5185\u3002


16.4.1 (2023-10-20)

Bug Fixes

16.4.0 (2023-10-19)

Bug Fixes

  • abc:onboarding: \u7ea0\u6b63\u6697\u9ed1\u98ce\u683c (#1650) (7a21933)

  • abc:st: \u7ea0\u6b63\u5bfc\u51fa Excel \u4e2d\u7684\u5bbd\u5ea6\u672a\u5bf9\u9f50\u95ee\u9898 (#1655) (76db16c)

  • cli: \u4fee\u590d Angular 16 \u4e0b ng new ng-alain \u7f3a\u5931 fileReplacements (#1658) (c5b46ee)

  • form:array: \u4fee\u590d ui \u5c5e\u6027\u65e0\u6cd5\u5408\u5e76 ui (#1657) (6b3c711)

  • form:select: \u7ea0\u6b63\u6709\u9ed8\u8ba4\u503c\u65f6\u521d\u59cb\u5316\u65f6\u65e0\u6cd5\u89e6\u53d1 onSearch (#1660) (fa234cd)

  • form: \u4fee\u590d\u8bbe\u7f6e visibleIf \u89e6\u53d1\u65f6\u4e5f\u4f1a\u89e6\u53d1 reset \u65b9\u6cd5 (#1653) (d80f8fb)

  • form: \u4fee\u590d\u6e32\u67d3UI\u4e0d\u5e94\u88ab\u7ee7\u627f(#1661) (ee96aaa)

  • fix(form:widget:object): \u4fee\u590d card \u6837\u5f0f\u7f3a\u5931 optional (#1661) (ee96aaa)

Features

  • abc:onboarding: \u65b0\u589e key \u7528\u4e8e\u81ea\u52a8\u5224\u65ad\u662f\u5426\u53d1\u751f\u7248\u672c\u53d8\u5316 (#1652) (5edaa97)

  • abc:theme: \u7ea0\u6b63 ng-tag \u5217\u8868\u6362\u884c\u95f4\u8ddd\u95ee\u9898 (#1647) (5da4ecb)

  • cli: add provide function (#1654) (c8779f4)

16.3.0 (2023-09-01)

SCAFFOLDING

  • \u542f\u7528 bindToComponentInputs #2409.

Bug Fixes

  • abc:pdf: \u5ffd\u7565\u4f9d\u8d56 pdfjs-dist\uff08\u82e5\u4f7f\u7528\u672c\u5730\u52a0\u8f7d\u6a21\u5f0f\uff0c\u9700\u8981\u81ea\u884c\u5b89\u88c5\u8be5\u4f9d\u8d56\uff0cpdfjs-dist \u4f9d\u8d56\u4e86 canvas \u53ef\u80fd\u4f1a\u56e0\u4e3a\u73af\u5883\u56e0\u7d20\u5b89\u88c5\u4f9d\u8d56\u5f88\u6162\uff09 (#1641) (b987bab)

  • form:select: \u5f53\u8bbe\u7f6e onSearch \u65f6\u91cd\u7f6e\u6570\u636e\u65f6\u4f1a\u5ffd\u7565\u66f4\u65b0\u9884\u9009\u6570\u636e (#1644) (1f8def7)

  • theme:http: \u7ea0\u6b63 HttpOptions \u7f3a\u5c11 content (#1640) (28eeceb)

Features

  • abc:cell: \u65b0\u589e cell \u5355\u5143\u683c\u6570\u636e\u7ec4\u4ef6 (#1530) (26023ca)

  • abc:page-header: \u65b0\u589e titleSub \u5b50\u6807\u9898\u5c5e\u6027 (#1643) (79e229f)

  • abc:st: \u6807\u7b7e\u6216\u5fbd\u6807\u652f\u6301 tooltip (#1634) (0e9006e)

  • abc:sv: \u65b0\u589e bordered \u662f\u5426\u663e\u793a\u8fb9\u6846 (#1628) (ccfa5e1)

  • cli: ng add \u5f00\u542f bindToComponentInputs (#1630) (9717d9d)

  • theme:drawer: \u65b0\u589e closeAll, openDrawers \u65b9\u6cd5 (#1627) (bab3d0c)

  • theme:modal: \u652f\u6301\u767e\u5206\u6bd4\u5927\u5c0f (#1626) (8b52a08)

16.2.1 (2023-08-06)

Bug Fixes

  • abc:reuse-tab: \u4fee\u590d\u7f3a\u5c11\u5bfc\u51fa\u7f13\u5b58\u76f8\u5173 (#1633) (2c7def7)

  • auth:cookie: \u4fee\u590d\u8fc7\u671f\u503c\u5e94\u4e0e expires \u540c\u6b65 (#1636) (eca7bcb)

  • theme:table: \u4fee\u590d\u5355\u56fe\u50cf\u7684\u95f4\u8ddd\u95ee\u9898 (#1629) (994e2be)

  • theme:title: \u4fee\u590d\u5e94\u5ffd\u7565\u7a7a\u6807\u9898 (#1638) (c7bf339)

16.2.0 (2023-07-21)

SCAFFOLDING

  • \u8def\u7531\u5b88\u536b\u7684\u7834\u574f\u6027\u53d8\u66f4 #2407.

  • \u4ee3\u7801\u98ce\u683c\u53d8\u66f4 #2405.

Bug Fixes

  • abc:onboarding: \u4fee\u590d\u4f7f\u7528\u8fc7\u671f\u65b9\u6cd5 ComponentFactoryResolver (#1624) (ae065c2)

  • chat:timeline: \u4fee\u590d y2 \u6307\u6807\u6570\u636e\u4e3a\u53ef\u9009 (#1622) (b565ddf)

  • cli: \u79fb\u9664\u751f\u6210\u6a21\u5757\u65f6\u5305\u542b\u65e0\u6548\u53c2\u6570 skipTests (#1616) (0da83f8)

  • \u4fee\u590d col \u5360\u4f4d\u7b26\u4e0d\u5bf9\u9f50\u95ee\u9898\uff0c\u6d89\u53ca se, sv, sg \u7ec4\u4ef6 (#1617) (83b08c9)

  • theme:modal: \u4fee\u590d\u8fc7\u671f\u53c2\u6570 nzComponentParams (#1615) (45863a1)

Features

  • abc:st: \u65b0\u589e onCell \u65b9\u6cd5\u652f\u6301\u5408\u5e76\u5217\u6216\u884c (#1613) (9ab109e)

  • abc:st: \u65b0\u589e icon, className \u65b9\u6cd5\u652f\u6301\u52a8\u6001\u8c03\u6574 (#1618) (6bf27da)

  • theme:layout-default: \u65b0\u589e fetchingStrictly, fetching \u5c5e\u6027\u7528\u4e8e\u81ea\u4e3b\u53d7\u63a7\u9876\u90e8\u52a0\u8f7d\u52a8\u753b\u72b6\u6001 (#1614) (8446da6)

BREAKING CHANGE

  • acl: \u91cd\u6784 ACLGuard \u4e3a aclCanMatch, aclCanActivate, aclCanActivateChild

  • auth:simple \u91cd\u6784 SimpleGuard \u4e3a authSimpleCanMatch, authSimpleCanActivate, authSimpleCanActivateChild

  • auth:jtw \u91cd\u6784 JWTGuard \u4e3a authJWTCanMatch, authJWTCanActivate, authJWTCanActivateChild

  • i18n \u91cd\u6784 AlainI18NGuard \u4e3a alainI18nCanMatch, alainI18nCanActivate, alainI18nCanActivateChild

16.1.1 (2023-07-16)

Bug Fixes

  • cli: \u79fb\u9664\u8fc7\u671f\u5e93 stylelint-config-prettier (#1606) (2ecc28b)

  • theme: \u4fee\u590d\u5ffd\u7565\u4e24\u4e2a nzType="link" \u6309\u9519\u65f6\u95f4\u8ddd (#1605) (0fdd15d)

Features

  • abc:reuse-tab: \u65b0\u589e\u53ef\u81ea\u5b9a\u4e49\u7f13\u5b58\u5b58\u50a8 (#1609) (11599d9)

  • theme:modal: \u65b0\u589e\u652f\u6301\u62d6\u62fd\u53c2\u6570 drag (#1607) (3cd73f7)

16.0.1 (2023-06-08)

  • \u4fee\u590d ng-zorro-antd \u9519\u4f4d\u7248\u672c\u4f9d\u8d56

16.0.0 (2023-06-07)

Bug Fixes

  • abc:st: \u4fee\u590d\u56fa\u5b9a\u5217\u6837\u5f0f\u9519\u8bef (#1598) (d2bf211)

  • form: \u4fee\u590dui\u7531\u4e8e\u7ee7\u627f\u5173\u7cfb\u5bfc\u81f4\u91cd\u590d\u5f15\u7528 (#1600) (a0150e7)

\u5386\u53f2\u7248\u672c

\u5386\u53f2\u7248\u672c\u7684\u66f4\u65b0\u8bb0\u5f55\u53ef\u4ee5\u5728 Github',meta:{order:100,title:"\u66f4\u65b0\u65e5\u5fd7",type:"Other"},toc:[{id:"16.4.12023-10-20",title:"16.4.1 (2023-10-20)",h:2,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"16.4.02023-10-19",title:"16.4.0 (2023-10-19)",h:1},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"16.3.02023-09-01",title:"16.3.0 (2023-09-01)",h:1},{id:"SCAFFOLDING",title:"SCAFFOLDING",h:3},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3}]},{id:"16.2.12023-08-06",title:"16.2.1 (2023-08-06)",h:2,children:[{id:"BugFixes",title:"Bug Fixes",h:3},{id:"16.2.02023-07-21",title:"16.2.0 (2023-07-21)",h:1},{id:"SCAFFOLDING",title:"SCAFFOLDING",h:3},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3},{id:"BREAKINGCHANGE",title:"BREAKING CHANGE",h:3},{id:"16.1.12023-07-16",title:"16.1.1 (2023-07-16)",h:1},{id:"BugFixes",title:"Bug Fixes",h:3},{id:"Features",title:"Features",h:3}]},{id:"16.0.12023-06-08",title:"16.0.1 (2023-06-08)",h:2,children:[{id:"16.0.02023-06-07",title:"16.0.0 (2023-06-07)",h:1},{id:"BugFixes",title:"Bug Fixes",h:3}]},{id:"\u5386\u53f2\u7248\u672c",title:"\u5386\u53f2\u7248\u672c",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-changelog"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"cli",redirectTo:"cli/zh",pathMatch:"full"},{path:"cli/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/cli.md"},content:{"zh-CN":{content:'

',meta:{order:10,title:{"en-US":"Cli","zh-CN":"\u547d\u4ee4\u884c\u5de5\u5177"},type:"Other",url:"/cli/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-cli"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"contributing",redirectTo:"contributing/zh",pathMatch:"full"},{path:"contributing/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/contributing.en-US.md","zh-CN":"docs/contributing.zh-CN.md"},content:{"en-US":{content:'

The following is a set of guidelines for contributing to ng-alain. Please spend several minutes in reading these guidelines before you create an issue or pull request.

Code of Conduct

We have adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Open Development

All work on ng-alain\u3001delon happens directly. Both core team members and external contributors send pull requests which go through the same review process.

Bugs

We are using GitHub Issues for bug tracing. The best way to get your bug fixed via GitHub Issues and provide a reprduction with this template.

Before you reporting a bug, please make sure you\'ve searched exists issues, and read our FAQ.

Proposing a Change

If you intend to change the public API or introduce new feature that via GitHub Issues.

Your First Pull Request

Working on your first Pull Request? You can learn how from this free video series:

How to Contribute to Open Source

To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs or small features that have a relatively limited scope. This is a great place to get started.

If you decide to fix an issue, please be sure to check the comment thread in case somebody is already working on a fix. If nobody is working on it at the moment, please leave a comment stating that you intend to work on it so other people don\u2019t accidentally duplicate your effort.

If somebody claims an issue but doesn\u2019t follow up for more than two weeks, it\u2019s fine to take over it but you should still leave a comment.

Sending a Pull Request

The core team is monitoring for pull requests. We will review your pull request and either merge it, request changes to it, or close it with an explanation.

Before submitting a pull request, please make sure the following is done:

  1. Run yarn in the repository root.

  2. If you\u2019ve fixed a bug or added code that should be tested, add tests!

  3. Ensure the test suite passes (npm run test).

  4. Make sure your code lints (npm run lint). Tip: Lint runs automatically when you git commit.

  5. Make sure rebase your code to keep the history clean.

  6. Make sure your commit message meet the guidelines

Development Workflow

After cloning ng-alain or delon, run yarn to fetch its dependencies. Then, you can run several commands:

delon

  1. npm run site runs ng-alain.com website locally

  2. npm run lint checks the code style

  3. npm run test runs the complete test suite

  4. npm run release build packages relases

ng-alain

  1. npm run site runs demo site website locally

  2. npm run lint checks the code style

  3. npm test runs test suite

  4. npm run build creates build of demo site

    <
',meta:{order:40,title:"Contributing",type:"Other"},toc:[{id:"CodeofConduct",title:"Code of Conduct",h:2},{id:"OpenDevelopment",title:"Open Development",h:2},{id:"Bugs",title:"Bugs",h:2},{id:"ProposingaChange",title:"Proposing a Change",h:2},{id:"YourFirstPullRequest",title:"Your First Pull Request",h:2},{id:"SendingaPullRequest",title:"Sending a Pull Request",h:2},{id:"DevelopmentWorkflow",title:"Development Workflow",h:2,children:[{id:"delon",title:"delon",h:3},{id:"ng-alain",title:"ng-alain",h:3}]}]},"zh-CN":{content:'

\u8fd9\u7bc7\u6307\u5357\u4f1a\u6307\u5bfc\u4f60\u5982\u4f55\u4e3a NG-ALAIN \u8d21\u732e\u4e00\u4efd\u81ea\u5df1\u7684\u529b\u91cf\uff0c\u8bf7\u5728\u4f60\u8981\u63d0 issue \u6216\u8005 pull request \u4e4b\u524d\u82b1\u51e0\u5206\u949f\u6765\u9605\u8bfb\u4e00\u904d\u8fd9\u7bc7\u6307\u5357\u3002

\u884c\u4e3a\u51c6\u5219

\u6211\u4eec\u6709\u4e00\u4efd \u884c\u4e3a\u51c6\u5219\uff0c\u5e0c\u671b\u6240\u6709\u7684\u8d21\u732e\u8005\u90fd\u80fd\u9075\u5b88\uff0c\u8bf7\u82b1\u65f6\u95f4\u9605\u8bfb\u4e00\u904d\u5168\u6587\u4ee5\u786e\u4fdd\u4f60\u80fd\u660e\u767d\u54ea\u4e9b\u662f\u53ef\u4ee5\u505a\u7684\uff0c\u54ea\u4e9b\u662f\u4e0d\u53ef\u4ee5\u505a\u7684\u3002

\u900f\u660e\u7684\u5f00\u53d1

\u6211\u4eec\u6240\u6709\u7684\u5de5\u4f5c\u90fd\u4f1a\u653e\u5728 ng-alain\u3001delon \u4e0a\u3002\u4e0d\u7ba1\u662f\u6838\u5fc3\u56e2\u961f\u7684\u6210\u5458\u8fd8\u662f\u5916\u90e8\u8d21\u732e\u8005\u7684 pull request \u90fd\u9700\u8981\u7ecf\u8fc7\u540c\u6837\u6d41\u7a0b\u7684 review\u3002

Bugs

\u6211\u4eec\u4f7f\u7528 GitHub Issues \u6765\u505a bug \u8ffd\u8e2a\u3002\u5982\u679c\u4f60\u60f3\u8981\u4f60\u53d1\u73b0\u7684 bug \u88ab\u5feb\u901f\u89e3\u51b3\uff0c\u6700\u597d\u7684\u529e\u6cd5\u5c31\u662f\u6309\u7167 issues \u5448\u73b0\u7684\u6a21\u677f\u8ba4\u771f\u586b\u5199\u6bcf\u4e00\u9879\uff1b\u5e76\u4e14\u80fd\u4f7f\u7528\u8fd9\u4e2a \u6a21\u677f \u6765\u63d0\u4f9b\u91cd\u73b0\u3002

\u5728\u4f60\u62a5\u544a\u4e00\u4e2a bug \u4e4b\u524d\uff0c\u8bf7\u5148\u786e\u4fdd\u5df2\u7ecf\u641c\u7d22\u8fc7\u5df2\u6709\u7684 issue \u548c\u9605\u8bfb\u4e86 \u6587\u6863\u7ad9\u3002

\u65b0\u589e\u529f\u80fd

\u5982\u679c\u4f60\u6709\u6539\u8fdb\u6211\u4eec\u7684 API \u6216\u8005\u65b0\u589e\u529f\u80fd\u7684\u60f3\u6cd5\uff0c\u540c\u6837\u6309\u7167 issues \u5448\u73b0\u7684\u6a21\u677f\u8ba4\u771f\u586b\u5199\u6bcf\u4e00\u9879\u3002

\u7b2c\u4e00\u6b21\u8d21\u732e

\u5982\u679c\u4f60\u8fd8\u4e0d\u6e05\u695a\u600e\u4e48\u5728 GitHub \u4e0a\u63d0 Pull Request \uff0c\u53ef\u4ee5\u9605\u8bfb\u4e0b\u9762\u8fd9\u7bc7\u6587\u7ae0\u6765\u5b66\u4e60\uff1a

\u5982\u4f55\u4f18\u96c5\u5730\u5728 GitHub \u4e0a\u8d21\u732e\u4ee3\u7801

\u4e3a\u4e86\u80fd\u5e2e\u52a9\u4f60\u5f00\u59cb\u4f60\u7684\u7b2c\u4e00\u6b21\u5c1d\u8bd5\uff0c\u6211\u4eec\u7528 good first issues \u6807\u8bb0\u4e86\u4e00\u4e9b\u6bd4\u8f83\u6bd4\u8f83\u5bb9\u6613\u4fee\u590d\u7684 bug \u548c\u5c0f\u529f\u80fd\u3002\u8fd9\u4e9b issue \u53ef\u4ee5\u5f88\u597d\u5730\u505a\u4e3a\u4f60\u7684\u9996\u6b21\u5c1d\u8bd5\u3002

\u5982\u679c\u4f60\u6253\u7b97\u5f00\u59cb\u5904\u7406\u4e00\u4e2a issue\uff0c\u8bf7\u5148\u68c0\u67e5\u4e00\u4e0b issue \u4e0b\u9762\u7684\u7559\u8a00\u4ee5\u786e\u4fdd\u6ca1\u6709\u522b\u4eba\u6b63\u5728\u5904\u7406\u8fd9\u4e2a issue\u3002\u5982\u679c\u5f53\u524d\u6ca1\u6709\u4eba\u5728\u5904\u7406\u7684\u8bdd\u4f60\u53ef\u4ee5\u7559\u8a00\u544a\u77e5\u5176\u4ed6\u4eba\u4f60\u5c06\u4f1a\u5904\u7406\u8fd9\u4e2a issue\uff0c\u4ee5\u514d\u522b\u4eba\u91cd\u590d\u52b3\u52a8\u3002

\u5982\u679c\u4e4b\u524d\u6709\u4eba\u7559\u8a00\u8bf4\u4f1a\u5904\u7406\u8fd9\u4e2a issue \u4f46\u662f\u4e00\u4e24\u4e2a\u661f\u671f\u90fd\u6ca1\u6709\u52a8\u9759\uff0c\u90a3\u4e48\u4f60\u4e5f\u53ef\u4ee5\u63a5\u624b\u5904\u7406\u8fd9\u4e2a issue\uff0c\u5f53\u7136\u8fd8\u662f\u9700\u8981\u7559\u8a00\u544a\u77e5\u5176\u4ed6\u4eba\u3002

Pull Request

Ng Alain \u4f1a\u5173\u6ce8\u6240\u6709\u7684 pull request\uff0c\u6211\u4eec\u4f1a review \u4ee5\u53ca\u5408\u5e76\u4f60\u7684\u4ee3\u7801\uff0c\u4e5f\u6709\u53ef\u80fd\u8981\u6c42\u4f60\u505a\u4e00\u4e9b\u4fee\u6539\u6216\u8005\u544a\u8bc9\u4f60\u6211\u4eec\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u63a5\u53d7\u8fd9\u6837\u7684\u4fee\u6539\u3002

\u5728\u4f60\u53d1\u9001 Pull Request \u4e4b\u524d\uff0c\u8bf7\u786e\u8ba4\u4f60\u662f\u6309\u7167\u4e0b\u9762\u7684\u6b65\u9aa4\u6765\u505a\u7684\uff1a

  1. \u5728\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u8fd0\u884c\u4e86 yarn\u3002

  2. \u5982\u679c\u4f60\u4fee\u590d\u4e86\u4e00\u4e2a bug \u6216\u8005\u65b0\u589e\u4e86\u4e00\u4e2a\u529f\u80fd\uff0c\u8bf7\u786e\u4fdd\u5199\u4e86\u76f8\u5e94\u7684\u6d4b\u8bd5\uff0c\u8fd9\u5f88\u91cd\u8981\u3002

  3. \u786e\u8ba4\u6240\u6709\u7684\u6d4b\u8bd5\u90fd\u662f\u901a\u8fc7\u7684 npm run test\u3002

  4. \u786e\u4fdd\u4f60\u7684\u4ee3\u7801\u901a\u8fc7\u4e86 lint \u68c0\u67e5 npm run lint\u3002\u5c0f\u8d34\u58eb: Lint \u4f1a\u5728\u4f60 git commit \u7684\u65f6\u5019\u81ea\u52a8\u8fd0\u884c\u3002

  5. \u786e\u4fdd\u4f60\u7684\u4ee3\u7801\u5728\u63d0\u4ea4\u4e4b\u524d\u7ecf\u8fc7\u4e86\u6b63\u786e\u7684 Rebase

  6. \u786e\u4fdd\u4f60\u7684\u63d0\u4ea4\u7b26\u5408\u89c4\u8303

\u5f00\u53d1\u6d41\u7a0b

\u5728\u4f60 clone \u4e86 ng-alain \u6216 delon \u7684\u4ee3\u7801\u5e76\u4e14\u4f7f\u7528 yarn \u5b89\u88c5\u5b8c\u4f9d\u8d56\u540e\uff0c\u4f60\u8fd8\u53ef\u4ee5\u8fd0\u884c\u4e0b\u9762\u51e0\u4e2a\u5e38\u7528\u7684\u547d\u4ee4\uff1a

delon \u57fa\u5efa\u7c7b\u5e93

  1. npm run site \u5728\u672c\u5730\u8fd0\u884c ng-alain.com \u7f51\u7ad9

  2. npm run lint \u68c0\u67e5 packages \u4ee3\u7801\u98ce\u683c

  3. npm run test \u8fd0\u884c packages \u6240\u6709\u7c7b\u5e93\u6d4b\u8bd5

  4. npm run release \u6784\u5efa packages \u53d1\u5e03\u5305

ng-alain \u811a\u624b\u67b6

  1. npm start \u5728\u672c\u5730\u8fd0\u884c\u811a\u624b\u67b6

  2. npm run lint \u68c0\u67e5\u4ee3\u7801\u98ce\u683c

  3. npm test \u8fd0\u884c\u6d4b\u8bd5

  4. npm run build \u6784\u5efa\u751f\u4ea7\u73af\u5883\u7f51\u7ad9

    <
',meta:{order:40,title:"\u8d21\u732e\u6307\u5357",type:"Other"},toc:[{id:"\u884c\u4e3a\u51c6\u5219",title:"\u884c\u4e3a\u51c6\u5219",h:2},{id:"\u900f\u660e\u7684\u5f00\u53d1",title:"\u900f\u660e\u7684\u5f00\u53d1",h:2},{id:"Bugs",title:"Bugs",h:2},{id:"\u65b0\u589e\u529f\u80fd",title:"\u65b0\u589e\u529f\u80fd",h:2},{id:"\u7b2c\u4e00\u6b21\u8d21\u732e",title:"\u7b2c\u4e00\u6b21\u8d21\u732e",h:2},{id:"PullRequest",title:"Pull Request",h:2},{id:"\u5f00\u53d1\u6d41\u7a0b",title:"\u5f00\u53d1\u6d41\u7a0b",h:2,children:[{id:"delon\u57fa\u5efa\u7c7b\u5e93",title:"delon \u57fa\u5efa\u7c7b\u5e93",h:3},{id:"ng-alain\u811a\u624b\u67b6",title:"ng-alain \u811a\u624b\u67b6",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-contributing"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"deploy",redirectTo:"deploy/zh",pathMatch:"full"},{path:"deploy/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/deploy.en-US.md","zh-CN":"docs/deploy.zh-CN.md"},content:{"en-US":{content:'

Construct

When the project is developed, you can package your app with just one line of command:

npm run build

NG-ALAIN itself is an Angular CLI project, so you can also complete more complex build requirements with Build. After the package is successfully packaged, the dist folder will be generated in the root directory, which is to build the packaged file, including several static files such as *.js, *.css, index.html.

JavaScript heap out of memory

Avoid executing ng build when throw error JavaScript heap out of memory:

{\n  "scripts": {\n    "build": "node --max_old_space_size=5120 ./node_modules/@angular/cli/bin/ng build"\n  }\n}

Environmental variables

When you need to distinguish between development and deployment, and test environments, you can configure the corresponding parameters according to different environments through the src/environments folder. The configuration items can also be called directly in the application. At the same time, you need to configure the configuration items in angular.json. Finally, you can change the environment configuration through commands.

Analyze the build file volume

If the build file is large, you can optimize your code by building and analyzing the volume distribution of dependent modules with the analyze command.

npm run analyze

View the analyze page:

npm run analyze:view

Release

When you are ready to deploy (release) your the app, you need only to publish the generated build artifacts - that is, the files in the dist folder - to your cdn or static server. Note that the index.html is usually the entry page for your app and handles all missing file requests. You may need to change the import path of the page after determining the static of js and css.

The default static resource reference path directly points to the directory where the dist folder is published. For example, if you post dist to the root directory of the ng-alain.com site, the requested URL is //ng-alain.com/***.js, //ng-alain.com/***.css, if dist is posted to a directory under a certain directory, such as v2, request The URL is //ng-alain.com/v2/***.js, //ng-alain.com/v2/***.css.

If your static resource is deployed to another domain name (such as a separate CDN address), you can specify a CDN address with the --deployUrl parameter.

ng build -deployUrl=//cdn.ng-alain.com/

The generated index.html with its *.js, *.css files will automatically refer to //cdn.ng-alain.com/*.js, //cdn.ng-alain.com/*css, respectively.

Routing strategy

Angular front-end routing has two different strategies: HashLocationStrategy and PathLocationStrategy. The former is routed by appending a # before a path, and the front-end routing management is performed by HTML5 History, while the latter is similar, but the path does not have # appended before it. Through the configuration of the server, the specified URL can be accessed to the current page, enabling front-end routing management.

If you want to use PathLocationStrategy, you need to replace RouterModule.forRoot(routes, { useHash: true }) of ./src/app/routes/routes-routing.module.ts with RouterModule.forRoot(routes), since that is the default Angular behavior. You might notice that this can also be done by changing the useHash variable in the src/environments/environment.*.ts files, depending on your project configulation. Importantly, your server needs to be correctly configured, such that is returns the index.html for any 404 errors:

Express server example:

app.use(express.static(path.join(__dirname, \'build\')));\n\napp.get(\'/*\', function (req, res) {\n  res.sendFile(path.join(__dirname, \'build\', \'index.html\'));\n});

Egg server example:

// controller\nexports.index = function* () {\n  yield this.render(\'App.jsx\', {\n    context: {\n      user: this.session.user,\n    },\n  });\n};\n\n// router\napp.get(\'home\', \'/*\', \'home.index\');

For more questions about Angular routing, please read official website.

Docker

NG-ALAIN provides a complete image file for building Angular projects based on the nginx WEB service. Where nginx is a mirror using nginx:1.13.5-alpine, which basically satisfies NG-ALAIN The project\'s good operating environment, if there are more needs, you can easily specify nginx.conf with docker run.

1. Building the image

Build a complete image of the runtime environment required by NG-ALAIN based on the Dockerfile.

docker build -t ng-alain .

2. Running

Based on compose (Recommended)

docker-compose up -d

The details can be modified with docker-compose.yml.

Based on imperative

docker run -d -p 80:80 --name alain ng-alain

Finally, you can visit\uff1ahttp://localhost/

3. About SSL

The Dockerfile provided by NG-ALAIN is relatively simple, and the most common use of real projects is support for SSL.

Therefore, by default you can place the certificate in the _nginx/ssl directory and enable the _nginx/default.conf related SSL configuration item.

Finally, add the ports node of docker-compose.yml:

- 443:443

Container deployment

Refer to Angular Container Deployment

',meta:{order:70,title:{"en-US":"Build & Deploy","zh-CN":"\u6784\u5efa\u548c\u53d1\u5e03"},type:"Dev"},toc:[{id:"Construct",title:"Construct",h:2,children:[{id:"JavaScriptheapoutofmemory",title:"JavaScript heap out of memory",h:3},{id:"Environmentalvariables",title:"Environmental variables",h:3},{id:"Analyzethebuildfilevolume",title:"Analyze the build file volume",h:3}]},{id:"Release",title:"Release",h:2,children:[{id:"Routingstrategy",title:"Routing strategy",h:3},{id:"Docker",title:"Docker",h:3},{id:"Containerdeployment",title:"Container deployment",h:3}]}]},"zh-CN":{content:'

\u6784\u5efa

\u5f53\u9879\u76ee\u5f00\u53d1\u5b8c\u6bd5\uff0c\u53ea\u9700\u8981\u8fd0\u884c\u4e00\u884c\u547d\u4ee4\u5c31\u53ef\u4ee5\u6253\u5305\u4f60\u7684\u5e94\u7528\uff1a

npm run build

NG-ALAIN \u672c\u8eab\u662f\u4e00\u4e2a Angular CLI \u9879\u76ee\uff0c\u56e0\u6b64\u4e5f\u53ef\u4ee5\u53c2\u7167 Build \u5b8c\u6210\u66f4\u590d\u6742\u7684\u6784\u5efa\u9700\u6c42\u3002\u6784\u5efa\u6253\u5305\u6210\u529f\u4e4b\u540e\uff0c\u4f1a\u5728\u6839\u76ee\u5f55\u751f\u6210 dist \u6587\u4ef6\u5939\uff0c\u91cc\u9762\u5c31\u662f\u6784\u5efa\u6253\u5305\u597d\u7684\u6587\u4ef6\uff0c\u5305\u542b\u82e5\u5e72 *.js\u3001*.css\u3001index.html \u7b49\u9759\u6001\u6587\u4ef6\u3002

JavaScript heap out of memory

\u907f\u514d\u6267\u884c ng build \u65f6\u629b\u51fa JavaScript heap out of memory\uff1a

{\n  "scripts": {\n    "build": "node --max_old_space_size=5120 ./node_modules/@angular/cli/bin/ng build"\n  }\n}

\u73af\u5883\u53d8\u91cf

\u5f53\u4f60\u9700\u8981\u533a\u522b\u5f00\u53d1\u548c\u90e8\u7f72\u4ee5\u53ca\u6d4b\u8bd5\u73af\u5883\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u901a\u8fc7 src/environments \u6587\u4ef6\u5939\u6839\u636e\u4e0d\u540c\u73af\u5883\u914d\u7f6e\u76f8\u5e94\u7684\u53c2\u6570\uff0c\u914d\u7f6e\u9879\u540c\u65f6\u4e5f\u53ef\u4ee5\u5728\u5e94\u7528\u5f53\u4e2d\u76f4\u63a5\u8c03\u7528\u5b83\u4eec\u3002\u540c\u65f6\uff0c\u8fd8\u9700\u8981\u914d\u7f6e angular.json \u5185\u7684\u914d\u7f6e\u9879\uff0c\u6700\u540e\u4f60\u53ef\u4ee5\u900f\u8fc7\u547d\u4ee4\u6539\u53d8\u73af\u5883\u914d\u7f6e\u3002

\u5206\u6790\u6784\u5efa\u6587\u4ef6\u4f53\u79ef

\u5982\u679c\u6784\u5efa\u6587\u4ef6\u5f88\u5927\uff0c\u53ef\u4ee5\u901a\u8fc7 analyze \u547d\u4ee4\u6784\u5efa\u5e76\u5206\u6790\u4f9d\u8d56\u6a21\u5757\u7684\u4f53\u79ef\u5206\u5e03\uff0c\u4ece\u800c\u4f18\u5316\u4f60\u7684\u4ee3\u7801\u3002

npm run analyze

\u67e5\u770b\u5206\u6790\u9875\uff1a

npm run analyze:view

\u53d1\u5e03

\u5bf9\u4e8e\u53d1\u5e03\u6765\u8bb2\uff0c\u53ea\u9700\u8981\u5c06\u6700\u7ec8\u751f\u6210\u7684\u9759\u6001\u6587\u4ef6\uff0c\u4e5f\u5c31\u662f\u901a\u5e38\u60c5\u51b5\u4e0b dist \u6587\u4ef6\u5939\u7684\u9759\u6001\u6587\u4ef6\u53d1\u5e03\u5230\u4f60\u7684 cdn \u6216\u8005\u9759\u6001\u670d\u52a1\u5668\u5373\u53ef\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\u5176\u4e2d\u7684 index.html \u901a\u5e38\u4f1a\u662f\u4f60\u540e\u53f0\u670d\u52a1\u7684\u5165\u53e3\u9875\u9762\uff0c\u5728\u786e\u5b9a\u4e86 js \u548c css \u7684\u9759\u6001\u4e4b\u540e\u53ef\u80fd\u9700\u8981\u6539\u53d8\u9875\u9762\u7684\u5f15\u5165\u8def\u5f84\u3002

\u9ed8\u8ba4\u7684\u9759\u6001\u8d44\u6e90\u5f15\u7528\u8def\u5f84\u76f4\u63a5\u6307\u5411 dist \u6587\u4ef6\u5939\u53d1\u5e03\u6240\u5904\u5e94\u7528\u7684\u76ee\u5f55\u4e0b\uff0c\u4f8b\u5982\u4f60\u5c06 dist \u53d1\u5e03\u81f3 ng-alain.com \u7ad9\u70b9\u7684\u6839\u76ee\u5f55\u91cc\u5219\u8bf7\u6c42\u7684\u7f51\u5740\u662f //ng-alain.com/***.js\u3001//ng-alain.com/***.css\uff0c\u82e5 dist \u53d1\u5e03\u81f3\u67d0\u7ad9\u70b9\u4e0b\u67d0\u4e2a\u76ee\u5f55\u5982 v2 \u6587\u4ef6\u5939\u4e0b\uff0c\u5219\u8bf7\u6c42\u7684\u7f51\u5740\u662f //ng-alain.com/v2/***.js\u3001//ng-alain.com/v2/***.css\u3002

\u5982\u679c\u4f60\u7684\u9759\u6001\u8d44\u6e90\u662f\u90e8\u7f72\u5230\u5176\u4ed6\u57df\u540d\uff08\u4f8b\u5982\u72ec\u7acb\u7684 cdn \u5730\u5740\uff09\uff0c\u4f60\u53ef\u4ee5\u900f\u8fc7 -d \u53c2\u6570\u6307\u5b9a\u4e00\u4e2a cdn \u5730\u5740\u3002

ng build -d=//cdn.ng-alain.com/

\u8fd9\u6837\u751f\u6210\u7684 index.html \u5185 *.js\u3001*.css \u4f1a\u81ea\u52a8\u52a0\u4e0a //cdn.ng-alain.com/*.js\u3002

\u8def\u7531\u7b56\u7565

Angular \u524d\u7aef\u8def\u7531\u6709\u4e24\u79cd\u4e0d\u540c\u7b56\u7565 HashLocationStrategy \u548c PathLocationStrategy\u3002\u524d\u8005\u662f\u4ee5 # \u540e\u9762\u7684\u8def\u5f84\u8fdb\u884c\u8def\u7531\u5904\u7406\uff0c\u901a\u8fc7 HTML5 History \u8fdb\u884c\u524d\u7aef\u8def\u7531\u7ba1\u7406\uff0c\u800c\u540e\u8005\u5219\u662f\u7c7b\u4f3c\u9875\u9762\u8bbf\u95ee\u8def\u5f84\u5e76\u6ca1\u6709 #\uff0c\u901a\u8fc7\u670d\u52a1\u7aef\u7684\u914d\u7f6e\uff0c\u80fd\u591f\u8bbf\u95ee\u6307\u5b9a URL \u90fd\u5b9a\u5411\u5230\u5f53\u524d\u9875\u9762\uff0c\u4ece\u800c\u80fd\u591f\u8fdb\u884c\u524d\u7aef\u8def\u7531\u7ba1\u7406\u3002

\u5982\u679c\u4f60\u60f3\u91c7\u7528 PathLocationStrategy \u7b56\u7565\uff0c\u5219\u9700\u8981\u5c06 ./src/app/routes/routes.module.ts \u7684 RouterModule.forRoot(routes, { useHash: true }) \u6362\u6210 RouterModule.forRoot(routes)\u3002\u540c\u65f6\u9700\u8981\u670d\u52a1\u7aef\u505a\u4e00\u4e2a\u6620\u5c04\uff0c\u6bd4\u5982\uff1a

express \u7684\u4f8b\u5b50\uff1a

app.use(express.static(path.join(__dirname, \'build\')));\n\napp.get(\'/*\', function (req, res) {\n  res.sendFile(path.join(__dirname, \'build\', \'index.html\'));\n});

egg \u7684\u4f8b\u5b50\uff1a

// controller\nexports.index = function* () {\n  yield this.render(\'App.jsx\', {\n    context: {\n      user: this.session.user,\n    },\n  });\n};\n\n// router\napp.get(\'home\', \'/*\', \'home.index\');

\u6709\u5173\u66f4\u591a Angular \u8def\u7531\u76f8\u5f53\u95ee\u9898\uff0c\u8bf7\u9605\u8bfb\u5b98\u7f51\u3002

Docker

NG-ALAIN \u63d0\u4f9b\u4e86\u4e00\u4e2a\u57fa\u4e8e nginx WEB\u670d\u52a1\u5b8c\u6574\u7684\u6784\u5efaAngular\u9879\u76ee\u7684\u955c\u50cf\u6587\u4ef6\u3002\u5176\u4e2d nginx \u662f\u91c7\u7528 nginx:1.13.5-alpine \u7684\u955c\u50cf\uff0c\u57fa\u672c\u4e0a\u53ef\u4ee5\u6ee1\u8db3 NG-ALAIN \u9879\u76ee\u7684\u826f\u597d\u8fd0\u884c\u73af\u5883\uff0c\u5018\u82e5\u6709\u66f4\u591a\u9700\u6c42\uff0c\u4f60\u53ef\u4ee5\u5229\u7528 docker run \u8f7b\u6613\u7684\u6307\u5b9a nginx.conf\u3002

1\u3001\u6784\u5efa\u955c\u50cf

\u6839\u636e Dockerfile \u6784\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684 NG-ALAIN \u6240\u9700\u8981\u7684\u8fd0\u884c\u73af\u5883\u7684\u955c\u50cf\u3002

docker build -t ng-alain .

2\u3001\u8fd0\u884c

\u57fa\u4e8ecompose\uff08\u63a8\u8350\uff09

docker-compose up -d

\u5176\u7ec6\u8282\u53ef\u4ee5\u901a\u8fc7 docker-compose.yml \u4fee\u6539\u3002

\u57fa\u4e8e\u547d\u4ee4\u5f0f

docker run -d -p 80:80 --name alain ng-alain

\u6700\u540e\u4f60\u53ef\u4ee5\u8bbf\u95ee\uff1ahttp://localhost/

3\u3001\u5173\u4e8eSSL

NG-ALAIN \u63d0\u4f9b\u7684 Dockerfile \u6587\u4ef6\u76f8\u5bf9\u4e8e\u6bd4\u8f83\u7b80\u5355\uff0c\u800c\u5b9e\u9645\u9879\u76ee\u4e2d\u6700\u5e38\u7528\u7684\u662f\u5bf9SSL\u7684\u652f\u6301\u3002

\u56e0\u6b64\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f60\u53ef\u4ee5\u5c06\u8bc1\u4e66\u653e\u7f6e _nginx/ssl \u76ee\u5f55\u4e0b\uff0c\u5e76\u5f00\u542f _nginx/default.conf \u76f8\u5173SSL\u914d\u7f6e\u9879\u5373\u53ef\u3002

\u6700\u540e\uff0c\u589e\u52a0 docker-compose.yml \u7684 ports \u8282\u70b9\uff1a

- 443:443

\u5bb9\u5668\u90e8\u7f72

\u53c2\u8003 Angular \u5bb9\u5668\u90e8\u7f72

',meta:{order:70,title:{"en-US":"Build & Deploy","zh-CN":"\u6784\u5efa\u548c\u53d1\u5e03"},type:"Dev"},toc:[{id:"\u6784\u5efa",title:"\u6784\u5efa",h:2,children:[{id:"JavaScriptheapoutofmemory",title:"JavaScript heap out of memory",h:3},{id:"\u73af\u5883\u53d8\u91cf",title:"\u73af\u5883\u53d8\u91cf",h:3},{id:"\u5206\u6790\u6784\u5efa\u6587\u4ef6\u4f53\u79ef",title:"\u5206\u6790\u6784\u5efa\u6587\u4ef6\u4f53\u79ef",h:3}]},{id:"\u53d1\u5e03",title:"\u53d1\u5e03",h:2,children:[{id:"\u8def\u7531\u7b56\u7565",title:"\u8def\u7531\u7b56\u7565",h:3},{id:"Docker",title:"Docker",h:3},{id:"\u5bb9\u5668\u90e8\u7f72",title:"\u5bb9\u5668\u90e8\u7f72",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-deploy"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"faq",redirectTo:"faq/zh",pathMatch:"full"},{path:"faq/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/faq.en-US.md","zh-CN":"docs/faq.zh-CN.md"},content:{"en-US":{content:'

Please check the FAQ below before asking questions.

Basic

Can\'t Bind to since it isn\'t a known property of

When you have multiple lazy modules, you want each submodule to use the component library (for example: NgZorroAntdModule, NgxTinymceModule) should be exported in ShareModule, please refer to module registration guidelines.

Expression Changed After It Has Been Checked Error

Common mistakes under Angular, this article will help you understand why.

Can\'t bind to \'formGroup\' since it isn\'t a known property of \'form\'

Common mistakes under Angular, the use of Reactive Forms requires the introduction of ReactiveFormsModule, refer to official documentation.

Why is the page not updated after the data is modified?

The NG-ZORRO and @delon/* components work in OnPush mode by default. Mutate objects or arrays do not trigger Angular\'s change detection. Use the immutable method.

How to use @delon daily build version

NG-ALAIN provides a delon-builds repository as a daily build version. It\'s not the final stable version, but contains the latest fixed BUG, To use the latest features, you can create delon.sh in the root directory:

#!/usr/bin/env bash\nset -e\necho "Download latest @delon version"\nrm -rf delon-builds\ngit clone --depth 1 https://github.com/ng-alain/delon-builds.git\nrm -rf node_modules/@delon\nrm -rf node_modules/ng-alain\nrsync -am delon-builds/ node_modules/\nNG_ALAIN_VERSION=$(node -p "require(\'./node_modules/ng-alain/package.json\').version")\nrm -rf delon-builds\necho "Using ng-alain version: ${NG_ALAIN_VERSION}"

When you need to use the daily build version of @delon, you only need to run:

bash delon.sh

If in Windows environment, please use WSL to execute Bash scripts.

Installation

Why can\'t I find the ng-zorro-antd/src/*.less style?

Two situations:

  • Using cnpm to install dependencies, you will not be able to find style files. This is because cnpm is in the form of a soft link path, which causes the ng-zorro-antd folder name to change, so it is recommended to use the yarn install dependency package instead.

  • The ng-zorro-antd version is too old to cause some components to fail to load into the appropriate style

How to use Taobao source correctly?

The simplest is to use the networkEnv plugin.

Or manually repair:

yarn config set registry https://registry.npmmirror.com\nyarn config set sass_binary_site https://npmmirror.com/mirrors/node-sass\n# restore\nyarn config delete registry\nyarn config delete sass_binary_site

Configuration

How do I deploy the antd icon locally?

First, the latest iconfont file can go to this link (mirror) Download.

Finally, redefine the new path in src/styles/theme.less:

@icon-url: "/assets/iconfont";

Use an absolute path or CDN address.

Missing locale data for the locale "zh-cn"

For missing language imports, refer to app.module.ts.

How to deploy ng-alain.com documentation site in local

Online documents will only retain the data of the last three major version numbers. If the version is low, you can view it through local deployment:

git clone --depth 1 -b full https://github.com/ng-alain/archive-docs.git ng-alain-doc\ncd ng-alain-doc\nyarn\nyarn start

Fix the abnormal display of the lower part of the 360 browser

The built-in Chrome core of some 360 browsers is too low, resulting in some CSS3 not supported, you can manually increase .browserslistrc For more details, refer to #2310

',meta:{order:20,title:{"en-US":"FAQ","zh-CN":"\u5e38\u89c1\u95ee\u9898"},type:"Other"},toc:[{id:"Basic",title:"Basic",h:2,children:[{id:"Can'tBindtosinceitisn'taknownpropertyof",title:"Can't Bind to since it isn't a known property of",h:3},{id:"ExpressionChangedAfterItHasBeenCheckedError",title:"Expression Changed After It Has Been Checked Error",h:3},{id:"Can'tbindto'formGroup'sinceitisn'taknownpropertyof'form'",title:"Can't bind to 'formGroup' since it isn't a known property of 'form'",h:3},{id:"Whyisthepagenotupdatedafterthedataismodified",title:"Why is the page not updated after the data is modified?",h:3},{id:"Howtouse@delondailybuildversion",title:"How to use @delon daily build version",h:3}]},{id:"Installation",title:"Installation",h:2,children:[{id:"Whycan'tIfindtheng-zorro-antd/src/*.lessstyle",title:"Why can't I find the ng-zorro-antd/src/*.less style?",h:3},{id:"HowtouseTaobaosourcecorrectly",title:"How to use Taobao source correctly?",h:3}]},{id:"Configuration",title:"Configuration",h:2,children:[{id:"HowdoIdeploytheantdiconlocally",title:"How do I deploy the antd icon locally?",h:3},{id:'Missinglocaledataforthelocale"zh-cn"',title:'Missing locale data for the locale "zh-cn"',h:3},{id:"Howtodeployng-alain.comdocumentationsiteinlocal",title:"How to deploy ng-alain.com documentation site in local",h:3},{id:"Fixtheabnormaldisplayofthelowerpartofthe360browser",title:"Fix the abnormal display of the lower part of the 360 browser",h:3}]}]},"zh-CN":{content:'

\u63d0\u95ee\u4e4b\u524d\uff0c\u8bf7\u5148\u67e5\u9605\u4e0b\u9762\u7684\u5e38\u89c1\u95ee\u9898\u3002

\u57fa\u7840

Can\'t Bind to since it isn\'t a known property of

\u5f53\u4f60\u6709\u591a\u4e2a\u61d2\u6a21\u5757\u65f6\uff0c\u5e0c\u671b\u6bcf\u4e2a\u5b50\u6a21\u5757\u90fd\u9700\u8981\u4f7f\u7528\u7ec4\u4ef6\u5e93\u65f6\uff08\u4f8b\u5982\uff1aNgZorroAntdModule\u3001NgxTinymceModule\uff09\u5e94\u5728 ShareModule \u4e2d export\uff0c\u8bf7\u53c2\u8003\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219\u3002

Expression Changed After It Has Been Checked Error \u9519\u8bef

Angular \u4e0b\u5e38\u89c1\u9519\u8bef\uff0c\u8fd9\u7bc7\u6587\u7ae0 \u4f1a\u5e2e\u52a9\u4f60\u7406\u89e3\u539f\u56e0\u3002

Can\'t bind to \'formGroup\' since it isn\'t a known property of \'form\'

Angular \u4e0b\u5e38\u89c1\u9519\u8bef\uff0c\u4f7f\u7528 Reactive Forms \u9700\u8981\u989d\u5916\u5f15\u5165 ReactiveFormsModule\uff0c\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863\u3002

\u6570\u636e\u4fee\u6539\u540e\u9875\u9762\u4e3a\u4ec0\u4e48\u6ca1\u6709\u66f4\u65b0

NG-ZORRO \u53ca @delon/* \u7ec4\u4ef6\u9ed8\u8ba4\u5728 OnPush \u6a21\u5f0f\u4e0b\u5de5\u4f5c\uff0cmutate \u5bf9\u8c61\u6216\u8005\u6570\u7ec4\u4e0d\u4f1a\u89e6\u53d1 Angular \u7684\u53d8\u66f4\u68c0\u6d4b\uff0c\u8bf7\u4f7f\u7528 immutable \u65b9\u5f0f\u3002

\u5982\u4f55\u4f7f\u7528@delon\u6bcf\u65e5\u6784\u5efa\u7248\u672c

NG-ALAIN \u63d0\u4f9b\u4e00\u4e2a delon-builds \u4ed3\u50a8\u4f5c\u4e3a\u6bcf\u65e5\u6784\u5efa\u7248\u672c\uff0c\u5b83\u5e76\u4e0d\u662f\u6700\u7ec8\u7a33\u5b9a\u7248\u672c\uff0c\u4f46\u5305\u542b\u6700\u65b0\u5df2\u4fee\u590dBUG\u3001\u6700\u65b0\u529f\u80fd\uff0c\u8981\u4f7f\u7528\u53ef\u4ee5\u5728\u6839\u76ee\u5f55\u521b\u5efa delon.sh\uff1a

#!/usr/bin/env bash\nset -e\necho "Download latest @delon version"\nrm -rf delon-builds\ngit clone --depth 1 https://github.com/ng-alain/delon-builds.git\nrm -rf node_modules/@delon\nrm -rf node_modules/ng-alain\nrsync -am delon-builds/ node_modules/\nNG_ALAIN_VERSION=$(node -p "require(\'./node_modules/ng-alain/package.json\').version")\nrm -rf delon-builds\necho "Using ng-alain version: ${NG_ALAIN_VERSION}"

\u5f53\u9700\u8981\u4f7f\u7528@delon\u7684\u6bcf\u65e5\u6784\u5efa\u7248\u672c\uff0c\u53ea\u9700\u8981\u5728\u8fd0\u884c\uff1a

bash delon.sh

\u5982\u679c\u662f Windows \u73af\u5883\uff0c\u8bf7\u4f7f\u7528 WSL \u6765\u6267\u884c Bash \u811a\u672c\u3002

\u5b89\u88c5

\u4e3a\u4ec0\u4e48\u627e\u4e0d\u5230 ng-zorro-antd/src/*.less \u6837\u5f0f\uff1f

\u4e24\u79cd\u60c5\u51b5\uff1a

  • \u4f7f\u7528 cnpm \u5b89\u88c5\u4f9d\u8d56\u5305\uff0c\u4f1a\u9047\u5230\u65e0\u6cd5\u627e\u5230\u6837\u5f0f\u6587\u4ef6\u3002\u8fd9\u662f\u7531\u4e8e cnpm \u91c7\u7528\u7684\u662f\u8f6f\u94fe\u63a5\u8def\u5f84\u5f62\u5f0f\uff0c\u5bfc\u81f4 ng-zorro-antd \u6587\u4ef6\u5939\u540d\u6709\u6240\u53d8\u52a8\uff0c\u56e0\u6b64\u5efa\u8bae\u6539\u7528 yarn \u5b89\u88c5\u4f9d\u8d56\u5305\uff0c\u5982\u679c\u662f\u7f51\u7edc\u56e0\u7d20\uff0c\u8bf7\u53c2\u8003\u4e0b\u65b9\u7684\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u6dd8\u5b9d\u6e90\u3002

  • ng-zorro-antd \u7248\u672c\u8fc7\u65e7\u5bfc\u81f4\u90e8\u5206\u7ec4\u4ef6\u65e0\u6cd5\u52a0\u8f7d\u5230\u76f8\u5e94\u6837\u5f0f

\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u6dd8\u5b9d\u6e90\uff1f

\u6700\u7b80\u5355\u662f\u4f7f\u7528 networkEnv \u63d2\u4ef6\u3002

\u6216\u624b\u52a8\u4fee\u590d\uff1a

yarn config set registry https://registry.npmmirror.com\nyarn config set sass_binary_site https://npmmirror.com/mirrors/node-sass\n# \u6062\u590d\nyarn config delete registry\nyarn config delete sass_binary_site

\u914d\u7f6e

\u5982\u4f55\u672c\u5730\u90e8\u7f72 antd \u56fe\u6807\uff1f

\u9996\u5148\uff0c\u6700\u65b0\u7684 iconfont \u6587\u4ef6\u53ef\u4ee5\u5230 \u6b64\u94fe\u63a5\uff08\u955c\u50cf\uff09 \u4e0b\u8f7d\u3002

\u6700\u540e\uff0c\u5728 src/styles/theme.less \u91cd\u65b0\u5b9a\u4e49\u65b0\u7684\u8def\u5f84\uff1a

@icon-url: "/assets/iconfont";

\u4f7f\u7528\u7edd\u5bf9\u8def\u5f84\u6216CDN\u5730\u5740\u3002

Missing locale data for the locale "zh-cn"

\u7f3a\u5c11\u8bed\u8a00\u5bfc\u5165\uff0c\u53c2\u8003app.module.ts\u3002

\u5982\u4f55\u672c\u5730\u90e8\u7f72ng-alain.com\u6587\u6863

\u7ebf\u4e0a\u6587\u6863\u5c06\u53ea\u4fdd\u7559\u6700\u8fd1\u4e09\u4e2a\u4e3b\u7248\u672c\u53f7\u7684\u6570\u636e\uff0c\u82e5\u662f\u4f4e\u7248\u672c\u53ef\u4ee5\u901a\u8fc7\u672c\u5730\u90e8\u7f72\u6765\u67e5\u770b\uff1a

git clone --depth 1 -b full https://github.com/ng-alain/archive-docs.git ng-alain-doc\ncd ng-alain-doc\nyarn\nyarn start

\u4fee\u590d360\u6d4f\u89c8\u5668\u4e0b\u90e8\u5206\u663e\u793a\u5f02\u5e38

\u90e8\u5206360\u6d4f\u89c8\u5668\u5185\u7f6e\u7684 Chrome \u6838\u5fc3\u8fc7\u4f4e\uff0c\u5bfc\u81f4\u90e8\u5206 CSS3 \u672a\u652f\u6301\uff0c\u53ef\u4ee5\u624b\u52a8\u589e\u52a0 .browserslistrc \u66f4\u591a\u7ec6\u8282\u53c2\u8003 #2310

',meta:{order:20,title:{"en-US":"FAQ","zh-CN":"\u5e38\u89c1\u95ee\u9898"},type:"Other"},toc:[{id:"\u57fa\u7840",title:"\u57fa\u7840",h:2,children:[{id:"Can'tBindtosinceitisn'taknownpropertyof",title:"Can't Bind to since it isn't a known property of",h:3},{id:"ExpressionChangedAfterItHasBeenCheckedError\u9519\u8bef",title:"Expression Changed After It Has Been Checked Error \u9519\u8bef",h:3},{id:"Can'tbindto'formGroup'sinceitisn'taknownpropertyof'form'",title:"Can't bind to 'formGroup' since it isn't a known property of 'form'",h:3},{id:"\u6570\u636e\u4fee\u6539\u540e\u9875\u9762\u4e3a\u4ec0\u4e48\u6ca1\u6709\u66f4\u65b0",title:"\u6570\u636e\u4fee\u6539\u540e\u9875\u9762\u4e3a\u4ec0\u4e48\u6ca1\u6709\u66f4\u65b0",h:3},{id:"\u5982\u4f55\u4f7f\u7528@delon\u6bcf\u65e5\u6784\u5efa\u7248\u672c",title:"\u5982\u4f55\u4f7f\u7528@delon\u6bcf\u65e5\u6784\u5efa\u7248\u672c",h:3}]},{id:"\u5b89\u88c5",title:"\u5b89\u88c5",h:2,children:[{id:"\u4e3a\u4ec0\u4e48\u627e\u4e0d\u5230ng-zorro-antd/src/*.less\u6837\u5f0f\uff1f",title:"\u4e3a\u4ec0\u4e48\u627e\u4e0d\u5230 ng-zorro-antd/src/*.less \u6837\u5f0f\uff1f",h:3},{id:"\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u6dd8\u5b9d\u6e90\uff1f",title:"\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u6dd8\u5b9d\u6e90\uff1f",h:3}]},{id:"\u914d\u7f6e",title:"\u914d\u7f6e",h:2,children:[{id:"\u5982\u4f55\u672c\u5730\u90e8\u7f72antd\u56fe\u6807\uff1f",title:"\u5982\u4f55\u672c\u5730\u90e8\u7f72 antd \u56fe\u6807\uff1f",h:3},{id:'Missinglocaledataforthelocale"zh-cn"',title:'Missing locale data for the locale "zh-cn"',h:3},{id:"\u5982\u4f55\u672c\u5730\u90e8\u7f72ng-alain.com\u6587\u6863",title:"\u5982\u4f55\u672c\u5730\u90e8\u7f72ng-alain.com\u6587\u6863",h:3},{id:"\u4fee\u590d360\u6d4f\u89c8\u5668\u4e0b\u90e8\u5206\u663e\u793a\u5f02\u5e38",title:"\u4fee\u590d360\u6d4f\u89c8\u5668\u4e0b\u90e8\u5206\u663e\u793a\u5f02\u5e38",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-faq"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"getting-started",redirectTo:"getting-started/zh",pathMatch:"full"},{path:"getting-started/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/getting-started.en-US.md","zh-CN":"docs/getting-started.zh-CN.md"},content:{"en-US":{content:'

Foreword

NG-ALAIN is a production-ready solution for admin interfaces. Built on the design principles developed by Ant Design, this project introduces higher level components; we have developed templates, components, and a corresponding design kit to improve the user and development experience for admin interfaces.

How to read document

This document uses the following conventions:

  • API

    • [] Input Property

    • () Output Event

    • [()] Two-way binding

    • ng-content Component content placeholders

    • #tpl Refers <ng-template #tpl>

Preparation

You will need node and git. The project is based on Typescript, Angular, g2, @delon and ng-zorro-antd. It would be helpful if you have pre-existing knowledge on those.

Installation

CLI (Recommend)

Please make sure global Angular Cli is latest version via ng version command, please refer to CLI Command Reference for how to upgrade.

yarn global add @angular/cli\nng new my-project --style less --routing --package-manager yarn\ncd my-project\nng add ng-alain\nyarn start\n# Or use HMR mode by: yarn run hmr

Please refer to Schematics for more details.

Clone the Git Repository

git clone --depth=1 https://github.com/ng-alain/ng-alain.git my-project\ncd my-project\nyarn\nyarn start\n# Or use HMR mode by: yarn run hmr

Note: Installing with the CLI is a clean scaffolding; using clone the git repository include all example pages.

Scaffolding

NG-ALAIN is a standard Angular CLI project that includes common routes for admins and demonstrates our component library. The project layout is as follows:

\u251c\u2500\u2500 _mock                                       # Mock Data rule\n\u251c\u2500\u2500 src\n\u2502\xa0\xa0 \u251c\u2500\u2500 app\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 core                                # Core module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 i18n\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 net\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 default.interceptor.ts      # Default HTTP interceptor\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 services\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 startup.service.ts          # Initialize project configuration\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 core.module.ts                  # Core module file\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 layout                              # Core layout\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 **                              # Business directory\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 routes.module.ts                # Service routing module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 routes-routing.module.ts        # Service routes registration\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared                              # Shared module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-delon.module.ts          # @Delon/* import of secondary shared modules\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 shared-zorro.module.ts          # NG-ZORRO import of secondary shared modules\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 shared.module.ts                # Shared module file\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u251c\u2500\u2500 app.component.ts                    # Root component\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 app.module.ts                       # Root module\n\u2502\xa0\xa0 \u2502\xa0\xa0 \u2514\u2500\u2500 global-config.module.ts             # @delon & ng-zorro global config\n\u2502\xa0\xa0 \u251c\u2500\u2500 assets                                  # Local static resource\n\u2502\xa0\xa0 \u251c\u2500\u2500 environments                            # Environment variable configuration\n\u2502\xa0\xa0 \u251c\u2500\u2500 styles                                  # Style directory\n\u2514\u2500\u2500 \u2514\u2500\u2500 style.less                              # Style guide entry

Development

yarn start

This will automatically open http://localhost:4200. If you see the following page then you have succeeded.

Environment Support

\u540d\u79f0\u63cf\u8ff0
angular.jsonAngular \u5de5\u4f5c\u533a\u53ca\u9879\u76ee\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u53c2\u8003Angular\u6587\u6863
_mockMock \u6570\u636e\u89c4\u5219\u76ee\u5f55\uff0c\u82e5\u4f60\u901a\u8fc7 \u547d\u4ee4\u884c\u5de5\u5177 \u521b\u5efa\u9879\u76ee\u65f6\u53ef\u4ee5\u6307\u5b9a --mock \u53c2\u6570\u51b3\u5b9a\u662f\u5426\u9700\u8981 Mock \u529f\u80fd
src/app/core/core.module.ts\u6838\u5fc3\u6a21\u5757\uff0c\u53ea\u4f1a\u5bfc\u5165\u4e00\u6b21\u3002\u56e0\u6b64\uff0c\u9488\u5bf9\u6574\u4e2a\u4e1a\u52a1\u6a21\u5757\u90fd\u9700\u8981\u4f7f\u7528\u7684\u7eaf\u670d\u52a1\u7c7b\uff08\u4f8b\u5982\uff1a\u6d88\u606f\u3001\u6570\u636e\u8bbf\u95ee\u7b49\uff09
src/app/core/i18n\u56fd\u9645\u5316\u6570\u636e\u52a0\u8f7d\u53ca\u5904\u7406\u76f8\u5173\u7c7b\uff0c\u82e5\u4f60\u901a\u8fc7 \u547d\u4ee4\u884c\u5de5\u5177 \u521b\u5efa\u9879\u76ee\u65f6\u53ef\u4ee5\u6307\u5b9a -di \u53c2\u6570\u51b3\u5b9a\u662f\u5426\u9700\u8981\u56fd\u9645\u5316\u652f\u6301
src/app/core/net\u9ed8\u8ba4\u62e6\u622a\u5668\uff0c\u4f60\u53ef\u4ee5\u5728\u8fd9\u91cc\u7edf\u4e00\u5904\u7406\u8bf7\u6c42\u53c2\u6570\u3001\u8bf7\u6c42\u5f02\u5e38\u3001\u4e1a\u52a1\u5f02\u5e38\u7b49\u52a8\u4f5c
src/app/core/services/startup.service.ts\u5f53\u4f60\u9700\u8981\u5728 Angular \u542f\u52a8\u524d\u6267\u884c\u4e00\u4e9b\u8fdc\u7a0b\u6570\u636e\uff08\u4f8b\u5982\uff1a\u5e94\u7528\u4fe1\u606f\u3001\u7528\u6237\u4fe1\u606f\u7b49\uff09\u65f6\u975e\u5e38\u6709\u7528
src/app/layout\u5e03\u5c40\u76ee\u5f55\uff0c\u5305\u542b\u57fa\u7840\u5e03\u5c40\u3001\u7a7a\u767d\u5e03\u5c40\u3001\u7528\u6237\u767b\u5f55\u5e03\u5c40
src/app/routes\u4e1a\u52a1\u6a21\u5757\uff0c\u4f60\u7684\u6240\u6709\u4e1a\u52a1\u4ee3\u7801\u90fd\u5c06\u5728\u8fd9\u91cc
src/app/shared/shared.module.ts\u5171\u4eab\u6a21\u5757\uff0c\u6307\u5f53\u4f60\u9700\u8981\u9488\u5bf9\u6574\u4e2a\u4e1a\u52a1\u6a21\u5757\u90fd\u9700\u8981\u4f7f\u7528\u7684\u4e00\u4e9b\u7b2c\u4e09\u65b9\u6a21\u5757\u3001\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u3001\u81ea\u5b9a\u4e49\u6307\u4ee4\uff0c\u90fd\u5e94\u8be5\u5b58\u5728\u8fd9\u91cc\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u9488\u5bf9 @delon & NG-ZORRO \u5206\u522b\u6784\u5efa\u4e86 shared-delon.module.ts\u3001shared-zorro.module.ts \u4e24\u79cd\u6b21\u7ea7\u5171\u4eab\u6a21\u5757\u7684\u5bfc\u5165\u3002
src/app/global-config.module.ts\u9488\u5bf9 @delon & NG-ZORRO \u7684\u5168\u5c40\u914d\u7f6e\u9879
src/environments\u5e94\u7528\u73af\u5883\u53d8\u91cf\uff0c\u5305\u542b\u4ee5\u4e0b\u503c\uff1aSERVER_URL \u6240\u6709HTTP\u8bf7\u6c42\u7684\u524d\u7f00\uff1bproduction \u662f\u5426\u751f\u4ea7\u73af\u5883\uff1buseHash \u8def\u7531\u662f\u5426useHash\u6a21\u5f0f
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versionslast 2 versions

Contributing

Please read our CONTRIBUTING.md first.

If you\'d like to help us improve NG-ZORRO, just create a Pull Request. Feel free to report bugs and issues here.

If you\'re new to posting issues, we ask that you read How To Ask Questions The Smart Way(This guide does not provide actual support services for this project!) and How to Ask a Question in Open Source Community and How to Report Bugs Effectively prior to posting. Well written bug reports help us help you!

Need Help?

For questions on how to use ng-alain, please post questions to Stack Overflow using the ng-alain tag.

As always, we encourage experienced users to help those who are not familiar with ng-alain!

If you would like to Donate\n to NG-A

',meta:{order:10,title:"Getting Started",type:"Basic",i18n:"need-update"},toc:[{id:"Foreword",title:"Foreword",h:2},{id:"Preparation",title:"Preparation",h:2},{id:"Installation",title:"Installation",h:2,children:[{id:"CLIRecommend",title:"CLI (Recommend)",h:3},{id:"ClonetheGitRepository",title:"Clone the Git Repository",h:3}]},{id:"Scaffolding",title:"Scaffolding",h:2},{id:"Development",title:"Development",h:2},{id:"EnvironmentSupport",title:"Environment Support",h:2},{id:"Contributing",title:"Contributing",h:2},{id:"NeedHelp",title:"Need Help?",h:2},{id:"DONATE",title:"DONATE",h:2}]},"zh-CN":{content:'

\u4ec0\u4e48\u662fNG-ALAIN

NG-ALAIN \u662f\u4e00\u4e2a\u4f01\u4e1a\u7ea7\u4e2d\u540e\u53f0\u524d\u7aef/\u8bbe\u8ba1\u89e3\u51b3\u65b9\u6848\u811a\u624b\u67b6\uff0c\u6211\u4eec\u79c9\u627f Ant Design \u7684\u8bbe\u8ba1\u4ef7\u503c\u89c2\uff0c\u76ee\u6807\u4e5f\u975e\u5e38\u7b80\u5355\uff0c\u5e0c\u671b\u5728Angular\u4e0a\u9762\u5f00\u53d1\u4f01\u4e1a\u540e\u53f0\u66f4\u7b80\u5355\u3001\u66f4\u5feb\u901f\u3002\u968f\u7740\u300e\u8bbe\u8ba1\u8005\u300f\u7684\u4e0d\u65ad\u53cd\u9988\uff0c\u5c06\u6301\u7eed\u8fed\u4ee3\uff0c\u9010\u6b65\u6c89\u6dc0\u548c\u603b\u7ed3\u51fa\u66f4\u591a\u8bbe\u8ba1\u6a21\u5f0f\u548c\u76f8\u5e94\u7684\u4ee3\u7801\u5b9e\u73b0\uff0c\u9610\u8ff0\u4e2d\u540e\u53f0\u4ea7\u54c1\u6a21\u677f/\u7ec4\u4ef6/\u4e1a\u52a1\u573a\u666f\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u4e5f\u5341\u5206\u671f\u5f85\u4f60\u7684\u53c2\u4e0e\u548c\u5171\u5efa\u3002

\u73af\u5883\u642d\u5efa

Angular \u5f00\u53d1\u73af\u5883\u81f3\u5c11\u9700\u8981\u5b89\u88c5 Node.js(Node.js \u5185\u7f6e\u4e86 npm \u65e0\u987b\u5355\u72ec\u5b89\u88c5\uff0c\u4f46\u63a8\u8350\u4f7f\u7528 Yarn \u4f46\u4f60\u9700\u8981\u5355\u72ec\u989d\u5916\u5b89\u88c5\uff09\u3001VSCode\u7f16\u8f91\u5668\uff0c\u5176\u4e2d Node.js \u5efa\u8bae\u5b89\u88c5 LTS \u7248\u672c\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\uff1a

node -v # \u67e5\u770b Node.js \u5f53\u524d\u7248\u672c\nyarn -v # \u67e5\u770b Yarn \u5f53\u524d\u7248\u672c

Yarn \u9ed8\u8ba4\u4ece\u56fd\u5916\u6e90\u6765\u4e0b\u8f7d\u5305\u4fe1\u606f\uff0c\u9274\u4e8e\u56fd\u5185\u73af\u5883\u56e0\u7d20\uff0c\u5728\u5f00\u59cb\u4e0b\u4e00\u6b65\u524d\u5148\u8bbe\u5b9a\u6dd8\u5b9d\u63d0\u4f9b\u955c\u50cf\uff1a

yarn config set registry https://registry.npmmirror.com\nyarn config set sass_binary_site https://npmmirror.com/mirrors/node-sass\n# restore\nyarn config delete registry\nyarn config delete sass_binary_site

\u4e5f\u53ef\u4ee5\u4f7f\u7528 nrm \u5305\uff0c\u53ef\u4ee5\u5feb\u901f\u5207\u6362\u4e0d\u540c\u56fd\u5185\u955c\u50cf\u6e90\u3002

\u5b89\u88c5

\u5168\u5c40 Angular Cli

\u5b89\u88c5\u4e4b\u524d\u8bf7\u5148\u786e\u4fdd\u672c\u5730\u5df2\u7ecf\u5b89\u88c5\u5168\u5c40 Angular Cli\uff0c\u53ea\u6709\u8fd9\u6837\u624d\u80fd\u968f\u65f6\u968f\u5730\u5728\u7ec8\u7aef\u4f7f\u7528 ng \u547d\u4ee4\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\uff1a

yarn global add @angular/cli

\u521b\u5efaNG-ALAIN\u9879\u76ee

NG-ALAIN \u5fc5\u987b\u5148\u521b\u5efa\u4e00\u4e2a\u5168\u65b0\u7684 Angular \u9879\u76ee\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\uff1a

ng new my-project --style less --routing --package-manager yarn

\u5982\u679c\u4f60\u60f3\u4e86\u89e3 --style\u3001--routing \u53c2\u6570\uff0c\u8bf7\u53c2\u8003 ng new \u6587\u6863\u3002

\u63a5\u4e0b\u6765\u53ea\u9700\u8981\u5c06 NG-ALAIN \u6dfb\u52a0\u5230 my-project \u9879\u76ee\u4e2d\u5373\u53ef\uff0c\u5728 my-project \u76ee\u5f55\u4e0b\u901a\u8fc7\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\uff1a

cd my-project\nng add ng-alain

NG-ALAIN \u4f1a\u8be2\u95ee\u662f\u5426\u9700\u8981\u4e00\u4e9b\u989d\u5916\u7684\u63d2\u4ef6\uff0c\u4e00\u5f00\u59cb\u5b8c\u5168\u53ef\u4ee5\u4e00\u8def\u56de\u8f66\uff0c\u8fd9\u4e9b\u63d2\u4ef6\u90fd\u662f\u53ef\u63d2\u62d4\uff0c\u540e\u671f\u53ef\u4ee5\u81ea\u884c\u6dfb\u52a0\u4e0e\u79fb\u9664\u3002

\u4ee5\u4e0a\u53ea\u4f1a\u751f\u6210\u5e72\u51c0\u7684\u9879\u76ee\uff0c\u53ef\u4ee5\u76f4\u63a5\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u4e2d\u3002\u4f60\u53ef\u80fd\u5728\u9884\u89c8\u4e0a\u770b\u5230\u8bb8\u591a\u793a\u4f8b\u9875\uff0c\u5b83\u4eec\u5168\u90fd\u53ef\u4ee5\u5728 Github \u67e5\u770b\u5230\u6e90\u4ee3\u7801\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u901a\u8fc7 Git \u514b\u9686\u4ee3\u7801\u7684\u5f62\u5f0f\u83b7\u5f97\uff1a

git clone --depth=1 https://github.com/ng-alain/ng-alain.git my-project\ncd my-project\nyarn install

\u8fd0\u884c

yarn start

\u542f\u52a8\u5b8c\u6210\u540e\u4f1a\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee http://localhost:4200\uff0c\u82e5\u4f60\u770b\u5230\u5982\u4e0b\u9875\u9762\u5219\u4ee3\u8868\u6210\u529f\u4e86\u3002

\u606d\u559c\u4f60\uff0c\u4f60\u5df2\u7ecf\u6210\u529f\u90e8\u7f72\u4e00\u4e2a NG-ALAIN \u9879\u76ee\u3002

\u652f\u6301\u73af\u5883

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versionslast 2 versions

\u5982\u4f55\u8d21\u732e

\u5728\u4efb\u4f55\u5f62\u5f0f\u7684\u53c2\u4e0e\u524d\uff0c\u8bf7\u5148\u9605\u8bfb \u8d21\u732e\u8005\u6587\u6863\u3002\u5982\u679c\u4f60\u5e0c\u671b\u53c2\u4e0e\u8d21\u732e\uff0c\u6b22\u8fce Pull Request\uff0c\u6216\u7ed9\u6211\u4eec \u62a5\u544a Bug\u3002

\u5f3a\u70c8\u63a8\u8350\u9605\u8bfb \u300a\u63d0\u95ee\u7684\u667a\u6167\u300b(\u672c\u6307\u5357\u4e0d\u63d0\u4f9b\u6b64\u9879\u76ee\u7684\u5b9e\u9645\u652f\u6301\u670d\u52a1\uff01)\u3001\u300a\u5982\u4f55\u5411\u5f00\u6e90\u793e\u533a\u63d0\u95ee\u9898\u300b \u548c \u300a\u5982\u4f55\u6709\u6548\u5730\u62a5\u544a Bug\u300b\u3001\u300a\u5982\u4f55\u5411\u5f00\u6e90\u9879\u76ee\u63d0\u4ea4\u65e0\u6cd5\u89e3\u7b54\u7684\u95ee\u9898\u300b\uff0c\u66f4\u597d\u7684\u95ee\u9898\u66f4\u5bb9\u6613\u83b7\u5f97\u5e2e\u52a9\u3002

\u793e\u533a\u4e92\u52a9

\u5982\u679c\u60a8\u5728\u4f7f\u7528\u7684\u8fc7\u7a0b\u4e2d\u78b0\u5230\u95ee\u9898\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u51e0\u4e2a\u9014\u5f84\u5bfb\u6c42\u5e2e\u52a9\uff0c\u540c\u65f6\u6211\u4eec\u4e5f\u9f13\u52b1\u8d44\u6df1\u7528\u6237\u901a\u8fc7\u4e0b\u9762\u7684\u9014\u5f84\u7ed9\u65b0\u4eba\u63d0\u4f9b\u5e2e\u52a9\u3002

\u901a\u8fc7 Stack Overflow \u6216\u8005 Segment Fault \u63d0\u95ee\u65f6\uff0c\u5efa\u8bae\u52a0\u4e0a ng-alain \u6807\u7b7e\u3002

  1. QQ \u7fa4

  2. Segment Fault\uff08\u4e2d\u6587\uff09

  3. \u52a0\u5165 NG-ALAIN \u81ea\u52a9\u670d\u52a1\u7fa4\uff08\u4e2d\u6587\uff09

\u6350\u52a9

\u5982\u679c\u4f60\u89c9\u5f97 NG-ALAIN \u4e0d\u9519\uff0c\u53ef\u4ee5\u8003\u8651\u81ea\u613f\u4e3a\u672c\u7ad9\u6253\u8d4f\u6216\u6350\u52a9\u3002

{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/global-config.en-US.md","zh-CN":"docs/global-config.zh-CN.md"},content:{"en-US":{content:'

We add support of global configuration to many components. You can define the default behavior of the component through global configuration, thus reducing the code that needs to be written in the template, and support changing global config at runtime.

How to Use?

If you want to provide default configurations to some components, you should provide an object that implements the interface AlainConfig with the injection token ALAIN_CONFIG, in the root module (in another word, to the root injector). Like this:

// global-config.module.ts\nimport { AlainConfig, ALAIN_CONFIG } from \'@delon/util/config\';\n\nconst alainConfig: AlainConfig = {\n  st: { ps: 3 },\n};\n\n@NgModule({\n  providers: [\n    { provide: ALAIN_CONFIG, useValue: alainConfig },\n  ],\n})\nexport class GlobalConfigModule {}

These global configuration would be injected into a service named AlainConfigService and gets stored.

About NG-ZORRO

Please refer to NG-ZORRO Website Documentation

',meta:{order:90,title:{"en-US":"Global Configuration","zh-CN":"\u5168\u5c40\u914d\u7f6e\u9879"},type:"Dev"},toc:[{id:"HowtoUse",title:"How to Use?",h:2},{id:"AboutNG-ZORRO",title:"About NG-ZORRO",h:2}]},"zh-CN":{content:'

\u6211\u4eec\u7ed9\u4f17\u591a\u7ec4\u4ef6\u6dfb\u52a0\u4e86\u5168\u5c40\u914d\u7f6e\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5168\u5c40\u914d\u7f6e\u6765\u5b9a\u4e49\u7ec4\u4ef6\u7684\u9ed8\u8ba4\u884c\u4e3a\uff0c\u4ece\u800c\u51cf\u5c11\u5728\u6a21\u677f\u4e2d\u9700\u8981\u5199\u7684\u4ee3\u7801\uff08\u8ba9\u4f60\u7684\u4ee3\u7801\u66f4\u52a0\u6e05\u723d\uff09\uff0c\u8fd8\u80fd\u5728\u8fd0\u884c\u65f6\u4fee\u6539\u5168\u5c40\u914d\u7f6e\u9879\u3002

\u5982\u4f55\u4f7f\u7528

\u60f3\u8981\u4e3a\u67d0\u4e9b\u7ec4\u4ef6\u63d0\u4f9b\u9ed8\u8ba4\u914d\u7f6e\u9879\uff0c\u8bf7\u5728\u6839\u6ce8\u5165\u5668\u4e2d\u6839\u636e\u6ce8\u5165\u4ee4\u724c ALAIN_CONFIG \u63d0\u4f9b\u4e00\u4e2a\u7b26\u5408 AlainConfig \u63a5\u53e3\u7684\u5bf9\u8c61\uff0c\u4f8b\u5982\uff1a

// global-config.module.ts\nimport { AlainConfig, ALAIN_CONFIG } from \'@delon/util/config\';\n\nconst alainConfig: AlainConfig = {\n  st: { ps: 3 },\n};\n\n@NgModule({\n  providers: [\n    { provide: ALAIN_CONFIG, useValue: alainConfig },\n  ],\n})\nexport class GlobalConfigModule {}

\u8fd9\u4e9b\u5168\u5c40\u914d\u7f6e\u9879\u5c06\u4f1a\u88ab\u6ce8\u5165 AlainConfigService \u5f53\u4e2d\u5e76\u4fdd\u5b58\u3002

\u5173\u4e8e NG-ZORRO \u5168\u5c40\u914d\u7f6e\u9879

\u8bf7\u53c2\u8003 NG-ZORRO \u5b98\u7f51\u6587\u6863

',meta:{order:90,title:{"en-US":"Global Configuration","zh-CN":"\u5168\u5c40\u914d\u7f6e\u9879"},type:"Dev"},toc:[{id:"\u5982\u4f55\u4f7f\u7528",title:"\u5982\u4f55\u4f7f\u7528",h:2},{id:"\u5173\u4e8eNG-ZORRO\u5168\u5c40\u914d\u7f6e\u9879",title:"\u5173\u4e8e NG-ZORRO \u5168\u5c40\u914d\u7f6e\u9879",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-global-config"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"graph",redirectTo:"graph/zh",pathMatch:"full"},{path:"graph/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/graph.md"},content:{"zh-CN":{content:'
',meta:{order:20,title:{"en-US":"Charts","zh-CN":"\u56fe\u8868"},type:"Advance",url:"/chart/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-graph"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"how-to-start",redirectTo:"how-to-start/zh",pathMatch:"full"},{path:"how-to-start/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/how-to-start.en-US.md","zh-CN":"docs/how-to-start.zh-CN.md"},content:{"en-US":{content:'

First, pre-order preparation

As you begin your business development on NG-ALAIN, i recommend that you first review the following documents, which is very helpful for everyone on the team.

NG-ALAIN\'s base component library comes from NG-ZORRO, so you can get a very detailed API documentation for its use on the official website. For ng components provided by -alain are obtained through the component page.

Second, the startup process

NG-ALAIN is a scaffold that can be used directly in production environments. The prerequisite for understanding these details is that you have a certain knowledge of Angular. The following documents may be helpful to you before you start:

When running an app via ng serve, a complete Angular startup process would look like this:

  1. Trigger APP_INITIALIZER (the scaffolding implementation is implemented in StartupService.load) to get the application information.

  2. Trigger service routing (src/app/routes/routes-routing.module.ts` for scaffolding)

  3. Rendering components

1) APP_INITIALIZER

From a mid and back-office perspective, NG-ALAIN always believes that a network request is required to get some application information (eg menu data, user data, etc.) before Angular starts.startup.service.ts\uff1bIt returns a Promise object, which always needs to be called: resolve() to ensure that Angular starts normally.

Network requests may encounter a 403 error because the scaffolding uses the user authentication module by default and always assumes that all requests must be a valid user authorization. For more documentation see:

After obtaining the application information, you need to assign some values \u200b\u200bto the built-in services of the scaffolding, including:

Application Information

Including: application name, description, year, information can be directly injected into the SettingsService (API) and directly in the HTML template.

this.settingService.setApp(res.app);

User Info

Including: name, avatar, email address, etc., information can be directly injected into the SettingsService (API) and directly in the HTML template.

this.settingService.setUser(res.user);

Layout information

Including: name, avatar, email, address, etc., information can be directly injected into the SettingsService (API) and directly in the HTML template.

// Whether to fix the top menu\nthis.settingService.setLayout(`fixed`, false);\n// Whether to collapse the right menu\nthis.settingService.setLayout(`collapsed`, false);

Menu data

NG-ALAIN takes menu from the remote and can also inject MenuService (API) to change the menu data. Of course, it is more reasonable to perform menu assignment before Angular starts.

Menu data Make sure ensure Menu format, menu data throughout Applications, for example: page header auto navigation page-header, page title text TitleService Wait.

this.menuService.add(res.menu);

Page title

If the page title always wants to add the application name as a suffix, you can re-adjust the suffix attribute value by injecting TitleService(API).

// Set the suffix of the page title\nthis.titleService.suffix = res.app.name;

ACL

this.aclService.setFull(true);

It is recommended to load the ACL access control permission data before starting. For more details, please refer to Access Control List.

Globalization

It is recommended to load the internationalization package first before starting, which will ensure that the page is rendered as the target language after the project is started. See Internationalization for more details.

2) Business routing

Scaffolding top-level routing begins with routes-routing.module.ts Its structure is as follows:

const routes: Routes = [\n  {\n    path: \'\',\n    component: LayoutDefaultComponent,\n    children: [\n      { path: \'\', redirectTo: \'dashboard\', pathMatch: \'full\' },\n      { path: \'dashboard\', component: DashboardComponent, data: { title: \'Dashboard\' } },\n      // business submodule\n      // { path: \'trade\', loadChildren: \'./trade/trade.module#TradeModule\' }\n    ]\n  },\n  // Blank layout\n  {\n    path: \'blank\',\n    component: LayoutBlankComponent,\n    children: [\n    ]\n  },\n  // passport\n  {\n    path: \'passport\',\n    component: LayoutPassportComponent,\n    children: [\n      { path: \'login\', component: UserLoginComponent },\n      { path: \'register\', component: UserRegisterComponent },\n      { path: \'register-result\', component: UserRegisterResultComponent }\n    ]\n  },\n  // Single page does not wrap Layout\n  { path: \'callback/:type\', component: CallbackComponent },\n  { path: \'403\', component: Exception403Component },\n  { path: \'404\', component: Exception404Component },\n  { path: \'500\', component: Exception500Component },\n  { path: \'**\', redirectTo: \'dashboard\' }\n];

Above we used the LayoutDefaultComponent base layout in the business module. User authorization uses LayoutPassportComponent user authorization layout and the full screen layout.

It is recommended that all submodules be loaded using a lazy module, such as the TradeModule order module, which organizes the code structure more efficiently.

Under what circumstances do you not use lazy loading?

Angular startup from the top-level component. When a lazy module is encountered, it will initiate a script request. At this time, the dashboard or login page will be blank due to network requests, which is not good for the experience.

Routing permission control

The routing URL may be affected by the browser\'s own historical memory, so that users may access the unprivileged route. If you want a better experience, you need to configure the canActivate option on the route. When the user has no permission, it will utomatically jump to the relevant page. see the ACL Routing Guard section for details.

IDE

A developer must first sharpen his tools if he is to do his work well, NG-ALAIN recommended to use the Visual Studio Code IDE, because ng-alain adds some extra features to VSCode to better help you. Development.

Or use the NG-ALAIN Extension Pack suite directly.

Code fragment

Class style smart reminder

ng-alain has a lot of built-in toolkit styles (API), and the following plugins can be installed directly into the HTML template.

',meta:{order:0,title:"How to start",type:"Dev",i18n:"need-update"},toc:[{id:"First,pre-orderpreparation",title:"First, pre-order preparation",h:2},{id:"Second,thestartupprocess",title:"Second, the startup process",h:2,children:[{id:"1APP_INITIALIZER",title:"1) APP_INITIALIZER",h:3},{id:"2Businessrouting",title:"2) Business routing",h:3},{id:"Underwhatcircumstancesdoyounotuselazyloading",title:"Under what circumstances do you not use lazy loading?",h:3},{id:"Routingpermissioncontrol",title:"Routing permission control",h:3}]},{id:"IDE",title:"IDE",h:2,children:[{id:"Codefragment",title:"Code fragment",h:3},{id:"Classstylesmartreminder",title:"Class style smart reminder",h:3}]}]},"zh-CN":{content:'

\u524d\u5e8f\u51c6\u5907

NG-ALAIN \u6280\u672f\u6808\u57fa\u4e8e Typescript\u3001Angular\u3001\u56fe\u8868G2 \u548c NG-ZORRO\uff0c\u5728\u5f00\u59cb\u5c1d\u8bd5\u4f7f\u7528 NG-ALAIN \u811a\u624b\u67b6\u524d\uff0c\u8bf7\u5148\u63d0\u524d\u4e86\u89e3\u548c\u5b66\u4e60\u8fd9\u4e9b\u77e5\u8bc6\u4f1a\u975e\u5e38\u6709\u5e2e\u52a9\u3002\u5982\u679c\u4f60\u662f\u4e00\u540d Java \u6216 C# \u540e\u7aef\u5f00\u53d1\u4eba\u5458\uff0c\u90a3\u4e48\u606d\u559c\u4f60\uff0c\u4f60\u6240\u89c1\u5230\u7684\u4e0d\u7ba1\u662f\u7ed3\u6784\u3001\u4ee3\u7801\u3001\u5f00\u53d1\u4f53\u9a8c\u7b49\u90fd\u662f\u4f60\u6240\u60f3\u7684\u90a3\u6837\u3002\u4f46\u4e0d\u7ba1\u600e\u4e48\u6837\uff0c\u60f3\u5199\u597d Angular \u4ee3\u7801\uff0c\u4ee5\u4e0b\u8fd9\u4e9b\u6587\u7ae0\u53ca\u793e\u533a\u662f\u4f60\u5fc5\u987b\u8981\u77e5\u9053\u7684\uff1a

\u5199\u5728\u524d\u9762

\u5f88\u591a\u4eba\u5728\u5b66\u4e60\u4e00\u9879\u65b0\u4e1c\u897f\u65f6\uff0c\u65e0\u5916\u4e4e\u5199\u4e2a Hello World \u6216\u662f\u5199\u4e00\u4e2a Http \u8bf7\u6c42\uff0c\u7136\u540e\u6162\u6162\u5f00\u59cb\u8f90\u5c04\u6240\u9700\u8981\u7684\u6280\u672f\u77e5\u8bc6\u3002\u4e00\u4e2a HTTP \u8bf7\u6c42\u5bf9\u4e2d\u540e\u53f0\u800c\u8a00\u4fbf\u662f\u6db5\u76d6\u4e86 CURD \u4e3b\u8981\u4efb\u52a1\uff0c\u751a\u81f3\u53ef\u4ee5\u8bf490%\u65f6\u95f4\u53ca\u529f\u80fd\u90fd\u5728\u505a\u8fd9\u9879\u5de5\u4f5c\u3002\u5728\u4ecb\u7ecd\u7ae0\u8282\u4e2d\u5df2\u7ecf\u63cf\u8ff0\u521b\u5efa\u4e00\u4e2a NG-ALAIN \u9879\u76ee\u5e76\u5982\u4f55\u8fd0\u884c\u5b83\uff0c\u5982\u679c\u6b64\u65f6\u4f60\u4e5f\u60f3\u8981\u5199\u4e2a Hello World\uff0c\u90a3\u4e48\u53ea\u9700\u8981\u5229\u7528 VSCode \u6253\u5f00\u8fd9\u4e2a\u9879\u76ee\uff0c\u5e76\u5728 dashboard.component.html \u6587\u4ef6\u5185\u8f93\u5165\u6587\u672c\uff0c500ms \u540e\u5c31\u4f1a\u5728\u9875\u9762\u4e0a\u7acb\u5373\u5448\u73b0\u3002

\u6d41\u7a0b

\u56de\u8fc7\u5934\u6765\u6211\u4eec\u8bd5\u7740\u56de\u60f3\u4e00\u4e0b\uff0c\u4e00\u4e2a\u4e2d\u540e\u53f0\u9879\u76ee\uff0c\u4ece\u542f\u52a8\u518d\u5230\u5448\u73b0\u4e00\u4efd\u8ba2\u5355\u5217\u8868\u7684\u529f\u80fd\uff0c\u5bf9\u4e8e\u5f00\u53d1\u8005\u800c\u8a00\u5305\u542b\u4e86\u54ea\u4e9b\u4e8b\u4ef6\u3002\u65e0\u5916\u4e4e\u9879\u76ee\u542f\u52a8\u65f6\u5e94\u8be5\u52a0\u8f7d\u70b9\u4ec0\u4e48\u7cfb\u7edf\u914d\u7f6e\u9879\uff0c\u54ea\u4e9b\u9875\u9762\u7528\u6237\u65e0\u6743\u8fdb\u5165\uff1b\u628a\u7c92\u5ea6\u518d\u60f3\u7ec6\u4e00\u70b9\uff0c\u540c\u4e00\u4e2a\u9875\u9762\u4e0d\u540c\u7684\u6309\u94ae\u7ed9\u4e0d\u540c\u7684\u4eba\u7528\uff0cHTTP\u8bf7\u6c42\u82e5\u4ea7\u751f\u9519\u8bef\u662f\u4e0d\u662f\u5f97\u6bcf\u6b21\u90fd\u5199\u76f8\u540c\u7684\u5904\u7406\u4ee3\u7801\u7b49\u7b49\u3002

\u521d\u59cb\u5316\u9879\u76ee\u6570\u636e

Angular \u63d0\u4f9b\u4e00\u4e2aDI\uff08\u4f9d\u8d56\u6ce8\u5165\uff09\u4ee4\u724c APP_INITIALIZER \u8ba9\u5e94\u7528\u542f\u52a8\u65f6\u53ef\u4ee5\u505a\u4e00\u4e9b\u4f1a\u5f71\u54cd\u6e32\u67d3\u7ed3\u679c\u7684\u6570\u636e\uff0c\u6bd4\u5982\uff1a\u8bed\u8a00\u6570\u636e\u3001\u83dc\u5355\u6570\u636e\u3001\u7528\u6237\u4fe1\u606f\u6570\u636e\u3001\u5b57\u5178\u6570\u636e\u7b49\uff0c\u5e76\u4e14\u5fc5\u987b\u8fd4\u56de\u4e00\u4e2a Promise \u5f02\u6b65\u51fd\u6570\uff0c\u5f02\u6b65\u610f\u5473\u8005\u53ef\u4ee5\u505a\u5f88\u591a\u6709\u8da3\u7684\u4e8b\uff0c\u6bd4\u5982\u6570\u636e\u6765\u81ea\u8fdc\u7a0b\u3002APP_INITIALIZER \u53ea\u4f1a\u6267\u884c\u4e00\u6b21\uff0c\u53ea\u9700\u8981\u5728 AppModule \u6a21\u5757\u6ce8\u518c\u5b83\u5c31\u884c\u4e86\u3002

export function StartupServiceFactory(startupService: StartupService): () => Promise {\n  return () => startupService.load();\n}\n\n@NgModule({\n  declarations: [AppComponent],\n  imports: [BrowserModule]\n  providers: [{\n    StartupService,\n    {\n      provide: APP_INITIALIZER,\n      useFactory: StartupServiceFactory,\n      deps: [StartupService],\n      multi: true,\n    },\n  }],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {}

\u800c StartupService \u5982\u4e0b\uff1a

@Injectable()\nexport class StartupService {\n  constructor(private httpClient: HttpClient) {}\n\n  load(): Promise { \n    return new Promise((resolve) => {\n      this.httpClient.get(``).subscribe(() => {\n        resolve();\n      });\n    });\n  }\n}

\u54ea\u6015 Http \u8bf7\u6c42\u5931\u8d25\uff0c\u8fd9\u91cc\u4e5f\u5fc5\u987b\u6267\u884c resolve()\uff0c\u5426\u5219\u5e94\u7528\u5c31\u65e0\u6cd5\u542f\u52a8\u3002\u800c NG-ALAIN \u63d0\u4f9b\u7684 startup.service.ts \u5185\u5bb9\u66f4\u52a0\u4e30\u5bcc\u4e00\u70b9\uff0c\u5bf9\u4e8e\u5b8c\u6574\u7684\u4e2d\u540e\u53f0\u800c\u8a00\uff0c\u5927\u591a\u6570\u9879\u76ee\u4e2d\u4ee5\u4e0b\u8fd9\u4e9b\u4fe1\u606f\u90fd\u53ef\u4ee5\u5fc5\u5907\u7684\uff1a

\u6570\u636e\u7c7b\u578b\u63cf\u8ff0
\u5e94\u7528\u4fe1\u606f\u5e94\u7528\u540d\u79f0\u3001\u63cf\u8ff0\u3001\u5e74\u4efd\uff0c\u4fe1\u606f\u53ef\u4ee5\u76f4\u63a5\u6ce8\u5165 SettingsService\uff08API\uff09\u540e\u76f4\u63a5\u5728HTML\u6a21\u677f\u4e2d\u8bbf\u95ee\u3002
\u4f8b\u5982\uff1athis.settingService.setApp(res.app);
\u7528\u6237\u4fe1\u606f\u5f53\u524d\u7528\u6237\u7684\u59d3\u540d\u3001\u5934\u50cf\u3001\u90ae\u7bb1\u5730\u5740\u7b49\uff0c\u4fe1\u606f\u53ef\u4ee5\u76f4\u63a5\u6ce8\u5165 SettingsService\uff08API\uff09\u540e\u76f4\u63a5\u5728HTML\u6a21\u677f\u4e2d\u8bbf\u95ee\u3002
\u4f8b\u5982\uff1athis.settingService.setUser(res.user);
\u5e03\u5c40\u4fe1\u606f\u8c03\u6574\u4e3b\u9898\u914d\u7f6e\uff0c\u4f8b\u5982\uff1a\u56fa\u5b9a\u9876\u90e8\u83dc\u5355\u3001\u6298\u53e0\u83dc\u5355\u7b49\u3002
\u4f8b\u5982\uff1athis.settingService.setLayout("fixed", false); \u6216 this.settingService.setLayout("collapsed", false);
\u83dc\u5355\u6570\u636eNG-ALAIN \u8ba4\u4e3a\u83dc\u5355\u6570\u636e\u4e5f\u662f\u6765\u81ea\u8fdc\u7a0b\uff0c\u4e5f\u53ef\u4ee5\u4efb\u610f\u4f4d\u7f6e\u6ce8\u5165 MenuService\uff08API\uff09\u6765\u6539\u53d8\u83dc\u5355\u6570\u636e\uff0c\u5f53\u7136\u5728 Angular \u542f\u52a8\u4e4b\u524d\u6267\u884c\u83dc\u5355\u8d4b\u503c\u66f4\u4e3a\u5408\u7406\u3002
\u83dc\u5355\u6570\u636e\u52a1\u5fc5\u786e\u4fdd Menu \u683c\u5f0f\uff0c\u83dc\u5355\u6570\u636e\u8d2f\u7a7f\u6574\u4e2a\u5e94\u7528\uff0c\u4f8b\u5982\uff1a\u9875\u5934\u81ea\u52a8\u5bfc\u822a page-header\uff0c\u9875\u6807\u9898\u6587\u672c TitleService \u7b49\u3002
\u4f8b\u5982\uff1athis.menuService.add(res.menu);
\u9875\u9762\u6807\u9898\u82e5\u9875\u9762\u6807\u9898\u603b\u5e0c\u671b\u52a0\u4e0a\u5e94\u7528\u540d\u79f0\u4e3a\u540e\u7f00\u65f6\uff0c\u53ef\u4ee5\u6ce8\u5165 TitleService\uff08API\uff09\u91cd\u65b0\u8c03\u6574 suffix \u5c5e\u6027\u503c\u3002
\u4f8b\u5982\u8bbe\u7f6e\u9875\u9762\u6807\u9898\u7684\u540e\u7f00\uff1athis.titleService.suffix = res.app.name;
ACL\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u6570\u636e\uff0c\u5efa\u8bae\u5728\u542f\u52a8\u524d\u52a0\u8f7dACL\u8bbf\u95ee\u63a7\u5236\u6743\u9650\u6570\u636e\uff0c\u6709\u5173\u66f4\u591a\u7ec6\u8282\u53ef\u53c2\u8003 \u8bbf\u95ee\u63a7\u5236\u5217\u8868\u3002
\u4f8b\u5982\u8bbe\u7f6e\u5168\u91cf\u6743\u9650\uff1athis.aclService.setFull(true);
\u56fd\u9645\u5316\u5efa\u8bae\u5728\u542f\u52a8\u524d\u4f18\u5148\u52a0\u8f7d\u56fd\u9645\u5316\u6570\u636e\u5305\uff0c\u8fd9\u6837\u53ef\u786e\u4fdd\u9879\u76ee\u542f\u52a8\u540e\u9875\u9762\u6e32\u67d3\u4e3a\u76ee\u6807\u8bed\u8a00\u3002\u66f4\u591a\u7ec6\u8282\u53c2\u8003\u56fd\u9645\u5316\u3002

\u4e1a\u52a1\u8def\u7531

\u5f53 Angular \u9879\u76ee\u6b63\u5f0f\u542f\u52a8\u540e\u4f1a\u8fdb\u5165\u6e32\u67d3\u52a8\u4f5c\uff0c\u6839\u636e\u5f53\u524d\u7684\u8def\u7531\u5730\u5740\u6765\u51b3\u5b9a\u4e00\u4e2a\u9875\u9762\u5982\u4f55\u6e32\u67d3\uff0c\u4ece\u6700\u9876\u5c42\u8def\u7531 routes-routing.module.ts \u5f00\u59cb\u4e00\u5c42\u5c42\u5bfb\u627e\uff0c\u5176\u7ed3\u6784\u5982\u4e0b\uff1a

const routes: Routes = [\n  {\n    path: \'\',\n    component: LayoutBasicComponent,\n    children: [\n      { path: \'\', redirectTo: \'dashboard\', pathMatch: \'full\' },\n      { path: \'dashboard\', component: DashboardComponent, data: { title: \'\u4eea\u8868\u76d8\' } },\n      // \u4e1a\u52a1\u5b50\u6a21\u5757\n      // { path: \'trade\', loadChildren: \'./trade/trade.module#TradeModule\' }\n    ]\n  },\n  // \u7a7a\u767d\u5e03\u5c40\n  {\n    path: \'blank\',\n    component: LayoutBlankComponent,\n    children: [\n    ]\n  },\n  // passport\n  {\n    path: \'passport\',\n    component: LayoutPassportComponent,\n    children: [\n      { path: \'login\', component: UserLoginComponent },\n    ]\n  },\n  // \u5355\u9875\u4e0d\u5305\u88f9Layout\n  { path: \'passport/callback/:type\', component: CallbackComponent },\n  { path: \'exception\', loadChildren: () => import(\'./exception/exception.module\').then((m) => m.ExceptionModule) },\n  // \u672a\u547d\u4e2d\u8def\u7531\u5168\u90e8\u8df3\u8f6c\u81f3 `exception/404` \u9875\u9762\u4e0a\n  { path: \'**\', redirectTo: \'exception/404\' },\n];

\u4e0a\u8ff0\u5728\u4e1a\u52a1\u6a21\u5757\u4e2d\u4f7f\u7528\u4e86 LayoutBasicComponent \u57fa\u7840\u5e03\u5c40\u3001\u7528\u6237\u6388\u6743\u4f7f\u7528\u4e86 LayoutPassportComponent \u7528\u6237\u6388\u6743\u5e03\u5c40\u4ee5\u53ca LayoutBlankComponent \u7a7a\u767d\u5e03\u5c40\uff0c\u4ee5\u4e0a\u4e09\u79cd\u5e03\u5c40\u90fd\u53ef\u4ee5\u5728 layout \u76ee\u5f55\u4e0b\u627e\u5f97\u5230\u3002

\u4f8b\u5982\u5f53\u7528\u6237\u8bbf\u95ee /dashboard \u8def\u7531\u65f6\uff0c\u4f1a\u5148\u7ecf\u8fc7 LayoutBasicComponent -> DashboardComponent\uff0c\u6700\u7ec8\u6362\u5f62\u6210\u4e00\u4e2a\u5e9e\u5927\u7684\u7ec4\u4ef6\u6811\u6765\u8868\u793a\u4e00\u4e2a\u5177\u4f53\u7684\u9875\u9762\u3002NG-ALAIN \u811a\u624b\u67b6\u5e2e\u52a9\u4f60\u5b8c\u6210\u5927\u591a\u6570\u5de5\u4f5c\uff0c\u800c\u4e00\u4e2a\u65b0\u5165\u95e8\u7684\u4eba\u66f4\u591a\u53ea\u9700\u8981\u5173\u5fc3 DashboardComponent \u4e1a\u52a1\u7ec4\u4ef6\u8be5\u5982\u4f55\u5b9e\u73b0\u3002

\u4ec0\u4e48\u60c5\u51b5\u4e0b\u4e0d\u4f7f\u7528\u61d2\u52a0\u8f7d\uff1f

Angular \u542f\u52a8\u662f\u4ece\u9876\u5c42\u7ec4\u4ef6\u5f00\u59cb\u5411\u4e0b\u6e32\u67d3\uff0c\u5f53\u9047\u5230\u61d2\u6a21\u5757\u65f6\u4f1a\u5148\u53d1\u8d77\u811a\u672c\u8bf7\u6c42\uff0c\u6b64\u65f6\u4f1a\u56e0\u4e3a\u7f51\u7edc\u8bf7\u6c42\u5bfc\u81f4\u4eea\u8868\u76d8\u6216\u767b\u5f55\u9875\u77ed\u6682\u7684\u7a7a\u767d\uff0c\u8fd9\u5bf9\u4f53\u9a8c\u5e76\u4e0d\u597d\u3002

\u7528\u6237\u8ba4\u8bc1\u4e0e\u6388\u6743

\u9875\u9762\u80fd\u5426\u8bbf\u95ee\u53d6\u51b3\u4e8e\u7528\u6237\u662f\u5426\u767b\u5f55\u3001\u5df2\u7ecf\u767b\u5f55\u8fd8\u5f97\u5224\u65ad\u5426\u6709\u6388\u6743\uff0c\u800c\u8fd9\u4e24\u9879\u5de5\u4f5c\u5206\u522b\u4ea4\u7ed9 @delon/auth \u4e0e @delon/acl \u6765\u5b8c\u6210\u3002

\u7528\u6237\u8ba4\u8bc1

\u9996\u5148\u7528\u6237\u8bbf\u95ee\u9875\u9762\u65f6\u662f\u7531\u9876\u5c42\u8def\u7531\u5f00\u59cb\u5bfb\u627e\u547d\u4e2d\u540e\u8fdb\u884c\u6e32\u67d3\uff0c\u8981\u60f3\u8ba9\u6240\u6709\u672a\u767b\u5f55\u7528\u6237\u8df3\u8f6c\u5230\u767b\u5f55\u9875\u9762\uff0c\u53ef\u4ee5\u914d\u7f6e canActivate \u9009\u9879\uff0c@delon/auth \u5df2\u7ecf\u63d0\u4f9b\u4e86\u5177\u4f53\u7684\u5b9e\u73b0\uff0c\u4f8b\u5982\uff1a

const routes: Routes = [\n  {\n    path: \'\',\n    component: LayoutBasicComponent,\n    canActivate: [authSimpleCanActivate],\n    children: [\n      { path: \'\', redirectTo: \'dashboard\', pathMatch: \'full\' },\n      { path: \'dashboard\', component: DashboardComponent, data: { title: \'\u4eea\u8868\u76d8\' } },\n    ]\n  },\n];

\u8fd9\u91cc\u7684 authSimpleCanActivate \u662f\u56e0\u4e3a\u91c7\u7528\u57fa\u4e8e Simple Web Token \u8ba4\u8bc1\u98ce\u683c\uff0c\u5176\u4ed6\u8ba4\u8bc1\u65b9\u5f0f\u8bf7\u53c2\u8003\u7528\u6237\u8ba4\u8bc1\u7ae0\u8282\u3002

\u5f53\u7528\u6237\u672a\u767b\u5f55\u65f6\u4f1a\u76f4\u63a5\u8df3\u8f6c\u81f3 /passport/login \u9875\u9762\uff0c\u5982\u679c\u91c7\u7528\u7684\u662f JWT \u8ba4\u8bc1\u65b9\u5f0f\uff0c\u8fd8\u4f1a\u5bf9 Token \u662f\u5426\u6709\u6548\u8fdb\u884c\u68c0\u9a8c\u3002

\u7528\u6237\u6388\u6743

\u63a5\u8005\u7528\u6237\u8bbf\u95ee\u7684\u9875\u9762\u8fd8\u9700\u8981\u53d6\u51b3\u4e8e\u6388\u6743\u7a0b\u5ea6\uff0c\u4f8b\u5982\u7cfb\u7edf\u914d\u7f6e\u9875\u666e\u901a\u7528\u6237\u80af\u5b9a\u65e0\u6cd5\u8fdb\u5165\u3002\u5728\u521d\u59cb\u5316\u9879\u76ee\u6570\u636e\u5c0f\u8282\u91cc\u4f1a\u6839\u636e\u5f53\u524d\u7528\u6237\u7684 Token \u6765\u83b7\u5f97\u6388\u6743\u7684\u6570\u636e\uff0c\u5e76\u5c06\u6570\u636e\u4ea4\u7ed9 @delon/acl\uff0c\u540c\u65f6\u5b83\u4e5f\u63d0\u4f9b\u4e00\u7ec4\u8def\u7531\u5b88\u536b\u7684\u5177\u4f53\u5b9e\u73b0 aclCanActivate \u65b9\u6cd5\uff0c\u4f8b\u5982\u5e0c\u671b\u6574\u4e2a\u7cfb\u7edf\u914d\u7f6e\u6a21\u5757\u90fd\u5fc5\u987b\u662f admin \u89d2\u8272\u624d\u80fd\u8bbf\u95ee\uff0c\u5219\uff1a

const routes: Routes = [\n  {\n    path: \'sys\',\n    canActivate: [aclCanActivate],\n    data: { guard: \'admin\' },\n    children: [\n      { path: \'config\', component: ConfigComponent },\n    ]\n  },\n];

\u6b64\u65f6\uff0c\u5f53\u4e00\u4e2a\u672a\u6388\u6743 admin \u89d2\u8272\u7684\u7528\u6237\u5c1d\u8bd5\u8bbf\u95ee /sys/config \u9875\u9762\u65f6\u4f1a\u88ab\u8df3\u8f6c\u81f3\u672a\u6388\u6743\u9519\u8bef\u9875\u4e0a\u3002

\u5f53\u7136\u8fd8\u652f\u6301\u7c92\u5ea6\u6709\u66f4\u7ec6\u64cd\u4f5c\uff0c\u6bd4\u5982\u67d0\u4e2a\u6309\u94ae\uff0c\u8bf7\u53c2\u8003ACL\u7ae0\u8282\u3002

\u62e6\u622a\u7f51\u7edc\u8bf7\u6c42

\u7f51\u7edc\u8bf7\u6c42\u662f\u4e00\u9879\u975e\u5e38\u9891\u7e41\u7684\u5de5\u4f5c\uff0c\u5982\u679c\u60f3\u4f18\u96c5\u7684\u5728\u4e1a\u52a1\u7ec4\u4ef6\u5185\u4f7f\u7528\u7f51\u7edc\u8bf7\u6c42\u52a8\u4f5c\u7684\u8bdd\uff0c\u90a3\u4e48\u5c06\u670d\u52a1\u7aefURL\u524d\u7f00\u3001\u5f02\u5e38\u5904\u7406\u3001Token \u5237\u65b0\u7b49\u64cd\u4f5c\u96c6\u4e2d\u5904\u7406\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\uff0cNG-ALAIN \u811a\u624b\u67b6\u63d0\u4f9b\u4e00\u4e2a default.interceptor.ts \u6587\u4ef6\u3002\u5b83\u4f1a\u5229\u7528\u4ee4\u724c HTTP_INTERCEPTORS \u8d77\u5230\u4e00\u79cd\u62e6\u622a\u5668\u7684\u6548\u679c\u3002

\u6709\u5173\u4ee5\u4e0a\u96c6\u4e2d\u5904\u7406\u7684\u52a8\u4f5c\u7ec6\u8282\uff0c\u8bf7\u53c2\u8003 default.interceptor.ts \u6587\u4ef6\u3002

IDE

\u201c\u5de5\u6b32\u5584\u5176\u4e8b\uff0c\u5fc5\u5148\u5229\u5176\u5668\u662f\u201d\uff0cNG-ALAIN \u811a\u624b\u67b6\u63a8\u8350\u4f7f\u7528 Visual Studio Code IDE\uff0c\u56e0\u4e3a NG-ALAIN \u9488\u5bf9 VSCode \u589e\u52a0\u4e00\u4e9b\u989d\u5916\u7684\u7279\u6027\uff0c\u53ef\u4ee5\u66f4\u597d\u7684\u5e2e\u52a9\u4f60\u5f00\u53d1\u3002

\u6216\u8005\u76f4\u63a5\u4f7f\u7528 NG-ALAIN Extension Pack \u5957\u4ef6\u3002

\u4ee3\u7801\u7247\u65ad

Class\u6837\u5f0f\u667a\u80fd\u63d0\u9192

ng-alain \u5185\u7f6e\u4e86\u5927\u91cf\u7684\u5de5\u5177\u96c6\u6837\u5f0f\uff08API\uff09\uff0c\u5b89\u88c5\u4ee5\u4e0b\u63d2\u4ef6\u53ef\u4ee5\u76f4\u63a5\u5728HTML\u6a21\u677f\u91cc\u76f4\u63a5\u8bbf\u95ee\u5230\u5b83\u4eec\u3002

',meta:{order:0,title:"\u5982\u4f55\u5f00\u59cb",type:"Dev",i18n:"need-update"},toc:[{id:"\u524d\u5e8f\u51c6\u5907",title:"\u524d\u5e8f\u51c6\u5907",h:2},{id:"\u5199\u5728\u524d\u9762",title:"\u5199\u5728\u524d\u9762",h:2},{id:"\u6d41\u7a0b",title:"\u6d41\u7a0b",h:2,children:[{id:"\u521d\u59cb\u5316\u9879\u76ee\u6570\u636e",title:"\u521d\u59cb\u5316\u9879\u76ee\u6570\u636e",h:3},{id:"\u4e1a\u52a1\u8def\u7531",title:"\u4e1a\u52a1\u8def\u7531",h:3},{id:"\u7528\u6237\u8ba4\u8bc1\u4e0e\u6388\u6743",title:"\u7528\u6237\u8ba4\u8bc1\u4e0e\u6388\u6743",h:3},{id:"\u62e6\u622a\u7f51\u7edc\u8bf7\u6c42",title:"\u62e6\u622a\u7f51\u7edc\u8bf7\u6c42",h:3}]},{id:"IDE",title:"IDE",h:2,children:[{id:"\u4ee3\u7801\u7247\u65ad",title:"\u4ee3\u7801\u7247\u65ad",h:3},{id:"Class\u6837\u5f0f\u667a\u80fd\u63d0\u9192",title:"Class\u6837\u5f0f\u667a\u80fd\u63d0\u9192",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-how-to-start"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"i18n",redirectTo:"i18n/zh",pathMatch:"full"},{path:"i18n/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/i18n.en-US.md","zh-CN":"docs/i18n.zh-CN.md"},content:{"en-US":{content:'

Angular internationalization provides a solution for extracting language files, but for NG-ALAIN, this is not the best way; this is mainly limited by @Delon/* The component library needs to provide a set of dynamic translation Service, therefore, NG-ALAIN has built-in a simple internationalized service ALAIN_I18N_TOKEN interface.

How to configure

Scaffolding is composed of two important parts: ng-zorro-antd and @delon/*. These two libraries have their own international configuration. When internationalizing, they need to be the same for these libraries. Language configuration.

Angular

Angular configuration is mainly for currency, date format, etc., such as Chinese version:

import { registerLocaleData } from \'@angular/common\';\nimport zh from \'@angular/common/locales/zh\';\nregisterLocaleData(zh);

ng-zorro-antd

ng-zorro-antd internationalization defaults to the Chinese version, for example the default English version:

import { en_US, provideNzI18n } from \'ng-zorro-antd/i18n\';\n@NgModule({\n  providers: [provideNzI18n(en_US)]\n})\nexport class App1Module {}

Of course, you can also use runtime changes:

import { en_US, NzI18nService } from \'ng-zorro-antd/i18n\';\n...\nconstructor(private nzI18nService:NzI18nService) {\n}\n\nswitchLanguage() {\n  this.nzI18nService.setLocale(en_US);\n}

@delon

@delon internationalization defaults to Chinese version, for example the default is English version:

import { DELON_LOCALE, en_US } from \'@delon/theme\';\n@NgModule({\n  ...\n  providers   : [ { provide: DELON_LOCALE, useValue: en_US } ]\n})\nexport class AppModule { }

Of course, you can also use runtime changes:

import { en_US, DelonLocaleService } from \'@delon/theme\';\n...\nconstructor(private delonLocaleService: DelonLocaleService) {\n}\n\nswitchLanguage() {\n  this.delonLocaleService.setLocale(en_US);\n}

ALAIN_I18N_TOKEN

@delon/* class library has many data interface properties with the i18n typeface (for example: page-header, st column description, Menu menu data, etc.) when you want the data for these components. When the interface can dynamically switch automatically according to the Key value in the current language, you also need to define a self-implementation service interface for ALAIN_I18N_TOKEN (for example: I18NService /master/src/app/core/i18n/i18n.service.ts)) and register under the root module.

import { ALAIN_I18N_TOKEN } from \'@delon/theme\';\nimport { I18NService } from \'@core\';\n\n@NgModule({\n  ...\n  providers: [\n    { provide: ALAIN_I18N_TOKEN, useClass: I18NService, multi: false }\n  ]\n})\nexport class AppModule {}

i18n pipe

In order not to be named by the third-party pipes, the scaffolding contains a i18n pipe, which is equivalent to calling the fanAIN method of ALAIN_I18N_TOKEN directly.

| i18n will not listen to language change notifications, so there will be better performance. When you explicitly re-render the Angular project after switching languages, | i18n will be more suitable.

How to add

When creating scaffolding from command line ng add ng-alain, it is allowed to specify --i18n to indicate whether the internationalized sample code is included.

How to delete

The sample code covers the following:

  • src/app/core/i18n directory

  • Replace the pipe of i18n that may appear in the default layout using | i18n

Default language

Regardless of whether internationalization is required or not, since the default languages \u200b\u200bof class libraries such as Angular, ng-zorro-antd, @delon/* are different, it is also necessary to ensure that the default language of these libraries is the same type. A simple example approach to understand the current language situation for each type of library:

import { Component } from \'@angular/core\';\n\n@Component({\n  selector: \'app-i18n-test\',\n  template: `\n  <h2>angular</h2>\n  <p>Date: {{now | date}}</p>\n  <h2>ng-zorro-antd</h2>\n  <nz-transfer [nzDataSource]="[]"></nz-transfer>\n  <h2>@delon</h2>\n  <div style="width: 200px">\n    <tag-select>\n      <nz-tag>1</nz-tag>\n    </tag-select>\n  </div>`,\n})\nexport class I18nTestComponent {\n  now = new Date();\n}

Example

In order to make language uniformity, NG-ALAIN provides a simple unified configuration in the AppModule root module.

Chinese Version

// #region i18n\nimport { default as ngLang } from \'@angular/common/locales/zh\';\nimport { provideNzI18n, zh_CN as zorroLang } from \'ng-zorro-antd/i18n\';\nimport { DELON_LOCALE, zh_CN as delonLang } from \'@delon/theme\';\nconst LANG = {\n  abbr: \'zh\',\n  ng: ngLang,\n  zorro: zorroLang,\n  delon: delonLang,\n};\n// register angular\nimport { registerLocaleData } from \'@angular/common\';\nregisterLocaleData(LANG.ng, LANG.abbr);\nconst LANG_PROVIDES = [\n  { provide: LOCALE_ID, useValue: LANG.abbr },\n  provideNzI18n(LANG.zorro),\n  { provide: DELON_LOCALE, useValue: LANG.delon },\n];\n// #endregion\n\n@NgModule({\n  providers: [...LANG_PROVIDES],\n})\nexport class AppModule {}

English version

// #region i18n\nimport { default as ngLang } from \'@angular/common/locales/en\';\nimport { provideNzI18n, en_US as zorroLang } from \'ng-zorro-antd/i18n\';\nimport { DELON_LOCALE, en_US as delonLang } from \'@delon/theme\';\nconst LANG = {\n  abbr: \'en\',\n  ng: ngLang,\n  zorro: zorroLang,\n  delon: delonLang,\n};\n// register angular\nimport { registerLocaleData } from \'@angular/common\';\nregisterLocaleData(LANG.ng, LANG.abbr);\nconst LANG_PROVIDES = [\n  { provide: LOCALE_ID, useValue: LANG.abbr },\n  provideNzI18n(LANG.zorro),\n  { provide: DELON_LOCALE, useValue: LANG.delon },\n];\n// #endregion\n\n@NgModule({\n  providers: [...LANG_PROVIDES],\n})\nexport class AppModule {}

Command Line

Use the defaultLanguage plugin to quickly switch between the default locales.

Internationalized routing

If you want to toggle internationalization by routed URLs, e.g. by accessing /zh and /en to change the language, just use the alainI18nCanActivate guard in the root route:

const routes: Route[] = [\n   {\n     path: \'\',\n     component: LayoutComponent,\n     canActivateChild: [alainI18nCanActivate],\n     children: [\n       { path: \'\', redirectTo: \'en\', pathMatch: \'full\' },\n       { path: \':i18n\', component: HomeComponent }\n     ]\n   }\n];

Where :i18n is a fixed value of the parameter, which can be adjusted by the Global Configuration paramNameOfUrlGuard.

',meta:{order:30,title:{"en-US":"I18n","zh-CN":"\u56fd\u9645\u5316"},type:"Advance"},toc:[{id:"Howtoconfigure",title:"How to configure",h:2,children:[{id:"Angular",title:"Angular",h:3},{id:"ng-zorro-antd",title:"ng-zorro-antd",h:3},{id:"@delon",title:"@delon",h:3}]},{id:"ALAIN_I18N_TOKEN",title:"ALAIN_I18N_TOKEN",h:2,children:[{id:"i18npipe",title:"i18n pipe",h:3}]},{id:"Howtoadd",title:"How to add",h:2},{id:"Howtodelete",title:"How to delete",h:2},{id:"Defaultlanguage",title:"Default language",h:2,children:[{id:"Example",title:"Example",h:3},{id:"CommandLine",title:"Command Line",h:3}]},{id:"Internationalizedrouting",title:"Internationalized routing",h:2}]},"zh-CN":{content:'

Angular \u56fd\u9645\u5316\u63d0\u4f9b\u4e00\u79cd\u53ef\u88ab\u63d0\u53d6\u8bed\u8a00\u6587\u4ef6\u7684\u65b9\u6848\uff0c\u4f46\u5bf9\u4e8e NG-ALAIN \u800c\u8a00\uff0c\u8fd9\u5e76\u4e0d\u662f\u6700\u597d\u7684\u65b9\u5f0f\uff1b\u8fd9\u4e3b\u8981\u53d7\u9650\u4e8e @Delon/* \u7ec4\u4ef6\u5e93\u9700\u8981\u63d0\u4f9b\u4e00\u5957\u5e26\u6709\u52a8\u6001\u7ffb\u8bd1\u7684\u670d\u52a1\uff0c\u56e0\u6b64\uff0cNG-ALAIN \u5185\u7f6e\u4e00\u4e2a\u7b80\u6613\u7684\u56fd\u9645\u5316\u670d\u52a1 ALAIN_I18N_TOKEN \u63a5\u53e3\u3002

\u5982\u4f55\u914d\u7f6e

\u811a\u624b\u67b6\u662f\u7531 ng-zorro-antd\u3001@delon/* \u7c7b\u5e93\u4e24\u4e2a\u91cd\u8981\u90e8\u5206\u7ec4\u4ef6\uff0c\u800c\u8fd9\u4e24\u4e2a\u7c7b\u5e93\u6709\u81ea\u5df1\u7684\u56fd\u9645\u5316\u914d\u7f6e\uff0c\u5f53\u8fdb\u884c\u56fd\u9645\u5316\u65f6\u9700\u8981\u5bf9\u8fd9\u4e9b\u7c7b\u5e93\u8fdb\u884c\u76f8\u540c\u8bed\u8a00\u7684\u914d\u7f6e\u3002

Angular

Angular \u914d\u7f6e\u4e3b\u8981\u662f\u9488\u5bf9\u8d27\u5e01\u3001\u65e5\u671f\u683c\u5f0f\u7b49\uff0c\u4f8b\u5982\u4e2d\u6587\u7248\u672c\uff1a

import { registerLocaleData } from \'@angular/common\';\nimport zh from \'@angular/common/locales/zh\';\nregisterLocaleData(zh);

ng-zorro-antd

NG-ZORRO \u56fd\u9645\u5316\u9ed8\u8ba4\u662f\u4e2d\u6587\u7248\uff0c\u4f8b\u5982\u9ed8\u8ba4\u4e3a\u82f1\u6587\u7248\u672c\uff1a

import { en_US, provideNzI18n } from \'ng-zorro-antd/i18n\';\n@NgModule({\n  providers: [provideNzI18n(en_US)]\n})\nexport class App1Module {}

\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u8fd0\u884c\u65f6\u66f4\u6539\uff1a

import { en_US, NzI18nService } from \'ng-zorro-antd/i18n\';\n...\nconstructor(private nzI18nService:NzI18nService) {\n}\n\nswitchLanguage() {\n  this.nzI18nService.setLocale(en_US);\n}

@delon

@delon \u56fd\u9645\u5316\u9ed8\u8ba4\u662f\u4e2d\u6587\u7248\uff0c\u4f8b\u5982\u9ed8\u8ba4\u4e3a\u82f1\u6587\u7248\u672c\uff1a

import { DELON_LOCALE, en_US } from \'@delon/theme\';\n@NgModule({\n  ...\n  providers   : [ { provide: DELON_LOCALE, useValue: en_US } ]\n})\nexport class AppModule { }

\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u8fd0\u884c\u65f6\u66f4\u6539\uff1a

import { en_US, DelonLocaleService } from \'@delon/theme\';\n...\nconstructor(private delonLocaleService: DelonLocaleService) {\n}\n\nswitchLanguage() {\n  this.delonLocaleService.setLocale(en_US);\n}

ALAIN_I18N_TOKEN

@delon/* \u7c7b\u5e93\u6709\u8bb8\u591a\u5e26\u6709 i18n \u5b57\u6837\u7684\u6570\u636e\u63a5\u53e3\u5c5e\u6027\uff08\u4f8b\u5982\uff1apage-header\u3001st \u5217\u63cf\u8ff0\u3001Menu \u83dc\u5355\u6570\u636e\u7b49\u7b49\uff09\uff0c\u5f53\u4f60\u5e0c\u671b\u8fd9\u4e9b\u7ec4\u4ef6\u7684\u6570\u636e\u63a5\u53e3\u80fd\u52a8\u6001\u6839\u636e Key \u503c\u6309\u5f53\u524d\u8bed\u8a00\u81ea\u52a8\u5207\u6362\u65f6\uff0c\u4f60\u8fd8\u9700\u8981\u5bf9 ALAIN_I18N_TOKEN \u5b9a\u4e49\u4e00\u4e2a\u81ea\u5b9e\u73b0\u670d\u52a1\u63a5\u53e3\uff08\u4f8b\u5982\uff1aI18NService\uff09\uff0c\u5e76\u5728\u6839\u6a21\u5757\u4e0b\u6ce8\u518c\u3002

import { ALAIN_I18N_TOKEN } from \'@delon/theme\';\nimport { I18NService } from \'@core\';\n\n@NgModule({\n  ...\n  providers: [\n    { provide: ALAIN_I18N_TOKEN, useClass: I18NService, multi: false }\n  ]\n})\nexport class AppModule {}

i18n\u7ba1\u9053

\u4e3a\u4e86\u4e0d\u53d7\u7b2c\u4e09\u65b9\u5404\u81ea\u7ba1\u9053\u7684\u547d\u540d\u65b9\u5f0f\uff0c\u811a\u624b\u67b6\u5305\u542b\u4e00\u4e2a i18n \u7684\u7ba1\u9053\uff0c\u5b83\u76f8\u5f53\u4e8e\u76f4\u63a5\u8c03\u7528 ALAIN_I18N_TOKEN \u7684 fanyi \u65b9\u6cd5\u3002

| i18n \u4e0d\u4f1a\u76d1\u542c\u8bed\u8a00\u53d8\u66f4\u901a\u77e5\u6240\u4ee5\u4f1a\u6709\u66f4\u597d\u7684\u6027\u80fd\uff0c\u5f53\u4f60\u660e\u786e\u5728\u5207\u6362\u8bed\u8a00\u540e\u4f1a\u91cd\u65b0\u6e32\u67d3 Angular \u9879\u76ee\u65f6 | i18n \u4f1a\u66f4\u9002\u5408\u3002

\u5982\u4f55\u6dfb\u52a0

\u521b\u5efa\u811a\u624b\u67b6\u547d\u4ee4\u884c ng add ng-alain \u65f6\u5141\u8bb8\u6307\u5b9a --i18n \u8868\u793a\u662f\u5426\u5305\u542b\u56fd\u9645\u5316\u793a\u4f8b\u4ee3\u7801\u3002

\u5982\u4f55\u5220\u9664

\u793a\u4f8b\u4ee3\u7801\u6d89\u53ca\u5185\u5bb9\u5305\u62ec\uff1a

  • src/app/core/i18n \u76ee\u5f55

  • \u66ff\u6362\u6389\u9ed8\u8ba4\u5e03\u5c40\u53ef\u80fd\u51fa\u73b0\u7684 I18n \u7684 Pipe \u4f7f\u7528 | i18n

\u9ed8\u8ba4\u8bed\u8a00

\u4e0d\u7ba1\u662f\u5426\u9700\u8981\u56fd\u9645\u5316\uff0c\u7531\u4e8e Angular\u3001ng-zorro-antd\u3001@delon/* \u7b49\u7c7b\u5e93\u7684\u9ed8\u8ba4\u8bed\u8a00\u90fd\u4e0d\u540c\uff0c\u56e0\u6b64\u8fd8\u9700\u8981\u786e\u4fdd\u8fd9\u4e9b\u7c7b\u5e93\u7684\u9ed8\u8ba4\u8bed\u8a00\u662f\u540c\u4e00\u7c7b\u578b\u3002\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u529e\u6cd5\u53ef\u4ee5\u4e86\u89e3\u5404\u7c7b\u5e93\u5f53\u524d\u8bed\u8a00\u60c5\u51b5\uff1a

import { Component } from \'@angular/core\';\n\n@Component({\n  selector: \'app-i18n-test\',\n  template: `\n  <h2>angular</h2>\n  <p>Date: {{now | date}}</p>\n  <h2>ng-zorro-antd</h2>\n  <nz-transfer [nzDataSource]="[]"></nz-transfer>\n  <h2>@delon</h2>\n  <div style="width: 200px">\n    <tag-select>\n      <nz-tag>1</nz-tag>\n    </tag-select>\n  </div>`,\n})\nexport class I18nTestComponent {\n  now = new Date();\n}

\u793a\u4f8b

\u4e3a\u4e86\u4f7f\u8bed\u8a00\u7edf\u4e00\u6027\uff0cNG-ALAIN \u63d0\u4f9b\u4e00\u4e2a\u5728 AppModule \u6839\u6a21\u5757\u91cc\u7b80\u5355\u7684\u7edf\u4e00\u914d\u7f6e\u65b9\u5f0f\u3002

\u4e2d\u6587\u7248

// #region i18n\nimport { default as ngLang } from \'@angular/common/locales/zh\';\nimport { provideNzI18n, zh_CN as zorroLang } from \'ng-zorro-antd/i18n\';\nimport { DELON_LOCALE, zh_CN as delonLang } from \'@delon/theme\';\nconst LANG = {\n  abbr: \'zh\',\n  ng: ngLang,\n  zorro: zorroLang,\n  delon: delonLang,\n};\n// register angular\nimport { registerLocaleData } from \'@angular/common\';\nregisterLocaleData(LANG.ng, LANG.abbr);\nconst LANG_PROVIDES = [\n  { provide: LOCALE_ID, useValue: LANG.abbr },\n  provideNzI18n(LANG.zorro),\n  { provide: DELON_LOCALE, useValue: LANG.delon },\n];\n// #endregion\n\n@NgModule({\n  providers: [...LANG_PROVIDES],\n})\nexport class AppModule {}

\u82f1\u6587\u7248

// #region i18n\nimport { default as ngLang } from \'@angular/common/locales/en\';\nimport { provideNzI18n, en_US as zorroLang } from \'ng-zorro-antd/i18n\';\nimport { DELON_LOCALE, en_US as delonLang } from \'@delon/theme\';\nconst LANG = {\n  abbr: \'en\',\n  ng: ngLang,\n  zorro: zorroLang,\n  delon: delonLang,\n};\n// register angular\nimport { registerLocaleData } from \'@angular/common\';\nregisterLocaleData(LANG.ng, LANG.abbr);\nconst LANG_PROVIDES = [\n  { provide: LOCALE_ID, useValue: LANG.abbr },\n  provideNzI18n(LANG.zorro),\n  { provide: DELON_LOCALE, useValue: LANG.delon },\n];\n// #endregion\n\n@NgModule({\n  providers: [...LANG_PROVIDES],\n})\nexport class AppModule {}

\u547d\u4ee4\u884c

\u4f7f\u7528 defaultLanguage \u63d2\u4ef6\u53ef\u4ee5\u5feb\u901f\u5207\u6362\u9ed8\u8ba4\u8bed\u8a00\u73af\u5883\u3002

\u56fd\u9645\u5316\u8def\u7531

\u82e5\u60f3\u901a\u8fc7\u8def\u7531\u7684URL\u6765\u5207\u6362\u56fd\u9645\u5316\uff0c\u4f8b\u5982\uff1a\u901a\u8fc7\u8bbf\u95ee /zh \u548c /en \u6765\u53d8\u66f4\u8bed\u8a00\uff0c\u5219\u53ea\u9700\u8981\u5728\u6839\u8def\u7531\u4e2d\u4f7f\u7528 alainI18nCanActivate \u5b88\u536b\uff1a

const routes: Route[] = [\n  {\n    path: \'\',\n    component: LayoutComponent,\n    canActivateChild: [alainI18nCanActivate],\n    children: [\n      { path: \'\', redirectTo: \'en\', pathMatch: \'full\' },\n      { path: \':i18n\', component: HomeComponent }\n    ]\n  }\n];

\u5176\u4e2d :i18n \u662f\u53c2\u6570\u56fa\u5b9a\u503c\uff0c\u53ef\u4ee5\u901a\u8fc7\u5168\u5c40\u914d\u7f6e paramNameOfUrlGuard \u6765\u8c03\u6574\u3002

',meta:{order:30,title:{"en-US":"I18n","zh-CN":"\u56fd\u9645\u5316"},type:"Advance"},toc:[{id:"\u5982\u4f55\u914d\u7f6e",title:"\u5982\u4f55\u914d\u7f6e",h:2,children:[{id:"Angular",title:"Angular",h:3},{id:"ng-zorro-antd",title:"ng-zorro-antd",h:3},{id:"@delon",title:"@delon",h:3}]},{id:"ALAIN_I18N_TOKEN",title:"ALAIN_I18N_TOKEN",h:2,children:[{id:"i18n\u7ba1\u9053",title:"i18n\u7ba1\u9053",h:3}]},{id:"\u5982\u4f55\u6dfb\u52a0",title:"\u5982\u4f55\u6dfb\u52a0",h:2},{id:"\u5982\u4f55\u5220\u9664",title:"\u5982\u4f55\u5220\u9664",h:2},{id:"\u9ed8\u8ba4\u8bed\u8a00",title:"\u9ed8\u8ba4\u8bed\u8a00",h:2,children:[{id:"\u793a\u4f8b",title:"\u793a\u4f8b",h:3},{id:"\u547d\u4ee4\u884c",title:"\u547d\u4ee4\u884c",h:3}]},{id:"\u56fd\u9645\u5316\u8def\u7531",title:"\u56fd\u9645\u5316\u8def\u7531",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-i18n"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"import",redirectTo:"import/zh",pathMatch:"full"},{path:"import/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/import.en-US.md","zh-CN":"docs/import.zh-CN.md"},content:{"en-US":{content:'

In addition to the NG-ALAIN base component and the @delon business component, sometimes we need to reference other external class libraries, the following is how to use the rich text component ngx-tinymce:

Angular Component

Installing dependencies

yarn add ngx-tinymce

Import module

You may need to use rich editor in all submodules, as it\'s recommended to import and export them in the SharedModule module.

// #region third libs\nimport { NgxTinymceModule } from \'ngx-tinymce\';\nconst THIRDMODULES = [ NgxTinymceModule ];\n// #endregion

The region: third libs region is a coding convention for NG-ALAIN, register all third-party components into the THIRDMODULES variable, for more coding conventions, refer to Style Guide.

For some third-party components, may be required global configuration. It\'s recommended to register in the root module, for example:

import { NgxTinymceModule } from \'ngx-tinymce\';\n@NgModule({\n  imports: [\n    BrowserModule,\n    NgxTinymceModule.forRoot({\n      baseURL: \'//cdn.bootcss.com/tinymce/4.7.13/\'\n    })\n  ]\n})\nexport class AppModule { }

Next you can use ngx-tinymce in any submodule:

<tinymce [(ngModel)]="html"></tinymce>

Non-Angular Component

Referencing a non-Angular component is actually loading a JavaScript class library file, such as the QR code library qrious:

Installing dependencies

yarn add qrious

Import Scripts

Add qrious.min.js to the scripts node in angular.json:

"scripts": [\n  "node_modules/qrious/dist/qrious.min.js"\n]

If the third-party library requires additional styles, you also need to add a path to styles.

Note: You need to re-run ng s.

Lazy loading script

The above import script method will package the code directly into scripts.js, which will cause the scripts.js to become larger. NG-ALAIN provides another delayed loading CDN library script solution for low-usage services. (Example: zip compression), you can use LazyService to delay loading remote CDN scripts.

How to use

Angular is using TypeScript language, and all types must be clearly defined to be used. For details, please refer to Angular How to use third-party libraries.

A sample code for the call:

declare var QRious: any;\n\n@Component()\nexport class DEMOComponent {\n  constructor() {\n    const qr = new QRious();\n  }\n}',meta:{order:60,title:"Use a third-party lib",type:"Dev"},toc:[{id:"AngularComponent",title:"Angular Component",h:2,children:[{id:"Installingdependencies",title:"Installing dependencies",h:3},{id:"Importmodule",title:"Import module",h:3}]},{id:"Non-AngularComponent",title:"Non-Angular Component",h:2,children:[{id:"Installingdependencies",title:"Installing dependencies",h:3},{id:"ImportScripts",title:"Import Scripts",h:3},{id:"Howtouse",title:"How to use",h:3}]}]},"zh-CN":{content:'

\u9664\u4e86 NG-ZORRO \u57fa\u7840\u7ec4\u4ef6\u4ee5\u53ca @delon \u4e1a\u52a1\u7ec4\u4ef6\u4ee5\u5916\uff0c\u6709\u65f6\u6211\u4eec\u8fd8\u9700\u8981\u5f15\u7528\u5176\u4ed6\u5916\u90e8\u7c7b\u5e93\uff0c\u4ee5\u4e0b\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5bcc\u6587\u672c\u7ec4\u4ef6 ngx-tinymce\uff1a

Angular\u7ec4\u4ef6

\u5b89\u88c5\u4f9d\u8d56\u5305

yarn add ngx-tinymce

\u6ce8\u518c

\u50cf\u5bcc\u6587\u672c\u6846\u4f60\u53ef\u80fd\u9700\u8981\u5728\u6240\u6709\u5b50\u6a21\u5757\u4e2d\u90fd\u4f1a\u53ef\u80fd\u4f1a\u7528\u5230\uff0c\u56e0\u4e3a\u5efa\u8bae\u5728 SharedModule \u6a21\u5757\u4e2d\u5bfc\u5165\u548c\u5bfc\u51fa\u4ed6\u3002

// #region third libs\nimport { NgxTinymceModule } from \'ngx-tinymce\';\nconst THIRDMODULES = [ NgxTinymceModule ];\n// #endregion

region: third libs \u533a\u57df\u662fNG-ALAIN\u7684\u4e00\u4e2a\u7f16\u7801\u7ea6\u5b9a\uff0c\u5c06\u6240\u6709\u7b2c\u4e09\u65b9\u7ec4\u4ef6\u6ce8\u518c\u81f3 THIRDMODULES \u53d8\u91cf\u4e2d\u5373\u53ef\uff0c\u800c\u65e0\u987b\u5173\u5fc3 @NgModule \u5185\u5728\u7684\u5199\u6cd5\uff0c\u6709\u5173\u66f4\u591a\u7f16\u7801\u7ea6\u5b9a\u53ef\u4ee5\u53c2\u8003\u7f16\u7801\u89c4\u8303\u5efa\u8bae\u3002

\u5bf9\u4e8e\u90e8\u5206\u7b2c\u4e09\u65b9\u7ec4\u4ef6\uff0c\u53ef\u80fd\u4f1a\u9700\u8981\u4e00\u4e9b\u914d\u7f6e\u9879\uff0c\u5efa\u8bae\u5728\u6839\u6a21\u5757\u4e2d\u6ce8\u518c\uff0c\u4f8b\u5982\uff1a

import { NgxTinymceModule } from \'ngx-tinymce\';\n@NgModule({\n  imports: [\n    BrowserModule,\n    NgxTinymceModule.forRoot({\n      baseURL: \'//cdn.bootcss.com/tinymce/4.7.13/\'\n    })\n  ]\n})\nexport class AppModule { }

\u63a5\u4e0b\u6765\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u5b50\u6a21\u5757\u4e2d\u4f7f\u7528 ngx-tinymce\uff1a

<tinymce [(ngModel)]="html"></tinymce>

\u975eAngular\u7ec4\u4ef6

\u5f15\u7528\u4e00\u4e2a\u975e Angular \u7ec4\u4ef6\u5b9e\u9645\u4e0a\u662f\u4e00\u4e2a JavaScript \u7c7b\u5e93\uff0c\u4f8b\u5982\u4e8c\u7ef4\u7801\u7c7b\u5e93 qrious\uff0c\u8fd9\u662f\u4e00\u4e2a\u7eaf\u6d01\u7684 JavaScript \u7c7b\u5e93\uff08\u5efa\u8bae\u5c3d\u53ef\u80fd\u4f7f\u7528\u7eaf\u6d01\u7c7b\u5e93\u800c\u975e\u5e26\u6709\u4f9d\u8d56\u5176\u4ed6\uff09\u3002

\u5b89\u88c5\u4f9d\u8d56\u5305

yarn add qrious

\u5bfc\u5165\u811a\u672c

\u5728 angular.json \u627e\u5230 scripts \u8282\u70b9\u5e76\u589e\u52a0\uff1a

"scripts": [\n  "node_modules/qrious/dist/qrious.min.js"\n]

\u5982\u679c\u7b2c\u4e09\u65b9\u7c7b\u5e93\u9700\u8981\u989d\u5916\u7684\u6837\u5f0f\uff0c\u8fd8\u9700\u8981\u5728 styles \u589e\u52a0\u8def\u5f84\u3002

\u6ce8\u610f\uff1a\u9700\u8981\u91cd\u65b0\u8fd0\u884c ng s \u624d\u4f1a\u751f\u6548\u3002

\u5ef6\u8fdf\u52a0\u8f7d\u811a\u672c

\u4e0a\u8ff0\u5bfc\u5165\u811a\u672c\u65b9\u5f0f\u4f1a\u628a\u4ee3\u7801\u76f4\u63a5\u6253\u5305\u8fdb scripts.js\uff0c\u8fd9\u4f1a\u5bfc\u81f4 scripts.js \u4f53\u79ef\u53d8\u5927\uff0cNG-ALAIN \u63d0\u4f9b\u53e6\u4e00\u79cd\u5ef6\u8fdf\u52a0\u8f7dCDN\u7c7b\u5e93\u811a\u672c\u89e3\u51b3\u65b9\u6848\uff0c\u9002\u7528\u4f4e\u4f7f\u7528\u7387\u7684\u4e1a\u52a1\uff08\u4f8b\u5982\uff1azip \u538b\u7f29\uff09\uff0c\u53ef\u4ee5\u5229\u7528 LazyService \u5ef6\u8fdf\u52a0\u8f7d\u8fdc\u7a0bCDN\u811a\u672c\u3002

\u4f7f\u7528

Angular \u662f\u91c7\u7528 TypeScript \u8bed\u8a00\uff0c\u6240\u6709\u7c7b\u578b\u90fd\u5fc5\u987b\u660e\u786e\u5b9a\u4e49\u624d\u80fd\u4f7f\u7528\uff0c\u7ec6\u8282\u8bf7\u53c2\u8003 Angular \u5982\u4f55\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u3002

\u4e00\u4e2a\u8c03\u7528\u7684\u793a\u4f8b\u4ee3\u7801\uff1a

declare var QRious: any;\n\n@Component()\nexport class DEMOComponent {\n  constructor() {\n    const qr = new QRious();\n  }\n}',meta:{order:60,title:"\u4f7f\u7528\u7b2c\u4e09\u65b9\u7c7b\u5e93",type:"Dev"},toc:[{id:"Angular\u7ec4\u4ef6",title:"Angular\u7ec4\u4ef6",h:2,children:[{id:"\u5b89\u88c5\u4f9d\u8d56\u5305",title:"\u5b89\u88c5\u4f9d\u8d56\u5305",h:3},{id:"\u6ce8\u518c",title:"\u6ce8\u518c",h:3}]},{id:"\u975eAngular\u7ec4\u4ef6",title:"\u975eAngular\u7ec4\u4ef6",h:2,children:[{id:"\u5b89\u88c5\u4f9d\u8d56\u5305",title:"\u5b89\u88c5\u4f9d\u8d56\u5305",h:3},{id:"\u5bfc\u5165\u811a\u672c",title:"\u5bfc\u5165\u811a\u672c",h:3},{id:"\u4f7f\u7528",title:"\u4f7f\u7528",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-import"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"mock",redirectTo:"mock/zh",pathMatch:"full"},{path:"mock/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/mock.md"},content:{"zh-CN":{content:'
',meta:{order:60,title:"Mock",type:"Advance",url:"/mock/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-mock"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"module",redirectTo:"module/zh",pathMatch:"full"},{path:"module/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/module.en-US.md","zh-CN":"docs/module.zh-CN.md"},content:{"en-US":{content:'

The AppModule, CoreModule, and SharedModule modules have not been used very clearly, and it is easy to use them. The goal of the Angular module is to make components, instructions, services, and pipeline function blocks more cohesive, and each functional area forms a separate set of business domains or utilities.

1) Classification description


AppModule

The root module is used to guide Angular startup. It is very suitable for importing some modules that need to be used everywhere in the application. Such as: theme system, user master authentication module, permission module, global HTTP interceptors, international services, etc..

CoreModule

The core module will only be imported once. It is equivalent to AppModule, but we should treat it as a pure service class module. For example: message, data access, etc.

SharedModule

We call it a shared module. It should not have providers because ShareModule will be imported in all business modules. Which will cause the service to be overwritten.

NG-ZORRO, @delon/abc, @delon/chart, etc. have changed from all import to on-demand import since version 11. For this reason, NG-ALAIN has refined two files shared-delon.module.ts and shared -zorro.module.ts merges some modules frequently used throughout the project into a module called SharedModule, which is why it is necessary to import it in the business module for the first time. Although this method can reduce unnecessary import code, it will also cause compilation speed. Therefore, it is not recommended to put all components into SharedModule, and try to put the modules that need to be used more than three times before putting them here; Otherwise, you must import it yourself in the business module.

2) Recommendation


AppModule

Should import module:

  • Angular Module: BrowserModule, BrowserAnimationsModule, HttpClientModule

  • AlainThemeModule Theme system

  • DelonMockModule Mock data

  • AlainAuthModule User authentication module

  • AlainACLModule Privilege module

  • Internationalization module

Should include services:

  • Angular globalization

  • HTTP interceptor

  • Angular start service

  • ng-zorro-antd Basic component service

  • @delon/abc Business component service

Role: Throughout the definition of the entire application.


CoreModule

Should only leave the providers attribute.

Role: Some common services. such as: user messages, HTTP data access.


ShareModule

Should contain definitions:

  • Apply generic custom business components

Should import module:

  • Angular generic module:CommonModule\u3001FormsModule\u3001RouterModule\u3001ReactiveFormsModule

  • ng-zorro-antd Basic component module

  • @delon/abc Business component module

  • Third-party generic dependency component module

Should Export all included modules.

Should not have providers attribute.

Function: Some common custom, third-party component definitions, reducing the import of business modules.


Business module

The business module should include a business definition module and a routing module.

Should import module:

Should not:

  • Export any component

  • Try not to use the providers attribute

Route module

Should include only the import, exports modules of the r

',meta:{order:30,title:{"en-US":"Module Guidelines","zh-CN":"\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219"},type:"Other"},toc:[{id:"1Classificationdescription",title:"1) Classification description",h:2,children:[{id:"AppModule",title:"AppModule",h:3},{id:"CoreModule",title:"CoreModule",h:3},{id:"SharedModule",title:"SharedModule",h:3}]},{id:"2Recommendation",title:"2) Recommendation",h:2,children:[{id:"AppModule",title:"AppModule",h:3},{id:"CoreModule",title:"CoreModule",h:3},{id:"ShareModule",title:"ShareModule",h:3},{id:"Businessmodule",title:"Business module",h:3}]}]},"zh-CN":{content:'

\u4e00\u76f4\u4ee5\u6765 AppModule\u3001CoreModule\u3001SharedModule \u6a21\u5757\u4f7f\u7528\u6ca1\u6709\u5f88\u660e\u786e\u7684\u89c4\u8303\uff0c\u5f88\u5bb9\u6613\u8ba9\u4ea7\u751f\u4e71\u7528\u3002Angular\u6a21\u5757\u76ee\u6807\u662f\u4e3a\u4e86\u4f7f\u7ec4\u4ef6\u3001\u6307\u4ee4\u3001\u670d\u52a1\u548c\u7ba1\u9053\u529f\u80fd\u5757\u66f4\u5185\u805a\uff0c\u5e76\u6bcf\u4e00\u4e2a\u529f\u80fd\u533a\u57df\u5f62\u6210\u72ec\u7acb\u7684\u4e1a\u52a1\u9886\u57df\u6216\u5b9e\u7528\u5de5\u5177\u7684\u96c6\u5408\u3002

1) \u5206\u7c7b\u8bf4\u660e


AppModule

\u6839\u6a21\u5757\uff0c\u7528\u4e8e\u5f15\u5bfc Angular \u542f\u52a8\uff1b\u5b83\u975e\u5e38\u9002\u5408\u5bfc\u5165\u4e00\u4e9b\u9700\u8981\u5728\u6574\u4e2a\u5e94\u7528\u5230\u5904\u9700\u8981\u7684\u6a21\u5757\uff0c\u4f8b\u5982\uff1a\u4e3b\u9898\u7cfb\u7edf\u3001\u7528\u6237\u4e3b\u8ba4\u8bc1\u6a21\u5757\u3001\u6743\u9650\u6a21\u5757\u7b49\u6a21\u5757\uff0c\u4ee5\u53ca\u4e00\u4e9b\u5168\u5c40\u6027HTTP\u62e6\u622a\u5668\u3001\u56fd\u9645\u5316\u670d\u52a1\u7b49\u3002

CoreModule

\u6838\u5fc3\u6a21\u5757\u53ea\u4f1a\u88ab\u5bfc\u5165\u4e00\u6b21\uff0c\u5b83\u7b49\u540c AppModule\uff0c\u4f46\u6211\u4eec\u66f4\u5e94\u8be5\u628a\u5b83\u5f53\u6210\u4e00\u4e2a\u7eaf\u670d\u52a1\u7c7b\u6a21\u5757\uff0c\u4f8b\u5982\uff1a\u6d88\u606f\u3001\u6570\u636e\u8bbf\u95ee\u7b49\u3002

SharedModule

\u6211\u4eec\u53eb\u5b83\u5171\u4eab\u6a21\u5757\uff1b\u5b83\u4e0d\u5e94\u8be5\u51fa\u73b0 providers\uff0c\u56e0\u4e3a ShareModule \u4f1a\u5728\u6240\u6709\u4e1a\u52a1\u6a21\u5757\u4e2d\u88ab\u5bfc\u5165\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u670d\u52a1\u88ab\u8986\u76d6\u3002

NG-ZORRO\u3001@delon/abc\u3001@delon/chart \u7b49\u4ece\u7248\u672c11\u5f00\u59cb\u7531\u4e00\u6b21\u6027\u5bfc\u5165\u6539\u6210\u6309\u9700\u5bfc\u5165\uff0c\u4e3a\u6b64 NG-ALAIN \u63d0\u70bc\u4e86\u4e24\u4e2a\u6587\u4ef6 shared-delon.module.ts\u3001shared-zorro.module.ts \u5c06\u4e00\u4e9b\u6574\u4e2a\u9879\u76ee\u7ecf\u5e38\u7528\u5230\u7684\u6a21\u5757\u5408\u5e76\u6210\u4e00\u4e2a\u53eb SharedModule \u6a21\u5757\u5185\uff0c\u8fd9\u4e5f\u5c31\u662f\u4e3a\u4ec0\u4e48\u9700\u8981\u5728\u4e1a\u52a1\u6a21\u5757\u5185\u7b2c\u4e00\u65f6\u95f4\u5bfc\u5165\u5b83\u3002\u867d\u7136\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u5bfc\u5165\u4ee3\u7801\uff0c\u4f46\u540c\u65f6\u4e5f\u4f1a\u5f15\u8d77\u7f16\u8bd1\u901f\u5ea6\uff0c\u56e0\u6b64\u4e0d\u5efa\u8bae\u628a\u6240\u6709\u7ec4\u4ef6\u90fd\u653e\u8fdb SharedModule \u5185\uff0c\u5c3d\u53ef\u80fd\u5c06\u9700\u8981\u7528\u5230\u7684\u6a21\u5757\u4e09\u6b21\u4ee5\u4e0a\u4f7f\u7528\u624d\u653e\u8fdb\u8fd9\u91cc\uff1b\u5426\u5219\u52a1\u5fc5\u5728\u4e1a\u52a1\u6a21\u5757\u5185\u81ea\u884c\u5bfc\u5165\u3002

2) \u5efa\u8bae


AppModule

\u5e94 \u5bfc\u5165\u6a21\u5757\uff1a

  • Angular \u6a21\u5757\uff1aBrowserModule\u3001BrowserAnimationsModule\u3001HttpClientModule

  • AlainThemeModule \u4e3b\u9898\u7cfb\u7edf

  • DelonMockModule Mock\u6570\u636e

  • AlainAuthModule \u7528\u6237\u8ba4\u8bc1\u6a21\u5757

  • AlainACLModule \u6743\u9650\u6a21\u5757

  • \u56fd\u9645\u5316\u6a21\u5757

\u5e94 \u5305\u542b\u670d\u52a1\uff1a

  • Angular \u56fd\u9645\u5316

  • HTTP \u62e6\u622a\u5668

  • Angular \u542f\u52a8\u670d\u52a1

  • ng-zorro-antd \u57fa\u7840\u7ec4\u4ef6\u670d\u52a1

  • @delon/abc \u4e1a\u52a1\u7ec4\u4ef6\u670d\u52a1

\u4f5c\u7528\uff1a \u8d2f\u7a7f\u6574\u4e2a\u5e94\u7528\u7684\u5b9a\u4e49\u3002


CoreModule

\u5e94 \u4ec5\u53ea\u7559 providers \u5c5e\u6027\u3002

\u4f5c\u7528\uff1a \u4e00\u4e9b\u901a\u7528\u670d\u52a1\uff0c\u4f8b\u5982\uff1a\u7528\u6237\u6d88\u606f\u3001HTTP\u6570\u636e\u8bbf\u95ee\u3002


ShareModule

\u5e94 \u5305\u542b\u5b9a\u4e49\uff1a

  • \u5e94\u7528\u901a\u7528\u81ea\u5b9a\u4e49\u4e1a\u52a1\u7ec4\u4ef6

\u5e94 \u5bfc\u5165\u6a21\u5757\uff1a

  • Angular \u901a\u7528\u6a21\u5757\uff1aCommonModule\u3001FormsModule\u3001RouterModule\u3001ReactiveFormsModule

  • ng-zorro-antd \u57fa\u7840\u7ec4\u4ef6\u6a21\u5757

  • @delon/abc \u4e1a\u52a1\u7ec4\u4ef6\u6a21\u5757

  • \u7b2c\u4e09\u65b9\u901a\u7528\u4f9d\u8d56\u7ec4\u4ef6\u6a21\u5757

\u5e94 \u5bfc\u51fa\u6240\u6709\u5305\u542b\u7684\u6a21\u5757\u3002

\u4e0d\u5e94 \u6709 providers \u5c5e\u6027\u3002

\u4f5c\u7528\uff1a \u4e00\u4e9b\u901a\u7528\u81ea\u5b9a\u4e49\u3001\u7b2c\u4e09\u65b9\u7ec4\u4ef6\u5b9a\u4e49\uff0c\u51cf\u5c11\u4e1a\u52a1\u6a21\u5757\u7684\u5bfc\u5165\u3002


\u4e1a\u52a1\u6a21\u5757

\u4e1a\u52a1\u6a21\u5757\u5e94\u8be5\u5305\u62ec\u4e1a\u52a1\u5b9a\u4e49\u6a21\u5757\u548c\u8def\u7531\u6a21\u5757\u3002

\u6a21\u5757

\u5e94 \u5bfc\u5165\u6a21\u5757\uff1a

\u4e0d\u5e94\uff1a

  • \u5bfc\u51fa\u4efb\u4f55\u7ec4\u4ef6

  • \u5c3d\u53ef\u80fd\u4e0d\u8981\u4f7f\u7528 providers \u5c5e\u6027

\u8def\u7531\u6a21\u5757

\u5e94 \u53ea\u5305\u62ec\u8def\u7531\u7684 import\u3001exports',meta:{order:30,title:{"en-US":"Module Guidelines","zh-CN":"\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219"},type:"Other"},toc:[{id:"1\u5206\u7c7b\u8bf4\u660e",title:"1) \u5206\u7c7b\u8bf4\u660e",h:2,children:[{id:"AppModule",title:"AppModule",h:3},{id:"CoreModule",title:"CoreModule",h:3},{id:"SharedModule",title:"SharedModule",h:3}]},{id:"2\u5efa\u8bae",title:"2) \u5efa\u8bae",h:2,children:[{id:"AppModule",title:"AppModule",h:3},{id:"CoreModule",title:"CoreModule",h:3},{id:"ShareModule",title:"ShareModule",h:3},{id:"\u4e1a\u52a1\u6a21\u5757",title:"\u4e1a\u52a1\u6a21\u5757",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-module"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"new-component",redirectTo:"new-component/zh",pathMatch:"full"},{path:"new-component/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/new-component.en-US.md","zh-CN":"docs/new-component.zh-CN.md"},content:{"en-US":{content:'

For some functional modules that may be referenced in multiple places, it is recommended to refine the management into unified management of business components. These components generally have the following characteristics:

  • Only responsible for a relatively independent, stable function;

  • no separate routing configuration;

  • May be purely static, controlled only by parameters passed by the parent component (usually a page).

Let\'s take a simple static component as an example. Suppose your app often needs to display images. These images are fixed in width, have a gray background and a certain padding, and have text descriptions, like the following:

You can do this with a component that has a default style and can receive the parameters passed by the parent component for display.

Create a new file

Create a new folder named components under src/app/shared. Create folder called image-wrapper and component file. If required add ts files index.ts and style files index.less. Provide README.md for component API descriptions in this folder.

When using components, the default is to look for the export object in index.ts. If your component is more complex, you can split it into multiple files, and finally unify the export in index.ts, like this:

// main.component.ts\nexport class MainComponent {}\n\n// sub.component.ts\nexport class SubComponent {}\n\n// index.ts\nexport MainComponent from \'./main.component\';\nexport SubComponent from \'./sub.component\';

Your code is probably like this:

// index.ts\nimport { Component, Input } from \'@angular/core\';\n\n@Component({\n  selector: \'image-wrapper\',\n  template: `\n    <div [ngStyle]="style">\n      <img class="img" [src]="src" [alt]="desc" />\n      <div *ngIf="desc" class="desc">{{ desc }}</div>\n    </div>\n  `,\n  styleUrls: [ \'./index.less\' ]\n})\nexport class ImageWrapperComponent {\n  @Input() style: { [key: string]: string };\n  @Input() src: string;\n  @Input() desc: string;\n}
// index.less\n:host {\n  width: 400px;\n  margin: 0 auto;\n  padding: 0 20px 8px;\n  text-align: center;\n  background: #f2f4f5;\n\n  ::ng-deep {\n    .img {\n      max-width: calc(100% - 32px);\n      margin: 2.4em 1em;\n      vertical-align: middle;\n      box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35);\n    }\n  }\n}

The components are built here, to learn more about the development of component styles.

Register

Once the component is created, you need to import the component into SharedModule so that all submodules can use it.

// shared.module.ts\nimport { ImageWrapperComponent } from \'./image-wrapper\';\nconst COMPONENTS = [\n  ImageWrapperComponent\n];

Use

Where you want to use this component, just follow the component-defined API input parameters and use it directly:

<image-wrapper\n  src="https://os.alipayobjects.com/rmsportal/mgesTPFxodmIwpi.png"\n  desc="schematic-diagram"></image-wrapper>',meta:{order:20,title:{"en-US":"New Component","zh-CN":"\u65b0\u589e\u4e1a\u52a1\u7ec4\u4ef6"},type:"Dev"},toc:[{id:"Createanewfile",title:"Create a new file",h:2},{id:"Register",title:"Register",h:2},{id:"Use",title:"Use",h:2}]},"zh-CN":{content:'

\u5bf9\u4e8e\u4e00\u4e9b\u53ef\u80fd\u88ab\u591a\u5904\u5f15\u7528\u7684\u529f\u80fd\u6a21\u5757\uff0c\u5efa\u8bae\u63d0\u70bc\u6210\u4e1a\u52a1\u7ec4\u4ef6\u7edf\u4e00\u7ba1\u7406\u3002\u8fd9\u4e9b\u7ec4\u4ef6\u4e00\u822c\u6709\u4ee5\u4e0b\u7279\u5f81\uff1a

  • \u53ea\u8d1f\u8d23\u4e00\u5757\u76f8\u5bf9\u72ec\u7acb\uff0c\u7a33\u5b9a\u7684\u529f\u80fd\uff1b

  • \u6ca1\u6709\u5355\u72ec\u7684\u8def\u7531\u914d\u7f6e\uff1b

  • \u53ef\u80fd\u662f\u7eaf\u9759\u6001\u7684\uff0c\u4ec5\u53d7\u7236\u7ec4\u4ef6\uff08\u901a\u5e38\u662f\u4e00\u4e2a\u9875\u9762\uff09\u4f20\u9012\u7684\u53c2\u6570\u63a7\u5236\u3002

\u4e0b\u9762\u4ee5\u4e00\u4e2a\u7b80\u5355\u7684\u9759\u6001\u7ec4\u4ef6\u4e3a\u4f8b\u8fdb\u884c\u4ecb\u7ecd\u3002\u5047\u8bbe\u4f60\u7684\u5e94\u7528\u4e2d\u7ecf\u5e38\u9700\u8981\u5c55\u73b0\u56fe\u7247\uff0c\u8fd9\u4e9b\u56fe\u7247\u5bbd\u5ea6\u56fa\u5b9a\uff0c\u6709\u4e00\u4e2a\u7070\u8272\u7684\u80cc\u666f\u548c\u4e00\u5b9a\u7684\u5185\u8fb9\u8ddd\uff0c\u6709\u6587\u5b57\u4ecb\u7ecd\uff0c\u5c31\u50cf\u4e0b\u56fe\u8fd9\u6837\uff1a

\u4f60\u53ef\u4ee5\u7528\u4e00\u4e2a\u7ec4\u4ef6\u6765\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\uff0c\u5b83\u6709\u9ed8\u8ba4\u7684\u6837\u5f0f\uff0c\u540c\u65f6\u53ef\u4ee5\u63a5\u6536\u7236\u7ec4\u4ef6\u4f20\u9012\u7684\u53c2\u6570\u8fdb\u884c\u5c55\u793a\u3002

\u65b0\u5efa\u6587\u4ef6

\u5728 src/app/shared/components \u4e0b\u65b0\u5efa\u4e00\u4e2a\u4ee5\u7ec4\u4ef6\u540d\u547d\u540d\u7684\u6587\u4ef6\u5939\uff0c\u547d\u540d\u5c3d\u91cf\u4f53\u73b0\u7ec4\u4ef6\u7684\u529f\u80fd\uff0c\u8fd9\u91cc\u5c31\u53eb image-wrapper\u3002\u5728\u6b64\u6587\u4ef6\u5939\u4e0b\u65b0\u589e ts \u6587\u4ef6\u3001\u6837\u5f0f\u6587\u4ef6\uff08\u5982\u679c\u9700\u8981\uff09\u53ca\u7ec4\u4ef6API\u8bf4\u660e\uff0c\u547d\u540d\u4e3a index.ts\u3001index.less\u548cREADME.md\u3002

\u5728\u4f7f\u7528\u7ec4\u4ef6\u65f6\uff0c\u9ed8\u8ba4\u4f1a\u5728 index.ts \u4e2d\u5bfb\u627e export \u7684\u5bf9\u8c61\uff0c\u5982\u679c\u4f60\u7684\u7ec4\u4ef6\u6bd4\u8f83\u590d\u6742\uff0c\u53ef\u4ee5\u5206\u4e3a\u591a\u4e2a\u6587\u4ef6\uff0c\u6700\u540e\u5728 index.ts \u4e2d\u7edf\u4e00 export\uff0c\u5c31\u50cf\u8fd9\u6837\uff1a

// main.component.ts\nexport class MainComponent {}\n\n// sub.component.ts\nexport class SubComponent {}\n\n// index.ts\nexport MainComponent from \'./main.component\';\nexport SubComponent from \'./sub.component\';

\u4f60\u7684\u4ee3\u7801\u5927\u6982\u662f\u8fd9\u4e2a\u6837\u5b50\uff1a

// index.ts\nimport { Component, Input } from \'@angular/core\';\n\n@Component({\n  selector: \'image-wrapper\',\n  template: `\n    <div [ngStyle]="style">\n      <img class="img" [src]="src" [alt]="desc" />\n      <div *ngIf="desc" class="desc">{{ desc }}</div>\n    </div>\n  `,\n  styleUrls: [ \'./index.less\' ]\n})\nexport class ImageWrapperComponent {\n  @Input() style: { [key: string]: string };\n  @Input() src: string;\n  @Input() desc: string;\n}
// index.less\n:host {\n  width: 400px;\n  margin: 0 auto;\n  padding: 0 20px 8px;\n  text-align: center;\n  background: #f2f4f5;\n\n  ::ng-deep {\n    .img {\n      max-width: calc(100% - 32px);\n      margin: 2.4em 1em;\n      vertical-align: middle;\n      box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35);\n    }\n  }\n}

\u5230\u8fd9\u513f\u7ec4\u4ef6\u5c31\u5efa\u597d\u4e86\uff0c\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u7ec4\u4ef6\u6837\u5f0f\u7684\u5f00\u53d1\u3002

\u6ce8\u518c

\u7ec4\u4ef6\u521b\u5efa\u597d\u540e\uff0c\u9700\u8981\u5c06\u7ec4\u4ef6\u5bfc\u5165 SharedModule \u4e2d\uff0c\u8fd9\u6837\u6240\u6709\u5b50\u6a21\u5757\u90fd\u53ef\u4ee5\u4f7f\u7528\u5230\u8be5\u7ec4\u4ef6\u3002

// shared.module.ts\nimport { ImageWrapperComponent } from \'./image-wrapper\';\nconst COMPONENTS = [\n  ImageWrapperComponent\n];

\u4f7f\u7528

\u5728\u8981\u4f7f\u7528\u8fd9\u4e2a\u7ec4\u4ef6\u7684\u5730\u65b9\uff0c\u6309\u7167\u7ec4\u4ef6\u5b9a\u4e49\u7684 API \u4f20\u5165\u53c2\u6570\uff0c\u76f4\u63a5\u4f7f\u7528\u5c31\u597d\uff1a

<image-wrapper\n  src="https://os.alipayobjects.com/rmsportal/mgesTPFxodmIwpi.png"\n  desc="\u793a\u610f\u56fe"></image-wrapper>',meta:{order:20,title:{"en-US":"New Component","zh-CN":"\u65b0\u589e\u4e1a\u52a1\u7ec4\u4ef6"},type:"Dev"},toc:[{id:"\u65b0\u5efa\u6587\u4ef6",title:"\u65b0\u5efa\u6587\u4ef6",h:2},{id:"\u6ce8\u518c",title:"\u6ce8\u518c",h:2},{id:"\u4f7f\u7528",title:"\u4f7f\u7528",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-new-component"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"new-page",redirectTo:"new-page/zh",pathMatch:"full"},{path:"new-page/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/new-page.en-US.md","zh-CN":"docs/new-page.zh-CN.md"},content:{"en-US":{content:'

Angular renders a page in a component tree, the actual development is to organize the code in a module tree to make it better to resuse code. For module granularity depends on the requirements, ng-alain is positioned in the middle of the front-end. Therefore, it is recommended to organize your code structure from a business perspective.

NG-ALAIN provides a very rich set of Schematics templates to quickly create templates and pages that match NG-ALAIN features, as well as a variety of pluggable plugins.

Additionally: NG-ALAIN is a standard Angular CLI project, you can still use the default command line.

First, the module

To create a page, you need to create a module first. If you need a system to set the relevant module, execute the command:

ng g ng-alain:module sys

The CLI will automatically create sys.module.ts and sys-routing.module.ts files under src/app/routes/sys, the former is the system setup module component definition file; the latter is the system setup module routing Configuration file.

// sys.module.ts\nimport { NgModule, Type } from \'@angular/core\';\nimport { SharedModule } from \'@shared\';\nimport { SysRoutingModule } from \'./sys-routing.module\';\n\nconst COMPONENTS: Type[] = [];\n\n@NgModule({\n  imports: [SharedModule, SysRoutingModule],\n  declarations: COMPONENTS,\n})\nexport class SysModule {}

The function of the module is to import the modules we need. All NG-ZORRO, @delon/abc, @delon/chart, etc. are loaded on demand. The external components are imported wherever the current business page needs. In order to reduce these import actions, NG -ALAIN has refined two files shared-delon.module.ts and shared-zorro.module.ts to merge some modules frequently used throughout the project into a module called SharedModule, which is why it is necessary Import it in the business module for the first time. Note: It is not recommended to put all the components in SharedModule, as far as possible, put the modules that need to be used two or three times or more.

And the routing configuration module:

// sys-routing.module.ts\nimport { NgModule } from \'@angular/core\';\nimport { RouterModule, Routes } from \'@angular/router\';\n\nconst routes: Routes = [];\n\n@NgModule({\n  imports: [RouterModule.forChild(routes)],\n  exports: [RouterModule],\n})\nexport class SysRoutingModule {}

By now, you can safely start developing business pages like menu management, logging, system configuration, etc. in the sys directory.

Second, the page

Use the ng generate (abbreviated as: ng g) command to create a log list page in the sys directory:

ng g ng-alain:list log -m=sys

See Command Line Tools for more information.

Finally, you can access the Log page.

Of course, the log may be a very rich piece of information, you can add a view page opened in a modal box to display more details.

ng g ng-alain:view view -m=sys -t=log

-t=log indicates that you want to put the created file under sys/log/view',meta:{order:10,title:{"en-US":"New Page","zh-CN":"\u65b0\u589e\u9875\u9762"},type:"Dev"},toc:[{id:"First,themodule",title:"First, the module",h:2},{id:"Second,thepage",title:"Second, the page",h:2}]},"zh-CN":{content:'

Angular \u867d\u7136\u662f\u4ee5\u7ec4\u4ef6\u6811\u6765\u6e32\u67d3\u4e00\u4e2a\u9875\u9762\uff0c\u7136\u540e\u5b9e\u9645\u5f00\u53d1\u662f\u4ee5\u4e00\u79cd\u6a21\u5757\u6811\u6765\u7ec4\u7ec7\u4ee3\u7801\uff0c\u4f7f\u5176\u80fd\u66f4\u597d\u5730\u4ee3\u7801\u590d\u7528\u3002\u800c\u5bf9\u4e8e\u6a21\u5757\u7c92\u5ea6\u53d6\u51b3\u4e8e\u9700\u6c42\uff0cng-alain\u7684\u5b9a\u4f4d\u5728\u4e8e\u4e2d\u53f0\u524d\u7aef\uff0c\u56e0\u6b64\uff0c\u6bd4\u8f83\u5efa\u8bae\u4ece\u4e1a\u52a1\u89d2\u5ea6\u51fa\u53d1\u7ec4\u7ec7\u4f60\u7684\u4ee3\u7801\u7ed3\u6784\u3002

NG-ALAIN \u63d0\u4f9b\u4e00\u5957\u975e\u5e38\u4e30\u5bcc\u7684 Schematics \u6a21\u677f\uff0c\u53ef\u4ee5\u5feb\u901f\u521b\u5efa\u7b26\u5408 NG-ALAIN \u7279\u70b9\u7684\u6a21\u677f\u548c\u9875\u9762\uff1b\u540c\u65f6\u5305\u542b\u591a\u79cd\u53ef\u63d2\u62d4\u63d2\u4ef6\u3002

\u53e6\uff1aNG-ALAIN \u662f\u4e00\u4e2a\u6807\u51c6\u7684 Angular CLI \u9879\u76ee\uff0c\u4f60\u4f9d\u7136\u53ef\u4ee5\u4f7f\u7528\u9ed8\u8ba4\u7684\u6240\u6709\u547d\u4ee4\u884c\u3002

\u4e00\u3001\u6a21\u5757

\u8981\u521b\u5efa\u4e00\u4e2a\u9875\u9762\u9700\u8981\u5148\u521b\u5efa\u4e00\u4e2a\u6a21\u5757\u5f00\u59cb\uff0c\u5047\u5982\u9700\u8981\u4e00\u4e2a\u7cfb\u7edf\u8bbe\u7f6e\u76f8\u5173\u7684\u6a21\u5757\uff0c\u6267\u884c\u547d\u4ee4\uff1a

ng g ng-alain:module sys

CLI \u4f1a\u81ea\u52a8\u5728 src/app/routes/sys \u4e0b\u521b\u5efa sys.module.ts \u548c sys-routing.module.ts \u6587\u4ef6\uff0c\u524d\u8005\u662f\u7cfb\u7edf\u8bbe\u7f6e\u6a21\u5757\u7ec4\u4ef6\u5b9a\u4e49\u6587\u4ef6\uff1b\u540e\u8005\u662f\u7cfb\u7edf\u8bbe\u7f6e\u6a21\u5757\u8def\u7531\u914d\u7f6e\u6587\u4ef6\u3002

// sys.module.ts\nimport { NgModule, Type } from \'@angular/core\';\nimport { SharedModule } from \'@shared\';\nimport { SysRoutingModule } from \'./sys-routing.module\';\n\nconst COMPONENTS: Type[] = [];\n\n@NgModule({\n  imports: [SharedModule, SysRoutingModule],\n  declarations: COMPONENTS,\n})\nexport class SysModule {}

\u6a21\u5757\u7684\u4f5c\u7528\u662f\u5bfc\u5165\u6211\u4eec\u9700\u8981\u7684\u6a21\u5757\uff0c\u6240\u6709 NG-ZORRO\u3001@delon/abc\u3001@delon/chart \u7b49\u90fd\u662f\u6309\u9700\u6c42\u52a0\u8f7d\u6a21\u5757\uff0c\u5f53\u524d\u4e1a\u52a1\u9875\u9700\u8981\u54ea\u91cc\u5916\u90e8\u7ec4\u4ef6\u5c31\u5bfc\u5165\u54ea\u4e9b\uff0c\u4e3a\u4e86\u51cf\u5c11\u8fd9\u4e9b\u5bfc\u5165\u52a8\u4f5c\uff0cNG-ALAIN \u63d0\u70bc\u4e86\u4e24\u4e2a\u6587\u4ef6 shared-delon.module.ts\u3001shared-zorro.module.ts \u5c06\u4e00\u4e9b\u6574\u4e2a\u9879\u76ee\u7ecf\u5e38\u7528\u5230\u7684\u6a21\u5757\u5408\u5e76\u6210\u4e00\u4e2a\u53eb SharedModule \u6a21\u5757\u5185\uff0c\u8fd9\u4e5f\u5c31\u662f\u4e3a\u4ec0\u4e48\u9700\u8981\u5728\u4e1a\u52a1\u6a21\u5757\u5185\u7b2c\u4e00\u65f6\u95f4\u5bfc\u5165\u5b83\u3002\u6ce8\u610f\uff1a\u4e0d\u5efa\u8bae\u628a\u6240\u6709\u7ec4\u4ef6\u90fd\u653e\u8fdb SharedModule \u5185\uff0c\u5c3d\u53ef\u80fd\u5c06\u9700\u8981\u7528\u5230\u7684\u6a21\u5757\u4ee5\u4e8c\u6216\u4e09\u6b21\u4ee5\u4e0a\u4f7f\u7528\u624d\u653e\u8fdb\u8fd9\u91cc\u3002

\u4ee5\u53ca\u8def\u7531\u914d\u7f6e\u6a21\u5757\uff1a

// sys-routing.module.ts\nimport { NgModule } from \'@angular/core\';\nimport { RouterModule, Routes } from \'@angular/router\';\n\nconst routes: Routes = [];\n\n@NgModule({\n  imports: [RouterModule.forChild(routes)],\n  exports: [RouterModule],\n})\nexport class SysRoutingModule {}

\u81f3\u6b64\uff0c\u4f60\u53ef\u4ee5\u653e\u5fc3\u5728 sys \u76ee\u5f55\u4e2d\u5f00\u59cb\u5f00\u53d1\u50cf\u83dc\u5355\u7ba1\u7406\u3001\u65e5\u5fd7\u3001\u7cfb\u7edf\u914d\u7f6e\u7b49\u4e1a\u52a1\u9875\u9762\u3002

\u4e8c\u3001\u9875\u9762

\u5229\u7528 ng generate\uff08\u53ef\u7b80\u5199\u4e3a\uff1ang g\uff09 \u547d\u4ee4\u5728 sys \u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u65e5\u5fd7\u5217\u8868\u9875\uff1a

ng g ng-alain:list log -m=sys

\u4e86\u89e3\u66f4\u591a\u8bf7\u53c2\u8003\u547d\u4ee4\u884c\u5de5\u5177\u3002

\u6700\u7ec8\uff0c\u4f60\u53ef\u4ee5\u8bbf\u95ee \u65e5\u5fd7 \u9875\u9762\u3002

\u5f53\u7136\u65e5\u5fd7\u53ef\u80fd\u662f\u4e00\u4e2a\u975e\u5e38\u4e30\u5bcc\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u589e\u52a0\u4e00\u4e2a\u4ee5\u6a21\u6001\u6846\u6253\u5f00\u7684\u67e5\u770b\u9875\u6765\u663e\u793a\u66f4\u591a\u8be6\u60c5\u3002

ng g ng-alain:view view -m=sys -t=log

-t=log \u8868\u793a\u5e0c\u671b\u628a\u521b\u5efa\u7684\u6587\u4ef6\u653e\u8fdb\u81f3 sys/log/view',meta:{order:10,title:{"en-US":"New Page","zh-CN":"\u65b0\u589e\u9875\u9762"},type:"Dev"},toc:[{id:"\u4e00\u3001\u6a21\u5757",title:"\u4e00\u3001\u6a21\u5757",h:2},{id:"\u4e8c\u3001\u9875\u9762",title:"\u4e8c\u3001\u9875\u9762",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-new-page"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"performance",redirectTo:"performance/zh",pathMatch:"full"},{path:"performance/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/performance.en-US.md","zh-CN":"docs/performance.zh-CN.md"},content:{"en-US":{content:'

Envelope size optimization

Divided into JavaScript script files and CSS files. The following only describes the script part. For the CSS file, please refer to Optimize Theme System.

Note: It is recommended to always prioritize business, optimize to the post- criteria, and have some understanding of NG-ALAIN before starting to optimize. The optimization scheme in this chapter will change with the change of the version. Please pay attention to the details.

Structure description

In general, there are two files that are larger after the build: scripts.js and main.js, and our optimization is mainly for these two items.

scripts.js

It comes from a collection of scripts nodes of angular.json, so the size of this file depends on the size of the third-party component referenced by the scripts node.

In general, you should put it under scripts when you are using non-Angular third-party components.

main.js

Using ng build by default will package all @angular/*, ng-zorro-antd, @delon/* and some third-party Angular components. Unless you use the --vendor-chunk parameter to separate these classes library.

Optimization object

We know that the resource file packaged by Angular Cli will contain the hashing value of the file. Which is like the unique identifier of the file. If the module is not modified, no new hashing value will be generated. This ensures that after the user downloads the resource for the first time. No matter how we build the user again, there is no need to download it again.

In fact, Angular Cli defaults to --vendor-chunk. The main factor is that these @angular/* are very fast relative to iteration.

According to NG-ALAIN\'s module registration guidelines, generate two shared-delon.module.ts andshared-zorro.module.ts produced are the summary of the import of secondary modules shared by @Delon and NG-ZORRO.

@delon/abc,@delon/chart, ng-zorro-antd The three main libraries all support secondary imports. Only selecting the modules required by the project will effectively solve the problem of package size.

Conclusion

After NG-ZORRO provides better optimization support, we will release #684 and hope to have a better package size. Expected res

',meta:{order:80,title:{"en-US":"Performance","zh-CN":"\u4f18\u5316"},type:"Advance"},toc:[{id:"Envelopesizeoptimization",title:"Envelope size optimization",h:2,children:[{id:"Structuredescription",title:"Structure description",h:3},{id:"Optimizationobject",title:"Optimization object",h:3},{id:"Conclusion",title:"Conclusion",h:3}]}]},"zh-CN":{content:'

\u5305\u4f53\u5927\u5c0f\u4f18\u5316

\u5206\u4e3aJavaScript\u811a\u672c\u6587\u4ef6\u548cCSS\u6587\u4ef6\uff0c\u4ee5\u4e0b\u53ea\u63cf\u8ff0\u811a\u672c\u90e8\u5206\uff0c\u6709\u5173CSS\u6587\u4ef6\u8bf7\u53c2\u8003\u4f18\u5316\u4e3b\u9898\u7cfb\u7edf\u3002

\u6ce8\u610f\uff1a \u5efa\u8bae\u59cb\u7ec8\u4ee5\u4e1a\u52a1\u4f18\u5148\uff0c\u4f18\u5316\u4e3a\u540e\u7684\u51c6\u5219\uff0c\u4e14\u5728\u5f00\u59cb\u524d\u5bf9 NG-ALAIN \u6709\u4e00\u5b9a\u4e86\u89e3\u540e\u518d\u8fdb\u884c\u4f18\u5316\u3002\u672c\u7ae0\u8282\u7684\u4f18\u5316\u65b9\u6848\u4f1a\u968f\u7740\u7248\u672c\u7684\u66f4\u8fed\u6709\u6240\u53d8\u52a8\uff0c\u6709\u5173\u7ec6\u8282\u8bf7\u6301\u7eed\u5173\u6ce8\u3002

\u7ed3\u6784\u8bf4\u660e

\u4e00\u822c\u6765\u8bf4\uff0c\u6784\u5efa\u540e\u6709\u4e24\u4e2a\u6587\u4ef6\u4f1a\u6bd4\u8f83\u5927\uff1ascripts.js \u548c main.js\uff0c\u800c\u6211\u4eec\u4f18\u5316\u4e5f\u4e3b\u8981\u9488\u5bf9\u8fd9\u4e24\u9879\u3002

scripts.js

\u5b83\u6765\u81ea\u662f angular.json \u7684 scripts \u8282\u70b9\u7684\u96c6\u5408\uff0c\u56e0\u6b64\uff0c\u8fd9\u4e2a\u6587\u4ef6\u7684\u5927\u5c0f\u53d6\u51b3\u4e8e scripts \u8282\u70b9\u6240\u5f15\u7528\u7684\u7b2c\u4e09\u65b9\u7ec4\u4ef6\u7684\u5927\u5c0f\u3002

\u4e00\u822c\u6765\u8bf4\uff0c\u5f53\u4f60\u5728\u4f7f\u7528\u975e Angular \u7b2c\u4e09\u65b9\u7ec4\u4ef6\u65f6\u90fd\u5e94\u8be5\u653e\u5728 scripts \u4e0b\u3002

main.js

\u9ed8\u8ba4\u4f7f\u7528 ng build \u4f1a\u5c06\u6240\u6709 @angular/*\u3001ng-zorro-antd\u3001@delon/* \u4ee5\u53ca\u4e00\u4e9b\u7b2c\u4e09\u65b9 Angular \u7ec4\u4ef6\u90fd\u4f1a\u88ab\u6253\u5305\u8fdb\u6765\uff0c\u9664\u975e\u4f60\u4f7f\u7528 --vendor-chunk \u53c2\u6570\u6765\u5206\u79bb\u8fd9\u4e9b\u7c7b\u5e93\u3002

\u4f18\u5316\u5bf9\u8c61

\u6211\u4eec\u77e5\u9053\uff0cAngular Cli \u6253\u5305\u51fa\u6765\u7684\u8d44\u6e90\u6587\u4ef6\u4f1a\u5305\u542b\u8be5\u6587\u4ef6 hashing \u503c\uff0c\u5b83\u50cf\u662f\u6587\u4ef6\u7684\u552f\u4e00\u6807\u8bc6\u7801\uff0c\u82e5\u672a\u5bf9\u8be5\u6587\u4ef6\u8fdb\u884c\u6a21\u5757\u4fee\u6539\u90fd\u4e0d\u4f1a\u4ea7\u751f\u65b0\u7684 hashing \u503c\uff0c\u8fd9\u786e\u4fdd\u7528\u6237\u9996\u6b21\u4e0b\u8f7d\u8d44\u6e90\u540e\u4e0d\u7ba1\u6211\u4eec\u5982\u4f55\u518d\u6b21\u6784\u5efa\u7528\u6237\u90fd\u65e0\u987b\u518d\u4e00\u6b21\u4e0b\u8f7d\u3002

\u4e8b\u5b9e\u4e0a\uff0cAngular Cli \u9ed8\u8ba4\u5c06 --vendor-chunk \u4e3b\u8981\u56e0\u7d20\u662f\u8fd9\u4e9b @angular/* \u76f8\u5bf9\u4e8e\u8fed\u4ee3\u5f88\u5feb\u3002

\u6839\u636e NG-ALAIN \u7684\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219\uff0c\u4ea7\u751f\u7684\u4e24\u4e2a shared-delon.module.ts\u3001shared-zorro.module.ts \u4e24\u4e2a\u4e13\u95e8\u9488\u5bf9 @Delon \u4e0e NG-ZORRO \u5171\u4eab\u6b21\u7ea7\u6a21\u5757\u5bfc\u5165\u7684\u6c47\u603b\u3002

@delon/abc\u3001@delon/chart\u3001ng-zorro-antd \u4e09\u4e2a\u4e3b\u8981\u7c7b\u5e93\u90fd\u652f\u6301\u6b21\u7ea7\u5bfc\u5165\uff0c\u53ea\u9009\u62e9\u9879\u76ee\u6240\u9700\u8981\u7684\u6a21\u5757\u5c06\u6709\u6548\u7684\u89e3\u51b3\u5305\u4f53\u5927\u5c0f\u7684\u95ee\u9898\u3002

\u7ed3\u8bba

\u5f85 NG-ALAIN \u63d0\u4f9b\u66f4\u597d\u7684\u4f18\u5316\u652f\u6301\u540e\uff0c\u6211\u4eec\u4f1a\u53d1\u5e03 #684 \u5e0c\u671b\u5bf9\u5305\u4f53\u5927\u5c0f\u6709\u66f4\u597d\u7684

',meta:{order:80,title:{"en-US":"Performance","zh-CN":"\u4f18\u5316"},type:"Advance"},toc:[{id:"\u5305\u4f53\u5927\u5c0f\u4f18\u5316",title:"\u5305\u4f53\u5927\u5c0f\u4f18\u5316",h:2,children:[{id:"\u7ed3\u6784\u8bf4\u660e",title:"\u7ed3\u6784\u8bf4\u660e",h:3},{id:"\u4f18\u5316\u5bf9\u8c61",title:"\u4f18\u5316\u5bf9\u8c61",h:3},{id:"\u7ed3\u8bba",title:"\u7ed3\u8bba",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-performance"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"server",redirectTo:"server/zh",pathMatch:"full"},{path:"server/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/server.en-US.md","zh-CN":"docs/server.zh-CN.md"},content:{"en-US":{content:'

NG-ALAIN is a single-page application based on the Angular technology stack. We provide development models for front-end code and native analog data.\nWork in the form of the Restful API with the server application of any technology stack. The basics of interacting with the server are briefly described below.

Front-end request process

In NG-ALAIN, a complete front-end UI interaction to the server-side processing flow looks like this:

  1. Start Angular for the first time to execute APP_INITIALIZER;

  2. UI component interaction;

  3. Send the request using the encapsulated _HttpClient;

  4. Trigger the user authentication interceptor @delon/auth and add the token parameter uniformly;

    • If there is no token or an expired interrupt subsequent request, jump directly to the login page;

  5. Trigger the default interceptor to process the prefix and other information;

  6. Get the server back;

  7. Trigger the default interceptor to handle request exceptions, business exceptions, etc.

  8. Update the data and refresh the UI.

Interceptor

By default, two interceptors are registered in the root module.SimpleInterceptor with DefaultInterceptorAnd the execution order is executed in the registration order.

SimpleInterceptor

User Authentication has built-in interceptors for automatically adding token parameters to requests. There is also a JWTInterceptor interceptor, which is a standard JWT specification. If the backend uses standard JWT, it can be directly replaced with a JWTInterceptor interceptor.

DefaultInterceptor

DefaultInterceptor The interceptor simply provides an interceptor. By default, it contains sample code that handles server request prefixes, handles request exceptions, and business exceptions. You can make adjustments based on your own needs.

Important point

We can put the next.handle(req) as the demarcation point in the interceptor intercept method. The first part is the request and the pipe part is the post. This will make it clearer which part is to be done before the request and which part will be executed after the request. For more information on interceptors, please refer to the official website.

Development environment

Under normal circumstances, the development environment and the production environment are not the same back-end request source. You can actually configure it under the environment directory. environment.ts and environment.prod.ts Change the request source for different environments.

environment is actually a JSON object, you can organize different forms to meet the problem of multiple request sources.

Mock

Sometimes when you want to develop the front-end first, you can use @delon/mock to simulate the request data. The actual principle is to use the interceptor to directly return the data to the matching URL instead of sending an HTTP request. By default, it is only valid for the test environment. Of course, you usually need to make sure that the data of the Mock interface is consistent with the backend. You can create the corresponding Mock interface in the _mock directory:

export const USERS = {\n  \'GET /users\': { users: [1, 2], total: 2 }\n}

So for the test environment, when the /users request is encountered, the {users: [1, 2], total: 2 } data is returned directly. See here for more Mock syntax and usage.

Note: When you don\'t need a Mock interface for a request, be sure to comment out or remove it.

Cors

Most applications will be front-end is separate from the back-end, which leads to CORS factors when a request is made to the back end, such as:

http.get(`http://192.168.1.100/api/app`).subscribe();

Note: If the request does not start with http, each request will add environment.SERVER_URL as the leading edge of the request URL.

The following error is returned directly:

Access to XMLHttpRequest at \'http://192.168.1.100/api/app\' from origin \'http://localhost:4200\' has been blocked by CORS policy: No \'Access-Control-Allow-Origin\' header is present on the requested resource.

There are usually two ways to solve cross-domain problems. One is to allow the back-end development environment to directly support CORS requests (not recommended, but simplest), the second is to use Angular Cli to provide Proxy Support, the development proxy server will forward the domain and port of the request sent by Angular to the backend Server, CORS is a security restriction of the browser. There is no problem with CORS before the proxy server and the backend server. This is why many people try to make it clear that they can be requested in Postman but not in Angular.

Assuming that all backend requests are prefixed with /api, you can configure all this prefix in proxy.conf.js to forward to the new backend, for example:

module.exports = {\n  \'/api\': {\n    target: \'http://192.168.1.100/api\',\n    secure: false\n  }\n}
  • /api Proxy path, domain is not supported

  • target Proxy target address

  • secure If the proxy target address is https, it should be set to true, otherwise it is false

  • pathRewrite Rewrite the address, such as pathRewrite: {\'^/api\':\'/\'} to change the prefix /api to /

  • changeOrigin Change the host of the host header to the target URL. Some backends will judge whether it is valid according to its value. You may need to set true

  • logLevel Set to debug to display the message forwarded by the agent on the terminal

Abort more detail please refer to Proxying to a backend server, and for configuration description please refer to http-proxy-middleware options.

Common problem

Q: The request may be rejected or returned directly to 401?

Scaffolding uses the SimpleInterceptor interceptor of @delon/auth by default, which causes an error to be returned directly if a token cannot be obtained during the request.

User Authentication This process is a must for the middle of

',meta:{order:40,title:"Work with Server",type:"Dev"},toc:[{id:"Front-endrequestprocess",title:"Front-end request process",h:2,children:[{id:"Interceptor",title:"Interceptor",h:3}]},{id:"Developmentenvironment",title:"Development environment",h:2},{id:"Mock",title:"Mock",h:2},{id:"Cors",title:"Cors",h:2},{id:"Commonproblem",title:"Common problem",h:2}]},"zh-CN":{content:'

NG-ALAIN \u662f\u4e00\u5957\u57fa\u4e8e Angular \u6280\u672f\u6808\u7684\u5355\u9875\u9762\u5e94\u7528\uff0c\u6211\u4eec\u63d0\u4f9b\u7684\u662f\u524d\u7aef\u4ee3\u7801\u548c\u672c\u5730\u6a21\u62df\u6570\u636e\u7684\u5f00\u53d1\u6a21\u5f0f\uff0c\n\u901a\u8fc7 Restful API \u7684\u5f62\u5f0f\u548c\u4efb\u4f55\u6280\u672f\u6808\u7684\u670d\u52a1\u7aef\u5e94\u7528\u4e00\u8d77\u5de5\u4f5c\u3002\u4e0b\u9762\u5c06\u7b80\u5355\u4ecb\u7ecd\u548c\u670d\u52a1\u7aef\u4ea4\u4e92\u7684\u57fa\u672c\u5199\u6cd5\u3002

\u524d\u7aef\u8bf7\u6c42\u6d41\u7a0b

\u5728 NG-ALAIN \u4e2d\uff0c\u4e00\u4e2a\u5b8c\u6574\u7684\u524d\u7aef UI \u4ea4\u4e92\u5230\u670d\u52a1\u7aef\u5904\u7406\u6d41\u7a0b\u662f\u8fd9\u6837\u7684\uff1a

  1. \u9996\u6b21\u542f\u52a8 Angular \u6267\u884c APP_INITIALIZER\uff1b

  2. UI \u7ec4\u4ef6\u4ea4\u4e92\u64cd\u4f5c\uff1b

  3. \u4f7f\u7528\u5c01\u88c5\u7684 _HttpClient \u53d1\u9001\u8bf7\u6c42\uff1b

  4. \u89e6\u53d1\u7528\u6237\u8ba4\u8bc1\u62e6\u622a\u5668 @delon/auth\uff0c\u7edf\u4e00\u52a0\u5165 token \u53c2\u6570\uff1b

    • \u82e5\u672a\u5b58\u5728 token \u6216\u5df2\u8fc7\u671f\u4e2d\u65ad\u540e\u7eed\u8bf7\u6c42\uff0c\u76f4\u63a5\u8df3\u8f6c\u81f3\u767b\u5f55\u9875\uff1b

  5. \u89e6\u53d1\u9ed8\u8ba4\u62e6\u622a\u5668\uff0c\u7edf\u4e00\u5904\u7406\u524d\u7f00\u7b49\u4fe1\u606f\uff1b

  6. \u83b7\u53d6\u670d\u52a1\u7aef\u8fd4\u56de\uff1b

  7. \u89e6\u53d1\u9ed8\u8ba4\u62e6\u622a\u5668\uff0c\u7edf\u4e00\u5904\u7406\u8bf7\u6c42\u5f02\u5e38\u3001\u4e1a\u52a1\u5f02\u5e38\u7b49\uff1b

  8. \u6570\u636e\u66f4\u65b0\uff0c\u5e76\u5237\u65b0 UI\u3002

\u62e6\u622a\u5668

\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u5728\u6839\u6a21\u5757\u6ce8\u518c\u4e86\u4e24\u4e2a\u62e6\u622a\u5668 SimpleInterceptor \u548c DefaultInterceptor\uff0c\u4e14\u6267\u884c\u987a\u5e8f\u6309\u6ce8\u518c\u987a\u5e8f\u6267\u884c\u3002

SimpleInterceptor

\u7528\u6237\u8ba4\u8bc1\u5185\u7f6e\u7528\u4e8e\u81ea\u52a8\u4e3a\u8bf7\u6c42\u6dfb\u52a0 token \u53c2\u6570\u7684\u62e6\u622a\u5668\u3002\u8fd9\u91cc\u8fd8\u6709\u4e00\u4e2a\u53eb JWTInterceptor \u62e6\u622a\u5668\uff0c\u662f\u4e00\u4e2a\u6807\u51c6 JWT \u89c4\u8303\uff0c\u82e5\u540e\u7aef\u91c7\u7528\u6807\u51c6JWT\u53ef\u4ee5\u76f4\u63a5\u6362\u6210JWTInterceptor\u62e6\u622a\u5668\u3002

DefaultInterceptor

DefaultInterceptor \u62e6\u622a\u5668\u53ea\u662f\u63d0\u4f9b\u4e00\u4e2a\u62e6\u622a\u5668\u7684\u5199\u6cd5\uff0c\u9ed8\u8ba4\u5305\u542b\u4e86\u7edf\u4e00\u5904\u7406\u670d\u52a1\u5668\u8bf7\u6c42\u524d\u7f00\u3001\u5904\u7406\u8bf7\u6c42\u5f02\u5e38\u53ca\u4e1a\u52a1\u5f02\u5e38\u7684\u793a\u4f8b\u4ee3\u7801\uff0c\u4f60\u53ef\u4ee5\u6839\u636e\u4f60\u81ea\u5df1\u7684\u9700\u6c42\u505a\u8c03\u6574\u3002

\u6ce8\u610f\u70b9

\u6211\u4eec\u53ef\u4ee5\u628a\u62e6\u622a\u5668 intercept \u65b9\u6cd5\u5185\uff0c\u4ee5 next.handle(req) \u4e3a\u5206\u754c\u70b9\uff0c\u524d\u90e8\u5206\u4e3a\u8bf7\u6c42\u524d\uff0cpipe \u90e8\u5206\u4e3a\u63a5\u6536\u540e\u3002\u8fd9\u6837\u4f1a\u66f4\u660e\u786e\u77e5\u9053\u54ea\u4e00\u90e8\u5206\u662f\u8bf7\u6c42\u524d\u8981\u505a\uff0c\u54ea\u4e00\u90e8\u5206\u662f\u8bf7\u6c42\u540e\u4f1a\u6267\u884c\u7684\u3002\u6709\u5173\u66f4\u591a\u62e6\u622a\u5668\u77e5\u8bc6\u8bf7\u53c2\u8003\u5b98\u7f51\u3002

\u5f00\u53d1\u73af\u5883

\u6b63\u5e38\u60c5\u51b5\u4e0b\u5f00\u53d1\u73af\u5883\u548c\u751f\u4ea7\u73af\u5883\u4e0d\u662f\u540c\u4e00\u4e2a\u540e\u7aef\u8bf7\u6c42\u6e90\uff0c\u5b9e\u9645\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e environment \u76ee\u5f55\u4e0b environment.ts \u548c environment.prod.ts \u6539\u53d8\u4e0d\u540c\u73af\u5883\u7684\u8bf7\u6c42\u6e90\u3002

environment \u5b9e\u9645\u662f\u4e00\u4e2aJSON\u5bf9\u8c61\uff0c\u53ef\u4ee5\u7ec4\u7ec7\u4e0d\u540c\u5f62\u5f0f\u6765\u6ee1\u8db3\u591a\u8bf7\u6c42\u6e90\u7684\u95ee\u9898\u3002

Mock

\u6709\u65f6\u5019\u5e0c\u671b\u4f18\u5148\u5f00\u53d1\u524d\u7aef\u65f6\uff0c\u53ef\u4ee5\u5229\u7528 @delon/mock \u6765\u6a21\u62df\u8bf7\u6c42\u6570\u636e\uff0c\u5b9e\u9645\u539f\u7406\u662f\u5229\u7528\u62e6\u622a\u5668\uff0c\u5bf9\u5339\u914d\u7684URL\u76f4\u63a5\u8fd4\u56de\u6570\u636e\uff0c\u800c\u4e0d\u662f\u53d1\u9001\u4e00\u4e2aHTTP\u8bf7\u6c42\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ea\u5bf9\u6d4b\u8bd5\u73af\u5883\u6709\u6548\u3002\u5f53\u7136\u901a\u5e38\u60c5\u51b5\u4e0b\u4f60\u9700\u8981\u786e\u4fdd Mock \u63a5\u53e3\u7684\u6570\u636e\u4e0e\u540e\u7aef\u4fdd\u6301\u4e00\u81f4\uff0c\u4f60\u53ef\u4ee5\u5728 _mock \u76ee\u5f55\u4e0b\u521b\u5efa\u76f8\u5e94\u7684 Mock \u63a5\u53e3\uff1a

export const USERS = {\n  \'GET /users\': { users: [1, 2], total: 2 }\n}

\u56e0\u6b64\u5bf9\u4e8e\u6d4b\u8bd5\u73af\u5883\u4e0b\u5f53\u9047\u5230 /users \u8bf7\u6c42\u76f4\u63a5\u8fd4\u56de { users: [1, 2], total: 2 } \u6570\u636e\u3002\u6709\u5173\u66f4\u591a Mock \u8bed\u6cd5\u548c\u4f7f\u7528\u65b9\u5f0f\u53c2\u8003\u8fd9\u91cc\u3002

\u6ce8\uff1a \u5f53\u4f60\u4e0d\u9700\u8981\u67d0\u4e2a\u8bf7\u6c42\u7684 Mock \u63a5\u53e3\u65f6\uff0c\u52a1\u5fc5\u8981\u6ce8\u91ca\u6389\u6216\u79fb\u9664\u5b83\u3002

\u8de8\u57df

\u5927\u90e8\u5206\u5e94\u7528\u90fd\u4f1a\u524d\u540e\u7aef\u5206\u79bb\u8fdb\u884c\u5f00\u53d1\uff0c\u8fd9\u5bfc\u81f4\u5f53\u5bf9\u540e\u7aef\u53d1\u8d77\u4e00\u4e2a\u8bf7\u6c42\u65f6\u4f1a\u53d7\u8de8\u57df\uff08CORS\uff09\u7684\u56e0\u7d20\uff0c\u4f8b\u5982\uff1a

http.get(`http://192.168.1.100/api/app`).subscribe();

\u6ce8\uff1a\u5982\u679c\u975e http \u5f00\u5934\u7684\u8bf7\u6c42\uff0c\u4f1a\u5728\u6bcf\u4e2a\u8bf7\u6c42\u90fd\u4f1a\u52a0\u4e0a environment.SERVER_URL \u4f5c\u4e3a\u8bf7\u6c42 URL \u7684\u524d\u7f18\u3002

\u76f4\u63a5\u8fd4\u56de\u4ee5\u4e0b\u9519\u8bef\uff1a

Access to XMLHttpRequest at \'http://192.168.1.100/api/app\' from origin \'http://localhost:4200\' has been blocked by CORS policy: No \'Access-Control-Allow-Origin\' header is present on the requested resource.

\u800c\u6b63\u5e38\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u6709\u4e24\u79cd\u65b9\u6cd5\uff0c\u4e00\u662f\u8ba9\u540e\u7aef\u5f00\u53d1\u73af\u5883\u76f4\u63a5\u652f\u6301\u8de8\u57df\u8bf7\u6c42\uff08\u4e0d\u63a8\u8350\uff0c\u4f46\u6700\u7b80\u5355\uff09\uff0c\u4e8c\u662f\u5229\u7528 Angular Cli \u63d0\u4f9b\u4ee3\u7406\u652f\u6301\uff0c\u5f00\u53d1\u4ee3\u7406\u670d\u52a1\u5668\u4f1a\u5c06 Angular \u53d1\u9001\u7684\u8bf7\u6c42\u7684\u57df\u548c\u7aef\u53e3\u8f6c\u53d1\u7ed9\u540e\u7aef\u670d\u52a1\u5668\uff0cCORS \u662f\u6d4f\u89c8\u5668\u7684\u5b89\u5168\u9650\u5236\uff0c\u5728\u4ee3\u7406\u670d\u52a1\u5668\u4e0e\u540e\u7aef\u670d\u52a1\u5668\u4e4b\u524d\u5e76\u4e0d\u5b58\u5728 CORS \u7684\u95ee\u9898\uff0c\u8fd9\u4e5f\u5c31\u662f\u4e3a\u4ec0\u4e48\u5f88\u591a\u4eba\u4f1a\u5c1d\u8bd5\u660e\u660e\u5728 Postman \u80fd\u8bf7\u6c42\uff0c\u800c\u5728 Angular \u4e0b\u65e0\u6cd5\u8bf7\u6c42\u7684\u539f\u56e0\u6240\u5728\u3002

\u5047\u5b9a\u6240\u6709\u540e\u7aef\u8bf7\u6c42\u90fd\u662f\u4ee5 /api \u4e3a\u524d\u7f00\u65f6\uff0c\u5c31\u53ef\u4ee5\u5728 proxy.conf.js \u914d\u7f6e\u6240\u6709\u8fd9\u4e2a\u524d\u7f00\u90fd\u8f6c\u5411\u65b0\u7684\u540e\u7aef\uff0c\u4f8b\u5982\uff1a

module.exports = {\n  \'/api\': {\n    target: \'http://192.168.1.100/api\',\n    secure: false\n  }\n}
  • /api \u4ee3\u7406\u8def\u5f84\uff0c\u4e0d\u652f\u6301\u57df

  • target \u4ee3\u7406\u76ee\u6807\u5730\u5740

  • secure \u4ee3\u7406\u76ee\u6807\u5730\u5740\u5982\u679c\u662f https \u5e94\u8be5\u8bbe\u7f6e\u4e3a true\uff0c\u53cd\u4e4b\u4e3a false

  • pathRewrite \u91cd\u5199\u5730\u5740\uff0c\u4f8b\u5982 pathRewrite: {\'^/api\': \'/\'} \u5c06\u524d\u7f00 /api \u8f6c\u4e3a /

  • changeOrigin \u5c06\u4e3b\u673a\u6807\u5934\u7684 host \u66f4\u6539\u4e3a\u76ee\u6807URL\uff0c\u6709\u4e9b\u540e\u7aef\u4f1a\u6839\u636e\u5176\u503c\u6765\u5224\u65ad\u662f\u5426\u6709\u6548\uff0c\u53ef\u80fd\u9700\u8981\u901a\u8fc7\u8bbe\u7f6e true

  • logLevel \u8bbe\u7f6e\u4e3a debug \u53ef\u4ee5\u7ec8\u7aef\u663e\u793a\u4ee3\u7406\u8f6c\u53d1\u7684\u6d88\u606f

\u66f4\u591a\u4f7f\u7528\u8bf4\u660e\u8bf7\u53c2\u8003\u4ee3\u7406\u5230\u540e\u7aef\u670d\u52a1\u5668\uff0c\u4ee5\u53ca\u914d\u7f6e\u63cf\u8ff0\u8bf7\u53c2\u8003http-proxy-middleware options\u3002

\u5e38\u89c1\u95ee\u9898

Q\uff1a \u8bf7\u6c42\u53ef\u80fd\u88ab\u62d2\u7edd\u6216\u76f4\u63a5\u8fd4\u56de 401 ?

\u811a\u624b\u67b6\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528\u4e86 @delon/auth \u7684 SimpleInterceptor \u62e6\u622a\u5668\uff0c\u5bfc\u81f4\u5728\u8bf7\u6c42\u8fc7\u7a0b\u4e2d\u82e5\u53d1\u73b0\u65e0\u6cd5\u83b7\u53d6 Token \u65f6\u4f1a\u76f4\u63a5\u8fd4\u56de\u9519\u8bef\u3002

\u7528\u6237\u8ba4\u8bc1\u8fd9\u4e2a\u8fc7\u7a0b\u662f\u4e2d

',meta:{order:40,title:"\u548c\u670d\u52a1\u7aef\u8fdb\u884c\u4ea4\u4e92",type:"Dev"},toc:[{id:"\u524d\u7aef\u8bf7\u6c42\u6d41\u7a0b",title:"\u524d\u7aef\u8bf7\u6c42\u6d41\u7a0b",h:2,children:[{id:"\u62e6\u622a\u5668",title:"\u62e6\u622a\u5668",h:3}]},{id:"\u5f00\u53d1\u73af\u5883",title:"\u5f00\u53d1\u73af\u5883",h:2},{id:"Mock",title:"Mock",h:2},{id:"\u8de8\u57df",title:"\u8de8\u57df",h:2},{id:"\u5e38\u89c1\u95ee\u9898",title:"\u5e38\u89c1\u95ee\u9898",h:2}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-server"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"ssr",redirectTo:"ssr/zh",pathMatch:"full"},{path:"ssr/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/ssr.md"},content:{"zh-CN":{content:'

\u672c\u6587\u63cf\u8ff0\u7684\u662f NG-ALAIN \u5982\u4f55\u652f\u6301\u670d\u52a1\u7aef\u6e32\u67d3\uff08SSR\uff09\u3002

NG-ALAIN \u4e0d\u63a8\u8350\u5728\u4e2d\u540e\u53f0\u4f7f\u7528\u670d\u52a1\u7aef\u6e32\u67d3\uff08SSR\uff09\uff0c\u8fd9\u662f\u56e0\u4e3a\u4e2d\u540e\u53f0\u672c\u8eab\u5bf9\u4e8eSSR\u6240\u5e26\u6765\u7684\u597d\u5904\u8fdc\u5927\u4e8e\u5f00\u53d1\u5e26\u6765\u7684\u9ebb\u70e6\uff0c\u4f46\u4e0d\u7ba1\u600e\u4e48\u6837\u5728\u8bb8\u591a\u4eba\u7684\u8981\u6c42\u4e0b\uff0c\u4ece 9.5 \u7248\u672c\u5f00\u59cb\uff0c\u5df2\u7ecf\u5bf9\u6240\u6709 @delon/* \u7c7b\u5e93\u652f\u6301\u670d\u52a1\u7aef\u6e32\u67d3\u3002

\u5f00\u59cb\u4e4b\u524d

\u5728\u5f00\u59cb\u4e4b\u524d\u8bf7\u5148\u9605\u8bfb\u4ee5\u4e0b\u6587\u7ae0\uff0c\u5b83\u4eec\u80fd\u591f\u66f4\u52a0\u5feb\u901f\u8ba9\u4f60\u4e86\u89e3 Angular \u670d\u52a1\u7aef\u6e32\u67d3\u662f\u5982\u4f55\u5de5\u4f5c\u7684\uff1a

\u6559\u7a0b

\u6dfb\u52a0 @nguniversal/express-engine

\u5728\u4e00\u4e2a\u5b8c\u6574\u7684 NG-ALAIN \u9879\u76ee\u4e0b\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a

ng add @nguniversal/express-engine

\u6700\u540e\u8fd0\u884c\uff1a

npm run dev:ssr

\u6b64\u65f6\u4f1a\u4ee5 SSR \u7684\u5f62\u5f0f\u8fd0\u884c NG-ALAIN\u3002

\u4f46\u5982\u679c\u91c7\u7528\u9ed8\u8ba4 LocalStorageStore \u6765\u5b58\u50a8 Token \u7684\u60c5\u51b5\u4e0b\uff0c\u4f1a\u63d0\u793a\u627e\u4e0d\u5230 localStorage \u7684\u9519\u8bef\uff0c\u8fd9\u662f\u56e0\u4e3a\u670d\u52a1\u7aef\u5e76\u6ca1\u6709\u8fd9\u4e9b\uff0c\u5b83\u4eec\u53ef\u80fd\u8fd8\u5305\u542b window\u3001document\u3001sessionStorage \u7b49\u3002

\u56e0\u6b64\uff0c\u8981\u60f3\u5728\u4e2d\u540e\u53f0\u5f88\u597d\u7684\u652f\u6301 SSR\uff0c\u9700\u8981\u5206\u6790\u6240\u4f9d\u8d56\u7684\u7b2c\u4e09\u65b9\u7c7b\u5e93\u662f\u5426\u652f\u6301 SSR\uff0c\u5982\u679c\u6ca1\u6709\u5fc5\u987b\u624b\u52a8\u5904\u7406\u5728\u670d\u52a1\u7aef\u4e0b\u4e0d\u6e32\u67d3\u8fd9\u4e9b\u7ec4\u4ef6\u3002

\u4e22\u5931Token

\u670d\u52a1\u7aef\u662f\u65e0\u72b6\u6001\u7684\uff0c\u56e0\u6b64\u5224\u65ad\u8bf7\u6c42\u662f\u5426\u6709\u6548\u6388\u6743\uff0c\u76ee\u524d\u901a\u7528\u7684\u505a\u6cd5\u662f\u5c06 Token \u5b58\u50a8\u5728 Cookie \u4e0b\uff0c\u5728\u670d\u52a1\u7aef\u63a5\u6536\u8bf7\u6c42\u65f6\u518d\u6839\u636e Cookies \u6765\u83b7\u53d6 Token \u4fe1\u606f\u3002\x1c

\u867d\u7136 NG-ALAIN \u63d0\u4f9b CookieStorageStore \u4f46\u5b83\u5e76\u4e0d\u652f\u6301\u670d\u52a1\u7aef SSR \u8bbf\u95ee Cookie\uff0c\u56e0\u6b64\u9700\u8981\u624b\u52a8\u6784\u5efa\u9488\u5bf9 SSR \u7684 Token \u6301\u4e45\u5316\u5b58\u50a8\u3002

\u63a8\u8350\u4f7f\u7528 @ngx-utils/cookies \u6765\u5904\u7406 Cookies\uff0c\u5b83\u540c\u65f6\u652f\u6301\u5ba2\u6237\u7aef\u4e0e\u670d\u52a1\u7aef\u3002

\u6ce8\u610f\uff1a \u53d7\u9650\u4e8e #20 \u7684\u539f\u56e0\uff0c\u7531\u4e8e\u4e00\u76f4\u672a\u5904\u7406\uff0c\u6709\u4eba\u4e13\u95e8\u89e3\u51b3\u4e86\u8fd9\u4e2a\u95ee\u9898\u5e76\u53d1\u5e03\u4e00\u4e2a\u65b0\u7c7b\u5e93 ngx-utils-cookies-port\uff0c\u6682\u65f6\u53ea\u80fd\u4f7f\u7528\u5b83\u6765\u4ee3\u66ff @ngx-utils/cookies\uff0c\u7528\u6cd5\u4e00\u6a21\u4e00\u6837\u53ea\u662f\u6a21\u5757\u540d\u6362\u4e00\u4e0b\uff0c\u5728\u4fee\u590d\u4e4b\u540e\u518d\u6362\u56de\u6765\u3002

\u8981\u521b\u5efa\u4e00\u4e2a\u7b26\u5408 @delon/auth \u63a5\u53e3\u6301\u4e45\u5316\u5b58\u50a8\u7c7b\uff0c\u53ea\u9700\u8981\u7ee7\u627f IStore \u5373\u53ef\uff0c\u4f8b\u5982\uff1a

import { Injectable } from \'@angular/core\';\nimport { IStore, ITokenModel } from \'@delon/auth\';\nimport { CookiesService } from \'ngx-utils-cookies-port\';\n\n@Injectable()\nexport class AuthStorageStore implements IStore {\n  constructor(private cookies: CookiesService) {}\n\n  get(key: string): ITokenModel {\n    return JSON.parse(this.cookies.get(key) || \'{}\') || {};\n  }\n\n  set(key: string, value: ITokenModel | null): boolean {\n    this.cookies.put(key, JSON.stringify(value));\n    return true;\n  }\n\n  remove(key: string) {\n    this.cookies.remove(key);\n  }\n}

\u6700\u540e\uff0c\u5728 global-config.module.ts \u5185\u91cd\u65b0\u6ce8\u518c\u5b83\uff1a

 const alainProvides = [\n   { provide: ALAIN_CONFIG, useValue: alainConfig },\n+  { provide: DA_STORE_TOKEN, useClass: AuthStorageStore },\n ];

\u6ce8\u610f\uff1a\u8fd9\u91cc\u4f9d\u7136\u9700\u8981\u6ce8\u518c\u65b0\u589e\u7684\u6a21\u5757\uff0c\u65b9\u6cd5\u8bf7\u53c2\u8003 @ngx-utils/cookies \u8bf4\u660e\u3002

@ngx-utils/cookies \u5185\u90e8\u4f1a\u6839\u636e REQUEST \u6765\u83b7\u53d6\u5f53\u524d\u7684\u8bf7\u6c42\u5934\u4fe1\u606f\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u4fee\u6539 server.ts\uff1a

  // All regular routes use the Universal engine\n  server.get(\'*\', (req, res) => {\n    res.render(indexHtml, {\n      req,\n+     res,\n      providers: [\n        { provide: APP_BASE_HREF, useValue: req.baseUrl },\n+       { provide: \'REQUEST\', useValue: req },\n+       { provide: \'RESPONSE\', useValue: res },\n      ],\n    });\n  });',meta:{order:110,title:"\u670d\u52a1\u7aef\u6e32\u67d3\uff08SSR\uff09",type:"Dev"},toc:[{id:"\u5f00\u59cb\u4e4b\u524d",title:"\u5f00\u59cb\u4e4b\u524d",h:2},{id:"\u6559\u7a0b",title:"\u6559\u7a0b",h:2,children:[{id:"\u6dfb\u52a0@nguniversal/express-engine",title:"\u6dfb\u52a0 @nguniversal/express-engine",h:3},{id:"\u4e22\u5931Token",title:"\u4e22\u5931Token",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-ssr"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"style-guide",redirectTo:"style-guide/zh",pathMatch:"full"},{path:"style-guide/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/style-guide.en-US.md","zh-CN":"docs/style-guide.zh-CN.md"},content:{"en-US":{content:'

The project built by Angular CLI is already very good in terms of its directory structure. Official website also has an Angular Style Guide (Chinese version) Style guide. It is recommended to read it several times. In addition, NG-ALAIN also has a part of the coding style, the following instructions may be useful for reading the code.

Consistent code style

NG-ALAIN uses ESLint to guarantee code quality and Prettier to optimize the code style.

It is recommended to install several plugins for more friendly development in vscode:

Of course, NG-ALAIN has prepared a complete set of extension packs for everyone, just install NG-ALAIN Extension Pack.

Git - pre commit Hook

The ng lint command provided by Angular, can be very effective in helping us find bugs and readability earlier. Isn\'t it cool if we can guarantee that the lint of the file in staged is automatically done before each commit in the team development process?

NG-ALAIN is configured to do lint each time you commit to staged and you can\'t commit if you find an error.

By default, the *.ts, *.less commit process forces the formatting of the code. You can change the rules by modifying the husky node of package.json.

If hint: The\'.husky/pre-commit\' hook was ignored because it\'s not set as executable. is generated when executing git commit -m "commit", it may be due to permission issues. Try to execute in the project root directory:

chmod ug+x .husky/*\nchmod ug+x .git/hooks/*

Style guide

API documentation

Applications are always inevitable for the development of business components. We can not guarantee that you can remember these after a certain time. So, make sure to include the README.md document in each business component and describe the API, DEMO and other information.

For example:

## When do you use it?\n\nInstruction\n\n## DEMO\n\nInstruction\n\n## API\n\nParameter | Description | Type | Default\n----|------|-----|------\nsrc | The map\'s address  | `string` | -

Module registration

Please parameter module registration guidelines.

Auxiliary item

NG-ALAIN is configured with some options for the CLI to better code.

CLI

Vscode is the best choice for writing Angular. You can type: ng g c list in any directory of the project to generate the corresponding files for the component.

NG-ALAIN is configured by default without generating style files & unit tests. So you will see that only .ts, .html are generated. This is because NG-ALAIN provides a very rich style API, and custom styles are not just needed on most pages. At the same time, unit tests.

Of course, you can easily adjust the default configuration in angular.json.

VSCode snippets

VSCode is the best choice for writing Angular. Naturally NG-ALAIN also created the corresponding snippets extension: ng-zorro-vscode and ng-alain-vscode

',meta:{order:90,title:{"en-US":"Style Guide","zh-CN":"\u7f16\u7801\u89c4\u8303\u5efa\u8bae"},type:"Advance"},toc:[{id:"Consistentcodestyle",title:"Consistent code style",h:2},{id:"Git-precommitHook",title:"Git - pre commit Hook",h:2},{id:"Styleguide",title:"Style guide",h:2,children:[{id:"APIdocumentation",title:"API documentation",h:3},{id:"Moduleregistration",title:"Module registration",h:3}]},{id:"Auxiliaryitem",title:"Auxiliary item",h:2,children:[{id:"CLI",title:"CLI",h:3},{id:"VSCodesnippets",title:"VSCode snippets",h:3}]}]},"zh-CN":{content:'

Angular CLI \u6784\u5efa\u7684\u9879\u76ee\u5c31\u5176\u76ee\u5f55\u7ed3\u6784\u800c\u8a00\u5df2\u7ecf\u975e\u5e38\u68d2\u4e86\uff0c\u540c\u65f6\u5b98\u7f51\u4e5f\u6709\u4e00\u4efd Angular Style Guide\uff08\u4e2d\u6587\u7248\uff09\u98ce\u683c\u6307\u5357\uff0c\u5efa\u8bae\u597d\u597d\u9605\u8bfb\u51e0\u904d\u3002\u9664\u6b64\u4e4b\u5916\uff0cNG-ALAIN \u4e5f\u6709\u4e00\u90e8\u5206\u7f16\u7801\u98ce\u683c\uff0c\u5982\u4e0b\u8bf4\u660e\u53ef\u80fd\u5bf9\u4e8e\u4f60\u9605\u8bfb\u4ee3\u7801\u65f6\u6709\u7528\u3002

\u4e00\u81f4\u7684\u4ee3\u7801\u98ce\u683c

NG-ALAIN \u4f7f\u7528 ESLint \u6765\u4fdd\u8bc1\u4ee3\u7801\u8d28\u91cf \u4e0e Prettier \u6765\u4f18\u5316\u4ee3\u7801\u98ce\u683c\u3002

\u63a8\u8350\u5b89\u88c5\u51e0\u4e2a\u63d2\u4ef6\u5728 vscode \u4e2d\u66f4\u53cb\u597d\u7684\u5f00\u53d1\uff1a

\u5f53\u7136\uff0cNG-ALAIN \u4e3a\u5927\u5bb6\u51c6\u5907\u4e86\u4e00\u5957\u5b8c\u6574\u7684\u6269\u5c55\u5305\uff0c\u53ea\u9700\u8981\u5b89\u88c5 NG-ALAIN Extension Pack \u5373\u53ef\u3002

Git - pre commit \u52fe\u5b50

Angular \u63d0\u4f9b\u7684 ng lint \u547d\u4ee4\u53ef\u4ee5\u975e\u5e38\u6709\u6548\u7684\u5e2e\u52a9\u6211\u4eec\u66f4\u65e9\u53d1\u73b0bug\u3001\u66f4\u9ad8\u7684\u53ef\u8bfb\u6027\uff1b\u5982\u679c\u6211\u4eec\u80fd\u591f\u4fdd\u8bc1\u56e2\u961f\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u6bcf\u4e00\u6b21 commit \u524d\u90fd\u81ea\u52a8\u505a\u4e00\u6b21 staged \u4e2d\u6587\u4ef6\u7684 lint \u7684\u8bdd\uff0c\u90a3\u4e0d\u662f\u975e\u5e38\u9177\u5417\uff1f

NG-ALAIN \u914d\u7f6e\u4e86\u6bcf\u6b21\u5bf9 staged \u8fdb\u884c commit \u65f6\u4f1a\u9884\u5148\u505a lint\uff0c\u82e5\u53d1\u73b0\u9519\u8bef\u5219\u65e0\u6cd5\u63d0\u4ea4\u3002

\u9ed8\u8ba4\u5f00\u542f\u4e86 *.ts\u3001*.less \u7684\u63d0\u4ea4\u8fc7\u7a0b\u4e2d\u5f3a\u5236\u5bf9\u4ee3\u7801\u8fdb\u884c\u683c\u5f0f\u5316\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539 package.json \u7684 husky \u8282\u70b9\u6765\u6539\u53d8\u4e9b\u89c4\u5219\u3002

\u82e5\u5728\u6267\u884c git commit -m "commit" \u65f6\u82e5\u4ea7\u751f hint: The \'.husky/pre-commit\' hook was ignored because it\'s not set as executable. \u65f6\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u6743\u9650\u95ee\u9898\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u5728\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u6267\u884c\uff1a

chmod ug+x .husky/*\nchmod ug+x .git/hooks/*

\u98ce\u683c\u6307\u5357

API\u6587\u6863

\u5e94\u7528\u603b\u662f\u514d\u4e0d\u4e86\u4e1a\u52a1\u7ec4\u4ef6\u7684\u5f00\u53d1\uff0c\u6211\u4eec\u65e0\u6cd5\u4fdd\u8bc1\u82e5\u5e72\u65f6\u95f4\u4e4b\u540e\u4f60\u8fd8\u80fd\u8bb0\u5f97\u8fd9\u4e9b\uff0c\u56e0\u6b64\u52a1\u5fc5\u5728\u6bcf\u4e00\u4e2a\u4e1a\u52a1\u7ec4\u4ef6\u9644\u5e26 README.md \u6587\u6863\uff0c\u5e76\u63cf\u8ff0API\u3001DEMO\u7b49\u4fe1\u606f\uff0c\u4f8b\u5982\uff1a

## \u4f55\u65f6\u4f7f\u7528\uff1f\n\n\u7565\n\n## DEMO\n\n\u7565\n\n## API\n\n\u6210\u5458 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c\n----|------|-----|------\nsrc | \u56fe\u7247\u5730\u5740  | `string` | -

\u6a21\u5757\u6ce8\u518c

\u8bf7\u53c2\u6570\u6a21\u5757\u6ce8\u518c\u6307\u5bfc\u539f\u5219\u3002

\u8f85\u52a9\u9879

ng-alain \u914d\u7f6e\u4e86\u4e00\u4e9b\u9488\u5bf9 CLI \u9009\u9879\uff0c\u4ee5\u4fbf\u66f4\u597d\u8fdb\u884c\u7f16\u7801\u5de5\u4f5c\u3002

CLI

vscode \u662f\u7f16\u5199 Angular \u6700\u4f73\u7684\u9009\u62e9\uff0c\u4f60\u53ef\u4ee5\u5728\u9879\u76ee\u7684\u4efb\u4f55\u76ee\u5f55\u91cc\u8f93\u5165\uff1ang g c list \u751f\u6210\u7ec4\u4ef6\u7684\u76f8\u5e94\u7684\u6587\u4ef6\u3002

ng-alain \u9ed8\u8ba4\u914d\u7f6e\u4e86\u4e0d\u751f\u6210\u6837\u5f0f\u6587\u4ef6&\u5355\u5143\u6d4b\u8bd5\uff0c\u56e0\u6b64\uff0c\u4f60\u4f1a\u770b\u5230\u751f\u6210\u7684\u53ea\u6709 .ts\u3001.html\u3002\u8fd9\u662f\u56e0\u4e3a ng-alain \u63d0\u4f9b\u4e86\u975e\u5e38\u4e30\u5bcc\u7684\u6837\u5f0fAPI\uff0c\u5728\u5927\u591a\u6570\u9875\u9762\u4e2d\u81ea\u5b9a\u4e49\u6837\u5f0f\u5e76\u4e0d\u662f\u521a\u9700\u7684\uff1b\u540c\u65f6\uff0c\u5355\u5143\u6d4b\u8bd5\u4e5f\u662f\u5982\u6b64\u3002

\u5f53\u7136\uff0c\u4f60\u53ef\u4ee5\u5f88\u5bb9\u6613\u5728 angular.json \u4e2d\u8c03\u6574\u9ed8\u8ba4\u914d\u7f6e\u3002

vscode snippets

vscode \u662f\u7f16\u5199 Angular \u6700\u4f73\u7684\u9009\u62e9\uff0c\u81ea\u7136 NG-ALAIN \u4e5f\u5236\u4f5c\u4e86\u76f8\u5e94 snippets \u6269\u5c55\u63d2\u4ef6\uff1ang-zorro-vscode \u548c ng-alain-vscode

',meta:{order:90,title:{"en-US":"Style Guide","zh-CN":"\u7f16\u7801\u89c4\u8303\u5efa\u8bae"},type:"Advance"},toc:[{id:"\u4e00\u81f4\u7684\u4ee3\u7801\u98ce\u683c",title:"\u4e00\u81f4\u7684\u4ee3\u7801\u98ce\u683c",h:2,children:[{id:"Git-precommit\u52fe\u5b50",title:"Git - pre commit \u52fe\u5b50",h:3}]},{id:"\u98ce\u683c\u6307\u5357",title:"\u98ce\u683c\u6307\u5357",h:2,children:[{id:"API\u6587\u6863",title:"API\u6587\u6863",h:3},{id:"\u6a21\u5757\u6ce8\u518c",title:"\u6a21\u5757\u6ce8\u518c",h:3}]},{id:"\u8f85\u52a9\u9879",title:"\u8f85\u52a9\u9879",h:2,children:[{id:"CLI",title:"CLI",h:3},{id:"vscodesnippets",title:"vscode snippets",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-style-guide"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"theme",redirectTo:"theme/zh",pathMatch:"full"},{path:"theme/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"zh-CN":"docs/theme.md"},content:{"zh-CN":{content:'
',meta:{order:10,title:{"en-US":"Theme","zh-CN":"\u4e3b\u9898\u7cfb\u7edf"},type:"Advance",url:"/theme/getting-started"},toc:[]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-theme"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"upgrade-v16",redirectTo:"upgrade-v16/zh",pathMatch:"full"},{path:"upgrade-v16/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/upgrade-v16.en-US.md","zh-CN":"docs/upgrade-v16.zh-CN.md"},content:{"en-US":{content:'

This guide applies to the current version ng-alain >= 15;\nIf you encounter problems during the upgrade process, feel free to comment here.\nIf you find any errors in this guide, please point out\nOr you have encountered a new problem and solved it, welcome to comment here.

Before upgrade

  1. Make sure Node.js >= 16.10.0.

  2. Create a new branch, or use other methods to back up the current project.

  3. Delete the package-lock.json or yarn.lock file.

1.Upgrade dependencies

  • Upgrade Angular to 15.x version, Run ng update @angular/core@16 @angular/cli@16 @angular-eslint/schematics@16 ng-zorro-antd@16 ng-alain@16.

  • Run ng update @angular/cdk@16, if you have used @angular/cdk.

  • If any warning messages appear in the console, follow the prompts to modify the corresponding code.

NG-ALAIN scaffolding upgrade all change files, please refer to: #2394.

',meta:{order:1e3,type:"Basic",title:"Upgrade to version 16.0",hot:!0},toc:[{id:"Beforeupgrade",title:"Before upgrade",h:2,children:[{id:"1.Upgradedependencies",title:"1.Upgrade dependencies",h:3}]}]},"zh-CN":{content:'

\u672c\u6307\u5357\u9002\u7528\u4e8e\u5f53\u524d\u7248\u672c ng-alain >= 15 ;\n\u5982\u679c\u5728\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898\uff0c\u6b22\u8fce\u63d0\u51fa\u3002\u63d0\u95ee\u524d\u8bf7\u9605\u8bfb \u5982\u4f55\u5411\u5f00\u6e90\u793e\u533a\u63d0\u95ee\u9898\n\u5982\u679c\u53d1\u73b0\u672c\u6307\u5357\u5b58\u5728\u9057\u6f0f/\u9519\u8bef\uff0c\u8bf7\u6307\u51fa!\n\u6216\u8005\u4f60\u9047\u5230\u4e86\u65b0\u7684\u95ee\u9898\u5e76\u89e3\u51b3\u4e86\uff0c\u6b22\u8fce\u8865\u5145!

\u5f00\u59cb\u4e4b\u524d

  1. \u9996\u5148\u786e\u4fdd\u4f60 Node.js >= 16.10.0

  2. \u521b\u5efa\u65b0\u7684\u5206\u652f\uff0c\u6216\u8005\u4f7f\u7528\u5176\u4ed6\u65b9\u5f0f\u5907\u4efd\u5f53\u524d\u9879\u76ee

  3. \u5220\u9664\u9879\u76ee\u4e0b package-lock.json \u6216 yarn.lock \u6587\u4ef6

\u5347\u7ea7\u6b65\u9aa4

\u5347\u7ea7\u76f8\u5173\u4f9d\u8d56

  • \u5c06\u9879\u76ee\u5347\u7ea7\u5230 Angular 15 \u8fd0\u884c ng update @angular/core@16 @angular/cli@16 @angular-eslint/schematics@16 ng-zorro-antd@16 ng-alain@16\u3002

  • \u5982\u679c\u4f60\u6709\u5355\u72ec\u4f7f\u7528 @angular/cdk \u8bf7\u6267\u884c ng update @angular/cdk@16

  • \u5982\u679c\u63a7\u5236\u53f0\u51fa\u73b0\u8b66\u544a\u6d88\u606f\u8bf7\u6309\u63d0\u793a\u4fee\u6539\u5bf9\u5e94\u4ee3\u7801

NG-ALAIN\u811a\u624b\u67b6\u5347\u7ea7\u5168\u90e8\u53d8\u66f4\u6587\u4ef6\uff0c\u8bf7\u53c2\u8003\uff1a#2394\u3002

',meta:{order:1e3,type:"Basic",title:"\u5347\u7ea7\u5230 16.0 \u7248\u672c",hot:!0},toc:[{id:"\u5f00\u59cb\u4e4b\u524d",title:"\u5f00\u59cb\u4e4b\u524d",h:2},{id:"\u5347\u7ea7\u6b65\u9aa4",title:"\u5347\u7ea7\u6b65\u9aa4",h:2,children:[{id:"\u5347\u7ea7\u76f8\u5173\u4f9d\u8d56",title:"\u5347\u7ea7\u76f8\u5173\u4f9d\u8d56",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-upgrade-v16"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()},{path:"upgrade",redirectTo:"upgrade/zh",pathMatch:"full"},{path:"upgrade/:lang",component:(()=>{class e{constructor(){this.item={cols:1,urls:{"en-US":"docs/upgrade.en-US.md","zh-CN":"docs/upgrade.zh-CN.md"},content:{"en-US":{content:'

In Architecture we have described the overall composition of the NG-ALAIN scaffolding. We spent a lot of time developing some infrastructure and publishing these to the @delon/* series to Npm. , making the upgrade very easy.

Publishing rule

Similar to @angular/*, the version number of the @delon/* class library will be a version number (NPM version) at each iteration, regardless of whether a class library has been modified.

At the same time, please follow the following publishing rules and update version number:

  • @delon as the infrastructure library, which will be slightly higher in the update frequency, usually updated at least once a week.

  • With BREAKING CHANGES at least one minor version number

  • Update Log

How to upgrade?

Method 1: Command (Recommend)

Unless it\'s a major version update (Similar to upgrading from 12.0.0 to 13.0.0), you only need to run the following command:

ng update ng-alain

Method 2: Modify the version number

Modify package.json All class libraries starting with @delon/ are the latest version number:

"@delon/theme": "^12.0.0"

Replace ^12.0.0 with the latest version number.

Finally, reinstall the dependencies.

yarn

Please read Frequently Asked Questions

Method 3: Update all class libraries

Scaffolding in package.json most libraries use loose version numbers, for example:

^0.1.0 with the ^ symbol indicates that the latest minor version number is used, so 0.7.0 is also the range.

To use this update method, you need to follow these steps:

  • Remove the node_modules folder and the yarn.lock file

  • Execute yarn

Note: This method will install all class libraries in a newer version, but it may cause unnecessary troubles due to damaging changes of third-party t

',meta:{order:80,title:{"en-US":"Upgrade scaffold","zh-CN":"\u5347\u7ea7\u811a\u624b\u67b6"},type:"Dev"},toc:[{id:"Publishingrule",title:"Publishing rule",h:2},{id:"Howtoupgrade",title:"How to upgrade?",h:2,children:[{id:"Method1:CommandRecommend",title:"Method 1: Command (Recommend)",h:3},{id:"Method2:Modifytheversionnumber",title:"Method 2: Modify the version number",h:3},{id:"Method3:Updateallclasslibraries",title:"Method 3: Update all class libraries",h:3}]}]},"zh-CN":{content:'

\u5728 \u4f53\u7cfb\u7ed3\u6784 \u4e2d\u6211\u4eec\u5df2\u7ecf\u63cf\u8ff0\u4e86 NG-ALAIN \u811a\u624b\u67b6\u7684\u6574\u4f53\u6784\u6210\uff0c\u6211\u4eec\u82b1\u4e86\u5927\u91cf\u65f6\u95f4\u53bb\u5f00\u53d1\u4e00\u4e9b\u57fa\u7840\u5efa\u8bbe\uff0c\u5e76\u628a\u8fd9\u4e9b\u4ee5 @delon/* \u7cfb\u5217\u53d1\u5e03\u81f3 Npm \u5f53\u4e2d\uff0c\u4f7f\u5f97\u5347\u7ea7\u53d8\u5f97\u975e\u5e38\u8f7b\u677e\u3002

\u53d1\u5e03\u89c4\u5219

\u540c @angular/* \u7c7b\u4f3c\uff0c@delon/* \u7c7b\u5e93\u7684\u7248\u672c\u53f7\u5728\u6bcf\u4e00\u4e2a\u8fed\u4ee3\u65f6\uff0c\u4e0d\u7ba1\u67d0\u7c7b\u5e93\u662f\u5426\u6709\u4fee\u6539\uff0c\u90fd\u4f1a\u7edf\u4e00\u4e2a\u7248\u672c\u53f7 (NPM version) \u3002

\u540c\u65f6\u6309\u4ee5\u4e0b\u53d1\u5e03\u89c4\u5219\u53ca\u66f4\u65b0\u7248\u672c\u53f7\u8bf4\u660e\uff1a

  • @delon \u4f5c\u4e3a\u57fa\u7840\u5efa\u8bbe\u7c7b\u5e93\uff0c\u5728\u66f4\u65b0\u9891\u7387\u4e0a\u4f1a\u7565\u9ad8\uff0c\u4e00\u822c\u4e00\u5468\u81f3\u5c11\u66f4\u65b0\u4e00\u6b21

  • \u5e26\u6709 BREAKING CHANGES \u81f3\u5c11\u63d0\u5347\u4e00\u4e2a\u6b21\u7248\u672c\u53f7

  • \u66f4\u65b0\u65e5\u5fd7

\u5982\u4f55\u5347\u7ea7\uff1f

\u65b9\u5f0f\u4e00\uff1a\u547d\u4ee4\u884c\uff08\u63a8\u8350\uff09

\u9664\u975e\u662f\u5927\u7248\u672c\u66f4\u65b0\uff08\u5373\u7c7b\u4f3c\u4ece 12.0.0 \u5347\u81f3 13.0.0\uff09\uff0c\u5426\u5219\u53ea\u9700\u8981\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5373\u53ef\uff1a

ng update ng-alain

\u65b9\u5f0f\u4e8c\uff1a\u624b\u52a8\u4fee\u6539\u7248\u672c\u53f7

\u4fee\u6539 package.json \u6240\u6709 @delon/ \u5f00\u5934\u7684\u7c7b\u5e93\u7248\u672c\u53f7\u4e3a\u6700\u65b0\u7248\u672c\u53f7\uff1a

"@delon/theme": "^12.0.0"

\u5c06 ^12.0.0 \u66ff\u6362\u6210\u6700\u65b0\u7248\u672c\u53f7\u3002

\u6700\u540e\uff0c\u91cd\u65b0\u5b89\u88c5\u4f9d\u8d56\u5305\u3002

yarn

\u9047\u5230\u95ee\u9898\u8bf7\u9605\u8bfb \u5e38\u89c1\u95ee\u9898

\u65b9\u5f0f\u4e09\uff1a\u66f4\u65b0\u6240\u6709\u7c7b\u5e93

\u811a\u624b\u67b6\u5728 package.json \u91cc\u591a\u6570\u7c7b\u5e93\u90fd\u662f\u4f7f\u7528\u5bbd\u677e\u7684\u7248\u672c\u53f7\uff0c\u4f8b\u5982\uff1a

^0.1.0 \u5e26\u6709 ^ \u7b26\u53f7\u8868\u793a\u4f7f\u7528\u6700\u65b0\u6b21\u7248\u672c\u53f7\uff0c\u56e0\u6b64\uff0c0.7.0 \u4e5f\u662f\u8be5\u8303\u56f4\u4e4b\u5217\u3002

\u8981\u60f3\u91c7\u7528\u8fd9\u79cd\u66f4\u65b0\u65b9\u5f0f\u9700\u8981\u6309\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a

  • \u79fb\u9664 node_modules \u6587\u4ef6\u5939\u53ca yarn.lock \u6587\u4ef6

  • \u6267\u884c yarn

\u6ce8\u610f\uff1a \u8fd9\u79cd\u65b9\u5f0f\u4f1a\u5bf9\u6240\u6709\u7c7b\u5e93\u6309\u6bd4\u8f83\u65b0\u7684\u7248\u672c\u5b89\u88c5\uff0c\u4f46\u6709\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7531\u4e8e\u7b2c\u4e09\u65b9\u7c7b\u578b\u7684\u7834\u574f\u6027\u53d8\u66f4\u4f1a\u5bfc\u81f4\u4e00\u4e9b\u4e0d\u5fc5

',meta:{order:80,title:{"en-US":"Upgrade scaffold","zh-CN":"\u5347\u7ea7\u811a\u624b\u67b6"},type:"Dev"},toc:[{id:"\u53d1\u5e03\u89c4\u5219",title:"\u53d1\u5e03\u89c4\u5219",h:2},{id:"\u5982\u4f55\u5347\u7ea7\uff1f",title:"\u5982\u4f55\u5347\u7ea7\uff1f",h:2,children:[{id:"\u65b9\u5f0f\u4e00\uff1a\u547d\u4ee4\u884c\uff08\u63a8\u8350\uff09",title:"\u65b9\u5f0f\u4e00\uff1a\u547d\u4ee4\u884c\uff08\u63a8\u8350\uff09",h:3},{id:"\u65b9\u5f0f\u4e8c\uff1a\u624b\u52a8\u4fee\u6539\u7248\u672c\u53f7",title:"\u65b9\u5f0f\u4e8c\uff1a\u624b\u52a8\u4fee\u6539\u7248\u672c\u53f7",h:3},{id:"\u65b9\u5f0f\u4e09\uff1a\u66f4\u65b0\u6240\u6709\u7c7b\u5e93",title:"\u65b9\u5f0f\u4e09\uff1a\u66f4\u65b0\u6240\u6709\u7c7b\u5e93",h:3}]}]}},demo:!1},this.codes=[]}static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275cmp=a.Xpm({type:e,selectors:[["app-docs-upgrade"]],decls:1,vars:2,consts:[[3,"codes","item"]],template:function(t,o){1&t&&a._UZ(0,"app-docs",0),2&t&&a.Q6J("codes",o.codes)("item",o.item)},dependencies:[i.P],styles:["[_nghost-%COMP%]{display:block}"]})}return e})()}]}];let F=(()=>{class e{static#e=this.\u0275fac=function(t){return new(t||e)};static#t=this.\u0275mod=a.oAB({type:e});static#a=this.\u0275inj=a.cJS({imports:[G.m,R.Bz.forChild(D)]})}return e})()}}]); \ No newline at end of file diff --git a/404.html b/404.html index f5bbf8ade..5e30b4753 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -Ng Alain - 一个基于 Antd 中后台前端解决方案
loading...
\ No newline at end of file +Ng Alain - 一个基于 Antd 中后台前端解决方案
loading...
\ No newline at end of file diff --git a/index.html b/index.html index f5bbf8ade..5e30b4753 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Ng Alain - 一个基于 Antd 中后台前端解决方案
loading...
\ No newline at end of file +Ng Alain - 一个基于 Antd 中后台前端解决方案
loading...
\ No newline at end of file diff --git a/main.8087bcf55d4faa9e.js b/main.17624238cd20d61f.js similarity index 99% rename from main.8087bcf55d4faa9e.js rename to main.17624238cd20d61f.js index 31d7f46d2..e2940dc9f 100644 --- a/main.8087bcf55d4faa9e.js +++ b/main.17624238cd20d61f.js @@ -4,4 +4,4 @@ || ${k} === "boolean" || ${S} === null`).assign(R,i._`[${S}]`)}}P.else(),C(b),P.endIf(),P.if(i._`${R} !== undefined`,()=>{P.assign(S,R),function _({gen:b,parentData:D,parentDataProperty:y},P){b.if(i._`${D} !== undefined`,()=>b.assign(i._`${D}[${y}]`,P))}(b,R)})}(b,D,A):C(b)})}return k};const M=new Set(["string","number","integer","boolean","null"]);function d(b,D,y,P=h.Correct){const S=P===h.Correct?i.operators.EQ:i.operators.NEQ;let A;switch(b){case"null":return i._`${D} ${S} null`;case"array":A=i._`Array.isArray(${D})`;break;case"object":A=i._`${D} && typeof ${D} == "object" && !Array.isArray(${D})`;break;case"integer":A=k(i._`!(${D} % 1) && !isNaN(${D})`);break;case"number":A=k();break;default:return i._`typeof ${D} ${S} ${b}`}return P===h.Correct?A:(0,i.not)(A);function k(R=i.nil){return(0,i.and)(i._`typeof ${D} == "number"`,R,y?i._`isFinite(${D})`:i.nil)}}function m(b,D,y,P){if(1===b.length)return d(b[0],D,y,P);let S;const A=(0,l.toHash)(b);if(A.array&&A.object){const k=i._`typeof ${D} != "object"`;S=A.null?k:i._`!${D} || ${k}`,delete A.null,delete A.array,delete A.object}else S=i.nil;A.number&&delete A.integer;for(const k in A)S=(0,i.and)(S,d(k,D,y,P));return S}I.checkDataType=d,I.checkDataTypes=m;const f={message:({schema:b})=>`must be ${b}`,params:({schema:b,schemaValue:D})=>"string"==typeof b?i._`{type: ${b}}`:i._`{type: ${D}}`};function C(b){const D=function T(b){const{gen:D,data:y,schema:P}=b,S=(0,l.schemaRefOrVal)(b,P,"type");return{gen:D,keyword:"type",data:y,schema:P.type,schemaCode:S,schemaValue:S,parentSchema:P,params:{},it:b}}(b);(0,t.reportError)(D,f)}I.reportTypeError=C},62423:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.assignDefaults=void 0;const e=o(10117),n=o(78754);function i(l,h,E){const{gen:u,compositeRule:z,data:M,opts:p}=l;if(void 0===E)return;const v=e._`${M}${(0,e.getProperty)(h)}`;if(z)return void(0,n.checkStrictMode)(l,`default is ignored for: ${v}`);let _=e._`${v} === undefined`;"empty"===p.useDefaults&&(_=e._`${_} || ${v} === null || ${v} === ""`),u.if(_,e._`${v} = ${(0,e.stringify)(E)}`)}I.assignDefaults=function t(l,h){const{properties:E,items:u}=l.schema;if("object"===h&&E)for(const z in E)i(l,z,E[z].default);else"array"===h&&Array.isArray(u)&&u.forEach((z,M)=>i(l,M,z.default))}},62175:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.getData=I.KeywordCxt=I.validateFunctionCode=void 0;const e=o(19365),n=o(84730),t=o(59820),i=o(84730),l=o(62423),h=o(42641),E=o(66117),u=o(10117),z=o(25631),M=o(82690),p=o(78754),v=o(45618);function d({gen:_e,validateName:Q,schema:He,schemaEnv:Re,opts:lt},Pe){lt.code.es5?_e.func(Q,u._`${z.default.data}, ${z.default.valCxt}`,Re.$async,()=>{_e.code(u._`"use strict"; ${b(He,lt)}`),function f(_e,Q){_e.if(z.default.valCxt,()=>{_e.var(z.default.instancePath,u._`${z.default.valCxt}.${z.default.instancePath}`),_e.var(z.default.parentData,u._`${z.default.valCxt}.${z.default.parentData}`),_e.var(z.default.parentDataProperty,u._`${z.default.valCxt}.${z.default.parentDataProperty}`),_e.var(z.default.rootData,u._`${z.default.valCxt}.${z.default.rootData}`),Q.dynamicRef&&_e.var(z.default.dynamicAnchors,u._`${z.default.valCxt}.${z.default.dynamicAnchors}`)},()=>{_e.var(z.default.instancePath,u._`""`),_e.var(z.default.parentData,u._`undefined`),_e.var(z.default.parentDataProperty,u._`undefined`),_e.var(z.default.rootData,z.default.data),Q.dynamicRef&&_e.var(z.default.dynamicAnchors,u._`{}`)})}(_e,lt),_e.code(Pe)}):_e.func(Q,u._`${z.default.data}, ${function m(_e){return u._`{${z.default.instancePath}="", ${z.default.parentData}, ${z.default.parentDataProperty}, ${z.default.rootData}=${z.default.data}${_e.dynamicRef?u._`, ${z.default.dynamicAnchors}={}`:u.nil}}={}`}(lt)}`,Re.$async,()=>_e.code(b(He,lt)).code(Pe))}function b(_e,Q){const He="object"==typeof _e&&_e[Q.schemaId];return He&&(Q.code.source||Q.code.process)?u._`/*# sourceURL=${He} */`:u.nil}function y({schema:_e,self:Q}){if("boolean"==typeof _e)return!_e;for(const He in _e)if(Q.RULES.all[He])return!0;return!1}function P(_e){return"boolean"!=typeof _e.schema}function A(_e){(0,p.checkUnknownRules)(_e),function R(_e){const{schema:Q,errSchemaPath:He,opts:Re,self:lt}=_e;Q.$ref&&Re.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(Q,lt.RULES)&<.logger.warn(`$ref: keywords ignored in schema at path "${He}"`)}(_e)}function k(_e,Q){if(_e.opts.jtd)return K(_e,[],!1,Q);const He=(0,n.getSchemaTypes)(_e.schema);K(_e,He,!(0,n.coerceAndCheckDataType)(_e,He),Q)}function Y({gen:_e,schemaEnv:Q,schema:He,errSchemaPath:Re,opts:lt}){const Pe=He.$comment;if(!0===lt.$comment)_e.code(u._`${z.default.self}.logger.log(${Pe})`);else if("function"==typeof lt.$comment){const xt=u.str`${Re}/$comment`,$e=_e.scopeValue("root",{ref:Q.root});_e.code(u._`${z.default.self}.opts.$comment(${Pe}, ${xt}, ${$e}.schema)`)}}function K(_e,Q,He,Re){const{gen:lt,schema:Pe,data:xt,allErrors:$e,opts:ot,self:mt}=_e,{RULES:we}=mt;function de(U){(0,t.shouldUseGroup)(Pe,U)&&(U.type?(lt.if((0,i.checkDataType)(U.type,xt,ot.strictNumbers)),ee(_e,U),1===Q.length&&Q[0]===U.type&&He&&(lt.else(),(0,i.reportTypeError)(_e)),lt.endIf()):ee(_e,U),$e||lt.if(u._`${z.default.errors} === ${Re||0}`))}!Pe.$ref||!ot.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(Pe,we)?(ot.jtd||function te(_e,Q){_e.schemaEnv.meta||!_e.opts.strictTypes||(function pe(_e,Q){if(Q.length){if(!_e.dataTypes.length)return void(_e.dataTypes=Q);Q.forEach(He=>{ce(_e.dataTypes,He)||ne(_e,`type "${He}" not allowed by context "${_e.dataTypes.join(",")}"`)}),function X(_e,Q){const He=[];for(const Re of _e.dataTypes)ce(Q,Re)?He.push(Re):Q.includes("integer")&&"number"===Re&&He.push("integer");_e.dataTypes=He}(_e,Q)}}(_e,Q),_e.opts.allowUnionTypes||function re(_e,Q){Q.length>1&&(2!==Q.length||!Q.includes("null"))&&ne(_e,"use allowUnionTypes to allow union type keyword")}(_e,Q),function De(_e,Q){const He=_e.self.RULES.all;for(const Re in He){const lt=He[Re];if("object"==typeof lt&&(0,t.shouldUseRule)(_e.schema,lt)){const{type:Pe}=lt.definition;Pe.length&&!Pe.some(xt=>ae(Q,xt))&&ne(_e,`missing type "${Pe.join(",")}" for keyword "${Re}"`)}}}(_e,_e.dataTypes))}(_e,Q),lt.block(()=>{for(const U of we.rules)de(U);de(we.post)})):lt.block(()=>Se(_e,"$ref",we.all.$ref.definition))}function ee(_e,Q){const{gen:He,schema:Re,opts:{useDefaults:lt}}=_e;lt&&(0,l.assignDefaults)(_e,Q.type),He.block(()=>{for(const Pe of Q.rules)(0,t.shouldUseRule)(Re,Pe)&&Se(_e,Pe.keyword,Pe.definition,Q.type)})}function ae(_e,Q){return _e.includes(Q)||"number"===Q&&_e.includes("integer")}function ce(_e,Q){return _e.includes(Q)||"integer"===Q&&_e.includes("number")}function ne(_e,Q){(0,p.checkStrictMode)(_e,Q+=` at "${_e.schemaEnv.baseId+_e.errSchemaPath}" (strictTypes)`,_e.opts.strictTypes)}I.validateFunctionCode=function _(_e){P(_e)&&(A(_e),y(_e))?function C(_e){const{schema:Q,opts:He,gen:Re}=_e;d(_e,()=>{He.$comment&&Q.$comment&&Y(_e),function W(_e){const{schema:Q,opts:He}=_e;void 0!==Q.default&&He.useDefaults&&He.strictSchema&&(0,p.checkStrictMode)(_e,"default is ignored in the schema root")}(_e),Re.let(z.default.vErrors,null),Re.let(z.default.errors,0),He.unevaluated&&function T(_e){const{gen:Q,validateName:He}=_e;_e.evaluated=Q.const("evaluated",u._`${He}.evaluated`),Q.if(u._`${_e.evaluated}.dynamicProps`,()=>Q.assign(u._`${_e.evaluated}.props`,u._`undefined`)),Q.if(u._`${_e.evaluated}.dynamicItems`,()=>Q.assign(u._`${_e.evaluated}.items`,u._`undefined`))}(_e),k(_e),function G(_e){const{gen:Q,schemaEnv:He,validateName:Re,ValidationError:lt,opts:Pe}=_e;He.$async?Q.if(u._`${z.default.errors} === 0`,()=>Q.return(z.default.data),()=>Q.throw(u._`new ${lt}(${z.default.vErrors})`)):(Q.assign(u._`${Re}.errors`,z.default.vErrors),Pe.unevaluated&&function V({gen:_e,evaluated:Q,props:He,items:Re}){He instanceof u.Name&&_e.assign(u._`${Q}.props`,He),Re instanceof u.Name&&_e.assign(u._`${Q}.items`,Re)}(_e),Q.return(u._`${z.default.errors} === 0`))}(_e)})}(_e):d(_e,()=>(0,e.topBoolOrEmptySchema)(_e))};class le{constructor(Q,He,Re){if((0,h.validateKeywordUsage)(Q,He,Re),this.gen=Q.gen,this.allErrors=Q.allErrors,this.keyword=Re,this.data=Q.data,this.schema=Q.schema[Re],this.$data=He.$data&&Q.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,p.schemaRefOrVal)(Q,this.schema,Re,this.$data),this.schemaType=He.schemaType,this.parentSchema=Q.schema,this.params={},this.it=Q,this.def=He,this.$data)this.schemaCode=Q.gen.const("vSchema",oe(this.$data,Q));else if(this.schemaCode=this.schemaValue,!(0,h.validSchemaType)(this.schema,He.schemaType,He.allowUndefined))throw new Error(`${Re} value must be ${JSON.stringify(He.schemaType)}`);("code"in He?He.trackErrors:!1!==He.errors)&&(this.errsCount=Q.gen.const("_errs",z.default.errors))}result(Q,He,Re){this.failResult((0,u.not)(Q),He,Re)}failResult(Q,He,Re){this.gen.if(Q),Re?Re():this.error(),He?(this.gen.else(),He(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(Q,He){this.failResult((0,u.not)(Q),void 0,He)}fail(Q){if(void 0===Q)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(Q),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(Q){if(!this.$data)return this.fail(Q);const{schemaCode:He}=this;this.fail(u._`${He} !== undefined && (${(0,u.or)(this.invalid$data(),Q)})`)}error(Q,He,Re){if(He)return this.setParams(He),this._error(Q,Re),void this.setParams({});this._error(Q,Re)}_error(Q,He){(Q?v.reportExtraError:v.reportError)(this,this.def.error,He)}$dataError(){(0,v.reportError)(this,this.def.$dataError||v.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,v.resetErrorsCount)(this.gen,this.errsCount)}ok(Q){this.allErrors||this.gen.if(Q)}setParams(Q,He){He?Object.assign(this.params,Q):this.params=Q}block$data(Q,He,Re=u.nil){this.gen.block(()=>{this.check$data(Q,Re),He()})}check$data(Q=u.nil,He=u.nil){if(!this.$data)return;const{gen:Re,schemaCode:lt,schemaType:Pe,def:xt}=this;Re.if((0,u.or)(u._`${lt} === undefined`,He)),Q!==u.nil&&Re.assign(Q,!0),(Pe.length||xt.validateSchema)&&(Re.elseIf(this.invalid$data()),this.$dataError(),Q!==u.nil&&Re.assign(Q,!1)),Re.else()}invalid$data(){const{gen:Q,schemaCode:He,schemaType:Re,def:lt,it:Pe}=this;return(0,u.or)(function xt(){if(Re.length){if(!(He instanceof u.Name))throw new Error("ajv implementation error");const ot=Array.isArray(Re)?Re:[Re];return u._`${(0,i.checkDataTypes)(ot,He,Pe.opts.strictNumbers,i.DataType.Wrong)}`}return u.nil}(),function $e(){if(lt.validateSchema){const ot=Q.scopeValue("validate$data",{ref:lt.validateSchema});return u._`!${ot}(${He})`}return u.nil}())}subschema(Q,He){const Re=(0,E.getSubschema)(this.it,Q);(0,E.extendSubschemaData)(Re,this.it,Q),(0,E.extendSubschemaMode)(Re,Q);const lt={...this.it,...Re,items:void 0,props:void 0};return function D(_e,Q){P(_e)&&(A(_e),y(_e))?function S(_e,Q){const{schema:He,gen:Re,opts:lt}=_e;lt.$comment&&He.$comment&&Y(_e),function j(_e){const Q=_e.schema[_e.opts.schemaId];Q&&(_e.baseId=(0,M.resolveUrl)(_e.opts.uriResolver,_e.baseId,Q))}(_e),function ze(_e){if(_e.schema.$async&&!_e.schemaEnv.$async)throw new Error("async schema in sync schema")}(_e);const Pe=Re.const("_errs",z.default.errors);k(_e,Pe),Re.var(Q,u._`${Pe} === ${z.default.errors}`)}(_e,Q):(0,e.boolOrEmptySchema)(_e,Q)}(lt,He),lt}mergeEvaluated(Q,He){const{it:Re,gen:lt}=this;Re.opts.unevaluated&&(!0!==Re.props&&void 0!==Q.props&&(Re.props=p.mergeEvaluated.props(lt,Q.props,Re.props,He)),!0!==Re.items&&void 0!==Q.items&&(Re.items=p.mergeEvaluated.items(lt,Q.items,Re.items,He)))}mergeValidEvaluated(Q,He){const{it:Re,gen:lt}=this;if(Re.opts.unevaluated&&(!0!==Re.props||!0!==Re.items))return lt.if(He,()=>this.mergeEvaluated(Q,u.Name)),!0}}function Se(_e,Q,He,Re){const lt=new le(_e,He,Q);"code"in He?He.code(lt,Re):lt.$data&&He.validate?(0,h.funcKeywordCode)(lt,He):"macro"in He?(0,h.macroKeywordCode)(lt,He):(He.compile||He.validate)&&(0,h.funcKeywordCode)(lt,He)}I.KeywordCxt=le;const Ne=/^\/(?:[^~]|~0|~1)*$/,ke=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function oe(_e,{dataLevel:Q,dataNames:He,dataPathArr:Re}){let lt,Pe;if(""===_e)return z.default.rootData;if("/"===_e[0]){if(!Ne.test(_e))throw new Error(`Invalid JSON-pointer: ${_e}`);lt=_e,Pe=z.default.rootData}else{const mt=ke.exec(_e);if(!mt)throw new Error(`Invalid JSON-pointer: ${_e}`);const we=+mt[1];if(lt=mt[2],"#"===lt){if(we>=Q)throw new Error(ot("property/index",we));return Re[Q-we]}if(we>Q)throw new Error(ot("data",we));if(Pe=He[Q-we],!lt)return Pe}let xt=Pe;const $e=lt.split("/");for(const mt of $e)mt&&(Pe=u._`${Pe}${(0,u.getProperty)((0,p.unescapeJsonPointer)(mt))}`,xt=u._`${xt} && ${Pe}`);return xt;function ot(mt,we){return`Cannot access ${mt} ${we} levels up, current level is ${Q}`}}I.getData=oe},42641:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.validateKeywordUsage=I.validSchemaType=I.funcKeywordCode=I.macroKeywordCode=void 0;const e=o(10117),n=o(25631),t=o(89508),i=o(45618);function E(_){const{gen:d,data:m,it:f}=_;d.if(f.parentData,()=>d.assign(m,e._`${f.parentData}[${f.parentDataProperty}]`))}function M(_,d,m){if(void 0===m)throw new Error(`keyword "${d}" failed to compile`);return _.scopeValue("keyword","function"==typeof m?{ref:m}:{ref:m,code:(0,e.stringify)(m)})}I.macroKeywordCode=function l(_,d){const{gen:m,keyword:f,schema:C,parentSchema:T,it:b}=_,D=d.macro.call(b.self,C,T,b),y=M(m,f,D);!1!==b.opts.validateSchema&&b.self.validateSchema(D,!0);const P=m.name("valid");_.subschema({schema:D,schemaPath:e.nil,errSchemaPath:`${b.errSchemaPath}/${f}`,topSchemaRef:y,compositeRule:!0},P),_.pass(P,()=>_.error(!0))},I.funcKeywordCode=function h(_,d){var m;const{gen:f,keyword:C,schema:T,parentSchema:b,$data:D,it:y}=_;!function z({schemaEnv:_},d){if(d.async&&!_.$async)throw new Error("async keyword in sync schema")}(y,d);const P=!D&&d.compile?d.compile.call(y.self,T,b,y):d.validate,S=M(f,C,P),A=f.let("valid");function j(Y=(d.async?e._`await `:e.nil)){f.assign(A,e._`${Y}${(0,t.callValidateCode)(_,S,y.opts.passContext?n.default.this:n.default.self,!("compile"in d&&!D||!1===d.schema))}`,d.modifying)}function ze(Y){var G;f.if((0,e.not)(null!==(G=d.valid)&&void 0!==G?G:A),Y)}_.block$data(A,function k(){if(!1===d.errors)j(),d.modifying&&E(_),ze(()=>_.error());else{const Y=d.async?function R(){const Y=f.let("ruleErrs",null);return f.try(()=>j(e._`await `),G=>f.assign(A,!1).if(e._`${G} instanceof ${y.ValidationError}`,()=>f.assign(Y,e._`${G}.errors`),()=>f.throw(G))),Y}():function W(){const Y=e._`${S}.errors`;return f.assign(Y,null),j(e.nil),Y}();d.modifying&&E(_),ze(()=>function u(_,d){const{gen:m}=_;m.if(e._`Array.isArray(${d})`,()=>{m.assign(n.default.vErrors,e._`${n.default.vErrors} === null ? ${d} : ${n.default.vErrors}.concat(${d})`).assign(n.default.errors,e._`${n.default.vErrors}.length`),(0,i.extendErrors)(_)},()=>_.error())}(_,Y))}}),_.ok(null!==(m=d.valid)&&void 0!==m?m:A)},I.validSchemaType=function p(_,d,m=!1){return!d.length||d.some(f=>"array"===f?Array.isArray(_):"object"===f?_&&"object"==typeof _&&!Array.isArray(_):typeof _==f||m&&typeof _>"u")},I.validateKeywordUsage=function v({schema:_,opts:d,self:m,errSchemaPath:f},C,T){if(Array.isArray(C.keyword)?!C.keyword.includes(T):C.keyword!==T)throw new Error("ajv implementation error");const b=C.dependencies;if(b?.some(D=>!Object.prototype.hasOwnProperty.call(_,D)))throw new Error(`parent schema must have dependencies of ${T}: ${b.join(",")}`);if(C.validateSchema&&!C.validateSchema(_[T])){const y=`keyword "${T}" value is invalid at path "${f}": `+m.errorsText(C.validateSchema.errors);if("log"!==d.validateSchema)throw new Error(y);m.logger.error(y)}}},66117:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.extendSubschemaMode=I.extendSubschemaData=I.getSubschema=void 0;const e=o(10117),n=o(78754);I.getSubschema=function t(h,{keyword:E,schemaProp:u,schema:z,schemaPath:M,errSchemaPath:p,topSchemaRef:v}){if(void 0!==E&&void 0!==z)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==E){const _=h.schema[E];return void 0===u?{schema:_,schemaPath:e._`${h.schemaPath}${(0,e.getProperty)(E)}`,errSchemaPath:`${h.errSchemaPath}/${E}`}:{schema:_[u],schemaPath:e._`${h.schemaPath}${(0,e.getProperty)(E)}${(0,e.getProperty)(u)}`,errSchemaPath:`${h.errSchemaPath}/${E}/${(0,n.escapeFragment)(u)}`}}if(void 0!==z){if(void 0===M||void 0===p||void 0===v)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:z,schemaPath:M,topSchemaRef:v,errSchemaPath:p}}throw new Error('either "keyword" or "schema" must be passed')},I.extendSubschemaData=function i(h,E,{dataProp:u,dataPropType:z,data:M,dataTypes:p,propertyName:v}){if(void 0!==M&&void 0!==u)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:_}=E;if(void 0!==u){const{errorPath:m,dataPathArr:f,opts:C}=E;d(_.let("data",e._`${E.data}${(0,e.getProperty)(u)}`,!0)),h.errorPath=e.str`${m}${(0,n.getErrorPath)(u,z,C.jsPropertySyntax)}`,h.parentDataProperty=e._`${u}`,h.dataPathArr=[...f,h.parentDataProperty]}function d(m){h.data=m,h.dataLevel=E.dataLevel+1,h.dataTypes=[],E.definedProperties=new Set,h.parentData=E.data,h.dataNames=[...E.dataNames,m]}void 0!==M&&(d(M instanceof e.Name?M:_.let("data",M,!0)),void 0!==v&&(h.propertyName=v)),p&&(h.dataTypes=p)},I.extendSubschemaMode=function l(h,{jtdDiscriminator:E,jtdMetadata:u,compositeRule:z,createErrors:M,allErrors:p}){void 0!==z&&(h.compositeRule=z),void 0!==M&&(h.createErrors=M),void 0!==p&&(h.allErrors=p),h.jtdDiscriminator=E,h.jtdMetadata=u}},28385:(tt,I,o)=>{"use strict";var e=o(59344).default;Object.defineProperty(I,"__esModule",{value:!0}),I.CodeGen=I.Name=I.nil=I.stringify=I.str=I._=I.KeywordCxt=void 0;var n=o(62175);Object.defineProperty(I,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var t=o(10117);Object.defineProperty(I,"_",{enumerable:!0,get:function(){return t._}}),Object.defineProperty(I,"str",{enumerable:!0,get:function(){return t.str}}),Object.defineProperty(I,"stringify",{enumerable:!0,get:function(){return t.stringify}}),Object.defineProperty(I,"nil",{enumerable:!0,get:function(){return t.nil}}),Object.defineProperty(I,"Name",{enumerable:!0,get:function(){return t.Name}}),Object.defineProperty(I,"CodeGen",{enumerable:!0,get:function(){return t.CodeGen}});const i=o(80110),l=o(95695),h=o(70491),E=o(24317),u=o(10117),z=o(82690),M=o(84730),p=o(78754),v=o(64775),_=o(75573),d=(re,De)=>new RegExp(re,De);d.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],f=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),C={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},T={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function D(re){var De,ae,ce,X,ne,le,Se,Ne,ke,oe,_e,Q,He,Re,lt,Pe,xt,$e,ot,mt,we,de,U,B,Me;const Ae=re.strict,Le=null===(De=re.code)||void 0===De?void 0:De.optimize,ht=!0===Le||void 0===Le?1:Le||0,Ot=null!==(ce=null===(ae=re.code)||void 0===ae?void 0:ae.regExp)&&void 0!==ce?ce:d,Lt=null!==(X=re.uriResolver)&&void 0!==X?X:_.default;return{strictSchema:null===(le=null!==(ne=re.strictSchema)&&void 0!==ne?ne:Ae)||void 0===le||le,strictNumbers:null===(Ne=null!==(Se=re.strictNumbers)&&void 0!==Se?Se:Ae)||void 0===Ne||Ne,strictTypes:null!==(oe=null!==(ke=re.strictTypes)&&void 0!==ke?ke:Ae)&&void 0!==oe?oe:"log",strictTuples:null!==(Q=null!==(_e=re.strictTuples)&&void 0!==_e?_e:Ae)&&void 0!==Q?Q:"log",strictRequired:null!==(Re=null!==(He=re.strictRequired)&&void 0!==He?He:Ae)&&void 0!==Re&&Re,code:re.code?{...re.code,optimize:ht,regExp:Ot}:{optimize:ht,regExp:Ot},loopRequired:null!==(lt=re.loopRequired)&&void 0!==lt?lt:200,loopEnum:null!==(Pe=re.loopEnum)&&void 0!==Pe?Pe:200,meta:null===(xt=re.meta)||void 0===xt||xt,messages:null===($e=re.messages)||void 0===$e||$e,inlineRefs:null===(ot=re.inlineRefs)||void 0===ot||ot,schemaId:null!==(mt=re.schemaId)&&void 0!==mt?mt:"$id",addUsedSchema:null===(we=re.addUsedSchema)||void 0===we||we,validateSchema:null===(de=re.validateSchema)||void 0===de||de,validateFormats:null===(U=re.validateFormats)||void 0===U||U,unicodeRegExp:null===(B=re.unicodeRegExp)||void 0===B||B,int32range:null===(Me=re.int32range)||void 0===Me||Me,uriResolver:Lt}}class y{constructor(De={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,De=this.opts={...De,...D(De)};const{es5:ae,lines:ce}=this.opts.code;this.scope=new u.ValueScope({scope:{},prefixes:f,es5:ae,lines:ce}),this.logger=function ze(re){if(!1===re)return j;if(void 0===re)return console;if(re.log&&re.warn&&re.error)return re;throw new Error("logger must implement log, warn and error methods")}(De.logger);const X=De.validateFormats;De.validateFormats=!1,this.RULES=(0,h.getRules)(),P.call(this,C,De,"NOT SUPPORTED"),P.call(this,T,De,"DEPRECATED","warn"),this._metaOpts=W.call(this),De.formats&&k.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),De.keywords&&R.call(this,De.keywords),"object"==typeof De.meta&&this.addMetaSchema(De.meta),A.call(this),De.validateFormats=X}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:De,meta:ae,schemaId:ce}=this.opts;let X=v;"id"===ce&&(X={...v},X.id=X.$id,delete X.$id),ae&&De&&this.addMetaSchema(X,X[ce],!1)}defaultMeta(){const{meta:De,schemaId:ae}=this.opts;return this.opts.defaultMeta="object"==typeof De?De[ae]||De:void 0}validate(De,ae){let ce;if("string"==typeof De){if(ce=this.getSchema(De),!ce)throw new Error(`no schema with key or ref "${De}"`)}else ce=this.compile(De);const X=ce(ae);return"$async"in ce||(this.errors=ce.errors),X}compile(De,ae){const ce=this._addSchema(De,ae);return ce.validate||this._compileSchemaEnv(ce)}compileAsync(De,ae){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:ce}=this.opts;return X.call(this,De,ae);function X(lt,Pe){return ne.apply(this,arguments)}function ne(){return(ne=e(function*(lt,Pe){yield le.call(this,lt.$schema);const xt=this._addSchema(lt,Pe);return xt.validate||Ne.call(this,xt)})).apply(this,arguments)}function le(lt){return Se.apply(this,arguments)}function Se(){return(Se=e(function*(lt){lt&&!this.getSchema(lt)&&(yield X.call(this,{$ref:lt},!0))})).apply(this,arguments)}function Ne(lt){return ke.apply(this,arguments)}function ke(){return(ke=e(function*(lt){try{return this._compileSchemaEnv(lt)}catch(Pe){if(!(Pe instanceof l.default))throw Pe;return oe.call(this,Pe),yield _e.call(this,Pe.missingSchema),Ne.call(this,lt)}})).apply(this,arguments)}function oe({missingSchema:lt,missingRef:Pe}){if(this.refs[lt])throw new Error(`AnySchema ${lt} is loaded but ${Pe} cannot be resolved`)}function _e(lt){return Q.apply(this,arguments)}function Q(){return(Q=e(function*(lt){const Pe=yield He.call(this,lt);this.refs[lt]||(yield le.call(this,Pe.$schema)),this.refs[lt]||this.addSchema(Pe,lt,ae)})).apply(this,arguments)}function He(lt){return Re.apply(this,arguments)}function Re(){return(Re=e(function*(lt){const Pe=this._loading[lt];if(Pe)return Pe;try{return yield this._loading[lt]=ce(lt)}finally{delete this._loading[lt]}})).apply(this,arguments)}}addSchema(De,ae,ce,X=this.opts.validateSchema){if(Array.isArray(De)){for(const le of De)this.addSchema(le,void 0,ce,X);return this}let ne;if("object"==typeof De){const{schemaId:le}=this.opts;if(ne=De[le],void 0!==ne&&"string"!=typeof ne)throw new Error(`schema ${le} must be string`)}return ae=(0,z.normalizeId)(ae||ne),this._checkUnique(ae),this.schemas[ae]=this._addSchema(De,ce,ae,X,!0),this}addMetaSchema(De,ae,ce=this.opts.validateSchema){return this.addSchema(De,ae,!0,ce),this}validateSchema(De,ae){if("boolean"==typeof De)return!0;let ce;if(ce=De.$schema,void 0!==ce&&"string"!=typeof ce)throw new Error("$schema must be a string");if(ce=ce||this.opts.defaultMeta||this.defaultMeta(),!ce)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const X=this.validate(ce,De);if(!X&&ae){const ne="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(ne);this.logger.error(ne)}return X}getSchema(De){let ae;for(;"string"==typeof(ae=S.call(this,De));)De=ae;if(void 0===ae){const{schemaId:ce}=this.opts,X=new E.SchemaEnv({schema:{},schemaId:ce});if(ae=E.resolveSchema.call(this,X,De),!ae)return;this.refs[De]=ae}return ae.validate||this._compileSchemaEnv(ae)}removeSchema(De){if(De instanceof RegExp)return this._removeAllSchemas(this.schemas,De),this._removeAllSchemas(this.refs,De),this;switch(typeof De){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const ae=S.call(this,De);return"object"==typeof ae&&this._cache.delete(ae.schema),delete this.schemas[De],delete this.refs[De],this}case"object":{this._cache.delete(De);let ce=De[this.opts.schemaId];return ce&&(ce=(0,z.normalizeId)(ce),delete this.schemas[ce],delete this.refs[ce]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(De){for(const ae of De)this.addKeyword(ae);return this}addKeyword(De,ae){let ce;if("string"==typeof De)ce=De,"object"==typeof ae&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),ae.keyword=ce);else{if("object"!=typeof De||void 0!==ae)throw new Error("invalid addKeywords parameters");if(ce=(ae=De).keyword,Array.isArray(ce)&&!ce.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(G.call(this,ce,ae),!ae)return(0,p.eachItem)(ce,ne=>V.call(this,ne)),this;ee.call(this,ae);const X={...ae,type:(0,M.getJSONTypes)(ae.type),schemaType:(0,M.getJSONTypes)(ae.schemaType)};return(0,p.eachItem)(ce,0===X.type.length?ne=>V.call(this,ne,X):ne=>X.type.forEach(le=>V.call(this,ne,X,le))),this}getKeyword(De){const ae=this.RULES.all[De];return"object"==typeof ae?ae.definition:!!ae}removeKeyword(De){const{RULES:ae}=this;delete ae.keywords[De],delete ae.all[De];for(const ce of ae.rules){const X=ce.rules.findIndex(ne=>ne.keyword===De);X>=0&&ce.rules.splice(X,1)}return this}addFormat(De,ae){return"string"==typeof ae&&(ae=new RegExp(ae)),this.formats[De]=ae,this}errorsText(De=this.errors,{separator:ae=", ",dataVar:ce="data"}={}){return De&&0!==De.length?De.map(X=>`${ce}${X.instancePath} ${X.message}`).reduce((X,ne)=>X+ae+ne):"No errors"}$dataMetaSchema(De,ae){const ce=this.RULES.all;De=JSON.parse(JSON.stringify(De));for(const X of ae){const ne=X.split("/").slice(1);let le=De;for(const Se of ne)le=le[Se];for(const Se in ce){const Ne=ce[Se];if("object"!=typeof Ne)continue;const{$data:ke}=Ne.definition,oe=le[Se];ke&&oe&&(le[Se]=pe(oe))}}return De}_removeAllSchemas(De,ae){for(const ce in De){const X=De[ce];(!ae||ae.test(ce))&&("string"==typeof X?delete De[ce]:X&&!X.meta&&(this._cache.delete(X.schema),delete De[ce]))}}_addSchema(De,ae,ce,X=this.opts.validateSchema,ne=this.opts.addUsedSchema){let le;const{schemaId:Se}=this.opts;if("object"==typeof De)le=De[Se];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof De)throw new Error("schema must be object or boolean")}let Ne=this._cache.get(De);if(void 0!==Ne)return Ne;ce=(0,z.normalizeId)(le||ce);const ke=z.getSchemaRefs.call(this,De,ce);return Ne=new E.SchemaEnv({schema:De,schemaId:Se,meta:ae,baseId:ce,localRefs:ke}),this._cache.set(Ne.schema,Ne),ne&&!ce.startsWith("#")&&(ce&&this._checkUnique(ce),this.refs[ce]=Ne),X&&this.validateSchema(De,!0),Ne}_checkUnique(De){if(this.schemas[De]||this.refs[De])throw new Error(`schema with key or id "${De}" already exists`)}_compileSchemaEnv(De){if(De.meta?this._compileMetaSchema(De):E.compileSchema.call(this,De),!De.validate)throw new Error("ajv implementation error");return De.validate}_compileMetaSchema(De){const ae=this.opts;this.opts=this._metaOpts;try{E.compileSchema.call(this,De)}finally{this.opts=ae}}}function P(re,De,ae,ce="error"){for(const X in re)X in De&&this.logger[ce](`${ae}: option ${X}. ${re[X]}`)}function S(re){return re=(0,z.normalizeId)(re),this.schemas[re]||this.refs[re]}function A(){const re=this.opts.schemas;if(re)if(Array.isArray(re))this.addSchema(re);else for(const De in re)this.addSchema(re[De],De)}function k(){for(const re in this.opts.formats){const De=this.opts.formats[re];De&&this.addFormat(re,De)}}function R(re){if(Array.isArray(re))this.addVocabulary(re);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const De in re){const ae=re[De];ae.keyword||(ae.keyword=De),this.addKeyword(ae)}}}function W(){const re={...this.opts};for(const De of m)delete re[De];return re}I.default=y,y.ValidationError=i.default,y.MissingRefError=l.default;const j={log(){},warn(){},error(){}},Y=/^[a-z_$][a-z0-9_$:-]*$/i;function G(re,De){const{RULES:ae}=this;if((0,p.eachItem)(re,ce=>{if(ae.keywords[ce])throw new Error(`Keyword ${ce} is already defined`);if(!Y.test(ce))throw new Error(`Keyword ${ce} has invalid name`)}),De&&De.$data&&!("code"in De)&&!("validate"in De))throw new Error('$data keyword must have "code" or "validate" function')}function V(re,De,ae){var ce;const X=De?.post;if(ae&&X)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:ne}=this;let le=X?ne.post:ne.rules.find(({type:Ne})=>Ne===ae);if(le||(le={type:ae,rules:[]},ne.rules.push(le)),ne.keywords[re]=!0,!De)return;const Se={keyword:re,definition:{...De,type:(0,M.getJSONTypes)(De.type),schemaType:(0,M.getJSONTypes)(De.schemaType)}};De.before?K.call(this,le,Se,De.before):le.rules.push(Se),ne.all[re]=Se,null===(ce=De.implements)||void 0===ce||ce.forEach(Ne=>this.addKeyword(Ne))}function K(re,De,ae){const ce=re.rules.findIndex(X=>X.keyword===ae);ce>=0?re.rules.splice(ce,0,De):(re.rules.push(De),this.logger.warn(`rule ${ae} is not defined`))}function ee(re){let{metaSchema:De}=re;void 0!==De&&(re.$data&&this.opts.$data&&(De=pe(De)),re.validateSchema=this.compile(De,!0))}const te={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function pe(re){return{anyOf:[re,te]}}},74747:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(19818);e.code='require("ajv/dist/runtime/equal").default',I.default=e},81197:(tt,I)=>{"use strict";function o(e){const n=e.length;let l,t=0,i=0;for(;i=55296&&l<=56319&&i{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(96064);e.code='require("ajv/dist/runtime/uri").default',I.default=e},80110:(tt,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});class o extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}}I.default=o},92952:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.validateAdditionalItems=void 0;const e=o(10117),n=o(78754),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:h}})=>e.str`must NOT have more than ${h} items`,params:({params:{len:h}})=>e._`{limit: ${h}}`},code(h){const{parentSchema:E,it:u}=h,{items:z}=E;Array.isArray(z)?l(h,z):(0,n.checkStrictMode)(u,'"additionalItems" is ignored when "items" is not an array of schemas')}};function l(h,E){const{gen:u,schema:z,data:M,keyword:p,it:v}=h;v.items=!0;const _=u.const("len",e._`${M}.length`);if(!1===z)h.setParams({len:E.length}),h.pass(e._`${_} <= ${E.length}`);else if("object"==typeof z&&!(0,n.alwaysValidSchema)(v,z)){const m=u.var("valid",e._`${_} <= ${E.length}`);u.if((0,e.not)(m),()=>function d(m){u.forRange("i",E.length,_,f=>{h.subschema({keyword:p,dataProp:f,dataPropType:n.Type.Num},m),v.allErrors||u.if((0,e.not)(m),()=>u.break())})}(m)),h.ok(m)}}I.validateAdditionalItems=l,I.default=i},50746:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(89508),n=o(10117),t=o(25631),i=o(78754);I.default={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:E})=>n._`{additionalProperty: ${E.additionalProperty}}`},code(E){const{gen:u,schema:z,parentSchema:M,data:p,errsCount:v,it:_}=E;if(!v)throw new Error("ajv implementation error");const{allErrors:d,opts:m}=_;if(_.props=!0,"all"!==m.removeAdditional&&(0,i.alwaysValidSchema)(_,z))return;const f=(0,e.allSchemaProperties)(M.properties),C=(0,e.allSchemaProperties)(M.patternProperties);function D(S){u.code(n._`delete ${p}[${S}]`)}function y(S){if("all"===m.removeAdditional||m.removeAdditional&&!1===z)D(S);else{if(!1===z)return E.setParams({additionalProperty:S}),E.error(),void(d||u.break());if("object"==typeof z&&!(0,i.alwaysValidSchema)(_,z)){const A=u.name("valid");"failing"===m.removeAdditional?(P(S,A,!1),u.if((0,n.not)(A),()=>{E.reset(),D(S)})):(P(S,A),d||u.if((0,n.not)(A),()=>u.break()))}}}function P(S,A,k){const R={keyword:"additionalProperties",dataProp:S,dataPropType:i.Type.Str};!1===k&&Object.assign(R,{compositeRule:!0,createErrors:!1,allErrors:!1}),E.subschema(R,A)}(function T(){u.forIn("key",p,S=>{f.length||C.length?u.if(function b(S){let A;if(f.length>8){const k=(0,i.schemaRefOrVal)(_,M.properties,"properties");A=(0,e.isOwnProperty)(u,k,S)}else A=f.length?(0,n.or)(...f.map(k=>n._`${S} === ${k}`)):n.nil;return C.length&&(A=(0,n.or)(A,...C.map(k=>n._`${(0,e.usePattern)(E,k)}.test(${S})`))),(0,n.not)(A)}(S),()=>y(S)):y(S)})})(),E.ok(n._`${v} === ${t.default.errors}`)}}},19466:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(78754);I.default={keyword:"allOf",schemaType:"array",code(t){const{gen:i,schema:l,it:h}=t;if(!Array.isArray(l))throw new Error("ajv implementation error");const E=i.name("valid");l.forEach((u,z)=>{if((0,e.alwaysValidSchema)(h,u))return;const M=t.subschema({keyword:"allOf",schemaProp:z},E);t.ok(E),t.mergeEvaluated(M)})}}},24651:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:o(89508).validateUnion,error:{message:"must match a schema in anyOf"}};I.default=n},51006:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754);I.default={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:l,max:h}})=>void 0===h?e.str`must contain at least ${l} valid item(s)`:e.str`must contain at least ${l} and no more than ${h} valid item(s)`,params:({params:{min:l,max:h}})=>void 0===h?e._`{minContains: ${l}}`:e._`{minContains: ${l}, maxContains: ${h}}`},code(l){const{gen:h,schema:E,parentSchema:u,data:z,it:M}=l;let p,v;const{minContains:_,maxContains:d}=u;M.opts.next?(p=void 0===_?1:_,v=d):p=1;const m=h.const("len",e._`${z}.length`);if(l.setParams({min:p,max:v}),void 0===v&&0===p)return void(0,n.checkStrictMode)(M,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==v&&p>v)return(0,n.checkStrictMode)(M,'"minContains" > "maxContains" is always invalid'),void l.fail();if((0,n.alwaysValidSchema)(M,E)){let D=e._`${m} >= ${p}`;return void 0!==v&&(D=e._`${D} && ${m} <= ${v}`),void l.pass(D)}M.items=!0;const f=h.name("valid");function C(){const D=h.name("_valid"),y=h.let("count",0);T(D,()=>h.if(D,()=>function b(D){h.code(e._`${D}++`),void 0===v?h.if(e._`${D} >= ${p}`,()=>h.assign(f,!0).break()):(h.if(e._`${D} > ${v}`,()=>h.assign(f,!1).break()),1===p?h.assign(f,!0):h.if(e._`${D} >= ${p}`,()=>h.assign(f,!0)))}(y)))}function T(D,y){h.forRange("i",0,m,P=>{l.subschema({keyword:"contains",dataProp:P,dataPropType:n.Type.Num,compositeRule:!0},D),y()})}void 0===v&&1===p?T(f,()=>h.if(f,()=>h.break())):0===p?(h.let(f,!0),void 0!==v&&h.if(e._`${z}.length > 0`,C)):(h.let(f,!1),C()),l.result(f,()=>l.reset())}}},91804:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.validateSchemaDeps=I.validatePropertyDeps=I.error=void 0;const e=o(10117),n=o(78754),t=o(89508);I.error={message:({params:{property:u,depsCount:z,deps:M}})=>e.str`must have ${1===z?"property":"properties"} ${M} when property ${u} is present`,params:({params:{property:u,depsCount:z,deps:M,missingProperty:p}})=>e._`{property: ${u}, missingProperty: ${p}, depsCount: ${z}, - deps: ${M}}`};const i={keyword:"dependencies",type:"object",schemaType:"object",error:I.error,code(u){const[z,M]=function l({schema:u}){const z={},M={};for(const p in u)"__proto__"!==p&&((Array.isArray(u[p])?z:M)[p]=u[p]);return[z,M]}(u);h(u,z),E(u,M)}};function h(u,z=u.schema){const{gen:M,data:p,it:v}=u;if(0===Object.keys(z).length)return;const _=M.let("missing");for(const d in z){const m=z[d];if(0===m.length)continue;const f=(0,t.propertyInData)(M,p,d,v.opts.ownProperties);u.setParams({property:d,depsCount:m.length,deps:m.join(", ")}),v.allErrors?M.if(f,()=>{for(const C of m)(0,t.checkReportMissingProp)(u,C)}):(M.if(e._`${f} && (${(0,t.checkMissingProp)(u,m,_)})`),(0,t.reportMissingProp)(u,_),M.else())}}function E(u,z=u.schema){const{gen:M,data:p,keyword:v,it:_}=u,d=M.name("valid");for(const m in z)(0,n.alwaysValidSchema)(_,z[m])||(M.if((0,t.propertyInData)(M,p,m,_.opts.ownProperties),()=>{const f=u.subschema({keyword:v,schemaProp:m},d);u.mergeValidEvaluated(f,d)},()=>M.var(d,!0)),u.ok(d))}I.validatePropertyDeps=h,I.validateSchemaDeps=E,I.default=i},70486:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754);function l(h,E){const u=h.schema[E];return void 0!==u&&!(0,n.alwaysValidSchema)(h,u)}I.default={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:h})=>e.str`must match "${h.ifClause}" schema`,params:({params:h})=>e._`{failingKeyword: ${h.ifClause}}`},code(h){const{gen:E,parentSchema:u,it:z}=h;void 0===u.then&&void 0===u.else&&(0,n.checkStrictMode)(z,'"if" without "then" and "else" is ignored');const M=l(z,"then"),p=l(z,"else");if(!M&&!p)return;const v=E.let("valid",!0),_=E.name("_valid");if(function d(){const f=h.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},_);h.mergeEvaluated(f)}(),h.reset(),M&&p){const f=E.let("ifClause");h.setParams({ifClause:f}),E.if(_,m("then",f),m("else",f))}else M?E.if(_,m("then")):E.if((0,e.not)(_),m("else"));function m(f,C){return()=>{const T=h.subschema({keyword:f},_);E.assign(v,_),h.mergeValidEvaluated(T,v),C?E.assign(C,e._`${f}`):h.setParams({ifClause:f})}}h.pass(v,()=>h.error(!0))}}},69845:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(92952),n=o(45281),t=o(33013),i=o(33691),l=o(51006),h=o(91804),E=o(87110),u=o(50746),z=o(12505),M=o(57655),p=o(60603),v=o(24651),_=o(60312),d=o(19466),m=o(70486),f=o(70632);I.default=function C(T=!1){const b=[p.default,v.default,_.default,d.default,m.default,f.default,E.default,u.default,h.default,z.default,M.default];return T?b.push(n.default,i.default):b.push(e.default,t.default),b.push(l.default),b}},33013:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.validateTuple=void 0;const e=o(10117),n=o(78754),t=o(89508),i={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(h){const{schema:E,it:u}=h;if(Array.isArray(E))return l(h,"additionalItems",E);u.items=!0,!(0,n.alwaysValidSchema)(u,E)&&h.ok((0,t.validateArray)(h))}};function l(h,E,u=h.schema){const{gen:z,parentSchema:M,data:p,keyword:v,it:_}=h;(function f(C){const{opts:T,errSchemaPath:b}=_,D=u.length;T.strictTuples&&!(D===C.minItems&&(D===C.maxItems||!1===C[E]))&&(0,n.checkStrictMode)(_,`"${v}" is ${D}-tuple, but minItems or maxItems/${E} are not specified or different at path "${b}"`,T.strictTuples)})(M),_.opts.unevaluated&&u.length&&!0!==_.items&&(_.items=n.mergeEvaluated.items(z,u.length,_.items));const d=z.name("valid"),m=z.const("len",e._`${p}.length`);u.forEach((C,T)=>{(0,n.alwaysValidSchema)(_,C)||(z.if(e._`${m} > ${T}`,()=>h.subschema({keyword:v,schemaProp:T,dataProp:T},d)),h.ok(d))})}I.validateTuple=l,I.default=i},33691:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754),t=o(89508),i=o(92952);I.default={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:E}})=>e.str`must NOT have more than ${E} items`,params:({params:{len:E}})=>e._`{limit: ${E}}`},code(E){const{schema:u,parentSchema:z,it:M}=E,{prefixItems:p}=z;M.items=!0,!(0,n.alwaysValidSchema)(M,u)&&(p?(0,i.validateAdditionalItems)(E,p):E.ok((0,t.validateArray)(E)))}}},60603:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(78754);I.default={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){const{gen:i,schema:l,it:h}=t;if((0,e.alwaysValidSchema)(h,l))return void t.fail();const E=i.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},E),t.failResult(E,()=>t.reset(),()=>t.error())},error:{message:"must NOT be valid"}}},60312:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754);I.default={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:l})=>e._`{passingSchemas: ${l.passing}}`},code(l){const{gen:h,schema:E,parentSchema:u,it:z}=l;if(!Array.isArray(E))throw new Error("ajv implementation error");if(z.opts.discriminator&&u.discriminator)return;const M=E,p=h.let("valid",!1),v=h.let("passing",null),_=h.name("_valid");l.setParams({passing:v}),h.block(function d(){M.forEach((m,f)=>{let C;(0,n.alwaysValidSchema)(z,m)?h.var(_,!0):C=l.subschema({keyword:"oneOf",schemaProp:f,compositeRule:!0},_),f>0&&h.if(e._`${_} && ${p}`).assign(p,!1).assign(v,e._`[${v}, ${f}]`).else(),h.if(_,()=>{h.assign(p,!0),h.assign(v,f),C&&l.mergeEvaluated(C,e.Name)})})}),l.result(p,()=>l.reset(),()=>l.error(!0))}}},57655:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(89508),n=o(10117),t=o(78754),i=o(78754);I.default={keyword:"patternProperties",type:"object",schemaType:"object",code(h){const{gen:E,schema:u,data:z,parentSchema:M,it:p}=h,{opts:v}=p,_=(0,e.allSchemaProperties)(u),d=_.filter(y=>(0,t.alwaysValidSchema)(p,u[y]));if(0===_.length||d.length===_.length&&(!p.opts.unevaluated||!0===p.props))return;const m=v.strictSchema&&!v.allowMatchingProperties&&M.properties,f=E.name("valid");!0!==p.props&&!(p.props instanceof n.Name)&&(p.props=(0,i.evaluatedPropsToName)(E,p.props));const{props:C}=p;function b(y){for(const P in m)new RegExp(y).test(P)&&(0,t.checkStrictMode)(p,`property ${P} matches pattern ${y} (use allowMatchingProperties)`)}function D(y){E.forIn("key",z,P=>{E.if(n._`${(0,e.usePattern)(h,y)}.test(${P})`,()=>{const S=d.includes(y);S||h.subschema({keyword:"patternProperties",schemaProp:y,dataProp:P,dataPropType:i.Type.Str},f),p.opts.unevaluated&&!0!==C?E.assign(n._`${C}[${P}]`,!0):!S&&!p.allErrors&&E.if((0,n.not)(f),()=>E.break())})})}!function T(){for(const y of _)m&&b(y),p.allErrors?D(y):(E.var(f,!0),D(y),E.if(f))}()}}},45281:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(33013);I.default={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,e.validateTuple)(t,"items")}},12505:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(62175),n=o(89508),t=o(78754),i=o(50746);I.default={keyword:"properties",type:"object",schemaType:"object",code(h){const{gen:E,schema:u,parentSchema:z,data:M,it:p}=h;"all"===p.opts.removeAdditional&&void 0===z.additionalProperties&&i.default.code(new e.KeywordCxt(p,i.default,"additionalProperties"));const v=(0,n.allSchemaProperties)(u);for(const C of v)p.definedProperties.add(C);p.opts.unevaluated&&v.length&&!0!==p.props&&(p.props=t.mergeEvaluated.props(E,(0,t.toHash)(v),p.props));const _=v.filter(C=>!(0,t.alwaysValidSchema)(p,u[C]));if(0===_.length)return;const d=E.name("valid");for(const C of _)m(C)?f(C):(E.if((0,n.propertyInData)(E,M,C,p.opts.ownProperties)),f(C),p.allErrors||E.else().var(d,!0),E.endIf()),h.it.definedProperties.add(C),h.ok(d);function m(C){return p.opts.useDefaults&&!p.compositeRule&&void 0!==u[C].default}function f(C){h.subschema({keyword:"properties",schemaProp:C,dataProp:C},d)}}}},87110:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754);I.default={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:l})=>e._`{propertyName: ${l.propertyName}}`},code(l){const{gen:h,schema:E,data:u,it:z}=l;if((0,n.alwaysValidSchema)(z,E))return;const M=h.name("valid");h.forIn("key",u,p=>{l.setParams({propertyName:p}),l.subschema({keyword:"propertyNames",data:p,dataTypes:["string"],propertyName:p,compositeRule:!0},M),h.if((0,e.not)(M),()=>{l.error(!0),z.allErrors||h.break()})}),l.ok(M)}}},70632:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(78754);I.default={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:i,it:l}){void 0===i.if&&(0,e.checkStrictMode)(l,`"${t}" without "if" is ignored`)}}},89508:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.validateUnion=I.validateArray=I.usePattern=I.callValidateCode=I.schemaProperties=I.allSchemaProperties=I.noPropertyInData=I.propertyInData=I.isOwnProperty=I.hasPropFunc=I.reportMissingProp=I.checkMissingProp=I.checkReportMissingProp=void 0;const e=o(10117),n=o(78754),t=o(25631),i=o(78754);function u(b){return b.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:e._`Object.prototype.hasOwnProperty`})}function z(b,D,y){return e._`${u(b)}.call(${D}, ${y})`}function p(b,D,y,P){const S=e._`${D}${(0,e.getProperty)(y)} === undefined`;return P?(0,e.or)(S,(0,e.not)(z(b,D,y))):S}function v(b){return b?Object.keys(b).filter(D=>"__proto__"!==D):[]}I.checkReportMissingProp=function l(b,D){const{gen:y,data:P,it:S}=b;y.if(p(y,P,D,S.opts.ownProperties),()=>{b.setParams({missingProperty:e._`${D}`},!0),b.error()})},I.checkMissingProp=function h({gen:b,data:D,it:{opts:y}},P,S){return(0,e.or)(...P.map(A=>(0,e.and)(p(b,D,A,y.ownProperties),e._`${S} = ${A}`)))},I.reportMissingProp=function E(b,D){b.setParams({missingProperty:D},!0),b.error()},I.hasPropFunc=u,I.isOwnProperty=z,I.propertyInData=function M(b,D,y,P){const S=e._`${D}${(0,e.getProperty)(y)} !== undefined`;return P?e._`${S} && ${z(b,D,y)}`:S},I.noPropertyInData=p,I.allSchemaProperties=v,I.schemaProperties=function _(b,D){return v(D).filter(y=>!(0,n.alwaysValidSchema)(b,D[y]))},I.callValidateCode=function d({schemaCode:b,data:D,it:{gen:y,topSchemaRef:P,schemaPath:S,errorPath:A},it:k},R,W,j){const ze=j?e._`${b}, ${D}, ${P}${S}`:D,Y=[[t.default.instancePath,(0,e.strConcat)(t.default.instancePath,A)],[t.default.parentData,k.parentData],[t.default.parentDataProperty,k.parentDataProperty],[t.default.rootData,t.default.rootData]];k.opts.dynamicRef&&Y.push([t.default.dynamicAnchors,t.default.dynamicAnchors]);const G=e._`${ze}, ${y.object(...Y)}`;return W!==e.nil?e._`${R}.call(${W}, ${G})`:e._`${R}(${G})`};const m=e._`new RegExp`;I.usePattern=function f({gen:b,it:{opts:D}},y){const P=D.unicodeRegExp?"u":"",{regExp:S}=D.code,A=S(y,P);return b.scopeValue("pattern",{key:A.toString(),ref:A,code:e._`${"new RegExp"===S.code?m:(0,i.useFunc)(b,S)}(${y}, ${P})`})},I.validateArray=function C(b){const{gen:D,data:y,keyword:P,it:S}=b,A=D.name("valid");if(S.allErrors){const R=D.let("valid",!0);return k(()=>D.assign(R,!1)),R}return D.var(A,!0),k(()=>D.break()),A;function k(R){const W=D.const("len",e._`${y}.length`);D.forRange("i",0,W,j=>{b.subschema({keyword:P,dataProp:j,dataPropType:n.Type.Num},A),D.if((0,e.not)(A),R)})}},I.validateUnion=function T(b){const{gen:D,schema:y,keyword:P,it:S}=b;if(!Array.isArray(y))throw new Error("ajv implementation error");if(y.some(W=>(0,n.alwaysValidSchema)(S,W))&&!S.opts.unevaluated)return;const k=D.let("valid",!1),R=D.name("_valid");D.block(()=>y.forEach((W,j)=>{const ze=b.subschema({keyword:P,schemaProp:j,compositeRule:!0},R);D.assign(k,e._`${k} || ${R}`),b.mergeValidEvaluated(ze,R)||D.if((0,e.not)(k))})),b.result(k,()=>b.reset(),()=>b.error(!0))}},51141:(tt,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}}},54402:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(51141),n=o(26119);I.default=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,n.default]},26119:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.callRef=I.getValidate=void 0;const e=o(95695),n=o(89508),t=o(10117),i=o(25631),l=o(24317),h=o(78754),E={keyword:"$ref",schemaType:"string",code(M){const{gen:p,schema:v,it:_}=M,{baseId:d,schemaEnv:m,validateName:f,opts:C,self:T}=_,{root:b}=m;if(("#"===v||"#/"===v)&&d===b.baseId)return function y(){if(m===b)return z(M,f,m,m.$async);const A=p.scopeValue("root",{ref:b});return z(M,t._`${A}.validate`,b,b.$async)}();const D=l.resolveRef.call(T,b,d,v);if(void 0===D)throw new e.default(_.opts.uriResolver,d,v);return D instanceof l.SchemaEnv?function P(A){const k=u(M,A);z(M,k,A,A.$async)}(D):function S(A){const k=p.scopeValue("schema",!0===C.code.source?{ref:A,code:(0,t.stringify)(A)}:{ref:A}),R=p.name("valid"),W=M.subschema({schema:A,dataTypes:[],schemaPath:t.nil,topSchemaRef:k,errSchemaPath:v},R);M.mergeEvaluated(W),M.ok(R)}(D)}};function u(M,p){const{gen:v}=M;return p.validate?v.scopeValue("validate",{ref:p.validate}):t._`${v.scopeValue("wrapper",{ref:p})}.validate`}function z(M,p,v,_){const{gen:d,it:m}=M,{allErrors:f,schemaEnv:C,opts:T}=m,b=T.passContext?i.default.this:t.nil;function P(A){const k=t._`${A}.errors`;d.assign(i.default.vErrors,t._`${i.default.vErrors} === null ? ${k} : ${i.default.vErrors}.concat(${k})`),d.assign(i.default.errors,t._`${i.default.vErrors}.length`)}function S(A){var k;if(!m.opts.unevaluated)return;const R=null===(k=v?.validate)||void 0===k?void 0:k.evaluated;if(!0!==m.props)if(R&&!R.dynamicProps)void 0!==R.props&&(m.props=h.mergeEvaluated.props(d,R.props,m.props));else{const W=d.var("props",t._`${A}.evaluated.props`);m.props=h.mergeEvaluated.props(d,W,m.props,t.Name)}if(!0!==m.items)if(R&&!R.dynamicItems)void 0!==R.items&&(m.items=h.mergeEvaluated.items(d,R.items,m.items));else{const W=d.var("items",t._`${A}.evaluated.items`);m.items=h.mergeEvaluated.items(d,W,m.items,t.Name)}}_?function D(){if(!C.$async)throw new Error("async schema referenced by sync schema");const A=d.let("valid");d.try(()=>{d.code(t._`await ${(0,n.callValidateCode)(M,p,b)}`),S(p),f||d.assign(A,!0)},k=>{d.if(t._`!(${k} instanceof ${m.ValidationError})`,()=>d.throw(k)),P(k),f||d.assign(A,!1)}),M.ok(A)}():function y(){M.result((0,n.callValidateCode)(M,p,b),()=>S(p),()=>P(p))}()}I.getValidate=u,I.callRef=z,I.default=E},96081:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(75746),t=o(24317),i=o(78754);I.default={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:E,tagName:u}})=>E===n.DiscrError.Tag?`tag "${u}" must be string`:`value of tag "${u}" must be in oneOf`,params:({params:{discrError:E,tag:u,tagName:z}})=>e._`{error: ${E}, tag: ${z}, tagValue: ${u}}`},code(E){const{gen:u,data:z,schema:M,parentSchema:p,it:v}=E,{oneOf:_}=p;if(!v.opts.discriminator)throw new Error("discriminator: requires discriminator option");const d=M.propertyName;if("string"!=typeof d)throw new Error("discriminator: requires propertyName");if(M.mapping)throw new Error("discriminator: mapping is not supported");if(!_)throw new Error("discriminator: requires oneOf keyword");const m=u.let("valid",!1),f=u.const("tag",e._`${z}${(0,e.getProperty)(d)}`);function T(D){const y=u.name("valid"),P=E.subschema({keyword:"oneOf",schemaProp:D},y);return E.mergeEvaluated(P,e.Name),y}u.if(e._`typeof ${f} == "string"`,()=>function C(){const D=function b(){var D;const y={},P=A(p);let S=!0;for(let W=0;W<_.length;W++){let j=_[W];j?.$ref&&!(0,i.schemaHasRulesButRef)(j,v.self.RULES)&&(j=t.resolveRef.call(v.self,v.schemaEnv.root,v.baseId,j?.$ref),j instanceof t.SchemaEnv&&(j=j.schema));const ze=null===(D=j?.properties)||void 0===D?void 0:D[d];if("object"!=typeof ze)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${d}"`);S=S&&(P||A(j)),k(ze,W)}if(!S)throw new Error(`discriminator: "${d}" must be required`);return y;function A({required:W}){return Array.isArray(W)&&W.includes(d)}function k(W,j){if(W.const)R(W.const,j);else{if(!W.enum)throw new Error(`discriminator: "properties/${d}" must have "const" or "enum"`);for(const ze of W.enum)R(ze,j)}}function R(W,j){if("string"!=typeof W||W in y)throw new Error(`discriminator: "${d}" values must be unique strings`);y[W]=j}}();u.if(!1);for(const y in D)u.elseIf(e._`${f} === ${y}`),u.assign(m,T(D[y]));u.else(),E.error(!1,{discrError:n.DiscrError.Mapping,tag:f,tagName:d}),u.endIf()}(),()=>E.error(!1,{discrError:n.DiscrError.Tag,tag:f,tagName:d})),E.ok(m)}}},75746:(tt,I)=>{"use strict";var e;Object.defineProperty(I,"__esModule",{value:!0}),I.DiscrError=void 0,(e=I.DiscrError||(I.DiscrError={})).Tag="tag",e.Mapping="mapping"},8677:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(54402),n=o(81495),t=o(69845),i=o(92389),l=o(50836),h=[e.default,n.default,(0,t.default)(),i.default,l.metadataVocabulary,l.contentVocabulary];I.default=h},40229:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117);I.default={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:i})=>e.str`must match format "${i}"`,params:({schemaCode:i})=>e._`{format: ${i}}`},code(i,l){const{gen:h,data:E,$data:u,schema:z,schemaCode:M,it:p}=i,{opts:v,errSchemaPath:_,schemaEnv:d,self:m}=p;v.validateFormats&&(u?function f(){const T=h.scopeValue("formats",{ref:m.formats,code:v.code.formats}),b=h.const("fDef",e._`${T}[${M}]`),D=h.let("fType"),y=h.let("format");h.if(e._`typeof ${b} == "object" && !(${b} instanceof RegExp)`,()=>h.assign(D,e._`${b}.type || "string"`).assign(y,e._`${b}.validate`),()=>h.assign(D,e._`"string"`).assign(y,b)),i.fail$data((0,e.or)(function P(){return!1===v.strictSchema?e.nil:e._`${M} && !${y}`}(),function S(){const A=d.$async?e._`(${b}.async ? await ${y}(${E}) : ${y}(${E}))`:e._`${y}(${E})`,k=e._`(typeof ${y} == "function" ? ${A} : ${y}.test(${E}))`;return e._`${y} && ${y} !== true && ${D} === ${l} && !${k}`}()))}():function C(){const T=m.formats[z];if(!T)return void function P(){if(!1!==v.strictSchema)throw new Error(k());function k(){return`unknown format "${z}" ignored in schema at path "${_}"`}m.logger.warn(k())}();if(!0===T)return;const[b,D,y]=function S(k){const R=k instanceof RegExp?(0,e.regexpCode)(k):v.code.formats?e._`${v.code.formats}${(0,e.getProperty)(z)}`:void 0,W=h.scopeValue("formats",{key:z,ref:k,code:R});return"object"!=typeof k||k instanceof RegExp?["string",k,W]:[k.type||"string",k.validate,e._`${W}.validate`]}(T);b===l&&i.pass(function A(){if("object"==typeof T&&!(T instanceof RegExp)&&T.async){if(!d.$async)throw new Error("async format in sync schema");return e._`await ${y}(${E})`}return"function"==typeof D?e._`${y}(${E})`:e._`${y}.test(${E})`}())}())}}},92389:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const n=[o(40229).default];I.default=n},50836:(tt,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.contentVocabulary=I.metadataVocabulary=void 0,I.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],I.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},26316:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754),t=o(74747);I.default={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:h})=>e._`{allowedValue: ${h}}`},code(h){const{gen:E,data:u,$data:z,schemaCode:M,schema:p}=h;z||p&&"object"==typeof p?h.fail$data(e._`!${(0,n.useFunc)(E,t.default)}(${u}, ${M})`):h.fail(e._`${p} !== ${u}`)}}},18618:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754),t=o(74747);I.default={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:h})=>e._`{allowedValues: ${h}}`},code(h){const{gen:E,data:u,$data:z,schema:M,schemaCode:p,it:v}=h;if(!z&&0===M.length)throw new Error("enum must have non-empty array");let d;const m=()=>d??(d=(0,n.useFunc)(E,t.default));let f;if(M.length>=v.opts.loopEnum||z)f=E.let("valid"),h.block$data(f,function C(){E.assign(f,!1),E.forOf("v",p,b=>E.if(e._`${m()}(${u}, ${b})`,()=>E.assign(f,!0).break()))});else{if(!Array.isArray(M))throw new Error("ajv implementation error");const b=E.const("vSchema",p);f=(0,e.or)(...M.map((D,y)=>function T(b,D){const y=M[D];return"object"==typeof y&&null!==y?e._`${m()}(${u}, ${b}[${D}])`:e._`${u} === ${y}`}(b,y)))}h.pass(f)}}},81495:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(89587),n=o(29896),t=o(33260),i=o(50216),l=o(59726),h=o(363),E=o(70507),u=o(17143),z=o(26316),M=o(18618);I.default=[e.default,n.default,t.default,i.default,l.default,h.default,E.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},z.default,M.default]},70507:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117);I.default={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message:({keyword:i,schemaCode:l})=>e.str`must NOT have ${"maxItems"===i?"more":"fewer"} than ${l} items`,params:({schemaCode:i})=>e._`{limit: ${i}}`},code(i){const{keyword:l,data:h,schemaCode:E}=i;i.fail$data(e._`${h}.length ${"maxItems"===l?e.operators.GT:e.operators.LT} ${E}`)}}},33260:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754),t=o(81197);I.default={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message:({keyword:h,schemaCode:E})=>e.str`must NOT have ${"maxLength"===h?"more":"fewer"} than ${E} characters`,params:({schemaCode:h})=>e._`{limit: ${h}}`},code(h){const{keyword:E,data:u,schemaCode:z,it:M}=h,p="maxLength"===E?e.operators.GT:e.operators.LT,v=!1===M.opts.unicode?e._`${u}.length`:e._`${(0,n.useFunc)(h.gen,t.default)}(${u})`;h.fail$data(e._`${v} ${p} ${z}`)}}},89587:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=e.operators,t={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},i={message:({keyword:h,schemaCode:E})=>e.str`must be ${t[h].okStr} ${E}`,params:({keyword:h,schemaCode:E})=>e._`{comparison: ${t[h].okStr}, limit: ${E}}`},l={keyword:Object.keys(t),type:"number",schemaType:"number",$data:!0,error:i,code(h){const{keyword:E,data:u,schemaCode:z}=h;h.fail$data(e._`${u} ${t[E].fail} ${z} || isNaN(${u})`)}};I.default=l},59726:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117);I.default={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message:({keyword:i,schemaCode:l})=>e.str`must NOT have ${"maxProperties"===i?"more":"fewer"} than ${l} properties`,params:({schemaCode:i})=>e._`{limit: ${i}}`},code(i){const{keyword:l,data:h,schemaCode:E}=i;i.fail$data(e._`Object.keys(${h}).length ${"maxProperties"===l?e.operators.GT:e.operators.LT} ${E}`)}}},29896:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117);I.default={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:i})=>e.str`must be multiple of ${i}`,params:({schemaCode:i})=>e._`{multipleOf: ${i}}`},code(i){const{gen:l,data:h,schemaCode:E,it:u}=i,z=u.opts.multipleOfPrecision,M=l.let("res"),p=z?e._`Math.abs(Math.round(${M}) - ${M}) > 1e-${z}`:e._`${M} !== parseInt(${M})`;i.fail$data(e._`(${E} === 0 || (${M} = ${h}/${E}, ${p}))`)}}},50216:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(89508),n=o(10117);I.default={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:l})=>n.str`must match pattern "${l}"`,params:({schemaCode:l})=>n._`{pattern: ${l}}`},code(l){const{data:h,$data:E,schema:u,schemaCode:z,it:M}=l,v=E?n._`(new RegExp(${z}, ${M.opts.unicodeRegExp?"u":""}))`:(0,e.usePattern)(l,u);l.fail$data(n._`!${v}.test(${h})`)}}},363:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(89508),n=o(10117),t=o(78754);I.default={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:h}})=>n.str`must have required property '${h}'`,params:({params:{missingProperty:h}})=>n._`{missingProperty: ${h}}`},code(h){const{gen:E,schema:u,schemaCode:z,data:M,$data:p,it:v}=h,{opts:_}=v;if(!p&&0===u.length)return;const d=u.length>=_.loopRequired;if(v.allErrors?function m(){if(d||p)h.block$data(n.nil,C);else for(const b of u)(0,e.checkReportMissingProp)(h,b)}():function f(){const b=E.let("missing");if(d||p){const D=E.let("valid",!0);h.block$data(D,()=>function T(b,D){h.setParams({missingProperty:b}),E.forOf(b,z,()=>{E.assign(D,(0,e.propertyInData)(E,M,b,_.ownProperties)),E.if((0,n.not)(D),()=>{h.error(),E.break()})},n.nil)}(b,D)),h.ok(D)}else E.if((0,e.checkMissingProp)(h,u,b)),(0,e.reportMissingProp)(h,b),E.else()}(),_.strictRequired){const b=h.parentSchema.properties,{definedProperties:D}=h.it;for(const y of u)void 0!==b?.[y]||D.has(y)||(0,t.checkStrictMode)(v,`required property "${y}" is not defined at "${v.schemaEnv.baseId+v.errSchemaPath}" (strictRequired)`,v.opts.strictRequired)}function C(){E.forOf("prop",z,b=>{h.setParams({missingProperty:b}),E.if((0,e.noPropertyInData)(E,M,b,_.ownProperties),()=>h.error())})}}}},17143:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(84730),n=o(10117),t=o(78754),i=o(74747);I.default={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:E,j:u}})=>n.str`must NOT have duplicate items (items ## ${u} and ${E} are identical)`,params:({params:{i:E,j:u}})=>n._`{i: ${E}, j: ${u}}`},code(E){const{gen:u,data:z,$data:M,schema:p,parentSchema:v,schemaCode:_,it:d}=E;if(!M&&!p)return;const m=u.let("valid"),f=v.items?(0,e.getSchemaTypes)(v.items):[];function b(y,P){const S=u.name("item"),A=(0,e.checkDataTypes)(f,S,d.opts.strictNumbers,e.DataType.Wrong),k=u.const("indices",n._`{}`);u.for(n._`;${y}--;`,()=>{u.let(S,n._`${z}[${y}]`),u.if(A,n._`continue`),f.length>1&&u.if(n._`typeof ${S} == "string"`,n._`${S} += "_"`),u.if(n._`typeof ${k}[${S}] == "number"`,()=>{u.assign(P,n._`${k}[${S}]`),E.error(),u.assign(m,!1).break()}).code(n._`${k}[${S}] = ${y}`)})}function D(y,P){const S=(0,t.useFunc)(u,i.default),A=u.name("outer");u.label(A).for(n._`;${y}--;`,()=>u.for(n._`${P} = ${y}; ${P}--;`,()=>u.if(n._`${S}(${z}[${y}], ${z}[${P}])`,()=>{E.error(),u.assign(m,!1).break(A)})))}E.block$data(m,function C(){const y=u.let("i",n._`${z}.length`),P=u.let("j");E.setParams({i:y,j:P}),u.assign(m,!0),u.if(n._`${y} > 1`,()=>(function T(){return f.length>0&&!f.some(y=>"object"===y||"array"===y)}()?b:D)(y,P))},n._`${_} === false`),E.ok(m)}}},99402:function(tt){tt.exports=function(){"use strict";var I=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o="Expected a function",e=NaN,n="[object Symbol]",t=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,h=/^0o[0-7]+$/i,E=parseInt,z="object"==typeof self&&self&&self.Object===Object&&self,M="object"==typeof I&&I&&I.Object===Object&&I||z||Function("return this")(),p=Object.prototype.toString,v=Math.max,_=Math.min,d=function(){return M.Date.now()};function f(Le){var ht=typeof Le;return!!Le&&("object"==ht||"function"==ht)}function C(Le){if("number"==typeof Le)return Le;if("symbol"==typeof(Lt=Le)||(Wt=Lt)&&"object"==typeof Wt&&p.call(Lt)==n)return e;var Lt,Wt;if(f(Le)){var ht="function"==typeof Le.valueOf?Le.valueOf():Le;Le=f(ht)?ht+"":ht}if("string"!=typeof Le)return 0===Le?Le:+Le;Le=Le.replace(t,"");var Ot=l.test(Le);return Ot||h.test(Le)?E(Le.slice(2),Ot?2:8):i.test(Le)?e:+Le}var T=function(Le,ht,Ot){var Lt=!0,Wt=!0;if("function"!=typeof Le)throw new TypeError(o);return f(Ot)&&(Lt="leading"in Ot?!!Ot.leading:Lt,Wt="trailing"in Ot?!!Ot.trailing:Wt),function m(Le,ht,Ot){var Lt,Wt,qt,en,Vt,cn,ft=0,gt=!1,Ie=!1,Ct=!0;if("function"!=typeof Le)throw new TypeError(o);function Nt(fe){var Xe=Lt,ge=Wt;return Lt=Wt=void 0,ft=fe,en=Le.apply(ge,Xe)}function kt(fe){var Xe=fe-cn;return void 0===cn||Xe>=ht||Xe<0||Ie&&fe-ft>=qt}function St(){var Xe,ge,fe=d();if(kt(fe))return qe(fe);Vt=setTimeout(St,(ge=ht-((Xe=fe)-cn),Ie?_(ge,qt-(Xe-ft)):ge))}function qe(fe){return Vt=void 0,Ct&&Lt?Nt(fe):(Lt=Wt=void 0,en)}function Fe(){var ge,fe=d(),Xe=kt(fe);if(Lt=arguments,Wt=this,cn=fe,Xe){if(void 0===Vt)return ft=ge=cn,Vt=setTimeout(St,ht),gt?Nt(ge):en;if(Ie)return Vt=setTimeout(St,ht),Nt(cn)}return void 0===Vt&&(Vt=setTimeout(St,ht)),en}return ht=C(ht)||0,f(Ot)&&(gt=!!Ot.leading,qt=(Ie="maxWait"in Ot)?v(C(Ot.maxWait)||0,ht):qt,Ct="trailing"in Ot?!!Ot.trailing:Ct),Fe.cancel=function(){void 0!==Vt&&clearTimeout(Vt),ft=0,Lt=cn=Wt=Vt=void 0},Fe.flush=function(){return void 0===Vt?en:qe(d())},Fe}(Le,ht,{leading:Lt,maxWait:ht,trailing:Wt})},P=/^\s+|\s+$/g,S=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,k=/^0o[0-7]+$/i,R=parseInt,j="object"==typeof self&&self&&self.Object===Object&&self,ze="object"==typeof I&&I&&I.Object===Object&&I||j||Function("return this")(),Y=Object.prototype.toString,G=Math.max,V=Math.min,K=function(){return ze.Date.now()};function ee(Le){var ht=typeof Le;return!!Le&&("object"==ht||"function"==ht)}function te(Le){if("number"==typeof Le)return Le;if("symbol"==typeof(Lt=Le)||(Wt=Lt)&&"object"==typeof Wt&&"[object Symbol]"==Y.call(Lt))return NaN;var Lt,Wt;if(ee(Le)){var ht="function"==typeof Le.valueOf?Le.valueOf():Le;Le=ee(ht)?ht+"":ht}if("string"!=typeof Le)return 0===Le?Le:+Le;Le=Le.replace(P,"");var Ot=A.test(Le);return Ot||k.test(Le)?R(Le.slice(2),Ot?2:8):S.test(Le)?NaN:+Le}var pe=function(Le,ht,Ot){var Lt,Wt,qt,en,Vt,cn,ft=0,gt=!1,Ie=!1,Ct=!0;if("function"!=typeof Le)throw new TypeError("Expected a function");function Nt(fe){var Xe=Lt,ge=Wt;return Lt=Wt=void 0,ft=fe,en=Le.apply(ge,Xe)}function kt(fe){var Xe=fe-cn;return void 0===cn||Xe>=ht||Xe<0||Ie&&fe-ft>=qt}function St(){var Xe,ge,fe=K();if(kt(fe))return qe(fe);Vt=setTimeout(St,(ge=ht-((Xe=fe)-cn),Ie?V(ge,qt-(Xe-ft)):ge))}function qe(fe){return Vt=void 0,Ct&&Lt?Nt(fe):(Lt=Wt=void 0,en)}function Fe(){var ge,fe=K(),Xe=kt(fe);if(Lt=arguments,Wt=this,cn=fe,Xe){if(void 0===Vt)return ft=ge=cn,Vt=setTimeout(St,ht),gt?Nt(ge):en;if(Ie)return Vt=setTimeout(St,ht),Nt(cn)}return void 0===Vt&&(Vt=setTimeout(St,ht)),en}return ht=te(ht)||0,ee(Ot)&&(gt=!!Ot.leading,qt=(Ie="maxWait"in Ot)?G(te(Ot.maxWait)||0,ht):qt,Ct="trailing"in Ot?!!Ot.trailing:Ct),Fe.cancel=function(){void 0!==Vt&&clearTimeout(Vt),ft=0,Lt=cn=Wt=Vt=void 0},Fe.flush=function(){return void 0===Vt?en:qe(K())},Fe},re=function(){};function De(Le){Le&&Le.forEach(function(ht){var Ot=Array.prototype.slice.call(ht.addedNodes),Lt=Array.prototype.slice.call(ht.removedNodes);if(function Wt(qt){var en=void 0,Vt=void 0;for(en=0;en=en.out&&!qt.once?cn():Wt>=en.in?Lt.animated||(ft=Vt,(gt=qt.animatedClassNames)&>.forEach(function(Ie){return ft.classList.add(Ie)}),He("aos:in",Vt),Lt.options.id&&He("aos:in:"+Lt.options.id,Vt),Lt.animated=!0):Lt.animated&&!qt.once&&cn());var Lt,Wt,ft,gt,qt,en,Vt,cn})},lt=function(Le){for(var ht=0,Ot=0;Le&&!isNaN(Le.offsetLeft)&&!isNaN(Le.offsetTop);)ht+=Le.offsetLeft-("BODY"!=Le.tagName?Le.scrollLeft:0),Ot+=Le.offsetTop-("BODY"!=Le.tagName?Le.scrollTop:0),Le=Le.offsetParent;return{top:Ot,left:ht}},Pe=function(Le,ht,Ot){var Lt=Le.getAttribute("data-aos-"+ht);if(void 0!==Lt){if("true"===Lt)return!0;if("false"===Lt)return!1}return Lt||Ot},$e=function(){var Le=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(Le,function(ht){return{node:ht}})},ot=[],mt=!1,we={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50},de=function(){return document.all&&!window.atob},U=function(){var Le,ht;arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(mt=!0),mt&&(ht=we,(Le=ot).forEach(function(Ot,Lt){var Wt=Pe(Ot.node,"mirror",ht.mirror),qt=Pe(Ot.node,"once",ht.once),en=Pe(Ot.node,"id"),Vt=ht.useClassNames&&Ot.node.getAttribute("data-aos"),cn=[ht.animatedClassName].concat(Vt?Vt.split(" "):[]).filter(function(ft){return"string"==typeof ft});ht.initClassName&&Ot.node.classList.add(ht.initClassName),Ot.position={in:function(ft,gt,Ie){var Ct=window.innerHeight,Nt=Pe(ft,"anchor"),kt=Pe(ft,"anchor-placement"),St=Number(Pe(ft,"offset",kt?0:gt)),qe=kt||Ie,Fe=ft;Nt&&document.querySelectorAll(Nt)&&(Fe=document.querySelectorAll(Nt)[0]);var fe=lt(Fe).top-Ct;switch(qe){case"top-bottom":break;case"center-bottom":fe+=Fe.offsetHeight/2;break;case"bottom-bottom":fe+=Fe.offsetHeight;break;case"top-center":fe+=Ct/2;break;case"center-center":fe+=Ct/2+Fe.offsetHeight/2;break;case"bottom-center":fe+=Ct/2+Fe.offsetHeight;break;case"top-top":fe+=Ct;break;case"bottom-top":fe+=Ct+Fe.offsetHeight;break;case"center-top":fe+=Ct+Fe.offsetHeight/2}return fe+St}(Ot.node,ht.offset,ht.anchorPlacement),out:Wt&&function(ft,gt){window;var Ie=Pe(ft,"anchor"),Ct=Pe(ft,"offset",gt),Nt=ft;return Ie&&document.querySelectorAll(Ie)&&(Nt=document.querySelectorAll(Ie)[0]),lt(Nt).top+Nt.offsetHeight-Ct}(Ot.node,ht.offset)},Ot.options={once:qt,mirror:Wt,animatedClassNames:cn,id:en}}),Re(ot=Le),window.addEventListener("scroll",T(function(){Re(ot)},we.throttleDelay)))},B=function(){if(ot=$e(),Ae(we.disable)||de())return Me();U()},Me=function(){ot.forEach(function(Le,ht){Le.node.removeAttribute("data-aos"),Le.node.removeAttribute("data-aos-easing"),Le.node.removeAttribute("data-aos-duration"),Le.node.removeAttribute("data-aos-delay"),we.initClassName&&Le.node.classList.remove(we.initClassName),we.animatedClassName&&Le.node.classList.remove(we.animatedClassName)})},Ae=function(Le){return!0===Le||"mobile"===Le&&Q.mobile()||"phone"===Le&&Q.phone()||"tablet"===Le&&Q.tablet()||"function"==typeof Le&&!0===Le()};return{init:function(Le){return we=le(we,Le),ot=$e(),we.disableMutationObserver||ce_isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),we.disableMutationObserver=!0),we.disableMutationObserver||ce_ready("[data-aos]",B),Ae(we.disable)||de()?Me():(document.querySelector("body").setAttribute("data-aos-easing",we.easing),document.querySelector("body").setAttribute("data-aos-duration",we.duration),document.querySelector("body").setAttribute("data-aos-delay",we.delay),-1===["DOMContentLoaded","load"].indexOf(we.startEvent)?document.addEventListener(we.startEvent,function(){U(!0)}):window.addEventListener("load",function(){U(!0)}),"DOMContentLoaded"===we.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1&&U(!0),window.addEventListener("resize",pe(U,we.debounceDelay,!0)),window.addEventListener("orientationchange",pe(U,we.debounceDelay,!0)),ot)},refresh:U,refreshHard:B}}()},57979:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.getParameters=void 0;var e=o(17167);I.getParameters=function t(i){return function n(i){return e.compressToBase64(i).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}(JSON.stringify(i))}},28539:(tt,I,o)=>{"use strict";I.Z=void 0;var n=o(57979);I.Z=n.getParameters},48292:(tt,I,o)=>{"use strict";function e(n,t){if(null==n)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}o.d(I,{Z:()=>e})},46719:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>le});var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(Se){return function(){var Ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ke=Ne.width?String(Ne.width):Se.defaultWidth;return Se.formats[ke]||Se.formats[Se.defaultWidth]}}var u={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},M={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function _(Se){return function(Ne,ke){var _e;if("formatting"===(null!=ke&&ke.context?String(ke.context):"standalone")&&Se.formattingValues){var Q=Se.defaultFormattingWidth||Se.defaultWidth,He=null!=ke&&ke.width?String(ke.width):Q;_e=Se.formattingValues[He]||Se.formattingValues[Q]}else{var Re=Se.defaultWidth,lt=null!=ke&&ke.width?String(ke.width):Se.defaultWidth;_e=Se.values[lt]||Se.values[Re]}return _e[Se.argumentCallback?Se.argumentCallback(Ne):Ne]}}function S(Se){return function(Ne){var ke=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},oe=ke.width,Q=Ne.match(oe&&Se.matchPatterns[oe]||Se.matchPatterns[Se.defaultMatchWidth]);if(!Q)return null;var Pe,He=Q[0],Re=oe&&Se.parsePatterns[oe]||Se.parsePatterns[Se.defaultParseWidth],lt=Array.isArray(Re)?function k(Se,Ne){for(var ke=0;ke0?"in "+_e:_e+" ago":_e},formatLong:u,formatRelative:function(Ne,ke,oe,_e){return M[Ne]},localize:{ordinalNumber:function(Ne,ke){var oe=Number(Ne),_e=oe%100;if(_e>20||_e<10)switch(_e%10){case 1:return oe+"st";case 2:return oe+"nd";case 3:return oe+"rd"}return oe+"th"},era:_({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:_({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(Ne){return Ne-1}}),month:_({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:_({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:_({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function R(Se){return function(Ne){var ke=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},oe=Ne.match(Se.matchPattern);if(!oe)return null;var _e=oe[0],Q=Ne.match(Se.parsePattern);if(!Q)return null;var He=Se.valueCallback?Se.valueCallback(Q[0]):Q[0];return{value:He=ke.valueCallback?ke.valueCallback(He):He,rest:Ne.slice(_e.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(Ne){return parseInt(Ne,10)}}),era:S({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:S({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(Ne){return Ne+1}}),month:S({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:S({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:S({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},5227:(tt,I,o)=>{"use strict";o.d(I,{j:()=>n});var e={};function n(){return e}},3001:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=function(E,u){switch(E){case"P":return u.date({width:"short"});case"PP":return u.date({width:"medium"});case"PPP":return u.date({width:"long"});default:return u.date({width:"full"})}},n=function(E,u){switch(E){case"p":return u.time({width:"short"});case"pp":return u.time({width:"medium"});case"ppp":return u.time({width:"long"});default:return u.time({width:"full"})}};const l={p:n,P:function(E,u){var v,z=E.match(/(P+)(p+)?/)||[],M=z[1],p=z[2];if(!p)return e(E,u);switch(M){case"P":v=u.dateTime({width:"short"});break;case"PP":v=u.dateTime({width:"medium"});break;case"PPP":v=u.dateTime({width:"long"});break;default:v=u.dateTime({width:"full"})}return v.replace("{{date}}",e(M,u)).replace("{{time}}",n(p,u))}}},45351:(tt,I,o)=>{"use strict";function e(n){var t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),n.getTime()-t.getTime()}o.d(I,{Z:()=>e})},3606:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>E});var e=o(40581),n=o(29307),t=o(92603),i=o(62816),h=6048e5;function E(u){(0,i.Z)(1,arguments);var z=(0,e.Z)(u),M=(0,n.Z)(z).getTime()-function l(u){(0,i.Z)(1,arguments);var z=(0,t.Z)(u),M=new Date(0);return M.setUTCFullYear(z,0,4),M.setUTCHours(0,0,0,0),(0,n.Z)(M)}(z).getTime();return Math.round(M/h)+1}},92603:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(40581),n=o(62816),t=o(29307);function i(l){(0,n.Z)(1,arguments);var h=(0,e.Z)(l),E=h.getUTCFullYear(),u=new Date(0);u.setUTCFullYear(E+1,0,4),u.setUTCHours(0,0,0,0);var z=(0,t.Z)(u),M=new Date(0);M.setUTCFullYear(E,0,4),M.setUTCHours(0,0,0,0);var p=(0,t.Z)(M);return h.getTime()>=z.getTime()?E+1:h.getTime()>=p.getTime()?E:E-1}},77356:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>z});var e=o(40581),n=o(5163),t=o(93281),i=o(62816),l=o(96156),h=o(5227),u=6048e5;function z(M,p){(0,i.Z)(1,arguments);var v=(0,e.Z)(M),_=(0,n.Z)(v,p).getTime()-function E(M,p){var v,_,d,m,f,C,T,b;(0,i.Z)(1,arguments);var D=(0,h.j)(),y=(0,l.Z)(null!==(v=null!==(_=null!==(d=null!==(m=p?.firstWeekContainsDate)&&void 0!==m?m:null==p||null===(f=p.locale)||void 0===f||null===(C=f.options)||void 0===C?void 0:C.firstWeekContainsDate)&&void 0!==d?d:D.firstWeekContainsDate)&&void 0!==_?_:null===(T=D.locale)||void 0===T||null===(b=T.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==v?v:1),P=(0,t.Z)(M,p),S=new Date(0);return S.setUTCFullYear(P,0,y),S.setUTCHours(0,0,0,0),(0,n.Z)(S,p)}(v,p).getTime();return Math.round(_/u)+1}},93281:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>h});var e=o(40581),n=o(62816),t=o(5163),i=o(96156),l=o(5227);function h(E,u){var z,M,p,v,_,d,m,f;(0,n.Z)(1,arguments);var C=(0,e.Z)(E),T=C.getUTCFullYear(),b=(0,l.j)(),D=(0,i.Z)(null!==(z=null!==(M=null!==(p=null!==(v=u?.firstWeekContainsDate)&&void 0!==v?v:null==u||null===(_=u.locale)||void 0===_||null===(d=_.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==p?p:b.firstWeekContainsDate)&&void 0!==M?M:null===(m=b.locale)||void 0===m||null===(f=m.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==z?z:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(T+1,0,D),y.setUTCHours(0,0,0,0);var P=(0,t.Z)(y,u),S=new Date(0);S.setUTCFullYear(T,0,D),S.setUTCHours(0,0,0,0);var A=(0,t.Z)(S,u);return C.getTime()>=P.getTime()?T+1:C.getTime()>=A.getTime()?T:T-1}},32566:(tt,I,o)=>{"use strict";o.d(I,{Do:()=>i,Iu:()=>t,qp:()=>l});var e=["D","DD"],n=["YY","YYYY"];function t(h){return-1!==e.indexOf(h)}function i(h){return-1!==n.indexOf(h)}function l(h,E,u){if("YYYY"===h)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(E,"`) for formatting years to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===h)throw new RangeError("Use `yy` instead of `YY` (in `".concat(E,"`) for formatting years to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===h)throw new RangeError("Use `d` instead of `D` (in `".concat(E,"`) for formatting days of the month to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===h)throw new RangeError("Use `dd` instead of `DD` (in `".concat(E,"`) for formatting days of the month to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},62816:(tt,I,o)=>{"use strict";function e(n,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}o.d(I,{Z:()=>e})},588:(tt,I,o)=>{"use strict";o.d(I,{u:()=>t});var e={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(l){return l<0?Math.ceil(l):Math.floor(l)}},n="trunc";function t(i){return i?e[i]:e[n]}},29307:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var h=(0,e.Z)(i),E=h.getUTCDay(),u=(E<1?7:0)+E-1;return h.setUTCDate(h.getUTCDate()-u),h.setUTCHours(0,0,0,0),h}},5163:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(40581),n=o(62816),t=o(96156),i=o(5227);function l(h,E){var u,z,M,p,v,_,d,m;(0,n.Z)(1,arguments);var f=(0,i.j)(),C=(0,t.Z)(null!==(u=null!==(z=null!==(M=null!==(p=E?.weekStartsOn)&&void 0!==p?p:null==E||null===(v=E.locale)||void 0===v||null===(_=v.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==M?M:f.weekStartsOn)&&void 0!==z?z:null===(d=f.locale)||void 0===d||null===(m=d.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==u?u:0);if(!(C>=0&&C<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var T=(0,e.Z)(h),b=T.getUTCDay(),D=(b{"use strict";function e(n){if(null===n||!0===n||!1===n)return NaN;var t=Number(n);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}o.d(I,{Z:()=>e})},68584:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(40581),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,n.Z)(l),u=(0,e.Z)(h);return isNaN(u)?new Date(NaN):(u&&E.setDate(E.getDate()+u),E)}},640:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(40581),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,n.Z)(l).getTime(),u=(0,e.Z)(h);return new Date(E+u)}},21083:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(40581),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,n.Z)(l),u=(0,e.Z)(h);if(isNaN(u))return new Date(NaN);if(!u)return E;var z=E.getDate(),M=new Date(E.getTime());return M.setMonth(E.getMonth()+u+1,0),z>=M.getDate()?M:(E.setFullYear(M.getFullYear(),M.getMonth(),z),E)}},27163:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(640),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,e.Z)(h);return(0,n.Z)(l,1e3*E)}},22040:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(21083),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,e.Z)(h);return(0,n.Z)(l,12*E)}},33865:(tt,I,o)=>{"use strict";o.d(I,{qk:()=>h,vh:()=>l,yJ:()=>i}),Math.pow(10,8);var i=6e4,l=36e5,h=1e3},61855:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(45351),n=o(79189),t=o(62816),i=864e5;function l(h,E){(0,t.Z)(2,arguments);var u=(0,n.Z)(h),z=(0,n.Z)(E),M=u.getTime()-(0,e.Z)(u),p=z.getTime()-(0,e.Z)(z);return Math.round((M-p)/i)}},80275:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i,l){(0,n.Z)(2,arguments);var h=(0,e.Z)(i),E=(0,e.Z)(l);return 12*(h.getFullYear()-E.getFullYear())+(h.getMonth()-E.getMonth())}},96086:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i,l){return(0,n.Z)(2,arguments),(0,e.Z)(i).getTime()-(0,e.Z)(l).getTime()}},13061:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96086),n=o(62816),t=o(588);function i(l,h,E){(0,n.Z)(2,arguments);var u=(0,e.Z)(l,h)/1e3;return(0,t.u)(E?.roundingMethod)(u)}},85134:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=(0,e.Z)(i);return l.setHours(23,59,59,999),l}},92682:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=(0,e.Z)(i),h=l.getMonth();return l.setFullYear(l.getFullYear(),h+1,0),l.setHours(23,59,59,999),l}},89207:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>G});var e=o(34338),n=o(73492),t=o(40581),i=o(62816),E=o(3606),u=o(92603),z=o(77356),M=o(93281);function p(K,ee){for(var te=K<0?"-":"",pe=Math.abs(K).toString();pe.length0?pe:1-pe;return p("yy"===te?re%100:re,te.length)},__M=function(ee,te){var pe=ee.getUTCMonth();return"M"===te?String(pe+1):p(pe+1,2)},__d=function(ee,te){return p(ee.getUTCDate(),te.length)},__h=function(ee,te){return p(ee.getUTCHours()%12||12,te.length)},__H=function(ee,te){return p(ee.getUTCHours(),te.length)},__m=function(ee,te){return p(ee.getUTCMinutes(),te.length)},__s=function(ee,te){return p(ee.getUTCSeconds(),te.length)},__S=function(ee,te){var pe=te.length,re=ee.getUTCMilliseconds();return p(Math.floor(re*Math.pow(10,pe-3)),te.length)};function f(K,ee){var te=K>0?"-":"+",pe=Math.abs(K),re=Math.floor(pe/60),De=pe%60;if(0===De)return te+String(re);var ae=ee||"";return te+String(re)+ae+p(De,2)}function C(K,ee){return K%60==0?(K>0?"-":"+")+p(Math.abs(K)/60,2):T(K,ee)}function T(K,ee){var te=ee||"",pe=K>0?"-":"+",re=Math.abs(K);return pe+p(Math.floor(re/60),2)+te+p(re%60,2)}const b={G:function(ee,te,pe){var re=ee.getUTCFullYear()>0?1:0;switch(te){case"G":case"GG":case"GGG":return pe.era(re,{width:"abbreviated"});case"GGGGG":return pe.era(re,{width:"narrow"});default:return pe.era(re,{width:"wide"})}},y:function(ee,te,pe){if("yo"===te){var re=ee.getUTCFullYear();return pe.ordinalNumber(re>0?re:1-re,{unit:"year"})}return __y(ee,te)},Y:function(ee,te,pe,re){var De=(0,M.Z)(ee,re),ae=De>0?De:1-De;return"YY"===te?p(ae%100,2):"Yo"===te?pe.ordinalNumber(ae,{unit:"year"}):p(ae,te.length)},R:function(ee,te){return p((0,u.Z)(ee),te.length)},u:function(ee,te){return p(ee.getUTCFullYear(),te.length)},Q:function(ee,te,pe){var re=Math.ceil((ee.getUTCMonth()+1)/3);switch(te){case"Q":return String(re);case"QQ":return p(re,2);case"Qo":return pe.ordinalNumber(re,{unit:"quarter"});case"QQQ":return pe.quarter(re,{width:"abbreviated",context:"formatting"});case"QQQQQ":return pe.quarter(re,{width:"narrow",context:"formatting"});default:return pe.quarter(re,{width:"wide",context:"formatting"})}},q:function(ee,te,pe){var re=Math.ceil((ee.getUTCMonth()+1)/3);switch(te){case"q":return String(re);case"qq":return p(re,2);case"qo":return pe.ordinalNumber(re,{unit:"quarter"});case"qqq":return pe.quarter(re,{width:"abbreviated",context:"standalone"});case"qqqqq":return pe.quarter(re,{width:"narrow",context:"standalone"});default:return pe.quarter(re,{width:"wide",context:"standalone"})}},M:function(ee,te,pe){var re=ee.getUTCMonth();switch(te){case"M":case"MM":return __M(ee,te);case"Mo":return pe.ordinalNumber(re+1,{unit:"month"});case"MMM":return pe.month(re,{width:"abbreviated",context:"formatting"});case"MMMMM":return pe.month(re,{width:"narrow",context:"formatting"});default:return pe.month(re,{width:"wide",context:"formatting"})}},L:function(ee,te,pe){var re=ee.getUTCMonth();switch(te){case"L":return String(re+1);case"LL":return p(re+1,2);case"Lo":return pe.ordinalNumber(re+1,{unit:"month"});case"LLL":return pe.month(re,{width:"abbreviated",context:"standalone"});case"LLLLL":return pe.month(re,{width:"narrow",context:"standalone"});default:return pe.month(re,{width:"wide",context:"standalone"})}},w:function(ee,te,pe,re){var De=(0,z.Z)(ee,re);return"wo"===te?pe.ordinalNumber(De,{unit:"week"}):p(De,te.length)},I:function(ee,te,pe){var re=(0,E.Z)(ee);return"Io"===te?pe.ordinalNumber(re,{unit:"week"}):p(re,te.length)},d:function(ee,te,pe){return"do"===te?pe.ordinalNumber(ee.getUTCDate(),{unit:"date"}):__d(ee,te)},D:function(ee,te,pe){var re=function h(K){(0,i.Z)(1,arguments);var ee=(0,t.Z)(K),te=ee.getTime();ee.setUTCMonth(0,1),ee.setUTCHours(0,0,0,0);var pe=ee.getTime();return Math.floor((te-pe)/864e5)+1}(ee);return"Do"===te?pe.ordinalNumber(re,{unit:"dayOfYear"}):p(re,te.length)},E:function(ee,te,pe){var re=ee.getUTCDay();switch(te){case"E":case"EE":case"EEE":return pe.day(re,{width:"abbreviated",context:"formatting"});case"EEEEE":return pe.day(re,{width:"narrow",context:"formatting"});case"EEEEEE":return pe.day(re,{width:"short",context:"formatting"});default:return pe.day(re,{width:"wide",context:"formatting"})}},e:function(ee,te,pe,re){var De=ee.getUTCDay(),ae=(De-re.weekStartsOn+8)%7||7;switch(te){case"e":return String(ae);case"ee":return p(ae,2);case"eo":return pe.ordinalNumber(ae,{unit:"day"});case"eee":return pe.day(De,{width:"abbreviated",context:"formatting"});case"eeeee":return pe.day(De,{width:"narrow",context:"formatting"});case"eeeeee":return pe.day(De,{width:"short",context:"formatting"});default:return pe.day(De,{width:"wide",context:"formatting"})}},c:function(ee,te,pe,re){var De=ee.getUTCDay(),ae=(De-re.weekStartsOn+8)%7||7;switch(te){case"c":return String(ae);case"cc":return p(ae,te.length);case"co":return pe.ordinalNumber(ae,{unit:"day"});case"ccc":return pe.day(De,{width:"abbreviated",context:"standalone"});case"ccccc":return pe.day(De,{width:"narrow",context:"standalone"});case"cccccc":return pe.day(De,{width:"short",context:"standalone"});default:return pe.day(De,{width:"wide",context:"standalone"})}},i:function(ee,te,pe){var re=ee.getUTCDay(),De=0===re?7:re;switch(te){case"i":return String(De);case"ii":return p(De,te.length);case"io":return pe.ordinalNumber(De,{unit:"day"});case"iii":return pe.day(re,{width:"abbreviated",context:"formatting"});case"iiiii":return pe.day(re,{width:"narrow",context:"formatting"});case"iiiiii":return pe.day(re,{width:"short",context:"formatting"});default:return pe.day(re,{width:"wide",context:"formatting"})}},a:function(ee,te,pe){var De=ee.getUTCHours()/12>=1?"pm":"am";switch(te){case"a":case"aa":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"});case"aaa":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return pe.dayPeriod(De,{width:"narrow",context:"formatting"});default:return pe.dayPeriod(De,{width:"wide",context:"formatting"})}},b:function(ee,te,pe){var De,re=ee.getUTCHours();switch(De=12===re?"noon":0===re?"midnight":re/12>=1?"pm":"am",te){case"b":case"bb":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"});case"bbb":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return pe.dayPeriod(De,{width:"narrow",context:"formatting"});default:return pe.dayPeriod(De,{width:"wide",context:"formatting"})}},B:function(ee,te,pe){var De,re=ee.getUTCHours();switch(De=re>=17?"evening":re>=12?"afternoon":re>=4?"morning":"night",te){case"B":case"BB":case"BBB":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"});case"BBBBB":return pe.dayPeriod(De,{width:"narrow",context:"formatting"});default:return pe.dayPeriod(De,{width:"wide",context:"formatting"})}},h:function(ee,te,pe){if("ho"===te){var re=ee.getUTCHours()%12;return 0===re&&(re=12),pe.ordinalNumber(re,{unit:"hour"})}return __h(ee,te)},H:function(ee,te,pe){return"Ho"===te?pe.ordinalNumber(ee.getUTCHours(),{unit:"hour"}):__H(ee,te)},K:function(ee,te,pe){var re=ee.getUTCHours()%12;return"Ko"===te?pe.ordinalNumber(re,{unit:"hour"}):p(re,te.length)},k:function(ee,te,pe){var re=ee.getUTCHours();return 0===re&&(re=24),"ko"===te?pe.ordinalNumber(re,{unit:"hour"}):p(re,te.length)},m:function(ee,te,pe){return"mo"===te?pe.ordinalNumber(ee.getUTCMinutes(),{unit:"minute"}):__m(ee,te)},s:function(ee,te,pe){return"so"===te?pe.ordinalNumber(ee.getUTCSeconds(),{unit:"second"}):__s(ee,te)},S:function(ee,te){return __S(ee,te)},X:function(ee,te,pe,re){var ae=(re._originalDate||ee).getTimezoneOffset();if(0===ae)return"Z";switch(te){case"X":return C(ae);case"XXXX":case"XX":return T(ae);default:return T(ae,":")}},x:function(ee,te,pe,re){var ae=(re._originalDate||ee).getTimezoneOffset();switch(te){case"x":return C(ae);case"xxxx":case"xx":return T(ae);default:return T(ae,":")}},O:function(ee,te,pe,re){var ae=(re._originalDate||ee).getTimezoneOffset();switch(te){case"O":case"OO":case"OOO":return"GMT"+f(ae,":");default:return"GMT"+T(ae,":")}},z:function(ee,te,pe,re){var ae=(re._originalDate||ee).getTimezoneOffset();switch(te){case"z":case"zz":case"zzz":return"GMT"+f(ae,":");default:return"GMT"+T(ae,":")}},t:function(ee,te,pe,re){return p(Math.floor((re._originalDate||ee).getTime()/1e3),te.length)},T:function(ee,te,pe,re){return p((re._originalDate||ee).getTime(),te.length)}};var D=o(3001),y=o(45351),P=o(32566),S=o(96156),A=o(5227),k=o(46719),R=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j=/^'([^]*?)'?$/,ze=/''/g,Y=/[a-zA-Z]/;function G(K,ee,te){var pe,re,De,ae,ce,X,ne,le,Se,Ne,ke,oe,_e,Q,He,Re,lt,Pe;(0,i.Z)(2,arguments);var xt=String(ee),$e=(0,A.j)(),ot=null!==(pe=null!==(re=te?.locale)&&void 0!==re?re:$e.locale)&&void 0!==pe?pe:k.Z,mt=(0,S.Z)(null!==(De=null!==(ae=null!==(ce=null!==(X=te?.firstWeekContainsDate)&&void 0!==X?X:null==te||null===(ne=te.locale)||void 0===ne||null===(le=ne.options)||void 0===le?void 0:le.firstWeekContainsDate)&&void 0!==ce?ce:$e.firstWeekContainsDate)&&void 0!==ae?ae:null===(Se=$e.locale)||void 0===Se||null===(Ne=Se.options)||void 0===Ne?void 0:Ne.firstWeekContainsDate)&&void 0!==De?De:1);if(!(mt>=1&&mt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var we=(0,S.Z)(null!==(ke=null!==(oe=null!==(_e=null!==(Q=te?.weekStartsOn)&&void 0!==Q?Q:null==te||null===(He=te.locale)||void 0===He||null===(Re=He.options)||void 0===Re?void 0:Re.weekStartsOn)&&void 0!==_e?_e:$e.weekStartsOn)&&void 0!==oe?oe:null===(lt=$e.locale)||void 0===lt||null===(Pe=lt.options)||void 0===Pe?void 0:Pe.weekStartsOn)&&void 0!==ke?ke:0);if(!(we>=0&&we<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!ot.localize)throw new RangeError("locale must contain localize property");if(!ot.formatLong)throw new RangeError("locale must contain formatLong property");var de=(0,t.Z)(K);if(!(0,e.Z)(de))throw new RangeError("Invalid time value");var U=(0,y.Z)(de),B=(0,n.Z)(de,U),Me={firstWeekContainsDate:mt,weekStartsOn:we,locale:ot,_originalDate:de},Ae=xt.match(W).map(function(Le){var ht=Le[0];return"p"===ht||"P"===ht?(0,D.Z[ht])(Le,ot.formatLong):Le}).join("").match(R).map(function(Le){if("''"===Le)return"'";var ht=Le[0];if("'"===ht)return function V(K){var ee=K.match(j);return ee?ee[1].replace(ze,"'"):K}(Le);var Ot=b[ht];if(Ot)return!(null!=te&&te.useAdditionalWeekYearTokens)&&(0,P.Do)(Le)&&(0,P.qp)(Le,ee,String(K)),!(null!=te&&te.useAdditionalDayOfYearTokens)&&(0,P.Iu)(Le)&&(0,P.qp)(Le,ee,String(K)),Ot(B,Le,ot.localize,Me);if(ht.match(Y))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ht+"`");return Le}).join("");return Ae}},53770:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>T});var e=o(5227),n=o(40581),t=o(62816);function i(b,D){(0,t.Z)(2,arguments);var y=(0,n.Z)(b),P=(0,n.Z)(D),S=y.getTime()-P.getTime();return S<0?-1:S>0?1:S}var l=o(80275),h=o(80787),u=o(13061),z=o(46719),M=o(48292),v=o(45351),_=1440,d=2520,m=43200,f=86400;function T(b,D){return(0,t.Z)(1,arguments),function C(b,D,y){var P,S;(0,t.Z)(2,arguments);var A=(0,e.j)(),k=null!==(P=null!==(S=y?.locale)&&void 0!==S?S:A.locale)&&void 0!==P?P:z.Z;if(!k.formatDistance)throw new RangeError("locale must contain formatDistance property");var R=i(b,D);if(isNaN(R))throw new RangeError("Invalid time value");var j,ze,W=(0,M.Z)(function p(b){return(0,M.Z)({},b)}(y),{addSuffix:!!y?.addSuffix,comparison:R});R>0?(j=(0,n.Z)(D),ze=(0,n.Z)(b)):(j=(0,n.Z)(b),ze=(0,n.Z)(D));var K,Y=(0,u.Z)(ze,j),G=((0,v.Z)(ze)-(0,v.Z)(j))/1e3,V=Math.round((Y-G)/60);if(V<2)return null!=y&&y.includeSeconds?Y<5?k.formatDistance("lessThanXSeconds",5,W):Y<10?k.formatDistance("lessThanXSeconds",10,W):Y<20?k.formatDistance("lessThanXSeconds",20,W):Y<40?k.formatDistance("halfAMinute",0,W):k.formatDistance(Y<60?"lessThanXMinutes":"xMinutes",1,W):0===V?k.formatDistance("lessThanXMinutes",1,W):k.formatDistance("xMinutes",V,W);if(V<45)return k.formatDistance("xMinutes",V,W);if(V<90)return k.formatDistance("aboutXHours",1,W);if(V<_){var ee=Math.round(V/60);return k.formatDistance("aboutXHours",ee,W)}if(V27&&y.setDate(30),y.setMonth(y.getMonth()-S*A);var R=i(y,P)===-S;(0,h.Z)((0,n.Z)(b))&&1===A&&1===i(b,P)&&(R=!1),k=S*(A-Number(R))}return 0===k?0:k}(ze,j),K<12){var pe=Math.round(V/m);return k.formatDistance("xMonths",pe,W)}var re=K%12,De=Math.floor(K/12);return re<3?k.formatDistance("aboutXYears",De,W):re<9?k.formatDistance("overXYears",De,W):k.formatDistance("almostXYears",De+1,W)}(b,Date.now(),D)}},80787:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(40581),n=o(85134),t=o(92682),i=o(62816);function l(h){(0,i.Z)(1,arguments);var E=(0,e.Z)(h);return(0,n.Z)(E).getTime()===(0,t.Z)(E).getTime()}},34338:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(71002),n=o(62816),i=o(40581);function l(h){if((0,n.Z)(1,arguments),!function t(h){return(0,n.Z)(1,arguments),h instanceof Date||"object"===(0,e.Z)(h)&&"[object Date]"===Object.prototype.toString.call(h)}(h)&&"number"!=typeof h)return!1;var E=(0,i.Z)(h);return!isNaN(Number(E))}},80356:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>ve});var e=o(71002);function n(x,N){(null==N||N>x.length)&&(N=x.length);for(var O=0,$=new Array(N);O=x.length?{done:!0}:{done:!1,value:x[$++]}},e:function(rn){throw rn},f:L}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Dt,he=!0,Ce=!1;return{s:function(){O=O.call(x)},n:function(){var rn=O.next();return he=rn.done,rn},e:function(rn){Ce=!0,Dt=rn},f:function(){try{!he&&null!=O.return&&O.return()}finally{if(Ce)throw Dt}}}}var l=o(46719),h=o(73492),E=o(40581),u=o(48292),z=o(3001),M=o(45351),p=o(32566),v=o(96156),_=o(62816);function d(x){if(void 0===x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function m(x,N){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function($,L){return $.__proto__=L,$})(x,N)}function f(x,N){if("function"!=typeof N&&null!==N)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(N&&N.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),Object.defineProperty(x,"prototype",{writable:!1}),N&&m(x,N)}function C(x){return(C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(O){return O.__proto__||Object.getPrototypeOf(O)})(x)}function D(x){var N=function T(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var L,$=C(x);if(N){var he=C(this).constructor;L=Reflect.construct($,arguments,he)}else L=$.apply(this,arguments);return function b(x,N){if(N&&("object"===(0,e.Z)(N)||"function"==typeof N))return N;if(void 0!==N)throw new TypeError("Derived constructors may only return object or undefined");return d(x)}(this,L)}}function y(x,N){if(!(x instanceof N))throw new TypeError("Cannot call a class as a function")}function S(x){var N=function P(x,N){if("object"!==(0,e.Z)(x)||null===x)return x;var O=x[Symbol.toPrimitive];if(void 0!==O){var $=O.call(x,N||"default");if("object"!==(0,e.Z)($))return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===N?String:Number)(x)}(x,"string");return"symbol"===(0,e.Z)(N)?N:String(N)}function A(x,N){for(var O=0;O0,$=O?N:1-N;if($<=50)L=x||100;else{var he=$+50;L=x+100*Math.floor(he/100)-(x>=he%100?100:0)}return O?L:1-L}function Se(x){return x%400==0||x%4==0&&x%100!=0}var Ne=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce0}},{key:"set",value:function(L,he,Ce){var Dt=L.getUTCFullYear();if(Ce.isTwoDigitYear){var Yt=le(Ce.year,Dt);return L.setUTCFullYear(Yt,0,1),L.setUTCHours(0,0,0,0),L}return L.setUTCFullYear("era"in he&&1!==he.era?1-Ce.year:Ce.year,0,1),L.setUTCHours(0,0,0,0),L}}]),O}(G),ke=o(93281),oe=o(5163),_e=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce0}},{key:"set",value:function(L,he,Ce,Dt){var Yt=(0,ke.Z)(L,Dt);if(Ce.isTwoDigitYear){var rn=le(Ce.year,Yt);return L.setUTCFullYear(rn,0,Dt.firstWeekContainsDate),L.setUTCHours(0,0,0,0),(0,oe.Z)(L,Dt)}return L.setUTCFullYear("era"in he&&1!==he.era?1-Ce.year:Ce.year,0,Dt.firstWeekContainsDate),L.setUTCHours(0,0,0,0),(0,oe.Z)(L,Dt)}}]),O}(G),Q=o(29307),He=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=4}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(3*(Ce-1),1),L.setUTCHours(0,0,0,0),L}}]),O}(G),Pe=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=4}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(3*(Ce-1),1),L.setUTCHours(0,0,0,0),L}}]),O}(G),xt=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=11}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(Ce,1),L.setUTCHours(0,0,0,0),L}}]),O}(G),$e=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=11}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(Ce,1),L.setUTCHours(0,0,0,0),L}}]),O}(G),ot=o(77356),we=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=53}},{key:"set",value:function(L,he,Ce,Dt){return(0,oe.Z)(function mt(x,N,O){(0,_.Z)(2,arguments);var $=(0,E.Z)(x),L=(0,v.Z)(N),he=(0,ot.Z)($,O)-L;return $.setUTCDate($.getUTCDate()-7*he),$}(L,Ce,Dt),Dt)}}]),O}(G),de=o(3606),B=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=53}},{key:"set",value:function(L,he,Ce){return(0,Q.Z)(function U(x,N){(0,_.Z)(2,arguments);var O=(0,E.Z)(x),$=(0,v.Z)(N),L=(0,de.Z)(O)-$;return O.setUTCDate(O.getUTCDate()-7*L),O}(L,Ce))}}]),O}(G),Me=[31,28,31,30,31,30,31,31,30,31,30,31],Ae=[31,29,31,30,31,30,31,31,30,31,30,31],Le=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=Ae[Yt]:he>=1&&he<=Me[Yt]}},{key:"set",value:function(L,he,Ce){return L.setUTCDate(Ce),L.setUTCHours(0,0,0,0),L}}]),O}(G),ht=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=366:he>=1&&he<=365}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(0,Ce),L.setUTCHours(0,0,0,0),L}}]),O}(G),Ot=o(5227);function Lt(x,N,O){var $,L,he,Ce,Dt,Yt,rn,hn;(0,_.Z)(2,arguments);var yn=(0,Ot.j)(),Mn=(0,v.Z)(null!==($=null!==(L=null!==(he=null!==(Ce=O?.weekStartsOn)&&void 0!==Ce?Ce:null==O||null===(Dt=O.locale)||void 0===Dt||null===(Yt=Dt.options)||void 0===Yt?void 0:Yt.weekStartsOn)&&void 0!==he?he:yn.weekStartsOn)&&void 0!==L?L:null===(rn=yn.locale)||void 0===rn||null===(hn=rn.options)||void 0===hn?void 0:hn.weekStartsOn)&&void 0!==$?$:0);if(!(Mn>=0&&Mn<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var En=(0,E.Z)(x),Dn=(0,v.Z)(N),ii=((Dn%7+7)%7=0&&he<=6}},{key:"set",value:function(L,he,Ce,Dt){return(L=Lt(L,Ce,Dt)).setUTCHours(0,0,0,0),L}}]),O}(G),qt=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=6}},{key:"set",value:function(L,he,Ce,Dt){return(L=Lt(L,Ce,Dt)).setUTCHours(0,0,0,0),L}}]),O}(G),en=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=6}},{key:"set",value:function(L,he,Ce,Dt){return(L=Lt(L,Ce,Dt)).setUTCHours(0,0,0,0),L}}]),O}(G),cn=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=7}},{key:"set",value:function(L,he,Ce){return L=function Vt(x,N){(0,_.Z)(2,arguments);var O=(0,v.Z)(N);O%7==0&&(O-=7);var L=(0,E.Z)(x),Yt=((O%7+7)%7<1?7:0)+O-L.getUTCDay();return L.setUTCDate(L.getUTCDate()+Yt),L}(L,Ce),L.setUTCHours(0,0,0,0),L}}]),O}(G),ft=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=12}},{key:"set",value:function(L,he,Ce){var Dt=L.getUTCHours()>=12;return L.setUTCHours(Dt&&Ce<12?Ce+12:Dt||12!==Ce?Ce:0,0,0,0),L}}]),O}(G),Nt=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=23}},{key:"set",value:function(L,he,Ce){return L.setUTCHours(Ce,0,0,0),L}}]),O}(G),kt=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=11}},{key:"set",value:function(L,he,Ce){var Dt=L.getUTCHours()>=12;return L.setUTCHours(Dt&&Ce<12?Ce+12:Ce,0,0,0),L}}]),O}(G),St=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=24}},{key:"set",value:function(L,he,Ce){return L.setUTCHours(Ce<=24?Ce%24:Ce,0,0,0),L}}]),O}(G),qe=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=59}},{key:"set",value:function(L,he,Ce){return L.setUTCMinutes(Ce,0,0),L}}]),O}(G),Fe=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=59}},{key:"set",value:function(L,he,Ce){return L.setUTCSeconds(Ce,0),L}}]),O}(G),fe=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&li<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var fi=(0,v.Z)(null!==(Dn=null!==(xn=null!==(Ln=null!==(ei=$?.weekStartsOn)&&void 0!==ei?ei:null==$||null===(ii=$.locale)||void 0===ii||null===(Hn=ii.options)||void 0===Hn?void 0:Hn.weekStartsOn)&&void 0!==Ln?Ln:hi.weekStartsOn)&&void 0!==xn?xn:null===(di=hi.locale)||void 0===di||null===(oi=di.options)||void 0===oi?void 0:oi.weekStartsOn)&&void 0!==Dn?Dn:0);if(!(fi>=0&&fi<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===ri)return""===ai?(0,E.Z)(O):new Date(NaN);var $i,to={firstWeekContainsDate:li,weekStartsOn:fi,locale:Ti},oo=[new Y],Zi=ri.match(Ee).map(function(ni){var Vn=ni[0];return Vn in z.Z?(0,z.Z[Vn])(ni,Ti.formatLong):ni}).join("").match(wt),Ni=[],ki=i(Zi);try{var no=function(){var Vn=$i.value;!(null!=$&&$.useAdditionalWeekYearTokens)&&(0,p.Do)(Vn)&&(0,p.qp)(Vn,ri,x),(null==$||!$.useAdditionalDayOfYearTokens)&&(0,p.Iu)(Vn)&&(0,p.qp)(Vn,ri,x);var Mt=Vn[0],gn=We[Mt];if(gn){var rt=gn.incompatibleTokens;if(Array.isArray(rt)){var zt=Ni.find(function(Xt){return rt.includes(Xt.token)||Xt.token===Mt});if(zt)throw new RangeError("The format string mustn't contain `".concat(zt.fullToken,"` and `").concat(Vn,"` at the same time"))}else if("*"===gn.incompatibleTokens&&Ni.length>0)throw new RangeError("The format string mustn't contain `".concat(Vn,"` and any other token at the same time"));Ni.push({token:Mt,fullToken:Vn});var It=gn.run(ai,Vn,Ti.match,to);if(!It)return{v:new Date(NaN)};oo.push(It.setter),ai=It.rest}else{if(Mt.match(Ze))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Mt+"`");if("''"===Vn?Vn="'":"'"===Mt&&(Vn=function nt(x){return x.match(be)[1].replace(Qe,"'")}(Vn)),0!==ai.indexOf(Vn))return{v:new Date(NaN)};ai=ai.slice(Vn.length)}};for(ki.s();!($i=ki.n()).done;){var Eo=no();if("object"===(0,e.Z)(Eo))return Eo.v}}catch(ni){ki.e(ni)}finally{ki.f()}if(ai.length>0&&Ke.test(ai))return new Date(NaN);var wi=oo.map(function(ni){return ni.priority}).sort(function(ni,Vn){return Vn-ni}).filter(function(ni,Vn,Mt){return Mt.indexOf(ni)===Vn}).map(function(ni){return oo.filter(function(Vn){return Vn.priority===ni}).sort(function(Vn,Mt){return Mt.subPriority-Vn.subPriority})}).map(function(ni){return ni[0]}),Ji=(0,E.Z)(O);if(isNaN(Ji.getTime()))return new Date(NaN);var bi,Di=(0,h.Z)(Ji,(0,M.Z)(Ji)),Wi={},Xi=i(wi);try{for(Xi.s();!(bi=Xi.n()).done;){var Ri=bi.value;if(!Ri.validate(Di,to))return new Date(NaN);var Pi=Ri.set(Di,Wi,to);Array.isArray(Pi)?(Di=Pi[0],(0,u.Z)(Wi,Pi[1])):Di=Pi}}catch(ni){Xi.e(ni)}finally{Xi.f()}return Di}},79189:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=(0,e.Z)(i);return l.setHours(0,0,0,0),l}},47680:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=(0,e.Z)(i);return l.setDate(1),l.setHours(0,0,0,0),l}},97753:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(40581),n=o(96156),t=o(62816),i=o(5227);function l(h,E){var u,z,M,p,v,_,d,m;(0,t.Z)(1,arguments);var f=(0,i.j)(),C=(0,n.Z)(null!==(u=null!==(z=null!==(M=null!==(p=E?.weekStartsOn)&&void 0!==p?p:null==E||null===(v=E.locale)||void 0===v||null===(_=v.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==M?M:f.weekStartsOn)&&void 0!==z?z:null===(d=f.locale)||void 0===d||null===(m=d.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==u?u:0);if(!(C>=0&&C<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var T=(0,e.Z)(h),b=T.getDay(),D=(b{"use strict";o.d(I,{Z:()=>i});var e=o(640),n=o(62816),t=o(96156);function i(l,h){(0,n.Z)(2,arguments);var E=(0,t.Z)(h);return(0,e.Z)(l,-E)}},76962:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(96156),n=o(68584),t=o(62816);function l(h,E){return(0,t.Z)(2,arguments),function i(h,E){(0,t.Z)(2,arguments);var u=(0,e.Z)(E);return(0,n.Z)(h,7*u)}(h,-(0,e.Z)(E))}},40581:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(71002),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=Object.prototype.toString.call(i);return i instanceof Date||"object"===(0,e.Z)(i)&&"[object Date]"===l?new Date(i.getTime()):"number"==typeof i||"[object Number]"===l?new Date(i):(("string"==typeof i||"[object String]"===l)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},15377:tt=>{"use strict";var I=Object.prototype.hasOwnProperty,o=Object.prototype.toString,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,t=function(u){return"function"==typeof Array.isArray?Array.isArray(u):"[object Array]"===o.call(u)},i=function(u){if(!u||"[object Object]"!==o.call(u))return!1;var p,z=I.call(u,"constructor"),M=u.constructor&&u.constructor.prototype&&I.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!z&&!M)return!1;for(p in u);return typeof p>"u"||I.call(u,p)},l=function(u,z){e&&"__proto__"===z.name?e(u,z.name,{enumerable:!0,configurable:!0,value:z.newValue,writable:!0}):u[z.name]=z.newValue},h=function(u,z){if("__proto__"===z){if(!I.call(u,z))return;if(n)return n(u,z).value}return u[z]};tt.exports=function E(){var u,z,M,p,v,_,d=arguments[0],m=1,f=arguments.length,C=!1;for("boolean"==typeof d&&(C=d,d=arguments[1]||{},m=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});m{"use strict";tt.exports=function I(o,e){if(o===e)return!0;if(o&&e&&"object"==typeof o&&"object"==typeof e){if(o.constructor!==e.constructor)return!1;var n,t,i;if(Array.isArray(o)){if((n=o.length)!=e.length)return!1;for(t=n;0!=t--;)if(!I(o[t],e[t]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===e.toString();if((n=(i=Object.keys(o)).length)!==Object.keys(e).length)return!1;for(t=n;0!=t--;)if(!Object.prototype.hasOwnProperty.call(e,i[t]))return!1;for(t=n;0!=t--;){var l=i[t];if(!I(o[l],e[l]))return!1}return!0}return o!=o&&e!=e}},10217:function(tt,I){var o,n;void 0!==(n="function"==typeof(o=function(){"use strict";function i(M,p,v){var _=new XMLHttpRequest;_.open("GET",M),_.responseType="blob",_.onload=function(){z(_.response,p,v)},_.onerror=function(){console.error("could not download file")},_.send()}function l(M){var p=new XMLHttpRequest;p.open("HEAD",M,!1);try{p.send()}catch{}return 200<=p.status&&299>=p.status}function h(M){try{M.dispatchEvent(new MouseEvent("click"))}catch{var p=document.createEvent("MouseEvents");p.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),M.dispatchEvent(p)}}var E="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,u=E.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),z=E.saveAs||("object"!=typeof window||window!==E?function(){}:"download"in HTMLAnchorElement.prototype&&!u?function(M,p,v){var _=E.URL||E.webkitURL,d=document.createElement("a");d.download=p=p||M.name||"download",d.rel="noopener","string"==typeof M?(d.href=M,d.origin===location.origin?h(d):l(d.href)?i(M,p,v):h(d,d.target="_blank")):(d.href=_.createObjectURL(M),setTimeout(function(){_.revokeObjectURL(d.href)},4e4),setTimeout(function(){h(d)},0))}:"msSaveOrOpenBlob"in navigator?function(M,p,v){if(p=p||M.name||"download","string"!=typeof M)navigator.msSaveOrOpenBlob(function t(M,p){return typeof p>"u"?p={autoBom:!1}:"object"!=typeof p&&(console.warn("Deprecated: Expected third argument to be a object"),p={autoBom:!p}),p.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(M.type)?new Blob(["\ufeff",M],{type:M.type}):M}(M,v),p);else if(l(M))i(M,p,v);else{var _=document.createElement("a");_.href=M,_.target="_blank",setTimeout(function(){h(_)})}}:function(M,p,v,_){if((_=_||open("","_blank"))&&(_.document.title=_.document.body.innerText="downloading..."),"string"==typeof M)return i(M,p,v);var d="application/octet-stream"===M.type,m=/constructor/i.test(E.HTMLElement)||E.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||d&&m||u)&&typeof FileReader<"u"){var C=new FileReader;C.onloadend=function(){var D=C.result;D=f?D:D.replace(/^data:[^;]*;/,"data:attachment/file;"),_?_.location.href=D:location=D,_=null},C.readAsDataURL(M)}else{var T=E.URL||E.webkitURL,b=T.createObjectURL(M);_?_.location=b:location.href=b,_=null,setTimeout(function(){T.revokeObjectURL(b)},4e4)}});E.saveAs=z.saveAs=z,tt.exports=z})?o.apply(I,[]):o)&&(tt.exports=n)},37037:tt=>{"use strict";var I=tt.exports=function(n,t,i){"function"==typeof t&&(i=t,t={}),o(t,"function"==typeof(i=t.cb||i)?i:i.pre||function(){},i.post||function(){},n,"",n)};function o(n,t,i,l,h,E,u,z,M,p){if(l&&"object"==typeof l&&!Array.isArray(l)){for(var v in t(l,h,E,u,z,M,p),l){var _=l[v];if(Array.isArray(_)){if(v in I.arrayKeywords)for(var d=0;d<_.length;d++)o(n,t,i,_[d],h+"/"+v+"/"+d,E,h,v,l,d)}else if(v in I.propsKeywords){if(_&&"object"==typeof _)for(var m in _)o(n,t,i,_[m],h+"/"+v+"/"+e(m),E,h,v,l,m)}else(v in I.keywords||n.allKeys&&!(v in I.skipKeywords))&&o(n,t,i,_,h+"/"+v,E,h,v,l)}i(l,h,E,u,z,M,p)}}function e(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}I.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},I.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},I.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},I.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},17167:(tt,I,o)=>{var e,n=function(){var t=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",h={};function E(z,M){if(!h[z]){h[z]={};for(var p=0;p>>8,p[2*v+1]=d%256}return p},decompressFromUint8Array:function(z){if(null==z)return u.decompress(z);for(var M=new Array(z.length/2),p=0,v=M.length;p>=1}else{for(_=1,v=0;v>=1}0==--b&&(b=Math.pow(2,y),y++),delete m[T]}else for(_=d[T],v=0;v>=1;0==--b&&(b=Math.pow(2,y),y++),d[C]=D++,T=String(f)}if(""!==T){if(Object.prototype.hasOwnProperty.call(m,T)){if(T.charCodeAt(0)<256){for(v=0;v>=1}else{for(_=1,v=0;v>=1}0==--b&&(b=Math.pow(2,y),y++),delete m[T]}else for(_=d[T],v=0;v>=1;0==--b&&(b=Math.pow(2,y),y++)}for(_=2,v=0;v>=1;for(;;){if(S<<=1,A==M-1){P.push(p(S));break}A++}return P.join("")},decompress:function(z){return null==z?"":""==z?null:u._decompress(z.length,32768,function(M){return z.charCodeAt(M)})},_decompress:function(z,M,p){var b,D,y,P,S,A,k,v=[],d=4,m=4,f=3,C="",T=[],R={val:p(0),position:M,index:1};for(b=0;b<3;b+=1)v[b]=b;for(y=0,S=Math.pow(2,2),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;switch(y){case 0:for(y=0,S=Math.pow(2,8),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;k=t(y);break;case 1:for(y=0,S=Math.pow(2,16),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;k=t(y);break;case 2:return""}for(v[3]=k,D=k,T.push(k);;){if(R.index>z)return"";for(y=0,S=Math.pow(2,f),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;switch(k=y){case 0:for(y=0,S=Math.pow(2,8),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;v[m++]=t(y),k=m-1,d--;break;case 1:for(y=0,S=Math.pow(2,16),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;v[m++]=t(y),k=m-1,d--;break;case 2:return T.join("")}if(0==d&&(d=Math.pow(2,f),f++),v[k])C=v[k];else{if(k!==m)return null;C=D+D.charAt(0)}T.push(C),v[m++]=D+C.charAt(0),D=C,0==--d&&(d=Math.pow(2,f),f++)}}};return u}();void 0!==(e=function(){return n}.call(I,o,I,tt))&&(tt.exports=e)},65619:(tt,I,o)=>{"use strict";o.d(I,{X:()=>n});var e=o(78645);class n extends e.x{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){const l=super._subscribe(i);return!l.closed&&i.next(this._value),l}getValue(){const{hasError:i,thrownError:l,_value:h}=this;if(i)throw l;return this._throwIfClosed(),h}next(i){super.next(this._value=i)}}},65592:(tt,I,o)=>{"use strict";o.d(I,{y:()=>u});var e=o(80305),n=o(47394),t=o(14850),i=o(88407),l=o(82653),h=o(84674),E=o(81441);let u=(()=>{class v{constructor(d){d&&(this._subscribe=d)}lift(d){const m=new v;return m.source=this,m.operator=d,m}subscribe(d,m,f){const C=function p(v){return v&&v instanceof e.Lv||function M(v){return v&&(0,h.m)(v.next)&&(0,h.m)(v.error)&&(0,h.m)(v.complete)}(v)&&(0,n.Nn)(v)}(d)?d:new e.Hp(d,m,f);return(0,E.x)(()=>{const{operator:T,source:b}=this;C.add(T?T.call(C,b):b?this._subscribe(C):this._trySubscribe(C))}),C}_trySubscribe(d){try{return this._subscribe(d)}catch(m){d.error(m)}}forEach(d,m){return new(m=z(m))((f,C)=>{const T=new e.Hp({next:b=>{try{d(b)}catch(D){C(D),T.unsubscribe()}},error:C,complete:f});this.subscribe(T)})}_subscribe(d){var m;return null===(m=this.source)||void 0===m?void 0:m.subscribe(d)}[t.L](){return this}pipe(...d){return(0,i.U)(d)(this)}toPromise(d){return new(d=z(d))((m,f)=>{let C;this.subscribe(T=>C=T,T=>f(T),()=>m(C))})}}return v.create=_=>new v(_),v})();function z(v){var _;return null!==(_=v??l.config.Promise)&&void 0!==_?_:Promise}},97328:(tt,I,o)=>{"use strict";o.d(I,{t:()=>t});var e=o(78645),n=o(84552);class t extends e.x{constructor(l=1/0,h=1/0,E=n.l){super(),this._bufferSize=l,this._windowTime=h,this._timestampProvider=E,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=h===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,h)}next(l){const{isStopped:h,_buffer:E,_infiniteTimeWindow:u,_timestampProvider:z,_windowTime:M}=this;h||(E.push(l),!u&&E.push(z.now()+M)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const h=this._innerSubscribe(l),{_infiniteTimeWindow:E,_buffer:u}=this,z=u.slice();for(let M=0;M{"use strict";o.d(I,{x:()=>E});var e=o(65592),n=o(47394);const i=(0,o(82306).d)(z=>function(){z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=o(49039),h=o(81441);let E=(()=>{class z extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const v=new u(this,this);return v.operator=p,v}_throwIfClosed(){if(this.closed)throw new i}next(p){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const v of this.currentObservers)v.next(p)}})}error(p){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:v}=this;for(;v.length;)v.shift().error(p)}})}complete(){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:p}=this;for(;p.length;)p.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}_trySubscribe(p){return this._throwIfClosed(),super._trySubscribe(p)}_subscribe(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}_innerSubscribe(p){const{hasError:v,isStopped:_,observers:d}=this;return v||_?n.Lc:(this.currentObservers=null,d.push(p),new n.w0(()=>{this.currentObservers=null,(0,l.P)(d,p)}))}_checkFinalizedStatuses(p){const{hasError:v,thrownError:_,isStopped:d}=this;v?p.error(_):d&&p.complete()}asObservable(){const p=new e.y;return p.source=this,p}}return z.create=(M,p)=>new u(M,p),z})();class u extends E{constructor(M,p){super(),this.destination=M,this.source=p}next(M){var p,v;null===(v=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===v||v.call(p,M)}error(M){var p,v;null===(v=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===v||v.call(p,M)}complete(){var M,p;null===(p=null===(M=this.destination)||void 0===M?void 0:M.complete)||void 0===p||p.call(M)}_subscribe(M){var p,v;return null!==(v=null===(p=this.source)||void 0===p?void 0:p.subscribe(M))&&void 0!==v?v:n.Lc}}},80305:(tt,I,o)=>{"use strict";o.d(I,{Hp:()=>f,Lv:()=>v});var e=o(84674),n=o(47394),t=o(82653),i=o(93894),l=o(72420);const h=z("C",void 0,void 0);function z(y,P,S){return{kind:y,value:P,error:S}}var M=o(87599),p=o(81441);class v extends n.w0{constructor(P){super(),this.isStopped=!1,P?(this.destination=P,(0,n.Nn)(P)&&P.add(this)):this.destination=D}static create(P,S,A){return new f(P,S,A)}next(P){this.isStopped?b(function u(y){return z("N",y,void 0)}(P),this):this._next(P)}error(P){this.isStopped?b(function E(y){return z("E",void 0,y)}(P),this):(this.isStopped=!0,this._error(P))}complete(){this.isStopped?b(h,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(P){this.destination.next(P)}_error(P){try{this.destination.error(P)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _=Function.prototype.bind;function d(y,P){return _.call(y,P)}class m{constructor(P){this.partialObserver=P}next(P){const{partialObserver:S}=this;if(S.next)try{S.next(P)}catch(A){C(A)}}error(P){const{partialObserver:S}=this;if(S.error)try{S.error(P)}catch(A){C(A)}else C(P)}complete(){const{partialObserver:P}=this;if(P.complete)try{P.complete()}catch(S){C(S)}}}class f extends v{constructor(P,S,A){let k;if(super(),(0,e.m)(P)||!P)k={next:P??void 0,error:S??void 0,complete:A??void 0};else{let R;this&&t.config.useDeprecatedNextContext?(R=Object.create(P),R.unsubscribe=()=>this.unsubscribe(),k={next:P.next&&d(P.next,R),error:P.error&&d(P.error,R),complete:P.complete&&d(P.complete,R)}):k=P}this.destination=new m(k)}}function C(y){t.config.useDeprecatedSynchronousErrorHandling?(0,p.O)(y):(0,i.h)(y)}function b(y,P){const{onStoppedNotification:S}=t.config;S&&M.z.setTimeout(()=>S(y,P))}const D={closed:!0,next:l.Z,error:function T(y){throw y},complete:l.Z}},47394:(tt,I,o)=>{"use strict";o.d(I,{Lc:()=>h,w0:()=>l,Nn:()=>E});var e=o(84674);const t=(0,o(82306).d)(z=>function(p){z(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((v,_)=>`${_+1}) ${v.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var i=o(49039);class l{constructor(M){this.initialTeardown=M,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let M;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const d of p)d.remove(this);else p.remove(this);const{initialTeardown:v}=this;if((0,e.m)(v))try{v()}catch(d){M=d instanceof t?d.errors:[d]}const{_finalizers:_}=this;if(_){this._finalizers=null;for(const d of _)try{u(d)}catch(m){M=M??[],m instanceof t?M=[...M,...m.errors]:M.push(m)}}if(M)throw new t(M)}}add(M){var p;if(M&&M!==this)if(this.closed)u(M);else{if(M instanceof l){if(M.closed||M._hasParent(this))return;M._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(M)}}_hasParent(M){const{_parentage:p}=this;return p===M||Array.isArray(p)&&p.includes(M)}_addParent(M){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(M),p):p?[p,M]:M}_removeParent(M){const{_parentage:p}=this;p===M?this._parentage=null:Array.isArray(p)&&(0,i.P)(p,M)}remove(M){const{_finalizers:p}=this;p&&(0,i.P)(p,M),M instanceof l&&M._removeParent(this)}}l.EMPTY=(()=>{const z=new l;return z.closed=!0,z})();const h=l.EMPTY;function E(z){return z instanceof l||z&&"closed"in z&&(0,e.m)(z.remove)&&(0,e.m)(z.add)&&(0,e.m)(z.unsubscribe)}function u(z){(0,e.m)(z)?z():z.unsubscribe()}},82653:(tt,I,o)=>{"use strict";o.d(I,{config:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},93168:(tt,I,o)=>{"use strict";o.d(I,{c:()=>h});var e=o(65592),n=o(47394),t=o(66196),i=o(8251),l=o(79360);class h extends e.y{constructor(u,z){super(),this.source=u,this.subjectFactory=z,this._subject=null,this._refCount=0,this._connection=null,(0,l.A)(u)&&(this.lift=u.lift)}_subscribe(u){return this.getSubject().subscribe(u)}getSubject(){const u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:u}=this;this._subject=this._connection=null,u?.unsubscribe()}connect(){let u=this._connection;if(!u){u=this._connection=new n.w0;const z=this.getSubject();u.add(this.source.subscribe((0,i.x)(z,void 0,()=>{this._teardown(),z.complete()},M=>{this._teardown(),z.error(M)},()=>this._teardown()))),u.closed&&(this._connection=null,u=n.w0.EMPTY)}return u}refCount(){return(0,t.x)()(this)}}},52572:(tt,I,o)=>{"use strict";o.d(I,{a:()=>M});var e=o(65592),n=o(17453),t=o(7715),i=o(42737),l=o(97400),h=o(79940),E=o(92714),u=o(8251),z=o(27103);function M(..._){const d=(0,h.yG)(_),m=(0,h.jO)(_),{args:f,keys:C}=(0,n.D)(_);if(0===f.length)return(0,t.D)([],d);const T=new e.y(function p(_,d,m=i.y){return f=>{v(d,()=>{const{length:C}=_,T=new Array(C);let b=C,D=C;for(let y=0;y{const P=(0,t.D)(_[y],d);let S=!1;P.subscribe((0,u.x)(f,A=>{T[y]=A,S||(S=!0,D--),D||f.next(m(T.slice()))},()=>{--b||f.complete()}))},f)},f)}}(f,d,C?b=>(0,E.n)(C,b):i.y));return m?T.pipe((0,l.Z)(m)):T}function v(_,d,m){_?(0,z.f)(m,_,d):d()}},35211:(tt,I,o)=>{"use strict";o.d(I,{z:()=>l});var e=o(57537),t=o(79940),i=o(7715);function l(...h){return function n(){return(0,e.J)(1)}()((0,i.D)(h,(0,t.yG)(h)))}},74911:(tt,I,o)=>{"use strict";o.d(I,{P:()=>t});var e=o(65592),n=o(54829);function t(i){return new e.y(l=>{(0,n.Xf)(i()).subscribe(l)})}},36232:(tt,I,o)=>{"use strict";o.d(I,{E:()=>n});const n=new(o(65592).y)(l=>l.complete())},7715:(tt,I,o)=>{"use strict";o.d(I,{D:()=>A});var e=o(54829),n=o(27103),t=o(79360),i=o(8251);function l(k,R=0){return(0,t.e)((W,j)=>{W.subscribe((0,i.x)(j,ze=>(0,n.f)(j,k,()=>j.next(ze),R),()=>(0,n.f)(j,k,()=>j.complete(),R),ze=>(0,n.f)(j,k,()=>j.error(ze),R)))})}function h(k,R=0){return(0,t.e)((W,j)=>{j.add(k.schedule(()=>W.subscribe(j),R))})}var z=o(65592),p=o(64971),v=o(84674);function d(k,R){if(!k)throw new Error("Iterable cannot be null");return new z.y(W=>{(0,n.f)(W,R,()=>{const j=k[Symbol.asyncIterator]();(0,n.f)(W,R,()=>{j.next().then(ze=>{ze.done?W.complete():W.next(ze.value)})},0,!0)})})}var m=o(38382),f=o(54026),C=o(64266),T=o(83664),b=o(15726),D=o(69853),y=o(50541);function A(k,R){return R?function S(k,R){if(null!=k){if((0,m.c)(k))return function E(k,R){return(0,e.Xf)(k).pipe(h(R),l(R))}(k,R);if((0,C.z)(k))return function M(k,R){return new z.y(W=>{let j=0;return R.schedule(function(){j===k.length?W.complete():(W.next(k[j++]),W.closed||this.schedule())})})}(k,R);if((0,f.t)(k))return function u(k,R){return(0,e.Xf)(k).pipe(h(R),l(R))}(k,R);if((0,b.D)(k))return d(k,R);if((0,T.T)(k))return function _(k,R){return new z.y(W=>{let j;return(0,n.f)(W,R,()=>{j=k[p.h](),(0,n.f)(W,R,()=>{let ze,Y;try{({value:ze,done:Y}=j.next())}catch(G){return void W.error(G)}Y?W.complete():W.next(ze)},0,!0)}),()=>(0,v.m)(j?.return)&&j.return()})}(k,R);if((0,y.L)(k))return function P(k,R){return d((0,y.Q)(k),R)}(k,R)}throw(0,D.z)(k)}(k,R):(0,e.Xf)(k)}},92438:(tt,I,o)=>{"use strict";o.d(I,{R:()=>M});var e=o(54829),n=o(65592),t=o(21631),i=o(64266),l=o(84674),h=o(97400);const E=["addListener","removeListener"],u=["addEventListener","removeEventListener"],z=["on","off"];function M(m,f,C,T){if((0,l.m)(C)&&(T=C,C=void 0),T)return M(m,f,C).pipe((0,h.Z)(T));const[b,D]=function d(m){return(0,l.m)(m.addEventListener)&&(0,l.m)(m.removeEventListener)}(m)?u.map(y=>P=>m[y](f,P,C)):function v(m){return(0,l.m)(m.addListener)&&(0,l.m)(m.removeListener)}(m)?E.map(p(m,f)):function _(m){return(0,l.m)(m.on)&&(0,l.m)(m.off)}(m)?z.map(p(m,f)):[];if(!b&&(0,i.z)(m))return(0,t.z)(y=>M(y,f,C))((0,e.Xf)(m));if(!b)throw new TypeError("Invalid event target");return new n.y(y=>{const P=(...S)=>y.next(1D(P)})}function p(m,f){return C=>T=>m[C](f,T)}},54829:(tt,I,o)=>{"use strict";o.d(I,{Xf:()=>_});var e=o(97582),n=o(64266),t=o(54026),i=o(65592),l=o(38382),h=o(15726),E=o(69853),u=o(83664),z=o(50541),M=o(84674),p=o(93894),v=o(14850);function _(y){if(y instanceof i.y)return y;if(null!=y){if((0,l.c)(y))return function d(y){return new i.y(P=>{const S=y[v.L]();if((0,M.m)(S.subscribe))return S.subscribe(P);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(y);if((0,n.z)(y))return function m(y){return new i.y(P=>{for(let S=0;S{y.then(S=>{P.closed||(P.next(S),P.complete())},S=>P.error(S)).then(null,p.h)})}(y);if((0,h.D)(y))return T(y);if((0,u.T)(y))return function C(y){return new i.y(P=>{for(const S of y)if(P.next(S),P.closed)return;P.complete()})}(y);if((0,z.L)(y))return function b(y){return T((0,z.Q)(y))}(y)}throw(0,E.z)(y)}function T(y){return new i.y(P=>{(function D(y,P){var S,A,k,R;return(0,e.mG)(this,void 0,void 0,function*(){try{for(S=(0,e.KL)(y);!(A=yield S.next()).done;)if(P.next(A.value),P.closed)return}catch(W){k={error:W}}finally{try{A&&!A.done&&(R=S.return)&&(yield R.call(S))}finally{if(k)throw k.error}}P.complete()})})(y,P).catch(S=>P.error(S))})}},91687:(tt,I,o)=>{"use strict";o.d(I,{F:()=>t});var e=o(16321),n=o(74825);function t(i=0,l=e.z){return i<0&&(i=0),(0,n.H)(i,i,l)}},63019:(tt,I,o)=>{"use strict";o.d(I,{T:()=>h});var e=o(57537),n=o(54829),t=o(36232),i=o(79940),l=o(7715);function h(...E){const u=(0,i.yG)(E),z=(0,i._6)(E,1/0),M=E;return M.length?1===M.length?(0,n.Xf)(M[0]):(0,e.J)(z)((0,l.D)(M,u)):t.E}},22096:(tt,I,o)=>{"use strict";o.d(I,{of:()=>t});var e=o(79940),n=o(7715);function t(...i){const l=(0,e.yG)(i);return(0,n.D)(i,l)}},58504:(tt,I,o)=>{"use strict";o.d(I,{_:()=>t});var e=o(65592),n=o(84674);function t(i,l){const h=(0,n.m)(i)?i:()=>i,E=u=>u.error(h());return new e.y(l?u=>l.schedule(E,0,u):E)}},74825:(tt,I,o)=>{"use strict";o.d(I,{H:()=>l});var e=o(65592),n=o(16321),t=o(50671);function l(h=0,E,u=n.P){let z=-1;return null!=E&&((0,t.K)(E)?u=E:z=E),new e.y(M=>{let p=function i(h){return h instanceof Date&&!isNaN(h)}(h)?+h-u.now():h;p<0&&(p=0);let v=0;return u.schedule(function(){M.closed||(M.next(v++),0<=z?this.schedule(void 0,z):M.complete())},p)})}},8251:(tt,I,o)=>{"use strict";o.d(I,{x:()=>n});var e=o(80305);function n(i,l,h,E,u){return new t(i,l,h,E,u)}class t extends e.Lv{constructor(l,h,E,u,z,M){super(l),this.onFinalize=z,this.shouldUnsubscribe=M,this._next=h?function(p){try{h(p)}catch(v){l.error(v)}}:super._next,this._error=u?function(p){try{u(p)}catch(v){l.error(v)}finally{this.unsubscribe()}}:super._error,this._complete=E?function(){try{E()}catch(p){l.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:h}=this;super.unsubscribe(),!h&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},29028:(tt,I,o)=>{"use strict";o.d(I,{e:()=>E});var e=o(16321),n=o(79360),t=o(54829),i=o(8251),h=o(74825);function E(u,z=e.z){return function l(u){return(0,n.e)((z,M)=>{let p=!1,v=null,_=null,d=!1;const m=()=>{if(_?.unsubscribe(),_=null,p){p=!1;const C=v;v=null,M.next(C)}d&&M.complete()},f=()=>{_=null,d&&M.complete()};z.subscribe((0,i.x)(M,C=>{p=!0,v=C,_||(0,t.Xf)(u(C)).subscribe(_=(0,i.x)(M,m,f))},()=>{d=!0,(!p||!_||_.closed)&&M.complete()}))})}(()=>(0,h.H)(u,z))}},26306:(tt,I,o)=>{"use strict";o.d(I,{K:()=>i});var e=o(54829),n=o(8251),t=o(79360);function i(l){return(0,t.e)((h,E)=>{let M,u=null,z=!1;u=h.subscribe((0,n.x)(E,void 0,void 0,p=>{M=(0,e.Xf)(l(p,i(l)(h))),u?(u.unsubscribe(),u=null,M.subscribe(E)):z=!0})),z&&(u.unsubscribe(),u=null,M.subscribe(E))})}},76328:(tt,I,o)=>{"use strict";o.d(I,{b:()=>t});var e=o(21631),n=o(84674);function t(i,l){return(0,n.m)(l)?(0,e.z)(i,l,1):(0,e.z)(i,1)}},76111:(tt,I,o)=>{"use strict";o.d(I,{D:()=>l});var e=o(79360),n=o(72420),t=o(8251),i=o(54829);function l(h){return(0,e.e)((E,u)=>{let z=!1,M=null,p=null;const v=()=>{if(p?.unsubscribe(),p=null,z){z=!1;const _=M;M=null,u.next(_)}};E.subscribe((0,t.x)(u,_=>{p?.unsubscribe(),z=!0,M=_,p=(0,t.x)(u,v,n.Z),(0,i.Xf)(h(_)).subscribe(p)},()=>{v(),u.complete()},void 0,()=>{M=p=null}))})}},83620:(tt,I,o)=>{"use strict";o.d(I,{b:()=>i});var e=o(16321),n=o(79360),t=o(8251);function i(l,h=e.z){return(0,n.e)((E,u)=>{let z=null,M=null,p=null;const v=()=>{if(z){z.unsubscribe(),z=null;const d=M;M=null,u.next(d)}};function _(){const d=p+l,m=h.now();if(m{M=d,p=h.now(),z||(z=h.schedule(_,l),u.add(z))},()=>{v(),u.complete()},void 0,()=>{M=z=null}))})}},43572:(tt,I,o)=>{"use strict";o.d(I,{d:()=>t});var e=o(79360),n=o(8251);function t(i){return(0,e.e)((l,h)=>{let E=!1;l.subscribe((0,n.x)(h,u=>{E=!0,h.next(u)},()=>{E||h.next(i),h.complete()}))})}},5177:(tt,I,o)=>{"use strict";o.d(I,{g:()=>_});var e=o(16321),n=o(35211),t=o(48180),i=o(79360),l=o(8251),h=o(72420),u=o(21441),z=o(21631),M=o(54829);function p(d,m){return m?f=>(0,n.z)(m.pipe((0,t.q)(1),function E(){return(0,i.e)((d,m)=>{d.subscribe((0,l.x)(m,h.Z))})}()),f.pipe(p(d))):(0,z.z)((f,C)=>(0,M.Xf)(d(f,C)).pipe((0,t.q)(1),(0,u.h)(f)))}var v=o(74825);function _(d,m=e.z){const f=(0,v.H)(d,m);return p(()=>f)}},93997:(tt,I,o)=>{"use strict";o.d(I,{x:()=>i});var e=o(42737),n=o(79360),t=o(8251);function i(h,E=e.y){return h=h??l,(0,n.e)((u,z)=>{let M,p=!0;u.subscribe((0,t.x)(z,v=>{const _=E(v);(p||!h(M,_))&&(p=!1,M=_,z.next(v))}))})}function l(h,E){return h===E}},32181:(tt,I,o)=>{"use strict";o.d(I,{h:()=>t});var e=o(79360),n=o(8251);function t(i,l){return(0,e.e)((h,E)=>{let u=0;h.subscribe((0,n.x)(E,z=>i.call(l,z,u++)&&E.next(z)))})}},64716:(tt,I,o)=>{"use strict";o.d(I,{x:()=>n});var e=o(79360);function n(t){return(0,e.e)((i,l)=>{try{i.subscribe(l)}finally{l.add(t)}})}},81374:(tt,I,o)=>{"use strict";o.d(I,{P:()=>E});var e=o(46973),n=o(32181),t=o(48180),i=o(43572),l=o(3026),h=o(42737);function E(u,z){const M=arguments.length>=2;return p=>p.pipe(u?(0,n.h)((v,_)=>u(v,_,p)):h.y,(0,t.q)(1),M?(0,i.d)(z):(0,l.T)(()=>new e.K))}},37398:(tt,I,o)=>{"use strict";o.d(I,{U:()=>t});var e=o(79360),n=o(8251);function t(i,l){return(0,e.e)((h,E)=>{let u=0;h.subscribe((0,n.x)(E,z=>{E.next(i.call(l,z,u++))}))})}},21441:(tt,I,o)=>{"use strict";o.d(I,{h:()=>n});var e=o(37398);function n(t){return(0,e.U)(()=>t)}},57537:(tt,I,o)=>{"use strict";o.d(I,{J:()=>t});var e=o(21631),n=o(42737);function t(i=1/0){return(0,e.z)(n.y,i)}},21631:(tt,I,o)=>{"use strict";o.d(I,{z:()=>u});var e=o(37398),n=o(54829),t=o(79360),i=o(27103),l=o(8251),E=o(84674);function u(z,M,p=1/0){return(0,E.m)(M)?u((v,_)=>(0,e.U)((d,m)=>M(v,d,_,m))((0,n.Xf)(z(v,_))),p):("number"==typeof M&&(p=M),(0,t.e)((v,_)=>function h(z,M,p,v,_,d,m,f){const C=[];let T=0,b=0,D=!1;const y=()=>{D&&!C.length&&!T&&M.complete()},P=A=>T{d&&M.next(A),T++;let k=!1;(0,n.Xf)(p(A,b++)).subscribe((0,l.x)(M,R=>{_?.(R),d?P(R):M.next(R)},()=>{k=!0},void 0,()=>{if(k)try{for(T--;C.length&&TS(R)):S(R)}y()}catch(R){M.error(R)}}))};return z.subscribe((0,l.x)(M,P,()=>{D=!0,y()})),()=>{f?.()}}(v,_,z,p)))}},66196:(tt,I,o)=>{"use strict";o.d(I,{x:()=>t});var e=o(79360),n=o(8251);function t(){return(0,e.e)((i,l)=>{let h=null;i._refCount++;const E=(0,n.x)(l,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount)return void(h=null);const u=i._connection,z=h;h=null,u&&(!z||u===z)&&u.unsubscribe(),l.unsubscribe()});i.subscribe(E),E.closed||(h=i.connect())})}},63020:(tt,I,o)=>{"use strict";o.d(I,{B:()=>l});var e=o(54829),n=o(78645),t=o(80305),i=o(79360);function l(E={}){const{connector:u=(()=>new n.x),resetOnError:z=!0,resetOnComplete:M=!0,resetOnRefCountZero:p=!0}=E;return v=>{let _,d,m,f=0,C=!1,T=!1;const b=()=>{d?.unsubscribe(),d=void 0},D=()=>{b(),_=m=void 0,C=T=!1},y=()=>{const P=_;D(),P?.unsubscribe()};return(0,i.e)((P,S)=>{f++,!T&&!C&&b();const A=m=m??u();S.add(()=>{f--,0===f&&!T&&!C&&(d=h(y,p))}),A.subscribe(S),!_&&f>0&&(_=new t.Hp({next:k=>A.next(k),error:k=>{T=!0,b(),d=h(D,z,k),A.error(k)},complete:()=>{C=!0,b(),d=h(D,M),A.complete()}}),(0,e.Xf)(P).subscribe(_))})(v)}}function h(E,u,...z){if(!0===u)return void E();if(!1===u)return;const M=new t.Hp({next:()=>{M.unsubscribe(),E()}});return(0,e.Xf)(u(...z)).subscribe(M)}},836:(tt,I,o)=>{"use strict";o.d(I,{T:()=>n});var e=o(32181);function n(t){return(0,e.h)((i,l)=>t<=l)}},27921:(tt,I,o)=>{"use strict";o.d(I,{O:()=>i});var e=o(35211),n=o(79940),t=o(79360);function i(...l){const h=(0,n.yG)(l);return(0,t.e)((E,u)=>{(h?(0,e.z)(l,E,h):(0,e.z)(l,E)).subscribe(u)})}},94664:(tt,I,o)=>{"use strict";o.d(I,{w:()=>i});var e=o(54829),n=o(79360),t=o(8251);function i(l,h){return(0,n.e)((E,u)=>{let z=null,M=0,p=!1;const v=()=>p&&!z&&u.complete();E.subscribe((0,t.x)(u,_=>{z?.unsubscribe();let d=0;const m=M++;(0,e.Xf)(l(_,m)).subscribe(z=(0,t.x)(u,f=>u.next(h?h(_,f,m,d++):f),()=>{z=null,v()}))},()=>{p=!0,v()}))})}},48180:(tt,I,o)=>{"use strict";o.d(I,{q:()=>i});var e=o(36232),n=o(79360),t=o(8251);function i(l){return l<=0?()=>e.E:(0,n.e)((h,E)=>{let u=0;h.subscribe((0,t.x)(E,z=>{++u<=l&&(E.next(z),l<=u&&E.complete())}))})}},59773:(tt,I,o)=>{"use strict";o.d(I,{R:()=>l});var e=o(79360),n=o(8251),t=o(54829),i=o(72420);function l(h){return(0,e.e)((E,u)=>{(0,t.Xf)(h).subscribe((0,n.x)(u,()=>u.complete(),i.Z)),!u.closed&&E.subscribe(u)})}},99397:(tt,I,o)=>{"use strict";o.d(I,{b:()=>l});var e=o(84674),n=o(79360),t=o(8251),i=o(42737);function l(h,E,u){const z=(0,e.m)(h)||E||u?{next:h,error:E,complete:u}:h;return z?(0,n.e)((M,p)=>{var v;null===(v=z.subscribe)||void 0===v||v.call(z);let _=!0;M.subscribe((0,t.x)(p,d=>{var m;null===(m=z.next)||void 0===m||m.call(z,d),p.next(d)},()=>{var d;_=!1,null===(d=z.complete)||void 0===d||d.call(z),p.complete()},d=>{var m;_=!1,null===(m=z.error)||void 0===m||m.call(z,d),p.error(d)},()=>{var d,m;_&&(null===(d=z.unsubscribe)||void 0===d||d.call(z)),null===(m=z.finalize)||void 0===m||m.call(z)}))}):i.y}},18753:(tt,I,o)=>{"use strict";o.d(I,{p:()=>E});var e=o(16321),n=o(79360),t=o(8251),i=o(54829),h=o(74825);function E(u,z=e.z,M){const p=(0,h.H)(u,z);return function l(u,z){return(0,n.e)((M,p)=>{const{leading:v=!0,trailing:_=!1}=z??{};let d=!1,m=null,f=null,C=!1;const T=()=>{f?.unsubscribe(),f=null,_&&(y(),C&&p.complete())},b=()=>{f=null,C&&p.complete()},D=P=>f=(0,i.Xf)(u(P)).subscribe((0,t.x)(p,T,b)),y=()=>{if(d){d=!1;const P=m;m=null,p.next(P),!C&&D(P)}};M.subscribe((0,t.x)(p,P=>{d=!0,m=P,(!f||f.closed)&&(v?y():D(P))},()=>{C=!0,(!(_&&d&&f)||f.closed)&&p.complete()}))})}(()=>p,M)}},3026:(tt,I,o)=>{"use strict";o.d(I,{T:()=>i});var e=o(46973),n=o(79360),t=o(8251);function i(h=l){return(0,n.e)((E,u)=>{let z=!1;E.subscribe((0,t.x)(u,M=>{z=!0,u.next(M)},()=>z?u.complete():u.error(h())))})}function l(){return new e.K}},42460:(tt,I,o)=>{"use strict";o.d(I,{M:()=>E});var e=o(79360),n=o(8251),t=o(54829),i=o(42737),l=o(72420),h=o(79940);function E(...u){const z=(0,h.jO)(u);return(0,e.e)((M,p)=>{const v=u.length,_=new Array(v);let d=u.map(()=>!1),m=!1;for(let f=0;f{_[f]=C,!m&&!d[f]&&(d[f]=!0,(m=d.every(i.y))&&(d=null))},l.Z));M.subscribe((0,n.x)(p,f=>{if(m){const C=[f,..._];p.next(z?z(...C):C)}}))})}},41954:(tt,I,o)=>{"use strict";o.d(I,{o:()=>l});var e=o(47394);class n extends e.w0{constructor(E,u){super()}schedule(E,u=0){return this}}const t={setInterval(h,E,...u){const{delegate:z}=t;return z?.setInterval?z.setInterval(h,E,...u):setInterval(h,E,...u)},clearInterval(h){const{delegate:E}=t;return(E?.clearInterval||clearInterval)(h)},delegate:void 0};var i=o(49039);class l extends n{constructor(E,u){super(E,u),this.scheduler=E,this.work=u,this.pending=!1}schedule(E,u=0){var z;if(this.closed)return this;this.state=E;const M=this.id,p=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(p,M,u)),this.pending=!0,this.delay=u,this.id=null!==(z=this.id)&&void 0!==z?z:this.requestAsyncId(p,this.id,u),this}requestAsyncId(E,u,z=0){return t.setInterval(E.flush.bind(E,this),z)}recycleAsyncId(E,u,z=0){if(null!=z&&this.delay===z&&!1===this.pending)return u;null!=u&&t.clearInterval(u)}execute(E,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const z=this._execute(E,u);if(z)return z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,u){let M,z=!1;try{this.work(E)}catch(p){z=!0,M=p||new Error("Scheduled action threw falsy error")}if(z)return this.unsubscribe(),M}unsubscribe(){if(!this.closed){const{id:E,scheduler:u}=this,{actions:z}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,i.P)(z,this),null!=E&&(this.id=this.recycleAsyncId(u,E,null)),this.delay=null,super.unsubscribe()}}}},2631:(tt,I,o)=>{"use strict";o.d(I,{v:()=>t});var e=o(84552);class n{constructor(l,h=n.now){this.schedulerActionCtor=l,this.now=h}schedule(l,h=0,E){return new this.schedulerActionCtor(this,l).schedule(E,h)}}n.now=e.l.now;class t extends n{constructor(l,h=n.now){super(l,h),this.actions=[],this._active=!1}flush(l){const{actions:h}=this;if(this._active)return void h.push(l);let E;this._active=!0;do{if(E=l.execute(l.state,l.delay))break}while(l=h.shift());if(this._active=!1,E){for(;l=h.shift();)l.unsubscribe();throw E}}}},80927:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>E});var e=o(41954),n=o(47394);const t={schedule(z){let M=requestAnimationFrame,p=cancelAnimationFrame;const{delegate:v}=t;v&&(M=v.requestAnimationFrame,p=v.cancelAnimationFrame);const _=M(d=>{p=void 0,z(d)});return new n.w0(()=>p?.(_))},requestAnimationFrame(...z){const{delegate:M}=t;return(M?.requestAnimationFrame||requestAnimationFrame)(...z)},cancelAnimationFrame(...z){const{delegate:M}=t;return(M?.cancelAnimationFrame||cancelAnimationFrame)(...z)},delegate:void 0};var l=o(2631);const E=new class h extends l.v{flush(M){this._active=!0;const p=this._scheduled;this._scheduled=void 0;const{actions:v}=this;let _;M=M||v.shift();do{if(_=M.execute(M.state,M.delay))break}while((M=v[0])&&M.id===p&&v.shift());if(this._active=!1,_){for(;(M=v[0])&&M.id===p&&v.shift();)M.unsubscribe();throw _}}}(class i extends e.o{constructor(M,p){super(M,p),this.scheduler=M,this.work=p}requestAsyncId(M,p,v=0){return null!==v&&v>0?super.requestAsyncId(M,p,v):(M.actions.push(this),M._scheduled||(M._scheduled=t.requestAnimationFrame(()=>M.flush(void 0))))}recycleAsyncId(M,p,v=0){var _;if(null!=v?v>0:this.delay>0)return super.recycleAsyncId(M,p,v);const{actions:d}=M;null!=p&&(null===(_=d[d.length-1])||void 0===_?void 0:_.id)!==p&&(t.cancelAnimationFrame(p),M._scheduled=void 0)}})},76410:(tt,I,o)=>{"use strict";o.d(I,{E:()=>d});var e=o(41954);let t,n=1;const i={};function l(f){return f in i&&(delete i[f],!0)}const h={setImmediate(f){const C=n++;return i[C]=!0,t||(t=Promise.resolve()),t.then(()=>l(C)&&f()),C},clearImmediate(f){l(f)}},{setImmediate:u,clearImmediate:z}=h,M={setImmediate(...f){const{delegate:C}=M;return(C?.setImmediate||u)(...f)},clearImmediate(f){const{delegate:C}=M;return(C?.clearImmediate||z)(f)},delegate:void 0};var v=o(2631);const d=new class _ extends v.v{flush(C){this._active=!0;const T=this._scheduled;this._scheduled=void 0;const{actions:b}=this;let D;C=C||b.shift();do{if(D=C.execute(C.state,C.delay))break}while((C=b[0])&&C.id===T&&b.shift());if(this._active=!1,D){for(;(C=b[0])&&C.id===T&&b.shift();)C.unsubscribe();throw D}}}(class p extends e.o{constructor(C,T){super(C,T),this.scheduler=C,this.work=T}requestAsyncId(C,T,b=0){return null!==b&&b>0?super.requestAsyncId(C,T,b):(C.actions.push(this),C._scheduled||(C._scheduled=M.setImmediate(C.flush.bind(C,void 0))))}recycleAsyncId(C,T,b=0){var D;if(null!=b?b>0:this.delay>0)return super.recycleAsyncId(C,T,b);const{actions:y}=C;null!=T&&(null===(D=y[y.length-1])||void 0===D?void 0:D.id)!==T&&(M.clearImmediate(T),C._scheduled===T&&(C._scheduled=void 0))}})},16321:(tt,I,o)=>{"use strict";o.d(I,{P:()=>i,z:()=>t});var e=o(41954);const t=new(o(2631).v)(e.o),i=t},84552:(tt,I,o)=>{"use strict";o.d(I,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},87599:(tt,I,o)=>{"use strict";o.d(I,{z:()=>e});const e={setTimeout(n,t,...i){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(n,t,...i):setTimeout(n,t,...i)},clearTimeout(n){const{delegate:t}=e;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0}},64971:(tt,I,o)=>{"use strict";o.d(I,{h:()=>n});const n=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},14850:(tt,I,o)=>{"use strict";o.d(I,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},46973:(tt,I,o)=>{"use strict";o.d(I,{K:()=>n});const n=(0,o(82306).d)(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})},79940:(tt,I,o)=>{"use strict";o.d(I,{_6:()=>h,jO:()=>i,yG:()=>l});var e=o(84674),n=o(50671);function t(E){return E[E.length-1]}function i(E){return(0,e.m)(t(E))?E.pop():void 0}function l(E){return(0,n.K)(t(E))?E.pop():void 0}function h(E,u){return"number"==typeof t(E)?E.pop():u}},17453:(tt,I,o)=>{"use strict";o.d(I,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:n,prototype:t,keys:i}=Object;function l(E){if(1===E.length){const u=E[0];if(e(u))return{args:u,keys:null};if(function h(E){return E&&"object"==typeof E&&n(E)===t}(u)){const z=i(u);return{args:z.map(M=>u[M]),keys:z}}}return{args:E,keys:null}}},49039:(tt,I,o)=>{"use strict";function e(n,t){if(n){const i=n.indexOf(t);0<=i&&n.splice(i,1)}}o.d(I,{P:()=>e})},82306:(tt,I,o)=>{"use strict";function e(n){const i=n(l=>{Error.call(l),l.stack=(new Error).stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}o.d(I,{d:()=>e})},92714:(tt,I,o)=>{"use strict";function e(n,t){return n.reduce((i,l,h)=>(i[l]=t[h],i),{})}o.d(I,{n:()=>e})},81441:(tt,I,o)=>{"use strict";o.d(I,{O:()=>i,x:()=>t});var e=o(82653);let n=null;function t(l){if(e.config.useDeprecatedSynchronousErrorHandling){const h=!n;if(h&&(n={errorThrown:!1,error:null}),l(),h){const{errorThrown:E,error:u}=n;if(n=null,E)throw u}}else l()}function i(l){e.config.useDeprecatedSynchronousErrorHandling&&n&&(n.errorThrown=!0,n.error=l)}},27103:(tt,I,o)=>{"use strict";function e(n,t,i,l=0,h=!1){const E=t.schedule(function(){i(),h?n.add(this.schedule(null,l)):this.unsubscribe()},l);if(n.add(E),!h)return E}o.d(I,{f:()=>e})},42737:(tt,I,o)=>{"use strict";function e(n){return n}o.d(I,{y:()=>e})},64266:(tt,I,o)=>{"use strict";o.d(I,{z:()=>e});const e=n=>n&&"number"==typeof n.length&&"function"!=typeof n},15726:(tt,I,o)=>{"use strict";o.d(I,{D:()=>n});var e=o(84674);function n(t){return Symbol.asyncIterator&&(0,e.m)(t?.[Symbol.asyncIterator])}},84674:(tt,I,o)=>{"use strict";function e(n){return"function"==typeof n}o.d(I,{m:()=>e})},38382:(tt,I,o)=>{"use strict";o.d(I,{c:()=>t});var e=o(14850),n=o(84674);function t(i){return(0,n.m)(i[e.L])}},83664:(tt,I,o)=>{"use strict";o.d(I,{T:()=>t});var e=o(64971),n=o(84674);function t(i){return(0,n.m)(i?.[e.h])}},2664:(tt,I,o)=>{"use strict";o.d(I,{b:()=>t});var e=o(65592),n=o(84674);function t(i){return!!i&&(i instanceof e.y||(0,n.m)(i.lift)&&(0,n.m)(i.subscribe))}},54026:(tt,I,o)=>{"use strict";o.d(I,{t:()=>n});var e=o(84674);function n(t){return(0,e.m)(t?.then)}},50541:(tt,I,o)=>{"use strict";o.d(I,{L:()=>i,Q:()=>t});var e=o(97582),n=o(84674);function t(l){return(0,e.FC)(this,arguments,function*(){const E=l.getReader();try{for(;;){const{value:u,done:z}=yield(0,e.qq)(E.read());if(z)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(u)}}finally{E.releaseLock()}})}function i(l){return(0,n.m)(l?.getReader)}},50671:(tt,I,o)=>{"use strict";o.d(I,{K:()=>n});var e=o(84674);function n(t){return t&&(0,e.m)(t.schedule)}},79360:(tt,I,o)=>{"use strict";o.d(I,{A:()=>n,e:()=>t});var e=o(84674);function n(i){return(0,e.m)(i?.lift)}function t(i){return l=>{if(n(l))return l.lift(function(h){try{return i(h,this)}catch(E){this.error(E)}});throw new TypeError("Unable to lift unknown Observable type")}}},97400:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(37398);const{isArray:n}=Array;function i(l){return(0,e.U)(h=>function t(l,h){return n(h)?l(...h):l(h)}(l,h))}},72420:(tt,I,o)=>{"use strict";function e(){}o.d(I,{Z:()=>e})},88407:(tt,I,o)=>{"use strict";o.d(I,{U:()=>t,z:()=>n});var e=o(42737);function n(...i){return t(i)}function t(i){return 0===i.length?e.y:1===i.length?i[0]:function(h){return i.reduce((E,u)=>u(E),h)}}},93894:(tt,I,o)=>{"use strict";o.d(I,{h:()=>t});var e=o(82653),n=o(87599);function t(i){n.z.setTimeout(()=>{const{onUnhandledError:l}=e.config;if(!l)throw i;l(i)})}},69853:(tt,I,o)=>{"use strict";function e(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(I,{z:()=>e})},96064:function(tt,I){!function(o){"use strict";function e(){for(var Ee=arguments.length,be=Array(Ee),Qe=0;Qe1){be[0]=be[0].slice(0,-1);for(var Ke=be.length-1,Ze=1;Ze= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=Math.floor,W=String.fromCharCode;function j(Ee){throw new RangeError(A[Ee])}function Y(Ee,be){var Qe=Ee.split("@"),Ke="";return Qe.length>1&&(Ke=Qe[0]+"@",Ee=Qe[1]),Ke+function ze(Ee,be){for(var Qe=[],Ke=Ee.length;Ke--;)Qe[Ke]=be(Ee[Ke]);return Qe}((Ee=Ee.replace(S,".")).split("."),be).join(".")}function G(Ee){for(var be=[],Qe=0,Ke=Ee.length;Qe=55296&&Ze<=56319&&Qe>1,be+=R(be/Qe);be>455;Ze+=_)be=R(be/35);return R(Ze+36*be/(be+38))},pe=function(be){var Qe=[],Ke=be.length,Ze=0,ve=128,nt=72,x=be.lastIndexOf("-");x<0&&(x=0);for(var N=0;N=128&&j("not-basic"),Qe.push(be.charCodeAt(N));for(var O=x>0?x+1:0;O=Ke&&j("invalid-input");var Ce=K(be.charCodeAt(O++));(Ce>=_||Ce>R((v-Ze)/L))&&j("overflow"),Ze+=Ce*L;var Dt=he<=nt?1:he>=nt+26?26:he-nt;if(CeR(v/Yt)&&j("overflow"),L*=Yt}var rn=Qe.length+1;nt=te(Ze-$,rn,0==$),R(Ze/rn)>v-ve&&j("overflow"),ve+=R(Ze/rn),Ze%=rn,Qe.splice(Ze++,0,ve)}return String.fromCodePoint.apply(String,Qe)},re=function(be){var Qe=[],Ke=(be=G(be)).length,Ze=128,ve=0,nt=72,x=!0,N=!1,O=void 0;try{for(var L,$=be[Symbol.iterator]();!(x=(L=$.next()).done);x=!0){var he=L.value;he<128&&Qe.push(W(he))}}catch(fi){N=!0,O=fi}finally{try{!x&&$.return&&$.return()}finally{if(N)throw O}}var Ce=Qe.length,Dt=Ce;for(Ce&&Qe.push("-");Dt=Ze&&DnR((v-ve)/xn)&&j("overflow"),ve+=(Yt-Ze)*xn,Ze=Yt;var Ln=!0,ei=!1,ii=void 0;try{for(var di,Hn=be[Symbol.iterator]();!(Ln=(di=Hn.next()).done);Ln=!0){var oi=di.value;if(oiv&&j("overflow"),oi==Ze){for(var ai=ve,ri=_;;ri+=_){var hi=ri<=nt?1:ri>=nt+26?26:ri-nt;if(ai>6|192).toString(16).toUpperCase()+"%"+(63&be|128).toString(16).toUpperCase():"%"+(be>>12|224).toString(16).toUpperCase()+"%"+(be>>6&63|128).toString(16).toUpperCase()+"%"+(63&be|128).toString(16).toUpperCase()}function le(Ee){for(var be="",Qe=0,Ke=Ee.length;Qe=194&&Ze<224){if(Ke-Qe>=6){var ve=parseInt(Ee.substr(Qe+4,2),16);be+=String.fromCharCode((31&Ze)<<6|63&ve)}else be+=Ee.substr(Qe,6);Qe+=6}else if(Ze>=224){if(Ke-Qe>=9){var nt=parseInt(Ee.substr(Qe+4,2),16),x=parseInt(Ee.substr(Qe+7,2),16);be+=String.fromCharCode((15&Ze)<<12|(63&nt)<<6|63&x)}else be+=Ee.substr(Qe,9);Qe+=9}else be+=Ee.substr(Qe,3),Qe+=3}return be}function Se(Ee,be){function Qe(Ke){var Ze=le(Ke);return Ze.match(be.UNRESERVED)?Ze:Ke}return Ee.scheme&&(Ee.scheme=String(Ee.scheme).replace(be.PCT_ENCODED,Qe).toLowerCase().replace(be.NOT_SCHEME,"")),void 0!==Ee.userinfo&&(Ee.userinfo=String(Ee.userinfo).replace(be.PCT_ENCODED,Qe).replace(be.NOT_USERINFO,ne).replace(be.PCT_ENCODED,i)),void 0!==Ee.host&&(Ee.host=String(Ee.host).replace(be.PCT_ENCODED,Qe).toLowerCase().replace(be.NOT_HOST,ne).replace(be.PCT_ENCODED,i)),void 0!==Ee.path&&(Ee.path=String(Ee.path).replace(be.PCT_ENCODED,Qe).replace(Ee.scheme?be.NOT_PATH:be.NOT_PATH_NOSCHEME,ne).replace(be.PCT_ENCODED,i)),void 0!==Ee.query&&(Ee.query=String(Ee.query).replace(be.PCT_ENCODED,Qe).replace(be.NOT_QUERY,ne).replace(be.PCT_ENCODED,i)),void 0!==Ee.fragment&&(Ee.fragment=String(Ee.fragment).replace(be.PCT_ENCODED,Qe).replace(be.NOT_FRAGMENT,ne).replace(be.PCT_ENCODED,i)),Ee}function Ne(Ee){return Ee.replace(/^0*(.*)/,"$1")||"0"}function ke(Ee,be){var Qe=Ee.match(be.IPV4ADDRESS)||[],Ze=M(Qe,2)[1];return Ze?Ze.split(".").map(Ne).join("."):Ee}function oe(Ee,be){var Qe=Ee.match(be.IPV6ADDRESS)||[],Ke=M(Qe,3),Ze=Ke[1],ve=Ke[2];if(Ze){for(var nt=Ze.toLowerCase().split("::").reverse(),x=M(nt,2),N=x[0],O=x[1],$=O?O.split(":").map(Ne):[],L=N.split(":").map(Ne),he=be.IPV4ADDRESS.test(L[L.length-1]),Ce=he?7:8,Dt=L.length-Ce,Yt=Array(Ce),rn=0;rn1){var En=Yt.slice(0,yn.index),Dn=Yt.slice(yn.index+yn.length);Mn=En.join(":")+"::"+Dn.join(":")}else Mn=Yt.join(":");return ve&&(Mn+="%"+ve),Mn}return Ee}var _e=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Q=void 0==="".match(/(){0}/)[1];function He(Ee){var be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe={},Ke=!1!==be.iri?z:u;"suffix"===be.reference&&(Ee=(be.scheme?be.scheme+":":"")+"//"+Ee);var Ze=Ee.match(_e);if(Ze){Q?(Qe.scheme=Ze[1],Qe.userinfo=Ze[3],Qe.host=Ze[4],Qe.port=parseInt(Ze[5],10),Qe.path=Ze[6]||"",Qe.query=Ze[7],Qe.fragment=Ze[8],isNaN(Qe.port)&&(Qe.port=Ze[5])):(Qe.scheme=Ze[1]||void 0,Qe.userinfo=-1!==Ee.indexOf("@")?Ze[3]:void 0,Qe.host=-1!==Ee.indexOf("//")?Ze[4]:void 0,Qe.port=parseInt(Ze[5],10),Qe.path=Ze[6]||"",Qe.query=-1!==Ee.indexOf("?")?Ze[7]:void 0,Qe.fragment=-1!==Ee.indexOf("#")?Ze[8]:void 0,isNaN(Qe.port)&&(Qe.port=Ee.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?Ze[4]:void 0)),Qe.host&&(Qe.host=oe(ke(Qe.host,Ke),Ke)),Qe.reference=void 0!==Qe.scheme||void 0!==Qe.userinfo||void 0!==Qe.host||void 0!==Qe.port||Qe.path||void 0!==Qe.query?void 0===Qe.scheme?"relative":void 0===Qe.fragment?"absolute":"uri":"same-document",be.reference&&"suffix"!==be.reference&&be.reference!==Qe.reference&&(Qe.error=Qe.error||"URI is not a "+be.reference+" reference.");var ve=X[(be.scheme||Qe.scheme||"").toLowerCase()];if(be.unicodeSupport||ve&&ve.unicodeSupport)Se(Qe,Ke);else{if(Qe.host&&(be.domainHost||ve&&ve.domainHost))try{Qe.host=ce.toASCII(Qe.host.replace(Ke.PCT_ENCODED,le).toLowerCase())}catch(nt){Qe.error=Qe.error||"Host's domain name can not be converted to ASCII via punycode: "+nt}Se(Qe,u)}ve&&ve.parse&&ve.parse(Qe,be)}else Qe.error=Qe.error||"URI can not be parsed.";return Qe}var lt=/^\.\.?\//,Pe=/^\/\.(\/|$)/,xt=/^\/\.\.(\/|$)/,$e=/^\/?(?:.|\n)*?(?=\/|$)/;function ot(Ee){for(var be=[];Ee.length;)if(Ee.match(lt))Ee=Ee.replace(lt,"");else if(Ee.match(Pe))Ee=Ee.replace(Pe,"/");else if(Ee.match(xt))Ee=Ee.replace(xt,"/"),be.pop();else if("."===Ee||".."===Ee)Ee="";else{var Qe=Ee.match($e);if(!Qe)throw new Error("Unexpected dot segment condition");var Ke=Qe[0];Ee=Ee.slice(Ke.length),be.push(Ke)}return be.join("")}function mt(Ee){var be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe=be.iri?z:u,Ke=[],Ze=X[(be.scheme||Ee.scheme||"").toLowerCase()];if(Ze&&Ze.serialize&&Ze.serialize(Ee,be),Ee.host&&!Qe.IPV6ADDRESS.test(Ee.host)&&(be.domainHost||Ze&&Ze.domainHost))try{Ee.host=be.iri?ce.toUnicode(Ee.host):ce.toASCII(Ee.host.replace(Qe.PCT_ENCODED,le).toLowerCase())}catch(x){Ee.error=Ee.error||"Host's domain name can not be converted to "+(be.iri?"Unicode":"ASCII")+" via punycode: "+x}Se(Ee,Qe),"suffix"!==be.reference&&Ee.scheme&&(Ke.push(Ee.scheme),Ke.push(":"));var ve=function Re(Ee,be){var Qe=!1!==be.iri?z:u,Ke=[];return void 0!==Ee.userinfo&&(Ke.push(Ee.userinfo),Ke.push("@")),void 0!==Ee.host&&Ke.push(oe(ke(String(Ee.host),Qe),Qe).replace(Qe.IPV6ADDRESS,function(Ze,ve,nt){return"["+ve+(nt?"%25"+nt:"")+"]"})),("number"==typeof Ee.port||"string"==typeof Ee.port)&&(Ke.push(":"),Ke.push(String(Ee.port))),Ke.length?Ke.join(""):void 0}(Ee,be);if(void 0!==ve&&("suffix"!==be.reference&&Ke.push("//"),Ke.push(ve),Ee.path&&"/"!==Ee.path.charAt(0)&&Ke.push("/")),void 0!==Ee.path){var nt=Ee.path;!be.absolutePath&&(!Ze||!Ze.absolutePath)&&(nt=ot(nt)),void 0===ve&&(nt=nt.replace(/^\/\//,"/%2F")),Ke.push(nt)}return void 0!==Ee.query&&(Ke.push("?"),Ke.push(Ee.query)),void 0!==Ee.fragment&&(Ke.push("#"),Ke.push(Ee.fragment)),Ke.join("")}function we(Ee,be){var Qe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Ze={};return arguments[3]||(Ee=He(mt(Ee,Qe),Qe),be=He(mt(be,Qe),Qe)),!(Qe=Qe||{}).tolerant&&be.scheme?(Ze.scheme=be.scheme,Ze.userinfo=be.userinfo,Ze.host=be.host,Ze.port=be.port,Ze.path=ot(be.path||""),Ze.query=be.query):(void 0!==be.userinfo||void 0!==be.host||void 0!==be.port?(Ze.userinfo=be.userinfo,Ze.host=be.host,Ze.port=be.port,Ze.path=ot(be.path||""),Ze.query=be.query):(be.path?("/"===be.path.charAt(0)?Ze.path=ot(be.path):(Ze.path=void 0===Ee.userinfo&&void 0===Ee.host&&void 0===Ee.port||Ee.path?Ee.path?Ee.path.slice(0,Ee.path.lastIndexOf("/")+1)+be.path:be.path:"/"+be.path,Ze.path=ot(Ze.path)),Ze.query=be.query):(Ze.path=Ee.path,Ze.query=void 0!==be.query?be.query:Ee.query),Ze.userinfo=Ee.userinfo,Ze.host=Ee.host,Ze.port=Ee.port),Ze.scheme=Ee.scheme),Ze.fragment=be.fragment,Ze}function Ae(Ee,be){return Ee&&Ee.toString().replace(be&&be.iri?z.PCT_ENCODED:u.PCT_ENCODED,le)}var Le={scheme:"http",domainHost:!0,parse:function(be,Qe){return be.host||(be.error=be.error||"HTTP URIs must have a host."),be},serialize:function(be,Qe){var Ke="https"===String(be.scheme).toLowerCase();return(be.port===(Ke?443:80)||""===be.port)&&(be.port=void 0),be.path||(be.path="/"),be}},ht={scheme:"https",domainHost:Le.domainHost,parse:Le.parse,serialize:Le.serialize};function Ot(Ee){return"boolean"==typeof Ee.secure?Ee.secure:"wss"===String(Ee.scheme).toLowerCase()}var Lt={scheme:"ws",domainHost:!0,parse:function(be,Qe){var Ke=be;return Ke.secure=Ot(Ke),Ke.resourceName=(Ke.path||"/")+(Ke.query?"?"+Ke.query:""),Ke.path=void 0,Ke.query=void 0,Ke},serialize:function(be,Qe){if((be.port===(Ot(be)?443:80)||""===be.port)&&(be.port=void 0),"boolean"==typeof be.secure&&(be.scheme=be.secure?"wss":"ws",be.secure=void 0),be.resourceName){var Ke=be.resourceName.split("?"),Ze=M(Ke,2),ve=Ze[0],nt=Ze[1];be.path=ve&&"/"!==ve?ve:void 0,be.query=nt,be.resourceName=void 0}return be.fragment=void 0,be}},Wt={scheme:"wss",domainHost:Lt.domainHost,parse:Lt.parse,serialize:Lt.serialize},qt={},Vt="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",cn="[0-9A-Fa-f]",ft=n(n("%[EFef]"+cn+"%"+cn+cn+"%"+cn+cn)+"|"+n("%[89A-Fa-f]"+cn+"%"+cn+cn)+"|"+n("%"+cn+cn)),Ct=e("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),kt=new RegExp(Vt,"g"),St=new RegExp(ft,"g"),qe=new RegExp(e("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Ct),"g"),Fe=new RegExp(e("[^]",Vt,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),fe=Fe;function Xe(Ee){var be=le(Ee);return be.match(kt)?be:Ee}var ge={scheme:"mailto",parse:function(be,Qe){var Ke=be,Ze=Ke.to=Ke.path?Ke.path.split(","):[];if(Ke.path=void 0,Ke.query){for(var ve=!1,nt={},x=Ke.query.split("&"),N=0,O=x.length;N{"use strict";o.d(I,{Z:()=>e});const e="import { MockStatusError, MockRequest } from '@delon/mock';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n// import * as Mock from 'mockjs';\n\nconst r = (min: number, max: number): number => Math.floor(Math.random() * (max - min + 1) + min);\n\nexport const USERS = {\n // \u652f\u6301\u503c\u4e3a Object \u548c Array\n 'GET /users': (req: MockRequest) => {\n const total = req.queryString.total || 100;\n const res: NzSafeAny = {\n list: [],\n total\n };\n for (let i = 0; i < +req.queryString.ps; i++) {\n res.list.push({\n id: i + 1,\n type: r(1, 3),\n picture: {\n thumbnail: `https://randomuser.me/api/portraits/thumb/${r(0, 1) === 0 ? 'men' : 'women'}/${r(1, 50)}.jpg`\n },\n name: {\n last: `last-${r(1, 10)}`,\n first: `first-${r(10, 20)}`\n },\n nat: ['CH', 'US', 'DE'][i % 3],\n gender: ['male', 'female'][i % 2],\n email: `aaa${r(1, 10)}@qq.com`,\n phone: `phone-${r(1000, 100000)}`,\n price: r(10, 10000000),\n total: r(10, 10000000),\n website: `https://${r(10, 10000000)}.com/`,\n disabled: r(1, 100) > 50,\n registered: new Date()\n });\n }\n return res;\n },\n 'GET /user/check/': () => false,\n 'GET /user/check/:name': (req: MockRequest) => req.params.name === 'cipchk',\n // GET POST \u53ef\u7701\u7565\n // '/users/1': Mock.mock({ id: 1, 'rank|3': '\u2605\u2605\u2605' }),\n // \u53d1\u9001 Status \u9519\u8bef\n '/500': () => {\n throw new MockStatusError(500);\n },\n '/404': () => {\n throw new MockStatusError(404);\n },\n '/user/:id': (req: MockRequest) => {\n return { id: req.params.id, name: 'detail' };\n },\n '/user/:id/edit': (req: MockRequest) => {\n return { id: req.params.id, name: 'edit' };\n },\n '/user/:id/upload': (req: MockRequest) => {\n return { id: req.params.id, name: 'upload' };\n }\n};\n"},59344:tt=>{function I(e,n,t,i,l,h,E){try{var u=e[h](E),z=u.value}catch(M){return void t(M)}u.done?n(z):Promise.resolve(z).then(i,l)}tt.exports=function o(e){return function(){var n=this,t=arguments;return new Promise(function(i,l){var h=e.apply(n,t);function E(z){I(h,i,l,E,u,"next",z)}function u(z){I(h,i,l,E,u,"throw",z)}E(void 0)})}},tt.exports.__esModule=!0,tt.exports.default=tt.exports},49671:(tt,I,o)=>{"use strict";function e(t,i,l,h,E,u,z){try{var M=t[u](z),p=M.value}catch(v){return void l(v)}M.done?i(p):Promise.resolve(p).then(h,E)}function n(t){return function(){var i=this,l=arguments;return new Promise(function(h,E){var u=t.apply(i,l);function z(p){e(u,h,E,z,M,"next",p)}function M(p){e(u,h,E,z,M,"throw",p)}z(void 0)})}}o.d(I,{Z:()=>n})},86825:(tt,I,o)=>{"use strict";o.d(I,{EY:()=>f,IO:()=>m,LC:()=>n,SB:()=>z,X$:()=>i,ZE:()=>T,ZN:()=>C,_j:()=>e,eR:()=>p,jt:()=>l,k1:()=>b,l3:()=>t,oB:()=>u,vP:()=>E});class e{}class n{}const t="*";function i(D,y){return{type:7,name:D,definitions:y,options:{}}}function l(D,y=null){return{type:4,styles:y,timings:D}}function E(D,y=null){return{type:2,steps:D,options:y}}function u(D){return{type:6,styles:D,offset:null}}function z(D,y,P){return{type:0,name:D,styles:y,options:P}}function p(D,y,P=null){return{type:1,expr:D,animation:y,options:P}}function m(D,y,P=null){return{type:11,selector:D,animation:y,options:P}}function f(D,y){return{type:12,timings:D,animation:y}}class C{constructor(y=0,P=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=y+P}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(y=>y()),this._onDoneFns=[])}onStart(y){this._originalOnStartFns.push(y),this._onStartFns.push(y)}onDone(y){this._originalOnDoneFns.push(y),this._onDoneFns.push(y)}onDestroy(y){this._onDestroyFns.push(y)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(y=>y()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(y=>y()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(y){this._position=this.totalTime?y*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(y){const P="start"==y?this._onStartFns:this._onDoneFns;P.forEach(S=>S()),P.length=0}}class T{constructor(y){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=y;let P=0,S=0,A=0;const k=this.players.length;0==k?queueMicrotask(()=>this._onFinish()):this.players.forEach(R=>{R.onDone(()=>{++P==k&&this._onFinish()}),R.onDestroy(()=>{++S==k&&this._onDestroy()}),R.onStart(()=>{++A==k&&this._onStart()})}),this.totalTime=this.players.reduce((R,W)=>Math.max(R,W.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(y=>y()),this._onDoneFns=[])}init(){this.players.forEach(y=>y.init())}onStart(y){this._onStartFns.push(y)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(y=>y()),this._onStartFns=[])}onDone(y){this._onDoneFns.push(y)}onDestroy(y){this._onDestroyFns.push(y)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(y=>y.play())}pause(){this.players.forEach(y=>y.pause())}restart(){this.players.forEach(y=>y.restart())}finish(){this._onFinish(),this.players.forEach(y=>y.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(y=>y.destroy()),this._onDestroyFns.forEach(y=>y()),this._onDestroyFns=[])}reset(){this.players.forEach(y=>y.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(y){const P=y*this.totalTime;this.players.forEach(S=>{const A=S.totalTime?Math.min(1,P/S.totalTime):1;S.setPosition(A)})}getPosition(){const y=this.players.reduce((P,S)=>null===P||S.totalTime>P.totalTime?S:P,null);return null!=y?y.getPosition():0}beforeDestroy(){this.players.forEach(y=>{y.beforeDestroy&&y.beforeDestroy()})}triggerCallback(y){const P="start"==y?this._onStartFns:this._onDoneFns;P.forEach(S=>S()),P.length=0}}const b="!"},4300:(tt,I,o)=>{"use strict";o.d(I,{Em:()=>K,X6:()=>ot,kH:()=>cn,mK:()=>He,qV:()=>Q,rt:()=>Nt,tE:()=>Vt,yG:()=>mt});var e=o(96814),n=o(65879),t=o(62831),i=o(78645),l=o(47394),h=o(65619),E=o(22096),u=o(36028),z=o(99397),M=o(83620),p=o(32181),v=o(37398),_=o(48180),d=o(836),m=o(93997),f=o(59773),C=o(42495),T=o(17131),b=o(71088);class G{constructor(St){this._items=St,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new i.x,this._typeaheadSubscription=l.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=qe=>qe.disabled,this._pressedLetters=[],this.tabOut=new i.x,this.change=new i.x,St instanceof n.n_E&&(this._itemChangesSubscription=St.changes.subscribe(qe=>{if(this._activeItem){const fe=qe.toArray().indexOf(this._activeItem);fe>-1&&fe!==this._activeItemIndex&&(this._activeItemIndex=fe)}}))}skipPredicate(St){return this._skipPredicateFn=St,this}withWrap(St=!0){return this._wrap=St,this}withVerticalOrientation(St=!0){return this._vertical=St,this}withHorizontalOrientation(St){return this._horizontal=St,this}withAllowedModifierKeys(St){return this._allowedModifierKeys=St,this}withTypeAhead(St=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,z.b)(qe=>this._pressedLetters.push(qe)),(0,M.b)(St),(0,p.h)(()=>this._pressedLetters.length>0),(0,v.U)(()=>this._pressedLetters.join(""))).subscribe(qe=>{const Fe=this._getItemsArray();for(let fe=1;fe!St[Xe]||this._allowedModifierKeys.indexOf(Xe)>-1);switch(qe){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&fe){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&fe){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&fe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&fe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&fe){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&fe){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&fe){const Xe=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Xe>0?Xe:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&fe){const Xe=this._activeItemIndex+this._pageUpAndDown.delta,ge=this._getItemsArray().length;this._setActiveItemByIndex(Xe=u.A&&qe<=u.Z||qe>=u.xE&&qe<=u.aO)&&this._letterKeyStream.next(String.fromCharCode(qe))))}this._pressedLetters=[],St.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(St){const qe=this._getItemsArray(),Fe="number"==typeof St?St:qe.indexOf(St);this._activeItem=qe[Fe]??null,this._activeItemIndex=Fe}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(St){this._wrap?this._setActiveInWrapMode(St):this._setActiveInDefaultMode(St)}_setActiveInWrapMode(St){const qe=this._getItemsArray();for(let Fe=1;Fe<=qe.length;Fe++){const fe=(this._activeItemIndex+St*Fe+qe.length)%qe.length;if(!this._skipPredicateFn(qe[fe]))return void this.setActiveItem(fe)}}_setActiveInDefaultMode(St){this._setActiveItemByIndex(this._activeItemIndex+St,St)}_setActiveItemByIndex(St,qe){const Fe=this._getItemsArray();if(Fe[St]){for(;this._skipPredicateFn(Fe[St]);)if(!Fe[St+=qe])return;this.setActiveItem(St)}}_getItemsArray(){return this._items instanceof n.n_E?this._items.toArray():this._items}}class K extends G{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(St){return this._origin=St,this}setActiveItem(St){super.setActiveItem(St),this.activeItem&&this.activeItem.focus(this._origin)}}let te=(()=>{class kt{constructor(qe){this._platform=qe}isDisabled(qe){return qe.hasAttribute("disabled")}isVisible(qe){return function re(kt){return!!(kt.offsetWidth||kt.offsetHeight||"function"==typeof kt.getClientRects&&kt.getClientRects().length)}(qe)&&"visible"===getComputedStyle(qe).visibility}isTabbable(qe){if(!this._platform.isBrowser)return!1;const Fe=function pe(kt){try{return kt.frameElement}catch{return null}}(function oe(kt){return kt.ownerDocument&&kt.ownerDocument.defaultView||window}(qe));if(Fe&&(-1===Se(Fe)||!this.isVisible(Fe)))return!1;let fe=qe.nodeName.toLowerCase(),Xe=Se(qe);return qe.hasAttribute("contenteditable")?-1!==Xe:!("iframe"===fe||"object"===fe||this._platform.WEBKIT&&this._platform.IOS&&!function Ne(kt){let St=kt.nodeName.toLowerCase(),qe="input"===St&&kt.type;return"text"===qe||"password"===qe||"select"===St||"textarea"===St}(qe))&&("audio"===fe?!!qe.hasAttribute("controls")&&-1!==Xe:"video"===fe?-1!==Xe&&(null!==Xe||this._platform.FIREFOX||qe.hasAttribute("controls")):qe.tabIndex>=0)}isFocusable(qe,Fe){return function ke(kt){return!function ae(kt){return function X(kt){return"input"==kt.nodeName.toLowerCase()}(kt)&&"hidden"==kt.type}(kt)&&(function De(kt){let St=kt.nodeName.toLowerCase();return"input"===St||"select"===St||"button"===St||"textarea"===St}(kt)||function ce(kt){return function ne(kt){return"a"==kt.nodeName.toLowerCase()}(kt)&&kt.hasAttribute("href")}(kt)||kt.hasAttribute("contenteditable")||le(kt))}(qe)&&!this.isDisabled(qe)&&(Fe?.ignoreVisibility||this.isVisible(qe))}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(t.t4))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();function le(kt){if(!kt.hasAttribute("tabindex")||void 0===kt.tabIndex)return!1;let St=kt.getAttribute("tabindex");return!(!St||isNaN(parseInt(St,10)))}function Se(kt){if(!le(kt))return null;const St=parseInt(kt.getAttribute("tabindex")||"",10);return isNaN(St)?-1:St}class _e{get enabled(){return this._enabled}set enabled(St){this._enabled=St,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(St,this._startAnchor),this._toggleAnchorTabIndex(St,this._endAnchor))}constructor(St,qe,Fe,fe,Xe=!1){this._element=St,this._checker=qe,this._ngZone=Fe,this._document=fe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Xe||this.attachAnchors()}destroy(){const St=this._startAnchor,qe=this._endAnchor;St&&(St.removeEventListener("focus",this.startAnchorListener),St.remove()),qe&&(qe.removeEventListener("focus",this.endAnchorListener),qe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(St){return new Promise(qe=>{this._executeOnStable(()=>qe(this.focusInitialElement(St)))})}focusFirstTabbableElementWhenReady(St){return new Promise(qe=>{this._executeOnStable(()=>qe(this.focusFirstTabbableElement(St)))})}focusLastTabbableElementWhenReady(St){return new Promise(qe=>{this._executeOnStable(()=>qe(this.focusLastTabbableElement(St)))})}_getRegionBoundary(St){const qe=this._element.querySelectorAll(`[cdk-focus-region-${St}], [cdkFocusRegion${St}], [cdk-focus-${St}]`);return"start"==St?qe.length?qe[0]:this._getFirstTabbableElement(this._element):qe.length?qe[qe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(St){const qe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(qe){if(!this._checker.isFocusable(qe)){const Fe=this._getFirstTabbableElement(qe);return Fe?.focus(St),!!Fe}return qe.focus(St),!0}return this.focusFirstTabbableElement(St)}focusFirstTabbableElement(St){const qe=this._getRegionBoundary("start");return qe&&qe.focus(St),!!qe}focusLastTabbableElement(St){const qe=this._getRegionBoundary("end");return qe&&qe.focus(St),!!qe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(St){if(this._checker.isFocusable(St)&&this._checker.isTabbable(St))return St;const qe=St.children;for(let Fe=0;Fe=0;Fe--){const fe=qe[Fe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(qe[Fe]):null;if(fe)return fe}return null}_createAnchor(){const St=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,St),St.classList.add("cdk-visually-hidden"),St.classList.add("cdk-focus-trap-anchor"),St.setAttribute("aria-hidden","true"),St}_toggleAnchorTabIndex(St,qe){St?qe.setAttribute("tabindex","0"):qe.removeAttribute("tabindex")}toggleAnchors(St){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(St,this._startAnchor),this._toggleAnchorTabIndex(St,this._endAnchor))}_executeOnStable(St){this._ngZone.isStable?St():this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(St)}}let Q=(()=>{class kt{constructor(qe,Fe,fe){this._checker=qe,this._ngZone=Fe,this._document=fe}create(qe,Fe=!1){return new _e(qe,this._checker,this._ngZone,this._document,Fe)}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(te),n.LFG(n.R0b),n.LFG(e.K0))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),He=(()=>{class kt{get enabled(){return this.focusTrap.enabled}set enabled(qe){this.focusTrap.enabled=(0,C.Ig)(qe)}get autoCapture(){return this._autoCapture}set autoCapture(qe){this._autoCapture=(0,C.Ig)(qe)}constructor(qe,Fe,fe){this._elementRef=qe,this._focusTrapFactory=Fe,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(qe){const Fe=qe.autoCapture;Fe&&!Fe.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,t.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.Y36(n.SBq),n.Y36(Q),n.Y36(e.K0))};static#t=this.\u0275dir=n.lG2({type:kt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[n.TTD]})}return kt})();function ot(kt){return 0===kt.buttons||0===kt.offsetX&&0===kt.offsetY}function mt(kt){const St=kt.touches&&kt.touches[0]||kt.changedTouches&&kt.changedTouches[0];return!(!St||-1!==St.identifier||null!=St.radiusX&&1!==St.radiusX||null!=St.radiusY&&1!==St.radiusY)}const we=new n.OlP("cdk-input-modality-detector-options"),de={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},B=(0,t.i$)({passive:!0,capture:!0});let Me=(()=>{class kt{get mostRecentModality(){return this._modality.value}constructor(qe,Fe,fe,Xe){this._platform=qe,this._mostRecentTarget=null,this._modality=new h.X(null),this._lastTouchMs=0,this._onKeydown=ge=>{this._options?.ignoreKeys?.some(je=>je===ge.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,t.sA)(ge))},this._onMousedown=ge=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ot(ge)?"keyboard":"mouse"),this._mostRecentTarget=(0,t.sA)(ge))},this._onTouchstart=ge=>{mt(ge)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,t.sA)(ge))},this._options={...de,...Xe},this.modalityDetected=this._modality.pipe((0,d.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,m.x)()),qe.isBrowser&&Fe.runOutsideAngular(()=>{fe.addEventListener("keydown",this._onKeydown,B),fe.addEventListener("mousedown",this._onMousedown,B),fe.addEventListener("touchstart",this._onTouchstart,B)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,B),document.removeEventListener("mousedown",this._onMousedown,B),document.removeEventListener("touchstart",this._onTouchstart,B))}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(t.t4),n.LFG(n.R0b),n.LFG(e.K0),n.LFG(we,8))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();const qt=new n.OlP("cdk-focus-monitor-default-options"),en=(0,t.i$)({passive:!0,capture:!0});let Vt=(()=>{class kt{constructor(qe,Fe,fe,Xe,ge){this._ngZone=qe,this._platform=Fe,this._inputModalityDetector=fe,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new i.x,this._rootNodeFocusAndBlurListener=je=>{for(let We=(0,t.sA)(je);We;We=We.parentElement)"focus"===je.type?this._onFocus(je,We):this._onBlur(je,We)},this._document=Xe,this._detectionMode=ge?.detectionMode||0}monitor(qe,Fe=!1){const fe=(0,C.fI)(qe);if(!this._platform.isBrowser||1!==fe.nodeType)return(0,E.of)();const Xe=(0,t.kV)(fe)||this._getDocument(),ge=this._elementInfo.get(fe);if(ge)return Fe&&(ge.checkChildren=!0),ge.subject;const je={checkChildren:Fe,subject:new i.x,rootNode:Xe};return this._elementInfo.set(fe,je),this._registerGlobalListeners(je),je.subject}stopMonitoring(qe){const Fe=(0,C.fI)(qe),fe=this._elementInfo.get(Fe);fe&&(fe.subject.complete(),this._setClasses(Fe),this._elementInfo.delete(Fe),this._removeGlobalListeners(fe))}focusVia(qe,Fe,fe){const Xe=(0,C.fI)(qe);Xe===this._getDocument().activeElement?this._getClosestElementsInfo(Xe).forEach(([je,Ye])=>this._originChanged(je,Fe,Ye)):(this._setOrigin(Fe),"function"==typeof Xe.focus&&Xe.focus(fe))}ngOnDestroy(){this._elementInfo.forEach((qe,Fe)=>this.stopMonitoring(Fe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(qe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(qe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:qe&&this._isLastInteractionFromInputLabel(qe)?"mouse":"program"}_shouldBeAttributedToTouch(qe){return 1===this._detectionMode||!!qe?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(qe,Fe){qe.classList.toggle("cdk-focused",!!Fe),qe.classList.toggle("cdk-touch-focused","touch"===Fe),qe.classList.toggle("cdk-keyboard-focused","keyboard"===Fe),qe.classList.toggle("cdk-mouse-focused","mouse"===Fe),qe.classList.toggle("cdk-program-focused","program"===Fe)}_setOrigin(qe,Fe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=qe,this._originFromTouchInteraction="touch"===qe&&Fe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(qe,Fe){const fe=this._elementInfo.get(Fe),Xe=(0,t.sA)(qe);!fe||!fe.checkChildren&&Fe!==Xe||this._originChanged(Fe,this._getFocusOrigin(Xe),fe)}_onBlur(qe,Fe){const fe=this._elementInfo.get(Fe);!fe||fe.checkChildren&&qe.relatedTarget instanceof Node&&Fe.contains(qe.relatedTarget)||(this._setClasses(Fe),this._emitOrigin(fe,null))}_emitOrigin(qe,Fe){qe.subject.observers.length&&this._ngZone.run(()=>qe.subject.next(Fe))}_registerGlobalListeners(qe){if(!this._platform.isBrowser)return;const Fe=qe.rootNode,fe=this._rootNodeFocusListenerCount.get(Fe)||0;fe||this._ngZone.runOutsideAngular(()=>{Fe.addEventListener("focus",this._rootNodeFocusAndBlurListener,en),Fe.addEventListener("blur",this._rootNodeFocusAndBlurListener,en)}),this._rootNodeFocusListenerCount.set(Fe,fe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,f.R)(this._stopInputModalityDetector)).subscribe(Xe=>{this._setOrigin(Xe,!0)}))}_removeGlobalListeners(qe){const Fe=qe.rootNode;if(this._rootNodeFocusListenerCount.has(Fe)){const fe=this._rootNodeFocusListenerCount.get(Fe);fe>1?this._rootNodeFocusListenerCount.set(Fe,fe-1):(Fe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,en),Fe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,en),this._rootNodeFocusListenerCount.delete(Fe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(qe,Fe,fe){this._setClasses(qe,Fe),this._emitOrigin(fe,Fe),this._lastFocusOrigin=Fe}_getClosestElementsInfo(qe){const Fe=[];return this._elementInfo.forEach((fe,Xe)=>{(Xe===qe||fe.checkChildren&&Xe.contains(qe))&&Fe.push([Xe,fe])}),Fe}_isLastInteractionFromInputLabel(qe){const{_mostRecentTarget:Fe,mostRecentModality:fe}=this._inputModalityDetector;if("mouse"!==fe||!Fe||Fe===qe||"INPUT"!==qe.nodeName&&"TEXTAREA"!==qe.nodeName||qe.disabled)return!1;const Xe=qe.labels;if(Xe)for(let ge=0;ge{class kt{constructor(qe,Fe){this._elementRef=qe,this._focusMonitor=Fe,this._focusOrigin=null,this.cdkFocusChange=new n.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const qe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(qe,1===qe.nodeType&&qe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Fe=>{this._focusOrigin=Fe,this.cdkFocusChange.emit(Fe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.Y36(n.SBq),n.Y36(Vt))};static#t=this.\u0275dir=n.lG2({type:kt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return kt})();const ft="cdk-high-contrast-black-on-white",gt="cdk-high-contrast-white-on-black",Ie="cdk-high-contrast-active";let Ct=(()=>{class kt{constructor(qe,Fe){this._platform=qe,this._document=Fe,this._breakpointSubscription=(0,n.f3M)(b.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const qe=this._document.createElement("div");qe.style.backgroundColor="rgb(1,2,3)",qe.style.position="absolute",this._document.body.appendChild(qe);const Fe=this._document.defaultView||window,fe=Fe&&Fe.getComputedStyle?Fe.getComputedStyle(qe):null,Xe=(fe&&fe.backgroundColor||"").replace(/ /g,"");switch(qe.remove(),Xe){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const qe=this._document.body.classList;qe.remove(Ie,ft,gt),this._hasCheckedHighContrastMode=!0;const Fe=this.getHighContrastMode();1===Fe?qe.add(Ie,ft):2===Fe&&qe.add(Ie,gt)}}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(t.t4),n.LFG(e.K0))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),Nt=(()=>{class kt{constructor(qe){qe._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(Ct))};static#t=this.\u0275mod=n.oAB({type:kt});static#n=this.\u0275inj=n.cJS({imports:[T.Q8]})}return kt})()},49388:(tt,I,o)=>{"use strict";o.d(I,{Is:()=>E,Lv:()=>u,vT:()=>z});var e=o(65879),n=o(96814);const t=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function i(){return(0,e.f3M)(n.K0)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function h(M){const p=M?.toLowerCase()||"";return"auto"===p&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===p?"rtl":"ltr"}let E=(()=>{class M{constructor(v){this.value="ltr",this.change=new e.vpe,v&&(this.value=h((v.body?v.body.dir:null)||(v.documentElement?v.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(_){return new(_||M)(e.LFG(t,8))};static#t=this.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),u=(()=>{class M{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new e.vpe}get dir(){return this._dir}set dir(v){const _=this._dir;this._dir=h(v),this._rawDir=v,_!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(_){return new(_||M)};static#t=this.\u0275dir=e.lG2({type:M,selectors:[["","dir",""]],hostVars:1,hostBindings:function(_,d){2&_&&e.uIk("dir",d._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[e._Bn([{provide:E,useExisting:M}])]})}return M})(),z=(()=>{class M{static#e=this.\u0275fac=function(_){return new(_||M)};static#t=this.\u0275mod=e.oAB({type:M});static#n=this.\u0275inj=e.cJS({})}return M})()},42495:(tt,I,o)=>{"use strict";o.d(I,{Eq:()=>l,HM:()=>h,Ig:()=>n,fI:()=>E,su:()=>t,t6:()=>i});var e=o(65879);function n(z){return null!=z&&"false"!=`${z}`}function t(z,M=0){return i(z)?Number(z):M}function i(z){return!isNaN(parseFloat(z))&&!isNaN(Number(z))}function l(z){return Array.isArray(z)?z:[z]}function h(z){return null==z?"":"string"==typeof z?z:`${z}px`}function E(z){return z instanceof e.SBq?z.nativeElement:z}},34423:(tt,I,o)=>{"use strict";o.d(I,{Bh:()=>ht,Zt:()=>ft,_t:()=>St,v0:()=>B});var e=o(65879),n=o(96814),t=o(205),i=o(62831),l=o(42495),h=o(4300),E=o(78645),u=o(47394),z=o(91687),M=o(80927),p=o(65592),v=o(63019),_=o(59773),d=o(37398),m=o(48180),f=o(27921),C=o(99397),T=o(94664),b=o(49388);function D(qe,Fe,fe){for(let Xe in Fe)if(Fe.hasOwnProperty(Xe)){const ge=Fe[Xe];ge?qe.setProperty(Xe,ge,fe?.has(Xe)?"important":""):qe.removeProperty(Xe)}return qe}function y(qe,Fe){const fe=Fe?"":"none";D(qe.style,{"touch-action":Fe?"":"none","-webkit-user-drag":Fe?"":"none","-webkit-tap-highlight-color":Fe?"":"transparent","user-select":fe,"-ms-user-select":fe,"-webkit-user-select":fe,"-moz-user-select":fe})}function P(qe,Fe,fe){D(qe.style,{position:Fe?"":"fixed",top:Fe?"":"0",opacity:Fe?"":"0",left:Fe?"":"-999em"},fe)}function S(qe,Fe){return Fe&&"none"!=Fe?qe+" "+Fe:qe}function A(qe){const Fe=qe.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(qe)*Fe}function R(qe,Fe){return qe.getPropertyValue(Fe).split(",").map(Xe=>Xe.trim())}function W(qe){const Fe=qe.getBoundingClientRect();return{top:Fe.top,right:Fe.right,bottom:Fe.bottom,left:Fe.left,width:Fe.width,height:Fe.height,x:Fe.x,y:Fe.y}}function j(qe,Fe,fe){const{top:Xe,bottom:ge,left:je,right:Ye}=qe;return fe>=Xe&&fe<=ge&&Fe>=je&&Fe<=Ye}function ze(qe,Fe,fe){qe.top+=Fe,qe.bottom=qe.top+qe.height,qe.left+=fe,qe.right=qe.left+qe.width}function Y(qe,Fe,fe,Xe){const{top:ge,right:je,bottom:Ye,left:We,width:wt,height:Ee}=qe,be=wt*Fe,Qe=Ee*Fe;return Xe>ge-Qe&&XeWe-be&&fe{this.positions.set(fe,{scrollPosition:{top:fe.scrollTop,left:fe.scrollLeft},clientRect:W(fe)})})}handleScroll(Fe){const fe=(0,i.sA)(Fe),Xe=this.positions.get(fe);if(!Xe)return null;const ge=Xe.scrollPosition;let je,Ye;if(fe===this._document){const Ee=this.getViewportScrollPosition();je=Ee.top,Ye=Ee.left}else je=fe.scrollTop,Ye=fe.scrollLeft;const We=ge.top-je,wt=ge.left-Ye;return this.positions.forEach((Ee,be)=>{Ee.clientRect&&fe!==be&&fe.contains(be)&&ze(Ee.clientRect,We,wt)}),ge.top=je,ge.left=Ye,{top:We,left:wt}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function V(qe){const Fe=qe.cloneNode(!0),fe=Fe.querySelectorAll("[id]"),Xe=qe.nodeName.toLowerCase();Fe.removeAttribute("id");for(let ge=0;gey(Xe,fe)))}constructor(Fe,fe,Xe,ge,je,Ye){this._config=fe,this._document=Xe,this._ngZone=ge,this._viewportRuler=je,this._dragDropRegistry=Ye,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new E.x,this._pointerMoveSubscription=u.w0.EMPTY,this._pointerUpSubscription=u.w0.EMPTY,this._scrollSubscription=u.w0.EMPTY,this._resizeSubscription=u.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new E.x,this.started=new E.x,this.released=new E.x,this.ended=new E.x,this.entered=new E.x,this.exited=new E.x,this.dropped=new E.x,this.moved=this._moveEvents,this._pointerDown=We=>{if(this.beforeStarted.next(),this._handles.length){const wt=this._getTargetHandle(We);wt&&!this._disabledHandles.has(wt)&&!this.disabled&&this._initializeDragSequence(wt,We)}else this.disabled||this._initializeDragSequence(this._rootElement,We)},this._pointerMove=We=>{const wt=this._getPointerPositionOnPage(We);if(!this._hasStartedDragging){if(Math.abs(wt.x-this._pickupPositionOnPage.x)+Math.abs(wt.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Ze=Date.now()>=this._dragStartTime+this._getDragStartDelay(We),ve=this._dropContainer;if(!Ze)return void this._endDragSequence(We);(!ve||!ve.isDragging()&&!ve.isReceiving())&&(We.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(We)))}return}We.preventDefault();const Ee=this._getConstrainedPointerPosition(wt);if(this._hasMoved=!0,this._lastKnownPointerPosition=wt,this._updatePointerDirectionDelta(Ee),this._dropContainer)this._updateActiveDropContainer(Ee,wt);else{const be=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,Qe=this._activeTransform;Qe.x=Ee.x-be.x+this._passiveTransform.x,Qe.y=Ee.y-be.y+this._passiveTransform.y,this._applyRootElementTransform(Qe.x,Qe.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Ee,event:We,distance:this._getDragDistance(Ee),delta:this._pointerDirectionDelta})})},this._pointerUp=We=>{this._endDragSequence(We)},this._nativeDragStart=We=>{if(this._handles.length){const wt=this._getTargetHandle(We);wt&&!this._disabledHandles.has(wt)&&!this.disabled&&We.preventDefault()}else this.disabled||We.preventDefault()},this.withRootElement(Fe).withParent(fe.parentDragRef||null),this._parentPositions=new G(Xe),Ye.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(Fe){this._handles=Fe.map(Xe=>(0,l.fI)(Xe)),this._handles.forEach(Xe=>y(Xe,this.disabled)),this._toggleNativeDragInteractions();const fe=new Set;return this._disabledHandles.forEach(Xe=>{this._handles.indexOf(Xe)>-1&&fe.add(Xe)}),this._disabledHandles=fe,this}withPreviewTemplate(Fe){return this._previewTemplate=Fe,this}withPlaceholderTemplate(Fe){return this._placeholderTemplate=Fe,this}withRootElement(Fe){const fe=(0,l.fI)(Fe);return fe!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{fe.addEventListener("mousedown",this._pointerDown,De),fe.addEventListener("touchstart",this._pointerDown,re),fe.addEventListener("dragstart",this._nativeDragStart,De)}),this._initialTransform=void 0,this._rootElement=fe),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(Fe){return this._boundaryElement=Fe?(0,l.fI)(Fe):null,this._resizeSubscription.unsubscribe(),Fe&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(Fe){return this._parentDragRef=Fe,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(Fe){!this._disabledHandles.has(Fe)&&this._handles.indexOf(Fe)>-1&&(this._disabledHandles.add(Fe),y(Fe,!0))}enableHandle(Fe){this._disabledHandles.has(Fe)&&(this._disabledHandles.delete(Fe),y(Fe,this.disabled))}withDirection(Fe){return this._direction=Fe,this}_withDropContainer(Fe){this._dropContainer=Fe}getFreeDragPosition(){const Fe=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:Fe.x,y:Fe.y}}setFreeDragPosition(Fe){return this._activeTransform={x:0,y:0},this._passiveTransform.x=Fe.x,this._passiveTransform.y=Fe.y,this._dropContainer||this._applyRootElementTransform(Fe.x,Fe.y),this}withPreviewContainer(Fe){return this._previewContainer=Fe,this}_sortFromLastPointerPosition(){const Fe=this._lastKnownPointerPosition;Fe&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(Fe),Fe)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(Fe){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:Fe}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(Fe),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const fe=this._getPointerPositionOnPage(Fe);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(fe),dropPoint:fe,event:Fe})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(Fe){Se(Fe)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const fe=this._dropContainer;if(fe){const Xe=this._rootElement,ge=Xe.parentNode,je=this._placeholder=this._createPlaceholderElement(),Ye=this._anchor=this._anchor||this._document.createComment(""),We=this._getShadowRoot();ge.insertBefore(Ye,Xe),this._initialTransform=Xe.style.transform||"",this._preview=this._createPreviewElement(),P(Xe,!1,ce),this._document.body.appendChild(ge.replaceChild(je,Xe)),this._getPreviewInsertionPoint(ge,We).appendChild(this._preview),this.started.next({source:this,event:Fe}),fe.start(),this._initialContainer=fe,this._initialIndex=fe.getItemIndex(this)}else this.started.next({source:this,event:Fe}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(fe?fe.getScrollableParents():[])}_initializeDragSequence(Fe,fe){this._parentDragRef&&fe.stopPropagation();const Xe=this.isDragging(),ge=Se(fe),je=!ge&&0!==fe.button,Ye=this._rootElement,We=(0,i.sA)(fe),wt=!ge&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Ee=ge?(0,h.yG)(fe):(0,h.X6)(fe);if(We&&We.draggable&&"mousedown"===fe.type&&fe.preventDefault(),Xe||je||wt||Ee)return;if(this._handles.length){const Ke=Ye.style;this._rootElementTapHighlight=Ke.webkitTapHighlightColor||"",Ke.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Ke=>this._updateOnScroll(Ke)),this._boundaryElement&&(this._boundaryRect=W(this._boundaryElement));const be=this._previewTemplate;this._pickupPositionInElement=be&&be.template&&!be.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,Fe,fe);const Qe=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(fe);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Qe.x,y:Qe.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,fe)}_cleanupDragArtifacts(Fe){P(this._rootElement,!0,ce),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const fe=this._dropContainer,Xe=fe.getItemIndex(this),ge=this._getPointerPositionOnPage(Fe),je=this._getDragDistance(ge),Ye=fe._isOverContainer(ge.x,ge.y);this.ended.next({source:this,distance:je,dropPoint:ge,event:Fe}),this.dropped.next({item:this,currentIndex:Xe,previousIndex:this._initialIndex,container:fe,previousContainer:this._initialContainer,isPointerOverContainer:Ye,distance:je,dropPoint:ge,event:Fe}),fe.drop(this,Xe,this._initialIndex,this._initialContainer,Ye,je,ge,Fe),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:Fe,y:fe},{x:Xe,y:ge}){let je=this._initialContainer._getSiblingContainerFromPosition(this,Fe,fe);!je&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(Fe,fe)&&(je=this._initialContainer),je&&je!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=je,this._dropContainer.enter(this,Fe,fe,je===this._initialContainer&&je.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:je,currentIndex:je.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(Xe,ge),this._dropContainer._sortItem(this,Fe,fe,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(Fe,fe):this._applyPreviewTransform(Fe-this._pickupPositionInElement.x,fe-this._pickupPositionInElement.y))}_createPreviewElement(){const Fe=this._previewTemplate,fe=this.previewClass,Xe=Fe?Fe.template:null;let ge;if(Xe&&Fe){const je=Fe.matchSize?this._initialClientRect:null,Ye=Fe.viewContainer.createEmbeddedView(Xe,Fe.context);Ye.detectChanges(),ge=Ne(Ye,this._document),this._previewRef=Ye,Fe.matchSize?ke(ge,je):ge.style.transform=ne(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else ge=V(this._rootElement),ke(ge,this._initialClientRect),this._initialTransform&&(ge.style.transform=this._initialTransform);return D(ge.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},ce),y(ge,!1),ge.classList.add("cdk-drag-preview"),ge.setAttribute("dir",this._direction),fe&&(Array.isArray(fe)?fe.forEach(je=>ge.classList.add(je)):ge.classList.add(fe)),ge}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const Fe=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(Fe.left,Fe.top);const fe=function k(qe){const Fe=getComputedStyle(qe),fe=R(Fe,"transition-property"),Xe=fe.find(We=>"transform"===We||"all"===We);if(!Xe)return 0;const ge=fe.indexOf(Xe),je=R(Fe,"transition-duration"),Ye=R(Fe,"transition-delay");return A(je[ge])+A(Ye[ge])}(this._preview);return 0===fe?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(Xe=>{const ge=Ye=>{(!Ye||(0,i.sA)(Ye)===this._preview&&"transform"===Ye.propertyName)&&(this._preview?.removeEventListener("transitionend",ge),Xe(),clearTimeout(je))},je=setTimeout(ge,1.5*fe);this._preview.addEventListener("transitionend",ge)}))}_createPlaceholderElement(){const Fe=this._placeholderTemplate,fe=Fe?Fe.template:null;let Xe;return fe?(this._placeholderRef=Fe.viewContainer.createEmbeddedView(fe,Fe.context),this._placeholderRef.detectChanges(),Xe=Ne(this._placeholderRef,this._document)):Xe=V(this._rootElement),Xe.style.pointerEvents="none",Xe.classList.add("cdk-drag-placeholder"),Xe}_getPointerPositionInElement(Fe,fe,Xe){const ge=fe===this._rootElement?null:fe,je=ge?ge.getBoundingClientRect():Fe,Ye=Se(Xe)?Xe.targetTouches[0]:Xe,We=this._getViewportScrollPosition();return{x:je.left-Fe.left+(Ye.pageX-je.left-We.left),y:je.top-Fe.top+(Ye.pageY-je.top-We.top)}}_getPointerPositionOnPage(Fe){const fe=this._getViewportScrollPosition(),Xe=Se(Fe)?Fe.touches[0]||Fe.changedTouches[0]||{pageX:0,pageY:0}:Fe,ge=Xe.pageX-fe.left,je=Xe.pageY-fe.top;if(this._ownerSVGElement){const Ye=this._ownerSVGElement.getScreenCTM();if(Ye){const We=this._ownerSVGElement.createSVGPoint();return We.x=ge,We.y=je,We.matrixTransform(Ye.inverse())}}return{x:ge,y:je}}_getConstrainedPointerPosition(Fe){const fe=this._dropContainer?this._dropContainer.lockAxis:null;let{x:Xe,y:ge}=this.constrainPosition?this.constrainPosition(Fe,this,this._initialClientRect,this._pickupPositionInElement):Fe;if("x"===this.lockAxis||"x"===fe?ge=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===fe)&&(Xe=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:je,y:Ye}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,We=this._boundaryRect,{width:wt,height:Ee}=this._getPreviewRect(),be=We.top+Ye,Qe=We.bottom-(Ee-Ye);Xe=le(Xe,We.left+je,We.right-(wt-je)),ge=le(ge,be,Qe)}return{x:Xe,y:ge}}_updatePointerDirectionDelta(Fe){const{x:fe,y:Xe}=Fe,ge=this._pointerDirectionDelta,je=this._pointerPositionAtLastDirectionChange,Ye=Math.abs(fe-je.x),We=Math.abs(Xe-je.y);return Ye>this._config.pointerDirectionChangeThreshold&&(ge.x=fe>je.x?1:-1,je.x=fe),We>this._config.pointerDirectionChangeThreshold&&(ge.y=Xe>je.y?1:-1,je.y=Xe),ge}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const Fe=this._handles.length>0||!this.isDragging();Fe!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=Fe,y(this._rootElement,Fe))}_removeRootElementListeners(Fe){Fe.removeEventListener("mousedown",this._pointerDown,De),Fe.removeEventListener("touchstart",this._pointerDown,re),Fe.removeEventListener("dragstart",this._nativeDragStart,De)}_applyRootElementTransform(Fe,fe){const Xe=ne(Fe,fe),ge=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=ge.transform&&"none"!=ge.transform?ge.transform:""),ge.transform=S(Xe,this._initialTransform)}_applyPreviewTransform(Fe,fe){const Xe=this._previewTemplate?.template?void 0:this._initialTransform,ge=ne(Fe,fe);this._preview.style.transform=S(ge,Xe)}_getDragDistance(Fe){const fe=this._pickupPositionOnPage;return fe?{x:Fe.x-fe.x,y:Fe.y-fe.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:Fe,y:fe}=this._passiveTransform;if(0===Fe&&0===fe||this.isDragging()||!this._boundaryElement)return;const Xe=this._rootElement.getBoundingClientRect(),ge=this._boundaryElement.getBoundingClientRect();if(0===ge.width&&0===ge.height||0===Xe.width&&0===Xe.height)return;const je=ge.left-Xe.left,Ye=Xe.right-ge.right,We=ge.top-Xe.top,wt=Xe.bottom-ge.bottom;ge.width>Xe.width?(je>0&&(Fe+=je),Ye>0&&(Fe-=Ye)):Fe=0,ge.height>Xe.height?(We>0&&(fe+=We),wt>0&&(fe-=wt)):fe=0,(Fe!==this._passiveTransform.x||fe!==this._passiveTransform.y)&&this.setFreeDragPosition({y:fe,x:Fe})}_getDragStartDelay(Fe){const fe=this.dragStartDelay;return"number"==typeof fe?fe:Se(Fe)?fe.touch:fe?fe.mouse:0}_updateOnScroll(Fe){const fe=this._parentPositions.handleScroll(Fe);if(fe){const Xe=(0,i.sA)(Fe);this._boundaryRect&&Xe!==this._boundaryElement&&Xe.contains(this._boundaryElement)&&ze(this._boundaryRect,fe.top,fe.left),this._pickupPositionOnPage.x+=fe.left,this._pickupPositionOnPage.y+=fe.top,this._dropContainer||(this._activeTransform.x-=fe.left,this._activeTransform.y-=fe.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,i.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(Fe,fe){const Xe=this._previewContainer||"global";if("parent"===Xe)return Fe;if("global"===Xe){const ge=this._document;return fe||ge.fullscreenElement||ge.webkitFullscreenElement||ge.mozFullScreenElement||ge.msFullscreenElement||ge.body}return(0,l.fI)(Xe)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(Fe){return this._handles.find(fe=>Fe.target&&(Fe.target===fe||fe.contains(Fe.target)))}}function ne(qe,Fe){return`translate3d(${Math.round(qe)}px, ${Math.round(Fe)}px, 0)`}function le(qe,Fe,fe){return Math.max(Fe,Math.min(fe,qe))}function Se(qe){return"t"===qe.type[0]}function Ne(qe,Fe){const fe=qe.rootNodes;if(1===fe.length&&fe[0].nodeType===Fe.ELEMENT_NODE)return fe[0];const Xe=Fe.createElement("div");return fe.forEach(ge=>Xe.appendChild(ge)),Xe}function ke(qe,Fe){qe.style.width=`${Fe.width}px`,qe.style.height=`${Fe.height}px`,qe.style.transform=ne(Fe.left,Fe.top)}function He(qe,Fe){return Math.max(0,Math.min(Fe,qe))}class Re{constructor(Fe,fe){this._element=Fe,this._dragDropRegistry=fe,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(Fe){this.withItems(Fe)}sort(Fe,fe,Xe,ge){const je=this._itemPositions,Ye=this._getItemIndexFromPointerPosition(Fe,fe,Xe,ge);if(-1===Ye&&je.length>0)return null;const We="horizontal"===this.orientation,wt=je.findIndex(x=>x.drag===Fe),Ee=je[Ye],Qe=Ee.clientRect,Ke=wt>Ye?1:-1,Ze=this._getItemOffsetPx(je[wt].clientRect,Qe,Ke),ve=this._getSiblingOffsetPx(wt,je,Ke),nt=je.slice();return function oe(qe,Fe,fe){const Xe=He(Fe,qe.length-1),ge=He(fe,qe.length-1);if(Xe===ge)return;const je=qe[Xe],Ye=ge{if(nt[N]===x)return;const O=x.drag===Fe,$=O?Ze:ve,L=O?Fe.getPlaceholderElement():x.drag.getRootElement();x.offset+=$,We?(L.style.transform=S(`translate3d(${Math.round(x.offset)}px, 0, 0)`,x.initialTransform),ze(x.clientRect,0,$)):(L.style.transform=S(`translate3d(0, ${Math.round(x.offset)}px, 0)`,x.initialTransform),ze(x.clientRect,$,0))}),this._previousSwap.overlaps=j(Qe,fe,Xe),this._previousSwap.drag=Ee.drag,this._previousSwap.delta=We?ge.x:ge.y,{previousIndex:wt,currentIndex:Ye}}enter(Fe,fe,Xe,ge){const je=null==ge||ge<0?this._getItemIndexFromPointerPosition(Fe,fe,Xe):ge,Ye=this._activeDraggables,We=Ye.indexOf(Fe),wt=Fe.getPlaceholderElement();let Ee=Ye[je];if(Ee===Fe&&(Ee=Ye[je+1]),!Ee&&(null==je||-1===je||je-1&&Ye.splice(We,1),Ee&&!this._dragDropRegistry.isDragging(Ee)){const be=Ee.getRootElement();be.parentElement.insertBefore(wt,be),Ye.splice(je,0,Fe)}else(0,l.fI)(this._element).appendChild(wt),Ye.push(Fe);wt.style.transform="",this._cacheItemPositions()}withItems(Fe){this._activeDraggables=Fe.slice(),this._cacheItemPositions()}withSortPredicate(Fe){this._sortPredicate=Fe}reset(){this._activeDraggables.forEach(Fe=>{const fe=Fe.getRootElement();if(fe){const Xe=this._itemPositions.find(ge=>ge.drag===Fe)?.initialTransform;fe.style.transform=Xe||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(Fe){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(Xe=>Xe.drag===Fe)}updateOnScroll(Fe,fe){this._itemPositions.forEach(({clientRect:Xe})=>{ze(Xe,Fe,fe)}),this._itemPositions.forEach(({drag:Xe})=>{this._dragDropRegistry.isDragging(Xe)&&Xe._sortFromLastPointerPosition()})}_cacheItemPositions(){const Fe="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(fe=>{const Xe=fe.getVisibleElement();return{drag:fe,offset:0,initialTransform:Xe.style.transform||"",clientRect:W(Xe)}}).sort((fe,Xe)=>Fe?fe.clientRect.left-Xe.clientRect.left:fe.clientRect.top-Xe.clientRect.top)}_getItemOffsetPx(Fe,fe,Xe){const ge="horizontal"===this.orientation;let je=ge?fe.left-Fe.left:fe.top-Fe.top;return-1===Xe&&(je+=ge?fe.width-Fe.width:fe.height-Fe.height),je}_getSiblingOffsetPx(Fe,fe,Xe){const ge="horizontal"===this.orientation,je=fe[Fe].clientRect,Ye=fe[Fe+-1*Xe];let We=je[ge?"width":"height"]*Xe;if(Ye){const wt=ge?"left":"top",Ee=ge?"right":"bottom";-1===Xe?We-=Ye.clientRect[wt]-je[Ee]:We+=je[wt]-Ye.clientRect[Ee]}return We}_shouldEnterAsFirstChild(Fe,fe){if(!this._activeDraggables.length)return!1;const Xe=this._itemPositions,ge="horizontal"===this.orientation;if(Xe[0].drag!==this._activeDraggables[0]){const Ye=Xe[Xe.length-1].clientRect;return ge?Fe>=Ye.right:fe>=Ye.bottom}{const Ye=Xe[0].clientRect;return ge?Fe<=Ye.left:fe<=Ye.top}}_getItemIndexFromPointerPosition(Fe,fe,Xe,ge){const je="horizontal"===this.orientation,Ye=this._itemPositions.findIndex(({drag:We,clientRect:wt})=>We!==Fe&&((!ge||We!==this._previousSwap.drag||!this._previousSwap.overlaps||(je?ge.x:ge.y)!==this._previousSwap.delta)&&(je?fe>=Math.floor(wt.left)&&fe=Math.floor(wt.top)&&Xe!0,this.sortPredicate=()=>!0,this.beforeStarted=new E.x,this.entered=new E.x,this.exited=new E.x,this.dropped=new E.x,this.sorted=new E.x,this.receivingStarted=new E.x,this.receivingStopped=new E.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=u.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new E.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,z.F)(0,M.Z).pipe((0,_.R)(this._stopScrollTimers)).subscribe(()=>{const Ye=this._scrollNode,We=this.autoScrollStep;1===this._verticalScrollDirection?Ye.scrollBy(0,-We):2===this._verticalScrollDirection&&Ye.scrollBy(0,We),1===this._horizontalScrollDirection?Ye.scrollBy(-We,0):2===this._horizontalScrollDirection&&Ye.scrollBy(We,0)})},this.element=(0,l.fI)(Fe),this._document=Xe,this.withScrollableParents([this.element]),fe.registerDropContainer(this),this._parentPositions=new G(Xe),this._sortStrategy=new Re(this.element,fe),this._sortStrategy.withSortPredicate((Ye,We)=>this.sortPredicate(Ye,We,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(Fe,fe,Xe,ge){this._draggingStarted(),null==ge&&this.sortingDisabled&&(ge=this._draggables.indexOf(Fe)),this._sortStrategy.enter(Fe,fe,Xe,ge),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:Fe,container:this,currentIndex:this.getItemIndex(Fe)})}exit(Fe){this._reset(),this.exited.next({item:Fe,container:this})}drop(Fe,fe,Xe,ge,je,Ye,We,wt={}){this._reset(),this.dropped.next({item:Fe,currentIndex:fe,previousIndex:Xe,container:this,previousContainer:ge,isPointerOverContainer:je,distance:Ye,dropPoint:We,event:wt})}withItems(Fe){const fe=this._draggables;return this._draggables=Fe,Fe.forEach(Xe=>Xe._withDropContainer(this)),this.isDragging()&&(fe.filter(ge=>ge.isDragging()).every(ge=>-1===Fe.indexOf(ge))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(Fe){return this._sortStrategy.direction=Fe,this}connectedTo(Fe){return this._siblings=Fe.slice(),this}withOrientation(Fe){return this._sortStrategy.orientation=Fe,this}withScrollableParents(Fe){const fe=(0,l.fI)(this.element);return this._scrollableElements=-1===Fe.indexOf(fe)?[fe,...Fe]:Fe.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(Fe){return this._isDragging?this._sortStrategy.getItemIndex(Fe):this._draggables.indexOf(Fe)}isReceiving(){return this._activeSiblings.size>0}_sortItem(Fe,fe,Xe,ge){if(this.sortingDisabled||!this._clientRect||!Y(this._clientRect,.05,fe,Xe))return;const je=this._sortStrategy.sort(Fe,fe,Xe,ge);je&&this.sorted.next({previousIndex:je.previousIndex,currentIndex:je.currentIndex,container:this,item:Fe})}_startScrollingIfNecessary(Fe,fe){if(this.autoScrollDisabled)return;let Xe,ge=0,je=0;if(this._parentPositions.positions.forEach((Ye,We)=>{We===this._document||!Ye.clientRect||Xe||Y(Ye.clientRect,.05,Fe,fe)&&([ge,je]=function mt(qe,Fe,fe,Xe){const ge=$e(Fe,Xe),je=ot(Fe,fe);let Ye=0,We=0;if(ge){const wt=qe.scrollTop;1===ge?wt>0&&(Ye=1):qe.scrollHeight-wt>qe.clientHeight&&(Ye=2)}if(je){const wt=qe.scrollLeft;1===je?wt>0&&(We=1):qe.scrollWidth-wt>qe.clientWidth&&(We=2)}return[Ye,We]}(We,Ye.clientRect,Fe,fe),(ge||je)&&(Xe=We))}),!ge&&!je){const{width:Ye,height:We}=this._viewportRuler.getViewportSize(),wt={width:Ye,height:We,top:0,right:Ye,bottom:We,left:0};ge=$e(wt,fe),je=ot(wt,Fe),Xe=window}Xe&&(ge!==this._verticalScrollDirection||je!==this._horizontalScrollDirection||Xe!==this._scrollNode)&&(this._verticalScrollDirection=ge,this._horizontalScrollDirection=je,this._scrollNode=Xe,(ge||je)&&Xe?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const Fe=(0,l.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=Fe.msScrollSnapType||Fe.scrollSnapType||"",Fe.scrollSnapType=Fe.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const Fe=(0,l.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(Fe).clientRect}_reset(){this._isDragging=!1;const Fe=(0,l.fI)(this.element).style;Fe.scrollSnapType=Fe.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(fe=>fe._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(Fe,fe){return null!=this._clientRect&&j(this._clientRect,Fe,fe)}_getSiblingContainerFromPosition(Fe,fe,Xe){return this._siblings.find(ge=>ge._canReceive(Fe,fe,Xe))}_canReceive(Fe,fe,Xe){if(!this._clientRect||!j(this._clientRect,fe,Xe)||!this.enterPredicate(Fe,this))return!1;const ge=this._getShadowRoot().elementFromPoint(fe,Xe);if(!ge)return!1;const je=(0,l.fI)(this.element);return ge===je||je.contains(ge)}_startReceiving(Fe,fe){const Xe=this._activeSiblings;!Xe.has(Fe)&&fe.every(ge=>this.enterPredicate(ge,this)||this._draggables.indexOf(ge)>-1)&&(Xe.add(Fe),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:Fe,receiver:this,items:fe}))}_stopReceiving(Fe){this._activeSiblings.delete(Fe),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:Fe,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Fe=>{if(this.isDragging()){const fe=this._parentPositions.handleScroll(Fe);fe&&this._sortStrategy.updateOnScroll(fe.top,fe.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const Fe=(0,i.kV)((0,l.fI)(this.element));this._cachedShadowRoot=Fe||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const Fe=this._sortStrategy.getActiveItemsSnapshot().filter(fe=>fe.isDragging());this._siblings.forEach(fe=>fe._startReceiving(this,Fe))}}function $e(qe,Fe){const{top:fe,bottom:Xe,height:ge}=qe,je=.05*ge;return Fe>=fe-je&&Fe<=fe+je?1:Fe>=Xe-je&&Fe<=Xe+je?2:0}function ot(qe,Fe){const{left:fe,right:Xe,width:ge}=qe,je=.05*ge;return Fe>=fe-je&&Fe<=fe+je?1:Fe>=Xe-je&&Fe<=Xe+je?2:0}const we=(0,i.i$)({passive:!1,capture:!0});let de=(()=>{class qe{constructor(fe,Xe){this._ngZone=fe,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=ge=>ge.isDragging(),this.pointerMove=new E.x,this.pointerUp=new E.x,this.scroll=new E.x,this._preventDefaultWhileDragging=ge=>{this._activeDragInstances.length>0&&ge.preventDefault()},this._persistentTouchmoveListener=ge=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&ge.preventDefault(),this.pointerMove.next(ge))},this._document=Xe}registerDropContainer(fe){this._dropInstances.has(fe)||this._dropInstances.add(fe)}registerDragItem(fe){this._dragInstances.add(fe),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,we)})}removeDropContainer(fe){this._dropInstances.delete(fe)}removeDragItem(fe){this._dragInstances.delete(fe),this.stopDragging(fe),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,we)}startDragging(fe,Xe){if(!(this._activeDragInstances.indexOf(fe)>-1)&&(this._activeDragInstances.push(fe),1===this._activeDragInstances.length)){const ge=Xe.type.startsWith("touch");this._globalListeners.set(ge?"touchend":"mouseup",{handler:je=>this.pointerUp.next(je),options:!0}).set("scroll",{handler:je=>this.scroll.next(je),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:we}),ge||this._globalListeners.set("mousemove",{handler:je=>this.pointerMove.next(je),options:we}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((je,Ye)=>{this._document.addEventListener(Ye,je.handler,je.options)})})}}stopDragging(fe){const Xe=this._activeDragInstances.indexOf(fe);Xe>-1&&(this._activeDragInstances.splice(Xe,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(fe){return this._activeDragInstances.indexOf(fe)>-1}scrolled(fe){const Xe=[this.scroll];return fe&&fe!==this._document&&Xe.push(new p.y(ge=>this._ngZone.runOutsideAngular(()=>{const Ye=We=>{this._activeDragInstances.length&&ge.next(We)};return fe.addEventListener("scroll",Ye,!0),()=>{fe.removeEventListener("scroll",Ye,!0)}}))),(0,v.T)(...Xe)}ngOnDestroy(){this._dragInstances.forEach(fe=>this.removeDragItem(fe)),this._dropInstances.forEach(fe=>this.removeDropContainer(fe)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((fe,Xe)=>{this._document.removeEventListener(Xe,fe.handler,fe.options)}),this._globalListeners.clear()}static#e=this.\u0275fac=function(Xe){return new(Xe||qe)(e.LFG(e.R0b),e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();const U={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let B=(()=>{class qe{constructor(fe,Xe,ge,je){this._document=fe,this._ngZone=Xe,this._viewportRuler=ge,this._dragDropRegistry=je}createDrag(fe,Xe=U){return new X(fe,Xe,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(fe){return new xt(fe,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#e=this.\u0275fac=function(Xe){return new(Xe||qe)(e.LFG(n.K0),e.LFG(e.R0b),e.LFG(t.rL),e.LFG(de))};static#t=this.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();const Me=new e.OlP("CDK_DRAG_PARENT"),Le=new e.OlP("CdkDragHandle");let ht=(()=>{class qe{get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,l.Ig)(fe),this._stateChanges.next(this)}constructor(fe,Xe){this.element=fe,this._stateChanges=new E.x,this._disabled=!1,this._parentDrag=Xe}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(Xe){return new(Xe||qe)(e.Y36(e.SBq),e.Y36(Me,12))};static#t=this.\u0275dir=e.lG2({type:qe,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[e._Bn([{provide:Le,useExisting:qe}])]})}return qe})();const Ot=new e.OlP("CdkDragPlaceholder"),Wt=new e.OlP("CdkDragPreview"),en=new e.OlP("CDK_DRAG_CONFIG"),cn=new e.OlP("CdkDropList");let ft=(()=>{class qe{static#e=this._dragInstances=[];get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(fe){this._disabled=(0,l.Ig)(fe),this._dragRef.disabled=this._disabled}constructor(fe,Xe,ge,je,Ye,We,wt,Ee,be,Qe,Ke){this.element=fe,this.dropContainer=Xe,this._ngZone=je,this._viewContainerRef=Ye,this._dir=wt,this._changeDetectorRef=be,this._selfHandle=Qe,this._parentDrag=Ke,this._destroyed=new E.x,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new p.y(Ze=>{const ve=this._dragRef.moved.pipe((0,d.U)(nt=>({source:this,pointerPosition:nt.pointerPosition,event:nt.event,delta:nt.delta,distance:nt.distance}))).subscribe(Ze);return()=>{ve.unsubscribe()}}),this._dragRef=Ee.createDrag(fe,{dragStartThreshold:We&&null!=We.dragStartThreshold?We.dragStartThreshold:5,pointerDirectionChangeThreshold:We&&null!=We.pointerDirectionChangeThreshold?We.pointerDirectionChangeThreshold:5,zIndex:We?.zIndex}),this._dragRef.data=this,qe._dragInstances.push(this),We&&this._assignDefaults(We),Xe&&(this._dragRef._withDropContainer(Xe._dropListRef),Xe.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(fe){this._dragRef.setFreeDragPosition(fe)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,m.q)(1),(0,_.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(fe){const Xe=fe.rootElementSelector,ge=fe.freeDragPosition;Xe&&!Xe.firstChange&&this._updateRootElement(),ge&&!ge.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const fe=qe._dragInstances.indexOf(this);fe>-1&&qe._dragInstances.splice(fe,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const fe=this.element.nativeElement;let Xe=fe;this.rootElementSelector&&(Xe=void 0!==fe.closest?fe.closest(this.rootElementSelector):fe.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(Xe||fe)}_getBoundaryElement(){const fe=this.boundaryElement;return fe?"string"==typeof fe?this.element.nativeElement.closest(fe):(0,l.fI)(fe):null}_syncInputs(fe){fe.beforeStarted.subscribe(()=>{if(!fe.isDragging()){const Xe=this._dir,ge=this.dragStartDelay,je=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,Ye=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;fe.disabled=this.disabled,fe.lockAxis=this.lockAxis,fe.dragStartDelay="object"==typeof ge&&ge?ge:(0,l.su)(ge),fe.constrainPosition=this.constrainPosition,fe.previewClass=this.previewClass,fe.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(je).withPreviewTemplate(Ye).withPreviewContainer(this.previewContainer||"global"),Xe&&fe.withDirection(Xe.value)}}),fe.beforeStarted.pipe((0,m.q)(1)).subscribe(()=>{if(this._parentDrag)return void fe.withParent(this._parentDrag._dragRef);let Xe=this.element.nativeElement.parentElement;for(;Xe;){if(Xe.classList.contains("cdk-drag")){fe.withParent(qe._dragInstances.find(ge=>ge.element.nativeElement===Xe)?._dragRef||null);break}Xe=Xe.parentElement}})}_handleEvents(fe){fe.started.subscribe(Xe=>{this.started.emit({source:this,event:Xe.event}),this._changeDetectorRef.markForCheck()}),fe.released.subscribe(Xe=>{this.released.emit({source:this,event:Xe.event})}),fe.ended.subscribe(Xe=>{this.ended.emit({source:this,distance:Xe.distance,dropPoint:Xe.dropPoint,event:Xe.event}),this._changeDetectorRef.markForCheck()}),fe.entered.subscribe(Xe=>{this.entered.emit({container:Xe.container.data,item:this,currentIndex:Xe.currentIndex})}),fe.exited.subscribe(Xe=>{this.exited.emit({container:Xe.container.data,item:this})}),fe.dropped.subscribe(Xe=>{this.dropped.emit({previousIndex:Xe.previousIndex,currentIndex:Xe.currentIndex,previousContainer:Xe.previousContainer.data,container:Xe.container.data,isPointerOverContainer:Xe.isPointerOverContainer,item:this,distance:Xe.distance,dropPoint:Xe.dropPoint,event:Xe.event})})}_assignDefaults(fe){const{lockAxis:Xe,dragStartDelay:ge,constrainPosition:je,previewClass:Ye,boundaryElement:We,draggingDisabled:wt,rootElementSelector:Ee,previewContainer:be}=fe;this.disabled=wt??!1,this.dragStartDelay=ge||0,Xe&&(this.lockAxis=Xe),je&&(this.constrainPosition=je),Ye&&(this.previewClass=Ye),We&&(this.boundaryElement=We),Ee&&(this.rootElementSelector=Ee),be&&(this.previewContainer=be)}_setupHandlesListener(){this._handles.changes.pipe((0,f.O)(this._handles),(0,C.b)(fe=>{const Xe=fe.filter(ge=>ge._parentDrag===this).map(ge=>ge.element);this._selfHandle&&this.rootElementSelector&&Xe.push(this.element),this._dragRef.withHandles(Xe)}),(0,T.w)(fe=>(0,v.T)(...fe.map(Xe=>Xe._stateChanges.pipe((0,f.O)(Xe))))),(0,_.R)(this._destroyed)).subscribe(fe=>{const Xe=this._dragRef,ge=fe.element.nativeElement;fe.disabled?Xe.disableHandle(ge):Xe.enableHandle(ge)})}static#t=this.\u0275fac=function(Xe){return new(Xe||qe)(e.Y36(e.SBq),e.Y36(cn,12),e.Y36(n.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(en,8),e.Y36(b.Is,8),e.Y36(B),e.Y36(e.sBO),e.Y36(Le,10),e.Y36(Me,12))};static#n=this.\u0275dir=e.lG2({type:qe,selectors:[["","cdkDrag",""]],contentQueries:function(Xe,ge,je){if(1&Xe&&(e.Suo(je,Wt,5),e.Suo(je,Ot,5),e.Suo(je,Le,5)),2&Xe){let Ye;e.iGM(Ye=e.CRH())&&(ge._previewTemplate=Ye.first),e.iGM(Ye=e.CRH())&&(ge._placeholderTemplate=Ye.first),e.iGM(Ye=e.CRH())&&(ge._handles=Ye)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(Xe,ge){2&Xe&&e.ekj("cdk-drag-disabled",ge.disabled)("cdk-drag-dragging",ge._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[e._Bn([{provide:Me,useExisting:qe}]),e.TTD]})}return qe})(),St=(()=>{class qe{static#e=this.\u0275fac=function(Xe){return new(Xe||qe)};static#t=this.\u0275mod=e.oAB({type:qe});static#n=this.\u0275inj=e.cJS({providers:[B],imports:[t.ZD]})}return qe})()},36028:(tt,I,o)=>{"use strict";o.d(I,{A:()=>ae,JH:()=>D,JU:()=>h,K5:()=>l,Ku:()=>_,LH:()=>T,L_:()=>v,MW:()=>ht,Mf:()=>t,SV:()=>b,Sd:()=>f,VM:()=>d,Vb:()=>hi,Z:()=>Le,ZH:()=>n,aO:()=>ee,b2:()=>ri,hY:()=>p,jx:()=>E,oh:()=>C,uR:()=>m,xE:()=>k,zL:()=>u});const n=8,t=9,l=13,h=16,E=17,u=18,p=27,v=32,_=33,d=34,m=35,f=36,C=37,T=38,b=39,D=40,k=48,ee=57,ae=65,Le=90,ht=91,ri=224;function hi(Ti,...li){return li.length?li.some(fi=>Ti[fi]):Ti.altKey||Ti.shiftKey||Ti.ctrlKey||Ti.metaKey}},71088:(tt,I,o)=>{"use strict";o.d(I,{Yg:()=>D,vx:()=>C,xu:()=>d});var e=o(65879),n=o(42495),t=o(78645),i=o(52572),l=o(35211),h=o(65592),E=o(48180),u=o(836),z=o(83620),M=o(37398),p=o(27921),v=o(59773),_=o(62831);let d=(()=>{class S{static#e=this.\u0275fac=function(R){return new(R||S)};static#t=this.\u0275mod=e.oAB({type:S});static#n=this.\u0275inj=e.cJS({})}return S})();const m=new Set;let f,C=(()=>{class S{constructor(k,R){this._platform=k,this._nonce=R,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):b}matchMedia(k){return(this._platform.WEBKIT||this._platform.BLINK)&&function T(S,A){if(!m.has(S))try{f||(f=document.createElement("style"),A&&(f.nonce=A),f.setAttribute("type","text/css"),document.head.appendChild(f)),f.sheet&&(f.sheet.insertRule(`@media ${S} {body{ }}`,0),m.add(S))}catch(k){console.error(k)}}(k,this._nonce),this._matchMedia(k)}static#e=this.\u0275fac=function(R){return new(R||S)(e.LFG(_.t4),e.LFG(e.Ojb,8))};static#t=this.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();function b(S){return{matches:"all"===S||""===S,media:S,addListener:()=>{},removeListener:()=>{}}}let D=(()=>{class S{constructor(k,R){this._mediaMatcher=k,this._zone=R,this._queries=new Map,this._destroySubject=new t.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(k){return y((0,n.Eq)(k)).some(W=>this._registerQuery(W).mql.matches)}observe(k){const W=y((0,n.Eq)(k)).map(ze=>this._registerQuery(ze).observable);let j=(0,i.a)(W);return j=(0,l.z)(j.pipe((0,E.q)(1)),j.pipe((0,u.T)(1),(0,z.b)(0))),j.pipe((0,M.U)(ze=>{const Y={matches:!1,breakpoints:{}};return ze.forEach(({matches:G,query:V})=>{Y.matches=Y.matches||G,Y.breakpoints[V]=G}),Y}))}_registerQuery(k){if(this._queries.has(k))return this._queries.get(k);const R=this._mediaMatcher.matchMedia(k),j={observable:new h.y(ze=>{const Y=G=>this._zone.run(()=>ze.next(G));return R.addListener(Y),()=>{R.removeListener(Y)}}).pipe((0,p.O)(R),(0,M.U)(({matches:ze})=>({query:k,matches:ze})),(0,v.R)(this._destroySubject)),mql:R};return this._queries.set(k,j),j}static#e=this.\u0275fac=function(R){return new(R||S)(e.LFG(C),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();function y(S){return S.map(A=>A.split(",")).reduce((A,k)=>A.concat(k)).map(A=>A.trim())}},17131:(tt,I,o)=>{"use strict";o.d(I,{Q8:()=>z,wD:()=>u});var e=o(42495),n=o(65879),t=o(65592),i=o(78645),l=o(83620);let h=(()=>{class M{create(v){return typeof MutationObserver>"u"?null:new MutationObserver(v)}static#e=this.\u0275fac=function(_){return new(_||M)};static#t=this.\u0275prov=n.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),E=(()=>{class M{constructor(v){this._mutationObserverFactory=v,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((v,_)=>this._cleanupObserver(_))}observe(v){const _=(0,e.fI)(v);return new t.y(d=>{const f=this._observeElement(_).subscribe(d);return()=>{f.unsubscribe(),this._unobserveElement(_)}})}_observeElement(v){if(this._observedElements.has(v))this._observedElements.get(v).count++;else{const _=new i.x,d=this._mutationObserverFactory.create(m=>_.next(m));d&&d.observe(v,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(v,{observer:d,stream:_,count:1})}return this._observedElements.get(v).stream}_unobserveElement(v){this._observedElements.has(v)&&(this._observedElements.get(v).count--,this._observedElements.get(v).count||this._cleanupObserver(v))}_cleanupObserver(v){if(this._observedElements.has(v)){const{observer:_,stream:d}=this._observedElements.get(v);_&&_.disconnect(),d.complete(),this._observedElements.delete(v)}}static#e=this.\u0275fac=function(_){return new(_||M)(n.LFG(h))};static#t=this.\u0275prov=n.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),u=(()=>{class M{get disabled(){return this._disabled}set disabled(v){this._disabled=(0,e.Ig)(v),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(v){this._debounce=(0,e.su)(v),this._subscribe()}constructor(v,_,d){this._contentObserver=v,this._elementRef=_,this._ngZone=d,this.event=new n.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const v=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?v.pipe((0,l.b)(this.debounce)):v).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(_){return new(_||M)(n.Y36(E),n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275dir=n.lG2({type:M,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return M})(),z=(()=>{class M{static#e=this.\u0275fac=function(_){return new(_||M)};static#t=this.\u0275mod=n.oAB({type:M});static#n=this.\u0275inj=n.cJS({providers:[h]})}return M})()},33651:(tt,I,o)=>{"use strict";o.d(I,{pI:()=>xt,xu:()=>Pe,tR:()=>j,aV:()=>He,X_:()=>W,Vs:()=>ee,U8:()=>mt,Iu:()=>re});var e=o(205),n=o(96814),t=o(65879),i=o(42495),l=o(62831),h=o(32181),E=o(48180),u=o(59773),z=o(79360),M=o(8251),v=o(49388),_=o(68484),d=o(78645),m=o(47394),f=o(63019),C=o(36028);const T=(0,l.Mq)();class b{constructor(U,B){this._viewportRuler=U,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=B}attach(){}enable(){if(this._canBeEnabled()){const U=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=U.style.left||"",this._previousHTMLStyles.top=U.style.top||"",U.style.left=(0,i.HM)(-this._previousScrollPosition.left),U.style.top=(0,i.HM)(-this._previousScrollPosition.top),U.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const U=this._document.documentElement,Me=U.style,Ae=this._document.body.style,Le=Me.scrollBehavior||"",ht=Ae.scrollBehavior||"";this._isEnabled=!1,Me.left=this._previousHTMLStyles.left,Me.top=this._previousHTMLStyles.top,U.classList.remove("cdk-global-scrollblock"),T&&(Me.scrollBehavior=Ae.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),T&&(Me.scrollBehavior=Le,Ae.scrollBehavior=ht)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const B=this._document.body,Me=this._viewportRuler.getViewportSize();return B.scrollHeight>Me.height||B.scrollWidth>Me.width}}class y{constructor(U,B,Me,Ae){this._scrollDispatcher=U,this._ngZone=B,this._viewportRuler=Me,this._config=Ae,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(U){this._overlayRef=U}enable(){if(this._scrollSubscription)return;const U=this._scrollDispatcher.scrolled(0).pipe((0,h.h)(B=>!B||!this._overlayRef.overlayElement.contains(B.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=U.subscribe(()=>{const B=this._viewportRuler.getViewportScrollPosition().top;Math.abs(B-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=U.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class P{enable(){}disable(){}attach(){}}function S(de,U){return U.some(B=>de.bottomB.bottom||de.rightB.right)}function A(de,U){return U.some(B=>de.topB.bottom||de.leftB.right)}class k{constructor(U,B,Me,Ae){this._scrollDispatcher=U,this._viewportRuler=B,this._ngZone=Me,this._config=Ae,this._scrollSubscription=null}attach(U){this._overlayRef=U}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const B=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Me,height:Ae}=this._viewportRuler.getViewportSize();S(B,[{width:Me,height:Ae,bottom:Ae,right:Me,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let R=(()=>{class de{constructor(B,Me,Ae,Le){this._scrollDispatcher=B,this._viewportRuler=Me,this._ngZone=Ae,this.noop=()=>new P,this.close=ht=>new y(this._scrollDispatcher,this._ngZone,this._viewportRuler,ht),this.block=()=>new b(this._viewportRuler,this._document),this.reposition=ht=>new k(this._scrollDispatcher,this._viewportRuler,this._ngZone,ht),this._document=Le}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(e.mF),t.LFG(e.rL),t.LFG(t.R0b),t.LFG(n.K0))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();class W{constructor(U){if(this.scrollStrategy=new P,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,U){const B=Object.keys(U);for(const Me of B)void 0!==U[Me]&&(this[Me]=U[Me])}}}class j{constructor(U,B,Me,Ae,Le){this.offsetX=Me,this.offsetY=Ae,this.panelClass=Le,this.originX=U.originX,this.originY=U.originY,this.overlayX=B.overlayX,this.overlayY=B.overlayY}}class Y{constructor(U,B){this.connectionPair=U,this.scrollableViewProperties=B}}let K=(()=>{class de{constructor(B){this._attachedOverlays=[],this._document=B}ngOnDestroy(){this.detach()}add(B){this.remove(B),this._attachedOverlays.push(B)}remove(B){const Me=this._attachedOverlays.indexOf(B);Me>-1&&this._attachedOverlays.splice(Me,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(n.K0))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),ee=(()=>{class de extends K{constructor(B,Me){super(B),this._ngZone=Me,this._keydownListener=Ae=>{const Le=this._attachedOverlays;for(let ht=Le.length-1;ht>-1;ht--)if(Le[ht]._keydownEvents.observers.length>0){const Ot=Le[ht]._keydownEvents;this._ngZone?this._ngZone.run(()=>Ot.next(Ae)):Ot.next(Ae);break}}}add(B){super.add(B),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(n.K0),t.LFG(t.R0b,8))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),te=(()=>{class de extends K{constructor(B,Me,Ae){super(B),this._platform=Me,this._ngZone=Ae,this._cursorStyleIsSet=!1,this._pointerDownListener=Le=>{this._pointerDownEventTarget=(0,l.sA)(Le)},this._clickListener=Le=>{const ht=(0,l.sA)(Le),Ot="click"===Le.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ht;this._pointerDownEventTarget=null;const Lt=this._attachedOverlays.slice();for(let Wt=Lt.length-1;Wt>-1;Wt--){const qt=Lt[Wt];if(qt._outsidePointerEvents.observers.length<1||!qt.hasAttached())continue;if(qt.overlayElement.contains(ht)||qt.overlayElement.contains(Ot))break;const en=qt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>en.next(Le)):en.next(Le)}}}add(B){if(super.add(B),!this._isAttached){const Me=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Me)):this._addEventListeners(Me),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Me.style.cursor,Me.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const B=this._document.body;B.removeEventListener("pointerdown",this._pointerDownListener,!0),B.removeEventListener("click",this._clickListener,!0),B.removeEventListener("auxclick",this._clickListener,!0),B.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(B.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(B){B.addEventListener("pointerdown",this._pointerDownListener,!0),B.addEventListener("click",this._clickListener,!0),B.addEventListener("auxclick",this._clickListener,!0),B.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(n.K0),t.LFG(l.t4),t.LFG(t.R0b,8))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),pe=(()=>{class de{constructor(B,Me){this._platform=Me,this._document=B}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const B="cdk-overlay-container";if(this._platform.isBrowser||(0,l.Oy)()){const Ae=this._document.querySelectorAll(`.${B}[platform="server"], .${B}[platform="test"]`);for(let Le=0;Lethis._backdropClick.next(en),this._backdropTransitionendHandler=en=>{this._disposeBackdrop(en.target)},this._keydownEvents=new d.x,this._outsidePointerEvents=new d.x,Ae.scrollStrategy&&(this._scrollStrategy=Ae.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ae.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(U){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const B=this._portalOutlet.attach(U);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof B?.onDestroy&&B.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),B}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const U=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),U}dispose(){const U=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,U&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(U){U!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=U,this.hasAttached()&&(U.attach(this),this.updatePosition()))}updateSize(U){this._config={...this._config,...U},this._updateElementSize()}setDirection(U){this._config={...this._config,direction:U},this._updateElementDirection()}addPanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!0)}removePanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!1)}getDirection(){const U=this._config.direction;return U?"string"==typeof U?U:U.value:"ltr"}updateScrollStrategy(U){U!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=U,this.hasAttached()&&(U.attach(this),U.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const U=this._pane.style;U.width=(0,i.HM)(this._config.width),U.height=(0,i.HM)(this._config.height),U.minWidth=(0,i.HM)(this._config.minWidth),U.minHeight=(0,i.HM)(this._config.minHeight),U.maxWidth=(0,i.HM)(this._config.maxWidth),U.maxHeight=(0,i.HM)(this._config.maxHeight)}_togglePointerEvents(U){this._pane.style.pointerEvents=U?"":"none"}_attachBackdrop(){const U="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(U)})}):this._backdropElement.classList.add(U)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const U=this._backdropElement;if(U){if(this._animationsDisabled)return void this._disposeBackdrop(U);U.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{U.addEventListener("transitionend",this._backdropTransitionendHandler)}),U.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(U)},500))}}_toggleClasses(U,B,Me){const Ae=(0,i.Eq)(B||[]).filter(Le=>!!Le);Ae.length&&(Me?U.classList.add(...Ae):U.classList.remove(...Ae))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const U=this._ngZone.onStable.pipe((0,u.R)((0,f.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),U.unsubscribe())})})}_disposeScrollStrategy(){const U=this._scrollStrategy;U&&(U.disable(),U.detach&&U.detach())}_disposeBackdrop(U){U&&(U.removeEventListener("click",this._backdropClickHandler),U.removeEventListener("transitionend",this._backdropTransitionendHandler),U.remove(),this._backdropElement===U&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const De="cdk-overlay-connected-position-bounding-box",ae=/([A-Za-z%]+)$/;class ce{get positions(){return this._preferredPositions}constructor(U,B,Me,Ae,Le){this._viewportRuler=B,this._document=Me,this._platform=Ae,this._overlayContainer=Le,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new d.x,this._resizeSubscription=m.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(U)}attach(U){this._validatePositions(),U.hostElement.classList.add(De),this._overlayRef=U,this._boundingBox=U.hostElement,this._pane=U.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const U=this._originRect,B=this._overlayRect,Me=this._viewportRect,Ae=this._containerRect,Le=[];let ht;for(let Ot of this._preferredPositions){let Lt=this._getOriginPoint(U,Ae,Ot),Wt=this._getOverlayPoint(Lt,B,Ot),qt=this._getOverlayFit(Wt,B,Me,Ot);if(qt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ot,Lt);this._canFitWithFlexibleDimensions(qt,Wt,Me)?Le.push({position:Ot,origin:Lt,overlayRect:B,boundingBoxRect:this._calculateBoundingBoxRect(Lt,Ot)}):(!ht||ht.overlayFit.visibleAreaLt&&(Lt=qt,Ot=Wt)}return this._isPushed=!1,void this._applyPosition(Ot.position,Ot.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ht.position,ht.originPoint);this._applyPosition(ht.position,ht.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&X(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(De),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const U=this._lastPosition;if(U){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const B=this._getOriginPoint(this._originRect,this._containerRect,U);this._applyPosition(U,B)}else this.apply()}withScrollableContainers(U){return this._scrollables=U,this}withPositions(U){return this._preferredPositions=U,-1===U.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(U){return this._viewportMargin=U,this}withFlexibleDimensions(U=!0){return this._hasFlexibleDimensions=U,this}withGrowAfterOpen(U=!0){return this._growAfterOpen=U,this}withPush(U=!0){return this._canPush=U,this}withLockedPosition(U=!0){return this._positionLocked=U,this}setOrigin(U){return this._origin=U,this}withDefaultOffsetX(U){return this._offsetX=U,this}withDefaultOffsetY(U){return this._offsetY=U,this}withTransformOriginOn(U){return this._transformOriginSelector=U,this}_getOriginPoint(U,B,Me){let Ae,Le;if("center"==Me.originX)Ae=U.left+U.width/2;else{const ht=this._isRtl()?U.right:U.left,Ot=this._isRtl()?U.left:U.right;Ae="start"==Me.originX?ht:Ot}return B.left<0&&(Ae-=B.left),Le="center"==Me.originY?U.top+U.height/2:"top"==Me.originY?U.top:U.bottom,B.top<0&&(Le-=B.top),{x:Ae,y:Le}}_getOverlayPoint(U,B,Me){let Ae,Le;return Ae="center"==Me.overlayX?-B.width/2:"start"===Me.overlayX?this._isRtl()?-B.width:0:this._isRtl()?0:-B.width,Le="center"==Me.overlayY?-B.height/2:"top"==Me.overlayY?0:-B.height,{x:U.x+Ae,y:U.y+Le}}_getOverlayFit(U,B,Me,Ae){const Le=le(B);let{x:ht,y:Ot}=U,Lt=this._getOffset(Ae,"x"),Wt=this._getOffset(Ae,"y");Lt&&(ht+=Lt),Wt&&(Ot+=Wt);let Vt=0-Ot,cn=Ot+Le.height-Me.height,ft=this._subtractOverflows(Le.width,0-ht,ht+Le.width-Me.width),gt=this._subtractOverflows(Le.height,Vt,cn),Ie=ft*gt;return{visibleArea:Ie,isCompletelyWithinViewport:Le.width*Le.height===Ie,fitsInViewportVertically:gt===Le.height,fitsInViewportHorizontally:ft==Le.width}}_canFitWithFlexibleDimensions(U,B,Me){if(this._hasFlexibleDimensions){const Ae=Me.bottom-B.y,Le=Me.right-B.x,ht=ne(this._overlayRef.getConfig().minHeight),Ot=ne(this._overlayRef.getConfig().minWidth);return(U.fitsInViewportVertically||null!=ht&&ht<=Ae)&&(U.fitsInViewportHorizontally||null!=Ot&&Ot<=Le)}return!1}_pushOverlayOnScreen(U,B,Me){if(this._previousPushAmount&&this._positionLocked)return{x:U.x+this._previousPushAmount.x,y:U.y+this._previousPushAmount.y};const Ae=le(B),Le=this._viewportRect,ht=Math.max(U.x+Ae.width-Le.width,0),Ot=Math.max(U.y+Ae.height-Le.height,0),Lt=Math.max(Le.top-Me.top-U.y,0),Wt=Math.max(Le.left-Me.left-U.x,0);let qt=0,en=0;return qt=Ae.width<=Le.width?Wt||-ht:U.xft&&!this._isInitialRender&&!this._growAfterOpen&&(ht=U.y-ft/2)}if("end"===B.overlayX&&!Ae||"start"===B.overlayX&&Ae)Vt=Me.width-U.x+this._viewportMargin,qt=U.x-this._viewportMargin;else if("start"===B.overlayX&&!Ae||"end"===B.overlayX&&Ae)en=U.x,qt=Me.right-U.x;else{const cn=Math.min(Me.right-U.x+Me.left,U.x),ft=this._lastBoundingBoxSize.width;qt=2*cn,en=U.x-cn,qt>ft&&!this._isInitialRender&&!this._growAfterOpen&&(en=U.x-ft/2)}return{top:ht,left:en,bottom:Ot,right:Vt,width:qt,height:Le}}_setBoundingBoxStyles(U,B){const Me=this._calculateBoundingBoxRect(U,B);!this._isInitialRender&&!this._growAfterOpen&&(Me.height=Math.min(Me.height,this._lastBoundingBoxSize.height),Me.width=Math.min(Me.width,this._lastBoundingBoxSize.width));const Ae={};if(this._hasExactPosition())Ae.top=Ae.left="0",Ae.bottom=Ae.right=Ae.maxHeight=Ae.maxWidth="",Ae.width=Ae.height="100%";else{const Le=this._overlayRef.getConfig().maxHeight,ht=this._overlayRef.getConfig().maxWidth;Ae.height=(0,i.HM)(Me.height),Ae.top=(0,i.HM)(Me.top),Ae.bottom=(0,i.HM)(Me.bottom),Ae.width=(0,i.HM)(Me.width),Ae.left=(0,i.HM)(Me.left),Ae.right=(0,i.HM)(Me.right),Ae.alignItems="center"===B.overlayX?"center":"end"===B.overlayX?"flex-end":"flex-start",Ae.justifyContent="center"===B.overlayY?"center":"bottom"===B.overlayY?"flex-end":"flex-start",Le&&(Ae.maxHeight=(0,i.HM)(Le)),ht&&(Ae.maxWidth=(0,i.HM)(ht))}this._lastBoundingBoxSize=Me,X(this._boundingBox.style,Ae)}_resetBoundingBoxStyles(){X(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){X(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(U,B){const Me={},Ae=this._hasExactPosition(),Le=this._hasFlexibleDimensions,ht=this._overlayRef.getConfig();if(Ae){const qt=this._viewportRuler.getViewportScrollPosition();X(Me,this._getExactOverlayY(B,U,qt)),X(Me,this._getExactOverlayX(B,U,qt))}else Me.position="static";let Ot="",Lt=this._getOffset(B,"x"),Wt=this._getOffset(B,"y");Lt&&(Ot+=`translateX(${Lt}px) `),Wt&&(Ot+=`translateY(${Wt}px)`),Me.transform=Ot.trim(),ht.maxHeight&&(Ae?Me.maxHeight=(0,i.HM)(ht.maxHeight):Le&&(Me.maxHeight="")),ht.maxWidth&&(Ae?Me.maxWidth=(0,i.HM)(ht.maxWidth):Le&&(Me.maxWidth="")),X(this._pane.style,Me)}_getExactOverlayY(U,B,Me){let Ae={top:"",bottom:""},Le=this._getOverlayPoint(B,this._overlayRect,U);return this._isPushed&&(Le=this._pushOverlayOnScreen(Le,this._overlayRect,Me)),"bottom"===U.overlayY?Ae.bottom=this._document.documentElement.clientHeight-(Le.y+this._overlayRect.height)+"px":Ae.top=(0,i.HM)(Le.y),Ae}_getExactOverlayX(U,B,Me){let ht,Ae={left:"",right:""},Le=this._getOverlayPoint(B,this._overlayRect,U);return this._isPushed&&(Le=this._pushOverlayOnScreen(Le,this._overlayRect,Me)),ht=this._isRtl()?"end"===U.overlayX?"left":"right":"end"===U.overlayX?"right":"left","right"===ht?Ae.right=this._document.documentElement.clientWidth-(Le.x+this._overlayRect.width)+"px":Ae.left=(0,i.HM)(Le.x),Ae}_getScrollVisibility(){const U=this._getOriginRect(),B=this._pane.getBoundingClientRect(),Me=this._scrollables.map(Ae=>Ae.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:A(U,Me),isOriginOutsideView:S(U,Me),isOverlayClipped:A(B,Me),isOverlayOutsideView:S(B,Me)}}_subtractOverflows(U,...B){return B.reduce((Me,Ae)=>Me-Math.max(Ae,0),U)}_getNarrowedViewportRect(){const U=this._document.documentElement.clientWidth,B=this._document.documentElement.clientHeight,Me=this._viewportRuler.getViewportScrollPosition();return{top:Me.top+this._viewportMargin,left:Me.left+this._viewportMargin,right:Me.left+U-this._viewportMargin,bottom:Me.top+B-this._viewportMargin,width:U-2*this._viewportMargin,height:B-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(U,B){return"x"===B?null==U.offsetX?this._offsetX:U.offsetX:null==U.offsetY?this._offsetY:U.offsetY}_validatePositions(){}_addPanelClasses(U){this._pane&&(0,i.Eq)(U).forEach(B=>{""!==B&&-1===this._appliedPanelClasses.indexOf(B)&&(this._appliedPanelClasses.push(B),this._pane.classList.add(B))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(U=>{this._pane.classList.remove(U)}),this._appliedPanelClasses=[])}_getOriginRect(){const U=this._origin;if(U instanceof t.SBq)return U.nativeElement.getBoundingClientRect();if(U instanceof Element)return U.getBoundingClientRect();const B=U.width||0,Me=U.height||0;return{top:U.y,bottom:U.y+Me,left:U.x,right:U.x+B,height:Me,width:B}}}function X(de,U){for(let B in U)U.hasOwnProperty(B)&&(de[B]=U[B]);return de}function ne(de){if("number"!=typeof de&&null!=de){const[U,B]=de.split(ae);return B&&"px"!==B?null:parseFloat(U)}return de||null}function le(de){return{top:Math.floor(de.top),right:Math.floor(de.right),bottom:Math.floor(de.bottom),left:Math.floor(de.left),width:Math.floor(de.width),height:Math.floor(de.height)}}const ke="cdk-global-overlay-wrapper";class oe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(U){const B=U.getConfig();this._overlayRef=U,this._width&&!B.width&&U.updateSize({width:this._width}),this._height&&!B.height&&U.updateSize({height:this._height}),U.hostElement.classList.add(ke),this._isDisposed=!1}top(U=""){return this._bottomOffset="",this._topOffset=U,this._alignItems="flex-start",this}left(U=""){return this._xOffset=U,this._xPosition="left",this}bottom(U=""){return this._topOffset="",this._bottomOffset=U,this._alignItems="flex-end",this}right(U=""){return this._xOffset=U,this._xPosition="right",this}start(U=""){return this._xOffset=U,this._xPosition="start",this}end(U=""){return this._xOffset=U,this._xPosition="end",this}width(U=""){return this._overlayRef?this._overlayRef.updateSize({width:U}):this._width=U,this}height(U=""){return this._overlayRef?this._overlayRef.updateSize({height:U}):this._height=U,this}centerHorizontally(U=""){return this.left(U),this._xPosition="center",this}centerVertically(U=""){return this.top(U),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const U=this._overlayRef.overlayElement.style,B=this._overlayRef.hostElement.style,Me=this._overlayRef.getConfig(),{width:Ae,height:Le,maxWidth:ht,maxHeight:Ot}=Me,Lt=!("100%"!==Ae&&"100vw"!==Ae||ht&&"100%"!==ht&&"100vw"!==ht),Wt=!("100%"!==Le&&"100vh"!==Le||Ot&&"100%"!==Ot&&"100vh"!==Ot),qt=this._xPosition,en=this._xOffset,Vt="rtl"===this._overlayRef.getConfig().direction;let cn="",ft="",gt="";Lt?gt="flex-start":"center"===qt?(gt="center",Vt?ft=en:cn=en):Vt?"left"===qt||"end"===qt?(gt="flex-end",cn=en):("right"===qt||"start"===qt)&&(gt="flex-start",ft=en):"left"===qt||"start"===qt?(gt="flex-start",cn=en):("right"===qt||"end"===qt)&&(gt="flex-end",ft=en),U.position=this._cssPosition,U.marginLeft=Lt?"0":cn,U.marginTop=Wt?"0":this._topOffset,U.marginBottom=this._bottomOffset,U.marginRight=Lt?"0":ft,B.justifyContent=gt,B.alignItems=Wt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const U=this._overlayRef.overlayElement.style,B=this._overlayRef.hostElement,Me=B.style;B.classList.remove(ke),Me.justifyContent=Me.alignItems=U.marginTop=U.marginBottom=U.marginLeft=U.marginRight=U.position="",this._overlayRef=null,this._isDisposed=!0}}let _e=(()=>{class de{constructor(B,Me,Ae,Le){this._viewportRuler=B,this._document=Me,this._platform=Ae,this._overlayContainer=Le}global(){return new oe}flexibleConnectedTo(B){return new ce(B,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(e.rL),t.LFG(n.K0),t.LFG(l.t4),t.LFG(pe))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),Q=0,He=(()=>{class de{constructor(B,Me,Ae,Le,ht,Ot,Lt,Wt,qt,en,Vt,cn){this.scrollStrategies=B,this._overlayContainer=Me,this._componentFactoryResolver=Ae,this._positionBuilder=Le,this._keyboardDispatcher=ht,this._injector=Ot,this._ngZone=Lt,this._document=Wt,this._directionality=qt,this._location=en,this._outsideClickDispatcher=Vt,this._animationsModuleType=cn}create(B){const Me=this._createHostElement(),Ae=this._createPaneElement(Me),Le=this._createPortalOutlet(Ae),ht=new W(B);return ht.direction=ht.direction||this._directionality.value,new re(Le,Me,Ae,ht,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(B){const Me=this._document.createElement("div");return Me.id="cdk-overlay-"+Q++,Me.classList.add("cdk-overlay-pane"),B.appendChild(Me),Me}_createHostElement(){const B=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(B),B}_createPortalOutlet(B){return this._appRef||(this._appRef=this._injector.get(t.z2F)),new _.u0(B,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(R),t.LFG(pe),t.LFG(t._Vd),t.LFG(_e),t.LFG(ee),t.LFG(t.zs3),t.LFG(t.R0b),t.LFG(n.K0),t.LFG(v.Is),t.LFG(n.Ye),t.LFG(te),t.LFG(t.QbO,8))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();const Re=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],lt=new t.OlP("cdk-connected-overlay-scroll-strategy");let Pe=(()=>{class de{constructor(B){this.elementRef=B}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:de,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return de})(),xt=(()=>{class de{get offsetX(){return this._offsetX}set offsetX(B){this._offsetX=B,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(B){this._offsetY=B,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(B){this._hasBackdrop=(0,i.Ig)(B)}get lockPosition(){return this._lockPosition}set lockPosition(B){this._lockPosition=(0,i.Ig)(B)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(B){this._flexibleDimensions=(0,i.Ig)(B)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(B){this._growAfterOpen=(0,i.Ig)(B)}get push(){return this._push}set push(B){this._push=(0,i.Ig)(B)}constructor(B,Me,Ae,Le,ht){this._overlay=B,this._dir=ht,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=m.w0.EMPTY,this._attachSubscription=m.w0.EMPTY,this._detachSubscription=m.w0.EMPTY,this._positionSubscription=m.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new t.vpe,this.positionChange=new t.vpe,this.attach=new t.vpe,this.detach=new t.vpe,this.overlayKeydown=new t.vpe,this.overlayOutsideClick=new t.vpe,this._templatePortal=new _.UE(Me,Ae),this._scrollStrategyFactory=Le,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(B){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),B.origin&&this.open&&this._position.apply()),B.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Re);const B=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=B.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=B.detachments().subscribe(()=>this.detach.emit()),B.keydownEvents().subscribe(Me=>{this.overlayKeydown.next(Me),Me.keyCode===C.hY&&!this.disableClose&&!(0,C.Vb)(Me)&&(Me.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Me=>{this.overlayOutsideClick.next(Me)})}_buildConfig(){const B=this._position=this.positionStrategy||this._createPositionStrategy(),Me=new W({direction:this._dir,positionStrategy:B,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Me.width=this.width),(this.height||0===this.height)&&(Me.height=this.height),(this.minWidth||0===this.minWidth)&&(Me.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Me.minHeight=this.minHeight),this.backdropClass&&(Me.backdropClass=this.backdropClass),this.panelClass&&(Me.panelClass=this.panelClass),Me}_updatePositionStrategy(B){const Me=this.positions.map(Ae=>({originX:Ae.originX,originY:Ae.originY,overlayX:Ae.overlayX,overlayY:Ae.overlayY,offsetX:Ae.offsetX||this.offsetX,offsetY:Ae.offsetY||this.offsetY,panelClass:Ae.panelClass||void 0}));return B.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Me).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const B=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(B),B}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Pe?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(B=>{this.backdropClick.emit(B)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function p(de,U=!1){return(0,z.e)((B,Me)=>{let Ae=0;B.subscribe((0,M.x)(Me,Le=>{const ht=de(Le,Ae++);(ht||U)&&Me.next(Le),!ht&&Me.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(B=>{this.positionChange.emit(B),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.Y36(He),t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(lt),t.Y36(v.Is,8))};static#t=this.\u0275dir=t.lG2({type:de,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[t.TTD]})}return de})();const ot={provide:lt,deps:[He],useFactory:function $e(de){return()=>de.scrollStrategies.reposition()}};let mt=(()=>{class de{static#e=this.\u0275fac=function(Me){return new(Me||de)};static#t=this.\u0275mod=t.oAB({type:de});static#n=this.\u0275inj=t.cJS({providers:[He,ot],imports:[v.vT,_.eL,e.Cl,e.Cl]})}return de})()},62831:(tt,I,o)=>{"use strict";o.d(I,{Mq:()=>d,Oy:()=>y,_i:()=>m,ht:()=>b,i$:()=>p,kV:()=>T,sA:()=>D,t4:()=>i,ud:()=>l});var e=o(65879),n=o(96814);let t;try{t=typeof Intl<"u"&&Intl.v8BreakIterator}catch{t=!1}let z,v,_,f,i=(()=>{class P{constructor(A){this._platformId=A,this.isBrowser=this._platformId?(0,n.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!t)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(k){return new(k||P)(e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),l=(()=>{class P{static#e=this.\u0275fac=function(k){return new(k||P)};static#t=this.\u0275mod=e.oAB({type:P});static#n=this.\u0275inj=e.cJS({})}return P})();function p(P){return function M(){if(null==z&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>z=!0}))}finally{z=z||!1}return z}()?P:!!P.capture}function d(){if(null==_){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return _=!1,_;if("scrollBehavior"in document.documentElement.style)_=!0;else{const P=Element.prototype.scrollTo;_=!!P&&!/\{\s*\[native code\]\s*\}/.test(P.toString())}}return _}function m(){if("object"!=typeof document||!document)return 0;if(null==v){const P=document.createElement("div"),S=P.style;P.dir="rtl",S.width="1px",S.overflow="auto",S.visibility="hidden",S.pointerEvents="none",S.position="absolute";const A=document.createElement("div"),k=A.style;k.width="2px",k.height="1px",P.appendChild(A),document.body.appendChild(P),v=0,0===P.scrollLeft&&(P.scrollLeft=1,v=0===P.scrollLeft?1:2),P.remove()}return v}function T(P){if(function C(){if(null==f){const P=typeof document<"u"?document.head:null;f=!(!P||!P.createShadowRoot&&!P.attachShadow)}return f}()){const S=P.getRootNode?P.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&S instanceof ShadowRoot)return S}return null}function b(){let P=typeof document<"u"&&document?document.activeElement:null;for(;P&&P.shadowRoot;){const S=P.shadowRoot.activeElement;if(S===P)break;P=S}return P}function D(P){return P.composedPath?P.composedPath()[0]:P.target}function y(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},68484:(tt,I,o)=>{"use strict";o.d(I,{C5:()=>M,Pl:()=>b,UE:()=>p,eL:()=>y,en:()=>_,u0:()=>m});var e=o(65879),n=o(96814);class z{attach(A){return this._attachedHost=A,A.attach(this)}detach(){let A=this._attachedHost;null!=A&&(this._attachedHost=null,A.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(A){this._attachedHost=A}}class M extends z{constructor(A,k,R,W,j){super(),this.component=A,this.viewContainerRef=k,this.injector=R,this.componentFactoryResolver=W,this.projectableNodes=j}}class p extends z{constructor(A,k,R,W){super(),this.templateRef=A,this.viewContainerRef=k,this.context=R,this.injector=W}get origin(){return this.templateRef.elementRef}attach(A,k=this.context){return this.context=k,super.attach(A)}detach(){return this.context=void 0,super.detach()}}class v extends z{constructor(A){super(),this.element=A instanceof e.SBq?A.nativeElement:A}}class _{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(A){return A instanceof M?(this._attachedPortal=A,this.attachComponentPortal(A)):A instanceof p?(this._attachedPortal=A,this.attachTemplatePortal(A)):this.attachDomPortal&&A instanceof v?(this._attachedPortal=A,this.attachDomPortal(A)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(A){this._disposeFn=A}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class m extends _{constructor(A,k,R,W,j){super(),this.outletElement=A,this._componentFactoryResolver=k,this._appRef=R,this._defaultInjector=W,this.attachDomPortal=ze=>{const Y=ze.element,G=this._document.createComment("dom-portal");Y.parentNode.insertBefore(G,Y),this.outletElement.appendChild(Y),this._attachedPortal=ze,super.setDisposeFn(()=>{G.parentNode&&G.parentNode.replaceChild(Y,G)})},this._document=j}attachComponentPortal(A){const R=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let W;return A.viewContainerRef?(W=A.viewContainerRef.createComponent(R,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>W.destroy())):(W=R.create(A.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(W.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(W.hostView),W.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(W)),this._attachedPortal=A,W}attachTemplatePortal(A){let k=A.viewContainerRef,R=k.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return R.rootNodes.forEach(W=>this.outletElement.appendChild(W)),R.detectChanges(),this.setDisposeFn(()=>{let W=k.indexOf(R);-1!==W&&k.remove(W)}),this._attachedPortal=A,R}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let b=(()=>{class S extends _{constructor(k,R,W){super(),this._componentFactoryResolver=k,this._viewContainerRef=R,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=j=>{const ze=j.element,Y=this._document.createComment("dom-portal");j.setAttachedHost(this),ze.parentNode.insertBefore(Y,ze),this._getRootNode().appendChild(ze),this._attachedPortal=j,super.setDisposeFn(()=>{Y.parentNode&&Y.parentNode.replaceChild(ze,Y)})},this._document=W}get portal(){return this._attachedPortal}set portal(k){this.hasAttached()&&!k&&!this._isInitialized||(this.hasAttached()&&super.detach(),k&&super.attach(k),this._attachedPortal=k||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(k){k.setAttachedHost(this);const R=null!=k.viewContainerRef?k.viewContainerRef:this._viewContainerRef,j=(k.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(k.component),ze=R.createComponent(j,R.length,k.injector||R.injector,k.projectableNodes||void 0);return R!==this._viewContainerRef&&this._getRootNode().appendChild(ze.hostView.rootNodes[0]),super.setDisposeFn(()=>ze.destroy()),this._attachedPortal=k,this._attachedRef=ze,this.attached.emit(ze),ze}attachTemplatePortal(k){k.setAttachedHost(this);const R=this._viewContainerRef.createEmbeddedView(k.templateRef,k.context,{injector:k.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=k,this._attachedRef=R,this.attached.emit(R),R}_getRootNode(){const k=this._viewContainerRef.element.nativeElement;return k.nodeType===k.ELEMENT_NODE?k:k.parentNode}static#e=this.\u0275fac=function(R){return new(R||S)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(n.K0))};static#t=this.\u0275dir=e.lG2({type:S,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]})}return S})(),y=(()=>{class S{static#e=this.\u0275fac=function(R){return new(R||S)};static#t=this.\u0275mod=e.oAB({type:S});static#n=this.\u0275inj=e.cJS({})}return S})()},205:(tt,I,o)=>{"use strict";o.d(I,{xd:()=>X,ZD:()=>ot,x0:()=>Pe,N7:()=>Re,mF:()=>le,Cl:()=>mt,rL:()=>ke});var e=o(42495),n=o(65879),t=o(78645),i=o(22096),l=o(65592),h=o(92438),E=o(80927),u=o(76410),z=o(47394),M=o(2664),p=o(93997),v=o(29028),_=o(32181),d=o(59773),m=o(27921),f=o(79360),C=o(8251),b=o(94664),D=o(97328),y=o(63020),S=o(62831),A=o(96814),k=o(49388),R=o(93168);class W{}class ze extends W{constructor(de){super(),this._data=de}connect(){return(0,M.b)(this._data)?this._data:(0,i.of)(this._data)}disconnect(){}}class G{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(de,U,B,Me,Ae){de.forEachOperation((Le,ht,Ot)=>{let Lt,Wt;null==Le.previousIndex?(Lt=this._insertView(()=>B(Le,ht,Ot),Ot,U,Me(Le)),Wt=Lt?1:0):null==Ot?(this._detachAndCacheView(ht,U),Wt=3):(Lt=this._moveView(ht,Ot,U,Me(Le)),Wt=2),Ae&&Ae({context:Lt?.context,operation:Wt,record:Le})})}detach(){for(const de of this._viewCache)de.destroy();this._viewCache=[]}_insertView(de,U,B,Me){const Ae=this._insertViewFromCache(U,B);if(Ae)return void(Ae.context.$implicit=Me);const Le=de();return B.createEmbeddedView(Le.templateRef,Le.context,Le.index)}_detachAndCacheView(de,U){const B=U.detach(de);this._maybeCacheView(B,U)}_moveView(de,U,B,Me){const Ae=B.get(de);return B.move(Ae,U),Ae.context.$implicit=Me,Ae}_maybeCacheView(de,U){if(this._viewCache.length0?Ae/this._itemSize:0;if(U.end>Me){const Ot=Math.ceil(B/this._itemSize),Lt=Math.max(0,Math.min(Le,Me-Ot));Le!=Lt&&(Le=Lt,Ae=Lt*this._itemSize,U.start=Math.floor(Le)),U.end=Math.max(0,Math.min(Me,U.start+Ot))}const ht=Ae-U.start*this._itemSize;if(ht0&&(U.end=Math.min(Me,U.end+Lt),U.start=Math.max(0,Math.floor(Le-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(U),this._viewport.setRenderedContentOffset(this._itemSize*U.start),this._scrolledIndexChange.next(Math.floor(Le))}}function ce(we){return we._scrollStrategy}let X=(()=>{class we{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new ae(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(U){this._itemSize=(0,e.su)(U)}get minBufferPx(){return this._minBufferPx}set minBufferPx(U){this._minBufferPx=(0,e.su)(U)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(U){this._maxBufferPx=(0,e.su)(U)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static#e=this.\u0275fac=function(B){return new(B||we)};static#t=this.\u0275dir=n.lG2({type:we,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[n._Bn([{provide:De,useFactory:ce,deps:[(0,n.Gpc)(()=>we)]}]),n.TTD]})}return we})(),le=(()=>{class we{constructor(U,B,Me){this._ngZone=U,this._platform=B,this._scrolled=new t.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Me}register(U){this.scrollContainers.has(U)||this.scrollContainers.set(U,U.elementScrolled().subscribe(()=>this._scrolled.next(U)))}deregister(U){const B=this.scrollContainers.get(U);B&&(B.unsubscribe(),this.scrollContainers.delete(U))}scrolled(U=20){return this._platform.isBrowser?new l.y(B=>{this._globalSubscription||this._addGlobalListener();const Me=U>0?this._scrolled.pipe((0,v.e)(U)).subscribe(B):this._scrolled.subscribe(B);return this._scrolledCount++,()=>{Me.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,i.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((U,B)=>this.deregister(B)),this._scrolled.complete()}ancestorScrolled(U,B){const Me=this.getAncestorScrollContainers(U);return this.scrolled(B).pipe((0,_.h)(Ae=>!Ae||Me.indexOf(Ae)>-1))}getAncestorScrollContainers(U){const B=[];return this.scrollContainers.forEach((Me,Ae)=>{this._scrollableContainsElement(Ae,U)&&B.push(Ae)}),B}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(U,B){let Me=(0,e.fI)(B),Ae=U.getElementRef().nativeElement;do{if(Me==Ae)return!0}while(Me=Me.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const U=this._getWindow();return(0,h.R)(U.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(B){return new(B||we)(n.LFG(n.R0b),n.LFG(S.t4),n.LFG(A.K0,8))};static#t=this.\u0275prov=n.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Se=(()=>{class we{constructor(U,B,Me,Ae){this.elementRef=U,this.scrollDispatcher=B,this.ngZone=Me,this.dir=Ae,this._destroyed=new t.x,this._elementScrolled=new l.y(Le=>this.ngZone.runOutsideAngular(()=>(0,h.R)(this.elementRef.nativeElement,"scroll").pipe((0,d.R)(this._destroyed)).subscribe(Le)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(U){const B=this.elementRef.nativeElement,Me=this.dir&&"rtl"==this.dir.value;null==U.left&&(U.left=Me?U.end:U.start),null==U.right&&(U.right=Me?U.start:U.end),null!=U.bottom&&(U.top=B.scrollHeight-B.clientHeight-U.bottom),Me&&0!=(0,S._i)()?(null!=U.left&&(U.right=B.scrollWidth-B.clientWidth-U.left),2==(0,S._i)()?U.left=U.right:1==(0,S._i)()&&(U.left=U.right?-U.right:U.right)):null!=U.right&&(U.left=B.scrollWidth-B.clientWidth-U.right),this._applyScrollToOptions(U)}_applyScrollToOptions(U){const B=this.elementRef.nativeElement;(0,S.Mq)()?B.scrollTo(U):(null!=U.top&&(B.scrollTop=U.top),null!=U.left&&(B.scrollLeft=U.left))}measureScrollOffset(U){const B="left",Ae=this.elementRef.nativeElement;if("top"==U)return Ae.scrollTop;if("bottom"==U)return Ae.scrollHeight-Ae.clientHeight-Ae.scrollTop;const Le=this.dir&&"rtl"==this.dir.value;return"start"==U?U=Le?"right":B:"end"==U&&(U=Le?B:"right"),Le&&2==(0,S._i)()?U==B?Ae.scrollWidth-Ae.clientWidth-Ae.scrollLeft:Ae.scrollLeft:Le&&1==(0,S._i)()?U==B?Ae.scrollLeft+Ae.scrollWidth-Ae.clientWidth:-Ae.scrollLeft:U==B?Ae.scrollLeft:Ae.scrollWidth-Ae.clientWidth-Ae.scrollLeft}static#e=this.\u0275fac=function(B){return new(B||we)(n.Y36(n.SBq),n.Y36(le),n.Y36(n.R0b),n.Y36(k.Is,8))};static#t=this.\u0275dir=n.lG2({type:we,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return we})(),ke=(()=>{class we{constructor(U,B,Me){this._platform=U,this._change=new t.x,this._changeListener=Ae=>{this._change.next(Ae)},this._document=Me,B.runOutsideAngular(()=>{if(U.isBrowser){const Ae=this._getWindow();Ae.addEventListener("resize",this._changeListener),Ae.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const U=this._getWindow();U.removeEventListener("resize",this._changeListener),U.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const U={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),U}getViewportRect(){const U=this.getViewportScrollPosition(),{width:B,height:Me}=this.getViewportSize();return{top:U.top,left:U.left,bottom:U.top+Me,right:U.left+B,height:Me,width:B}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const U=this._document,B=this._getWindow(),Me=U.documentElement,Ae=Me.getBoundingClientRect();return{top:-Ae.top||U.body.scrollTop||B.scrollY||Me.scrollTop||0,left:-Ae.left||U.body.scrollLeft||B.scrollX||Me.scrollLeft||0}}change(U=20){return U>0?this._change.pipe((0,v.e)(U)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const U=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:U.innerWidth,height:U.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(B){return new(B||we)(n.LFG(S.t4),n.LFG(n.R0b),n.LFG(A.K0,8))};static#t=this.\u0275prov=n.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();const oe=new n.OlP("VIRTUAL_SCROLLABLE");let _e=(()=>{class we extends Se{constructor(U,B,Me,Ae){super(U,B,Me,Ae)}measureViewportSize(U){const B=this.elementRef.nativeElement;return"horizontal"===U?B.clientWidth:B.clientHeight}static#e=this.\u0275fac=function(B){return new(B||we)(n.Y36(n.SBq),n.Y36(le),n.Y36(n.R0b),n.Y36(k.Is,8))};static#t=this.\u0275dir=n.lG2({type:we,features:[n.qOj]})}return we})();const He=typeof requestAnimationFrame<"u"?E.Z:u.E;let Re=(()=>{class we extends _e{get orientation(){return this._orientation}set orientation(U){this._orientation!==U&&(this._orientation=U,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(U){this._appendOnly=(0,e.Ig)(U)}constructor(U,B,Me,Ae,Le,ht,Ot,Lt){super(U,ht,Me,Le),this.elementRef=U,this._changeDetectorRef=B,this._scrollStrategy=Ae,this.scrollable=Lt,this._platform=(0,n.f3M)(S.t4),this._detachedSubject=new t.x,this._renderedRangeSubject=new t.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new l.y(Wt=>this._scrollStrategy.scrolledIndexChange.subscribe(qt=>Promise.resolve().then(()=>this.ngZone.run(()=>Wt.next(qt))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=z.w0.EMPTY,this._viewportChanges=Ot.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,m.O)(null),(0,v.e)(0,He),(0,d.R)(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(U){this.ngZone.runOutsideAngular(()=>{this._forOf=U,this._forOf.dataStream.pipe((0,d.R)(this._detachedSubject)).subscribe(B=>{const Me=B.length;Me!==this._dataLength&&(this._dataLength=Me,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(U){return this.getElementRef().nativeElement.getBoundingClientRect()[U]}setTotalContentSize(U){this._totalContentSize!==U&&(this._totalContentSize=U,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(U){(function Q(we,de){return we.start==de.start&&we.end==de.end})(this._renderedRange,U)||(this.appendOnly&&(U={start:0,end:Math.max(this._renderedRange.end,U.end)}),this._renderedRangeSubject.next(this._renderedRange=U),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(U,B="to-start"){U=this.appendOnly&&"to-start"===B?0:U;const Ae="horizontal"==this.orientation,Le=Ae?"X":"Y";let Ot=`translate${Le}(${Number((Ae&&this.dir&&"rtl"==this.dir.value?-1:1)*U)}px)`;this._renderedContentOffset=U,"to-end"===B&&(Ot+=` translate${Le}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=Ot&&(this._renderedContentTransform=Ot,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(U,B="auto"){const Me={behavior:B};"horizontal"===this.orientation?Me.start=U:Me.top=U,this.scrollable.scrollTo(Me)}scrollToIndex(U,B="auto"){this._scrollStrategy.scrollToIndex(U,B)}measureScrollOffset(U){let B;return B=this.scrollable==this?Me=>super.measureScrollOffset(Me):Me=>this.scrollable.measureScrollOffset(Me),Math.max(0,B(U??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(U){let B;const Le="rtl"==this.dir?.value;B="start"==U?Le?"right":"left":"end"==U?Le?"left":"right":U||("horizontal"===this.orientation?"left":"top");const ht=this.scrollable.measureBoundingClientRectWithScrollOffset(B);return this.elementRef.nativeElement.getBoundingClientRect()[B]-ht}measureRenderedContentSize(){const U=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?U.offsetWidth:U.offsetHeight}measureRangeSize(U){return this._forOf?this._forOf.measureRangeSize(U,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(U){U&&this._runAfterChangeDetection.push(U),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const U=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const B of U)B()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}static#e=this.\u0275fac=function(B){return new(B||we)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(De,8),n.Y36(k.Is,8),n.Y36(le),n.Y36(ke),n.Y36(oe,8))};static#t=this.\u0275cmp=n.Xpm({type:we,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(B,Me){if(1&B&&n.Gf(pe,7),2&B){let Ae;n.iGM(Ae=n.CRH())&&(Me._contentWrapper=Ae.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(B,Me){2&B&&n.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Me.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Me.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[n._Bn([{provide:Se,useFactory:(U,B)=>U||B,deps:[[new n.FiY,new n.tBr(oe)],we]}]),n.qOj,n.jDz],ngContentSelectors:re,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(B,Me){1&B&&(n.F$t(),n.TgZ(0,"div",0,1),n.Hsn(2),n.qZA(),n._UZ(3,"div",2)),2&B&&(n.xp6(3),n.Udp("width",Me._totalContentWidth)("height",Me._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0})}return we})();function lt(we,de,U){if(!U.getBoundingClientRect)return 0;const Me=U.getBoundingClientRect();return"horizontal"===we?"start"===de?Me.left:Me.right:"start"===de?Me.top:Me.bottom}let Pe=(()=>{class we{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(U){this._cdkVirtualForOf=U,function j(we){return we&&"function"==typeof we.connect&&!(we instanceof R.c)}(U)?this._dataSourceChanges.next(U):this._dataSourceChanges.next(new ze((0,M.b)(U)?U:Array.from(U||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(U){this._needsUpdate=!0,this._cdkVirtualForTrackBy=U?(B,Me)=>U(B+(this._renderedRange?this._renderedRange.start:0),Me):void 0}set cdkVirtualForTemplate(U){U&&(this._needsUpdate=!0,this._template=U)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(U){this._viewRepeater.viewCacheSize=(0,e.su)(U)}constructor(U,B,Me,Ae,Le,ht){this._viewContainerRef=U,this._template=B,this._differs=Me,this._viewRepeater=Ae,this._viewport=Le,this.viewChange=new t.x,this._dataSourceChanges=new t.x,this.dataStream=this._dataSourceChanges.pipe((0,m.O)(null),function T(){return(0,f.e)((we,de)=>{let U,B=!1;we.subscribe((0,C.x)(de,Me=>{const Ae=U;U=Me,B&&de.next([Ae,Me]),B=!0}))})}(),(0,b.w)(([Ot,Lt])=>this._changeDataSource(Ot,Lt)),function P(we,de,U){let B,Me=!1;return we&&"object"==typeof we?({bufferSize:B=1/0,windowTime:de=1/0,refCount:Me=!1,scheduler:U}=we):B=we??1/0,(0,y.B)({connector:()=>new D.t(B,de,U),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Me})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new t.x,this.dataStream.subscribe(Ot=>{this._data=Ot,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,d.R)(this._destroyed)).subscribe(Ot=>{this._renderedRange=Ot,this.viewChange.observers.length&&ht.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(U,B){if(U.start>=U.end)return 0;const Me=U.start-this._renderedRange.start,Ae=U.end-U.start;let Le,ht;for(let Ot=0;Ot-1;Ot--){const Lt=this._viewContainerRef.get(Ot+Me);if(Lt&&Lt.rootNodes.length){ht=Lt.rootNodes[Lt.rootNodes.length-1];break}}return Le&&ht?lt(B,"end",ht)-lt(B,"start",Le):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const U=this._differ.diff(this._renderedItems);U?this._applyChanges(U):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((U,B)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(U,B):B)),this._needsUpdate=!0)}_changeDataSource(U,B){return U&&U.disconnect(this),this._needsUpdate=!0,B?B.connect(this):(0,i.of)()}_updateContext(){const U=this._data.length;let B=this._viewContainerRef.length;for(;B--;){const Me=this._viewContainerRef.get(B);Me.context.index=this._renderedRange.start+B,Me.context.count=U,this._updateComputedContextProperties(Me.context),Me.detectChanges()}}_applyChanges(U){this._viewRepeater.applyChanges(U,this._viewContainerRef,(Ae,Le,ht)=>this._getEmbeddedViewArgs(Ae,ht),Ae=>Ae.item),U.forEachIdentityChange(Ae=>{this._viewContainerRef.get(Ae.currentIndex).context.$implicit=Ae.item});const B=this._data.length;let Me=this._viewContainerRef.length;for(;Me--;){const Ae=this._viewContainerRef.get(Me);Ae.context.index=this._renderedRange.start+Me,Ae.context.count=B,this._updateComputedContextProperties(Ae.context)}}_updateComputedContextProperties(U){U.first=0===U.index,U.last=U.index===U.count-1,U.even=U.index%2==0,U.odd=!U.even}_getEmbeddedViewArgs(U,B){return{templateRef:this._template,context:{$implicit:U.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:B}}static#e=this.\u0275fac=function(B){return new(B||we)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4),n.Y36(te),n.Y36(Re,4),n.Y36(n.R0b))};static#t=this.\u0275dir=n.lG2({type:we,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[n._Bn([{provide:te,useClass:G}])]})}return we})(),ot=(()=>{class we{static#e=this.\u0275fac=function(B){return new(B||we)};static#t=this.\u0275mod=n.oAB({type:we});static#n=this.\u0275inj=n.cJS({})}return we})(),mt=(()=>{class we{static#e=this.\u0275fac=function(B){return new(B||we)};static#t=this.\u0275mod=n.oAB({type:we});static#n=this.\u0275inj=n.cJS({imports:[k.vT,ot,k.vT,ot]})}return we})()},96814:(tt,I,o)=>{"use strict";o.d(I,{Do:()=>f,ED:()=>oo,EM:()=>Hi,H9:()=>Rt,HT:()=>i,JF:()=>po,JJ:()=>at,K0:()=>h,Mx:()=>En,NF:()=>Do,O5:()=>ri,OU:()=>mn,Ov:()=>bi,PC:()=>$i,PM:()=>Yo,RF:()=>fi,S$:()=>_,Tn:()=>R,Ts:()=>Fn,V_:()=>u,Ye:()=>C,b0:()=>m,bD:()=>Ai,ez:()=>kn,gd:()=>Vn,mk:()=>Ln,n9:()=>to,ol:()=>G,p6:()=>Me,q:()=>t,qS:()=>Mn,sg:()=>di,tP:()=>no,uf:()=>$,w_:()=>l,x:()=>k});var e=o(65879);let n=null;function t(){return n}function i(me){n||(n=me)}class l{}const h=new e.OlP("DocumentToken");let E=(()=>{class me{historyGo(Ue){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:function(){return(0,e.f3M)(z)},providedIn:"platform"})}return me})();const u=new e.OlP("Location Initialized");let z=(()=>{class me extends E{constructor(){super(),this._doc=(0,e.f3M)(h),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return t().getBaseHref(this._doc)}onPopState(Ue){const ct=t().getGlobalEventTarget(this._doc,"window");return ct.addEventListener("popstate",Ue,!1),()=>ct.removeEventListener("popstate",Ue)}onHashChange(Ue){const ct=t().getGlobalEventTarget(this._doc,"window");return ct.addEventListener("hashchange",Ue,!1),()=>ct.removeEventListener("hashchange",Ue)}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(Ue){this._location.pathname=Ue}pushState(Ue,ct,Ht){this._history.pushState(Ue,ct,Ht)}replaceState(Ue,ct,Ht){this._history.replaceState(Ue,ct,Ht)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ue=0){this._history.go(Ue)}getState(){return this._history.state}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:function(){return new me},providedIn:"platform"})}return me})();function M(me,vt){if(0==me.length)return vt;if(0==vt.length)return me;let Ue=0;return me.endsWith("/")&&Ue++,vt.startsWith("/")&&Ue++,2==Ue?me+vt.substring(1):1==Ue?me+vt:me+"/"+vt}function p(me){const vt=me.match(/#|\?|$/),Ue=vt&&vt.index||me.length;return me.slice(0,Ue-("/"===me[Ue-1]?1:0))+me.slice(Ue)}function v(me){return me&&"?"!==me[0]?"?"+me:me}let _=(()=>{class me{historyGo(Ue){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:function(){return(0,e.f3M)(m)},providedIn:"root"})}return me})();const d=new e.OlP("appBaseHref");let m=(()=>{class me extends _{constructor(Ue,ct){super(),this._platformLocation=Ue,this._removeListenerFns=[],this._baseHref=ct??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(h).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ue){this._removeListenerFns.push(this._platformLocation.onPopState(Ue),this._platformLocation.onHashChange(Ue))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ue){return M(this._baseHref,Ue)}path(Ue=!1){const ct=this._platformLocation.pathname+v(this._platformLocation.search),Ht=this._platformLocation.hash;return Ht&&Ue?`${ct}${Ht}`:ct}pushState(Ue,ct,Ht,sn){const an=this.prepareExternalUrl(Ht+v(sn));this._platformLocation.pushState(Ue,ct,an)}replaceState(Ue,ct,Ht,sn){const an=this.prepareExternalUrl(Ht+v(sn));this._platformLocation.replaceState(Ue,ct,an)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ue=0){this._platformLocation.historyGo?.(Ue)}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.LFG(E),e.LFG(d,8))};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),f=(()=>{class me extends _{constructor(Ue,ct){super(),this._platformLocation=Ue,this._baseHref="",this._removeListenerFns=[],null!=ct&&(this._baseHref=ct)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ue){this._removeListenerFns.push(this._platformLocation.onPopState(Ue),this._platformLocation.onHashChange(Ue))}getBaseHref(){return this._baseHref}path(Ue=!1){let ct=this._platformLocation.hash;return null==ct&&(ct="#"),ct.length>0?ct.substring(1):ct}prepareExternalUrl(Ue){const ct=M(this._baseHref,Ue);return ct.length>0?"#"+ct:ct}pushState(Ue,ct,Ht,sn){let an=this.prepareExternalUrl(Ht+v(sn));0==an.length&&(an=this._platformLocation.pathname),this._platformLocation.pushState(Ue,ct,an)}replaceState(Ue,ct,Ht,sn){let an=this.prepareExternalUrl(Ht+v(sn));0==an.length&&(an=this._platformLocation.pathname),this._platformLocation.replaceState(Ue,ct,an)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ue=0){this._platformLocation.historyGo?.(Ue)}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.LFG(E),e.LFG(d,8))};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac})}return me})(),C=(()=>{class me{constructor(Ue){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Ue;const ct=this._locationStrategy.getBaseHref();this._basePath=function y(me){if(new RegExp("^(https?:)?//").test(me)){const[,Ue]=me.split(/\/\/[^\/]+/);return Ue}return me}(p(D(ct))),this._locationStrategy.onPopState(Ht=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ht.state,type:Ht.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ue=!1){return this.normalize(this._locationStrategy.path(Ue))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ue,ct=""){return this.path()==this.normalize(Ue+v(ct))}normalize(Ue){return me.stripTrailingSlash(function b(me,vt){if(!me||!vt.startsWith(me))return vt;const Ue=vt.substring(me.length);return""===Ue||["/",";","?","#"].includes(Ue[0])?Ue:vt}(this._basePath,D(Ue)))}prepareExternalUrl(Ue){return Ue&&"/"!==Ue[0]&&(Ue="/"+Ue),this._locationStrategy.prepareExternalUrl(Ue)}go(Ue,ct="",Ht=null){this._locationStrategy.pushState(Ht,"",Ue,ct),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ue+v(ct)),Ht)}replaceState(Ue,ct="",Ht=null){this._locationStrategy.replaceState(Ht,"",Ue,ct),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ue+v(ct)),Ht)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ue=0){this._locationStrategy.historyGo?.(Ue)}onUrlChange(Ue){return this._urlChangeListeners.push(Ue),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ct=>{this._notifyUrlChangeListeners(ct.url,ct.state)})),()=>{const ct=this._urlChangeListeners.indexOf(Ue);this._urlChangeListeners.splice(ct,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ue="",ct){this._urlChangeListeners.forEach(Ht=>Ht(Ue,ct))}subscribe(Ue,ct,Ht){return this._subject.subscribe({next:Ue,error:ct,complete:Ht})}static#e=this.normalizeQueryParams=v;static#t=this.joinWithSlash=M;static#n=this.stripTrailingSlash=p;static#i=this.\u0275fac=function(ct){return new(ct||me)(e.LFG(_))};static#o=this.\u0275prov=e.Yz7({token:me,factory:function(){return function T(){return new C((0,e.LFG)(_))}()},providedIn:"root"})}return me})();function D(me){return me.replace(/\/index.html$/,"")}const P={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var S=function(me){return me[me.Decimal=0]="Decimal",me[me.Percent=1]="Percent",me[me.Currency=2]="Currency",me[me.Scientific=3]="Scientific",me}(S||{}),k=function(me){return me[me.Format=0]="Format",me[me.Standalone=1]="Standalone",me}(k||{}),R=function(me){return me[me.Narrow=0]="Narrow",me[me.Abbreviated=1]="Abbreviated",me[me.Wide=2]="Wide",me[me.Short=3]="Short",me}(R||{}),W=function(me){return me[me.Short=0]="Short",me[me.Medium=1]="Medium",me[me.Long=2]="Long",me[me.Full=3]="Full",me}(W||{}),j=function(me){return me[me.Decimal=0]="Decimal",me[me.Group=1]="Group",me[me.List=2]="List",me[me.PercentSign=3]="PercentSign",me[me.PlusSign=4]="PlusSign",me[me.MinusSign=5]="MinusSign",me[me.Exponential=6]="Exponential",me[me.SuperscriptingExponent=7]="SuperscriptingExponent",me[me.PerMille=8]="PerMille",me[me.Infinity=9]="Infinity",me[me.NaN=10]="NaN",me[me.TimeSeparator=11]="TimeSeparator",me[me.CurrencyDecimal=12]="CurrencyDecimal",me[me.CurrencyGroup=13]="CurrencyGroup",me}(j||{});function G(me,vt,Ue){const ct=(0,e.cg1)(me),sn=Re([ct[e.wAp.DayPeriodsFormat],ct[e.wAp.DayPeriodsStandalone]],vt);return Re(sn,Ue)}function re(me,vt){return Re((0,e.cg1)(me)[e.wAp.DateFormat],vt)}function De(me,vt){return Re((0,e.cg1)(me)[e.wAp.TimeFormat],vt)}function ae(me,vt){return Re((0,e.cg1)(me)[e.wAp.DateTimeFormat],vt)}function ce(me,vt){const Ue=(0,e.cg1)(me),ct=Ue[e.wAp.NumberSymbols][vt];if(typeof ct>"u"){if(vt===j.CurrencyDecimal)return Ue[e.wAp.NumberSymbols][j.Decimal];if(vt===j.CurrencyGroup)return Ue[e.wAp.NumberSymbols][j.Group]}return ct}function X(me,vt){return(0,e.cg1)(me)[e.wAp.NumberFormats][vt]}function oe(me){if(!me[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${me[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Re(me,vt){for(let Ue=vt;Ue>-1;Ue--)if(typeof me[Ue]<"u")return me[Ue];throw new Error("Locale data API: locale data undefined")}function lt(me){const[vt,Ue]=me.split(":");return{hours:+vt,minutes:+Ue}}const ot=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,mt={},we=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var de=function(me){return me[me.Short=0]="Short",me[me.ShortGMT=1]="ShortGMT",me[me.Long=2]="Long",me[me.Extended=3]="Extended",me}(de||{}),U=function(me){return me[me.FullYear=0]="FullYear",me[me.Month=1]="Month",me[me.Date=2]="Date",me[me.Hours=3]="Hours",me[me.Minutes=4]="Minutes",me[me.Seconds=5]="Seconds",me[me.FractionalSeconds=6]="FractionalSeconds",me[me.Day=7]="Day",me}(U||{}),B=function(me){return me[me.DayPeriods=0]="DayPeriods",me[me.Days=1]="Days",me[me.Months=2]="Months",me[me.Eras=3]="Eras",me}(B||{});function Me(me,vt,Ue,ct){let Ht=function ge(me){if(Ye(me))return me;if("number"==typeof me&&!isNaN(me))return new Date(me);if("string"==typeof me){if(me=me.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(me)){const[Ht,sn=1,an=1]=me.split("-").map(An=>+An);return Ae(Ht,sn-1,an)}const Ue=parseFloat(me);if(!isNaN(me-Ue))return new Date(Ue);let ct;if(ct=me.match(ot))return function je(me){const vt=new Date(0);let Ue=0,ct=0;const Ht=me[8]?vt.setUTCFullYear:vt.setFullYear,sn=me[8]?vt.setUTCHours:vt.setHours;me[9]&&(Ue=Number(me[9]+me[10]),ct=Number(me[9]+me[11])),Ht.call(vt,Number(me[1]),Number(me[2])-1,Number(me[3]));const an=Number(me[4]||0)-Ue,An=Number(me[5]||0)-ct,Ii=Number(me[6]||0),Oi=Math.floor(1e3*parseFloat("0."+(me[7]||0)));return sn.call(vt,an,An,Ii,Oi),vt}(ct)}const vt=new Date(me);if(!Ye(vt))throw new Error(`Unable to convert "${me}" into a date`);return vt}(me);vt=Le(Ue,vt)||vt;let An,an=[];for(;vt;){if(An=we.exec(vt),!An){an.push(vt);break}{an=an.concat(An.slice(1));const ui=an.pop();if(!ui)break;vt=ui}}let Ii=Ht.getTimezoneOffset();ct&&(Ii=Fe(ct,Ii),Ht=function Xe(me,vt,Ue){const ct=Ue?-1:1,Ht=me.getTimezoneOffset();return function fe(me,vt){return(me=new Date(me.getTime())).setMinutes(me.getMinutes()+vt),me}(me,ct*(Fe(vt,Ht)-Ht))}(Ht,ct,!0));let Oi="";return an.forEach(ui=>{const Gn=function qe(me){if(St[me])return St[me];let vt;switch(me){case"G":case"GG":case"GGG":vt=en(B.Eras,R.Abbreviated);break;case"GGGG":vt=en(B.Eras,R.Wide);break;case"GGGGG":vt=en(B.Eras,R.Narrow);break;case"y":vt=Wt(U.FullYear,1,0,!1,!0);break;case"yy":vt=Wt(U.FullYear,2,0,!0,!0);break;case"yyy":vt=Wt(U.FullYear,3,0,!1,!0);break;case"yyyy":vt=Wt(U.FullYear,4,0,!1,!0);break;case"Y":vt=kt(1);break;case"YY":vt=kt(2,!0);break;case"YYY":vt=kt(3);break;case"YYYY":vt=kt(4);break;case"M":case"L":vt=Wt(U.Month,1,1);break;case"MM":case"LL":vt=Wt(U.Month,2,1);break;case"MMM":vt=en(B.Months,R.Abbreviated);break;case"MMMM":vt=en(B.Months,R.Wide);break;case"MMMMM":vt=en(B.Months,R.Narrow);break;case"LLL":vt=en(B.Months,R.Abbreviated,k.Standalone);break;case"LLLL":vt=en(B.Months,R.Wide,k.Standalone);break;case"LLLLL":vt=en(B.Months,R.Narrow,k.Standalone);break;case"w":vt=Nt(1);break;case"ww":vt=Nt(2);break;case"W":vt=Nt(1,!0);break;case"d":vt=Wt(U.Date,1);break;case"dd":vt=Wt(U.Date,2);break;case"c":case"cc":vt=Wt(U.Day,1);break;case"ccc":vt=en(B.Days,R.Abbreviated,k.Standalone);break;case"cccc":vt=en(B.Days,R.Wide,k.Standalone);break;case"ccccc":vt=en(B.Days,R.Narrow,k.Standalone);break;case"cccccc":vt=en(B.Days,R.Short,k.Standalone);break;case"E":case"EE":case"EEE":vt=en(B.Days,R.Abbreviated);break;case"EEEE":vt=en(B.Days,R.Wide);break;case"EEEEE":vt=en(B.Days,R.Narrow);break;case"EEEEEE":vt=en(B.Days,R.Short);break;case"a":case"aa":case"aaa":vt=en(B.DayPeriods,R.Abbreviated);break;case"aaaa":vt=en(B.DayPeriods,R.Wide);break;case"aaaaa":vt=en(B.DayPeriods,R.Narrow);break;case"b":case"bb":case"bbb":vt=en(B.DayPeriods,R.Abbreviated,k.Standalone,!0);break;case"bbbb":vt=en(B.DayPeriods,R.Wide,k.Standalone,!0);break;case"bbbbb":vt=en(B.DayPeriods,R.Narrow,k.Standalone,!0);break;case"B":case"BB":case"BBB":vt=en(B.DayPeriods,R.Abbreviated,k.Format,!0);break;case"BBBB":vt=en(B.DayPeriods,R.Wide,k.Format,!0);break;case"BBBBB":vt=en(B.DayPeriods,R.Narrow,k.Format,!0);break;case"h":vt=Wt(U.Hours,1,-12);break;case"hh":vt=Wt(U.Hours,2,-12);break;case"H":vt=Wt(U.Hours,1);break;case"HH":vt=Wt(U.Hours,2);break;case"m":vt=Wt(U.Minutes,1);break;case"mm":vt=Wt(U.Minutes,2);break;case"s":vt=Wt(U.Seconds,1);break;case"ss":vt=Wt(U.Seconds,2);break;case"S":vt=Wt(U.FractionalSeconds,1);break;case"SS":vt=Wt(U.FractionalSeconds,2);break;case"SSS":vt=Wt(U.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":vt=cn(de.Short);break;case"ZZZZZ":vt=cn(de.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":vt=cn(de.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":vt=cn(de.Long);break;default:return null}return St[me]=vt,vt}(ui);Oi+=Gn?Gn(Ht,Ue,Ii):"''"===ui?"'":ui.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Oi}function Ae(me,vt,Ue){const ct=new Date(0);return ct.setFullYear(me,vt,Ue),ct.setHours(0,0,0),ct}function Le(me,vt){const Ue=function Y(me){return(0,e.cg1)(me)[e.wAp.LocaleId]}(me);if(mt[Ue]=mt[Ue]||{},mt[Ue][vt])return mt[Ue][vt];let ct="";switch(vt){case"shortDate":ct=re(me,W.Short);break;case"mediumDate":ct=re(me,W.Medium);break;case"longDate":ct=re(me,W.Long);break;case"fullDate":ct=re(me,W.Full);break;case"shortTime":ct=De(me,W.Short);break;case"mediumTime":ct=De(me,W.Medium);break;case"longTime":ct=De(me,W.Long);break;case"fullTime":ct=De(me,W.Full);break;case"short":const Ht=Le(me,"shortTime"),sn=Le(me,"shortDate");ct=ht(ae(me,W.Short),[Ht,sn]);break;case"medium":const an=Le(me,"mediumTime"),An=Le(me,"mediumDate");ct=ht(ae(me,W.Medium),[an,An]);break;case"long":const Ii=Le(me,"longTime"),Oi=Le(me,"longDate");ct=ht(ae(me,W.Long),[Ii,Oi]);break;case"full":const ui=Le(me,"fullTime"),Gn=Le(me,"fullDate");ct=ht(ae(me,W.Full),[ui,Gn])}return ct&&(mt[Ue][vt]=ct),ct}function ht(me,vt){return vt&&(me=me.replace(/\{([^}]+)}/g,function(Ue,ct){return null!=vt&&ct in vt?vt[ct]:Ue})),me}function Ot(me,vt,Ue="-",ct,Ht){let sn="";(me<0||Ht&&me<=0)&&(Ht?me=1-me:(me=-me,sn=Ue));let an=String(me);for(;an.length0||An>-Ue)&&(An+=Ue),me===U.Hours)0===An&&-12===Ue&&(An=12);else if(me===U.FractionalSeconds)return function Lt(me,vt){return Ot(me,3).substring(0,vt)}(An,vt);const Ii=ce(an,j.MinusSign);return Ot(An,vt,Ii,ct,Ht)}}function en(me,vt,Ue=k.Format,ct=!1){return function(Ht,sn){return function Vt(me,vt,Ue,ct,Ht,sn){switch(Ue){case B.Months:return function K(me,vt,Ue){const ct=(0,e.cg1)(me),sn=Re([ct[e.wAp.MonthsFormat],ct[e.wAp.MonthsStandalone]],vt);return Re(sn,Ue)}(vt,Ht,ct)[me.getMonth()];case B.Days:return function V(me,vt,Ue){const ct=(0,e.cg1)(me),sn=Re([ct[e.wAp.DaysFormat],ct[e.wAp.DaysStandalone]],vt);return Re(sn,Ue)}(vt,Ht,ct)[me.getDay()];case B.DayPeriods:const an=me.getHours(),An=me.getMinutes();if(sn){const Oi=function _e(me){const vt=(0,e.cg1)(me);return oe(vt),(vt[e.wAp.ExtraData][2]||[]).map(ct=>"string"==typeof ct?lt(ct):[lt(ct[0]),lt(ct[1])])}(vt),ui=function Q(me,vt,Ue){const ct=(0,e.cg1)(me);oe(ct);const sn=Re([ct[e.wAp.ExtraData][0],ct[e.wAp.ExtraData][1]],vt)||[];return Re(sn,Ue)||[]}(vt,Ht,ct),Gn=Oi.findIndex(eo=>{if(Array.isArray(eo)){const[Bn,Ki]=eo,Ho=an>=Bn.hours&&An>=Bn.minutes,ts=an0?Math.floor(Ht/60):Math.ceil(Ht/60);switch(me){case de.Short:return(Ht>=0?"+":"")+Ot(an,2,sn)+Ot(Math.abs(Ht%60),2,sn);case de.ShortGMT:return"GMT"+(Ht>=0?"+":"")+Ot(an,1,sn);case de.Long:return"GMT"+(Ht>=0?"+":"")+Ot(an,2,sn)+":"+Ot(Math.abs(Ht%60),2,sn);case de.Extended:return 0===ct?"Z":(Ht>=0?"+":"")+Ot(an,2,sn)+":"+Ot(Math.abs(Ht%60),2,sn);default:throw new Error(`Unknown zone width "${me}"`)}}}const ft=0,gt=4;function Ct(me){return Ae(me.getFullYear(),me.getMonth(),me.getDate()+(gt-me.getDay()))}function Nt(me,vt=!1){return function(Ue,ct){let Ht;if(vt){const sn=new Date(Ue.getFullYear(),Ue.getMonth(),1).getDay()-1,an=Ue.getDate();Ht=1+Math.floor((an+sn)/7)}else{const sn=Ct(Ue),an=function Ie(me){const vt=Ae(me,ft,1).getDay();return Ae(me,0,1+(vt<=gt?gt:gt+7)-vt)}(sn.getFullYear()),An=sn.getTime()-an.getTime();Ht=1+Math.round(An/6048e5)}return Ot(Ht,me,ce(ct,j.MinusSign))}}function kt(me,vt=!1){return function(Ue,ct){return Ot(Ct(Ue).getFullYear(),me,ce(ct,j.MinusSign),vt)}}const St={};function Fe(me,vt){me=me.replace(/:/g,"");const Ue=Date.parse("Jan 01, 1970 00:00:00 "+me)/6e4;return isNaN(Ue)?vt:Ue}function Ye(me){return me instanceof Date&&!isNaN(me.valueOf())}const We=/^(\d+)?\.((\d+)(-(\d+))?)?$/,wt=22,Ee=".",be="0",Qe=";",Ke=",",Ze="#";function x(me,vt,Ue,ct,Ht,sn,an=!1){let An="",Ii=!1;if(isFinite(me)){let Oi=function Ce(me){let ct,Ht,sn,an,An,vt=Math.abs(me)+"",Ue=0;for((Ht=vt.indexOf(Ee))>-1&&(vt=vt.replace(Ee,"")),(sn=vt.search(/e/i))>0?(Ht<0&&(Ht=sn),Ht+=+vt.slice(sn+1),vt=vt.substring(0,sn)):Ht<0&&(Ht=vt.length),sn=0;vt.charAt(sn)===be;sn++);if(sn===(An=vt.length))ct=[0],Ht=1;else{for(An--;vt.charAt(An)===be;)An--;for(Ht-=sn,ct=[],an=0;sn<=An;sn++,an++)ct[an]=Number(vt.charAt(sn))}return Ht>wt&&(ct=ct.splice(0,wt-1),Ue=Ht-1,Ht=1),{digits:ct,exponent:Ue,integerLen:Ht}}(me);an&&(Oi=function he(me){if(0===me.digits[0])return me;const vt=me.digits.length-me.integerLen;return me.exponent?me.exponent+=2:(0===vt?me.digits.push(0,0):1===vt&&me.digits.push(0),me.integerLen+=2),me}(Oi));let ui=vt.minInt,Gn=vt.minFrac,eo=vt.maxFrac;if(sn){const jo=sn.match(We);if(null===jo)throw new Error(`${sn} is not a valid digit info`);const _o=jo[1],pi=jo[3],ws=jo[5];null!=_o&&(ui=Yt(_o)),null!=pi&&(Gn=Yt(pi)),null!=ws?eo=Yt(ws):null!=pi&&Gn>eo&&(eo=Gn)}!function Dt(me,vt,Ue){if(vt>Ue)throw new Error(`The minimum number of digits after fraction (${vt}) is higher than the maximum (${Ue}).`);let ct=me.digits,Ht=ct.length-me.integerLen;const sn=Math.min(Math.max(vt,Ht),Ue);let an=sn+me.integerLen,An=ct[an];if(an>0){ct.splice(Math.max(me.integerLen,an));for(let Gn=an;Gn=5)if(an-1<0){for(let Gn=0;Gn>an;Gn--)ct.unshift(0),me.integerLen++;ct.unshift(1),me.integerLen++}else ct[an-1]++;for(;Ht=Oi?Ki.pop():Ii=!1),eo>=10?1:0},0);ui&&(ct.unshift(ui),me.integerLen++)}(Oi,Gn,eo);let Bn=Oi.digits,Ki=Oi.integerLen;const Ho=Oi.exponent;let ts=[];for(Ii=Bn.every(jo=>!jo);Ki0?ts=Bn.splice(Ki,Bn.length):(ts=Bn,Bn=[0]);const fs=[];for(Bn.length>=vt.lgSize&&fs.unshift(Bn.splice(-vt.lgSize,Bn.length).join(""));Bn.length>vt.gSize;)fs.unshift(Bn.splice(-vt.gSize,Bn.length).join(""));Bn.length&&fs.unshift(Bn.join("")),An=fs.join(ce(Ue,ct)),ts.length&&(An+=ce(Ue,Ht)+ts.join("")),Ho&&(An+=ce(Ue,j.Exponential)+"+"+Ho)}else An=ce(Ue,j.Infinity);return An=me<0&&!Ii?vt.negPre+An+vt.negSuf:vt.posPre+An+vt.posSuf,An}function $(me,vt,Ue){return x(me,L(X(vt,S.Decimal),ce(vt,j.MinusSign)),vt,j.Group,j.Decimal,Ue)}function L(me,vt="-"){const Ue={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ct=me.split(Qe),Ht=ct[0],sn=ct[1],an=-1!==Ht.indexOf(Ee)?Ht.split(Ee):[Ht.substring(0,Ht.lastIndexOf(be)+1),Ht.substring(Ht.lastIndexOf(be)+1)],An=an[0],Ii=an[1]||"";Ue.posPre=An.substring(0,An.indexOf(Ze));for(let ui=0;ui{class me{constructor(Ue,ct,Ht,sn){this._iterableDiffers=Ue,this._keyValueDiffers=ct,this._ngEl=Ht,this._renderer=sn,this.initialClasses=xn,this.stateMap=new Map}set klass(Ue){this.initialClasses=null!=Ue?Ue.trim().split(Dn):xn}set ngClass(Ue){this.rawClass="string"==typeof Ue?Ue.trim().split(Dn):Ue}ngDoCheck(){for(const ct of this.initialClasses)this._updateState(ct,!0);const Ue=this.rawClass;if(Array.isArray(Ue)||Ue instanceof Set)for(const ct of Ue)this._updateState(ct,!0);else if(null!=Ue)for(const ct of Object.keys(Ue))this._updateState(ct,!!Ue[ct]);this._applyStateDiff()}_updateState(Ue,ct){const Ht=this.stateMap.get(Ue);void 0!==Ht?(Ht.enabled!==ct&&(Ht.changed=!0,Ht.enabled=ct),Ht.touched=!0):this.stateMap.set(Ue,{enabled:ct,changed:!0,touched:!0})}_applyStateDiff(){for(const Ue of this.stateMap){const ct=Ue[0],Ht=Ue[1];Ht.changed?(this._toggleClass(ct,Ht.enabled),Ht.changed=!1):Ht.touched||(Ht.enabled&&this._toggleClass(ct,!1),this.stateMap.delete(ct)),Ht.touched=!1}}_toggleClass(Ue,ct){(Ue=Ue.trim()).length>0&&Ue.split(Dn).forEach(Ht=>{ct?this._renderer.addClass(this._ngEl.nativeElement,Ht):this._renderer.removeClass(this._ngEl.nativeElement,Ht)})}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return me})();class Hn{constructor(vt,Ue,ct,Ht){this.$implicit=vt,this.ngForOf=Ue,this.index=ct,this.count=Ht}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let di=(()=>{class me{set ngForOf(Ue){this._ngForOf=Ue,this._ngForOfDirty=!0}set ngForTrackBy(Ue){this._trackByFn=Ue}get ngForTrackBy(){return this._trackByFn}constructor(Ue,ct,Ht){this._viewContainer=Ue,this._template=ct,this._differs=Ht,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Ue){Ue&&(this._template=Ue)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ue=this._ngForOf;!this._differ&&Ue&&(this._differ=this._differs.find(Ue).create(this.ngForTrackBy))}if(this._differ){const Ue=this._differ.diff(this._ngForOf);Ue&&this._applyChanges(Ue)}}_applyChanges(Ue){const ct=this._viewContainer;Ue.forEachOperation((Ht,sn,an)=>{if(null==Ht.previousIndex)ct.createEmbeddedView(this._template,new Hn(Ht.item,this._ngForOf,-1,-1),null===an?void 0:an);else if(null==an)ct.remove(null===sn?void 0:sn);else if(null!==sn){const An=ct.get(sn);ct.move(An,an),oi(An,Ht)}});for(let Ht=0,sn=ct.length;Ht{oi(ct.get(Ht.currentIndex),Ht)})}static ngTemplateContextGuard(Ue,ct){return!0}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return me})();function oi(me,vt){me.context.$implicit=vt.item}let ri=(()=>{class me{constructor(Ue,ct){this._viewContainer=Ue,this._context=new hi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ct}set ngIf(Ue){this._context.$implicit=this._context.ngIf=Ue,this._updateView()}set ngIfThen(Ue){Ti("ngIfThen",Ue),this._thenTemplateRef=Ue,this._thenViewRef=null,this._updateView()}set ngIfElse(Ue){Ti("ngIfElse",Ue),this._elseTemplateRef=Ue,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Ue,ct){return!0}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b),e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return me})();class hi{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(me,vt){if(vt&&!vt.createEmbeddedView)throw new Error(`${me} must be a TemplateRef, but received '${(0,e.AaK)(vt)}'.`)}class li{constructor(vt,Ue){this._viewContainerRef=vt,this._templateRef=Ue,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(vt){vt&&!this._created?this.create():!vt&&this._created&&this.destroy()}}let fi=(()=>{class me{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Ue){this._ngSwitch=Ue,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ue){this._defaultViews.push(Ue)}_matchCase(Ue){const ct=Ue==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ct,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ct}_updateDefaultCases(Ue){if(this._defaultViews.length>0&&Ue!==this._defaultUsed){this._defaultUsed=Ue;for(const ct of this._defaultViews)ct.enforceState(Ue)}}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return me})(),to=(()=>{class me{constructor(Ue,ct,Ht){this.ngSwitch=Ht,Ht._addCase(),this._view=new li(Ue,ct)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(fi,9))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return me})(),oo=(()=>{class me{constructor(Ue,ct,Ht){Ht._addDefault(new li(Ue,ct))}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(fi,9))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return me})(),$i=(()=>{class me{constructor(Ue,ct,Ht){this._ngEl=Ue,this._differs=ct,this._renderer=Ht,this._ngStyle=null,this._differ=null}set ngStyle(Ue){this._ngStyle=Ue,!this._differ&&Ue&&(this._differ=this._differs.find(Ue).create())}ngDoCheck(){if(this._differ){const Ue=this._differ.diff(this._ngStyle);Ue&&this._applyChanges(Ue)}}_setStyle(Ue,ct){const[Ht,sn]=Ue.split("."),an=-1===Ht.indexOf("-")?void 0:e.JOm.DashCase;null!=ct?this._renderer.setStyle(this._ngEl.nativeElement,Ht,sn?`${ct}${sn}`:ct,an):this._renderer.removeStyle(this._ngEl.nativeElement,Ht,an)}_applyChanges(Ue){Ue.forEachRemovedItem(ct=>this._setStyle(ct.key,null)),Ue.forEachAddedItem(ct=>this._setStyle(ct.key,ct.currentValue)),Ue.forEachChangedItem(ct=>this._setStyle(ct.key,ct.currentValue))}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return me})(),no=(()=>{class me{constructor(Ue){this._viewContainerRef=Ue,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Ue){if(Ue.ngTemplateOutlet||Ue.ngTemplateOutletInjector){const ct=this._viewContainerRef;if(this._viewRef&&ct.remove(ct.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Ht,ngTemplateOutletContext:sn,ngTemplateOutletInjector:an}=this;this._viewRef=ct.createEmbeddedView(Ht,sn,an?{injector:an}:void 0)}else this._viewRef=null}else this._viewRef&&Ue.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]})}return me})();function wi(me,vt){return new e.vHH(2100,!1)}class Ji{createSubscription(vt,Ue){return(0,e.rg0)(()=>vt.subscribe({next:Ue,error:ct=>{throw ct}}))}dispose(vt){(0,e.rg0)(()=>vt.unsubscribe())}}class Di{createSubscription(vt,Ue){return vt.then(Ue,ct=>{throw ct})}dispose(vt){}}const Wi=new Di,Xi=new Ji;let bi=(()=>{class me{constructor(Ue){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Ue}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ue){return this._obj?Ue!==this._obj?(this._dispose(),this.transform(Ue)):this._latestValue:(Ue&&this._subscribe(Ue),this._latestValue)}_subscribe(Ue){this._obj=Ue,this._strategy=this._selectStrategy(Ue),this._subscription=this._strategy.createSubscription(Ue,ct=>this._updateLatestValue(Ue,ct))}_selectStrategy(Ue){if((0,e.QGY)(Ue))return Wi;if((0,e.F4k)(Ue))return Xi;throw wi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ue,ct){Ue===this._obj&&(this._latestValue=ct,this._ref.markForCheck())}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.sBO,16))};static#t=this.\u0275pipe=e.Yjl({name:"async",type:me,pure:!1,standalone:!0})}return me})(),Vn=(()=>{class me{transform(Ue){if(null==Ue)return null;if("string"!=typeof Ue)throw wi();return Ue.toUpperCase()}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275pipe=e.Yjl({name:"uppercase",type:me,pure:!0,standalone:!0})}return me})(),Fn=(()=>{class me{transform(Ue){return JSON.stringify(Ue,null,2)}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275pipe=e.Yjl({name:"json",type:me,pure:!1,standalone:!0})}return me})(),at=(()=>{class me{constructor(Ue){this._locale=Ue}transform(Ue,ct,Ht){if(!Kt(Ue))return null;Ht=Ht||this._locale;try{return $(ln(Ue),Ht,ct)}catch(sn){throw wi()}}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.soG,16))};static#t=this.\u0275pipe=e.Yjl({name:"number",type:me,pure:!0,standalone:!0})}return me})(),Rt=(()=>{class me{constructor(Ue,ct="USD"){this._locale=Ue,this._defaultCurrencyCode=ct}transform(Ue,ct=this._defaultCurrencyCode,Ht="symbol",sn,an){if(!Kt(Ue))return null;an=an||this._locale,"boolean"==typeof Ht&&(Ht=Ht?"symbol":"code");let An=ct||this._defaultCurrencyCode;"code"!==Ht&&(An="symbol"===Ht||"symbol-narrow"===Ht?function Pe(me,vt,Ue="en"){const ct=function Ne(me){return(0,e.cg1)(me)[e.wAp.Currencies]}(Ue)[me]||P[me]||[],Ht=ct[1];return"narrow"===vt&&"string"==typeof Ht?Ht:ct[0]||me}(An,"symbol"===Ht?"wide":"narrow",an):Ht);try{return function N(me,vt,Ue,ct,Ht){const an=L(X(vt,S.Currency),ce(vt,j.MinusSign));return an.minFrac=function $e(me){let vt;const Ue=P[me];return Ue&&(vt=Ue[2]),"number"==typeof vt?vt:2}(ct),an.maxFrac=an.minFrac,x(me,an,vt,j.CurrencyGroup,j.CurrencyDecimal,Ht).replace("\xa4",Ue).replace("\xa4","").trim()}(ln(Ue),an,An,ct,sn)}catch(Ii){throw wi()}}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.soG,16),e.Y36(e.EJc,16))};static#t=this.\u0275pipe=e.Yjl({name:"currency",type:me,pure:!0,standalone:!0})}return me})();function Kt(me){return!(null==me||""===me||me!=me)}function ln(me){if("string"==typeof me&&!isNaN(Number(me)-parseFloat(me)))return Number(me);if("number"!=typeof me)throw new Error(`${me} is not a number`);return me}let mn=(()=>{class me{transform(Ue,ct,Ht){if(null==Ue)return null;if(!this.supports(Ue))throw wi();return Ue.slice(ct,Ht)}supports(Ue){return"string"==typeof Ue||Array.isArray(Ue)}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275pipe=e.Yjl({name:"slice",type:me,pure:!1,standalone:!0})}return me})(),kn=(()=>{class me{static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275mod=e.oAB({type:me});static#n=this.\u0275inj=e.cJS({})}return me})();const Ai="browser",so="server";function Do(me){return me===Ai}function Yo(me){return me===so}let Hi=(()=>{class me{static#e=this.\u0275prov=(0,e.Yz7)({token:me,providedIn:"root",factory:()=>new bo((0,e.LFG)(h),window)})}return me})();class bo{constructor(vt,Ue){this.document=vt,this.window=Ue,this.offset=()=>[0,0]}setOffset(vt){this.offset=Array.isArray(vt)?()=>vt:vt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(vt){this.supportsScrolling()&&this.window.scrollTo(vt[0],vt[1])}scrollToAnchor(vt){if(!this.supportsScrolling())return;const Ue=function qo(me,vt){const Ue=me.getElementById(vt)||me.getElementsByName(vt)[0];if(Ue)return Ue;if("function"==typeof me.createTreeWalker&&me.body&&"function"==typeof me.body.attachShadow){const ct=me.createTreeWalker(me.body,NodeFilter.SHOW_ELEMENT);let Ht=ct.currentNode;for(;Ht;){const sn=Ht.shadowRoot;if(sn){const an=sn.getElementById(vt)||sn.querySelector(`[name="${vt}"]`);if(an)return an}Ht=ct.nextNode()}}return null}(this.document,vt);Ue&&(this.scrollToElement(Ue),Ue.focus())}setHistoryScrollRestoration(vt){this.supportsScrolling()&&(this.window.history.scrollRestoration=vt)}scrollToElement(vt){const Ue=vt.getBoundingClientRect(),ct=Ue.left+this.window.pageXOffset,Ht=Ue.top+this.window.pageYOffset,sn=this.offset();this.window.scrollTo(ct-sn[0],Ht-sn[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class po{}},69862:(tt,I,o)=>{"use strict";o.d(I,{JF:()=>We,LE:()=>y,QO:()=>G,TP:()=>oe,UA:()=>ee,WM:()=>_,Xk:()=>P,Zn:()=>K,aW:()=>ze,dt:()=>Y,eN:()=>pe,jN:()=>v});var e=o(65879),n=o(22096),t=o(7715),i=o(65592),l=o(76328),h=o(32181),E=o(37398),u=o(64716),z=o(94664),M=o(96814);class p{}class v{}class _{constructor(N){this.normalizedNames=new Map,this.lazyUpdate=null,N?"string"==typeof N?this.lazyInit=()=>{this.headers=new Map,N.split("\n").forEach(O=>{const $=O.indexOf(":");if($>0){const L=O.slice(0,$),he=L.toLowerCase(),Ce=O.slice($+1).trim();this.maybeSetNormalizedName(L,he),this.headers.has(he)?this.headers.get(he).push(Ce):this.headers.set(he,[Ce])}})}:typeof Headers<"u"&&N instanceof Headers?(this.headers=new Map,N.forEach((O,$)=>{this.setHeaderEntries($,O)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(N).forEach(([O,$])=>{this.setHeaderEntries(O,$)})}:this.headers=new Map}has(N){return this.init(),this.headers.has(N.toLowerCase())}get(N){this.init();const O=this.headers.get(N.toLowerCase());return O&&O.length>0?O[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(N){return this.init(),this.headers.get(N.toLowerCase())||null}append(N,O){return this.clone({name:N,value:O,op:"a"})}set(N,O){return this.clone({name:N,value:O,op:"s"})}delete(N,O){return this.clone({name:N,value:O,op:"d"})}maybeSetNormalizedName(N,O){this.normalizedNames.has(O)||this.normalizedNames.set(O,N)}init(){this.lazyInit&&(this.lazyInit instanceof _?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(N=>this.applyUpdate(N)),this.lazyUpdate=null))}copyFrom(N){N.init(),Array.from(N.headers.keys()).forEach(O=>{this.headers.set(O,N.headers.get(O)),this.normalizedNames.set(O,N.normalizedNames.get(O))})}clone(N){const O=new _;return O.lazyInit=this.lazyInit&&this.lazyInit instanceof _?this.lazyInit:this,O.lazyUpdate=(this.lazyUpdate||[]).concat([N]),O}applyUpdate(N){const O=N.name.toLowerCase();switch(N.op){case"a":case"s":let $=N.value;if("string"==typeof $&&($=[$]),0===$.length)return;this.maybeSetNormalizedName(N.name,O);const L=("a"===N.op?this.headers.get(O):void 0)||[];L.push(...$),this.headers.set(O,L);break;case"d":const he=N.value;if(he){let Ce=this.headers.get(O);if(!Ce)return;Ce=Ce.filter(Dt=>-1===he.indexOf(Dt)),0===Ce.length?(this.headers.delete(O),this.normalizedNames.delete(O)):this.headers.set(O,Ce)}else this.headers.delete(O),this.normalizedNames.delete(O)}}setHeaderEntries(N,O){const $=(Array.isArray(O)?O:[O]).map(he=>he.toString()),L=N.toLowerCase();this.headers.set(L,$),this.maybeSetNormalizedName(N,L)}forEach(N){this.init(),Array.from(this.normalizedNames.keys()).forEach(O=>N(this.normalizedNames.get(O),this.headers.get(O)))}}class m{encodeKey(N){return b(N)}encodeValue(N){return b(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}const C=/%(\d[a-f0-9])/gi,T={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function b(x){return encodeURIComponent(x).replace(C,(N,O)=>T[O]??N)}function D(x){return`${x}`}class y{constructor(N={}){if(this.updates=null,this.cloneFrom=null,this.encoder=N.encoder||new m,N.fromString){if(N.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function f(x,N){const O=new Map;return x.length>0&&x.replace(/^\?/,"").split("&").forEach(L=>{const he=L.indexOf("="),[Ce,Dt]=-1==he?[N.decodeKey(L),""]:[N.decodeKey(L.slice(0,he)),N.decodeValue(L.slice(he+1))],Yt=O.get(Ce)||[];Yt.push(Dt),O.set(Ce,Yt)}),O}(N.fromString,this.encoder)}else N.fromObject?(this.map=new Map,Object.keys(N.fromObject).forEach(O=>{const $=N.fromObject[O],L=Array.isArray($)?$.map(D):[D($)];this.map.set(O,L)})):this.map=null}has(N){return this.init(),this.map.has(N)}get(N){this.init();const O=this.map.get(N);return O?O[0]:null}getAll(N){return this.init(),this.map.get(N)||null}keys(){return this.init(),Array.from(this.map.keys())}append(N,O){return this.clone({param:N,value:O,op:"a"})}appendAll(N){const O=[];return Object.keys(N).forEach($=>{const L=N[$];Array.isArray(L)?L.forEach(he=>{O.push({param:$,value:he,op:"a"})}):O.push({param:$,value:L,op:"a"})}),this.clone(O)}set(N,O){return this.clone({param:N,value:O,op:"s"})}delete(N,O){return this.clone({param:N,value:O,op:"d"})}toString(){return this.init(),this.keys().map(N=>{const O=this.encoder.encodeKey(N);return this.map.get(N).map($=>O+"="+this.encoder.encodeValue($)).join("&")}).filter(N=>""!==N).join("&")}clone(N){const O=new y({encoder:this.encoder});return O.cloneFrom=this.cloneFrom||this,O.updates=(this.updates||[]).concat(N),O}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(N=>this.map.set(N,this.cloneFrom.map.get(N))),this.updates.forEach(N=>{switch(N.op){case"a":case"s":const O=("a"===N.op?this.map.get(N.param):void 0)||[];O.push(D(N.value)),this.map.set(N.param,O);break;case"d":if(void 0===N.value){this.map.delete(N.param);break}{let $=this.map.get(N.param)||[];const L=$.indexOf(D(N.value));-1!==L&&$.splice(L,1),$.length>0?this.map.set(N.param,$):this.map.delete(N.param)}}}),this.cloneFrom=this.updates=null)}}class P{constructor(N){this.defaultValue=N}}class S{constructor(){this.map=new Map}set(N,O){return this.map.set(N,O),this}get(N){return this.map.has(N)||this.map.set(N,N.defaultValue()),this.map.get(N)}delete(N){return this.map.delete(N),this}has(N){return this.map.has(N)}keys(){return this.map.keys()}}function k(x){return typeof ArrayBuffer<"u"&&x instanceof ArrayBuffer}function R(x){return typeof Blob<"u"&&x instanceof Blob}function W(x){return typeof FormData<"u"&&x instanceof FormData}class ze{constructor(N,O,$,L){let he;if(this.url=O,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=N.toUpperCase(),function A(x){switch(x){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||L?(this.body=void 0!==$?$:null,he=L):he=$,he&&(this.reportProgress=!!he.reportProgress,this.withCredentials=!!he.withCredentials,he.responseType&&(this.responseType=he.responseType),he.headers&&(this.headers=he.headers),he.context&&(this.context=he.context),he.params&&(this.params=he.params)),this.headers||(this.headers=new _),this.context||(this.context=new S),this.params){const Ce=this.params.toString();if(0===Ce.length)this.urlWithParams=O;else{const Dt=O.indexOf("?");this.urlWithParams=O+(-1===Dt?"?":Dtyn.set(Mn,N.setHeaders[Mn]),Yt)),N.setParams&&(rn=Object.keys(N.setParams).reduce((yn,Mn)=>yn.set(Mn,N.setParams[Mn]),rn)),new ze(O,$,he,{params:rn,headers:Yt,context:hn,reportProgress:Dt,responseType:L,withCredentials:Ce})}}var Y=function(x){return x[x.Sent=0]="Sent",x[x.UploadProgress=1]="UploadProgress",x[x.ResponseHeader=2]="ResponseHeader",x[x.DownloadProgress=3]="DownloadProgress",x[x.Response=4]="Response",x[x.User=5]="User",x}(Y||{});class G{constructor(N,O=200,$="OK"){this.headers=N.headers||new _,this.status=void 0!==N.status?N.status:O,this.statusText=N.statusText||$,this.url=N.url||null,this.ok=this.status>=200&&this.status<300}}class V extends G{constructor(N={}){super(N),this.type=Y.ResponseHeader}clone(N={}){return new V({headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class K extends G{constructor(N={}){super(N),this.type=Y.Response,this.body=void 0!==N.body?N.body:null}clone(N={}){return new K({body:void 0!==N.body?N.body:this.body,headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class ee extends G{constructor(N){super(N,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${N.url||"(unknown url)"}`:`Http failure response for ${N.url||"(unknown url)"}: ${N.status} ${N.statusText}`,this.error=N.error||null}}function te(x,N){return{body:N,headers:x.headers,context:x.context,observe:x.observe,params:x.params,reportProgress:x.reportProgress,responseType:x.responseType,withCredentials:x.withCredentials}}let pe=(()=>{class x{constructor(O){this.handler=O}request(O,$,L={}){let he;if(O instanceof ze)he=O;else{let Yt,rn;Yt=L.headers instanceof _?L.headers:new _(L.headers),L.params&&(rn=L.params instanceof y?L.params:new y({fromObject:L.params})),he=new ze(O,$,void 0!==L.body?L.body:null,{headers:Yt,context:L.context,params:rn,reportProgress:L.reportProgress,responseType:L.responseType||"json",withCredentials:L.withCredentials})}const Ce=(0,n.of)(he).pipe((0,l.b)(Yt=>this.handler.handle(Yt)));if(O instanceof ze||"events"===L.observe)return Ce;const Dt=Ce.pipe((0,h.h)(Yt=>Yt instanceof K));switch(L.observe||"body"){case"body":switch(he.responseType){case"arraybuffer":return Dt.pipe((0,E.U)(Yt=>{if(null!==Yt.body&&!(Yt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Yt.body}));case"blob":return Dt.pipe((0,E.U)(Yt=>{if(null!==Yt.body&&!(Yt.body instanceof Blob))throw new Error("Response is not a Blob.");return Yt.body}));case"text":return Dt.pipe((0,E.U)(Yt=>{if(null!==Yt.body&&"string"!=typeof Yt.body)throw new Error("Response is not a string.");return Yt.body}));default:return Dt.pipe((0,E.U)(Yt=>Yt.body))}case"response":return Dt;default:throw new Error(`Unreachable: unhandled observe type ${L.observe}}`)}}delete(O,$={}){return this.request("DELETE",O,$)}get(O,$={}){return this.request("GET",O,$)}head(O,$={}){return this.request("HEAD",O,$)}jsonp(O,$){return this.request("JSONP",O,{params:(new y).append($,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(O,$={}){return this.request("OPTIONS",O,$)}patch(O,$,L={}){return this.request("PATCH",O,te(L,$))}post(O,$,L={}){return this.request("POST",O,te(L,$))}put(O,$,L={}){return this.request("PUT",O,te(L,$))}static#e=this.\u0275fac=function($){return new($||x)(e.LFG(p))};static#t=this.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac})}return x})();function Se(x,N){return N(x)}function Ne(x,N){return(O,$)=>N.intercept(O,{handle:L=>x(L,$)})}const oe=new e.OlP(""),_e=new e.OlP(""),Q=new e.OlP("");function He(){let x=null;return(N,O)=>{null===x&&(x=((0,e.f3M)(oe,{optional:!0})??[]).reduceRight(Ne,Se));const $=(0,e.f3M)(e.HDt),L=$.add();return x(N,O).pipe((0,u.x)(()=>$.remove(L)))}}let Re=(()=>{class x extends p{constructor(O,$){super(),this.backend=O,this.injector=$,this.chain=null,this.pendingTasks=(0,e.f3M)(e.HDt)}handle(O){if(null===this.chain){const L=Array.from(new Set([...this.injector.get(_e),...this.injector.get(Q,[])]));this.chain=L.reduceRight((he,Ce)=>function ke(x,N,O){return($,L)=>O.runInContext(()=>N($,he=>x(he,L)))}(he,Ce,this.injector),Se)}const $=this.pendingTasks.add();return this.chain(O,L=>this.backend.handle(L)).pipe((0,u.x)(()=>this.pendingTasks.remove($)))}static#e=this.\u0275fac=function($){return new($||x)(e.LFG(v),e.LFG(e.lqb))};static#t=this.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac})}return x})();const Ae=/^\)\]\}',?\n/;let ht=(()=>{class x{constructor(O){this.xhrFactory=O}handle(O){if("JSONP"===O.method)throw new e.vHH(-2800,!1);const $=this.xhrFactory;return($.\u0275loadImpl?(0,t.D)($.\u0275loadImpl()):(0,n.of)(null)).pipe((0,z.w)(()=>new i.y(he=>{const Ce=$.build();if(Ce.open(O.method,O.urlWithParams),O.withCredentials&&(Ce.withCredentials=!0),O.headers.forEach((xn,Ln)=>Ce.setRequestHeader(xn,Ln.join(","))),O.headers.has("Accept")||Ce.setRequestHeader("Accept","application/json, text/plain, */*"),!O.headers.has("Content-Type")){const xn=O.detectContentTypeHeader();null!==xn&&Ce.setRequestHeader("Content-Type",xn)}if(O.responseType){const xn=O.responseType.toLowerCase();Ce.responseType="json"!==xn?xn:"text"}const Dt=O.serializeBody();let Yt=null;const rn=()=>{if(null!==Yt)return Yt;const xn=Ce.statusText||"OK",Ln=new _(Ce.getAllResponseHeaders()),ei=function Le(x){return"responseURL"in x&&x.responseURL?x.responseURL:/^X-Request-URL:/m.test(x.getAllResponseHeaders())?x.getResponseHeader("X-Request-URL"):null}(Ce)||O.url;return Yt=new V({headers:Ln,status:Ce.status,statusText:xn,url:ei}),Yt},hn=()=>{let{headers:xn,status:Ln,statusText:ei,url:ii}=rn(),Hn=null;204!==Ln&&(Hn=typeof Ce.response>"u"?Ce.responseText:Ce.response),0===Ln&&(Ln=Hn?200:0);let di=Ln>=200&&Ln<300;if("json"===O.responseType&&"string"==typeof Hn){const oi=Hn;Hn=Hn.replace(Ae,"");try{Hn=""!==Hn?JSON.parse(Hn):null}catch(ai){Hn=oi,di&&(di=!1,Hn={error:ai,text:Hn})}}di?(he.next(new K({body:Hn,headers:xn,status:Ln,statusText:ei,url:ii||void 0})),he.complete()):he.error(new ee({error:Hn,headers:xn,status:Ln,statusText:ei,url:ii||void 0}))},yn=xn=>{const{url:Ln}=rn(),ei=new ee({error:xn,status:Ce.status||0,statusText:Ce.statusText||"Unknown Error",url:Ln||void 0});he.error(ei)};let Mn=!1;const En=xn=>{Mn||(he.next(rn()),Mn=!0);let Ln={type:Y.DownloadProgress,loaded:xn.loaded};xn.lengthComputable&&(Ln.total=xn.total),"text"===O.responseType&&Ce.responseText&&(Ln.partialText=Ce.responseText),he.next(Ln)},Dn=xn=>{let Ln={type:Y.UploadProgress,loaded:xn.loaded};xn.lengthComputable&&(Ln.total=xn.total),he.next(Ln)};return Ce.addEventListener("load",hn),Ce.addEventListener("error",yn),Ce.addEventListener("timeout",yn),Ce.addEventListener("abort",yn),O.reportProgress&&(Ce.addEventListener("progress",En),null!==Dt&&Ce.upload&&Ce.upload.addEventListener("progress",Dn)),Ce.send(Dt),he.next({type:Y.Sent}),()=>{Ce.removeEventListener("error",yn),Ce.removeEventListener("abort",yn),Ce.removeEventListener("load",hn),Ce.removeEventListener("timeout",yn),O.reportProgress&&(Ce.removeEventListener("progress",En),null!==Dt&&Ce.upload&&Ce.upload.removeEventListener("progress",Dn)),Ce.readyState!==Ce.DONE&&Ce.abort()}})))}static#e=this.\u0275fac=function($){return new($||x)(e.LFG(M.JF))};static#t=this.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac})}return x})();const Ot=new e.OlP("XSRF_ENABLED"),Wt=new e.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),en=new e.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Vt{}let cn=(()=>{class x{constructor(O,$,L){this.doc=O,this.platform=$,this.cookieName=L,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const O=this.doc.cookie||"";return O!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,M.Mx)(O,this.cookieName),this.lastCookieString=O),this.lastToken}static#e=this.\u0275fac=function($){return new($||x)(e.LFG(M.K0),e.LFG(e.Lbi),e.LFG(Wt))};static#t=this.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac})}return x})();function ft(x,N){const O=x.url.toLowerCase();if(!(0,e.f3M)(Ot)||"GET"===x.method||"HEAD"===x.method||O.startsWith("http://")||O.startsWith("https://"))return N(x);const $=(0,e.f3M)(Vt).getToken(),L=(0,e.f3M)(en);return null!=$&&!x.headers.has(L)&&(x=x.clone({headers:x.headers.set(L,$)})),N(x)}var Ie=function(x){return x[x.Interceptors=0]="Interceptors",x[x.LegacyInterceptors=1]="LegacyInterceptors",x[x.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",x[x.NoXsrfProtection=3]="NoXsrfProtection",x[x.JsonpSupport=4]="JsonpSupport",x[x.RequestsMadeViaParent=5]="RequestsMadeViaParent",x[x.Fetch=6]="Fetch",x}(Ie||{});function Nt(...x){const N=[pe,ht,Re,{provide:p,useExisting:Re},{provide:v,useExisting:ht},{provide:_e,useValue:ft,multi:!0},{provide:Ot,useValue:!0},{provide:Vt,useClass:cn}];for(const O of x)N.push(...O.\u0275providers);return(0,e.MR2)(N)}const St=new e.OlP("LEGACY_INTERCEPTOR_FN");function qe(){return function Ct(x,N){return{\u0275kind:x,\u0275providers:N}}(Ie.LegacyInterceptors,[{provide:St,useFactory:He},{provide:_e,useExisting:St,multi:!0}])}let We=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=e.oAB({type:x});static#n=this.\u0275inj=e.cJS({providers:[Nt(qe())]})}return x})()},65879:(tt,I,o)=>{"use strict";o.d(I,{$8M:()=>ye,$WT:()=>zt,$Z:()=>d2,AFp:()=>Zd,ALo:()=>Z4,AaK:()=>v,Akn:()=>lr,AsE:()=>ap,B6R:()=>Di,BQk:()=>Du,CHM:()=>Ms,CRH:()=>pg,Ckj:()=>Uh,DdM:()=>F4,DjV:()=>Um,Dn7:()=>Q4,DyG:()=>Uo,EJc:()=>M5,EiD:()=>Hh,EpF:()=>nm,F$t:()=>lm,F4k:()=>im,FYo:()=>r1,FiY:()=>os,G48:()=>r7,Gf:()=>ug,GfV:()=>a1,GkF:()=>Z1,Gpc:()=>m,Gre:()=>Hm,HDt:()=>Rg,HTZ:()=>U4,Hsn:()=>cm,Ikx:()=>lp,JOm:()=>pc,JVY:()=>Wf,JZr:()=>D,Jf7:()=>T1,KtG:()=>Dr,L6k:()=>jf,LAX:()=>Zf,LFG:()=>be,LMc:()=>R7,LSH:()=>Bd,Lbi:()=>Jd,Lck:()=>mv,MAs:()=>q2,MGl:()=>bu,MMx:()=>w4,MR2:()=>Ud,MT6:()=>Vm,NdJ:()=>G1,O4$:()=>Ja,Ojb:()=>y0,OlP:()=>Bi,Oqu:()=>rp,P3R:()=>Yh,PXZ:()=>G5,PiD:()=>Jr,Q6J:()=>W1,QGY:()=>J1,QbO:()=>v0,Qsj:()=>N0,R0b:()=>Go,RDi:()=>Bf,Rgc:()=>qc,SBq:()=>Cl,Sil:()=>b5,Suo:()=>hg,TTD:()=>ui,TgZ:()=>Tu,Tol:()=>Em,Udp:()=>ip,VKq:()=>B4,VuI:()=>N7,W1O:()=>_g,WD2:()=>Oi,WFA:()=>Q1,WLB:()=>H4,X6Q:()=>s7,XFs:()=>de,Xpm:()=>Ji,Xq5:()=>L2,Xts:()=>gl,Y36:()=>El,YKP:()=>S4,YNc:()=>G2,Yjl:()=>Vn,Yz7:()=>oe,Z0I:()=>Re,ZZ4:()=>Up,_Bn:()=>x4,_UZ:()=>K1,_Vd:()=>yl,_c5:()=>T7,_uU:()=>Pm,aQg:()=>Yp,c2e:()=>kg,cJS:()=>Q,cQ8:()=>q1,cg1:()=>dp,d8E:()=>cp,dDg:()=>j5,dqk:()=>ht,dwT:()=>m_,eBb:()=>Kf,eFA:()=>jg,eJc:()=>bp,ekj:()=>op,eoX:()=>Ug,evT:()=>M1,f3M:()=>Ke,g9A:()=>qh,gHi:()=>zl,gM2:()=>X4,h0i:()=>ka,hGG:()=>M7,hij:()=>Ou,iGM:()=>dg,ifc:()=>he,ip1:()=>Ng,jDz:()=>P4,kEZ:()=>V4,kL8:()=>Xm,kcU:()=>Qa,ktI:()=>Tl,lG2:()=>ni,lcZ:()=>J4,lqb:()=>rr,lri:()=>Hg,mCW:()=>fl,n5z:()=>ic,n_E:()=>Nu,oAB:()=>bi,oJD:()=>Vh,oxw:()=>am,pB0:()=>Jf,q3G:()=>Qr,qFp:()=>L7,qLn:()=>Nr,qOj:()=>L1,qZA:()=>Mu,qzn:()=>ba,rWj:()=>Vg,rg0:()=>Ht,s9C:()=>X1,sBO:()=>a7,s_b:()=>Lu,soG:()=>Bu,tBr:()=>sr,tb:()=>Rp,tp0:()=>mr,uIk:()=>B1,vHH:()=>y,vpe:()=>ar,wAp:()=>Ll,xi3:()=>G4,xp6:()=>l2,ynx:()=>Eu,z2F:()=>Vl,z3N:()=>gr,zSh:()=>$d,zs3:()=>Xs});var e=o(78645),n=o(47394),t=o(65592),i=o(63019),l=o(65619),h=o(22096),E=o(63020),u=o(94664),z=o(93997);function M(s){for(let r in s)if(s[r]===M)return r;throw Error("Could not find renamed property on target object.")}function p(s,r){for(const a in r)r.hasOwnProperty(a)&&!s.hasOwnProperty(a)&&(s[a]=r[a])}function v(s){if("string"==typeof s)return s;if(Array.isArray(s))return"["+s.map(v).join(", ")+"]";if(null==s)return""+s;if(s.overriddenName)return`${s.overriddenName}`;if(s.name)return`${s.name}`;const r=s.toString();if(null==r)return""+r;const a=r.indexOf("\n");return-1===a?r:r.substring(0,a)}function _(s,r){return null==s||""===s?null===r?"":r:null==r||""===r?s:s+" "+r}const d=M({__forward_ref__:M});function m(s){return s.__forward_ref__=m,s.toString=function(){return v(this())},s}function f(s){return C(s)?s():s}function C(s){return"function"==typeof s&&s.hasOwnProperty(d)&&s.__forward_ref__===m}function T(s){return s&&!!s.\u0275providers}const D="https://g.co/ng/security#xss";class y extends Error{constructor(r,a){super(function P(s,r){return`NG0${Math.abs(s)}${r?": "+r:""}`}(r,a)),this.code=r}}function S(s){return"string"==typeof s?s:null==s?"":String(s)}function j(s,r){throw new y(-201,!1)}function ne(s,r){null==s&&function le(s,r,a,c){throw new Error(`ASSERTION ERROR: ${s}`+(null==c?"":` [Expected=> ${a} ${c} ${r} <=Actual]`))}(r,s,null,"!=")}function oe(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function Q(s){return{providers:s.providers||[],imports:s.imports||[]}}function He(s){return lt(s,$e)||lt(s,mt)}function Re(s){return null!==He(s)}function lt(s,r){return s.hasOwnProperty(r)?s[r]:null}function xt(s){return s&&(s.hasOwnProperty(ot)||s.hasOwnProperty(we))?s[ot]:null}const $e=M({\u0275prov:M}),ot=M({\u0275inj:M}),mt=M({ngInjectableDef:M}),we=M({ngInjectorDef:M});var de=function(s){return s[s.Default=0]="Default",s[s.Host=1]="Host",s[s.Self=2]="Self",s[s.SkipSelf=4]="SkipSelf",s[s.Optional=8]="Optional",s}(de||{});let U;function B(){return U}function Me(s){const r=U;return U=s,r}function Ae(s,r,a){const c=He(s);return c&&"root"==c.providedIn?void 0===c.value?c.value=c.factory():c.value:a&de.Optional?null:void 0!==r?r:void j(v(s))}const ht=globalThis,St={},qe="__NG_DI_FLAG__",Fe="ngTempTokenPath",Xe=/\n/gm,je="__source";let Ye;function wt(s){const r=Ye;return Ye=s,r}function Ee(s,r=de.Default){if(void 0===Ye)throw new y(-203,!1);return null===Ye?Ae(s,void 0,r):Ye.get(s,r&de.Optional?null:void 0,r)}function be(s,r=de.Default){return(B()||Ee)(f(s),r)}function Ke(s,r=de.Default){return be(s,Ze(r))}function Ze(s){return typeof s>"u"||"number"==typeof s?s:0|(s.optional&&8)|(s.host&&1)|(s.self&&2)|(s.skipSelf&&4)}function ve(s){const r=[];for(let a=0;ar){H=w-1;break}}}for(;ww?"":g[At+1].toLowerCase();const Gt=8&c?Zt:null;if(Gt&&-1!==xn(Gt,Ge,0)||2&c&&Ge!==Zt){if(li(c))return!1;H=!0}}}}else{if(!H&&!li(c)&&!li(Te))return!1;if(H&&li(Te))continue;H=!1,c=Te|1&c}}return li(c)||H}function li(s){return 0==(1&s)}function fi(s,r,a,c){if(null===r)return-1;let g=0;if(c||!a){let w=!1;for(;g-1)for(a++;a0?'="'+se+'"':"")+"]"}else 8&c?g+="."+H:4&c&&(g+=" "+H);else""!==g&&!li(H)&&(r+=$i(w,g),g=""),c=H,w=w||!li(c);a++}return""!==g&&(r+=$i(w,g)),r}function Ji(s){return $(()=>{const r=Xt(s),a={...r,decls:s.decls,vars:s.vars,template:s.template,consts:s.consts||null,ngContentSelectors:s.ngContentSelectors,onPush:s.changeDetection===L.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&s.dependencies||null,getStandaloneInjector:null,signals:s.signals??!1,data:s.data||{},encapsulation:s.encapsulation||he.Emulated,styles:s.styles||Dt,_:null,schemas:s.schemas||null,tView:null,id:""};_n(a);const c=s.dependencies;return a.directiveDefs=Fn(c,!1),a.pipeDefs=Fn(c,!0),a.id=function mi(s){let r=0;const a=[s.selectors,s.ngContentSelectors,s.hostVars,s.hostAttrs,s.consts,s.vars,s.decls,s.encapsulation,s.standalone,s.signals,s.exportAs,JSON.stringify(s.inputs),JSON.stringify(s.outputs),Object.getOwnPropertyNames(s.type.prototype),!!s.contentQueries,!!s.viewQuery].join("|");for(const g of a)r=Math.imul(31,r)+g.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(a),a})}function Di(s,r,a){const c=s.\u0275cmp;c.directiveDefs=Fn(r,!1),c.pipeDefs=Fn(a,!0)}function Wi(s){return Mt(s)||gn(s)}function Xi(s){return null!==s}function bi(s){return $(()=>({type:s.type,bootstrap:s.bootstrap||Dt,declarations:s.declarations||Dt,imports:s.imports||Dt,exports:s.exports||Dt,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function Pi(s,r){if(null==s)return Ce;const a={};for(const c in s)if(s.hasOwnProperty(c)){let g=s[c],w=g;Array.isArray(g)&&(w=g[1],g=g[0]),a[g]=c,r&&(r[g]=w)}return a}function ni(s){return $(()=>{const r=Xt(s);return _n(r),r})}function Vn(s){return{type:s.type,name:s.name,factory:null,pure:!1!==s.pure,standalone:!0===s.standalone,onDestroy:s.type.prototype.ngOnDestroy||null}}function Mt(s){return s[Yt]||null}function gn(s){return s[rn]||null}function rt(s){return s[hn]||null}function zt(s){const r=Mt(s)||gn(s)||rt(s);return null!==r&&r.standalone}function It(s,r){const a=s[yn]||null;if(!a&&!0===r)throw new Error(`Type ${v(s)} does not have '\u0275mod' property.`);return a}function Xt(s){const r={};return{type:s.type,providersResolver:null,factory:null,hostBindings:s.hostBindings||null,hostVars:s.hostVars||0,hostAttrs:s.hostAttrs||null,contentQueries:s.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:s.inputs||Ce,exportAs:s.exportAs||null,standalone:!0===s.standalone,signals:!0===s.signals,selectors:s.selectors||Dt,viewQuery:s.viewQuery||null,features:s.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Pi(s.inputs,r),outputs:Pi(s.outputs)}}function _n(s){s.features?.forEach(r=>r(s))}function Fn(s,r){if(!s)return null;const a=r?rt:Wi;return()=>("function"==typeof s?s():s).map(c=>a(c)).filter(Xi)}const bt=0,at=1,Je=2,Rt=3,Kt=4,ln=5,mn=6,Kn=7,kn=8,Ai=9,so=10,Nn=11,Ro=12,Do=13,Yo=14,xi=15,wo=16,Xo=17,Hi=18,bo=19,qo=20,Po=21,po=22,zo=23,Io=24,Xn=25,Vi=1,us=2,Si=7,xo=9,Ci=11;function io(s){return Array.isArray(s)&&"object"==typeof s[Vi]}function it(s){return Array.isArray(s)&&!0===s[Vi]}function Qt(s){return 0!=(4&s.flags)}function Z(s){return s.componentOffset>-1}function dt(s){return 1==(1&s.flags)}function _t(s){return!!s.template}function jt(s){return 0!=(512&s[Je])}function Ao(s,r){return s.hasOwnProperty(Mn)?s[Mn]:null}let Gi=null,Os=!1;function ro(s){const r=Gi;return Gi=s,r}const Zs={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function er(s){if(!es(s)||s.dirty){if(!s.producerMustRecompute(s)&&!wn(s))return void(s.dirty=!1);s.producerRecomputeValue(s),s.dirty=!1}}function zr(s){s.dirty=!0,function Bs(s){if(void 0===s.liveConsumerNode)return;const r=Os;Os=!0;try{for(const a of s.liveConsumerNode)a.dirty||zr(a)}finally{Os=r}}(s),s.consumerMarkedDirty?.(s)}function Ut(s){return s&&(s.nextProducerIndex=0),ro(s)}function ys(s,r){if(ro(r),s&&void 0!==s.producerNode&&void 0!==s.producerIndexOfThis&&void 0!==s.producerLastReadVersion){if(es(s))for(let a=s.nextProducerIndex;as.nextProducerIndex;)s.producerNode.pop(),s.producerLastReadVersion.pop(),s.producerIndexOfThis.pop()}}function wn(s){Cs(s);for(let r=0;r0}function Cs(s){s.producerNode??=[],s.producerIndexOfThis??=[],s.producerLastReadVersion??=[]}let tr=null;function Ht(s){const r=ro(null);try{return s()}finally{ro(r)}}const an=()=>{},An=(()=>({...Zs,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:s=>{s.schedule(s.ref)},hasRun:!1,cleanupFn:an}))();class Oi{constructor(r,a,c){this.previousValue=r,this.currentValue=a,this.firstChange=c}isFirstChange(){return this.firstChange}}function ui(){return Gn}function Gn(s){return s.type.prototype.ngOnChanges&&(s.setInput=Bn),eo}function eo(){const s=Ho(this),r=s?.current;if(r){const a=s.previous;if(a===Ce)s.previous=r;else for(let c in r)a[c]=r[c];s.current=null,this.ngOnChanges(r)}}function Bn(s,r,a,c){const g=this.declaredInputs[a],w=Ho(s)||function ts(s,r){return s[Ki]=r}(s,{previous:Ce,current:null}),H=w.current||(w.current={}),se=w.previous,Te=se[g];H[g]=new Oi(Te&&Te.currentValue,r,se===Ce),s[c]=r}ui.ngInherit=!0;const Ki="__ngSimpleChanges__";function Ho(s){return s[Ki]||null}const _o=function(s,r,a){},pi="svg";function Li(s){for(;Array.isArray(s);)s=s[bt];return s}function ur(s,r){return Li(r[s])}function Ko(s,r){return Li(r[s.index])}function Vr(s,r){return s.data[r]}function hr(s,r){return s[r]}function Zo(s,r){const a=r[s];return io(a)?a:a[bt]}function Ps(s,r){return null==r?null:s[r]}function ao(s){s[Xo]=0}function Ba(s){1024&s[Je]||(s[Je]|=1024,Va(s,1))}function Ha(s){1024&s[Je]&&(s[Je]&=-1025,Va(s,-1))}function Va(s,r){let a=s[Rt];if(null===a)return;a[ln]+=r;let c=a;for(a=a[Rt];null!==a&&(1===r&&1===c[ln]||-1===r&&0===c[ln]);)a[ln]+=r,c=a,a=a[Rt]}function Ua(s,r){if(256==(256&s[Je]))throw new y(911,!1);null===s[Po]&&(s[Po]=[]),s[Po].push(r)}const Jn={lFrame:ir(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ca(){return Jn.bindingsEnabled}function Ts(){return null!==Jn.skipHydrationRootTNode}function dn(){return Jn.lFrame.lView}function gi(){return Jn.lFrame.tView}function Ms(s){return Jn.lFrame.contextLView=s,s[kn]}function Dr(s){return Jn.lFrame.contextLView=null,s}function vo(){let s=Yr();for(;null!==s&&64===s.type;)s=s.parent;return s}function Yr(){return Jn.lFrame.currentTNode}function ns(s,r){const a=Jn.lFrame;a.currentTNode=s,a.isParent=r}function br(){return Jn.lFrame.isParent}function xr(){Jn.lFrame.isParent=!1}function So(){const s=Jn.lFrame;let r=s.bindingRootIndex;return-1===r&&(r=s.bindingRootIndex=s.tView.bindingStartIndex),r}function $s(){return Jn.lFrame.bindingIndex}function ue(){return Jn.lFrame.bindingIndex++}function xe(s){const r=Jn.lFrame,a=r.bindingIndex;return r.bindingIndex=r.bindingIndex+s,a}function et(s,r){const a=Jn.lFrame;a.bindingIndex=a.bindingRootIndex=s,Ft(r)}function Ft(s){Jn.lFrame.currentDirectiveIndex=s}function on(s){const r=Jn.lFrame.currentDirectiveIndex;return-1===r?null:s[r]}function tn(){return Jn.lFrame.currentQueryIndex}function bn(s){Jn.lFrame.currentQueryIndex=s}function ti(s){const r=s[at];return 2===r.type?r.declTNode:1===r.type?s[mn]:null}function Fi(s,r,a){if(a&de.SkipSelf){let g=r,w=s;for(;!(g=g.parent,null!==g||a&de.Host||(g=ti(w),null===g||(w=w[Yo],10&g.type))););if(null===g)return!1;r=g,s=w}const c=Jn.lFrame=Vo();return c.currentTNode=r,c.lView=s,!0}function vi(s){const r=Vo(),a=s[at];Jn.lFrame=r,r.currentTNode=a.firstChild,r.lView=s,r.tView=a,r.contextLView=s,r.bindingIndex=a.bindingStartIndex,r.inI18n=!1}function Vo(){const s=Jn.lFrame,r=null===s?null:s.child;return null===r?ir(s):r}function ir(s){const r={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:s,child:null,inI18n:!1};return null!==s&&(s.child=r),r}function Gs(){const s=Jn.lFrame;return Jn.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const ms=Gs;function Is(){const s=Gs();s.isParent=!0,s.tView=null,s.selectedIndex=-1,s.contextLView=null,s.elementDepthCount=0,s.currentDirectiveIndex=-1,s.currentNamespace=null,s.bindingRootIndex=-1,s.bindingIndex=-1,s.currentQueryIndex=0}function Jo(){return Jn.lFrame.selectedIndex}function Ws(s){Jn.lFrame.selectedIndex=s}function lo(){const s=Jn.lFrame;return Vr(s.tView,s.selectedIndex)}function Ja(){Jn.lFrame.currentNamespace=pi}function Qa(){!function id(){Jn.lFrame.currentNamespace=null}()}let Xa=!0;function $r(){return Xa}function or(s){Xa=s}function Wr(s,r){for(let a=r.directiveStart,c=r.directiveEnd;a=c)break}else r[Te]<0&&(s[Xo]+=65536),(se>13>16&&(3&s[Je])===r&&(s[Je]+=8192,el(se,w)):el(se,w)}const pr=-1;class Sr{constructor(r,a,c){this.factory=r,this.resolving=!1,this.canSeeViewProviders=a,this.injectImpl=c}}function nl(s){return s!==pr}function Kr(s){return 32767&s}function Zr(s,r){let a=function ad(s){return s>>16}(s),c=r;for(;a>0;)c=c[Yo],a--;return c}let pa=!0;function fa(s){const r=pa;return pa=s,r}const Ql=255,Xl=5;let ld=0;const As={};function ma(s,r){const a=ql(s,r);if(-1!==a)return a;const c=r[at];c.firstCreatePass&&(s.injectorIndex=r.length,il(c.data,s),il(r,null),il(c.blueprint,null));const g=wr(s,r),w=s.injectorIndex;if(nl(g)){const H=Kr(g),se=Zr(g,r),Te=se[at].data;for(let Ge=0;Ge<8;Ge++)r[w+Ge]=se[H+Ge]|Te[H+Ge]}return r[w+8]=g,w}function il(s,r){s.push(0,0,0,0,0,0,0,0,r)}function ql(s,r){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===r[s.injectorIndex+8]?-1:s.injectorIndex}function wr(s,r){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let a=0,c=null,g=r;for(;null!==g;){if(c=sc(g),null===c)return pr;if(a++,g=g[Yo],-1!==c.injectorIndex)return c.injectorIndex|a<<16}return pr}function ga(s,r,a){!function cd(s,r,a){let c;"string"==typeof a?c=a.charCodeAt(0)||0:a.hasOwnProperty(En)&&(c=a[En]),null==c&&(c=a[En]=ld++);const g=c&Ql;r.data[s+(g>>Xl)]|=1<=0?r&Ql:fd:r}(a);if("function"==typeof w){if(!Fi(r,s,c))return c&de.Host?dd(g,0,c):ud(r,a,c,g);try{let H;if(H=w(c),null!=H||c&de.Optional)return H;j()}finally{ms()}}else if("number"==typeof w){let H=null,se=ql(s,r),Te=pr,Ge=c&de.Host?r[xi][mn]:null;for((-1===se||c&de.SkipSelf)&&(Te=-1===se?wr(s,r):r[se+8],Te!==pr&&nc(c,!1)?(H=r[at],se=Kr(Te),r=Zr(Te,r)):se=-1);-1!==se;){const yt=r[at];if(va(w,se,yt.data)){const At=sl(se,r,a,H,c,Ge);if(At!==As)return At}Te=r[se+8],Te!==pr&&nc(c,r[at].data[se+8]===Ge)&&va(w,se,r)?(H=yt,se=Kr(Te),r=Zr(Te,r)):se=-1}}return g}function sl(s,r,a,c,g,w){const H=r[at],se=H.data[s+8],yt=_a(se,H,a,null==c?Z(se)&&pa:c!=H&&0!=(3&se.type),g&de.Host&&w===se);return null!==yt?Pr(r,H,yt,se):As}function _a(s,r,a,c,g){const w=s.providerIndexes,H=r.data,se=1048575&w,Te=s.directiveStart,yt=w>>20,Zt=g?se+yt:s.directiveEnd;for(let Gt=c?se:se+yt;Gt=Te&&un.type===a)return Gt}if(g){const Gt=H[Te];if(Gt&&_t(Gt)&&Gt.type===a)return Te}return null}function Pr(s,r,a,c){let g=s[a];const w=r.data;if(function Or(s){return s instanceof Sr}(g)){const H=g;H.resolving&&function k(s,r){const a=r?`. Dependency path: ${r.join(" > ")} > ${s}`:"";throw new y(-200,`Circular dependency in DI detected for ${s}${a}`)}(function A(s){return"function"==typeof s?s.name||s.toString():"object"==typeof s&&null!=s&&"function"==typeof s.type?s.type.name||s.type.toString():S(s)}(w[a]));const se=fa(H.canSeeViewProviders);H.resolving=!0;const Ge=H.injectImpl?Me(H.injectImpl):null;Fi(s,c,de.Default);try{g=s[a]=H.factory(void 0,w,s,c),r.firstCreatePass&&a>=c.directiveStart&&function qa(s,r,a){const{ngOnChanges:c,ngOnInit:g,ngDoCheck:w}=r.type.prototype;if(c){const H=Gn(r);(a.preOrderHooks??=[]).push(s,H),(a.preOrderCheckHooks??=[]).push(s,H)}g&&(a.preOrderHooks??=[]).push(0-s,g),w&&((a.preOrderHooks??=[]).push(s,w),(a.preOrderCheckHooks??=[]).push(s,w))}(a,w[a],r)}finally{null!==Ge&&Me(Ge),fa(se),H.resolving=!1,ms()}}return g}function va(s,r,a){return!!(a[r+(s>>Xl)]&1<{const r=s.prototype.constructor,a=r[Mn]||rl(r),c=Object.prototype;let g=Object.getPrototypeOf(s.prototype).constructor;for(;g&&g!==c;){const w=g[Mn]||rl(g);if(w&&w!==a)return w;g=Object.getPrototypeOf(g)}return w=>new w})}function rl(s){return C(s)?()=>{const r=rl(f(s));return r&&r()}:Ao(s)}function sc(s){const r=s[at],a=r.type;return 2===a?r.declTNode:1===a?s[mn]:null}function ye(s){return function ol(s,r){if("class"===r)return s.classes;if("style"===r)return s.styles;const a=s.attrs;if(a){const c=a.length;let g=0;for(;g{const c=function pt(s){return function(...a){if(s){const c=s(...a);for(const g in c)this[g]=c[g]}}}(r);function g(...w){if(this instanceof g)return c.apply(this,w),this;const H=new g(...w);return se.annotation=H,se;function se(Te,Ge,yt){const At=Te.hasOwnProperty(F)?Te[F]:Object.defineProperty(Te,F,{value:[]})[F];for(;At.length<=yt;)At.push(null);return(At[yt]=At[yt]||[]).push(H),Te}}return a&&(g.prototype=Object.create(a.prototype)),g.prototype.ngMetadataName=s,g.annotationCls=g,g})}const Uo=Function;function Mo(s,r){s.forEach(a=>Array.isArray(a)?Mo(a,r):r(a))}function js(s,r,a){r>=s.length?s.push(a):s.splice(r,0,a)}function Ds(s,r){return r>=s.length-1?s.pop():s.splice(r,1)[0]}function as(s,r){const a=[];for(let c=0;c=0?s[1|c]=a:(c=~c,function fr(s,r,a,c){let g=s.length;if(g==r)s.push(a,c);else if(1===g)s.push(c,s[0]),s[0]=a;else{for(g--,s.push(s[g-1],s[g]);g>r;)s[g]=s[g-2],g--;s[r]=a,s[r+1]=c}}(s,c,r,a)),c}function Rn(s,r){const a=$n(s,r);if(a>=0)return s[1|a]}function $n(s,r){return function Ei(s,r,a){let c=0,g=s.length>>a;for(;g!==c;){const w=c+(g-c>>1),H=s[w<r?g=w:c=w+1}return~(g<({token:s})),-1),os=nt(Pt("Optional"),8),Jr=nt(Pt("Self"),2),mr=nt(Pt("SkipSelf"),4);function uc(s){return 128==(128&s.flags)}var pc=function(s){return s[s.Important=1]="Important",s[s.DashCase=2]="DashCase",s}(pc||{});const af=/^>|^->||--!>|)/g,lf="\u200b$1\u200b";const yd=new Map;let cf=0;const zd="__ngContext__";function cs(s,r){io(r)?(s[zd]=r[bo],function uf(s){yd.set(s[bo],s)}(r)):s[zd]=r}let Td;function fc(s,r){return Td(s,r)}function ul(s){const r=s[Rt];return it(r)?r[Rt]:r}function gh(s){return vh(s[Ro])}function _h(s){return vh(s[Kt])}function vh(s){for(;null!==s&&!it(s);)s=s[Kt];return s}function Ma(s,r,a,c,g){if(null!=c){let w,H=!1;it(c)?w=c:io(c)&&(H=!0,c=c[bt]);const se=Li(c);0===s&&null!==a?null==g?xd(r,a,se):Gr(r,a,se,g||null,!0):1===s&&null!==a?Gr(r,a,se,g||null,!0):2===s?function Cc(s,r,a){const c=vc(s,r);c&&function wf(s,r,a,c){s.removeChild(r,a,c)}(s,c,r,a)}(r,se,H):3===s&&r.destroyNode(se),null!=w&&function Af(s,r,a,c,g){const w=a[Si];w!==Li(a)&&Ma(r,s,c,w,g);for(let se=Ci;ser.replace(ah,lf))}(r))}function gc(s,r,a){return s.createElement(r,a)}function Ch(s,r){const a=s[xo],c=a.indexOf(r);Ha(r),a.splice(c,1)}function _c(s,r){if(s.length<=Ci)return;const a=Ci+r,c=s[a];if(c){const g=c[wo];null!==g&&g!==s&&Ch(g,c),r>0&&(s[a-1][Kt]=c[Kt]);const w=Ds(s,Ci+r);!function Tf(s,r){pl(s,r,r[Nn],2,null,null),r[bt]=null,r[mn]=null}(c[at],c);const H=w[Hi];null!==H&&H.detachView(w[at]),c[Rt]=null,c[Kt]=null,c[Je]&=-129}return c}function Ed(s,r){if(!(256&r[Je])){const a=r[Nn];r[zo]&&pn(r[zo]),r[Io]&&pn(r[Io]),a.destroyNode&&pl(s,r,a,3,null,null),function Df(s){let r=s[Ro];if(!r)return Dd(s[at],s);for(;r;){let a=null;if(io(r))a=r[Ro];else{const c=r[Ci];c&&(a=c)}if(!a){for(;r&&!r[Kt]&&r!==s;)io(r)&&Dd(r[at],r),r=r[Rt];null===r&&(r=s),io(r)&&Dd(r[at],r),a=r&&r[Kt]}r=a}}(r)}}function Dd(s,r){if(!(256&r[Je])){r[Je]&=-129,r[Je]|=256,function Of(s,r){let a;if(null!=s&&null!=(a=s.destroyHooks))for(let c=0;c=0?c[H]():c[-H].unsubscribe(),w+=2}else a[w].call(c[a[w+1]]);null!==c&&(r[Kn]=null);const g=r[Po];if(null!==g){r[Po]=null;for(let w=0;w-1){const{encapsulation:w}=s.data[c.directiveStart+g];if(w===he.None||w===he.Emulated)return null}return Ko(c,a)}}(s,r.parent,a)}function Gr(s,r,a,c,g){s.insertBefore(r,a,c,g)}function xd(s,r,a){s.appendChild(r,a)}function Th(s,r,a,c,g){null!==c?Gr(s,r,a,c,g):xd(s,r,a)}function vc(s,r){return s.parentNode(r)}function Mh(s,r,a){return Dh(s,r,a)}let Sd,zc,Id,Tc,Dh=function Eh(s,r,a){return 40&s.type?Ko(s,a):null};function yc(s,r,a,c){const g=bd(s,c,r),w=r[Nn],se=Mh(c.parent||r[mn],c,r);if(null!=g)if(Array.isArray(a))for(let Te=0;Tes,createScript:s=>s,createScriptURL:s=>s})}catch{}return zc}()?.createHTML(s)||s}function Bf(s){Id=s}function Da(){if(void 0!==Id)return Id;if(typeof document<"u")return document;throw new y(210,!1)}function Ad(){if(void 0===Tc&&(Tc=null,ht.trustedTypes))try{Tc=ht.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Tc}function Ih(s){return Ad()?.createHTML(s)||s}function Ah(s){return Ad()?.createScriptURL(s)||s}class Ar{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${D})`}}class Hf extends Ar{getTypeName(){return"HTML"}}class Vf extends Ar{getTypeName(){return"Style"}}class Nh extends Ar{getTypeName(){return"Script"}}class Uf extends Ar{getTypeName(){return"URL"}}class Yf extends Ar{getTypeName(){return"ResourceURL"}}function gr(s){return s instanceof Ar?s.changingThisBreaksApplicationSecurity:s}function ba(s,r){const a=function $f(s){return s instanceof Ar&&s.getTypeName()||null}(s);if(null!=a&&a!==r){if("ResourceURL"===a&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${a} (see ${D})`)}return a===r}function Wf(s){return new Hf(s)}function jf(s){return new Vf(s)}function Kf(s){return new Nh(s)}function Zf(s){return new Uf(s)}function Jf(s){return new Yf(s)}class Gf{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const a=(new window.DOMParser).parseFromString(Ea(r),"text/html").body;return null===a?this.inertDocumentHelper.getInertBodyElement(r):(a.removeChild(a.firstChild),a)}catch{return null}}}class Qf{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const a=this.inertDocument.createElement("template");return a.innerHTML=Ea(r),a}}const qf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fl(s){return(s=String(s)).match(qf)?s:"unsafe:"+s}function _r(s){const r={};for(const a of s.split(","))r[a]=!0;return r}function xa(...s){const r={};for(const a of s)for(const c in a)a.hasOwnProperty(c)&&(r[c]=!0);return r}const Rh=_r("area,br,col,hr,img,wbr"),kd=_r("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Lh=_r("rp,rt"),Rd=xa(Rh,xa(kd,_r("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),xa(Lh,_r("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),xa(Lh,kd)),Ld=_r("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fh=xa(Ld,_r("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),_r("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),e0=_r("script,style,template");class t0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let a=r.firstChild,c=!0;for(;a;)if(a.nodeType===Node.ELEMENT_NODE?c=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,c&&a.firstChild)a=a.firstChild;else for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let g=this.checkClobberedElement(a,a.nextSibling);if(g){a=g;break}a=this.checkClobberedElement(a,a.parentNode)}return this.buf.join("")}startElement(r){const a=r.nodeName.toLowerCase();if(!Rd.hasOwnProperty(a))return this.sanitizedSomething=!0,!e0.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);const c=r.attributes;for(let g=0;g"),!0}endElement(r){const a=r.nodeName.toLowerCase();Rd.hasOwnProperty(a)&&!Rh.hasOwnProperty(a)&&(this.buf.push(""))}chars(r){this.buf.push(Bh(r))}checkClobberedElement(r,a){if(a&&(r.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return a}}const n0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o0=/([^\#-~ |!])/g;function Bh(s){return s.replace(/&/g,"&").replace(n0,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(o0,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let Mc;function Hh(s,r){let a=null;try{Mc=Mc||function kh(s){const r=new Qf(s);return function Xf(){try{return!!(new window.DOMParser).parseFromString(Ea(""),"text/html")}catch{return!1}}()?new Gf(r):r}(s);let c=r?String(r):"";a=Mc.getInertBodyElement(c);let g=5,w=c;do{if(0===g)throw new Error("Failed to sanitize html because the input is unstable");g--,c=w,w=a.innerHTML,a=Mc.getInertBodyElement(c)}while(c!==w);return Ea((new t0).sanitizeChildren(Fd(a)||a))}finally{if(a){const c=Fd(a)||a;for(;c.firstChild;)c.removeChild(c.firstChild)}}}function Fd(s){return"content"in s&&function s0(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var Qr=function(s){return s[s.NONE=0]="NONE",s[s.HTML=1]="HTML",s[s.STYLE=2]="STYLE",s[s.SCRIPT=3]="SCRIPT",s[s.URL=4]="URL",s[s.RESOURCE_URL=5]="RESOURCE_URL",s}(Qr||{});function Vh(s){const r=ml();return r?Ih(r.sanitize(Qr.HTML,s)||""):ba(s,"HTML")?Ih(gr(s)):Hh(Da(),S(s))}function Uh(s){const r=ml();return r?r.sanitize(Qr.STYLE,s)||"":ba(s,"Style")?gr(s):S(s)}function Bd(s){const r=ml();return r?r.sanitize(Qr.URL,s)||"":ba(s,"URL")?gr(s):fl(S(s))}function Hd(s){const r=ml();if(r)return Ah(r.sanitize(Qr.RESOURCE_URL,s)||"");if(ba(s,"ResourceURL"))return Ah(gr(s));throw new y(904,!1)}function Yh(s,r,a){return function c0(s,r){return"src"===r&&("embed"===s||"frame"===s||"iframe"===s||"media"===s||"script"===s)||"href"===r&&("base"===s||"link"===s)?Hd:Bd}(r,a)(s)}function ml(){const s=dn();return s&&s[so].sanitizer}class Bi{constructor(r,a){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof a?this.__NG_ELEMENT_ID__=a:void 0!==a&&(this.\u0275prov=oe({token:this,providedIn:a.providedIn||"root",factory:a.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const gl=new Bi("ENVIRONMENT_INITIALIZER"),$h=new Bi("INJECTOR",-1),Wh=new Bi("INJECTOR_DEF_TYPES");class Vd{get(r,a=St){if(a===St){const c=new Error(`NullInjectorError: No provider for ${v(r)}!`);throw c.name="NullInjectorError",c}return a}}function Ud(s){return{\u0275providers:s}}function d0(...s){return{\u0275providers:jh(0,s),\u0275fromNgModule:!0}}function jh(s,...r){const a=[],c=new Set;let g;const w=H=>{a.push(H)};return Mo(r,H=>{const se=H;Ec(se,w,[],c)&&(g||=[],g.push(se))}),void 0!==g&&Kh(g,w),a}function Kh(s,r){for(let a=0;a{r(w,c)})}}function Ec(s,r,a,c){if(!(s=f(s)))return!1;let g=null,w=xt(s);const H=!w&&Mt(s);if(w||H){if(H&&!H.standalone)return!1;g=s}else{const Te=s.ngModule;if(w=xt(Te),!w)return!1;g=Te}const se=c.has(g);if(H){if(se)return!1;if(c.add(g),H.dependencies){const Te="function"==typeof H.dependencies?H.dependencies():H.dependencies;for(const Ge of Te)Ec(Ge,r,a,c)}}else{if(!w)return!1;{if(null!=w.imports&&!se){let Ge;c.add(g);try{Mo(w.imports,yt=>{Ec(yt,r,a,c)&&(Ge||=[],Ge.push(yt))})}finally{}void 0!==Ge&&Kh(Ge,r)}if(!se){const Ge=Ao(g)||(()=>new g);r({provide:g,useFactory:Ge,deps:Dt},g),r({provide:Wh,useValue:g,multi:!0},g),r({provide:gl,useValue:()=>be(g),multi:!0},g)}const Te=w.providers;if(null!=Te&&!se){const Ge=s;Yd(Te,yt=>{r(yt,Ge)})}}}return g!==s&&void 0!==s.providers}function Yd(s,r){for(let a of s)T(a)&&(a=a.\u0275providers),Array.isArray(a)?Yd(a,r):r(a)}const u0=M({provide:String,useValue:M});function Dc(s){return null!==s&&"object"==typeof s&&u0 in s}function Xr(s){return"function"==typeof s}const $d=new Bi("Set Injector scope."),bc={},h0={};let Wd;function xc(){return void 0===Wd&&(Wd=new Vd),Wd}class rr{}class Sc extends rr{get destroyed(){return this._destroyed}constructor(r,a,c,g){super(),this.parent=a,this.source=c,this.scopes=g,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Kd(r,H=>this.processProvider(H)),this.records.set($h,Sa(void 0,this)),g.has("environment")&&this.records.set(rr,Sa(void 0,this));const w=this.records.get($d);null!=w&&"string"==typeof w.value&&this.scopes.add(w.value),this.injectorDefTypes=new Set(this.get(Wh.multi,Dt,de.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const a of this._ngOnDestroyHooks)a.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const a of r)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const a=wt(this),c=Me(void 0);try{return r()}finally{wt(a),Me(c)}}get(r,a=St,c=de.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Dn))return r[Dn](this);c=Ze(c);const w=wt(this),H=Me(void 0);try{if(!(c&de.SkipSelf)){let Te=this.records.get(r);if(void 0===Te){const Ge=function g0(s){return"function"==typeof s||"object"==typeof s&&s instanceof Bi}(r)&&He(r);Te=Ge&&this.injectableDefInScope(Ge)?Sa(jd(r),bc):null,this.records.set(r,Te)}if(null!=Te)return this.hydrate(r,Te)}return(c&de.Self?xc():this.parent).get(r,a=c&de.Optional&&a===St?null:a)}catch(se){if("NullInjectorError"===se.name){if((se[Fe]=se[Fe]||[]).unshift(v(r)),w)throw se;return function N(s,r,a,c){const g=s[Fe];throw r[je]&&g.unshift(r[je]),s.message=function O(s,r,a,c=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let g=v(r);if(Array.isArray(r))g=r.map(v).join(" -> ");else if("object"==typeof r){let w=[];for(let H in r)if(r.hasOwnProperty(H)){let se=r[H];w.push(H+":"+("string"==typeof se?JSON.stringify(se):v(se)))}g=`{${w.join(", ")}}`}return`${a}${c?"("+c+")":""}[${g}]: ${s.replace(Xe,"\n ")}`}("\n"+s.message,g,a,c),s.ngTokenPath=g,s[Fe]=null,s}(se,r,"R3InjectorError",this.source)}throw se}finally{Me(H),wt(w)}}resolveInjectorInitializers(){const r=wt(this),a=Me(void 0);try{const g=this.get(gl.multi,Dt,de.Self);for(const w of g)w()}finally{wt(r),Me(a)}}toString(){const r=[],a=this.records;for(const c of a.keys())r.push(v(c));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(r){let a=Xr(r=f(r))?r:f(r&&r.provide);const c=function p0(s){return Dc(s)?Sa(void 0,s.useValue):Sa(Xh(s),bc)}(r);if(Xr(r)||!0!==r.multi)this.records.get(a);else{let g=this.records.get(a);g||(g=Sa(void 0,bc,!0),g.factory=()=>ve(g.multi),this.records.set(a,g)),a=r,g.multi.push(r)}this.records.set(a,c)}hydrate(r,a){return a.value===bc&&(a.value=h0,a.value=a.factory()),"object"==typeof a.value&&a.value&&function m0(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}injectableDefInScope(r){if(!r.providedIn)return!1;const a=f(r.providedIn);return"string"==typeof a?"any"===a||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(r){const a=this._onDestroyHooks.indexOf(r);-1!==a&&this._onDestroyHooks.splice(a,1)}}function jd(s){const r=He(s),a=null!==r?r.factory:Ao(s);if(null!==a)return a;if(s instanceof Bi)throw new y(204,!1);if(s instanceof Function)return function Qh(s){const r=s.length;if(r>0)throw as(r,"?"),new y(204,!1);const a=function Pe(s){return s&&(s[$e]||s[mt])||null}(s);return null!==a?()=>a.factory(s):()=>new s}(s);throw new y(204,!1)}function Xh(s,r,a){let c;if(Xr(s)){const g=f(s);return Ao(g)||jd(g)}if(Dc(s))c=()=>f(s.useValue);else if(function Jh(s){return!(!s||!s.useFactory)}(s))c=()=>s.useFactory(...ve(s.deps||[]));else if(function Zh(s){return!(!s||!s.useExisting)}(s))c=()=>be(f(s.useExisting));else{const g=f(s&&(s.useClass||s.provide));if(!function f0(s){return!!s.deps}(s))return Ao(g)||jd(g);c=()=>new g(...ve(s.deps))}return c}function Sa(s,r,a=!1){return{factory:s,value:r,multi:a?[]:void 0}}function Kd(s,r){for(const a of s)Array.isArray(a)?Kd(a,r):a&&T(a)?Kd(a.\u0275providers,r):r(a)}const Zd=new Bi("AppId",{providedIn:"root",factory:()=>_0}),_0="ng",qh=new Bi("Platform Initializer"),Jd=new Bi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),v0=new Bi("AnimationModuleType"),y0=new Bi("CSP nonce",{providedIn:"root",factory:()=>Da().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let e1=(s,r,a)=>null;function nu(s,r,a=!1){return e1(s,r,a)}class O0{}class n1{}class s1{resolveComponentFactory(r){throw function w0(s){const r=Error(`No component factory found for ${v(s)}.`);return r.ngComponent=s,r}(r)}}let yl=(()=>{class s{static#e=this.NULL=new s1}return s})();function I0(){return wa(vo(),dn())}function wa(s,r){return new Cl(Ko(s,r))}let Cl=(()=>{class s{constructor(a){this.nativeElement=a}static#e=this.__NG_ELEMENT_ID__=I0}return s})();function A0(s){return s instanceof Cl?s.nativeElement:s}class r1{}let N0=(()=>{class s{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function k0(){const s=dn(),a=Zo(vo().index,s);return(io(a)?a:s)[Nn]}()}return s})(),R0=(()=>{class s{static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:()=>null})}return s})();class a1{constructor(r){this.full=r,this.major=r.split(".")[0],this.minor=r.split(".")[1],this.patch=r.split(".").slice(2).join(".")}}const l1=new a1("16.2.10"),ru={};function zl(s){if(!B()&&!function We(){return Ye}())throw new y(-203,!1)}function p1(s,r=null,a=null,c){const g=f1(s,r,a,c);return g.resolveInjectorInitializers(),g}function f1(s,r=null,a=null,c,g=new Set){const w=[a||Dt,d0(s)];return c=c||("object"==typeof s?void 0:v(s)),new Sc(w,r||xc(),c||null,g)}let Xs=(()=>{class s{static#e=this.THROW_IF_NOT_FOUND=St;static#t=this.NULL=new Vd;static create(a,c){if(Array.isArray(a))return p1({name:""},c,a,"");{const g=a.name??"";return p1({name:g},a.parent,a.providers,g)}}static#n=this.\u0275prov=oe({token:s,providedIn:"any",factory:()=>be($h)});static#i=this.__NG_ELEMENT_ID__=-1}return s})();function au(s){return s.ngOriginalError}class Nr{constructor(){this._console=console}handleError(r){const a=this._findOriginalError(r);this._console.error("ERROR",r),a&&this._console.error("ORIGINAL ERROR",a)}_findOriginalError(r){let a=r&&au(r);for(;a&&au(a);)a=au(a);return a||null}}let Tl=(()=>{class s{static#e=this.__NG_ELEMENT_ID__=Y0;static#t=this.__NG_ENV_ID__=a=>a}return s})();class U0 extends Tl{constructor(r){super(),this._lView=r}onDestroy(r){return Ua(this._lView,r),()=>function Ya(s,r){if(null===s[Po])return;const a=s[Po].indexOf(r);-1!==a&&s[Po].splice(a,1)}(this._lView,r)}}function Y0(){return new U0(dn())}function lu(s){return r=>{setTimeout(s,void 0,r)}}const ar=class $0 extends e.x{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,a,c){let g=r,w=a||(()=>null),H=c;if(r&&"object"==typeof r){const Te=r;g=Te.next?.bind(Te),w=Te.error?.bind(Te),H=Te.complete?.bind(Te)}this.__isAsync&&(w=lu(w),g&&(g=lu(g)),H&&(H=lu(H)));const se=super.subscribe({next:g,error:w,complete:H});return r instanceof n.w0&&r.add(se),se}};function g1(...s){}class Go{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:c=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ar(!1),this.onMicrotaskEmpty=new ar(!1),this.onStable=new ar(!1),this.onError=new ar(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();const g=this;g._nesting=0,g._outer=g._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(g._inner=g._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(g._inner=g._inner.fork(Zone.longStackTraceZoneSpec)),g.shouldCoalesceEventChangeDetection=!c&&a,g.shouldCoalesceRunChangeDetection=c,g.lastRequestAnimationFrameId=-1,g.nativeRequestAnimationFrame=function W0(){const s="function"==typeof ht.requestAnimationFrame;let r=ht[s?"requestAnimationFrame":"setTimeout"],a=ht[s?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&a){const c=r[Zone.__symbol__("OriginalDelegate")];c&&(r=c);const g=a[Zone.__symbol__("OriginalDelegate")];g&&(a=g)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:a}}().nativeRequestAnimationFrame,function K0(s){const r=()=>{!function j0(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(ht,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,cu(s),s.isCheckStableRunning=!0,kc(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),cu(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(a,c,g,w,H,se)=>{if(function J0(s){return!(!Array.isArray(s)||1!==s.length)&&!0===s[0].data?.__ignore_ng_zone__}(se))return a.invokeTask(g,w,H,se);try{return v1(s),a.invokeTask(g,w,H,se)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||s.shouldCoalesceRunChangeDetection)&&r(),y1(s)}},onInvoke:(a,c,g,w,H,se,Te)=>{try{return v1(s),a.invoke(g,w,H,se,Te)}finally{s.shouldCoalesceRunChangeDetection&&r(),y1(s)}},onHasTask:(a,c,g,w)=>{a.hasTask(g,w),c===g&&("microTask"==w.change?(s._hasPendingMicrotasks=w.microTask,cu(s),kc(s)):"macroTask"==w.change&&(s.hasPendingMacrotasks=w.macroTask))},onHandleError:(a,c,g,w)=>(a.handleError(g,w),s.runOutsideAngular(()=>s.onError.emit(w)),!1)})}(g)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Go.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(Go.isInAngularZone())throw new y(909,!1)}run(r,a,c){return this._inner.run(r,a,c)}runTask(r,a,c,g){const w=this._inner,H=w.scheduleEventTask("NgZoneEvent: "+g,r,_1,g1,g1);try{return w.runTask(H,a,c)}finally{w.cancelTask(H)}}runGuarded(r,a,c){return this._inner.runGuarded(r,a,c)}runOutsideAngular(r){return this._outer.run(r)}}const _1={};function kc(s){if(0==s._nesting&&!s.hasPendingMicrotasks&&!s.isStable)try{s._nesting++,s.onMicrotaskEmpty.emit(null)}finally{if(s._nesting--,!s.hasPendingMicrotasks)try{s.runOutsideAngular(()=>s.onStable.emit(null))}finally{s.isStable=!0}}}function cu(s){s.hasPendingMicrotasks=!!(s._hasPendingMicrotasks||(s.shouldCoalesceEventChangeDetection||s.shouldCoalesceRunChangeDetection)&&-1!==s.lastRequestAnimationFrameId)}function v1(s){s._nesting++,s.isStable&&(s.isStable=!1,s.onUnstable.emit(null))}function y1(s){s._nesting--,kc(s)}class Z0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ar,this.onMicrotaskEmpty=new ar,this.onStable=new ar,this.onError=new ar}run(r,a,c){return r.apply(a,c)}runGuarded(r,a,c){return r.apply(a,c)}runOutsideAngular(r){return r()}runTask(r,a,c,g){return r.apply(a,c)}}const C1=new Bi("",{providedIn:"root",factory:z1});function z1(){const s=Ke(Go);let r=!0;const a=new t.y(g=>{r=s.isStable&&!s.hasPendingMacrotasks&&!s.hasPendingMicrotasks,s.runOutsideAngular(()=>{g.next(r),g.complete()})}),c=new t.y(g=>{let w;s.runOutsideAngular(()=>{w=s.onStable.subscribe(()=>{Go.assertNotInAngularZone(),queueMicrotask(()=>{!r&&!s.hasPendingMacrotasks&&!s.hasPendingMicrotasks&&(r=!0,g.next(!0))})})});const H=s.onUnstable.subscribe(()=>{Go.assertInAngularZone(),r&&(r=!1,s.runOutsideAngular(()=>{g.next(!1)}))});return()=>{w.unsubscribe(),H.unsubscribe()}});return(0,i.T)(a,c.pipe((0,E.B)()))}function T1(s){return s.ownerDocument.defaultView}function M1(s){return s.ownerDocument}function kr(s){return s instanceof Function?s():s}let D1=(()=>{class s{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:()=>new s})}return s})();function Rc(s){for(;s;){s[Je]|=64;const r=ul(s);if(jt(s)&&!r)return s;s=r}return null}const q0=new Bi("",{providedIn:"root",factory:()=>!1});let uu=null;function o2(s,r){return s[r]??a2()}function s2(s,r){const a=a2();a.producerNode?.length&&(s[r]=uu,a.lView=s,uu=r2())}const q3={...Zs,consumerIsAlwaysLive:!0,consumerMarkedDirty:s=>{Rc(s.lView)},lView:null};function r2(){return Object.create(q3)}function a2(){return uu??=r2(),uu}const ci={};function l2(s){c2(gi(),dn(),Jo()+s,!1)}function c2(s,r,a,c){if(!c)if(3==(3&r[Je])){const w=s.preOrderCheckHooks;null!==w&&da(r,w,a)}else{const w=s.preOrderHooks;null!==w&&jr(r,w,0,a)}Ws(a)}function El(s,r=de.Default){const a=dn();return null===a?be(s,r):ec(vo(),a,f(s),r)}function d2(){throw new Error("invalid")}function hu(s,r,a,c,g,w,H,se,Te,Ge,yt){const At=r.blueprint.slice();return At[bt]=g,At[Je]=140|c,(null!==Ge||s&&2048&s[Je])&&(At[Je]|=2048),ao(At),At[Rt]=At[Yo]=s,At[kn]=a,At[so]=H||s&&s[so],At[Nn]=se||s&&s[Nn],At[Ai]=Te||s&&s[Ai]||null,At[mn]=w,At[bo]=function df(){return cf++}(),At[po]=yt,At[qo]=Ge,At[xi]=2==r.type?s[xi]:At,At}function Dl(s,r,a,c,g){let w=s.data[r];if(null===w)w=function b1(s,r,a,c,g){const w=Yr(),H=br(),Te=s.data[r]=function a6(s,r,a,c,g,w){let H=r?r.injectorIndex:-1,se=0;return Ts()&&(se|=128),{type:a,index:c,insertBeforeIndex:null,injectorIndex:H,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:se,providerIndexes:0,value:g,attrs:w,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:r,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,H?w:w&&w.parent,a,r,c,g);return null===s.firstChild&&(s.firstChild=Te),null!==w&&(H?null==w.child&&null!==Te.parent&&(w.child=Te):null===w.next&&(w.next=Te,Te.prev=w)),Te}(s,r,a,c,g),function ie(){return Jn.lFrame.inI18n}()&&(w.flags|=32);else if(64&w.type){w.type=a,w.value=c,w.attrs=g;const H=function nr(){const s=Jn.lFrame,r=s.currentTNode;return s.isParent?r:r.parent}();w.injectorIndex=null===H?-1:H.injectorIndex}return ns(w,!0),w}function Lc(s,r,a,c){if(0===a)return-1;const g=r.length;for(let w=0;wXn&&c2(s,r,Xn,!1),_o(se?2:0,g);const Ge=se?w:null,yt=Ut(Ge);try{null!==Ge&&(Ge.dirty=!1),a(c,g)}finally{ys(Ge,yt)}}finally{se&&null===r[zo]&&s2(r,zo),Ws(H),_o(se?3:1,g)}}function x1(s,r,a){if(Qt(r)){const c=ro(null);try{const w=r.directiveEnd;for(let H=r.directiveStart;Hnull;function f2(s,r,a,c){for(let g in s)if(s.hasOwnProperty(g)){a=null===a?{}:a;const w=s[g];null===c?m2(a,r,g,w):c.hasOwnProperty(g)&&m2(a,r,c[g],w)}return a}function m2(s,r,a,c){s.hasOwnProperty(a)?s[a].push(r,c):s[a]=[r,c]}function Ks(s,r,a,c,g,w,H,se){const Te=Ko(r,a);let yt,Ge=r.inputs;!se&&null!=Ge&&(yt=Ge[c])?(k1(s,a,yt,c,g),Z(r)&&function d6(s,r){const a=Zo(r,s);16&a[Je]||(a[Je]|=64)}(a,r.index)):3&r.type&&(c=function c6(s){return"class"===s?"className":"for"===s?"htmlFor":"formaction"===s?"formAction":"innerHtml"===s?"innerHTML":"readonly"===s?"readOnly":"tabindex"===s?"tabIndex":s}(c),g=null!=H?H(g,r.value||"",c):g,w.setProperty(Te,c,g))}function P1(s,r,a,c){if(ca()){const g=null===c?null:{"":-1},w=function g6(s,r){const a=s.directiveRegistry;let c=null,g=null;if(a)for(let w=0;w0;){const a=s[--r];if("number"==typeof a&&a<0)return a}return 0})(H)!=se&&H.push(se),H.push(a,c,w)}}(s,r,c,Lc(s,a,g.hostVars,ci),g)}function vr(s,r,a,c,g,w){const H=Ko(s,r);!function A1(s,r,a,c,g,w,H){if(null==w)s.removeAttribute(r,g,a);else{const se=null==H?S(w):H(w,c||"",g);s.setAttribute(r,g,se,a)}}(r[Nn],H,w,s.value,a,c,g)}function T6(s,r,a,c,g,w){const H=w[r];if(null!==H)for(let se=0;se{class s{constructor(){this.all=new Set,this.queue=new Map}create(a,c,g){const w=typeof Zone>"u"?null:Zone.current,H=function sn(s,r,a){const c=Object.create(An);a&&(c.consumerAllowSignalWrites=!0),c.fn=s,c.schedule=r;const g=H=>{c.cleanupFn=H};return c.ref={notify:()=>zr(c),run:()=>{if(c.dirty=!1,c.hasRun&&!wn(c))return;c.hasRun=!0;const H=Ut(c);try{c.cleanupFn(),c.cleanupFn=an,c.fn(g)}finally{ys(c,H)}},cleanup:()=>c.cleanupFn()},c.ref}(a,Ge=>{this.all.has(Ge)&&this.queue.set(Ge,w)},g);let se;this.all.add(H),H.notify();const Te=()=>{H.cleanup(),se?.(),this.all.delete(H),this.queue.delete(H)};return se=c?.onDestroy(Te),{destroy:Te}}flush(){if(0!==this.queue.size)for(const[a,c]of this.queue)this.queue.delete(a),c?c.run(()=>a.run()):a.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:()=>new s})}return s})();function fu(s,r,a){let c=a?s.styles:null,g=a?s.classes:null,w=0;if(null!==r)for(let H=0;H0){S2(s,1);const g=a.components;null!==g&&w2(s,g,1)}}function w2(s,r,a){for(let c=0;c-1&&(_c(r,c),Ds(a,c))}this._attachedToViewContainer=!1}Ed(this._lView[at],this._lView)}onDestroy(r){Ua(this._lView,r)}markForCheck(){Rc(this._cdRefInjectingView||this._lView)}detach(){this._lView[Je]&=-129}reattach(){this._lView[Je]|=128}detectChanges(){mu(this._lView[at],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ef(s,r){pl(s,r,r[Nn],2,null,null)}(this._lView[at],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=r}}class P6 extends Bc{constructor(r){super(r),this._view=r}detectChanges(){const r=this._view;mu(r[at],r,r[kn],!1)}checkNoChanges(){}get context(){return null}}class P2 extends yl{constructor(r){super(),this.ngModule=r}resolveComponentFactory(r){const a=Mt(r);return new Hc(a,this.ngModule)}}function I2(s){const r=[];for(let a in s)s.hasOwnProperty(a)&&r.push({propName:s[a],templateName:a});return r}class A6{constructor(r,a){this.injector=r,this.parentInjector=a}get(r,a,c){c=Ze(c);const g=this.injector.get(r,ru,c);return g!==ru||a===ru?g:this.parentInjector.get(r,a,c)}}class Hc extends n1{get inputs(){const r=this.componentDef,a=r.inputTransforms,c=I2(r.inputs);if(null!==a)for(const g of c)a.hasOwnProperty(g.propName)&&(g.transform=a[g.propName]);return c}get outputs(){return I2(this.componentDef.outputs)}constructor(r,a){super(),this.componentDef=r,this.ngModule=a,this.componentType=r.type,this.selector=function Eo(s){return s.map(no).join(",")}(r.selectors),this.ngContentSelectors=r.ngContentSelectors?r.ngContentSelectors:[],this.isBoundToModule=!!a}create(r,a,c,g){let w=(g=g||this.ngModule)instanceof rr?g:g?.injector;w&&null!==this.componentDef.getStandaloneInjector&&(w=this.componentDef.getStandaloneInjector(w)||w);const H=w?new A6(r,w):r,se=H.get(r1,null);if(null===se)throw new y(407,!1);const At={rendererFactory:se,sanitizer:H.get(R0,null),effectManager:H.get(D2,null),afterRenderEventManager:H.get(D1,null)},Zt=se.createRenderer(null,this.componentDef),Gt=this.componentDef.selectors[0][0]||"div",un=c?function n6(s,r,a,c){const w=c.get(q0,!1)||a===he.ShadowDom,H=s.selectRootElement(r,w);return function i6(s){p2(s)}(H),H}(Zt,c,this.componentDef.encapsulation,H):gc(Zt,Gt,function I6(s){const r=s.toLowerCase();return"svg"===r?pi:"math"===r?"math":null}(Gt)),Wn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let fn=null;null!==un&&(fn=nu(un,H,!0));const si=w1(0,null,null,1,0,null,null,null,null,null,null),yi=hu(null,si,null,Wn,null,null,At,Zt,H,null,fn);let Qi,Ls;vi(yi);try{const Lr=this.componentDef;let Ul,Wp=null;Lr.findHostDirectiveDefs?(Ul=[],Wp=new Map,Lr.findHostDirectiveDefs(Lr,Ul,Wp),Ul.push(Lr)):Ul=[Lr];const F7=function k6(s,r){const a=s[at],c=Xn;return s[c]=r,Dl(a,c,2,"#host",null)}(yi,un),B7=function R6(s,r,a,c,g,w,H){const se=g[at];!function L6(s,r,a,c){for(const g of s)r.mergedAttrs=Hn(r.mergedAttrs,g.hostAttrs);null!==r.mergedAttrs&&(fu(r,r.mergedAttrs,!0),null!==a&&Ph(c,a,r))}(c,s,r,H);let Te=null;null!==r&&(Te=nu(r,g[Ai]));const Ge=w.rendererFactory.createRenderer(r,a);let yt=16;a.signals?yt=4096:a.onPush&&(yt=64);const At=hu(g,h2(a),null,yt,g[s.index],s,w,Ge,null,null,Te);return se.firstCreatePass&&I1(se,s,c.length-1),pu(g,At),g[s.index]=At}(F7,un,Lr,Ul,yi,At,Zt);Ls=Vr(si,Xn),un&&function B6(s,r,a,c){if(c)Ln(s,a,["ng-version",l1.full]);else{const{attrs:g,classes:w}=function wi(s){const r=[],a=[];let c=1,g=2;for(;c0&&wh(s,a,w.join(" "))}}(Zt,Lr,un,c),void 0!==a&&function H6(s,r,a){const c=s.projection=[];for(let g=0;g=0;c--){const g=s[c];g.hostVars=r+=g.hostVars,g.hostAttrs=Hn(g.hostAttrs,a=Hn(a,g.hostAttrs))}}(c)}function gu(s){return s===Ce?{}:s===Dt?[]:s}function Y6(s,r){const a=s.viewQuery;s.viewQuery=a?(c,g)=>{r(c,g),a(c,g)}:r}function $6(s,r){const a=s.contentQueries;s.contentQueries=a?(c,g,w)=>{r(c,g,w),a(c,g,w)}:r}function W6(s,r){const a=s.hostBindings;s.hostBindings=a?(c,g)=>{r(c,g),a(c,g)}:r}function L2(s){const r=s.inputConfig,a={};for(const c in r)if(r.hasOwnProperty(c)){const g=r[c];Array.isArray(g)&&g[2]&&(a[c]=g[2])}s.inputTransforms=a}function _u(s){return!!F1(s)&&(Array.isArray(s)||!(s instanceof Map)&&Symbol.iterator in s)}function F1(s){return null!==s&&("function"==typeof s||"object"==typeof s)}function yr(s,r,a){return s[r]=a}function Vc(s,r){return s[r]}function _s(s,r,a){return!Object.is(s[r],a)&&(s[r]=a,!0)}function Ia(s,r,a,c){const g=_s(s,r,a);return _s(s,r+1,c)||g}function vu(s,r,a,c,g){const w=Ia(s,r,a,c);return _s(s,r+2,g)||w}function qs(s,r,a,c,g,w){const H=Ia(s,r,a,c);return Ia(s,r+2,g,w)||H}function B1(s,r,a,c){const g=dn();return _s(g,ue(),r)&&(gi(),vr(lo(),g,s,r,a,c)),B1}function xl(s,r,a,c){return _s(s,ue(),a)?r+S(a)+c:ci}function Sl(s,r,a,c,g,w){const se=Ia(s,$s(),a,g);return xe(2),se?r+S(a)+c+S(g)+w:ci}function G2(s,r,a,c,g,w,H,se){const Te=dn(),Ge=gi(),yt=s+Xn,At=Ge.firstCreatePass?function _8(s,r,a,c,g,w,H,se,Te){const Ge=r.consts,yt=Dl(r,s,4,H||null,Ps(Ge,se));P1(r,a,yt,Ps(Ge,Te)),Wr(r,yt);const At=yt.tView=w1(2,yt,c,g,w,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ge,null);return null!==r.queries&&(r.queries.template(r,yt),At.queries=r.queries.embeddedTView(yt)),yt}(yt,Ge,Te,r,a,c,g,w,H):Ge.data[yt];ns(At,!1);const Zt=Q2(Ge,Te,At,s);$r()&&yc(Ge,Te,Zt,At),cs(Zt,Te),pu(Te,Te[yt]=y2(Zt,Te,Zt,At)),dt(At)&&S1(Ge,Te,At),null!=H&&O1(Te,At,se)}let Q2=function X2(s,r,a,c){return or(!0),r[Nn].createComment("")};function q2(s){return hr(function ja(){return Jn.lFrame.contextLView}(),Xn+s)}function W1(s,r,a){const c=dn();return _s(c,ue(),r)&&Ks(gi(),lo(),c,s,r,c[Nn],a,!1),W1}function j1(s,r,a,c,g){const H=g?"class":"style";k1(s,a,r.inputs[H],H,c)}function Tu(s,r,a,c){const g=dn(),w=gi(),H=Xn+s,se=g[Nn],Te=w.firstCreatePass?function z8(s,r,a,c,g,w){const H=r.consts,Te=Dl(r,s,2,c,Ps(H,g));return P1(r,a,Te,Ps(H,w)),null!==Te.attrs&&fu(Te,Te.attrs,!1),null!==Te.mergedAttrs&&fu(Te,Te.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,Te),Te}(H,w,g,r,a,c):w.data[H],Ge=em(w,g,Te,se,r,s);g[H]=Ge;const yt=dt(Te);return ns(Te,!0),Ph(se,Ge,Te),32!=(32&Te.flags)&&$r()&&yc(w,g,Ge,Te),0===function aa(){return Jn.lFrame.elementDepthCount}()&&cs(Ge,g),function Wl(){Jn.lFrame.elementDepthCount++}(),yt&&(S1(w,g,Te),x1(w,Te,g)),null!==c&&O1(g,Te),Tu}function Mu(){let s=vo();br()?xr():(s=s.parent,ns(s,!1));const r=s;(function $a(s){return Jn.skipHydrationRootTNode===s})(r)&&function Er(){Jn.skipHydrationRootTNode=null}(),function la(){Jn.lFrame.elementDepthCount--}();const a=gi();return a.firstCreatePass&&(Wr(a,s),Qt(s)&&a.queries.elementEnd(s)),null!=r.classesWithoutHost&&function tl(s){return 0!=(8&s.flags)}(r)&&j1(a,r,dn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function ju(s){return 0!=(16&s.flags)}(r)&&j1(a,r,dn(),r.stylesWithoutHost,!1),Mu}function K1(s,r,a,c){return Tu(s,r,a,c),Mu(),K1}let em=(s,r,a,c,g,w)=>(or(!0),gc(c,g,function Jl(){return Jn.lFrame.currentNamespace}()));function Eu(s,r,a){const c=dn(),g=gi(),w=s+Xn,H=g.firstCreatePass?function E8(s,r,a,c,g){const w=r.consts,H=Ps(w,c),se=Dl(r,s,8,"ng-container",H);return null!==H&&fu(se,H,!0),P1(r,a,se,Ps(w,g)),null!==r.queries&&r.queries.elementStart(r,se),se}(w,g,c,r,a):g.data[w];ns(H,!0);const se=tm(g,c,H,s);return c[w]=se,$r()&&yc(g,c,se,H),cs(se,c),dt(H)&&(S1(g,c,H),x1(g,H,c)),null!=a&&O1(c,H),Eu}function Du(){let s=vo();const r=gi();return br()?xr():(s=s.parent,ns(s,!1)),r.firstCreatePass&&(Wr(r,s),Qt(s)&&r.queries.elementEnd(s)),Du}function Z1(s,r,a){return Eu(s,r,a),Du(),Z1}let tm=(s,r,a,c)=>(or(!0),Md(r[Nn],""));function nm(){return dn()}function J1(s){return!!s&&"function"==typeof s.then}function im(s){return!!s&&"function"==typeof s.subscribe}function G1(s,r,a,c){const g=dn(),w=gi(),H=vo();return om(w,g,g[Nn],H,s,r,c),G1}function Q1(s,r){const a=vo(),c=dn(),g=gi();return om(g,c,M2(on(g.data),a,c),a,s,r),Q1}function om(s,r,a,c,g,w,H){const se=dt(c),Ge=s.firstCreatePass&&T2(s),yt=r[kn],At=z2(r);let Zt=!0;if(3&c.type||H){const vn=Ko(c,r),Sn=H?H(vn):vn,Wn=At.length,fn=H?yi=>H(Li(yi[c.index])):c.index;let si=null;if(!H&&se&&(si=function x8(s,r,a,c){const g=s.cleanup;if(null!=g)for(let w=0;wTe?se[Te]:null}"string"==typeof H&&(w+=2)}return null}(s,r,g,c.index)),null!==si)(si.__ngLastListenerFn__||si).__ngNextListenerFn__=w,si.__ngLastListenerFn__=w,Zt=!1;else{w=rm(c,r,yt,w,!1);const yi=a.listen(Sn,g,w);At.push(w,yi),Ge&&Ge.push(g,fn,Wn,Wn+1)}}else w=rm(c,r,yt,w,!1);const Gt=c.outputs;let un;if(Zt&&null!==Gt&&(un=Gt[g])){const vn=un.length;if(vn)for(let Sn=0;Sn-1?Zo(s.index,r):r);let Te=sm(r,a,c,H),Ge=w.__ngNextListenerFn__;for(;Ge;)Te=sm(r,a,Ge,H)&&Te,Ge=Ge.__ngNextListenerFn__;return g&&!1===Te&&H.preventDefault(),Te}}function am(s=1){return function Za(s){return(Jn.lFrame.contextLView=function Zl(s,r){for(;s>0;)r=r[Yo],s--;return r}(s,Jn.lFrame.contextLView))[kn]}(s)}function S8(s,r){let a=null;const c=function oo(s){const r=s.attrs;if(null!=r){const a=r.indexOf(5);if(!(1&a))return r[a+1]}return null}(s);for(let g=0;g>17&32767}function ep(s){return 2|s}function Aa(s){return(131068&s)>>2}function tp(s,r){return-131069&s|r<<2}function np(s){return 1|s}function _m(s,r,a,c,g){const w=s[a+1],H=null===r;let se=c?ea(w):Aa(w),Te=!1;for(;0!==se&&(!1===Te||H);){const yt=s[se+1];N8(s[se],r)&&(Te=!0,s[se+1]=c?np(yt):ep(yt)),se=c?ea(yt):Aa(yt)}Te&&(s[a+1]=c?ep(w):np(w))}function N8(s,r){return null===s||null==r||(Array.isArray(s)?s[1]:s)===r||!(!Array.isArray(s)||"string"!=typeof r)&&$n(s,r)>=0}const Qo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vm(s){return s.substring(Qo.key,Qo.keyEnd)}function k8(s){return s.substring(Qo.value,Qo.valueEnd)}function ym(s,r){const a=Qo.textEnd;return a===r?-1:(r=Qo.keyEnd=function F8(s,r,a){for(;r32;)r++;return r}(s,Qo.key=r,a),kl(s,r,a))}function Cm(s,r){const a=Qo.textEnd;let c=Qo.key=kl(s,r,a);return a===c?-1:(c=Qo.keyEnd=function B8(s,r,a){let c;for(;r=65&&(-33&c)<=90||c>=48&&c<=57);)r++;return r}(s,c,a),c=Tm(s,c,a),c=Qo.value=kl(s,c,a),c=Qo.valueEnd=function H8(s,r,a){let c=-1,g=-1,w=-1,H=r,se=H;for(;H32&&(se=H),w=g,g=c,c=-33&Te}return se}(s,c,a),Tm(s,c,a))}function zm(s){Qo.key=0,Qo.keyEnd=0,Qo.value=0,Qo.valueEnd=0,Qo.textEnd=s.length}function kl(s,r,a){for(;r=0;a=Cm(r,a))xm(s,vm(r),k8(r))}function Em(s){dr(K8,Cr,s,!0)}function Cr(s,r){for(let a=function R8(s){return zm(s),ym(s,kl(s,0,Qo.textEnd))}(r);a>=0;a=ym(r,a))ls(s,vm(r),!0)}function cr(s,r,a,c){const g=dn(),w=gi(),H=xe(2);w.firstUpdatePass&&bm(w,s,H,c),r!==ci&&_s(g,H,r)&&Sm(w,w.data[Jo()],g,g[Nn],s,g[H+1]=function J8(s,r){return null==s||""===s||("string"==typeof r?s+=r:"object"==typeof s&&(s=v(gr(s)))),s}(r,a),c,H)}function dr(s,r,a,c){const g=gi(),w=xe(2);g.firstUpdatePass&&bm(g,null,w,c);const H=dn();if(a!==ci&&_s(H,w,a)){const se=g.data[Jo()];if(wm(se,c)&&!Dm(g,w)){let Te=c?se.classesWithoutHost:se.stylesWithoutHost;null!==Te&&(a=_(Te,a||"")),j1(g,se,H,a,c)}else!function Z8(s,r,a,c,g,w,H,se){g===ci&&(g=Dt);let Te=0,Ge=0,yt=0=s.expandoStartIndex}function bm(s,r,a,c){const g=s.data;if(null===g[a+1]){const w=g[Jo()],H=Dm(s,a);wm(w,c)&&null===r&&!H&&(r=!1),r=function U8(s,r,a,c){const g=on(s);let w=c?r.residualClasses:r.residualStyles;if(null===g)0===(c?r.classBindings:r.styleBindings)&&(a=Wc(a=sp(null,s,r,a,c),r.attrs,c),w=null);else{const H=r.directiveStylingLast;if(-1===H||s[H]!==g)if(a=sp(g,s,r,a,c),null===w){let Te=function Y8(s,r,a){const c=a?r.classBindings:r.styleBindings;if(0!==Aa(c))return s[ea(c)]}(s,r,c);void 0!==Te&&Array.isArray(Te)&&(Te=sp(null,s,r,Te[1],c),Te=Wc(Te,r.attrs,c),function $8(s,r,a,c){s[ea(a?r.classBindings:r.styleBindings)]=c}(s,r,c,Te))}else w=function W8(s,r,a){let c;const g=r.directiveEnd;for(let w=1+r.directiveStylingLast;w0)&&(Ge=!0)):yt=a,g)if(0!==Te){const Zt=ea(s[se+1]);s[c+1]=xu(Zt,se),0!==Zt&&(s[Zt+1]=tp(s[Zt+1],c)),s[se+1]=function w8(s,r){return 131071&s|r<<17}(s[se+1],c)}else s[c+1]=xu(se,0),0!==se&&(s[se+1]=tp(s[se+1],c)),se=c;else s[c+1]=xu(Te,0),0===se?se=c:s[Te+1]=tp(s[Te+1],c),Te=c;Ge&&(s[c+1]=ep(s[c+1])),_m(s,yt,c,!0),_m(s,yt,c,!1),function A8(s,r,a,c,g){const w=g?s.residualClasses:s.residualStyles;null!=w&&"string"==typeof r&&$n(w,r)>=0&&(a[c+1]=np(a[c+1]))}(r,yt,s,c,w),H=xu(se,Te),w?r.classBindings=H:r.styleBindings=H}(g,w,r,a,H,c)}}function sp(s,r,a,c,g){let w=null;const H=a.directiveEnd;let se=a.directiveStylingLast;for(-1===se?se=a.directiveStart:se++;se0;){const Te=s[g],Ge=Array.isArray(Te),yt=Ge?Te[1]:Te,At=null===yt;let Zt=a[g+1];Zt===ci&&(Zt=At?Dt:void 0);let Gt=At?Rn(Zt,c):yt===c?Zt:void 0;if(Ge&&!Su(Gt)&&(Gt=Rn(Te,c)),Su(Gt)&&(se=Gt,H))return se;const un=s[g+1];g=H?ea(un):Aa(un)}if(null!==r){let Te=w?r.residualClasses:r.residualStyles;null!=Te&&(se=Rn(Te,c))}return se}function Su(s){return void 0!==s}function wm(s,r){return 0!=(s.flags&(r?8:16))}function Pm(s,r=""){const a=dn(),c=gi(),g=s+Xn,w=c.firstCreatePass?Dl(c,g,1,r,null):c.data[g],H=Im(c,a,w,r,s);a[g]=H,$r()&&yc(c,a,H,w),ns(w,!1)}let Im=(s,r,a,c,g)=>(or(!0),function mc(s,r){return s.createText(r)}(r[Nn],c));function rp(s){return Ou("",s,""),rp}function Ou(s,r,a){const c=dn(),g=xl(c,s,r,a);return g!==ci&&Rr(c,Jo(),g),Ou}function ap(s,r,a,c,g){const w=dn(),H=Sl(w,s,r,a,c,g);return H!==ci&&Rr(w,Jo(),H),ap}function Hm(s,r,a){dr(ls,Cr,xl(dn(),s,r,a),!0)}function Vm(s,r,a,c,g){dr(ls,Cr,Sl(dn(),s,r,a,c,g),!0)}function Um(s,r,a,c,g,w,H,se,Te){dr(ls,Cr,function wl(s,r,a,c,g,w,H,se,Te,Ge){const At=qs(s,$s(),a,g,H,Te);return xe(4),At?r+S(a)+c+S(g)+w+S(H)+se+S(Te)+Ge:ci}(dn(),s,r,a,c,g,w,H,se,Te),!0)}function lp(s,r,a){const c=dn();return _s(c,ue(),r)&&Ks(gi(),lo(),c,s,r,c[Nn],a,!0),lp}function cp(s,r,a){const c=dn();if(_s(c,ue(),r)){const w=gi(),H=lo();Ks(w,H,c,s,r,M2(on(w.data),H,c),a,!0)}return cp}const Na=void 0;var f_=["en",[["a","p"],["AM","PM"],Na],[["AM","PM"],Na,Na],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Na,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Na,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Na,"{1} 'at' {0}",Na],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function p_(s){const a=Math.floor(Math.abs(s)),c=s.toString().replace(/^[^.]*\.?/,"").length;return 1===a&&0===c?1:5}];let Rl={};function m_(s,r,a){"string"!=typeof r&&(a=r,r=s[Ll.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Rl[r]=s,a&&(Rl[r][Ll.ExtraData]=a)}function dp(s){const r=function g_(s){return s.toLowerCase().replace(/_/g,"-")}(s);let a=qm(r);if(a)return a;const c=r.split("-")[0];if(a=qm(c),a)return a;if("en"===c)return f_;throw new y(701,!1)}function Xm(s){return dp(s)[Ll.PluralCase]}function qm(s){return s in Rl||(Rl[s]=ht.ng&&ht.ng.common&&ht.ng.common.locales&&ht.ng.common.locales[s]),Rl[s]}var Ll=function(s){return s[s.LocaleId=0]="LocaleId",s[s.DayPeriodsFormat=1]="DayPeriodsFormat",s[s.DayPeriodsStandalone=2]="DayPeriodsStandalone",s[s.DaysFormat=3]="DaysFormat",s[s.DaysStandalone=4]="DaysStandalone",s[s.MonthsFormat=5]="MonthsFormat",s[s.MonthsStandalone=6]="MonthsStandalone",s[s.Eras=7]="Eras",s[s.FirstDayOfWeek=8]="FirstDayOfWeek",s[s.WeekendRange=9]="WeekendRange",s[s.DateFormat=10]="DateFormat",s[s.TimeFormat=11]="TimeFormat",s[s.DateTimeFormat=12]="DateTimeFormat",s[s.NumberSymbols=13]="NumberSymbols",s[s.NumberFormats=14]="NumberFormats",s[s.CurrencyCode=15]="CurrencyCode",s[s.CurrencySymbol=16]="CurrencySymbol",s[s.CurrencyName=17]="CurrencyName",s[s.Currencies=18]="Currencies",s[s.Directionality=19]="Directionality",s[s.PluralCase=20]="PluralCase",s[s.ExtraData=21]="ExtraData",s}(Ll||{});const Fl="en-US";let e4=Fl;function pp(s,r,a,c,g){if(s=f(s),Array.isArray(s))for(let w=0;w>20;if(Xr(s)||!s.multi){const Gt=new Sr(Ge,g,El),un=mp(Te,r,g?yt:yt+Zt,At);-1===un?(ga(ma(se,H),w,Te),fp(w,s,r.length),r.push(Te),se.directiveStart++,se.directiveEnd++,g&&(se.providerIndexes+=1048576),a.push(Gt),H.push(Gt)):(a[un]=Gt,H[un]=Gt)}else{const Gt=mp(Te,r,yt+Zt,At),un=mp(Te,r,yt,yt+Zt),Sn=un>=0&&a[un];if(g&&!Sn||!g&&!(Gt>=0&&a[Gt])){ga(ma(se,H),w,Te);const Wn=function fv(s,r,a,c,g){const w=new Sr(s,a,El);return w.multi=[],w.index=r,w.componentProviders=0,b4(w,g,c&&!a),w}(g?pv:hv,a.length,g,c,Ge);!g&&Sn&&(a[un].providerFactory=Wn),fp(w,s,r.length,0),r.push(Te),se.directiveStart++,se.directiveEnd++,g&&(se.providerIndexes+=1048576),a.push(Wn),H.push(Wn)}else fp(w,s,Gt>-1?Gt:un,b4(a[g?un:Gt],Ge,!g&&c));!g&&c&&Sn&&a[un].componentProviders++}}}function fp(s,r,a,c){const g=Xr(r),w=function Gh(s){return!!s.useClass}(r);if(g||w){const Te=(w?f(r.useClass):r).prototype.ngOnDestroy;if(Te){const Ge=s.destroyHooks||(s.destroyHooks=[]);if(!g&&r.multi){const yt=Ge.indexOf(a);-1===yt?Ge.push(a,[c,Te]):Ge[yt+1].push(c,Te)}else Ge.push(a,Te)}}}function b4(s,r,a){return a&&s.componentProviders++,s.multi.push(r)-1}function mp(s,r,a,c){for(let g=a;g{a.providersResolver=(c,g)=>function uv(s,r,a){const c=gi();if(c.firstCreatePass){const g=_t(s);pp(a,c.data,c.blueprint,g,!0),pp(r,c.data,c.blueprint,g,!1)}}(c,g?g(s):s,r)}}class ka{}class S4{}function mv(s,r){return new _p(s,r??null,[])}class _p extends ka{constructor(r,a,c){super(),this._parent=a,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new P2(this);const g=It(r);this._bootstrapComponents=kr(g.bootstrap),this._r3Injector=f1(r,a,[{provide:ka,useValue:this},{provide:yl,useValue:this.componentFactoryResolver},...c],v(r),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(r)}get injector(){return this._r3Injector}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(a=>a()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class vp extends S4{constructor(r){super(),this.moduleType=r}create(r){return new _p(this.moduleType,r,[])}}class O4 extends ka{constructor(r){super(),this.componentFactoryResolver=new P2(this),this.instance=null;const a=new Sc([...r.providers,{provide:ka,useValue:this},{provide:yl,useValue:this.componentFactoryResolver}],r.parent||xc(),r.debugName,new Set(["environment"]));this.injector=a,r.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function w4(s,r,a=null){return new O4({providers:s,parent:r,debugName:a,runEnvironmentInitializers:!0}).injector}let _v=(()=>{class s{constructor(a){this._injector=a,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){const c=jh(0,a.type),g=c.length>0?w4([c],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,g)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=oe({token:s,providedIn:"environment",factory:()=>new s(be(rr))})}return s})();function P4(s){s.getStandaloneInjector=r=>r.get(_v).getOrCreateStandaloneInjector(s)}function F4(s,r,a){const c=So()+s,g=dn();return g[c]===ci?yr(g,c,a?r.call(a):r()):Vc(g,c)}function B4(s,r,a,c){return Y4(dn(),So(),s,r,a,c)}function H4(s,r,a,c,g){return $4(dn(),So(),s,r,a,c,g)}function V4(s,r,a,c,g,w){return W4(dn(),So(),s,r,a,c,g,w)}function U4(s,r,a,c,g,w,H,se,Te){const Ge=So()+s,yt=dn(),At=qs(yt,Ge,a,c,g,w);return Ia(yt,Ge+4,H,se)||At?yr(yt,Ge+6,Te?r.call(Te,a,c,g,w,H,se):r(a,c,g,w,H,se)):Vc(yt,Ge+6)}function Qc(s,r){const a=s[r];return a===ci?void 0:a}function Y4(s,r,a,c,g,w){const H=r+a;return _s(s,H,g)?yr(s,H+1,w?c.call(w,g):c(g)):Qc(s,H+1)}function $4(s,r,a,c,g,w,H){const se=r+a;return Ia(s,se,g,w)?yr(s,se+2,H?c.call(H,g,w):c(g,w)):Qc(s,se+2)}function W4(s,r,a,c,g,w,H,se){const Te=r+a;return vu(s,Te,g,w,H)?yr(s,Te+3,se?c.call(se,g,w,H):c(g,w,H)):Qc(s,Te+3)}function Z4(s,r){const a=gi();let c;const g=s+Xn;a.firstCreatePass?(c=function Pv(s,r){if(r)for(let a=r.length-1;a>=0;a--){const c=r[a];if(s===c.name)return c}}(r,a.pipeRegistry),a.data[g]=c,c.onDestroy&&(a.destroyHooks??=[]).push(g,c.onDestroy)):c=a.data[g];const w=c.factory||(c.factory=Ao(c.type)),se=Me(El);try{const Te=fa(!1),Ge=w();return fa(Te),function C8(s,r,a,c){a>=s.data.length&&(s.data[a]=null,s.blueprint[a]=null),r[a]=c}(a,dn(),g,Ge),Ge}finally{Me(se)}}function J4(s,r,a){const c=s+Xn,g=dn(),w=hr(g,c);return Xc(g,c)?Y4(g,So(),r,w.transform,a,w):w.transform(a)}function G4(s,r,a,c){const g=s+Xn,w=dn(),H=hr(w,g);return Xc(w,g)?$4(w,So(),r,H.transform,a,c,H):H.transform(a,c)}function Q4(s,r,a,c,g){const w=s+Xn,H=dn(),se=hr(H,w);return Xc(H,w)?W4(H,So(),r,se.transform,a,c,g,se):se.transform(a,c,g)}function X4(s,r,a,c,g,w){const H=s+Xn,se=dn(),Te=hr(se,H);return Xc(se,H)?function j4(s,r,a,c,g,w,H,se,Te){const Ge=r+a;return qs(s,Ge,g,w,H,se)?yr(s,Ge+4,Te?c.call(Te,g,w,H,se):c(g,w,H,se)):Qc(s,Ge+4)}(se,So(),r,Te.transform,a,c,g,w,Te):Te.transform(a,c,g,w)}function Xc(s,r){return s[at].data[r].pure}function Av(){return this._results[Symbol.iterator]()}class Nu{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ar)}constructor(r=!1){this._emitDistinctChangesOnly=r,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const a=Nu.prototype;a[Symbol.iterator]||(a[Symbol.iterator]=Av)}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,a){return this._results.reduce(r,a)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,a){const c=this;c.dirty=!1;const g=function Co(s){return s.flat(Number.POSITIVE_INFINITY)}(r);(this._changesDetected=!function Ir(s,r,a){if(s.length!==r.length)return!1;for(let c=0;c0&&(a[g-1][Kt]=r),c{class s{static#e=this.__NG_ELEMENT_ID__=Fv}return s})();const Rv=qc,Lv=class extends Rv{constructor(r,a,c){super(),this._declarationLView=r,this._declarationTContainer=a,this.elementRef=c}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,a){return this.createEmbeddedViewImpl(r,a)}createEmbeddedViewImpl(r,a,c){const g=function Nv(s,r,a,c){const g=r.tView,se=hu(s,g,a,4096&s[Je]?4096:16,null,r,null,null,null,c?.injector??null,c?.hydrationInfo??null);se[wo]=s[r.index];const Ge=s[Hi];return null!==Ge&&(se[Hi]=Ge.createEmbeddedView(g)),R1(g,se,a),se}(this._declarationLView,this._declarationTContainer,r,{injector:a,hydrationInfo:c});return new Bc(g)}};function Fv(){return ku(vo(),dn())}function ku(s,r){return 4&s.type?new Lv(r,s,wa(s,r)):null}let Lu=(()=>{class s{static#e=this.__NG_ELEMENT_ID__=$v}return s})();function $v(){return sg(vo(),dn())}const Wv=Lu,ig=class extends Wv{constructor(r,a,c){super(),this._lContainer=r,this._hostTNode=a,this._hostLView=c}get element(){return wa(this._hostTNode,this._hostLView)}get injector(){return new is(this._hostTNode,this._hostLView)}get parentInjector(){const r=wr(this._hostTNode,this._hostLView);if(nl(r)){const a=Zr(r,this._hostLView),c=Kr(r);return new is(a[at].data[c+8],a)}return new is(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const a=og(this._lContainer);return null!==a&&a[r]||null}get length(){return this._lContainer.length-Ci}createEmbeddedView(r,a,c){let g,w;"number"==typeof c?g=c:null!=c&&(g=c.index,w=c.injector);const se=r.createEmbeddedViewImpl(a||{},w,null);return this.insertImpl(se,g,false),se}createComponent(r,a,c,g,w){const H=r&&!function yo(s){return"function"==typeof s}(r);let se;if(H)se=a;else{const vn=a||{};se=vn.index,c=vn.injector,g=vn.projectableNodes,w=vn.environmentInjector||vn.ngModuleRef}const Te=H?r:new Hc(Mt(r)),Ge=c||this.parentInjector;if(!w&&null==Te.ngModule){const Sn=(H?Ge:this.parentInjector).get(rr,null);Sn&&(w=Sn)}Mt(Te.componentType??{});const Gt=Te.create(Ge,g,null,w);return this.insertImpl(Gt.hostView,se,false),Gt}insert(r,a){return this.insertImpl(r,a,!1)}insertImpl(r,a,c){const g=r._lView;if(function Fa(s){return it(s[Rt])}(g)){const Te=this.indexOf(r);if(-1!==Te)this.detach(Te);else{const Ge=g[Rt],yt=new ig(Ge,Ge[mn],Ge[Rt]);yt.detach(yt.indexOf(r))}}const H=this._adjustIndex(a),se=this._lContainer;return kv(se,g,H,!c),r.attachToViewContainerRef(),js(Cp(se),H,r),r}move(r,a){return this.insert(r,a)}indexOf(r){const a=og(this._lContainer);return null!==a?a.indexOf(r):-1}remove(r){const a=this._adjustIndex(r,-1),c=_c(this._lContainer,a);c&&(Ds(Cp(this._lContainer),a),Ed(c[at],c))}detach(r){const a=this._adjustIndex(r,-1),c=_c(this._lContainer,a);return c&&null!=Ds(Cp(this._lContainer),a)?new Bc(c):null}_adjustIndex(r,a=0){return r??this.length+a}};function og(s){return s[8]}function Cp(s){return s[8]||(s[8]=[])}function sg(s,r){let a;const c=r[s.index];return it(c)?a=c:(a=y2(c,r,null,s),r[s.index]=a,pu(r,a)),rg(a,r,s,c),new ig(a,s,r)}let rg=function ag(s,r,a,c){if(s[Si])return;let g;g=8&a.type?Li(c):function jv(s,r){const a=s[Nn],c=a.createComment(""),g=Ko(r,s);return Gr(a,vc(a,g),c,function Pf(s,r){return s.nextSibling(r)}(a,g),!1),c}(r,a),s[Si]=g};class zp{constructor(r){this.queryList=r,this.matches=null}clone(){return new zp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Tp{constructor(r=[]){this.queries=r}createEmbeddedView(r){const a=r.queries;if(null!==a){const c=null!==r.contentQueries?r.contentQueries[0]:a.length,g=[];for(let w=0;w0)c.push(H[se/2]);else{const Ge=w[se+1],yt=r[-Te];for(let At=Ci;At{class s{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,c)=>{this.resolve=a,this.reject=c}),this.appInits=Ke(Ng,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const a=[];for(const g of this.appInits){const w=g();if(J1(w))a.push(w);else if(im(w)){const H=new Promise((se,Te)=>{w.subscribe({complete:se,error:Te})});a.push(H)}}const c=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{c()}).catch(g=>{this.reject(g)}),0===a.length&&c(),this.initialized=!0}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),kg=(()=>{class s{log(a){console.log(a)}warn(a){console.warn(a)}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"platform"})}return s})();const Bu=new Bi("LocaleId",{providedIn:"root",factory:()=>Ke(Bu,de.Optional|de.SkipSelf)||function T5(){return typeof $localize<"u"&&$localize.locale||Fl}()}),M5=new Bi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Rg=(()=>{class s{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new l.X(!1)}add(){this.hasPendingTasks.next(!0);const a=this.taskId++;return this.pendingTasks.add(a),a}remove(a){this.pendingTasks.delete(a),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();class D5{constructor(r,a){this.ngModuleFactory=r,this.componentFactories=a}}let b5=(()=>{class s{compileModuleSync(a){return new vp(a)}compileModuleAsync(a){return Promise.resolve(this.compileModuleSync(a))}compileModuleAndAllComponentsSync(a){const c=this.compileModuleSync(a),w=kr(It(a).declarations).reduce((H,se)=>{const Te=Mt(se);return Te&&H.push(new Hc(Te)),H},[]);return new D5(c,w)}compileModuleAndAllComponentsAsync(a){return Promise.resolve(this.compileModuleAndAllComponentsSync(a))}clearCache(){}clearCacheFor(a){}getModuleId(a){}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();const Hg=new Bi(""),Vg=new Bi("");let Np,j5=(()=>{class s{constructor(a,c,g){this._ngZone=a,this.registry=c,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Np||(function K5(s){Np=s}(g),g.addToWindow(c)),this._watchAngularEvents(),a.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Go.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let a=this._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb(this._didWork)}this._didWork=!1});else{let a=this.getPendingTasks();this._callbacks=this._callbacks.filter(c=>!c.updateCb||!c.updateCb(a)||(clearTimeout(c.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(a=>({source:a.source,creationLocation:a.creationLocation,data:a.data})):[]}addCallback(a,c,g){let w=-1;c&&c>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(H=>H.timeoutId!==w),a(this._didWork,this.getPendingTasks())},c)),this._callbacks.push({doneCb:a,timeoutId:w,updateCb:g})}whenStable(a,c,g){if(g&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(a,c,g),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(a){this.registry.registerApplication(a,this)}unregisterApplication(a){this.registry.unregisterApplication(a)}findProviders(a,c,g){return[]}static#e=this.\u0275fac=function(c){return new(c||s)(be(Go),be(Ug),be(Vg))};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac})}return s})(),Ug=(()=>{class s{constructor(){this._applications=new Map}registerApplication(a,c){this._applications.set(a,c)}unregisterApplication(a){this._applications.delete(a)}unregisterAllApplications(){this._applications.clear()}getTestability(a){return this._applications.get(a)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(a,c=!0){return Np?.findTestabilityInTree(this,a,c)??null}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"platform"})}return s})(),ta=null;const Yg=new Bi("AllowMultipleToken"),kp=new Bi("PlatformDestroyListeners"),Rp=new Bi("appBootstrapListener");class G5{constructor(r,a){this.name=r,this.token=a}}function jg(s,r,a=[]){const c=`Platform: ${r}`,g=new Bi(c);return(w=[])=>{let H=Lp();if(!H||H.injector.get(Yg,!1)){const se=[...a,...w,{provide:g,useValue:!0}];s?s(se):function Q5(s){if(ta&&!ta.get(Yg,!1))throw new y(400,!1);(function $g(){!function ia(s){tr=s}(()=>{throw new y(600,!1)})})(),ta=s;const r=s.get(Zg);(function Wg(s){s.get(qh,null)?.forEach(a=>a())})(s)}(function Kg(s=[],r){return Xs.create({name:r,providers:[{provide:$d,useValue:"platform"},{provide:kp,useValue:new Set([()=>ta=null])},...s]})}(se,c))}return function q5(s){const r=Lp();if(!r)throw new y(401,!1);return r}()}}function Lp(){return ta?.get(Zg)??null}let Zg=(()=>{class s{constructor(a){this._injector=a,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(a,c){const g=function e7(s="zone.js",r){return"noop"===s?new Z0:"zone.js"===s?new Go(r):s}(c?.ngZone,function Jg(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:s?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:s?.runCoalescing??!1}}({eventCoalescing:c?.ngZoneEventCoalescing,runCoalescing:c?.ngZoneRunCoalescing}));return g.run(()=>{const w=function gv(s,r,a){return new _p(s,r,a)}(a.moduleType,this.injector,function e3(s){return[{provide:Go,useFactory:s},{provide:gl,multi:!0,useFactory:()=>{const r=Ke(n7,{optional:!0});return()=>r.initialize()}},{provide:qg,useFactory:t7},{provide:C1,useFactory:z1}]}(()=>g)),H=w.injector.get(Nr,null);return g.runOutsideAngular(()=>{const se=g.onError.subscribe({next:Te=>{H.handleError(Te)}});w.onDestroy(()=>{Vu(this._modules,w),se.unsubscribe()})}),function Gg(s,r,a){try{const c=a();return J1(c)?c.catch(g=>{throw r.runOutsideAngular(()=>s.handleError(g)),g}):c}catch(c){throw r.runOutsideAngular(()=>s.handleError(c)),c}}(H,g,()=>{const se=w.injector.get(Pp);return se.runInitializers(),se.donePromise.then(()=>(function t4(s){ne(s,"Expected localeId to be defined"),"string"==typeof s&&(e4=s.toLowerCase().replace(/_/g,"-"))}(w.injector.get(Bu,Fl)||Fl),this._moduleDoBootstrap(w),w))})})}bootstrapModule(a,c=[]){const g=Qg({},c);return function Z5(s,r,a){const c=new vp(a);return Promise.resolve(c)}(0,0,a).then(w=>this.bootstrapModuleFactory(w,g))}_moduleDoBootstrap(a){const c=a.injector.get(Vl);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(g=>c.bootstrap(g));else{if(!a.instance.ngDoBootstrap)throw new y(-403,!1);a.instance.ngDoBootstrap(c)}this._modules.push(a)}onDestroy(a){this._destroyListeners.push(a)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(c=>c.destroy()),this._destroyListeners.forEach(c=>c());const a=this._injector.get(kp,null);a&&(a.forEach(c=>c()),a.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(c){return new(c||s)(be(Xs))};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"platform"})}return s})();function Qg(s,r){return Array.isArray(r)?r.reduce(Qg,s):{...s,...r}}let Vl=(()=>{class s{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ke(qg),this.zoneIsStable=Ke(C1),this.componentTypes=[],this.components=[],this.isStable=Ke(Rg).hasPendingTasks.pipe((0,u.w)(a=>a?(0,h.of)(!1):this.zoneIsStable),(0,z.x)(),(0,E.B)()),this._injector=Ke(rr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(a,c){const g=a instanceof n1;if(!this._injector.get(Pp).done)throw!g&&zt(a),new y(405,!1);let H;H=g?a:this._injector.get(yl).resolveComponentFactory(a),this.componentTypes.push(H.componentType);const se=function J5(s){return s.isBoundToModule}(H)?void 0:this._injector.get(ka),Ge=H.create(Xs.NULL,[],c||H.selector,se),yt=Ge.location.nativeElement,At=Ge.injector.get(Hg,null);return At?.registerApplication(yt),Ge.onDestroy(()=>{this.detachView(Ge.hostView),Vu(this.components,Ge),At?.unregisterApplication(yt)}),this._loadComponent(Ge),Ge}tick(){if(this._runningTick)throw new y(101,!1);try{this._runningTick=!0;for(let a of this._views)a.detectChanges()}catch(a){this.internalErrorHandler(a)}finally{this._runningTick=!1}}attachView(a){const c=a;this._views.push(c),c.attachToAppRef(this)}detachView(a){const c=a;Vu(this._views,c),c.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a);const c=this._injector.get(Rp,[]);c.push(...this._bootstrapListeners),c.forEach(g=>g(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>Vu(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new y(406,!1);const a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function Vu(s,r){const a=s.indexOf(r);a>-1&&s.splice(a,1)}const qg=new Bi("",{providedIn:"root",factory:()=>Ke(Nr).handleError.bind(void 0)});function t7(){const s=Ke(Go),r=Ke(Nr);return a=>s.runOutsideAngular(()=>r.handleError(a))}let n7=(()=>{class s{constructor(){this.zone=Ke(Go),this.applicationRef=Ke(Vl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function s7(){return!1}function r7(){}let a7=(()=>{class s{static#e=this.__NG_ELEMENT_ID__=l7}return s})();function l7(s){return function c7(s,r,a){if(Z(s)&&!a){const c=Zo(s.index,r);return new Bc(c,c)}return 47&s.type?new Bc(r[xi],r):null}(vo(),dn(),16==(16&s))}class s3{constructor(){}supports(r){return _u(r)}create(r){return new m7(r)}}const f7=(s,r)=>r;class m7{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||f7}forEachItem(r){let a;for(a=this._itHead;null!==a;a=a._next)r(a)}forEachOperation(r){let a=this._itHead,c=this._removalsHead,g=0,w=null;for(;a||c;){const H=!c||a&&a.currentIndex{H=this._trackByFn(g,se),null!==a&&Object.is(a.trackById,H)?(c&&(a=this._verifyReinsertion(a,se,H,g)),Object.is(a.item,se)||this._addIdentityChange(a,se)):(a=this._mismatch(a,se,H,g),c=!0),a=a._next,g++}),this.length=g;return this._truncate(a),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,a,c,g){let w;return null===r?w=this._itTail:(w=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._reinsertAfter(r,w,g)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(c,g))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._moveAfter(r,w,g)):r=this._addAfter(new g7(a,c),w,g),r}_verifyReinsertion(r,a,c,g){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);return null!==w?r=this._reinsertAfter(w,r._prev,g):r.currentIndex!=g&&(r.currentIndex=g,this._addToMoves(r,g)),r}_truncate(r){for(;null!==r;){const a=r._next;this._addToRemovals(this._unlink(r)),r=a}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(r,a,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const g=r._prevRemoved,w=r._nextRemoved;return null===g?this._removalsHead=w:g._nextRemoved=w,null===w?this._removalsTail=g:w._prevRemoved=g,this._insertAfter(r,a,c),this._addToMoves(r,c),r}_moveAfter(r,a,c){return this._unlink(r),this._insertAfter(r,a,c),this._addToMoves(r,c),r}_addAfter(r,a,c){return this._insertAfter(r,a,c),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,a,c){const g=null===a?this._itHead:a._next;return r._next=g,r._prev=a,null===g?this._itTail=r:g._prev=r,null===a?this._itHead=r:a._next=r,null===this._linkedRecords&&(this._linkedRecords=new r3),this._linkedRecords.put(r),r.currentIndex=c,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const a=r._prev,c=r._next;return null===a?this._itHead=c:a._next=c,null===c?this._itTail=a:c._prev=a,r}_addToMoves(r,a){return r.previousIndex===a||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new r3),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,a){return r.item=a,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class g7{constructor(r,a){this.item=r,this.trackById=a,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class _7{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,a){let c;for(c=this._head;null!==c;c=c._nextDup)if((null===a||a<=c.currentIndex)&&Object.is(c.trackById,r))return c;return null}remove(r){const a=r._prevDup,c=r._nextDup;return null===a?this._head=c:a._nextDup=c,null===c?this._tail=a:c._prevDup=a,null===this._head}}class r3{constructor(){this.map=new Map}put(r){const a=r.trackById;let c=this.map.get(a);c||(c=new _7,this.map.set(a,c)),c.add(r)}get(r,a){const g=this.map.get(r);return g?g.get(r,a):null}remove(r){const a=r.trackById;return this.map.get(a).remove(r)&&this.map.delete(a),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function a3(s,r,a){const c=s.previousIndex;if(null===c)return c;let g=0;return a&&c{if(a&&a.key===g)this._maybeAddToChanges(a,c),this._appendAfter=a,a=a._next;else{const w=this._getOrCreateRecordForKey(g,c);a=this._insertBeforeOrAppend(a,w)}}),a){a._prev&&(a._prev._next=null),this._removalsHead=a;for(let c=a;null!==c;c=c._nextRemoved)c===this._mapHead&&(this._mapHead=null),this._records.delete(c.key),c._nextRemoved=c._next,c.previousValue=c.currentValue,c.currentValue=null,c._prev=null,c._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,a){if(r){const c=r._prev;return a._next=r,a._prev=c,r._prev=a,c&&(c._next=a),r===this._mapHead&&(this._mapHead=a),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=a,a._prev=this._appendAfter):this._mapHead=a,this._appendAfter=a,null}_getOrCreateRecordForKey(r,a){if(this._records.has(r)){const g=this._records.get(r);this._maybeAddToChanges(g,a);const w=g._prev,H=g._next;return w&&(w._next=H),H&&(H._prev=w),g._next=null,g._prev=null,g}const c=new y7(r);return this._records.set(r,c),c.currentValue=a,this._addToAdditions(c),c}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,a){Object.is(a,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=a,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,a){r instanceof Map?r.forEach(a):Object.keys(r).forEach(c=>a(r[c],c))}}class y7{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function c3(){return new Up([new s3])}let Up=(()=>{class s{static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:c3});constructor(a){this.factories=a}static create(a,c){if(null!=c){const g=c.factories.slice();a=a.concat(g)}return new s(a)}static extend(a){return{provide:s,useFactory:c=>s.create(a,c||c3()),deps:[[s,new mr,new os]]}}find(a){const c=this.factories.find(g=>g.supports(a));if(null!=c)return c;throw new y(901,!1)}}return s})();function d3(){return new Yp([new l3])}let Yp=(()=>{class s{static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:d3});constructor(a){this.factories=a}static create(a,c){if(c){const g=c.factories.slice();a=a.concat(g)}return new s(a)}static extend(a){return{provide:s,useFactory:c=>s.create(a,c||d3()),deps:[[s,new mr,new os]]}}find(a){const c=this.factories.find(g=>g.supports(a));if(c)return c;throw new y(901,!1)}}return s})();const T7=jg(null,"core",[]);let M7=(()=>{class s{constructor(a){}static#e=this.\u0275fac=function(c){return new(c||s)(be(Vl))};static#t=this.\u0275mod=bi({type:s});static#n=this.\u0275inj=Q({})}return s})();function N7(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}function R7(s,r){const a=Mt(s),c=r.elementInjector||xc();return new Hc(a).create(c,r.projectableNodes,r.hostElement,r.environmentInjector)}function L7(s){const r=Mt(s);if(!r)return null;const a=new Hc(r);return{get selector(){return a.selector},get type(){return a.componentType},get inputs(){return a.inputs},get outputs(){return a.outputs},get ngContentSelectors(){return a.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}},71993:(tt,I,o)=>{"use strict";o.d(I,{sL:()=>i});var e=o(65879),n=o(65592),t=o(59773);function i(we){we||((0,e.gHi)(i),we=(0,e.f3M)(e.ktI));const de=new n.y(U=>we.onDestroy(U.next.bind(U)));return U=>U.pipe((0,t.R)(de))}},19288:(tt,I,o)=>{"use strict";o.r(I),o.d(I,{NgElement:()=>y,VERSION:()=>S,createCustomElement:()=>P});var e=o(65879),n=o(97328),t=o(63019),i=o(94664),l=o(37398);const h={schedule(A,k){const R=setTimeout(A,k);return()=>clearTimeout(R)},scheduleBeforeRender(A){if(typeof window>"u")return h.schedule(A,0);if(typeof window.requestAnimationFrame>"u")return h.schedule(A,16);const k=window.requestAnimationFrame(A);return()=>window.cancelAnimationFrame(k)}};let p;function C(A,k,R){let W=R;return function u(A){return!!A&&A.nodeType===Node.ELEMENT_NODE}(A)&&k.some((j,ze)=>!("*"===j||!function v(A,k){if(!p){const R=Element.prototype;p=R.matches||R.matchesSelector||R.mozMatchesSelector||R.msMatchesSelector||R.oMatchesSelector||R.webkitMatchesSelector}return A.nodeType===Node.ELEMENT_NODE&&p.call(A,k)}(A,j)||(W=ze,0))),W}class b{constructor(k,R){this.componentFactory=R.get(e._Vd).resolveComponentFactory(k)}create(k){return new D(this.componentFactory,k)}}class D{constructor(k,R){this.componentFactory=k,this.injector=R,this.eventEmitters=new n.t(1),this.events=this.eventEmitters.pipe((0,i.w)(W=>(0,t.T)(...W))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:W})=>W)),this.ngZone=this.injector.get(e.R0b),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(k){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(k)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=h.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(k){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(k):this.componentRef.instance[k])}setInputValue(k,R,W){this.runInZone(()=>{W&&(R=W.call(this.componentRef?.instance,R)),null!==this.componentRef?function _(A,k){return A===k||A!=A&&k!=k}(R,this.getInputValue(k))&&(void 0!==R||!this.unchangedInputs.has(k))||(this.recordInputChange(k,R),this.unchangedInputs.delete(k),this.hasInputChanges=!0,this.componentRef.instance[k]=R,this.scheduleDetectChanges()):this.initialInputValues.set(k,R)})}initializeComponent(k){const R=e.zs3.create({providers:[],parent:this.injector}),W=function f(A,k){const R=A.childNodes,W=k.map(()=>[]);let j=-1;k.some((ze,Y)=>"*"===ze&&(j=Y,!0));for(let ze=0,Y=R.length;ze{this.initialInputValues.has(k)&&this.setInputValue(k,this.initialInputValues.get(k),R)}),this.initialInputValues.clear()}initializeOutputs(k){const R=this.componentFactory.outputs.map(({propName:W,templateName:j})=>k.instance[W].pipe((0,l.U)(Y=>({name:j,value:Y}))));this.eventEmitters.next(R)}callNgOnChanges(k){if(!this.implementsOnChanges||null===this.inputChanges)return;const R=this.inputChanges;this.inputChanges=null,k.instance.ngOnChanges(R)}markViewForCheck(k){this.hasInputChanges&&(this.hasInputChanges=!1,k.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=h.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(k,R){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const W=this.inputChanges[k];if(W)return void(W.currentValue=R);const j=this.unchangedInputs.has(k),ze=j?void 0:this.getInputValue(k);this.inputChanges[k]=new e.WD2(ze,R,j)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(k){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(k):k()}}class y extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function P(A,k){const R=function m(A,k){return k.get(e._Vd).resolveComponentFactory(A).inputs}(A,k.injector),W=k.strategyFactory||new b(A,k.injector),j=function d(A){const k={};return A.forEach(({propName:R,templateName:W,transform:j})=>{k[function E(A){return A.replace(/[A-Z]/g,k=>`-${k.toLowerCase()}`)}(W)]=[R,j]}),k}(R);class ze extends y{static#e=this.observedAttributes=Object.keys(j);get ngElementStrategy(){if(!this._ngElementStrategy){const G=this._ngElementStrategy=W.create(this.injector||k.injector);R.forEach(({propName:V,transform:K})=>{if(!this.hasOwnProperty(V))return;const ee=this[V];delete this[V],G.setInputValue(V,ee,K)})}return this._ngElementStrategy}constructor(G){super(),this.injector=G}attributeChangedCallback(G,V,K,ee){const[te,pe]=j[G];this.ngElementStrategy.setInputValue(te,K,pe)}connectedCallback(){let G=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),G=!0),this.ngElementStrategy.connect(this),G||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(G=>{const V=new CustomEvent(G.name,{detail:G.value});this.dispatchEvent(V)})}}return R.forEach(({propName:Y,transform:G})=>{Object.defineProperty(ze.prototype,Y,{get(){return this.ngElementStrategy.getInputValue(Y)},set(V){this.ngElementStrategy.setInputValue(Y,V,G)},configurable:!0,enumerable:!0})}),ze}const S=new e.GfV("16.2.10")},60095:(tt,I,o)=>{"use strict";o.d(I,{TO:()=>be,ve:()=>D,Wl:()=>C,Fj:()=>y,NI:()=>Ni,oH:()=>bt,u:()=>Ai,cw:()=>Qe,sg:()=>Je,u5:()=>vs,nD:()=>Qt,JU:()=>m,a5:()=>ot,JJ:()=>U,JL:()=>B,F:()=>to,On:()=>Pi,c5:()=>dt,UX:()=>$o,Q7:()=>To,kI:()=>W,_Y:()=>ni});var e=o(65879),n=o(96814),t=o(7715),i=o(65592),l=o(17453),h=o(54829),E=o(79940),u=o(8251),z=o(97400),M=o(92714),v=o(37398);let _=(()=>{class st{constructor(Ve,Et){this._renderer=Ve,this._elementRef=Et,this.onChange=$t=>{},this.onTouched=()=>{}}setProperty(Ve,Et){this._renderer.setProperty(this._elementRef.nativeElement,Ve,Et)}registerOnTouched(Ve){this.onTouched=Ve}registerOnChange(Ve){this.onChange=Ve}setDisabledState(Ve){this.setProperty("disabled",Ve)}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:st})}return st})(),d=(()=>{class st extends _{static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,features:[e.qOj]})}return st})();const m=new e.OlP("NgValueAccessor"),f={provide:m,useExisting:(0,e.Gpc)(()=>C),multi:!0};let C=(()=>{class st extends d{writeValue(Ve){this.setProperty("checked",Ve)}static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Et,$t){1&Et&&e.NdJ("change",function(jn){return $t.onChange(jn.target.checked)})("blur",function(){return $t.onTouched()})},features:[e._Bn([f]),e.qOj]})}return st})();const T={provide:m,useExisting:(0,e.Gpc)(()=>y),multi:!0},D=new e.OlP("CompositionEventMode");let y=(()=>{class st extends _{constructor(Ve,Et,$t){super(Ve,Et),this._compositionMode=$t,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function b(){const st=(0,n.q)()?(0,n.q)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(Ve){this.setProperty("value",Ve??"")}_handleInput(Ve){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ve)}_compositionStart(){this._composing=!0}_compositionEnd(Ve){this._composing=!1,this._compositionMode&&this.onChange(Ve)}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(D,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Et,$t){1&Et&&e.NdJ("input",function(jn){return $t._handleInput(jn.target.value)})("blur",function(){return $t.onTouched()})("compositionstart",function(){return $t._compositionStart()})("compositionend",function(jn){return $t._compositionEnd(jn.target.value)})},features:[e._Bn([T]),e.qOj]})}return st})();function P(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function S(st){return null!=st&&"number"==typeof st.length}const A=new e.OlP("NgValidators"),k=new e.OlP("NgAsyncValidators"),R=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class W{static min(ut){return function j(st){return ut=>{if(P(ut.value)||P(st))return null;const Ve=parseFloat(ut.value);return!isNaN(Ve)&&Ve{if(P(ut.value)||P(st))return null;const Ve=parseFloat(ut.value);return!isNaN(Ve)&&Ve>st?{max:{max:st,actual:ut.value}}:null}}(ut)}static required(ut){return Y(ut)}static requiredTrue(ut){return function G(st){return!0===st.value?null:{required:!0}}(ut)}static email(ut){return function V(st){return P(st.value)||R.test(st.value)?null:{email:!0}}(ut)}static minLength(ut){return function K(st){return ut=>P(ut.value)||!S(ut.value)?null:ut.value.lengthS(ut.value)&&ut.value.length>st?{maxlength:{requiredLength:st,actualLength:ut.value.length}}:null}function te(st){if(!st)return pe;let ut,Ve;return"string"==typeof st?(Ve="","^"!==st.charAt(0)&&(Ve+="^"),Ve+=st,"$"!==st.charAt(st.length-1)&&(Ve+="$"),ut=new RegExp(Ve)):(Ve=st.toString(),ut=st),Et=>{if(P(Et.value))return null;const $t=Et.value;return ut.test($t)?null:{pattern:{requiredPattern:Ve,actualValue:$t}}}}function pe(st){return null}function re(st){return null!=st}function De(st){return(0,e.QGY)(st)?(0,t.D)(st):st}function ae(st){let ut={};return st.forEach(Ve=>{ut=null!=Ve?{...ut,...Ve}:ut}),0===Object.keys(ut).length?null:ut}function ce(st,ut){return ut.map(Ve=>Ve(st))}function ne(st){return st.map(ut=>function X(st){return!st.validate}(ut)?ut:Ve=>ut.validate(Ve))}function le(st){if(!st)return null;const ut=st.filter(re);return 0==ut.length?null:function(Ve){return ae(ce(Ve,ut))}}function Se(st){return null!=st?le(ne(st)):null}function Ne(st){if(!st)return null;const ut=st.filter(re);return 0==ut.length?null:function(Ve){return function p(...st){const ut=(0,E.jO)(st),{args:Ve,keys:Et}=(0,l.D)(st),$t=new i.y(In=>{const{length:jn}=Ve;if(!jn)return void In.complete();const ho=new Array(jn);let Wo=jn,Fo=jn;for(let Ao=0;Ao{go||(go=!0,Fo--),ho[Ao]=Ss},()=>Wo--,void 0,()=>{(!Wo||!go)&&(Fo||In.next(Et?(0,M.n)(Et,ho):ho),In.complete())}))}});return ut?$t.pipe((0,z.Z)(ut)):$t}(ce(Ve,ut).map(De)).pipe((0,v.U)(ae))}}function ke(st){return null!=st?Ne(ne(st)):null}function oe(st,ut){return null===st?[ut]:Array.isArray(st)?[...st,ut]:[st,ut]}function _e(st){return st._rawValidators}function Q(st){return st._rawAsyncValidators}function He(st){return st?Array.isArray(st)?st:[st]:[]}function Re(st,ut){return Array.isArray(st)?st.includes(ut):st===ut}function lt(st,ut){const Ve=He(ut);return He(st).forEach($t=>{Re(Ve,$t)||Ve.push($t)}),Ve}function Pe(st,ut){return He(ut).filter(Ve=>!Re(st,Ve))}class xt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ut){this._rawValidators=ut||[],this._composedValidatorFn=Se(this._rawValidators)}_setAsyncValidators(ut){this._rawAsyncValidators=ut||[],this._composedAsyncValidatorFn=ke(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ut){this._onDestroyCallbacks.push(ut)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ut=>ut()),this._onDestroyCallbacks=[]}reset(ut=void 0){this.control&&this.control.reset(ut)}hasError(ut,Ve){return!!this.control&&this.control.hasError(ut,Ve)}getError(ut,Ve){return this.control?this.control.getError(ut,Ve):null}}class $e extends xt{get formDirective(){return null}get path(){return null}}class ot extends xt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class mt{constructor(ut){this._cd=ut}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let U=(()=>{class st extends mt{constructor(Ve){super(Ve)}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(ot,2))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Et,$t){2&Et&&e.ekj("ng-untouched",$t.isUntouched)("ng-touched",$t.isTouched)("ng-pristine",$t.isPristine)("ng-dirty",$t.isDirty)("ng-valid",$t.isValid)("ng-invalid",$t.isInvalid)("ng-pending",$t.isPending)},features:[e.qOj]})}return st})(),B=(()=>{class st extends mt{constructor(Ve){super(Ve)}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36($e,10))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Et,$t){2&Et&&e.ekj("ng-untouched",$t.isUntouched)("ng-touched",$t.isTouched)("ng-pristine",$t.isPristine)("ng-dirty",$t.isDirty)("ng-valid",$t.isValid)("ng-invalid",$t.isInvalid)("ng-pending",$t.isPending)("ng-submitted",$t.isSubmitted)},features:[e.qOj]})}return st})();const St="VALID",qe="INVALID",Fe="PENDING",fe="DISABLED";function Xe(st){return(We(st)?st.validators:st)||null}function je(st,ut){return(We(ut)?ut.asyncValidators:st)||null}function We(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}class be{constructor(ut,Ve){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ut),this._assignAsyncValidators(Ve)}get validator(){return this._composedValidatorFn}set validator(ut){this._rawValidators=this._composedValidatorFn=ut}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ut){this._rawAsyncValidators=this._composedAsyncValidatorFn=ut}get parent(){return this._parent}get valid(){return this.status===St}get invalid(){return this.status===qe}get pending(){return this.status==Fe}get disabled(){return this.status===fe}get enabled(){return this.status!==fe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ut){this._assignValidators(ut)}setAsyncValidators(ut){this._assignAsyncValidators(ut)}addValidators(ut){this.setValidators(lt(ut,this._rawValidators))}addAsyncValidators(ut){this.setAsyncValidators(lt(ut,this._rawAsyncValidators))}removeValidators(ut){this.setValidators(Pe(ut,this._rawValidators))}removeAsyncValidators(ut){this.setAsyncValidators(Pe(ut,this._rawAsyncValidators))}hasValidator(ut){return Re(this._rawValidators,ut)}hasAsyncValidator(ut){return Re(this._rawAsyncValidators,ut)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ut={}){this.touched=!0,this._parent&&!ut.onlySelf&&this._parent.markAsTouched(ut)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ut=>ut.markAllAsTouched())}markAsUntouched(ut={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ve=>{Ve.markAsUntouched({onlySelf:!0})}),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut)}markAsDirty(ut={}){this.pristine=!1,this._parent&&!ut.onlySelf&&this._parent.markAsDirty(ut)}markAsPristine(ut={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ve=>{Ve.markAsPristine({onlySelf:!0})}),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut)}markAsPending(ut={}){this.status=Fe,!1!==ut.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ut.onlySelf&&this._parent.markAsPending(ut)}disable(ut={}){const Ve=this._parentMarkedDirty(ut.onlySelf);this.status=fe,this.errors=null,this._forEachChild(Et=>{Et.disable({...ut,onlySelf:!0})}),this._updateValue(),!1!==ut.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ut,skipPristineCheck:Ve}),this._onDisabledChange.forEach(Et=>Et(!0))}enable(ut={}){const Ve=this._parentMarkedDirty(ut.onlySelf);this.status=St,this._forEachChild(Et=>{Et.enable({...ut,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent}),this._updateAncestors({...ut,skipPristineCheck:Ve}),this._onDisabledChange.forEach(Et=>Et(!1))}_updateAncestors(ut){this._parent&&!ut.onlySelf&&(this._parent.updateValueAndValidity(ut),ut.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ut){this._parent=ut}getRawValue(){return this.value}updateValueAndValidity(ut={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===St||this.status===Fe)&&this._runAsyncValidator(ut.emitEvent)),!1!==ut.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ut.onlySelf&&this._parent.updateValueAndValidity(ut)}_updateTreeValidity(ut={emitEvent:!0}){this._forEachChild(Ve=>Ve._updateTreeValidity(ut)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fe:St}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ut){if(this.asyncValidator){this.status=Fe,this._hasOwnPendingAsyncValidator=!0;const Ve=De(this.asyncValidator(this));this._asyncValidationSubscription=Ve.subscribe(Et=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Et,{emitEvent:ut})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ut,Ve={}){this.errors=ut,this._updateControlsErrors(!1!==Ve.emitEvent)}get(ut){let Ve=ut;return null==Ve||(Array.isArray(Ve)||(Ve=Ve.split(".")),0===Ve.length)?null:Ve.reduce((Et,$t)=>Et&&Et._find($t),this)}getError(ut,Ve){const Et=Ve?this.get(Ve):this;return Et&&Et.errors?Et.errors[ut]:null}hasError(ut,Ve){return!!this.getError(ut,Ve)}get root(){let ut=this;for(;ut._parent;)ut=ut._parent;return ut}_updateControlsErrors(ut){this.status=this._calculateStatus(),ut&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ut)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?fe:this.errors?qe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fe)?Fe:this._anyControlsHaveStatus(qe)?qe:St}_anyControlsHaveStatus(ut){return this._anyControls(Ve=>Ve.status===ut)}_anyControlsDirty(){return this._anyControls(ut=>ut.dirty)}_anyControlsTouched(){return this._anyControls(ut=>ut.touched)}_updatePristine(ut={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut)}_updateTouched(ut={}){this.touched=this._anyControlsTouched(),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut)}_registerOnCollectionChange(ut){this._onCollectionChange=ut}_setUpdateStrategy(ut){We(ut)&&null!=ut.updateOn&&(this._updateOn=ut.updateOn)}_parentMarkedDirty(ut){return!ut&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ut){return null}_assignValidators(ut){this._rawValidators=Array.isArray(ut)?ut.slice():ut,this._composedValidatorFn=function ge(st){return Array.isArray(st)?Se(st):st||null}(this._rawValidators)}_assignAsyncValidators(ut){this._rawAsyncValidators=Array.isArray(ut)?ut.slice():ut,this._composedAsyncValidatorFn=function Ye(st){return Array.isArray(st)?ke(st):st||null}(this._rawAsyncValidators)}}class Qe extends be{constructor(ut,Ve,Et){super(Xe(Ve),je(Et,Ve)),this.controls=ut,this._initObservables(),this._setUpdateStrategy(Ve),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ut,Ve){return this.controls[ut]?this.controls[ut]:(this.controls[ut]=Ve,Ve.setParent(this),Ve._registerOnCollectionChange(this._onCollectionChange),Ve)}addControl(ut,Ve,Et={}){this.registerControl(ut,Ve),this.updateValueAndValidity({emitEvent:Et.emitEvent}),this._onCollectionChange()}removeControl(ut,Ve={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}setControl(ut,Ve,Et={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],Ve&&this.registerControl(ut,Ve),this.updateValueAndValidity({emitEvent:Et.emitEvent}),this._onCollectionChange()}contains(ut){return this.controls.hasOwnProperty(ut)&&this.controls[ut].enabled}setValue(ut,Ve={}){(function Ee(st,ut,Ve){st._forEachChild((Et,$t)=>{if(void 0===Ve[$t])throw new e.vHH(1002,"")})})(this,0,ut),Object.keys(ut).forEach(Et=>{(function wt(st,ut,Ve){const Et=st.controls;if(!(ut?Object.keys(Et):Et).length)throw new e.vHH(1e3,"");if(!Et[Ve])throw new e.vHH(1001,"")})(this,!0,Et),this.controls[Et].setValue(ut[Et],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){null!=ut&&(Object.keys(ut).forEach(Et=>{const $t=this.controls[Et];$t&&$t.patchValue(ut[Et],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve))}reset(ut={},Ve={}){this._forEachChild((Et,$t)=>{Et.reset(ut?ut[$t]:null,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this._updatePristine(Ve),this._updateTouched(Ve),this.updateValueAndValidity(Ve)}getRawValue(){return this._reduceChildren({},(ut,Ve,Et)=>(ut[Et]=Ve.getRawValue(),ut))}_syncPendingControls(){let ut=this._reduceChildren(!1,(Ve,Et)=>!!Et._syncPendingControls()||Ve);return ut&&this.updateValueAndValidity({onlySelf:!0}),ut}_forEachChild(ut){Object.keys(this.controls).forEach(Ve=>{const Et=this.controls[Ve];Et&&ut(Et,Ve)})}_setUpControls(){this._forEachChild(ut=>{ut.setParent(this),ut._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ut){for(const[Ve,Et]of Object.entries(this.controls))if(this.contains(Ve)&&ut(Et))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ve,Et,$t)=>((Et.enabled||this.disabled)&&(Ve[$t]=Et.value),Ve))}_reduceChildren(ut,Ve){let Et=ut;return this._forEachChild(($t,In)=>{Et=Ve(Et,$t,In)}),Et}_allControlsDisabled(){for(const ut of Object.keys(this.controls))if(this.controls[ut].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ut){return this.controls.hasOwnProperty(ut)?this.controls[ut]:null}}const x=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>N}),N="always";function O(st,ut){return[...ut.path,st]}function $(st,ut,Ve=N){Dt(st,ut),ut.valueAccessor.writeValue(st.value),(st.disabled||"always"===Ve)&&ut.valueAccessor.setDisabledState?.(st.disabled),function rn(st,ut){ut.valueAccessor.registerOnChange(Ve=>{st._pendingValue=Ve,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&yn(st,ut)})}(st,ut),function Mn(st,ut){const Ve=(Et,$t)=>{ut.valueAccessor.writeValue(Et),$t&&ut.viewToModelUpdate(Et)};st.registerOnChange(Ve),ut._registerOnDestroy(()=>{st._unregisterOnChange(Ve)})}(st,ut),function hn(st,ut){ut.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&yn(st,ut),"submit"!==st.updateOn&&st.markAsTouched()})}(st,ut),function Ce(st,ut){if(ut.valueAccessor.setDisabledState){const Ve=Et=>{ut.valueAccessor.setDisabledState(Et)};st.registerOnDisabledChange(Ve),ut._registerOnDestroy(()=>{st._unregisterOnDisabledChange(Ve)})}}(st,ut)}function L(st,ut,Ve=!0){const Et=()=>{};ut.valueAccessor&&(ut.valueAccessor.registerOnChange(Et),ut.valueAccessor.registerOnTouched(Et)),Yt(st,ut),st&&(ut._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function he(st,ut){st.forEach(Ve=>{Ve.registerOnValidatorChange&&Ve.registerOnValidatorChange(ut)})}function Dt(st,ut){const Ve=_e(st);null!==ut.validator?st.setValidators(oe(Ve,ut.validator)):"function"==typeof Ve&&st.setValidators([Ve]);const Et=Q(st);null!==ut.asyncValidator?st.setAsyncValidators(oe(Et,ut.asyncValidator)):"function"==typeof Et&&st.setAsyncValidators([Et]);const $t=()=>st.updateValueAndValidity();he(ut._rawValidators,$t),he(ut._rawAsyncValidators,$t)}function Yt(st,ut){let Ve=!1;if(null!==st){if(null!==ut.validator){const $t=_e(st);if(Array.isArray($t)&&$t.length>0){const In=$t.filter(jn=>jn!==ut.validator);In.length!==$t.length&&(Ve=!0,st.setValidators(In))}}if(null!==ut.asyncValidator){const $t=Q(st);if(Array.isArray($t)&&$t.length>0){const In=$t.filter(jn=>jn!==ut.asyncValidator);In.length!==$t.length&&(Ve=!0,st.setAsyncValidators(In))}}}const Et=()=>{};return he(ut._rawValidators,Et),he(ut._rawAsyncValidators,Et),Ve}function yn(st,ut){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),ut.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function En(st,ut){Dt(st,ut)}function di(st,ut){if(!st.hasOwnProperty("model"))return!1;const Ve=st.model;return!!Ve.isFirstChange()||!Object.is(ut,Ve.currentValue)}function ai(st,ut){st._syncPendingControls(),ut.forEach(Ve=>{const Et=Ve.control;"submit"===Et.updateOn&&Et._pendingChange&&(Ve.viewToModelUpdate(Et._pendingValue),Et._pendingChange=!1)})}function ri(st,ut){if(!ut)return null;let Ve,Et,$t;return Array.isArray(ut),ut.forEach(In=>{In.constructor===y?Ve=In:function oi(st){return Object.getPrototypeOf(st.constructor)===d}(In)?Et=In:$t=In}),$t||Et||Ve||null}const li={provide:$e,useExisting:(0,e.Gpc)(()=>to)},fi=(()=>Promise.resolve())();let to=(()=>{class st extends $e{constructor(Ve,Et,$t){super(),this.callSetDisabledState=$t,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Qe({},Se(Ve),ke(Et))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ve){fi.then(()=>{const Et=this._findContainer(Ve.path);Ve.control=Et.registerControl(Ve.name,Ve.control),$(Ve.control,Ve,this.callSetDisabledState),Ve.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ve)})}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){fi.then(()=>{const Et=this._findContainer(Ve.path);Et&&Et.removeControl(Ve.name),this._directives.delete(Ve)})}addFormGroup(Ve){fi.then(()=>{const Et=this._findContainer(Ve.path),$t=new Qe({});En($t,Ve),Et.registerControl(Ve.name,$t),$t.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ve){fi.then(()=>{const Et=this._findContainer(Ve.path);Et&&Et.removeControl(Ve.name)})}getFormGroup(Ve){return this.form.get(Ve.path)}updateModel(Ve,Et){fi.then(()=>{this.form.get(Ve.path).setValue(Et)})}setValue(Ve){this.control.setValue(Ve)}onSubmit(Ve){return this.submitted=!0,ai(this.form,this._directives),this.ngSubmit.emit(Ve),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ve){return Ve.pop(),Ve.length?this.form.get(Ve):this.form}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(A,10),e.Y36(k,10),e.Y36(x,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Et,$t){1&Et&&e.NdJ("submit",function(jn){return $t.onSubmit(jn)})("reset",function(){return $t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([li]),e.qOj]})}return st})();function oo(st,ut){const Ve=st.indexOf(ut);Ve>-1&&st.splice(Ve,1)}function Zi(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const Ni=class extends be{constructor(ut=null,Ve,Et){super(Xe(Ve),je(Et,Ve)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ut),this._setUpdateStrategy(Ve),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),We(Ve)&&(Ve.nonNullable||Ve.initialValueIsDefault)&&(this.defaultValue=Zi(ut)?ut.value:ut)}setValue(ut,Ve={}){this.value=this._pendingValue=ut,this._onChange.length&&!1!==Ve.emitModelToViewChange&&this._onChange.forEach(Et=>Et(this.value,!1!==Ve.emitViewToModelChange)),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){this.setValue(ut,Ve)}reset(ut=this.defaultValue,Ve={}){this._applyFormState(ut),this.markAsPristine(Ve),this.markAsUntouched(Ve),this.setValue(this.value,Ve),this._pendingChange=!1}_updateValue(){}_anyControls(ut){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ut){this._onChange.push(ut)}_unregisterOnChange(ut){oo(this._onChange,ut)}registerOnDisabledChange(ut){this._onDisabledChange.push(ut)}_unregisterOnDisabledChange(ut){oo(this._onDisabledChange,ut)}_forEachChild(ut){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ut){Zi(ut)?(this.value=this._pendingValue=ut.value,ut.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ut}},bi={provide:ot,useExisting:(0,e.Gpc)(()=>Pi)},Ri=(()=>Promise.resolve())();let Pi=(()=>{class st extends ot{constructor(Ve,Et,$t,In,jn,ho){super(),this._changeDetectorRef=jn,this.callSetDisabledState=ho,this.control=new Ni,this._registered=!1,this.name="",this.update=new e.vpe,this._parent=Ve,this._setValidators(Et),this._setAsyncValidators($t),this.valueAccessor=ri(0,In)}ngOnChanges(Ve){if(this._checkForErrors(),!this._registered||"name"in Ve){if(this._registered&&(this._checkName(),this.formDirective)){const Et=Ve.name.previousValue;this.formDirective.removeControl({name:Et,path:this._getPath(Et)})}this._setUpControl()}"isDisabled"in Ve&&this._updateDisabled(Ve),di(Ve,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){$(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ve){Ri.then(()=>{this.control.setValue(Ve,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ve){const Et=Ve.isDisabled.currentValue,$t=0!==Et&&(0,e.VuI)(Et);Ri.then(()=>{$t&&!this.control.disabled?this.control.disable():!$t&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ve){return this._parent?O(Ve,this._parent):[Ve]}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36($e,9),e.Y36(A,10),e.Y36(k,10),e.Y36(m,10),e.Y36(e.sBO,8),e.Y36(x,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([bi]),e.qOj,e.TTD]})}return st})(),ni=(()=>{class st{static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return st})(),zt=(()=>{class st{static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275mod=e.oAB({type:st});static#n=this.\u0275inj=e.cJS({})}return st})();const On=new e.OlP("NgModelWithFormControlWarning"),mi={provide:ot,useExisting:(0,e.Gpc)(()=>bt)};let bt=(()=>{class st extends ot{set isDisabled(Ve){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ve,Et,$t,In,jn){super(),this._ngModelWarningConfig=In,this.callSetDisabledState=jn,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(Ve),this._setAsyncValidators(Et),this.valueAccessor=ri(0,$t)}ngOnChanges(Ve){if(this._isControlChanged(Ve)){const Et=Ve.form.previousValue;Et&&L(Et,this,!1),$(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}di(Ve,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&L(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}_isControlChanged(Ve){return Ve.hasOwnProperty("form")}static#t=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(A,10),e.Y36(k,10),e.Y36(m,10),e.Y36(On,8),e.Y36(x,8))};static#n=this.\u0275dir=e.lG2({type:st,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([mi]),e.qOj,e.TTD]})}return st})();const at={provide:$e,useExisting:(0,e.Gpc)(()=>Je)};let Je=(()=>{class st extends $e{constructor(Ve,Et,$t){super(),this.callSetDisabledState=$t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(Ve),this._setAsyncValidators(Et)}ngOnChanges(Ve){this._checkFormPresent(),Ve.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Yt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ve){const Et=this.form.get(Ve.path);return $(Et,Ve,this.callSetDisabledState),Et.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ve),Et}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){L(Ve.control||null,Ve,!1),function hi(st,ut){const Ve=st.indexOf(ut);Ve>-1&&st.splice(Ve,1)}(this.directives,Ve)}addFormGroup(Ve){this._setUpFormContainer(Ve)}removeFormGroup(Ve){this._cleanUpFormContainer(Ve)}getFormGroup(Ve){return this.form.get(Ve.path)}addFormArray(Ve){this._setUpFormContainer(Ve)}removeFormArray(Ve){this._cleanUpFormContainer(Ve)}getFormArray(Ve){return this.form.get(Ve.path)}updateModel(Ve,Et){this.form.get(Ve.path).setValue(Et)}onSubmit(Ve){return this.submitted=!0,ai(this.form,this.directives),this.ngSubmit.emit(Ve),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ve=>{const Et=Ve.control,$t=this.form.get(Ve.path);Et!==$t&&(L(Et||null,Ve),(st=>st instanceof Ni)($t)&&($($t,Ve,this.callSetDisabledState),Ve.control=$t))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ve){const Et=this.form.get(Ve.path);En(Et,Ve),Et.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ve){if(this.form){const Et=this.form.get(Ve.path);Et&&function Dn(st,ut){return Yt(st,ut)}(Et,Ve)&&Et.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Dt(this.form,this),this._oldForm&&Yt(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(A,10),e.Y36(k,10),e.Y36(x,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","formGroup",""]],hostBindings:function(Et,$t){1&Et&&e.NdJ("submit",function(jn){return $t.onSubmit(jn)})("reset",function(){return $t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([at]),e.qOj,e.TTD]})}return st})();const kn={provide:ot,useExisting:(0,e.Gpc)(()=>Ai)};let Ai=(()=>{class st extends ot{set isDisabled(Ve){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ve,Et,$t,In,jn){super(),this._ngModelWarningConfig=jn,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=Ve,this._setValidators(Et),this._setAsyncValidators($t),this.valueAccessor=ri(0,In)}ngOnChanges(Ve){this._added||this._setUpControl(),di(Ve,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}get path(){return O(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(Et){return new(Et||st)(e.Y36($e,13),e.Y36(A,10),e.Y36(k,10),e.Y36(m,10),e.Y36(On,8))};static#n=this.\u0275dir=e.lG2({type:st,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([kn]),e.qOj,e.TTD]})}return st})();let zo=(()=>{class st{constructor(){this._validator=pe}ngOnChanges(Ve){if(this.inputName in Ve){const Et=this.normalizeInput(Ve[this.inputName].currentValue);this._enabled=this.enabled(Et),this._validator=this._enabled?this.createValidator(Et):pe,this._onChange&&this._onChange()}}validate(Ve){return this._validator(Ve)}registerOnValidatorChange(Ve){this._onChange=Ve}enabled(Ve){return null!=Ve}static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275dir=e.lG2({type:st,features:[e.TTD]})}return st})();const us={provide:A,useExisting:(0,e.Gpc)(()=>To),multi:!0};let To=(()=>{class st extends zo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=Ve=>Y}enabled(Ve){return Ve}static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Et,$t){2&Et&&e.uIk("required",$t._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([us]),e.qOj]})}return st})();const it={provide:A,useExisting:(0,e.Gpc)(()=>Qt),multi:!0};let Qt=(()=>{class st extends zo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Ve=>function Po(st){return"number"==typeof st?st:parseInt(st,10)}(Ve),this.createValidator=Ve=>ee(Ve)}static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Et,$t){2&Et&&e.uIk("maxlength",$t._enabled?$t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[e._Bn([it]),e.qOj]})}return st})();const Z={provide:A,useExisting:(0,e.Gpc)(()=>dt),multi:!0};let dt=(()=>{class st extends zo{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=Ve=>Ve,this.createValidator=Ve=>te(Ve)}static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Et,$t){2&Et&&e.uIk("pattern",$t._enabled?$t.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([Z]),e.qOj]})}return st})(),Pn=(()=>{class st{static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275mod=e.oAB({type:st});static#n=this.\u0275inj=e.cJS({imports:[zt]})}return st})(),vs=(()=>{class st{static withConfig(Ve){return{ngModule:st,providers:[{provide:x,useValue:Ve.callSetDisabledState??N}]}}static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275mod=e.oAB({type:st});static#n=this.\u0275inj=e.cJS({imports:[Pn]})}return st})(),$o=(()=>{class st{static withConfig(Ve){return{ngModule:st,providers:[{provide:On,useValue:Ve.warnOnNgModelWithFormControl??"always"},{provide:x,useValue:Ve.callSetDisabledState??N}]}}static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275mod=e.oAB({type:st});static#n=this.\u0275inj=e.cJS({imports:[Pn]})}return st})()},6593:(tt,I,o)=>{"use strict";o.d(I,{Dx:()=>ot,H7:()=>ft,b2:()=>Re,q6:()=>oe,se:()=>R});var e=o(65879),n=o(96814);class t extends n.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class i extends t{static makeCurrent(){(0,n.HT)(new i)}onAndCancel(je,Ye,We){return je.addEventListener(Ye,We),()=>{je.removeEventListener(Ye,We)}}dispatchEvent(je,Ye){je.dispatchEvent(Ye)}remove(je){je.parentNode&&je.parentNode.removeChild(je)}createElement(je,Ye){return(Ye=Ye||this.getDefaultDocument()).createElement(je)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(je){return je.nodeType===Node.ELEMENT_NODE}isShadowRoot(je){return je instanceof DocumentFragment}getGlobalEventTarget(je,Ye){return"window"===Ye?window:"document"===Ye?je:"body"===Ye?je.body:null}getBaseHref(je){const Ye=function h(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==Ye?null:function u(ge){E=E||document.createElement("a"),E.setAttribute("href",ge);const je=E.pathname;return"/"===je.charAt(0)?je:`/${je}`}(Ye)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(je){return(0,n.Mx)(document.cookie,je)}}let E,l=null,M=(()=>{class ge{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(We){return new(We||ge)};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const p=new e.OlP("EventManagerPlugins");let v=(()=>{class ge{constructor(Ye,We){this._zone=We,this._eventNameToPlugin=new Map,Ye.forEach(wt=>{wt.manager=this}),this._plugins=Ye.slice().reverse()}addEventListener(Ye,We,wt){return this._findPluginFor(We).addEventListener(Ye,We,wt)}getZone(){return this._zone}_findPluginFor(Ye){let We=this._eventNameToPlugin.get(Ye);if(We)return We;if(We=this._plugins.find(Ee=>Ee.supports(Ye)),!We)throw new e.vHH(5101,!1);return this._eventNameToPlugin.set(Ye,We),We}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(p),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();class _{constructor(je){this._doc=je}}const d="ng-app-id";let m=(()=>{class ge{constructor(Ye,We,wt,Ee={}){this.doc=Ye,this.appId=We,this.nonce=wt,this.platformId=Ee,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,n.PM)(Ee),this.resetHostNodes()}addStyles(Ye){for(const We of Ye)1===this.changeUsageCount(We,1)&&this.onStyleAdded(We)}removeStyles(Ye){for(const We of Ye)this.changeUsageCount(We,-1)<=0&&this.onStyleRemoved(We)}ngOnDestroy(){const Ye=this.styleNodesInDOM;Ye&&(Ye.forEach(We=>We.remove()),Ye.clear());for(const We of this.getAllStyles())this.onStyleRemoved(We);this.resetHostNodes()}addHost(Ye){this.hostNodes.add(Ye);for(const We of this.getAllStyles())this.addStyleToHost(Ye,We)}removeHost(Ye){this.hostNodes.delete(Ye)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ye){for(const We of this.hostNodes)this.addStyleToHost(We,Ye)}onStyleRemoved(Ye){const We=this.styleRef;We.get(Ye)?.elements?.forEach(wt=>wt.remove()),We.delete(Ye)}collectServerRenderedStyles(){const Ye=this.doc.head?.querySelectorAll(`style[${d}="${this.appId}"]`);if(Ye?.length){const We=new Map;return Ye.forEach(wt=>{null!=wt.textContent&&We.set(wt.textContent,wt)}),We}return null}changeUsageCount(Ye,We){const wt=this.styleRef;if(wt.has(Ye)){const Ee=wt.get(Ye);return Ee.usage+=We,Ee.usage}return wt.set(Ye,{usage:We,elements:[]}),We}getStyleElement(Ye,We){const wt=this.styleNodesInDOM,Ee=wt?.get(We);if(Ee?.parentNode===Ye)return wt.delete(We),Ee.removeAttribute(d),Ee;{const be=this.doc.createElement("style");return this.nonce&&be.setAttribute("nonce",this.nonce),be.textContent=We,this.platformIsServer&&be.setAttribute(d,this.appId),be}}addStyleToHost(Ye,We){const wt=this.getStyleElement(Ye,We);Ye.appendChild(wt);const Ee=this.styleRef,be=Ee.get(We)?.elements;be?be.push(wt):Ee.set(We,{elements:[wt],usage:1})}resetHostNodes(){const Ye=this.hostNodes;Ye.clear(),Ye.add(this.doc.head)}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0),e.LFG(e.AFp),e.LFG(e.Ojb,8),e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const f={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/MathML/"},C=/%COMP%/g,T="%COMP%",b=`_nghost-${T}`,D=`_ngcontent-${T}`,P=new e.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function k(ge,je){return je.map(Ye=>Ye.replace(C,ge))}let R=(()=>{class ge{constructor(Ye,We,wt,Ee,be,Qe,Ke,Ze=null){this.eventManager=Ye,this.sharedStylesHost=We,this.appId=wt,this.removeStylesOnCompDestroy=Ee,this.doc=be,this.platformId=Qe,this.ngZone=Ke,this.nonce=Ze,this.rendererByCompId=new Map,this.platformIsServer=(0,n.PM)(Qe),this.defaultRenderer=new W(Ye,be,Ke,this.platformIsServer)}createRenderer(Ye,We){if(!Ye||!We)return this.defaultRenderer;this.platformIsServer&&We.encapsulation===e.ifc.ShadowDom&&(We={...We,encapsulation:e.ifc.Emulated});const wt=this.getOrCreateRenderer(Ye,We);return wt instanceof K?wt.applyToHost(Ye):wt instanceof V&&wt.applyStyles(),wt}getOrCreateRenderer(Ye,We){const wt=this.rendererByCompId;let Ee=wt.get(We.id);if(!Ee){const be=this.doc,Qe=this.ngZone,Ke=this.eventManager,Ze=this.sharedStylesHost,ve=this.removeStylesOnCompDestroy,nt=this.platformIsServer;switch(We.encapsulation){case e.ifc.Emulated:Ee=new K(Ke,Ze,We,this.appId,ve,be,Qe,nt);break;case e.ifc.ShadowDom:return new G(Ke,Ze,Ye,We,be,Qe,this.nonce,nt);default:Ee=new V(Ke,Ze,We,ve,be,Qe,nt)}wt.set(We.id,Ee)}return Ee}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(v),e.LFG(m),e.LFG(e.AFp),e.LFG(P),e.LFG(n.K0),e.LFG(e.Lbi),e.LFG(e.R0b),e.LFG(e.Ojb))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();class W{constructor(je,Ye,We,wt){this.eventManager=je,this.doc=Ye,this.ngZone=We,this.platformIsServer=wt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(je,Ye){return Ye?this.doc.createElementNS(f[Ye]||Ye,je):this.doc.createElement(je)}createComment(je){return this.doc.createComment(je)}createText(je){return this.doc.createTextNode(je)}appendChild(je,Ye){(Y(je)?je.content:je).appendChild(Ye)}insertBefore(je,Ye,We){je&&(Y(je)?je.content:je).insertBefore(Ye,We)}removeChild(je,Ye){je&&je.removeChild(Ye)}selectRootElement(je,Ye){let We="string"==typeof je?this.doc.querySelector(je):je;if(!We)throw new e.vHH(-5104,!1);return Ye||(We.textContent=""),We}parentNode(je){return je.parentNode}nextSibling(je){return je.nextSibling}setAttribute(je,Ye,We,wt){if(wt){Ye=wt+":"+Ye;const Ee=f[wt];Ee?je.setAttributeNS(Ee,Ye,We):je.setAttribute(Ye,We)}else je.setAttribute(Ye,We)}removeAttribute(je,Ye,We){if(We){const wt=f[We];wt?je.removeAttributeNS(wt,Ye):je.removeAttribute(`${We}:${Ye}`)}else je.removeAttribute(Ye)}addClass(je,Ye){je.classList.add(Ye)}removeClass(je,Ye){je.classList.remove(Ye)}setStyle(je,Ye,We,wt){wt&(e.JOm.DashCase|e.JOm.Important)?je.style.setProperty(Ye,We,wt&e.JOm.Important?"important":""):je.style[Ye]=We}removeStyle(je,Ye,We){We&e.JOm.DashCase?je.style.removeProperty(Ye):je.style[Ye]=""}setProperty(je,Ye,We){je[Ye]=We}setValue(je,Ye){je.nodeValue=Ye}listen(je,Ye,We){if("string"==typeof je&&!(je=(0,n.q)().getGlobalEventTarget(this.doc,je)))throw new Error(`Unsupported event target ${je} for event ${Ye}`);return this.eventManager.addEventListener(je,Ye,this.decoratePreventDefault(We))}decoratePreventDefault(je){return Ye=>{if("__ngUnwrap__"===Ye)return je;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>je(Ye)):je(Ye))&&Ye.preventDefault()}}}function Y(ge){return"TEMPLATE"===ge.tagName&&void 0!==ge.content}class G extends W{constructor(je,Ye,We,wt,Ee,be,Qe,Ke){super(je,Ee,be,Ke),this.sharedStylesHost=Ye,this.hostEl=We,this.shadowRoot=We.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ze=k(wt.id,wt.styles);for(const ve of Ze){const nt=document.createElement("style");Qe&&nt.setAttribute("nonce",Qe),nt.textContent=ve,this.shadowRoot.appendChild(nt)}}nodeOrShadowRoot(je){return je===this.hostEl?this.shadowRoot:je}appendChild(je,Ye){return super.appendChild(this.nodeOrShadowRoot(je),Ye)}insertBefore(je,Ye,We){return super.insertBefore(this.nodeOrShadowRoot(je),Ye,We)}removeChild(je,Ye){return super.removeChild(this.nodeOrShadowRoot(je),Ye)}parentNode(je){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(je)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class V extends W{constructor(je,Ye,We,wt,Ee,be,Qe,Ke){super(je,Ee,be,Qe),this.sharedStylesHost=Ye,this.removeStylesOnCompDestroy=wt,this.styles=Ke?k(Ke,We.styles):We.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class K extends V{constructor(je,Ye,We,wt,Ee,be,Qe,Ke){const Ze=wt+"-"+We.id;super(je,Ye,We,Ee,be,Qe,Ke,Ze),this.contentAttr=function S(ge){return D.replace(C,ge)}(Ze),this.hostAttr=function A(ge){return b.replace(C,ge)}(Ze)}applyToHost(je){this.applyStyles(),this.setAttribute(je,this.hostAttr,"")}createElement(je,Ye){const We=super.createElement(je,Ye);return super.setAttribute(We,this.contentAttr,""),We}}let ee=(()=>{class ge extends _{constructor(Ye){super(Ye)}supports(Ye){return!0}addEventListener(Ye,We,wt){return Ye.addEventListener(We,wt,!1),()=>this.removeEventListener(Ye,We,wt)}removeEventListener(Ye,We,wt){return Ye.removeEventListener(We,wt)}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const te=["alt","control","meta","shift"],pe={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},re={alt:ge=>ge.altKey,control:ge=>ge.ctrlKey,meta:ge=>ge.metaKey,shift:ge=>ge.shiftKey};let De=(()=>{class ge extends _{constructor(Ye){super(Ye)}supports(Ye){return null!=ge.parseEventName(Ye)}addEventListener(Ye,We,wt){const Ee=ge.parseEventName(We),be=ge.eventCallback(Ee.fullKey,wt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.q)().onAndCancel(Ye,Ee.domEventName,be))}static parseEventName(Ye){const We=Ye.toLowerCase().split("."),wt=We.shift();if(0===We.length||"keydown"!==wt&&"keyup"!==wt)return null;const Ee=ge._normalizeKey(We.pop());let be="",Qe=We.indexOf("code");if(Qe>-1&&(We.splice(Qe,1),be="code."),te.forEach(Ze=>{const ve=We.indexOf(Ze);ve>-1&&(We.splice(ve,1),be+=Ze+".")}),be+=Ee,0!=We.length||0===Ee.length)return null;const Ke={};return Ke.domEventName=wt,Ke.fullKey=be,Ke}static matchEventFullKeyCode(Ye,We){let wt=pe[Ye.key]||Ye.key,Ee="";return We.indexOf("code.")>-1&&(wt=Ye.code,Ee="code."),!(null==wt||!wt)&&(wt=wt.toLowerCase()," "===wt?wt="space":"."===wt&&(wt="dot"),te.forEach(be=>{be!==wt&&(0,re[be])(Ye)&&(Ee+=be+".")}),Ee+=wt,Ee===We)}static eventCallback(Ye,We,wt){return Ee=>{ge.matchEventFullKeyCode(Ee,Ye)&&wt.runGuarded(()=>We(Ee))}}static _normalizeKey(Ye){return"esc"===Ye?"escape":Ye}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const oe=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:n.bD},{provide:e.g9A,useValue:function le(){i.makeCurrent()},multi:!0},{provide:n.K0,useFactory:function Ne(){return(0,e.RDi)(document),document},deps:[]}]),_e=new e.OlP(""),Q=[{provide:e.rWj,useClass:class z{addToWindow(je){e.dqk.getAngularTestability=(We,wt=!0)=>{const Ee=je.findTestabilityInTree(We,wt);if(null==Ee)throw new e.vHH(5103,!1);return Ee},e.dqk.getAllAngularTestabilities=()=>je.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>je.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(We=>{const wt=e.dqk.getAllAngularTestabilities();let Ee=wt.length,be=!1;const Qe=function(Ke){be=be||Ke,Ee--,0==Ee&&We(be)};wt.forEach(Ke=>{Ke.whenStable(Qe)})})}findTestabilityInTree(je,Ye,We){return null==Ye?null:je.getTestability(Ye)??(We?(0,n.q)().isShadowRoot(Ye)?this.findTestabilityInTree(je,Ye.host,!0):this.findTestabilityInTree(je,Ye.parentElement,!0):null)}},deps:[]},{provide:e.lri,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]},{provide:e.dDg,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]}],He=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function Se(){return new e.qLn},deps:[]},{provide:p,useClass:ee,multi:!0,deps:[n.K0,e.R0b,e.Lbi]},{provide:p,useClass:De,multi:!0,deps:[n.K0]},R,m,v,{provide:e.FYo,useExisting:R},{provide:n.JF,useClass:M,deps:[]},[]];let Re=(()=>{class ge{constructor(Ye){}static withServerTransition(Ye){return{ngModule:ge,providers:[{provide:e.AFp,useValue:Ye.appId}]}}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(_e,12))};static#t=this.\u0275mod=e.oAB({type:ge});static#n=this.\u0275inj=e.cJS({providers:[...He,...Q],imports:[n.ez,e.hGG]})}return ge})(),ot=(()=>{class ge{constructor(Ye){this._doc=Ye}getTitle(){return this._doc.title}setTitle(Ye){this._doc.title=Ye||""}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:function(We){let wt=null;return wt=We?new We:function $e(){return new ot((0,e.LFG)(n.K0))}(),wt},providedIn:"root"})}return ge})();typeof window<"u"&&window;let ft=(()=>{class ge{static#e=this.\u0275fac=function(We){return new(We||ge)};static#t=this.\u0275prov=e.Yz7({token:ge,factory:function(We){let wt=null;return wt=We?new(We||ge):e.LFG(Ie),wt},providedIn:"root"})}return ge})(),Ie=(()=>{class ge extends ft{constructor(Ye){super(),this._doc=Ye}sanitize(Ye,We){if(null==We)return null;switch(Ye){case e.q3G.NONE:return We;case e.q3G.HTML:return(0,e.qzn)(We,"HTML")?(0,e.z3N)(We):(0,e.EiD)(this._doc,String(We)).toString();case e.q3G.STYLE:return(0,e.qzn)(We,"Style")?(0,e.z3N)(We):We;case e.q3G.SCRIPT:if((0,e.qzn)(We,"Script"))return(0,e.z3N)(We);throw new e.vHH(5200,!1);case e.q3G.URL:return(0,e.qzn)(We,"URL")?(0,e.z3N)(We):(0,e.mCW)(String(We));case e.q3G.RESOURCE_URL:if((0,e.qzn)(We,"ResourceURL"))return(0,e.z3N)(We);throw new e.vHH(5201,!1);default:throw new e.vHH(5202,!1)}}bypassSecurityTrustHtml(Ye){return(0,e.JVY)(Ye)}bypassSecurityTrustStyle(Ye){return(0,e.L6k)(Ye)}bypassSecurityTrustScript(Ye){return(0,e.eBb)(Ye)}bypassSecurityTrustUrl(Ye){return(0,e.LAX)(Ye)}bypassSecurityTrustResourceUrl(Ye){return(0,e.pB0)(Ye)}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:function(We){let wt=null;return wt=We?new We:function gt(ge){return new Ie(ge.get(n.K0))}(e.LFG(e.zs3)),wt},providedIn:"root"})}return ge})()},52787:(tt,I,o)=>{"use strict";o.d(I,{gz:()=>It,gk:()=>ai,m2:()=>oi,Q3:()=>hi,OD:()=>di,eC:()=>ne,cx:()=>Gn,GH:()=>Ni,xV:()=>Zi,F0:()=>pi,rH:()=>Js,Od:()=>ur,Bz:()=>Ms,lC:()=>Rt});var e=o(65879),n=o(2664),t=o(7715),i=o(22096),l=o(65619),h=o(52572),E=o(46973),u=o(35211),z=o(74911),M=o(88407),p=o(58504),v=o(36232),_=o(93168),d=o(78645),m=o(47394),f=o(96814),C=o(37398),T=o(94664),b=o(48180),D=o(27921),y=o(32181),P=o(21631),S=o(81374),A=o(76328),k=o(99397),R=o(26306),W=o(79360),j=o(8251);var G=o(43572);function V(ue){return ue<=0?()=>v.E:(0,W.e)((xe,ie)=>{let Oe=[];xe.subscribe((0,j.x)(ie,et=>{Oe.push(et),ue{for(const et of Oe)ie.next(et);ie.complete()},void 0,()=>{Oe=null}))})}var K=o(3026),ee=o(42737),pe=o(21441),re=o(64716),De=o(66196),ae=o(59773),ce=o(57537),X=o(6593);const ne="primary",le=Symbol("RouteTitle");class Se{constructor(xe){this.params=xe||{}}has(xe){return Object.prototype.hasOwnProperty.call(this.params,xe)}get(xe){if(this.has(xe)){const ie=this.params[xe];return Array.isArray(ie)?ie[0]:ie}return null}getAll(xe){if(this.has(xe)){const ie=this.params[xe];return Array.isArray(ie)?ie:[ie]}return[]}get keys(){return Object.keys(this.params)}}function Ne(ue){return new Se(ue)}function ke(ue,xe,ie){const Oe=ie.path.split("/");if(Oe.length>ue.length||"full"===ie.pathMatch&&(xe.hasChildren()||Oe.lengthOe[Tt]===et)}return ue===xe}function He(ue){return ue.length>0?ue[ue.length-1]:null}function Re(ue){return(0,n.b)(ue)?ue:(0,e.QGY)(ue)?(0,t.D)(Promise.resolve(ue)):(0,i.of)(ue)}const lt={exact:function ot(ue,xe,ie){if(!ht(ue.segments,xe.segments)||!U(ue.segments,xe.segments,ie)||ue.numberOfChildren!==xe.numberOfChildren)return!1;for(const Oe in xe.children)if(!ue.children[Oe]||!ot(ue.children[Oe],xe.children[Oe],ie))return!1;return!0},subset:we},Pe={exact:function $e(ue,xe){return _e(ue,xe)},subset:function mt(ue,xe){return Object.keys(xe).length<=Object.keys(ue).length&&Object.keys(xe).every(ie=>Q(ue[ie],xe[ie]))},ignored:()=>!0};function xt(ue,xe,ie){return lt[ie.paths](ue.root,xe.root,ie.matrixParams)&&Pe[ie.queryParams](ue.queryParams,xe.queryParams)&&!("exact"===ie.fragment&&ue.fragment!==xe.fragment)}function we(ue,xe,ie){return de(ue,xe,xe.segments,ie)}function de(ue,xe,ie,Oe){if(ue.segments.length>ie.length){const et=ue.segments.slice(0,ie.length);return!(!ht(et,ie)||xe.hasChildren()||!U(et,ie,Oe))}if(ue.segments.length===ie.length){if(!ht(ue.segments,ie)||!U(ue.segments,ie,Oe))return!1;for(const et in xe.children)if(!ue.children[et]||!we(ue.children[et],xe.children[et],Oe))return!1;return!0}{const et=ie.slice(0,ue.segments.length),Tt=ie.slice(ue.segments.length);return!!(ht(ue.segments,et)&&U(ue.segments,et,Oe)&&ue.children[ne])&&de(ue.children[ne],xe,Tt,Oe)}}function U(ue,xe,ie){return xe.every((Oe,et)=>Pe[ie](ue[et].parameters,Oe.parameters))}class B{constructor(xe=new Me([],{}),ie={},Oe=null){this.root=xe,this.queryParams=ie,this.fragment=Oe}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return qt.serialize(this)}}class Me{constructor(xe,ie){this.segments=xe,this.children=ie,this.parent=null,Object.values(ie).forEach(Oe=>Oe.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return en(this)}}class Ae{constructor(xe,ie){this.path=xe,this.parameters=ie}get parameterMap(){return this._parameterMap||(this._parameterMap=Ne(this.parameters)),this._parameterMap}toString(){return kt(this)}}function ht(ue,xe){return ue.length===xe.length&&ue.every((ie,Oe)=>ie.path===xe[Oe].path)}let Lt=(()=>{class ue{static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:function(){return new Wt},providedIn:"root"})}return ue})();class Wt{parse(xe){const ie=new Ee(xe);return new B(ie.parseRootSegment(),ie.parseQueryParams(),ie.parseFragment())}serialize(xe){const ie=`/${Vt(xe.root,!0)}`,Oe=function qe(ue){const xe=Object.keys(ue).map(ie=>{const Oe=ue[ie];return Array.isArray(Oe)?Oe.map(et=>`${ft(ie)}=${ft(et)}`).join("&"):`${ft(ie)}=${ft(Oe)}`}).filter(ie=>!!ie);return xe.length?`?${xe.join("&")}`:""}(xe.queryParams);return`${ie}${Oe}${"string"==typeof xe.fragment?`#${function gt(ue){return encodeURI(ue)}(xe.fragment)}`:""}`}}const qt=new Wt;function en(ue){return ue.segments.map(xe=>kt(xe)).join("/")}function Vt(ue,xe){if(!ue.hasChildren())return en(ue);if(xe){const ie=ue.children[ne]?Vt(ue.children[ne],!1):"",Oe=[];return Object.entries(ue.children).forEach(([et,Tt])=>{et!==ne&&Oe.push(`${et}:${Vt(Tt,!1)}`)}),Oe.length>0?`${ie}(${Oe.join("//")})`:ie}{const ie=function Ot(ue,xe){let ie=[];return Object.entries(ue.children).forEach(([Oe,et])=>{Oe===ne&&(ie=ie.concat(xe(et,Oe)))}),Object.entries(ue.children).forEach(([Oe,et])=>{Oe!==ne&&(ie=ie.concat(xe(et,Oe)))}),ie}(ue,(Oe,et)=>et===ne?[Vt(ue.children[ne],!1)]:[`${et}:${Vt(Oe,!1)}`]);return 1===Object.keys(ue.children).length&&null!=ue.children[ne]?`${en(ue)}/${ie[0]}`:`${en(ue)}/(${ie.join("//")})`}}function cn(ue){return encodeURIComponent(ue).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ft(ue){return cn(ue).replace(/%3B/gi,";")}function Ie(ue){return cn(ue).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ct(ue){return decodeURIComponent(ue)}function Nt(ue){return Ct(ue.replace(/\+/g,"%20"))}function kt(ue){return`${Ie(ue.path)}${function St(ue){return Object.keys(ue).map(xe=>`;${Ie(xe)}=${Ie(ue[xe])}`).join("")}(ue.parameters)}`}const Fe=/^[^\/()?;#]+/;function fe(ue){const xe=ue.match(Fe);return xe?xe[0]:""}const Xe=/^[^\/()?;=#]+/,je=/^[^=?&#]+/,We=/^[^&#]+/;class Ee{constructor(xe){this.url=xe,this.remaining=xe}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Me([],{}):new Me([],this.parseChildren())}parseQueryParams(){const xe={};if(this.consumeOptional("?"))do{this.parseQueryParam(xe)}while(this.consumeOptional("&"));return xe}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const xe=[];for(this.peekStartsWith("(")||xe.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),xe.push(this.parseSegment());let ie={};this.peekStartsWith("/(")&&(this.capture("/"),ie=this.parseParens(!0));let Oe={};return this.peekStartsWith("(")&&(Oe=this.parseParens(!1)),(xe.length>0||Object.keys(ie).length>0)&&(Oe[ne]=new Me(xe,ie)),Oe}parseSegment(){const xe=fe(this.remaining);if(""===xe&&this.peekStartsWith(";"))throw new e.vHH(4009,!1);return this.capture(xe),new Ae(Ct(xe),this.parseMatrixParams())}parseMatrixParams(){const xe={};for(;this.consumeOptional(";");)this.parseParam(xe);return xe}parseParam(xe){const ie=function ge(ue){const xe=ue.match(Xe);return xe?xe[0]:""}(this.remaining);if(!ie)return;this.capture(ie);let Oe="";if(this.consumeOptional("=")){const et=fe(this.remaining);et&&(Oe=et,this.capture(Oe))}xe[Ct(ie)]=Ct(Oe)}parseQueryParam(xe){const ie=function Ye(ue){const xe=ue.match(je);return xe?xe[0]:""}(this.remaining);if(!ie)return;this.capture(ie);let Oe="";if(this.consumeOptional("=")){const Ft=function wt(ue){const xe=ue.match(We);return xe?xe[0]:""}(this.remaining);Ft&&(Oe=Ft,this.capture(Oe))}const et=Nt(ie),Tt=Nt(Oe);if(xe.hasOwnProperty(et)){let Ft=xe[et];Array.isArray(Ft)||(Ft=[Ft],xe[et]=Ft),Ft.push(Tt)}else xe[et]=Tt}parseParens(xe){const ie={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Oe=fe(this.remaining),et=this.remaining[Oe.length];if("/"!==et&&")"!==et&&";"!==et)throw new e.vHH(4010,!1);let Tt;Oe.indexOf(":")>-1?(Tt=Oe.slice(0,Oe.indexOf(":")),this.capture(Tt),this.capture(":")):xe&&(Tt=ne);const Ft=this.parseChildren();ie[Tt]=1===Object.keys(Ft).length?Ft[ne]:new Me([],Ft),this.consumeOptional("//")}return ie}peekStartsWith(xe){return this.remaining.startsWith(xe)}consumeOptional(xe){return!!this.peekStartsWith(xe)&&(this.remaining=this.remaining.substring(xe.length),!0)}capture(xe){if(!this.consumeOptional(xe))throw new e.vHH(4011,!1)}}function be(ue){return ue.segments.length>0?new Me([],{[ne]:ue}):ue}function Qe(ue){const xe={};for(const Oe of Object.keys(ue.children)){const Tt=Qe(ue.children[Oe]);if(Oe===ne&&0===Tt.segments.length&&Tt.hasChildren())for(const[Ft,on]of Object.entries(Tt.children))xe[Ft]=on;else(Tt.segments.length>0||Tt.hasChildren())&&(xe[Oe]=Tt)}return function Ke(ue){if(1===ue.numberOfChildren&&ue.children[ne]){const xe=ue.children[ne];return new Me(ue.segments.concat(xe.segments),xe.children)}return ue}(new Me(ue.segments,xe))}function Ze(ue){return ue instanceof B}function nt(ue){let xe;const et=be(function ie(Tt){const Ft={};for(const tn of Tt.children){const bn=ie(tn);Ft[tn.outlet]=bn}const on=new Me(Tt.url,Ft);return Tt===ue&&(xe=on),on}(ue.root));return xe??et}function x(ue,xe,ie,Oe){let et=ue;for(;et.parent;)et=et.parent;if(0===xe.length)return $(et,et,et,ie,Oe);const Tt=function Ce(ue){if("string"==typeof ue[0]&&1===ue.length&&"/"===ue[0])return new he(!0,0,ue);let xe=0,ie=!1;const Oe=ue.reduce((et,Tt,Ft)=>{if("object"==typeof Tt&&null!=Tt){if(Tt.outlets){const on={};return Object.entries(Tt.outlets).forEach(([tn,bn])=>{on[tn]="string"==typeof bn?bn.split("/"):bn}),[...et,{outlets:on}]}if(Tt.segmentPath)return[...et,Tt.segmentPath]}return"string"!=typeof Tt?[...et,Tt]:0===Ft?(Tt.split("/").forEach((on,tn)=>{0==tn&&"."===on||(0==tn&&""===on?ie=!0:".."===on?xe++:""!=on&&et.push(on))}),et):[...et,Tt]},[]);return new he(ie,xe,Oe)}(xe);if(Tt.toRoot())return $(et,et,new Me([],{}),ie,Oe);const Ft=function Yt(ue,xe,ie){if(ue.isAbsolute)return new Dt(xe,!0,0);if(!ie)return new Dt(xe,!1,NaN);if(null===ie.parent)return new Dt(ie,!0,0);const Oe=N(ue.commands[0])?0:1;return function rn(ue,xe,ie){let Oe=ue,et=xe,Tt=ie;for(;Tt>et;){if(Tt-=et,Oe=Oe.parent,!Oe)throw new e.vHH(4005,!1);et=Oe.segments.length}return new Dt(Oe,!1,et-Tt)}(ie,ie.segments.length-1+Oe,ue.numberOfDoubleDots)}(Tt,et,ue),on=Ft.processChildren?Mn(Ft.segmentGroup,Ft.index,Tt.commands):yn(Ft.segmentGroup,Ft.index,Tt.commands);return $(et,Ft.segmentGroup,on,ie,Oe)}function N(ue){return"object"==typeof ue&&null!=ue&&!ue.outlets&&!ue.segmentPath}function O(ue){return"object"==typeof ue&&null!=ue&&ue.outlets}function $(ue,xe,ie,Oe,et){let Ft,Tt={};Oe&&Object.entries(Oe).forEach(([tn,bn])=>{Tt[tn]=Array.isArray(bn)?bn.map(ti=>`${ti}`):`${bn}`}),Ft=ue===xe?ie:L(ue,xe,ie);const on=be(Qe(Ft));return new B(on,Tt,et)}function L(ue,xe,ie){const Oe={};return Object.entries(ue.children).forEach(([et,Tt])=>{Oe[et]=Tt===xe?ie:L(Tt,xe,ie)}),new Me(ue.segments,Oe)}class he{constructor(xe,ie,Oe){if(this.isAbsolute=xe,this.numberOfDoubleDots=ie,this.commands=Oe,xe&&Oe.length>0&&N(Oe[0]))throw new e.vHH(4003,!1);const et=Oe.find(O);if(et&&et!==He(Oe))throw new e.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Dt{constructor(xe,ie,Oe){this.segmentGroup=xe,this.processChildren=ie,this.index=Oe}}function yn(ue,xe,ie){if(ue||(ue=new Me([],{})),0===ue.segments.length&&ue.hasChildren())return Mn(ue,xe,ie);const Oe=function En(ue,xe,ie){let Oe=0,et=xe;const Tt={match:!1,pathIndex:0,commandIndex:0};for(;et=ie.length)return Tt;const Ft=ue.segments[et],on=ie[Oe];if(O(on))break;const tn=`${on}`,bn=Oe0&&void 0===tn)break;if(tn&&bn&&"object"==typeof bn&&void 0===bn.outlets){if(!ei(tn,bn,Ft))return Tt;Oe+=2}else{if(!ei(tn,{},Ft))return Tt;Oe++}et++}return{match:!0,pathIndex:et,commandIndex:Oe}}(ue,xe,ie),et=ie.slice(Oe.commandIndex);if(Oe.match&&Oe.pathIndexTt!==ne)&&ue.children[ne]&&1===ue.numberOfChildren&&0===ue.children[ne].segments.length){const Tt=Mn(ue.children[ne],xe,ie);return new Me(ue.segments,Tt.children)}return Object.entries(Oe).forEach(([Tt,Ft])=>{"string"==typeof Ft&&(Ft=[Ft]),null!==Ft&&(et[Tt]=yn(ue.children[Tt],xe,Ft))}),Object.entries(ue.children).forEach(([Tt,Ft])=>{void 0===Oe[Tt]&&(et[Tt]=Ft)}),new Me(ue.segments,et)}}function Dn(ue,xe,ie){const Oe=ue.segments.slice(0,xe);let et=0;for(;et{"string"==typeof Oe&&(Oe=[Oe]),null!==Oe&&(xe[ie]=Dn(new Me([],{}),0,Oe))}),xe}function Ln(ue){const xe={};return Object.entries(ue).forEach(([ie,Oe])=>xe[ie]=`${Oe}`),xe}function ei(ue,xe,ie){return ue==ie.path&&_e(xe,ie.parameters)}const ii="imperative";class Hn{constructor(xe,ie){this.id=xe,this.url=ie}}class di extends Hn{constructor(xe,ie,Oe="imperative",et=null){super(xe,ie),this.type=0,this.navigationTrigger=Oe,this.restoredState=et}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class oi extends Hn{constructor(xe,ie,Oe){super(xe,ie),this.urlAfterRedirects=Oe,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ai extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.reason=Oe,this.code=et,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ri extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.reason=Oe,this.code=et,this.type=16}}class hi extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.error=Oe,this.target=et,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ti extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class li extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fi extends Hn{constructor(xe,ie,Oe,et,Tt){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.shouldActivate=Tt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class to extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oo extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zi{constructor(xe){this.route=xe,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ni{constructor(xe){this.route=xe,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ki{constructor(xe){this.snapshot=xe,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $i{constructor(xe){this.snapshot=xe,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class no{constructor(xe){this.snapshot=xe,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Eo{constructor(xe){this.snapshot=xe,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wi{constructor(xe,ie,Oe){this.routerEvent=xe,this.position=ie,this.anchor=Oe,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ji{}class Di{constructor(xe){this.url=xe}}class Xi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new bi,this.attachRef=null}}let bi=(()=>{class ue{constructor(){this.contexts=new Map}onChildOutletCreated(ie,Oe){const et=this.getOrCreateContext(ie);et.outlet=Oe,this.contexts.set(ie,et)}onChildOutletDestroyed(ie){const Oe=this.getContext(ie);Oe&&(Oe.outlet=null,Oe.attachRef=null)}onOutletDeactivated(){const ie=this.contexts;return this.contexts=new Map,ie}onOutletReAttached(ie){this.contexts=ie}getOrCreateContext(ie){let Oe=this.getContext(ie);return Oe||(Oe=new Xi,this.contexts.set(ie,Oe)),Oe}getContext(ie){return this.contexts.get(ie)||null}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();class Ri{constructor(xe){this._root=xe}get root(){return this._root.value}parent(xe){const ie=this.pathFromRoot(xe);return ie.length>1?ie[ie.length-2]:null}children(xe){const ie=Pi(xe,this._root);return ie?ie.children.map(Oe=>Oe.value):[]}firstChild(xe){const ie=Pi(xe,this._root);return ie&&ie.children.length>0?ie.children[0].value:null}siblings(xe){const ie=ni(xe,this._root);return ie.length<2?[]:ie[ie.length-2].children.map(et=>et.value).filter(et=>et!==xe)}pathFromRoot(xe){return ni(xe,this._root).map(ie=>ie.value)}}function Pi(ue,xe){if(ue===xe.value)return xe;for(const ie of xe.children){const Oe=Pi(ue,ie);if(Oe)return Oe}return null}function ni(ue,xe){if(ue===xe.value)return[xe];for(const ie of xe.children){const Oe=ni(ue,ie);if(Oe.length)return Oe.unshift(xe),Oe}return[]}class Vn{constructor(xe,ie){this.value=xe,this.children=ie}toString(){return`TreeNode(${this.value})`}}function Mt(ue){const xe={};return ue&&ue.children.forEach(ie=>xe[ie.value.outlet]=ie),xe}class gn extends Ri{constructor(xe,ie){super(xe),this.snapshot=ie,mi(this,xe)}toString(){return this.snapshot.toString()}}function rt(ue,xe){const ie=function zt(ue,xe){const Ft=new Fn([],{},{},"",{},ne,xe,null,{});return new On("",new Vn(Ft,[]))}(0,xe),Oe=new l.X([new Ae("",{})]),et=new l.X({}),Tt=new l.X({}),Ft=new l.X({}),on=new l.X(""),tn=new It(Oe,et,Ft,on,Tt,ne,xe,ie.root);return tn.snapshot=ie.root,new gn(new Vn(tn,[]),ie)}class It{constructor(xe,ie,Oe,et,Tt,Ft,on,tn){this.urlSubject=xe,this.paramsSubject=ie,this.queryParamsSubject=Oe,this.fragmentSubject=et,this.dataSubject=Tt,this.outlet=Ft,this.component=on,this._futureSnapshot=tn,this.title=this.dataSubject?.pipe((0,C.U)(bn=>bn[le]))??(0,i.of)(void 0),this.url=xe,this.params=ie,this.queryParams=Oe,this.fragment=et,this.data=Tt}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._paramMap=this.params.pipe((0,C.U)(xe=>Ne(xe)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,C.U)(xe=>Ne(xe)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xt(ue,xe="emptyOnly"){const ie=ue.pathFromRoot;let Oe=0;if("always"!==xe)for(Oe=ie.length-1;Oe>=1;){const et=ie[Oe],Tt=ie[Oe-1];if(et.routeConfig&&""===et.routeConfig.path)Oe--;else{if(Tt.component)break;Oe--}}return function _n(ue){return ue.reduce((xe,ie)=>({params:{...xe.params,...ie.params},data:{...xe.data,...ie.data},resolve:{...ie.data,...xe.resolve,...ie.routeConfig?.data,...ie._resolvedData}}),{params:{},data:{},resolve:{}})}(ie.slice(Oe))}class Fn{get title(){return this.data?.[le]}constructor(xe,ie,Oe,et,Tt,Ft,on,tn,bn){this.url=xe,this.params=ie,this.queryParams=Oe,this.fragment=et,this.data=Tt,this.outlet=Ft,this.component=on,this.routeConfig=tn,this._resolve=bn}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._paramMap=Ne(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Oe=>Oe.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class On extends Ri{constructor(xe,ie){super(ie),this.url=xe,mi(this,ie)}toString(){return bt(this._root)}}function mi(ue,xe){xe.value._routerState=ue,xe.children.forEach(ie=>mi(ue,ie))}function bt(ue){const xe=ue.children.length>0?` { ${ue.children.map(bt).join(", ")} } `:"";return`${ue.value}${xe}`}function at(ue){if(ue.snapshot){const xe=ue.snapshot,ie=ue._futureSnapshot;ue.snapshot=ie,_e(xe.queryParams,ie.queryParams)||ue.queryParamsSubject.next(ie.queryParams),xe.fragment!==ie.fragment&&ue.fragmentSubject.next(ie.fragment),_e(xe.params,ie.params)||ue.paramsSubject.next(ie.params),function oe(ue,xe){if(ue.length!==xe.length)return!1;for(let ie=0;ie_e(ie.parameters,xe[Oe].parameters))}(ue.url,xe.url);return ie&&!(!ue.parent!=!xe.parent)&&(!ue.parent||Je(ue.parent,xe.parent))}let Rt=(()=>{class ue{constructor(){this.activated=null,this._activatedRoute=null,this.name=ne,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(bi),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb),this.inputBinder=(0,e.f3M)(ln,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(ie){if(ie.name){const{firstChange:Oe,previousValue:et}=ie.name;if(Oe)return;this.isTrackedInParentContexts(et)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(et)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(ie){return this.parentContexts.getContext(ie)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ie=this.parentContexts.getContext(this.name);ie?.route&&(ie.attachRef?this.attach(ie.attachRef,ie.route):this.activateWith(ie.route,ie.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,!1);this.location.detach();const ie=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ie.instance),ie}attach(ie,Oe){this.activated=ie,this._activatedRoute=Oe,this.location.insert(ie.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ie.instance)}deactivate(){if(this.activated){const ie=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ie)}}activateWith(ie,Oe){if(this.isActivated)throw new e.vHH(4013,!1);this._activatedRoute=ie;const et=this.location,Ft=ie.snapshot.component,on=this.parentContexts.getOrCreateContext(this.name).children,tn=new Kt(ie,on,et.injector);this.activated=et.createComponent(Ft,{index:et.length,injector:tn,environmentInjector:Oe??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275dir=e.lG2({type:ue,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]})}return ue})();class Kt{constructor(xe,ie,Oe){this.route=xe,this.childContexts=ie,this.parent=Oe}get(xe,ie){return xe===It?this.route:xe===bi?this.childContexts:this.parent.get(xe,ie)}}const ln=new e.OlP("");let mn=(()=>{class ue{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(ie){this.unsubscribeFromRouteData(ie),this.subscribeToRouteData(ie)}unsubscribeFromRouteData(ie){this.outletDataSubscriptions.get(ie)?.unsubscribe(),this.outletDataSubscriptions.delete(ie)}subscribeToRouteData(ie){const{activatedRoute:Oe}=ie,et=(0,h.a)([Oe.queryParams,Oe.params,Oe.data]).pipe((0,T.w)(([Tt,Ft,on],tn)=>(on={...Tt,...Ft,...on},0===tn?(0,i.of)(on):Promise.resolve(on)))).subscribe(Tt=>{if(!ie.isActivated||!ie.activatedComponentRef||ie.activatedRoute!==Oe||null===Oe.component)return void this.unsubscribeFromRouteData(ie);const Ft=(0,e.qFp)(Oe.component);if(Ft)for(const{templateName:on}of Ft.inputs)ie.activatedComponentRef.setInput(on,Tt[on]);else this.unsubscribeFromRouteData(ie)});this.outletDataSubscriptions.set(ie,et)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac})}return ue})();function kn(ue,xe,ie){if(ie&&ue.shouldReuseRoute(xe.value,ie.value.snapshot)){const Oe=ie.value;Oe._futureSnapshot=xe.value;const et=function Ai(ue,xe,ie){return xe.children.map(Oe=>{for(const et of ie.children)if(ue.shouldReuseRoute(Oe.value,et.value.snapshot))return kn(ue,Oe,et);return kn(ue,Oe)})}(ue,xe,ie);return new Vn(Oe,et)}{if(ue.shouldAttach(xe.value)){const Tt=ue.retrieve(xe.value);if(null!==Tt){const Ft=Tt.route;return Ft.value._futureSnapshot=xe.value,Ft.children=xe.children.map(on=>kn(ue,on)),Ft}}const Oe=function so(ue){return new It(new l.X(ue.url),new l.X(ue.params),new l.X(ue.queryParams),new l.X(ue.fragment),new l.X(ue.data),ue.outlet,ue.component,ue)}(xe.value),et=xe.children.map(Tt=>kn(ue,Tt));return new Vn(Oe,et)}}const Nn="ngNavigationCancelingError";function Ro(ue,xe){const{redirectTo:ie,navigationBehaviorOptions:Oe}=Ze(xe)?{redirectTo:xe,navigationBehaviorOptions:void 0}:xe,et=Do(!1,0,xe);return et.url=ie,et.navigationBehaviorOptions=Oe,et}function Do(ue,xe,ie){const Oe=new Error("NavigationCancelingError: "+(ue||""));return Oe[Nn]=!0,Oe.cancellationCode=xe,ie&&(Oe.url=ie),Oe}function xi(ue){return ue&&ue[Nn]}let wo=(()=>{class ue{static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275cmp=e.Xpm({type:ue,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(Oe,et){1&Oe&&e._UZ(0,"router-outlet")},dependencies:[Rt],encapsulation:2})}return ue})();function ds(ue){const xe=ue.children&&ue.children.map(ds),ie=xe?{...ue,children:xe}:{...ue};return!ie.component&&!ie.loadComponent&&(xe||ie.loadChildren)&&ie.outlet&&ie.outlet!==ne&&(ie.component=wo),ie}function Vi(ue){return ue.outlet||ne}function Si(ue){if(!ue)return null;if(ue.routeConfig?._injector)return ue.routeConfig._injector;for(let xe=ue.parent;xe;xe=xe.parent){const ie=xe.routeConfig;if(ie?._loadedInjector)return ie._loadedInjector;if(ie?._injector)return ie._injector}return null}class Ui{constructor(xe,ie,Oe,et,Tt){this.routeReuseStrategy=xe,this.futureState=ie,this.currState=Oe,this.forwardEvent=et,this.inputBindingEnabled=Tt}activate(xe){const ie=this.futureState._root,Oe=this.currState?this.currState._root:null;this.deactivateChildRoutes(ie,Oe,xe),at(this.futureState.root),this.activateChildRoutes(ie,Oe,xe)}deactivateChildRoutes(xe,ie,Oe){const et=Mt(ie);xe.children.forEach(Tt=>{const Ft=Tt.value.outlet;this.deactivateRoutes(Tt,et[Ft],Oe),delete et[Ft]}),Object.values(et).forEach(Tt=>{this.deactivateRouteAndItsChildren(Tt,Oe)})}deactivateRoutes(xe,ie,Oe){const et=xe.value,Tt=ie?ie.value:null;if(et===Tt)if(et.component){const Ft=Oe.getContext(et.outlet);Ft&&this.deactivateChildRoutes(xe,ie,Ft.children)}else this.deactivateChildRoutes(xe,ie,Oe);else Tt&&this.deactivateRouteAndItsChildren(ie,Oe)}deactivateRouteAndItsChildren(xe,ie){xe.value.component&&this.routeReuseStrategy.shouldDetach(xe.value.snapshot)?this.detachAndStoreRouteSubtree(xe,ie):this.deactivateRouteAndOutlet(xe,ie)}detachAndStoreRouteSubtree(xe,ie){const Oe=ie.getContext(xe.value.outlet),et=Oe&&xe.value.component?Oe.children:ie,Tt=Mt(xe);for(const Ft of Object.keys(Tt))this.deactivateRouteAndItsChildren(Tt[Ft],et);if(Oe&&Oe.outlet){const Ft=Oe.outlet.detach(),on=Oe.children.onOutletDeactivated();this.routeReuseStrategy.store(xe.value.snapshot,{componentRef:Ft,route:xe,contexts:on})}}deactivateRouteAndOutlet(xe,ie){const Oe=ie.getContext(xe.value.outlet),et=Oe&&xe.value.component?Oe.children:ie,Tt=Mt(xe);for(const Ft of Object.keys(Tt))this.deactivateRouteAndItsChildren(Tt[Ft],et);Oe&&(Oe.outlet&&(Oe.outlet.deactivate(),Oe.children.onOutletDeactivated()),Oe.attachRef=null,Oe.route=null)}activateChildRoutes(xe,ie,Oe){const et=Mt(ie);xe.children.forEach(Tt=>{this.activateRoutes(Tt,et[Tt.value.outlet],Oe),this.forwardEvent(new Eo(Tt.value.snapshot))}),xe.children.length&&this.forwardEvent(new $i(xe.value.snapshot))}activateRoutes(xe,ie,Oe){const et=xe.value,Tt=ie?ie.value:null;if(at(et),et===Tt)if(et.component){const Ft=Oe.getOrCreateContext(et.outlet);this.activateChildRoutes(xe,ie,Ft.children)}else this.activateChildRoutes(xe,ie,Oe);else if(et.component){const Ft=Oe.getOrCreateContext(et.outlet);if(this.routeReuseStrategy.shouldAttach(et.snapshot)){const on=this.routeReuseStrategy.retrieve(et.snapshot);this.routeReuseStrategy.store(et.snapshot,null),Ft.children.onOutletReAttached(on.contexts),Ft.attachRef=on.componentRef,Ft.route=on.route.value,Ft.outlet&&Ft.outlet.attach(on.componentRef,on.route.value),at(on.route.value),this.activateChildRoutes(xe,null,Ft.children)}else{const on=Si(et.snapshot);Ft.attachRef=null,Ft.route=et,Ft.injector=on,Ft.outlet&&Ft.outlet.activateWith(et,Ft.injector),this.activateChildRoutes(xe,null,Ft.children)}}else this.activateChildRoutes(xe,null,Oe)}}class Ci{constructor(xe){this.path=xe,this.route=this.path[this.path.length-1]}}class ss{constructor(xe,ie){this.component=xe,this.route=ie}}function io(ue,xe,ie){const Oe=ue._root;return Z(Oe,xe?xe._root:null,ie,[Oe.value])}function Qt(ue,xe){const ie=Symbol(),Oe=xe.get(ue,ie);return Oe===ie?"function"!=typeof ue||(0,e.Z0I)(ue)?xe.get(ue):ue:Oe}function Z(ue,xe,ie,Oe,et={canDeactivateChecks:[],canActivateChecks:[]}){const Tt=Mt(xe);return ue.children.forEach(Ft=>{(function dt(ue,xe,ie,Oe,et={canDeactivateChecks:[],canActivateChecks:[]}){const Tt=ue.value,Ft=xe?xe.value:null,on=ie?ie.getContext(ue.value.outlet):null;if(Ft&&Tt.routeConfig===Ft.routeConfig){const tn=function _t(ue,xe,ie){if("function"==typeof ie)return ie(ue,xe);switch(ie){case"pathParamsChange":return!ht(ue.url,xe.url);case"pathParamsOrQueryParamsChange":return!ht(ue.url,xe.url)||!_e(ue.queryParams,xe.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Je(ue,xe)||!_e(ue.queryParams,xe.queryParams);default:return!Je(ue,xe)}}(Ft,Tt,Tt.routeConfig.runGuardsAndResolvers);tn?et.canActivateChecks.push(new Ci(Oe)):(Tt.data=Ft.data,Tt._resolvedData=Ft._resolvedData),Z(ue,xe,Tt.component?on?on.children:null:ie,Oe,et),tn&&on&&on.outlet&&on.outlet.isActivated&&et.canDeactivateChecks.push(new ss(on.outlet.component,Ft))}else Ft&&jt(xe,on,et),et.canActivateChecks.push(new Ci(Oe)),Z(ue,null,Tt.component?on?on.children:null:ie,Oe,et)})(Ft,Tt[Ft.value.outlet],ie,Oe.concat([Ft.value]),et),delete Tt[Ft.value.outlet]}),Object.entries(Tt).forEach(([Ft,on])=>jt(on,ie.getContext(Ft),et)),et}function jt(ue,xe,ie){const Oe=Mt(ue),et=ue.value;Object.entries(Oe).forEach(([Tt,Ft])=>{jt(Ft,et.component?xe?xe.children.getContext(Tt):null:xe,ie)}),ie.canDeactivateChecks.push(new ss(et.component&&xe&&xe.outlet&&xe.outlet.isActivated?xe.outlet.component:null,et))}function Cn(ue){return"function"==typeof ue}function _i(ue){return ue instanceof E.K||"EmptyError"===ue?.name}const vs=Symbol("INITIAL_VALUE");function $o(){return(0,T.w)(ue=>(0,h.a)(ue.map(xe=>xe.pipe((0,b.q)(1),(0,D.O)(vs)))).pipe((0,C.U)(xe=>{for(const ie of xe)if(!0!==ie){if(ie===vs)return vs;if(!1===ie||ie instanceof B)return ie}return!0}),(0,y.h)(xe=>xe!==vs),(0,b.q)(1)))}function Fo(ue){return(0,M.z)((0,k.b)(xe=>{if(Ze(xe))throw Ro(0,xe)}),(0,C.U)(xe=>!0===xe))}class go{constructor(xe){this.segmentGroup=xe||null}}class Ss{constructor(xe){this.urlTree=xe}}function Bo(ue){return(0,p._)(new go(ue))}function Gi(ue){return(0,p._)(new Ss(ue))}class Zs{constructor(xe,ie){this.urlSerializer=xe,this.urlTree=ie}noMatchError(xe){return new e.vHH(4002,!1)}lineralizeSegments(xe,ie){let Oe=[],et=ie.root;for(;;){if(Oe=Oe.concat(et.segments),0===et.numberOfChildren)return(0,i.of)(Oe);if(et.numberOfChildren>1||!et.children[ne])return(0,p._)(new e.vHH(4e3,!1));et=et.children[ne]}}applyRedirectCommands(xe,ie,Oe){return this.applyRedirectCreateUrlTree(ie,this.urlSerializer.parse(ie),xe,Oe)}applyRedirectCreateUrlTree(xe,ie,Oe,et){const Tt=this.createSegmentGroup(xe,ie.root,Oe,et);return new B(Tt,this.createQueryParams(ie.queryParams,this.urlTree.queryParams),ie.fragment)}createQueryParams(xe,ie){const Oe={};return Object.entries(xe).forEach(([et,Tt])=>{if("string"==typeof Tt&&Tt.startsWith(":")){const on=Tt.substring(1);Oe[et]=ie[on]}else Oe[et]=Tt}),Oe}createSegmentGroup(xe,ie,Oe,et){const Tt=this.createSegments(xe,ie.segments,Oe,et);let Ft={};return Object.entries(ie.children).forEach(([on,tn])=>{Ft[on]=this.createSegmentGroup(xe,tn,Oe,et)}),new Me(Tt,Ft)}createSegments(xe,ie,Oe,et){return ie.map(Tt=>Tt.path.startsWith(":")?this.findPosParam(xe,Tt,et):this.findOrReturn(Tt,Oe))}findPosParam(xe,ie,Oe){const et=Oe[ie.path.substring(1)];if(!et)throw new e.vHH(4001,!1);return et}findOrReturn(xe,ie){let Oe=0;for(const et of ie){if(et.path===xe.path)return ie.splice(Oe),et;Oe++}return xe}}const Fs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function er(ue,xe,ie,Oe,et){const Tt=Bs(ue,xe,ie);return Tt.matched?(Oe=function Xo(ue,xe){return ue.providers&&!ue._injector&&(ue._injector=(0,e.MMx)(ue.providers,xe,`Route: ${ue.path}`)),ue._injector??xe}(xe,Oe),function Ao(ue,xe,ie,Oe){const et=xe.canMatch;if(!et||0===et.length)return(0,i.of)(!0);const Tt=et.map(Ft=>{const on=Qt(Ft,ue);return Re(function ji(ue){return ue&&Cn(ue.canMatch)}(on)?on.canMatch(xe,ie):ue.runInContext(()=>on(xe,ie)))});return(0,i.of)(Tt).pipe($o(),Fo())}(Oe,xe,ie).pipe((0,C.U)(Ft=>!0===Ft?Tt:{...Fs}))):(0,i.of)(Tt)}function Bs(ue,xe,ie){if(""===xe.path)return"full"===xe.pathMatch&&(ue.hasChildren()||ie.length>0)?{...Fs}:{matched:!0,consumedSegments:[],remainingSegments:ie,parameters:{},positionalParamSegments:{}};const et=(xe.matcher||ke)(ie,ue,xe);if(!et)return{...Fs};const Tt={};Object.entries(et.posParams??{}).forEach(([on,tn])=>{Tt[on]=tn.path});const Ft=et.consumed.length>0?{...Tt,...et.consumed[et.consumed.length-1].parameters}:Tt;return{matched:!0,consumedSegments:et.consumed,remainingSegments:ie.slice(et.consumed.length),parameters:Ft,positionalParamSegments:et.posParams??{}}}function No(ue,xe,ie,Oe){return ie.length>0&&function ys(ue,xe,ie){return ie.some(Oe=>pn(ue,xe,Oe)&&Vi(Oe)!==ne)}(ue,ie,Oe)?{segmentGroup:new Me(xe,Ut(Oe,new Me(ie,ue.children))),slicedSegments:[]}:0===ie.length&&function wn(ue,xe,ie){return ie.some(Oe=>pn(ue,xe,Oe))}(ue,ie,Oe)?{segmentGroup:new Me(ue.segments,zr(ue,0,ie,Oe,ue.children)),slicedSegments:ie}:{segmentGroup:new Me(ue.segments,ue.children),slicedSegments:ie}}function zr(ue,xe,ie,Oe,et){const Tt={};for(const Ft of Oe)if(pn(ue,ie,Ft)&&!et[Vi(Ft)]){const on=new Me([],{});Tt[Vi(Ft)]=on}return{...et,...Tt}}function Ut(ue,xe){const ie={};ie[ne]=xe;for(const Oe of ue)if(""===Oe.path&&Vi(Oe)!==ne){const et=new Me([],{});ie[Vi(Oe)]=et}return ie}function pn(ue,xe,ie){return(!(ue.hasChildren()||xe.length>0)||"full"!==ie.pathMatch)&&""===ie.path}class Cs{constructor(xe,ie,Oe,et,Tt,Ft,on){this.injector=xe,this.configLoader=ie,this.rootComponentType=Oe,this.config=et,this.urlTree=Tt,this.paramsInheritanceStrategy=Ft,this.urlSerializer=on,this.allowRedirects=!0,this.applyRedirects=new Zs(this.urlSerializer,this.urlTree)}noMatchError(xe){return new e.vHH(4002,!1)}recognize(){const xe=No(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,xe,ne).pipe((0,R.K)(ie=>{if(ie instanceof Ss)return this.allowRedirects=!1,this.urlTree=ie.urlTree,this.match(ie.urlTree);throw ie instanceof go?this.noMatchError(ie):ie}),(0,C.U)(ie=>{const Oe=new Fn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ne,this.rootComponentType,null,{}),et=new Vn(Oe,ie),Tt=new On("",et),Ft=function ve(ue,xe,ie=null,Oe=null){return x(nt(ue),xe,ie,Oe)}(Oe,[],this.urlTree.queryParams,this.urlTree.fragment);return Ft.queryParams=this.urlTree.queryParams,Tt.url=this.urlSerializer.serialize(Ft),this.inheritParamsAndData(Tt._root),{state:Tt,tree:Ft}}))}match(xe){return this.processSegmentGroup(this.injector,this.config,xe.root,ne).pipe((0,R.K)(Oe=>{throw Oe instanceof go?this.noMatchError(Oe):Oe}))}inheritParamsAndData(xe){const ie=xe.value,Oe=Xt(ie,this.paramsInheritanceStrategy);ie.params=Object.freeze(Oe.params),ie.data=Object.freeze(Oe.data),xe.children.forEach(et=>this.inheritParamsAndData(et))}processSegmentGroup(xe,ie,Oe,et){return 0===Oe.segments.length&&Oe.hasChildren()?this.processChildren(xe,ie,Oe):this.processSegment(xe,ie,Oe,Oe.segments,et,!0)}processChildren(xe,ie,Oe){const et=[];for(const Tt of Object.keys(Oe.children))"primary"===Tt?et.unshift(Tt):et.push(Tt);return(0,t.D)(et).pipe((0,A.b)(Tt=>{const Ft=Oe.children[Tt],on=function us(ue,xe){const ie=ue.filter(Oe=>Vi(Oe)===xe);return ie.push(...ue.filter(Oe=>Vi(Oe)!==xe)),ie}(ie,Tt);return this.processSegmentGroup(xe,on,Ft,Tt)}),function Y(ue,xe){return(0,W.e)(function ze(ue,xe,ie,Oe,et){return(Tt,Ft)=>{let on=ie,tn=xe,bn=0;Tt.subscribe((0,j.x)(Ft,ti=>{const Fi=bn++;tn=on?ue(tn,ti,Fi):(on=!0,ti),Oe&&Ft.next(tn)},et&&(()=>{on&&Ft.next(tn),Ft.complete()})))}}(ue,xe,arguments.length>=2,!0))}((Tt,Ft)=>(Tt.push(...Ft),Tt)),(0,G.d)(null),function te(ue,xe){const ie=arguments.length>=2;return Oe=>Oe.pipe(ue?(0,y.h)((et,Tt)=>ue(et,Tt,Oe)):ee.y,V(1),ie?(0,G.d)(xe):(0,K.T)(()=>new E.K))}(),(0,P.z)(Tt=>{if(null===Tt)return Bo(Oe);const Ft=Tr(Tt);return function Fr(ue){ue.sort((xe,ie)=>xe.value.outlet===ne?-1:ie.value.outlet===ne?1:xe.value.outlet.localeCompare(ie.value.outlet))}(Ft),(0,i.of)(Ft)}))}processSegment(xe,ie,Oe,et,Tt,Ft){return(0,t.D)(ie).pipe((0,A.b)(on=>this.processSegmentAgainstRoute(on._injector??xe,ie,on,Oe,et,Tt,Ft).pipe((0,R.K)(tn=>{if(tn instanceof go)return(0,i.of)(null);throw tn}))),(0,S.P)(on=>!!on),(0,R.K)(on=>{if(_i(on))return function ps(ue,xe,ie){return 0===xe.length&&!ue.children[ie]}(Oe,et,Tt)?(0,i.of)([]):Bo(Oe);throw on}))}processSegmentAgainstRoute(xe,ie,Oe,et,Tt,Ft,on){return function hs(ue,xe,ie,Oe){return!!(Vi(ue)===Oe||Oe!==ne&&pn(xe,ie,ue))&&("**"===ue.path||Bs(xe,ue,ie).matched)}(Oe,et,Tt,Ft)?void 0===Oe.redirectTo?this.matchSegmentAgainstRoute(xe,et,Oe,Tt,Ft,on):on&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(xe,et,ie,Oe,Tt,Ft):Bo(et):Bo(et)}expandSegmentAgainstRouteUsingRedirect(xe,ie,Oe,et,Tt,Ft){return"**"===et.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(xe,Oe,et,Ft):this.expandRegularSegmentAgainstRouteUsingRedirect(xe,ie,Oe,et,Tt,Ft)}expandWildCardWithParamsAgainstRouteUsingRedirect(xe,ie,Oe,et){const Tt=this.applyRedirects.applyRedirectCommands([],Oe.redirectTo,{});return Oe.redirectTo.startsWith("/")?Gi(Tt):this.applyRedirects.lineralizeSegments(Oe,Tt).pipe((0,P.z)(Ft=>{const on=new Me(Ft,{});return this.processSegment(xe,ie,on,Ft,et,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(xe,ie,Oe,et,Tt,Ft){const{matched:on,consumedSegments:tn,remainingSegments:bn,positionalParamSegments:ti}=Bs(ie,et,Tt);if(!on)return Bo(ie);const Fi=this.applyRedirects.applyRedirectCommands(tn,et.redirectTo,ti);return et.redirectTo.startsWith("/")?Gi(Fi):this.applyRedirects.lineralizeSegments(et,Fi).pipe((0,P.z)(vi=>this.processSegment(xe,Oe,ie,vi.concat(bn),Ft,!1)))}matchSegmentAgainstRoute(xe,ie,Oe,et,Tt,Ft){let on;if("**"===Oe.path){const tn=et.length>0?He(et).parameters:{},bn=new Fn(et,tn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Br(Oe),Vi(Oe),Oe.component??Oe._loadedComponent??null,Oe,Hs(Oe));on=(0,i.of)({snapshot:bn,consumedSegments:[],remainingSegments:[]}),ie.children={}}else on=er(ie,Oe,et,xe).pipe((0,C.U)(({matched:tn,consumedSegments:bn,remainingSegments:ti,parameters:Fi})=>tn?{snapshot:new Fn(bn,Fi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Br(Oe),Vi(Oe),Oe.component??Oe._loadedComponent??null,Oe,Hs(Oe)),consumedSegments:bn,remainingSegments:ti}:null));return on.pipe((0,T.w)(tn=>null===tn?Bo(ie):this.getChildConfig(xe=Oe._injector??xe,Oe,et).pipe((0,T.w)(({routes:bn})=>{const ti=Oe._loadedInjector??xe,{snapshot:Fi,consumedSegments:vi,remainingSegments:Vo}=tn,{segmentGroup:ir,slicedSegments:Gs}=No(ie,vi,Vo,bn);if(0===Gs.length&&ir.hasChildren())return this.processChildren(ti,bn,ir).pipe((0,C.U)(Is=>null===Is?null:[new Vn(Fi,Is)]));if(0===bn.length&&0===Gs.length)return(0,i.of)([new Vn(Fi,[])]);const ms=Vi(Oe)===Tt;return this.processSegment(ti,bn,ir,Gs,ms?ne:Tt,!0).pipe((0,C.U)(Is=>[new Vn(Fi,Is)]))}))))}getChildConfig(xe,ie,Oe){return ie.children?(0,i.of)({routes:ie.children,injector:xe}):ie.loadChildren?void 0!==ie._loadedRoutes?(0,i.of)({routes:ie._loadedRoutes,injector:ie._loadedInjector}):function Wo(ue,xe,ie,Oe){const et=xe.canLoad;if(void 0===et||0===et.length)return(0,i.of)(!0);const Tt=et.map(Ft=>{const on=Qt(Ft,ue);return Re(function Mi(ue){return ue&&Cn(ue.canLoad)}(on)?on.canLoad(xe,ie):ue.runInContext(()=>on(xe,ie)))});return(0,i.of)(Tt).pipe($o(),Fo())}(xe,ie,Oe).pipe((0,P.z)(et=>et?this.configLoader.loadChildren(xe,ie).pipe((0,k.b)(Tt=>{ie._loadedRoutes=Tt.routes,ie._loadedInjector=Tt.injector})):function ro(ue){return(0,p._)(Do(!1,3))}())):(0,i.of)({routes:[],injector:xe})}}function na(ue){const xe=ue.value.routeConfig;return xe&&""===xe.path}function Tr(ue){const xe=[],ie=new Set;for(const Oe of ue){if(!na(Oe)){xe.push(Oe);continue}const et=xe.find(Tt=>Oe.value.routeConfig===Tt.value.routeConfig);void 0!==et?(et.children.push(...Oe.children),ie.add(et)):xe.push(Oe)}for(const Oe of ie){const et=Tr(Oe.children);xe.push(new Vn(Oe.value,et))}return xe.filter(Oe=>!ie.has(Oe))}function Br(ue){return ue.data||{}}function Hs(ue){return ue.resolve||{}}function Hr(ue){return"string"==typeof ue.title||null===ue.title}function zs(ue){return(0,T.w)(xe=>{const ie=ue(xe);return ie?(0,t.D)(ie).pipe((0,C.U)(()=>xe)):(0,i.of)(xe)})}const Ys=new e.OlP("ROUTES");let me=(()=>{class ue{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(ie){if(this.componentLoaders.get(ie))return this.componentLoaders.get(ie);if(ie._loadedComponent)return(0,i.of)(ie._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ie);const Oe=Re(ie.loadComponent()).pipe((0,C.U)(ct),(0,k.b)(Tt=>{this.onLoadEndListener&&this.onLoadEndListener(ie),ie._loadedComponent=Tt}),(0,re.x)(()=>{this.componentLoaders.delete(ie)})),et=new _.c(Oe,()=>new d.x).pipe((0,De.x)());return this.componentLoaders.set(ie,et),et}loadChildren(ie,Oe){if(this.childrenLoaders.get(Oe))return this.childrenLoaders.get(Oe);if(Oe._loadedRoutes)return(0,i.of)({routes:Oe._loadedRoutes,injector:Oe._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Oe);const Tt=function vt(ue,xe,ie,Oe){return Re(ue.loadChildren()).pipe((0,C.U)(ct),(0,P.z)(et=>et instanceof e.YKP||Array.isArray(et)?(0,i.of)(et):(0,t.D)(xe.compileModuleAsync(et))),(0,C.U)(et=>{Oe&&Oe(ue);let Tt,Ft,on=!1;return Array.isArray(et)?(Ft=et,!0):(Tt=et.create(ie).injector,Ft=Tt.get(Ys,[],{optional:!0,self:!0}).flat()),{routes:Ft.map(ds),injector:Tt}}))}(Oe,this.compiler,ie,this.onLoadEndListener).pipe((0,re.x)(()=>{this.childrenLoaders.delete(Oe)})),Ft=new _.c(Tt,()=>new d.x).pipe((0,De.x)());return this.childrenLoaders.set(Oe,Ft),Ft}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function ct(ue){return function Ue(ue){return ue&&"object"==typeof ue&&"default"in ue}(ue)?ue.default:ue}let Ht=(()=>{class ue{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new d.x,this.transitionAbortSubject=new d.x,this.configLoader=(0,e.f3M)(me),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(Lt),this.rootContexts=(0,e.f3M)(bi),this.inputBindingEnabled=null!==(0,e.f3M)(ln,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,i.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=et=>this.events.next(new Ni(et)),this.configLoader.onLoadStartListener=et=>this.events.next(new Zi(et))}complete(){this.transitions?.complete()}handleNavigationRequest(ie){const Oe=++this.navigationId;this.transitions?.next({...this.transitions.value,...ie,id:Oe})}setupNavigations(ie,Oe,et){return this.transitions=new l.X({id:0,currentUrlTree:Oe,currentRawUrl:Oe,currentBrowserUrl:Oe,extractedUrl:ie.urlHandlingStrategy.extract(Oe),urlAfterRedirects:ie.urlHandlingStrategy.extract(Oe),rawUrl:Oe,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ii,restoredState:null,currentSnapshot:et.snapshot,targetSnapshot:null,currentRouterState:et,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,y.h)(Tt=>0!==Tt.id),(0,C.U)(Tt=>({...Tt,extractedUrl:ie.urlHandlingStrategy.extract(Tt.rawUrl)})),(0,T.w)(Tt=>{this.currentTransition=Tt;let Ft=!1,on=!1;return(0,i.of)(Tt).pipe((0,k.b)(tn=>{this.currentNavigation={id:tn.id,initialUrl:tn.rawUrl,extractedUrl:tn.extractedUrl,trigger:tn.source,extras:tn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,T.w)(tn=>{const bn=tn.currentBrowserUrl.toString(),ti=!ie.navigated||tn.extractedUrl.toString()!==bn||bn!==tn.currentUrlTree.toString();if(!ti&&"reload"!==(tn.extras.onSameUrlNavigation??ie.onSameUrlNavigation)){const vi="";return this.events.next(new ri(tn.id,this.urlSerializer.serialize(tn.rawUrl),vi,0)),tn.resolve(null),v.E}if(ie.urlHandlingStrategy.shouldProcessUrl(tn.rawUrl))return(0,i.of)(tn).pipe((0,T.w)(vi=>{const Vo=this.transitions?.getValue();return this.events.next(new di(vi.id,this.urlSerializer.serialize(vi.extractedUrl),vi.source,vi.restoredState)),Vo!==this.transitions?.getValue()?v.E:Promise.resolve(vi)}),function La(ue,xe,ie,Oe,et,Tt){return(0,P.z)(Ft=>function es(ue,xe,ie,Oe,et,Tt,Ft="emptyOnly"){return new Cs(ue,xe,ie,Oe,et,Ft,Tt).recognize()}(ue,xe,ie,Oe,Ft.extractedUrl,et,Tt).pipe((0,C.U)(({state:on,tree:tn})=>({...Ft,targetSnapshot:on,urlAfterRedirects:tn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,ie.config,this.urlSerializer,ie.paramsInheritanceStrategy),(0,k.b)(vi=>{Tt.targetSnapshot=vi.targetSnapshot,Tt.urlAfterRedirects=vi.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:vi.urlAfterRedirects};const Vo=new Ti(vi.id,this.urlSerializer.serialize(vi.extractedUrl),this.urlSerializer.serialize(vi.urlAfterRedirects),vi.targetSnapshot);this.events.next(Vo)}));if(ti&&ie.urlHandlingStrategy.shouldProcessUrl(tn.currentRawUrl)){const{id:vi,extractedUrl:Vo,source:ir,restoredState:Gs,extras:ms}=tn,Is=new di(vi,this.urlSerializer.serialize(Vo),ir,Gs);this.events.next(Is);const Za=rt(0,this.rootComponentType).snapshot;return this.currentTransition=Tt={...tn,targetSnapshot:Za,urlAfterRedirects:Vo,extras:{...ms,skipLocationChange:!1,replaceUrl:!1}},(0,i.of)(Tt)}{const vi="";return this.events.next(new ri(tn.id,this.urlSerializer.serialize(tn.extractedUrl),vi,1)),tn.resolve(null),v.E}}),(0,k.b)(tn=>{const bn=new li(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot);this.events.next(bn)}),(0,C.U)(tn=>(this.currentTransition=Tt={...tn,guards:io(tn.targetSnapshot,tn.currentSnapshot,this.rootContexts)},Tt)),function st(ue,xe){return(0,P.z)(ie=>{const{targetSnapshot:Oe,currentSnapshot:et,guards:{canActivateChecks:Tt,canDeactivateChecks:Ft}}=ie;return 0===Ft.length&&0===Tt.length?(0,i.of)({...ie,guardsResult:!0}):function ut(ue,xe,ie,Oe){return(0,t.D)(ue).pipe((0,P.z)(et=>function ho(ue,xe,ie,Oe,et){const Tt=xe&&xe.routeConfig?xe.routeConfig.canDeactivate:null;if(!Tt||0===Tt.length)return(0,i.of)(!0);const Ft=Tt.map(on=>{const tn=Si(xe)??et,bn=Qt(on,tn);return Re(function mo(ue){return ue&&Cn(ue.canDeactivate)}(bn)?bn.canDeactivate(ue,xe,ie,Oe):tn.runInContext(()=>bn(ue,xe,ie,Oe))).pipe((0,S.P)())});return(0,i.of)(Ft).pipe($o())}(et.component,et.route,ie,xe,Oe)),(0,S.P)(et=>!0!==et,!0))}(Ft,Oe,et,ue).pipe((0,P.z)(on=>on&&function Pn(ue){return"boolean"==typeof ue}(on)?function Ve(ue,xe,ie,Oe){return(0,t.D)(xe).pipe((0,A.b)(et=>(0,u.z)(function $t(ue,xe){return null!==ue&&xe&&xe(new ki(ue)),(0,i.of)(!0)}(et.route.parent,Oe),function Et(ue,xe){return null!==ue&&xe&&xe(new no(ue)),(0,i.of)(!0)}(et.route,Oe),function jn(ue,xe,ie){const Oe=xe[xe.length-1],Tt=xe.slice(0,xe.length-1).reverse().map(Ft=>function it(ue){const xe=ue.routeConfig?ue.routeConfig.canActivateChild:null;return xe&&0!==xe.length?{node:ue,guards:xe}:null}(Ft)).filter(Ft=>null!==Ft).map(Ft=>(0,z.P)(()=>{const on=Ft.guards.map(tn=>{const bn=Si(Ft.node)??ie,ti=Qt(tn,bn);return Re(function qi(ue){return ue&&Cn(ue.canActivateChild)}(ti)?ti.canActivateChild(Oe,ue):bn.runInContext(()=>ti(Oe,ue))).pipe((0,S.P)())});return(0,i.of)(on).pipe($o())}));return(0,i.of)(Tt).pipe($o())}(ue,et.path,ie),function In(ue,xe,ie){const Oe=xe.routeConfig?xe.routeConfig.canActivate:null;if(!Oe||0===Oe.length)return(0,i.of)(!0);const et=Oe.map(Tt=>(0,z.P)(()=>{const Ft=Si(xe)??ie,on=Qt(Tt,Ft);return Re(function fo(ue){return ue&&Cn(ue.canActivate)}(on)?on.canActivate(xe,ue):Ft.runInContext(()=>on(xe,ue))).pipe((0,S.P)())}));return(0,i.of)(et).pipe($o())}(ue,et.route,ie))),(0,S.P)(et=>!0!==et,!0))}(Oe,Tt,ue,xe):(0,i.of)(on)),(0,C.U)(on=>({...ie,guardsResult:on})))})}(this.environmentInjector,tn=>this.events.next(tn)),(0,k.b)(tn=>{if(Tt.guardsResult=tn.guardsResult,Ze(tn.guardsResult))throw Ro(0,tn.guardsResult);const bn=new fi(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot,!!tn.guardsResult);this.events.next(bn)}),(0,y.h)(tn=>!!tn.guardsResult||(this.cancelNavigationTransition(tn,"",3),!1)),zs(tn=>{if(tn.guards.canActivateChecks.length)return(0,i.of)(tn).pipe((0,k.b)(bn=>{const ti=new to(bn.id,this.urlSerializer.serialize(bn.extractedUrl),this.urlSerializer.serialize(bn.urlAfterRedirects),bn.targetSnapshot);this.events.next(ti)}),(0,T.w)(bn=>{let ti=!1;return(0,i.of)(bn).pipe(function tr(ue,xe){return(0,P.z)(ie=>{const{targetSnapshot:Oe,guards:{canActivateChecks:et}}=ie;if(!et.length)return(0,i.of)(ie);let Tt=0;return(0,t.D)(et).pipe((0,A.b)(Ft=>function Vs(ue,xe,ie,Oe){const et=ue.routeConfig,Tt=ue._resolve;return void 0!==et?.title&&!Hr(et)&&(Tt[le]=et.title),function ia(ue,xe,ie,Oe){const et=function Us(ue){return[...Object.keys(ue),...Object.getOwnPropertySymbols(ue)]}(ue);if(0===et.length)return(0,i.of)({});const Tt={};return(0,t.D)(et).pipe((0,P.z)(Ft=>function oa(ue,xe,ie,Oe){const et=Si(xe)??Oe,Tt=Qt(ue,et);return Re(Tt.resolve?Tt.resolve(xe,ie):et.runInContext(()=>Tt(xe,ie)))}(ue[Ft],xe,ie,Oe).pipe((0,S.P)(),(0,k.b)(on=>{Tt[Ft]=on}))),V(1),(0,pe.h)(Tt),(0,R.K)(Ft=>_i(Ft)?v.E:(0,p._)(Ft)))}(Tt,ue,xe,Oe).pipe((0,C.U)(Ft=>(ue._resolvedData=Ft,ue.data=Xt(ue,ie).resolve,et&&Hr(et)&&(ue.data[le]=et.title),null)))}(Ft.route,Oe,ue,xe)),(0,k.b)(()=>Tt++),V(1),(0,P.z)(Ft=>Tt===et.length?(0,i.of)(ie):v.E))})}(ie.paramsInheritanceStrategy,this.environmentInjector),(0,k.b)({next:()=>ti=!0,complete:()=>{ti||this.cancelNavigationTransition(bn,"",2)}}))}),(0,k.b)(bn=>{const ti=new oo(bn.id,this.urlSerializer.serialize(bn.extractedUrl),this.urlSerializer.serialize(bn.urlAfterRedirects),bn.targetSnapshot);this.events.next(ti)}))}),zs(tn=>{const bn=ti=>{const Fi=[];ti.routeConfig?.loadComponent&&!ti.routeConfig._loadedComponent&&Fi.push(this.configLoader.loadComponent(ti.routeConfig).pipe((0,k.b)(vi=>{ti.component=vi}),(0,C.U)(()=>{})));for(const vi of ti.children)Fi.push(...bn(vi));return Fi};return(0,h.a)(bn(tn.targetSnapshot.root)).pipe((0,G.d)(),(0,b.q)(1))}),zs(()=>this.afterPreactivation()),(0,C.U)(tn=>{const bn=function Kn(ue,xe,ie){const Oe=kn(ue,xe._root,ie?ie._root:void 0);return new gn(Oe,xe)}(ie.routeReuseStrategy,tn.targetSnapshot,tn.currentRouterState);return this.currentTransition=Tt={...tn,targetRouterState:bn},Tt}),(0,k.b)(()=>{this.events.next(new Ji)}),((ue,xe,ie,Oe)=>(0,C.U)(et=>(new Ui(xe,et.targetRouterState,et.currentRouterState,ie,Oe).activate(ue),et)))(this.rootContexts,ie.routeReuseStrategy,tn=>this.events.next(tn),this.inputBindingEnabled),(0,b.q)(1),(0,k.b)({next:tn=>{Ft=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new oi(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects))),ie.titleStrategy?.updateTitle(tn.targetRouterState.snapshot),tn.resolve(!0)},complete:()=>{Ft=!0}}),(0,ae.R)(this.transitionAbortSubject.pipe((0,k.b)(tn=>{throw tn}))),(0,re.x)(()=>{Ft||on||this.cancelNavigationTransition(Tt,"",1),this.currentNavigation?.id===Tt.id&&(this.currentNavigation=null)}),(0,R.K)(tn=>{if(on=!0,xi(tn))this.events.next(new ai(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),tn.message,tn.cancellationCode)),function Yo(ue){return xi(ue)&&Ze(ue.url)}(tn)?this.events.next(new Di(tn.url)):Tt.resolve(!1);else{this.events.next(new hi(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),tn,Tt.targetSnapshot??void 0));try{Tt.resolve(ie.errorHandler(tn))}catch(bn){Tt.reject(bn)}}return v.E}))}))}cancelNavigationTransition(ie,Oe,et){const Tt=new ai(ie.id,this.urlSerializer.serialize(ie.extractedUrl),Oe,et);this.events.next(Tt),ie.resolve(!1)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function sn(ue){return ue!==ii}let an=(()=>{class ue{buildTitle(ie){let Oe,et=ie.root;for(;void 0!==et;)Oe=this.getResolvedTitleForRoute(et)??Oe,et=et.children.find(Tt=>Tt.outlet===ne);return Oe}getResolvedTitleForRoute(ie){return ie.data[le]}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:function(){return(0,e.f3M)(An)},providedIn:"root"})}return ue})(),An=(()=>{class ue extends an{constructor(ie){super(),this.title=ie}updateTitle(ie){const Oe=this.buildTitle(ie);void 0!==Oe&&this.title.setTitle(Oe)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.LFG(X.Dx))};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})(),Ii=(()=>{class ue{static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:function(){return(0,e.f3M)(ui)},providedIn:"root"})}return ue})();class Oi{shouldDetach(xe){return!1}store(xe,ie){}shouldAttach(xe){return!1}retrieve(xe){return null}shouldReuseRoute(xe,ie){return xe.routeConfig===ie.routeConfig}}let ui=(()=>{class ue extends Oi{static#e=this.\u0275fac=function(){let ie;return function(et){return(ie||(ie=e.n5z(ue)))(et||ue)}}();static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();const Gn=new e.OlP("",{providedIn:"root",factory:()=>({})});let eo=(()=>{class ue{static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:function(){return(0,e.f3M)(Bn)},providedIn:"root"})}return ue})(),Bn=(()=>{class ue{shouldProcessUrl(ie){return!0}extract(ie){return ie}merge(ie,Oe){return ie}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();var Ki=function(ue){return ue[ue.COMPLETE=0]="COMPLETE",ue[ue.FAILED=1]="FAILED",ue[ue.REDIRECTING=2]="REDIRECTING",ue}(Ki||{});function Ho(ue,xe){ue.events.pipe((0,y.h)(ie=>ie instanceof oi||ie instanceof ai||ie instanceof hi||ie instanceof ri),(0,C.U)(ie=>ie instanceof oi||ie instanceof ri?Ki.COMPLETE:ie instanceof ai&&(0===ie.code||1===ie.code)?Ki.REDIRECTING:Ki.FAILED),(0,y.h)(ie=>ie!==Ki.REDIRECTING),(0,b.q)(1)).subscribe(()=>{xe()})}function ts(ue){throw ue}function fs(ue,xe,ie){return xe.parse("/")}const jo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_o={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let pi=(()=>{class ue{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,e.f3M)(e.c2e),this.isNgZoneEnabled=!1,this._events=new d.x,this.options=(0,e.f3M)(Gn,{optional:!0})||{},this.pendingTasks=(0,e.f3M)(e.HDt),this.errorHandler=this.options.errorHandler||ts,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||fs,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,e.f3M)(eo),this.routeReuseStrategy=(0,e.f3M)(Ii),this.titleStrategy=(0,e.f3M)(an),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,e.f3M)(Ys,{optional:!0})?.flat()??[],this.navigationTransitions=(0,e.f3M)(Ht),this.urlSerializer=(0,e.f3M)(Lt),this.location=(0,e.f3M)(f.Ye),this.componentInputBindingEnabled=!!(0,e.f3M)(ln,{optional:!0}),this.eventsSubscription=new m.w0,this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new B,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=rt(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(ie=>{this.lastSuccessfulId=ie.id,this.currentPageId=this.browserPageId},ie=>{this.console.warn(`Unhandled Navigation Error: ${ie}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const ie=this.navigationTransitions.events.subscribe(Oe=>{try{const{currentTransition:et}=this.navigationTransitions;if(null===et)return void(Li(Oe)&&this._events.next(Oe));if(Oe instanceof di)sn(et.source)&&(this.browserUrlTree=et.extractedUrl);else if(Oe instanceof ri)this.rawUrlTree=et.rawUrl;else if(Oe instanceof Ti){if("eager"===this.urlUpdateStrategy){if(!et.extras.skipLocationChange){const Tt=this.urlHandlingStrategy.merge(et.urlAfterRedirects,et.rawUrl);this.setBrowserUrl(Tt,et)}this.browserUrlTree=et.urlAfterRedirects}}else if(Oe instanceof Ji)this.currentUrlTree=et.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(et.urlAfterRedirects,et.rawUrl),this.routerState=et.targetRouterState,"deferred"===this.urlUpdateStrategy&&(et.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,et),this.browserUrlTree=et.urlAfterRedirects);else if(Oe instanceof ai)0!==Oe.code&&1!==Oe.code&&(this.navigated=!0),(3===Oe.code||2===Oe.code)&&this.restoreHistory(et);else if(Oe instanceof Di){const Tt=this.urlHandlingStrategy.merge(Oe.url,et.currentRawUrl),Ft={skipLocationChange:et.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||sn(et.source)};this.scheduleNavigation(Tt,ii,null,Ft,{resolve:et.resolve,reject:et.reject,promise:et.promise})}Oe instanceof hi&&this.restoreHistory(et,!0),Oe instanceof oi&&(this.navigated=!0),Li(Oe)&&this._events.next(Oe)}catch(et){this.navigationTransitions.transitionAbortSubject.next(et)}});this.eventsSubscription.add(ie)}resetRootComponentType(ie){this.routerState.root.component=ie,this.navigationTransitions.rootComponentType=ie}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const ie=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ii,ie)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(ie=>{const Oe="popstate"===ie.type?"popstate":"hashchange";"popstate"===Oe&&setTimeout(()=>{this.navigateToSyncWithBrowser(ie.url,Oe,ie.state)},0)}))}navigateToSyncWithBrowser(ie,Oe,et){const Tt={replaceUrl:!0},Ft=et?.navigationId?et:null;if(et){const tn={...et};delete tn.navigationId,delete tn.\u0275routerPageId,0!==Object.keys(tn).length&&(Tt.state=tn)}const on=this.parseUrl(ie);this.scheduleNavigation(on,Oe,Ft,Tt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(ie){this.config=ie.map(ds),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(ie,Oe={}){const{relativeTo:et,queryParams:Tt,fragment:Ft,queryParamsHandling:on,preserveFragment:tn}=Oe,bn=tn?this.currentUrlTree.fragment:Ft;let Fi,ti=null;switch(on){case"merge":ti={...this.currentUrlTree.queryParams,...Tt};break;case"preserve":ti=this.currentUrlTree.queryParams;break;default:ti=Tt||null}null!==ti&&(ti=this.removeEmptyProps(ti));try{Fi=nt(et?et.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof ie[0]||!ie[0].startsWith("/"))&&(ie=[]),Fi=this.currentUrlTree.root}return x(Fi,ie,ti,bn??null)}navigateByUrl(ie,Oe={skipLocationChange:!1}){const et=Ze(ie)?ie:this.parseUrl(ie),Tt=this.urlHandlingStrategy.merge(et,this.rawUrlTree);return this.scheduleNavigation(Tt,ii,null,Oe)}navigate(ie,Oe={skipLocationChange:!1}){return function ws(ue){for(let xe=0;xe{const Tt=ie[et];return null!=Tt&&(Oe[et]=Tt),Oe},{})}scheduleNavigation(ie,Oe,et,Tt,Ft){if(this.disposed)return Promise.resolve(!1);let on,tn,bn;Ft?(on=Ft.resolve,tn=Ft.reject,bn=Ft.promise):bn=new Promise((Fi,vi)=>{on=Fi,tn=vi});const ti=this.pendingTasks.add();return Ho(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ti))}),this.navigationTransitions.handleNavigationRequest({source:Oe,restoredState:et,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:ie,extras:Tt,resolve:on,reject:tn,promise:bn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),bn.catch(Fi=>Promise.reject(Fi))}setBrowserUrl(ie,Oe){const et=this.urlSerializer.serialize(ie);if(this.location.isCurrentPathEqualTo(et)||Oe.extras.replaceUrl){const Ft={...Oe.extras.state,...this.generateNgRouterState(Oe.id,this.browserPageId)};this.location.replaceState(et,"",Ft)}else{const Tt={...Oe.extras.state,...this.generateNgRouterState(Oe.id,this.browserPageId+1)};this.location.go(et,"",Tt)}}restoreHistory(ie,Oe=!1){if("computed"===this.canceledNavigationResolution){const Tt=this.currentPageId-this.browserPageId;0!==Tt?this.location.historyGo(Tt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===Tt&&(this.resetState(ie),this.browserUrlTree=ie.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Oe&&this.resetState(ie),this.resetUrlToCurrentUrlTree())}resetState(ie){this.routerState=ie.currentRouterState,this.currentUrlTree=ie.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ie.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ie,Oe){return"computed"===this.canceledNavigationResolution?{navigationId:ie,\u0275routerPageId:Oe}:{navigationId:ie}}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function Li(ue){return!(ue instanceof Ji||ue instanceof Di)}let Js=(()=>{class ue{constructor(ie,Oe,et,Tt,Ft,on){this.router=ie,this.route=Oe,this.tabIndexAttribute=et,this.renderer=Tt,this.el=Ft,this.locationStrategy=on,this.href=null,this.commands=null,this.onChanges=new d.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const tn=Ft.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===tn||"area"===tn,this.isAnchorElement?this.subscription=ie.events.subscribe(bn=>{bn instanceof oi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ie){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ie)}ngOnChanges(ie){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ie){null!=ie?(this.commands=Array.isArray(ie)?ie:[ie],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ie,Oe,et,Tt,Ft){return!!(null===this.urlTree||this.isAnchorElement&&(0!==ie||Oe||et||Tt||Ft||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const ie=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ie)}applyAttributeValue(ie,Oe){const et=this.renderer,Tt=this.el.nativeElement;null!==Oe?et.setAttribute(Tt,ie,Oe):et.removeAttribute(Tt,ie)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.Y36(pi),e.Y36(It),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(f.S$))};static#t=this.\u0275dir=e.lG2({type:ue,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Oe,et){1&Oe&&e.NdJ("click",function(Ft){return et.onClick(Ft.button,Ft.ctrlKey,Ft.shiftKey,Ft.altKey,Ft.metaKey)}),2&Oe&&e.uIk("target",et.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",e.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",e.VuI],replaceUrl:["replaceUrl","replaceUrl",e.VuI],routerLink:"routerLink"},standalone:!0,features:[e.Xq5,e.TTD]})}return ue})(),ur=(()=>{class ue{get isActive(){return this._isActive}constructor(ie,Oe,et,Tt,Ft){this.router=ie,this.element=Oe,this.renderer=et,this.cdr=Tt,this.link=Ft,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=ie.events.subscribe(on=>{on instanceof oi&&this.update()})}ngAfterContentInit(){(0,i.of)(this.links.changes,(0,i.of)(null)).pipe((0,ce.J)()).subscribe(ie=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ie=[...this.links.toArray(),this.link].filter(Oe=>!!Oe).map(Oe=>Oe.onChanges);this.linkInputChangesSubscription=(0,t.D)(ie).pipe((0,ce.J)()).subscribe(Oe=>{this._isActive!==this.isLinkActive(this.router)(Oe)&&this.update()})}set routerLinkActive(ie){const Oe=Array.isArray(ie)?ie:ie.split(" ");this.classes=Oe.filter(et=>!!et)}ngOnChanges(ie){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const ie=this.hasActiveLinks();this._isActive!==ie&&(this._isActive=ie,this.cdr.markForCheck(),this.classes.forEach(Oe=>{ie?this.renderer.addClass(this.element.nativeElement,Oe):this.renderer.removeClass(this.element.nativeElement,Oe)}),ie&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(ie))})}isLinkActive(ie){const Oe=function Ko(ue){return!!ue.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return et=>!!et.urlTree&&ie.isActive(et.urlTree,Oe)}hasActiveLinks(){const ie=this.isLinkActive(this.router);return this.link&&ie(this.link)||this.links.some(ie)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.Y36(pi),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(Js,8))};static#t=this.\u0275dir=e.lG2({type:ue,selectors:[["","routerLinkActive",""]],contentQueries:function(Oe,et,Tt){if(1&Oe&&e.Suo(Tt,Js,5),2&Oe){let Ft;e.iGM(Ft=e.CRH())&&(et.links=Ft)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]})}return ue})();class sa{}let Zo=(()=>{class ue{constructor(ie,Oe,et,Tt,Ft){this.router=ie,this.injector=et,this.preloadingStrategy=Tt,this.loader=Ft}setUpPreloading(){this.subscription=this.router.events.pipe((0,y.h)(ie=>ie instanceof oi),(0,A.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ie,Oe){const et=[];for(const Tt of Oe){Tt.providers&&!Tt._injector&&(Tt._injector=(0,e.MMx)(Tt.providers,ie,`Route: ${Tt.path}`));const Ft=Tt._injector??ie,on=Tt._loadedInjector??Ft;(Tt.loadChildren&&!Tt._loadedRoutes&&void 0===Tt.canLoad||Tt.loadComponent&&!Tt._loadedComponent)&&et.push(this.preloadConfig(Ft,Tt)),(Tt.children||Tt._loadedRoutes)&&et.push(this.processRoutes(on,Tt.children??Tt._loadedRoutes))}return(0,t.D)(et).pipe((0,ce.J)())}preloadConfig(ie,Oe){return this.preloadingStrategy.preload(Oe,()=>{let et;et=Oe.loadChildren&&void 0===Oe.canLoad?this.loader.loadChildren(ie,Oe):(0,i.of)(null);const Tt=et.pipe((0,P.z)(Ft=>null===Ft?(0,i.of)(void 0):(Oe._loadedRoutes=Ft.routes,Oe._loadedInjector=Ft.injector,this.processRoutes(Ft.injector??ie,Ft.routes))));if(Oe.loadComponent&&!Oe._loadedComponent){const Ft=this.loader.loadComponent(Oe);return(0,t.D)([Tt,Ft]).pipe((0,ce.J)())}return Tt})}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.LFG(pi),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(sa),e.LFG(me))};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();const Ur=new e.OlP("");let ra=(()=>{class ue{constructor(ie,Oe,et,Tt,Ft={}){this.urlSerializer=ie,this.transitions=Oe,this.viewportScroller=et,this.zone=Tt,this.options=Ft,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ft.scrollPositionRestoration=Ft.scrollPositionRestoration||"disabled",Ft.anchorScrolling=Ft.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(ie=>{ie instanceof di?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ie.navigationTrigger,this.restoredId=ie.restoredState?ie.restoredState.navigationId:0):ie instanceof oi?(this.lastId=ie.id,this.scheduleScrollEvent(ie,this.urlSerializer.parse(ie.urlAfterRedirects).fragment)):ie instanceof ri&&0===ie.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ie,this.urlSerializer.parse(ie.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ie=>{ie instanceof wi&&(ie.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ie.position):ie.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ie.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ie,Oe){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new wi(ie,"popstate"===this.lastSource?this.store[this.restoredId]:null,Oe))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Oe){e.$Z()};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac})}return ue})();function ao(ue,xe){return{\u0275kind:ue,\u0275providers:xe}}function Ya(){const ue=(0,e.f3M)(e.zs3);return xe=>{const ie=ue.get(e.z2F);if(xe!==ie.components[0])return;const Oe=ue.get(pi),et=ue.get(Jn);1===ue.get(Mr)&&Oe.initialNavigation(),ue.get(la,null,e.XFs.Optional)?.setUpPreloading(),ue.get(Ur,null,e.XFs.Optional)?.init(),Oe.resetRootComponentType(ie.componentTypes[0]),et.closed||(et.next(),et.complete(),et.unsubscribe())}}const Jn=new e.OlP("",{factory:()=>new d.x}),Mr=new e.OlP("",{providedIn:"root",factory:()=>1}),la=new e.OlP("");function ca(ue){return ao(0,[{provide:la,useExisting:Zo},{provide:sa,useExisting:ue}])}const Er=new e.OlP("ROUTER_FORROOT_GUARD"),dn=[f.Ye,{provide:Lt,useClass:Wt},pi,bi,{provide:It,useFactory:function Ps(ue){return ue.routerState.root},deps:[pi]},me,[]];function gi(){return new e.PXZ("Router",pi)}let Ms=(()=>{class ue{constructor(ie){}static forRoot(ie,Oe){return{ngModule:ue,providers:[dn,[],{provide:Ys,multi:!0,useValue:ie},{provide:Er,useFactory:nr,deps:[[pi,new e.FiY,new e.tp0]]},{provide:Gn,useValue:Oe||{}},Oe?.useHash?{provide:f.S$,useClass:f.Do}:{provide:f.S$,useClass:f.b0},{provide:Ur,useFactory:()=>{const ue=(0,e.f3M)(f.EM),xe=(0,e.f3M)(e.R0b),ie=(0,e.f3M)(Gn),Oe=(0,e.f3M)(Ht),et=(0,e.f3M)(Lt);return ie.scrollOffset&&ue.setOffset(ie.scrollOffset),new ra(et,Oe,ue,xe,ie)}},Oe?.preloadingStrategy?ca(Oe.preloadingStrategy).\u0275providers:[],{provide:e.PXZ,multi:!0,useFactory:gi},Oe?.initialNavigation?ns(Oe):[],Oe?.bindToComponentInputs?ao(8,[mn,{provide:ln,useExisting:mn}]).\u0275providers:[],[{provide:br,useFactory:Ya},{provide:e.tb,multi:!0,useExisting:br}]]}}static forChild(ie){return{ngModule:ue,providers:[{provide:Ys,multi:!0,useValue:ie}]}}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.LFG(Er,8))};static#t=this.\u0275mod=e.oAB({type:ue});static#n=this.\u0275inj=e.cJS({})}return ue})();function nr(ue){return"guarded"}function ns(ue){return["disabled"===ue.initialNavigation?ao(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const xe=(0,e.f3M)(pi);return()=>{xe.setUpLocationChangeListener()}}},{provide:Mr,useValue:2}]).\u0275providers:[],"enabledBlocking"===ue.initialNavigation?ao(2,[{provide:Mr,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:xe=>{const ie=xe.get(f.V_,Promise.resolve());return()=>ie.then(()=>new Promise(Oe=>{const et=xe.get(pi),Tt=xe.get(Jn);Ho(et,()=>{Oe(!0)}),xe.get(Ht).afterPreactivation=()=>(Oe(!0),Tt.closed?(0,i.of)(void 0):Tt),et.initialNavigation()}))}}]).\u0275providers:[]]}const br=new e.OlP("")},14715:(tt,I,o)=>{"use strict";o.d(I,{BOg:()=>Dt,BXH:()=>hi,BXO:()=>Zd,Dfz:()=>Dc,ECR:()=>V0,Ej7:()=>Si,FsU:()=>P0,Hkd:()=>Ke,Idu:()=>Oi,ItN:()=>mr,Kw4:()=>zo,LBP:()=>Xu,LJh:()=>aa,M4u:()=>xa,M8e:()=>zs,Mwl:()=>Bs,NFG:()=>So,OYp:()=>li,OeK:()=>Et,P0d:()=>Uo,Q2k:()=>qa,RIp:()=>hs,RU0:()=>Ut,RYI:()=>ti,RZ3:()=>Ar,Rfq:()=>Ce,SFb:()=>Ga,TSL:()=>l1,U2Q:()=>Dn,UKj:()=>On,UTl:()=>Pt,UY$:()=>Nh,V65:()=>_e,VWu:()=>Fo,WH2:()=>Ws,XuQ:()=>x,Xwh:()=>zl,Z5F:()=>Ii,_ry:()=>cl,aIM:()=>qr,bBn:()=>L,cLx:()=>wc,cN2:()=>Qh,d2H:()=>Ns,d_$:()=>kc,eFY:()=>ah,eLU:()=>Pi,fhO:()=>d1,gvV:()=>as,iUK:()=>ao,irO:()=>oc,kR2:()=>sf,khz:()=>Qp,mqL:()=>ga,nZ9:()=>Qs,np6:()=>fl,nrZ:()=>F,qtR:()=>iu,rHg:()=>kd,rMt:()=>Wo,rk5:()=>Ja,s4U:()=>tl,sZJ:()=>xd,s_U:()=>s1,ssy:()=>Us,u8X:()=>cd,uIz:()=>_1,uYj:()=>Hd,ud1:()=>We,v6v:()=>Gh,vEg:()=>Gi,vkb:()=>jt,w1L:()=>Nd,wJM:()=>qi,x0x:()=>Hi,yQU:()=>hn,yhW:()=>ze,zdJ:()=>fc});const ze={name:"appstore",theme:"outline",icon:''},_e={name:"bars",theme:"outline",icon:''},We={name:"calendar",theme:"outline",icon:''},Ke={name:"caret-down",theme:"fill",icon:''},x={name:"caret-down",theme:"outline",icon:''},L={name:"caret-up",theme:"fill",icon:''},Ce={name:"check-circle",theme:"fill",icon:''},Dt={name:"caret-up",theme:"outline",icon:''},hn={name:"check-circle",theme:"outline",icon:''},Dn={name:"check",theme:"outline",icon:''},hi={name:"close-circle",theme:"fill",icon:''},li={name:"close-circle",theme:"outline",icon:''},Pi={name:"close",theme:"outline",icon:''},On={name:"clock-circle",theme:"outline",icon:''},Hi={name:"copy",theme:"outline",icon:''},zo={name:"copyright",theme:"outline",icon:''},Si={name:"dashboard",theme:"outline",icon:''},jt={name:"delete",theme:"outline",icon:''},qi={name:"dingding",theme:"outline",icon:''},Et={name:"bell",theme:"outline",icon:''},Wo={name:"double-right",theme:"outline",icon:''},Fo={name:"double-left",theme:"outline",icon:''},Gi={name:"down",theme:"outline",icon:''},Bs={name:"download",theme:"outline",icon:''},Ut={name:"ellipsis",theme:"outline",icon:''},hs={name:"edit",theme:"outline",icon:''},Us={name:"exclamation-circle",theme:"outline",icon:''},zs={name:"exclamation-circle",theme:"fill",icon:''},Ii={name:"eye",theme:"outline",icon:''},Oi={name:"facebook",theme:"outline",icon:''},ao={name:"file",theme:"fill",icon:''},aa={name:"file",theme:"outline",icon:''},So={name:"filter",theme:"fill",icon:''},ti={name:"folder",theme:"outline",icon:''},Ws={name:"form",theme:"outline",icon:''},Ja={name:"fullscreen",theme:"outline",icon:''},Ga={name:"fullscreen-exit",theme:"outline",icon:''},qa={name:"folder-open",theme:"outline",icon:''},tl={name:"github",theme:"outline",icon:''},cd={name:"global",theme:"outline",icon:''},ga={name:"heart",theme:"outline",icon:''},oc={name:"inbox",theme:"outline",icon:''},F={name:"info-circle",theme:"outline",icon:''},Pt={name:"info-circle",theme:"fill",icon:''},Uo={name:"layout",theme:"outline",icon:''},as={name:"left",theme:"outline",icon:''},Ns={name:"loading",theme:"outline",icon:''},Qs={name:"lock",theme:"outline",icon:''},mr={name:"logout",theme:"outline",icon:''},Qp={name:"menu",theme:"outline",icon:''},Xu={name:"menu-fold",theme:"outline",icon:''},cl={name:"menu-unfold",theme:"outline",icon:''},sf={name:"code-sandbox",theme:"outline",icon:''},ah={name:"paper-clip",theme:"outline",icon:''},fc={name:"plus",theme:"outline",icon:''},xd={name:"question-circle",theme:"outline",icon:''},Nd={name:"rotate-right",theme:"outline",icon:''},Ar={name:"rocket",theme:"outline",icon:''},Nh={name:"rotate-left",theme:"outline",icon:''},fl={name:"right",theme:"outline",icon:''},xa={name:"setting",theme:"outline",icon:''},kd={name:"search",theme:"outline",icon:''},Hd={name:"skin",theme:"outline",icon:''},Dc={name:"star",theme:"outline",icon:''},Gh={name:"star",theme:"fill",icon:''},Qh={name:"swap-right",theme:"outline",icon:''},Zd={name:"snippets",theme:"outline",icon:''},wc={name:"thunderbolt",theme:"fill",icon:''},qr={name:"tool",theme:"outline",icon:''},iu={name:"twitter",theme:"outline",icon:''},P0={name:"up",theme:"outline",icon:''},s1={name:"upload",theme:"outline",icon:''},l1={name:"vertical-align-top",theme:"outline",icon:''},zl={name:"vertical-left",theme:"outline",icon:''},d1={name:"vertical-right",theme:"outline",icon:''},V0={name:"user",theme:"outline",icon:''},_1={name:"zoom-in",theme:"outline",icon:''},kc={name:"zoom-out",theme:"outline",icon:''}},83991:(tt,I,o)=>{"use strict";o.d(I,{M:()=>z,l:()=>M});var e=o(65879),n=o(96814),t=o(65619),i=o(69862);const l=function(p){return{display:p}},h=["*"];let E=(()=>{class p{get notify(){return this._notify.asObservable()}constructor(_){this.http=_,this.cached={},this._notify=new t.X(null)}req(_,d){const m=`https://api.github.com/repos/${_}/${d}`;null==this.cached[m]?(this.cached[m]={},this.http.get(m).subscribe(f=>{this.cached[m]=f,this._notify.next(this.cached[m])})):this._notify.next(this.cached[m])}static#e=this.\u0275fac=function(d){return new(d||p)(e.LFG(i.eN))};static#t=this.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const u=!("object"==typeof document&&document);let z=(()=>{class p{get repo_url(){return`//github.com/${this.namespace}/${this.repo}/`}get count_url(){return`//github.com/${this.namespace}/${this.repo}/${this.typeToPath[this.type]||this.type}/`}constructor(_,d){this.srv=_,this.cdr=d,this.typeToLabel={stargazers:"Star",subscribers:"Watch",forks:"Fork"},this.typeToPath={forks:"network"},this.count=0,this.type="stargazers",this.size="default",this.showZero=!1}setCount(_){this.count=_?_[`${this.type}_count`]:0,this.cdr.detectChanges()}ngOnInit(){this.notify$=this.srv.notify.subscribe(_=>this.setCount(_))}ngOnChanges(){u||this.srv.req(this.namespace,this.repo)}ngOnDestroy(){this.notify$?.unsubscribe()}static#e=this.\u0275fac=function(d){return new(d||p)(e.Y36(E),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:p,selectors:[["github-button"]],hostVars:2,hostBindings:function(d,m){2&d&&e.ekj("github-btn-large","large"===m.size)},inputs:{type:"type",size:"size",namespace:"namespace",repo:"repo",showZero:"showZero"},standalone:!0,features:[e.TTD,e.jDz],ngContentSelectors:h,decls:7,vars:7,consts:[["target","_blank",1,"gh-btn",3,"href"],["aria-hidden","true",1,"gh-ico"],[1,"gh-text"],["target","_blank",1,"gh-count",3,"href","ngStyle"]],template:function(d,m){1&d&&(e.F$t(),e.TgZ(0,"a",0),e._UZ(1,"span",1),e.TgZ(2,"span",2),e._uU(3),e.qZA()(),e.TgZ(4,"a",3),e._uU(5),e.qZA(),e.Hsn(6)),2&d&&(e.Q6J("href",m.repo_url,e.LSH),e.xp6(3),e.Oqu(m.typeToLabel[m.type]),e.xp6(1),e.Q6J("href",m.count_url,e.LSH)("ngStyle",e.VKq(5,l,m.showZero||m.count>0?"block":"none")),e.xp6(1),e.hij(" ",m.count," "))},dependencies:[n.ez,n.PC],styles:['[_nghost-%COMP%]{font:700 11px/14px Helvetica Neue,Helvetica,Arial,sans-serif;height:20px;overflow:hidden}[_nghost-%COMP%]:after, [_nghost-%COMP%]:before{content:" ";display:table}[_nghost-%COMP%]:after{clear:both;visibility:hidden;font-size:0;height:0}[_nghost-%COMP%] .gh-btn, [_nghost-%COMP%] .gh-count, [_nghost-%COMP%] .gh-ico{float:left}[_nghost-%COMP%] .gh-btn, [_nghost-%COMP%] .gh-count{padding:2px 5px 2px 4px;color:#333;text-decoration:none;white-space:nowrap;cursor:pointer;border-radius:3px}[_nghost-%COMP%] .gh-btn{background-color:#eee;background-image:linear-gradient(to bottom,#fcfcfc 0,#eee 100%);background-repeat:no-repeat;border:1px solid #d5d5d5}[_nghost-%COMP%] .gh-btn:hover, [_nghost-%COMP%] .gh-btn:focus{text-decoration:none;background-color:#ddd;background-image:linear-gradient(to bottom,#eee 0,#ddd 100%);border-color:#ccc}[_nghost-%COMP%] .gh-btn:active{background-image:none;background-color:#dcdcdc;border-color:#b5b5b5;box-shadow:inset 0 2px 4px #00000026}[_nghost-%COMP%] .gh-ico{width:14px;height:14px;margin-right:4px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMTIgMTIgNDAgNDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMTIgMTIgNDAgNDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiMzMzMzMzMiIGQ9Ik0zMiAxMy40Yy0xMC41IDAtMTkgOC41LTE5IDE5YzAgOC40IDUuNSAxNS41IDEzIDE4YzEgMC4yIDEuMy0wLjQgMS4zLTAuOWMwLTAuNSAwLTEuNyAwLTMuMiBjLTUuMyAxLjEtNi40LTIuNi02LjQtMi42QzIwIDQxLjYgMTguOCA0MSAxOC44IDQxYy0xLjctMS4yIDAuMS0xLjEgMC4xLTEuMWMxLjkgMC4xIDIuOSAyIDIuOSAyYzEuNyAyLjkgNC41IDIuMSA1LjUgMS42IGMwLjItMS4yIDAuNy0yLjEgMS4yLTIuNmMtNC4yLTAuNS04LjctMi4xLTguNy05LjRjMC0yLjEgMC43LTMuNyAyLTUuMWMtMC4yLTAuNS0wLjgtMi40IDAuMi01YzAgMCAxLjYtMC41IDUuMiAyIGMxLjUtMC40IDMuMS0wLjcgNC44LTAuN2MxLjYgMCAzLjMgMC4yIDQuNyAwLjdjMy42LTIuNCA1LjItMiA1LjItMmMxIDIuNiAwLjQgNC42IDAuMiA1YzEuMiAxLjMgMiAzIDIgNS4xYzAgNy4zLTQuNSA4LjktOC43IDkuNCBjMC43IDAuNiAxLjMgMS43IDEuMyAzLjVjMCAyLjYgMCA0LjYgMCA1LjJjMCAwLjUgMC40IDEuMSAxLjMgMC45YzcuNS0yLjYgMTMtOS43IDEzLTE4LjFDNTEgMjEuOSA0Mi41IDEzLjQgMzIgMTMuNHoiLz48L3N2Zz4=);background-size:100% 100%;background-repeat:no-repeat}[_nghost-%COMP%] .gh-count{position:relative;display:none;margin-left:4px;background-color:#fafafa;border:1px solid #d4d4d4}[_nghost-%COMP%] .gh-count:hover, [_nghost-%COMP%] .gh-count:focus{color:#4183c4}[_nghost-%COMP%] .gh-count:before, [_nghost-%COMP%] .gh-count:after{content:"";position:absolute;display:inline-block;width:0;height:0;border-color:transparent;border-style:solid}[_nghost-%COMP%] .gh-count:before{top:50%;left:-3px;margin-top:-4px;border-width:4px 4px 4px 0;border-right-color:#fafafa}[_nghost-%COMP%] .gh-count:after{top:50%;left:-4px;z-index:-1;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#d4d4d4}.github-btn-large[_nghost-%COMP%]{height:30px}.github-btn-large[_nghost-%COMP%] .gh-btn, .github-btn-large[_nghost-%COMP%] .gh-count{padding:3px 10px 3px 8px;font-size:16px;line-height:22px;border-radius:4px}.github-btn-large[_nghost-%COMP%] .gh-ico{width:20px;height:20px}.github-btn-large[_nghost-%COMP%] .gh-count{margin-left:6px}.github-btn-large[_nghost-%COMP%] .gh-count:before{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0}.github-btn-large[_nghost-%COMP%] .gh-count:after{left:-6px;margin-top:-7px;border-width:7px 7px 7px 0}'],changeDetection:0})}return p})(),M=(()=>{class p{static#e=this.\u0275fac=function(d){return new(d||p)};static#t=this.\u0275mod=e.oAB({type:p});static#n=this.\u0275inj=e.cJS({imports:[z]})}return p})()},23771:(tt,I,o)=>{"use strict";o.d(I,{$:()=>R,j:()=>W});var e=o(97582),n=o(96814),t=o(65879),i=o(47394),l=o(97328),h=o(78645),E=o(63019),u=o(92438),z=o(59773),M=o(37398),p=o(18753),v=o(83064),_=o(27754),d=o(99087),m=o(62831),f=o(28802),C=o(49388);const T=["fixedEl"],b=["*"];var D=function(j){return j.resize="resize",j.scroll="scroll",j.touchstart="touchstart",j.touchmove="touchmove",j.touchend="touchend",j.pageshow="pageshow",j.load="LOAD",j}(D||{});function P(j){return function y(j){return typeof window<"u"&&j===window}(j)?{top:0,left:0,bottom:0}:j.getBoundingClientRect()}const A="ant-affix";let R=(()=>{class j{get target(){const Y=this.nzTarget;return("string"==typeof Y?this.document.querySelector(Y):Y)||window}constructor(Y,G,V,K,ee,te,pe,re,De,ae){this.nzConfigService=V,this.scrollSrv=K,this.ngZone=ee,this.platform=te,this.renderer=pe,this.nzResizeObserver=re,this.cdr=De,this.directionality=ae,this._nzModuleName="affix",this.nzChange=new t.vpe,this.dir="ltr",this.positionChangeSubscription=i.w0.EMPTY,this.offsetChanged$=new l.t(1),this.destroy$=new h.x,this.placeholderNode=Y.nativeElement,this.document=G}ngOnInit(){this.directionality.change?.pipe((0,z.R)(this.destroy$)).subscribe(Y=>{this.dir=Y,this.registerListeners(),this.updatePosition({}),this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(Y){const{nzOffsetBottom:G,nzOffsetTop:V,nzTarget:K}=Y;(G||V)&&this.offsetChanged$.next(),K&&this.registerListeners()}ngAfterViewInit(){this.registerListeners()}ngOnDestroy(){this.removeListeners()}registerListeners(){if(!this.platform.isBrowser)return;this.removeListeners();const Y=this.target===window?this.document.body:this.target;this.positionChangeSubscription=this.ngZone.runOutsideAngular(()=>(0,E.T)(...Object.keys(D).map(G=>(0,u.R)(this.target,G)),this.offsetChanged$.pipe((0,M.U)(()=>({}))),this.nzResizeObserver.observe(Y)).pipe((0,p.p)(20,void 0,{trailing:!0}),(0,z.R)(this.destroy$)).subscribe(G=>this.updatePosition(G))),this.timeout=setTimeout(()=>this.updatePosition({}))}removeListeners(){clearTimeout(this.timeout),this.positionChangeSubscription.unsubscribe(),this.destroy$.next(!0),this.destroy$.complete()}getOffset(Y,G){const V=Y.getBoundingClientRect(),K=P(G),ee=this.scrollSrv.getScroll(G,!0),te=this.scrollSrv.getScroll(G,!1),pe=this.document.body;return{top:V.top-K.top+ee-(pe.clientTop||0),left:V.left-K.left+te-(pe.clientLeft||0),width:V.width,height:V.height}}setAffixStyle(Y,G){const V=this.affixStyle,K=this.target===window;if("scroll"===Y.type&&V&&G&&K||(0,_.wU)(V,G))return;const ee=!!G,te=this.fixedEl.nativeElement;this.renderer.setStyle(te,"cssText",(0,_.GM)(G)),this.affixStyle=G,ee?te.classList.add(A):te.classList.remove(A),this.updateRtlClass(),(G&&!V||!G&&V)&&this.nzChange.emit(ee)}setPlaceholderStyle(Y){(0,_.wU)(Y,this.placeholderStyle)||(this.renderer.setStyle(this.placeholderNode,"cssText",(0,_.GM)(Y)),this.placeholderStyle=Y)}syncPlaceholderStyle(Y){if(!this.affixStyle)return;this.renderer.setStyle(this.placeholderNode,"cssText",""),this.placeholderStyle=void 0;const G={width:this.placeholderNode.offsetWidth,height:this.fixedEl.nativeElement.offsetHeight};this.setAffixStyle(Y,{...this.affixStyle,...G}),this.setPlaceholderStyle(G)}updatePosition(Y){if(!this.platform.isBrowser)return;const G=this.target;let V=this.nzOffsetTop;const K=this.scrollSrv.getScroll(G,!0),ee=this.getOffset(this.placeholderNode,G),te=this.fixedEl.nativeElement,pe={width:te.offsetWidth,height:te.offsetHeight},re={top:!1,bottom:!1};"number"!=typeof V&&"number"!=typeof this.nzOffsetBottom?(re.top=!0,V=0):(re.top="number"==typeof V,re.bottom="number"==typeof this.nzOffsetBottom);const De=P(G),ae=G.innerHeight||G.clientHeight;if(K>=ee.top-V&&re.top){const ce=ee.width;this.setAffixStyle(Y,{position:"fixed",top:De.top+V,left:De.left+ee.left,width:ce}),this.setPlaceholderStyle({width:ce,height:pe.height})}else if(K<=ee.top+pe.height+this.nzOffsetBottom-ae&&re.bottom){const ce=G===window?0:window.innerHeight-De.bottom,X=ee.width;this.setAffixStyle(Y,{position:"fixed",bottom:ce+this.nzOffsetBottom,left:De.left+ee.left,width:X}),this.setPlaceholderStyle({width:X,height:ee.height})}else Y.type===D.resize&&this.affixStyle&&"fixed"===this.affixStyle.position&&this.placeholderNode.offsetWidth?this.setAffixStyle(Y,{...this.affixStyle,width:this.placeholderNode.offsetWidth}):this.setAffixStyle(Y),this.setPlaceholderStyle();"resize"===Y.type&&this.syncPlaceholderStyle(Y)}updateRtlClass(){const Y=this.fixedEl.nativeElement;"rtl"===this.dir&&Y.classList.contains(A)?Y.classList.add(`${A}-rtl`):Y.classList.remove(`${A}-rtl`)}static#e=this.\u0275fac=function(G){return new(G||j)(t.Y36(t.SBq),t.Y36(n.K0),t.Y36(v.jY),t.Y36(d.MF),t.Y36(t.R0b),t.Y36(m.t4),t.Y36(t.Qsj),t.Y36(f.D3),t.Y36(t.sBO),t.Y36(C.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:j,selectors:[["nz-affix"]],viewQuery:function(G,V){if(1&G&&t.Gf(T,7),2&G){let K;t.iGM(K=t.CRH())&&(V.fixedEl=K.first)}},inputs:{nzTarget:"nzTarget",nzOffsetTop:"nzOffsetTop",nzOffsetBottom:"nzOffsetBottom"},outputs:{nzChange:"nzChange"},exportAs:["nzAffix"],features:[t.TTD],ngContentSelectors:b,decls:3,vars:0,consts:[["fixedEl",""]],template:function(G,V){1&G&&(t.F$t(),t.TgZ(0,"div",null,0),t.Hsn(2),t.qZA())},encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,v.oS)(),(0,_.Rn)(void 0)],j.prototype,"nzOffsetTop",void 0),(0,e.gn)([(0,v.oS)(),(0,_.Rn)(void 0)],j.prototype,"nzOffsetBottom",void 0),j})(),W=(()=>{class j{static#e=this.\u0275fac=function(G){return new(G||j)};static#t=this.\u0275mod=t.oAB({type:j});static#n=this.\u0275inj=t.cJS({imports:[C.vT,n.ez,m.ud]})}return j})()},93903:(tt,I,o)=>{"use strict";o.d(I,{L:()=>Y,r:()=>ze});var e=o(97582),n=o(65879),t=o(78645),i=o(59773),l=o(64194),h=o(83064),E=o(27754),u=o(49388),z=o(96814),M=o(90551),p=o(8324);function v(G,V){1&G&&n.GkF(0)}function _(G,V){if(1&G&&(n.ynx(0),n.YNc(1,v,1,0,"ng-container",9),n.BQk()),2&G){const K=n.oxw(3);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzIcon)}}function d(G,V){if(1&G&&n._UZ(0,"span",10),2&G){const K=n.oxw(3);n.Q6J("nzType",K.nzIconType||K.inferredIconType)("nzTheme",K.iconTheme)}}function m(G,V){if(1&G&&(n.TgZ(0,"div",6),n.YNc(1,_,2,1,"ng-container",7),n.YNc(2,d,1,2,"ng-template",null,8,n.W1O),n.qZA()),2&G){const K=n.MAs(3),ee=n.oxw(2);n.xp6(1),n.Q6J("ngIf",ee.nzIcon)("ngIfElse",K)}}function f(G,V){if(1&G&&(n.ynx(0),n._uU(1),n.BQk()),2&G){const K=n.oxw(4);n.xp6(1),n.Oqu(K.nzMessage)}}function C(G,V){if(1&G&&(n.TgZ(0,"span",14),n.YNc(1,f,2,1,"ng-container",9),n.qZA()),2&G){const K=n.oxw(3);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzMessage)}}function T(G,V){if(1&G&&(n.ynx(0),n._uU(1),n.BQk()),2&G){const K=n.oxw(4);n.xp6(1),n.Oqu(K.nzDescription)}}function b(G,V){if(1&G&&(n.TgZ(0,"span",15),n.YNc(1,T,2,1,"ng-container",9),n.qZA()),2&G){const K=n.oxw(3);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzDescription)}}function D(G,V){if(1&G&&(n.TgZ(0,"div",11),n.YNc(1,C,2,1,"span",12),n.YNc(2,b,2,1,"span",13),n.qZA()),2&G){const K=n.oxw(2);n.xp6(1),n.Q6J("ngIf",K.nzMessage),n.xp6(1),n.Q6J("ngIf",K.nzDescription)}}function y(G,V){if(1&G&&(n.ynx(0),n._uU(1),n.BQk()),2&G){const K=n.oxw(3);n.xp6(1),n.Oqu(K.nzAction)}}function P(G,V){if(1&G&&(n.TgZ(0,"div",16),n.YNc(1,y,2,1,"ng-container",9),n.qZA()),2&G){const K=n.oxw(2);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzAction)}}function S(G,V){1&G&&n._UZ(0,"span",19)}function A(G,V){if(1&G&&(n.ynx(0),n.TgZ(1,"span",20),n._uU(2),n.qZA(),n.BQk()),2&G){const K=n.oxw(4);n.xp6(2),n.Oqu(K.nzCloseText)}}function k(G,V){if(1&G&&(n.ynx(0),n.YNc(1,A,3,1,"ng-container",9),n.BQk()),2&G){const K=n.oxw(3);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzCloseText)}}function R(G,V){if(1&G){const K=n.EpF();n.TgZ(0,"button",17),n.NdJ("click",function(){n.CHM(K);const te=n.oxw(2);return n.KtG(te.closeAlert())}),n.YNc(1,S,1,0,"ng-template",null,18,n.W1O),n.YNc(3,k,2,1,"ng-container",7),n.qZA()}if(2&G){const K=n.MAs(2),ee=n.oxw(2);n.xp6(3),n.Q6J("ngIf",ee.nzCloseText)("ngIfElse",K)}}function W(G,V){if(1&G){const K=n.EpF();n.TgZ(0,"div",1),n.NdJ("@slideAlertMotion.done",function(){n.CHM(K);const te=n.oxw();return n.KtG(te.onFadeAnimationDone())}),n.YNc(1,m,4,2,"div",2),n.YNc(2,D,3,2,"div",3),n.YNc(3,P,2,1,"div",4),n.YNc(4,R,4,2,"button",5),n.qZA()}if(2&G){const K=n.oxw();n.ekj("ant-alert-rtl","rtl"===K.dir)("ant-alert-success","success"===K.nzType)("ant-alert-info","info"===K.nzType)("ant-alert-warning","warning"===K.nzType)("ant-alert-error","error"===K.nzType)("ant-alert-no-icon",!K.nzShowIcon)("ant-alert-banner",K.nzBanner)("ant-alert-closable",K.nzCloseable)("ant-alert-with-description",!!K.nzDescription),n.Q6J("@.disabled",K.nzNoAnimation)("@slideAlertMotion",void 0),n.xp6(1),n.Q6J("ngIf",K.nzShowIcon),n.xp6(1),n.Q6J("ngIf",K.nzMessage||K.nzDescription),n.xp6(1),n.Q6J("ngIf",K.nzAction),n.xp6(1),n.Q6J("ngIf",K.nzCloseable||K.nzCloseText)}}const j="alert";let ze=(()=>{class G{constructor(K,ee,te){this.nzConfigService=K,this.cdr=ee,this.directionality=te,this._nzModuleName=j,this.nzAction=null,this.nzCloseText=null,this.nzIconType=null,this.nzMessage=null,this.nzDescription=null,this.nzType="info",this.nzCloseable=!1,this.nzShowIcon=!1,this.nzBanner=!1,this.nzNoAnimation=!1,this.nzIcon=null,this.nzOnClose=new n.vpe,this.closed=!1,this.iconTheme="fill",this.inferredIconType="info-circle",this.dir="ltr",this.isTypeSet=!1,this.isShowIconSet=!1,this.destroy$=new t.x,this.nzConfigService.getConfigChangeEventForComponent(j).pipe((0,i.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(K=>{this.dir=K,this.cdr.detectChanges()}),this.dir=this.directionality.value}closeAlert(){this.closed=!0}onFadeAnimationDone(){this.closed&&this.nzOnClose.emit(!0)}ngOnChanges(K){const{nzShowIcon:ee,nzDescription:te,nzType:pe,nzBanner:re}=K;if(ee&&(this.isShowIconSet=!0),pe)switch(this.isTypeSet=!0,this.nzType){case"error":this.inferredIconType="close-circle";break;case"success":this.inferredIconType="check-circle";break;case"info":this.inferredIconType="info-circle";break;case"warning":this.inferredIconType="exclamation-circle"}te&&(this.iconTheme=this.nzDescription?"outline":"fill"),re&&(this.isTypeSet||(this.nzType="warning"),this.isShowIconSet||(this.nzShowIcon=!0))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(ee){return new(ee||G)(n.Y36(h.jY),n.Y36(n.sBO),n.Y36(u.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:G,selectors:[["nz-alert"]],inputs:{nzAction:"nzAction",nzCloseText:"nzCloseText",nzIconType:"nzIconType",nzMessage:"nzMessage",nzDescription:"nzDescription",nzType:"nzType",nzCloseable:"nzCloseable",nzShowIcon:"nzShowIcon",nzBanner:"nzBanner",nzNoAnimation:"nzNoAnimation",nzIcon:"nzIcon"},outputs:{nzOnClose:"nzOnClose"},exportAs:["nzAlert"],features:[n.TTD],decls:1,vars:1,consts:[["class","ant-alert",3,"ant-alert-rtl","ant-alert-success","ant-alert-info","ant-alert-warning","ant-alert-error","ant-alert-no-icon","ant-alert-banner","ant-alert-closable","ant-alert-with-description",4,"ngIf"],[1,"ant-alert"],["class","ant-alert-icon",4,"ngIf"],["class","ant-alert-content",4,"ngIf"],["class","ant-alert-action",4,"ngIf"],["type","button","tabindex","0","class","ant-alert-close-icon",3,"click",4,"ngIf"],[1,"ant-alert-icon"],[4,"ngIf","ngIfElse"],["iconDefaultTemplate",""],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"],[1,"ant-alert-content"],["class","ant-alert-message",4,"ngIf"],["class","ant-alert-description",4,"ngIf"],[1,"ant-alert-message"],[1,"ant-alert-description"],[1,"ant-alert-action"],["type","button","tabindex","0",1,"ant-alert-close-icon",3,"click"],["closeDefaultTemplate",""],["nz-icon","","nzType","close"],[1,"ant-alert-close-text"]],template:function(ee,te){1&ee&&n.YNc(0,W,5,24,"div",0),2&ee&&n.Q6J("ngIf",!te.closed)},dependencies:[z.O5,M.Ls,p.f],encapsulation:2,data:{animation:[l.Rq]},changeDetection:0})}return(0,e.gn)([(0,h.oS)(),(0,E.yF)()],G.prototype,"nzCloseable",void 0),(0,e.gn)([(0,h.oS)(),(0,E.yF)()],G.prototype,"nzShowIcon",void 0),(0,e.gn)([(0,E.yF)()],G.prototype,"nzBanner",void 0),(0,e.gn)([(0,E.yF)()],G.prototype,"nzNoAnimation",void 0),G})(),Y=(()=>{class G{static#e=this.\u0275fac=function(ee){return new(ee||G)};static#t=this.\u0275mod=n.oAB({type:G});static#n=this.\u0275inj=n.cJS({imports:[u.vT,z.ez,M.PV,p.T]})}return G})()},29094:(tt,I,o)=>{"use strict";o.d(I,{Fp:()=>j,IT:()=>W,on:()=>ze});var e=o(65879),n=o(97582),t=o(62831),i=o(96814),l=o(78645),h=o(92438),E=o(18753),u=o(59773),z=o(83064),M=o(27754),p=o(99087),v=o(23771),_=o(49388);const d=["ink"];function m(Y,G){}function f(Y,G){if(1&Y&&(e.TgZ(0,"nz-affix",2),e.YNc(1,m,0,0,"ng-template",3),e.qZA()),2&Y){const V=e.oxw(),K=e.MAs(2);e.Q6J("nzOffsetTop",V.nzOffsetTop)("nzTarget",V.container),e.xp6(1),e.Q6J("ngTemplateOutlet",K)}}const C=function(Y){return{"ant-anchor-fixed":Y}};function T(Y,G){if(1&Y&&(e.TgZ(0,"div",4)(1,"div",5)(2,"div",6),e._UZ(3,"div",7,8),e.qZA(),e.Hsn(5),e.qZA()()),2&Y){const V=e.oxw();e.Q6J("ngStyle",V.wrapperStyle),e.xp6(1),e.Q6J("ngClass",e.VKq(2,C,!V.nzAffix&&!V.nzShowInkInFixed))}}const b=["*"],D=["nzTemplate"],y=["linkTitle"];function P(Y,G){if(1&Y&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&Y){const V=e.oxw();e.xp6(1),e.Oqu(V.titleStr)}}function S(Y,G){if(!Y||!Y.getClientRects().length)return 0;const V=Y.getBoundingClientRect();return V.width||V.height?G===window?V.top-Y.ownerDocument.documentElement.clientTop:V.top-G.getBoundingClientRect().top:V.top}const k=/#([^#]+)$/,R=(0,t.i$)({passive:!0});let W=(()=>{class Y{constructor(V,K,ee,te,pe,re,De){this.doc=V,this.nzConfigService=K,this.scrollSrv=ee,this.cdr=te,this.platform=pe,this.zone=re,this.renderer=De,this._nzModuleName="anchor",this.nzAffix=!0,this.nzShowInkInFixed=!1,this.nzBounds=5,this.nzOffsetTop=void 0,this.nzTargetOffset=void 0,this.nzClick=new e.vpe,this.nzChange=new e.vpe,this.nzScroll=new e.vpe,this.visible=!1,this.wrapperStyle={"max-height":"100vh"},this.links=[],this.animating=!1,this.destroy$=new l.x,this.handleScrollTimeoutID=-1}registerLink(V){this.links.push(V)}unregisterLink(V){this.links.splice(this.links.indexOf(V),1)}getContainer(){return this.container||window}ngAfterViewInit(){this.registerScrollEvent()}ngOnDestroy(){clearTimeout(this.handleScrollTimeoutID),this.destroy$.next(!0),this.destroy$.complete()}registerScrollEvent(){this.platform.isBrowser&&(this.destroy$.next(!0),this.zone.runOutsideAngular(()=>{(0,h.R)(this.getContainer(),"scroll",R).pipe((0,E.p)(50),(0,u.R)(this.destroy$)).subscribe(()=>this.handleScroll())}),this.handleScrollTimeoutID=setTimeout(()=>this.handleScroll()))}handleScroll(){if(typeof document>"u"||this.animating)return;const V=[],ee=(this.nzTargetOffset?this.nzTargetOffset:this.nzOffsetTop||0)+this.nzBounds;if(this.links.forEach(te=>{const pe=k.exec(te.nzHref.toString());if(!pe)return;const re=this.doc.getElementById(pe[1]);if(re){const De=S(re,this.getContainer());Dere.top>pe.top?re:pe);this.handleActive(te.comp)}else this.clearActive(),this.cdr.detectChanges();this.setVisible()}clearActive(){this.links.forEach(V=>{V.unsetActive()})}setActive(V){const K=this.activeLink,ee=this.nzCurrentAnchor&&this.links.find(pe=>pe.nzHref===this.nzCurrentAnchor)||V;if(!ee)return;ee.setActive();const te=ee.getLinkTitleElement();this.ink.nativeElement.style.top=te.offsetTop+te.clientHeight/2-4.5+"px",this.activeLink=(V||ee).nzHref,K!==this.activeLink&&this.nzChange.emit(this.activeLink)}handleActive(V){this.clearActive(),this.setActive(V),this.visible=!0,this.setVisible(),this.nzScroll.emit(V)}setVisible(){const K="visible";this.ink&&(this.visible?this.renderer.addClass(this.ink.nativeElement,K):this.renderer.removeClass(this.ink.nativeElement,K))}handleScrollTo(V){const K=this.doc.querySelector(V.nzHref);if(!K)return;this.animating=!0;let pe=this.scrollSrv.getScroll(this.getContainer())+S(K,this.getContainer());pe-=void 0!==this.nzTargetOffset?this.nzTargetOffset:this.nzOffsetTop||0,this.scrollSrv.scrollTo(this.getContainer(),pe,{callback:()=>{this.animating=!1,this.handleActive(V)}}),this.nzClick.emit(V.nzHref)}ngOnChanges(V){const{nzOffsetTop:K,nzContainer:ee,nzCurrentAnchor:te}=V;if(K&&(this.wrapperStyle={"max-height":`calc(100vh - ${this.nzOffsetTop}px)`}),ee){const pe=this.nzContainer;this.container="string"==typeof pe?this.doc.querySelector(pe):pe,this.registerScrollEvent()}te&&this.setActive()}static#e=this.\u0275fac=function(K){return new(K||Y)(e.Y36(i.K0),e.Y36(z.jY),e.Y36(p.MF),e.Y36(e.sBO),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-anchor"]],viewQuery:function(K,ee){if(1&K&&e.Gf(d,5),2&K){let te;e.iGM(te=e.CRH())&&(ee.ink=te.first)}},inputs:{nzAffix:"nzAffix",nzShowInkInFixed:"nzShowInkInFixed",nzBounds:"nzBounds",nzOffsetTop:"nzOffsetTop",nzTargetOffset:"nzTargetOffset",nzContainer:"nzContainer",nzCurrentAnchor:"nzCurrentAnchor"},outputs:{nzClick:"nzClick",nzChange:"nzChange",nzScroll:"nzScroll"},exportAs:["nzAnchor"],features:[e.TTD],ngContentSelectors:b,decls:3,vars:2,consts:[[3,"nzOffsetTop","nzTarget",4,"ngIf","ngIfElse"],["content",""],[3,"nzOffsetTop","nzTarget"],[3,"ngTemplateOutlet"],[1,"ant-anchor-wrapper",3,"ngStyle"],[1,"ant-anchor",3,"ngClass"],[1,"ant-anchor-ink"],[1,"ant-anchor-ink-ball"],["ink",""]],template:function(K,ee){if(1&K&&(e.F$t(),e.YNc(0,f,2,3,"nz-affix",0),e.YNc(1,T,6,4,"ng-template",null,1,e.W1O)),2&K){const te=e.MAs(2);e.Q6J("ngIf",ee.nzAffix)("ngIfElse",te)}},dependencies:[i.mk,i.O5,i.tP,i.PC,v.$],encapsulation:2,changeDetection:0})}return(0,n.gn)([(0,M.yF)()],Y.prototype,"nzAffix",void 0),(0,n.gn)([(0,z.oS)(),(0,M.yF)()],Y.prototype,"nzShowInkInFixed",void 0),(0,n.gn)([(0,z.oS)(),(0,M.Rn)()],Y.prototype,"nzBounds",void 0),(0,n.gn)([(0,M.Rn)(void 0),(0,z.oS)()],Y.prototype,"nzOffsetTop",void 0),(0,n.gn)([(0,M.Rn)(void 0),(0,z.oS)()],Y.prototype,"nzTargetOffset",void 0),Y})(),j=(()=>{class Y{set nzTitle(V){V instanceof e.Rgc?(this.titleStr=null,this.titleTpl=V):this.titleStr=V}constructor(V,K,ee,te){this.elementRef=V,this.anchorComp=K,this.platform=ee,this.renderer=te,this.nzHref="#",this.titleStr=""}ngOnInit(){this.anchorComp.registerLink(this)}getLinkTitleElement(){return this.linkTitle.nativeElement}setActive(){this.renderer.addClass(this.elementRef.nativeElement,"ant-anchor-link-active")}unsetActive(){this.renderer.removeClass(this.elementRef.nativeElement,"ant-anchor-link-active")}goToClick(V){V.preventDefault(),V.stopPropagation(),this.platform.isBrowser&&this.anchorComp.handleScrollTo(this)}ngOnDestroy(){this.anchorComp.unregisterLink(this)}static#e=this.\u0275fac=function(K){return new(K||Y)(e.Y36(e.SBq),e.Y36(W),e.Y36(t.t4),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-link"]],contentQueries:function(K,ee,te){if(1&K&&e.Suo(te,D,5),2&K){let pe;e.iGM(pe=e.CRH())&&(ee.nzTemplate=pe.first)}},viewQuery:function(K,ee){if(1&K&&e.Gf(y,5),2&K){let te;e.iGM(te=e.CRH())&&(ee.linkTitle=te.first)}},hostAttrs:[1,"ant-anchor-link"],inputs:{nzHref:"nzHref",nzTarget:"nzTarget",nzTitle:"nzTitle"},exportAs:["nzLink"],ngContentSelectors:b,decls:4,vars:5,consts:[[1,"ant-anchor-link-title",3,"href","title","target","click"],["linkTitle",""],[4,"ngIf","ngIfElse"]],template:function(K,ee){1&K&&(e.F$t(),e.TgZ(0,"a",0,1),e.NdJ("click",function(pe){return ee.goToClick(pe)}),e.YNc(2,P,2,1,"span",2),e.qZA(),e.Hsn(3)),2&K&&(e.Q6J("href",ee.nzHref,e.LSH)("title",ee.titleStr)("target",ee.nzTarget),e.xp6(2),e.Q6J("ngIf",ee.titleStr)("ngIfElse",ee.titleTpl||ee.nzTemplate))},dependencies:[i.O5],encapsulation:2,changeDetection:0})}return Y})(),ze=(()=>{class Y{static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275mod=e.oAB({type:Y});static#n=this.\u0275inj=e.cJS({imports:[_.vT,i.ez,v.j,t.ud]})}return Y})()},95717:(tt,I,o)=>{"use strict";o.d(I,{NB:()=>ae,Pf:()=>ne,gi:()=>le,ic:()=>Se});var e=o(49388),n=o(33651),t=o(96814),i=o(65879),l=o(331),h=o(8324),E=o(20824),u=o(97582),z=o(78645),M=o(92438),p=o(47394),v=o(74911),_=o(63019),d=o(32181),m=o(59773),f=o(99397),C=o(5177),T=o(48180),b=o(94664),D=o(27754),y=o(36028),P=o(68484),S=o(60095),A=o(64194);function k(Ne,ke){if(1&Ne&&(i.ynx(0),i._uU(1),i.BQk()),2&Ne){const oe=i.oxw();i.xp6(1),i.Oqu(oe.nzLabel)}}const R=[[["nz-auto-option"]]],W=["nz-auto-option"],j=["*"],ze=["panel"],Y=["content"];function G(Ne,ke){}function V(Ne,ke){1&Ne&&i.YNc(0,G,0,0,"ng-template")}function K(Ne,ke){1&Ne&&i.Hsn(0)}function ee(Ne,ke){if(1&Ne&&(i.TgZ(0,"nz-auto-option",8),i._uU(1),i.qZA()),2&Ne){const oe=ke.$implicit;i.Q6J("nzValue",oe)("nzLabel",oe&&oe.label?oe.label:oe),i.xp6(1),i.hij(" ",oe&&oe.label?oe.label:oe," ")}}function te(Ne,ke){if(1&Ne&&i.YNc(0,ee,2,3,"nz-auto-option",7),2&Ne){const oe=i.oxw(2);i.Q6J("ngForOf",oe.nzDataSource)}}function pe(Ne,ke){if(1&Ne){const oe=i.EpF();i.TgZ(0,"div",0,1),i.NdJ("@slideMotion.done",function(Q){i.CHM(oe);const He=i.oxw();return i.KtG(He.onAnimationEvent(Q))}),i.TgZ(2,"div",2)(3,"div",3),i.YNc(4,V,1,0,null,4),i.qZA()()(),i.YNc(5,K,1,0,"ng-template",null,5,i.W1O),i.YNc(7,te,1,1,"ng-template",null,6,i.W1O)}if(2&Ne){const oe=i.MAs(6),_e=i.MAs(8),Q=i.oxw();i.ekj("ant-select-dropdown-hidden",!Q.showPanel)("ant-select-dropdown-rtl","rtl"===Q.dir),i.Q6J("ngClass",Q.nzOverlayClassName)("ngStyle",Q.nzOverlayStyle)("nzNoAnimation",null==Q.noAnimation?null:Q.noAnimation.nzNoAnimation)("@slideMotion",void 0)("@.disabled",!(null==Q.noAnimation||!Q.noAnimation.nzNoAnimation)),i.xp6(4),i.Q6J("ngTemplateOutlet",Q.nzDataSource?_e:oe)}}let re=(()=>{class Ne{constructor(){}static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275cmp=i.Xpm({type:Ne,selectors:[["nz-auto-optgroup"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzAutoOptgroup"],ngContentSelectors:W,decls:3,vars:1,consts:[[1,"ant-select-item","ant-select-item-group"],[4,"nzStringTemplateOutlet"]],template:function(_e,Q){1&_e&&(i.F$t(R),i.TgZ(0,"div",0),i.YNc(1,k,2,1,"ng-container",1),i.qZA(),i.Hsn(2)),2&_e&&(i.xp6(1),i.Q6J("nzStringTemplateOutlet",Q.nzLabel))},dependencies:[h.f],encapsulation:2,changeDetection:0})}return Ne})();class De{constructor(ke,oe=!1){this.source=ke,this.isUserInput=oe}}let ae=(()=>{class Ne{constructor(oe,_e,Q,He){this.ngZone=oe,this.changeDetectorRef=_e,this.element=Q,this.nzAutocompleteOptgroupComponent=He,this.nzDisabled=!1,this.selectionChange=new i.vpe,this.mouseEntered=new i.vpe,this.active=!1,this.selected=!1,this.destroy$=new z.x}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,M.R)(this.element.nativeElement,"mouseenter").pipe((0,d.h)(()=>this.mouseEntered.observers.length>0),(0,m.R)(this.destroy$)).subscribe(()=>{this.ngZone.run(()=>this.mouseEntered.emit(this))}),(0,M.R)(this.element.nativeElement,"mousedown").pipe((0,m.R)(this.destroy$)).subscribe(oe=>oe.preventDefault())})}ngOnDestroy(){this.destroy$.next()}select(oe=!0){this.selected=!0,this.changeDetectorRef.markForCheck(),oe&&this.emitSelectionChangeEvent()}deselect(){this.selected=!1,this.changeDetectorRef.markForCheck(),this.emitSelectionChangeEvent()}getLabel(){return this.nzLabel||this.nzValue.toString()}setActiveStyles(){this.active||(this.active=!0,this.changeDetectorRef.markForCheck())}setInactiveStyles(){this.active&&(this.active=!1,this.changeDetectorRef.markForCheck())}scrollIntoViewIfNeeded(){(0,D.zT)(this.element.nativeElement)}selectViaInteraction(){this.nzDisabled||(this.selected=!this.selected,this.selected?this.setActiveStyles():this.setInactiveStyles(),this.emitSelectionChangeEvent(!0),this.changeDetectorRef.markForCheck())}emitSelectionChangeEvent(oe=!1){this.selectionChange.emit(new De(this,oe))}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(re,8))};static#t=this.\u0275cmp=i.Xpm({type:Ne,selectors:[["nz-auto-option"]],hostAttrs:["role","menuitem",1,"ant-select-item","ant-select-item-option"],hostVars:10,hostBindings:function(_e,Q){1&_e&&i.NdJ("click",function(){return Q.selectViaInteraction()}),2&_e&&(i.uIk("aria-selected",Q.selected.toString())("aria-disabled",Q.nzDisabled.toString()),i.ekj("ant-select-item-option-grouped",Q.nzAutocompleteOptgroupComponent)("ant-select-item-option-selected",Q.selected)("ant-select-item-option-active",Q.active)("ant-select-item-option-disabled",Q.nzDisabled))},inputs:{nzValue:"nzValue",nzLabel:"nzLabel",nzDisabled:"nzDisabled"},outputs:{selectionChange:"selectionChange",mouseEntered:"mouseEntered"},exportAs:["nzAutoOption"],ngContentSelectors:j,decls:2,vars:0,consts:[[1,"ant-select-item-option-content"]],template:function(_e,Q){1&_e&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},encapsulation:2,changeDetection:0})}return(0,u.gn)([(0,D.yF)()],Ne.prototype,"nzDisabled",void 0),Ne})();const ce={provide:S.JU,useExisting:(0,i.Gpc)(()=>ne),multi:!0};let ne=(()=>{class Ne{get activeOption(){return this.nzAutocomplete&&this.nzAutocomplete.options.length?this.nzAutocomplete.activeItem:null}constructor(oe,_e,Q,He,Re,lt){this.ngZone=oe,this.elementRef=_e,this.overlay=Q,this.viewContainerRef=He,this.nzInputGroupWhitSuffixOrPrefixDirective=Re,this.document=lt,this.onChange=()=>{},this.onTouched=()=>{},this.panelOpen=!1,this.destroy$=new z.x,this.overlayRef=null,this.portal=null,this.previousValue=null}ngAfterViewInit(){this.nzAutocomplete&&this.nzAutocomplete.animationStateChange.pipe((0,m.R)(this.destroy$)).subscribe(oe=>{"void"===oe.toState&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.destroyPanel()}writeValue(oe){this.ngZone.runOutsideAngular(()=>Promise.resolve(null).then(()=>this.setTriggerValue(oe)))}registerOnChange(oe){this.onChange=oe}registerOnTouched(oe){this.onTouched=oe}setDisabledState(oe){this.elementRef.nativeElement.disabled=oe,this.closePanel()}openPanel(){this.previousValue=this.elementRef.nativeElement.value,this.attachOverlay(),this.updateStatus()}closePanel(){this.panelOpen&&(this.nzAutocomplete.isOpen=this.panelOpen=!1,this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.selectionChangeSubscription.unsubscribe(),this.overlayOutsideClickSubscription.unsubscribe(),this.optionsChangeSubscription.unsubscribe(),this.portal=null))}handleKeydown(oe){const _e=oe.keyCode,Q=_e===y.LH||_e===y.JH;_e===y.hY&&oe.preventDefault(),!this.panelOpen||_e!==y.hY&&_e!==y.Mf?this.panelOpen&&_e===y.K5?this.nzAutocomplete.showPanel&&(oe.preventDefault(),this.activeOption?this.activeOption.selectViaInteraction():this.closePanel()):this.panelOpen&&Q&&this.nzAutocomplete.showPanel&&(oe.stopPropagation(),oe.preventDefault(),_e===y.LH?this.nzAutocomplete.setPreviousItemActive():this.nzAutocomplete.setNextItemActive(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded(),this.doBackfill()):(this.activeOption&&this.activeOption.getLabel()!==this.previousValue&&this.setTriggerValue(this.previousValue),this.closePanel())}handleInput(oe){const _e=oe.target,Q=this.document;let He=_e.value;"number"===_e.type&&(He=""===He?null:parseFloat(He)),this.previousValue!==He&&(this.previousValue=He,this.onChange(He),this.canOpen()&&Q.activeElement===oe.target&&this.openPanel())}handleFocus(){this.canOpen()&&this.openPanel()}handleBlur(){this.onTouched()}subscribeOptionsChange(){return this.nzAutocomplete.options.changes.pipe((0,f.b)(()=>this.positionStrategy.reapplyLastPosition()),(0,C.g)(0)).subscribe(()=>{this.resetActiveItem(),this.panelOpen&&this.overlayRef.updatePosition()})}subscribeSelectionChange(){return this.nzAutocomplete.selectionChange.subscribe(oe=>{this.setValueAndClose(oe)})}subscribeOverlayOutsideClick(){return this.overlayRef.outsidePointerEvents().pipe((0,d.h)(oe=>!this.elementRef.nativeElement.contains(oe.target))).subscribe(()=>{this.closePanel()})}attachOverlay(){if(!this.nzAutocomplete)throw function X(){return Error("Attempting to open an undefined instance of `nz-autocomplete`. Make sure that the id passed to the `nzAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}();!this.portal&&this.nzAutocomplete.template&&(this.portal=new P.UE(this.nzAutocomplete.template,this.viewContainerRef)),this.overlayRef||(this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.selectionChangeSubscription=this.subscribeSelectionChange(),this.optionsChangeSubscription=this.subscribeOptionsChange(),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick(),this.overlayRef.detachments().pipe((0,m.R)(this.destroy$)).subscribe(()=>{this.closePanel()})),this.nzAutocomplete.isOpen=this.panelOpen=!0}updateStatus(){this.overlayRef&&this.overlayRef.updateSize({width:this.nzAutocomplete.nzWidth||this.getHostWidth()}),this.nzAutocomplete.setVisibility(),this.resetActiveItem(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded()}destroyPanel(){this.overlayRef&&this.closePanel()}getOverlayConfig(){return new n.X_({positionStrategy:this.getOverlayPosition(),disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:this.nzAutocomplete.nzWidth||this.getHostWidth()})}getConnectedElement(){return this.nzInputGroupWhitSuffixOrPrefixDirective?this.nzInputGroupWhitSuffixOrPrefixDirective.elementRef:this.elementRef}getHostWidth(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width}getOverlayPosition(){const oe=[new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new n.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions(oe).withTransformOriginOn(".ant-select-dropdown"),this.positionStrategy}resetActiveItem(){const oe=this.nzAutocomplete.getOptionIndex(this.previousValue);this.nzAutocomplete.clearSelectedOptions(null,!0),-1!==oe?(this.nzAutocomplete.setActiveItem(oe),this.nzAutocomplete.activeItem.select(!1)):this.nzAutocomplete.setActiveItem(this.nzAutocomplete.nzDefaultActiveFirstOption?0:-1)}setValueAndClose(oe){const _e=oe.nzValue;this.setTriggerValue(oe.getLabel()),this.onChange(_e),this.elementRef.nativeElement.focus(),this.closePanel()}setTriggerValue(oe){const _e=this.nzAutocomplete.getOption(oe),Q=_e?_e.getLabel():oe;this.elementRef.nativeElement.value=Q??"",this.nzAutocomplete.nzBackfill||(this.previousValue=Q)}doBackfill(){this.nzAutocomplete.nzBackfill&&this.nzAutocomplete.activeItem&&this.setTriggerValue(this.nzAutocomplete.activeItem.getLabel())}canOpen(){const oe=this.elementRef.nativeElement;return!oe.readOnly&&!oe.disabled}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(n.aV),i.Y36(i.s_b),i.Y36(E.ke,8),i.Y36(t.K0,8))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","nzAutocomplete",""],["textarea","nzAutocomplete",""]],hostAttrs:["autocomplete","off","aria-autocomplete","list"],hostBindings:function(_e,Q){1&_e&&i.NdJ("focusin",function(){return Q.handleFocus()})("blur",function(){return Q.handleBlur()})("input",function(Re){return Q.handleInput(Re)})("keydown",function(Re){return Q.handleKeydown(Re)})},inputs:{nzAutocomplete:"nzAutocomplete"},exportAs:["nzAutocompleteTrigger"],features:[i._Bn([ce])]})}return Ne})(),le=(()=>{class Ne{get options(){return this.nzDataSource?this.fromDataSourceOptions:this.fromContentOptions}constructor(oe,_e,Q,He){this.changeDetectorRef=oe,this.ngZone=_e,this.directionality=Q,this.noAnimation=He,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzDefaultActiveFirstOption=!0,this.nzBackfill=!1,this.compareWith=(Re,lt)=>Re===lt,this.selectionChange=new i.vpe,this.showPanel=!0,this.isOpen=!1,this.activeItem=null,this.dir="ltr",this.destroy$=new z.x,this.animationStateChange=new i.vpe,this.activeItemIndex=-1,this.selectionChangeSubscription=p.w0.EMPTY,this.optionMouseEnterSubscription=p.w0.EMPTY,this.dataSourceChangeSubscription=p.w0.EMPTY,this.optionSelectionChanges=(0,v.P)(()=>this.options?(0,_.T)(...this.options.map(Re=>Re.selectionChange)):this.ngZone.onStable.asObservable().pipe((0,T.q)(1),(0,b.w)(()=>this.optionSelectionChanges))),this.optionMouseEnter=(0,v.P)(()=>this.options?(0,_.T)(...this.options.map(Re=>Re.mouseEntered)):this.ngZone.onStable.asObservable().pipe((0,T.q)(1),(0,b.w)(()=>this.optionMouseEnter)))}ngOnInit(){this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(oe=>{this.dir=oe,this.changeDetectorRef.detectChanges()}),this.dir=this.directionality.value}onAnimationEvent(oe){this.animationStateChange.emit(oe)}ngAfterContentInit(){this.nzDataSource||this.optionsInit()}ngAfterViewInit(){this.nzDataSource&&this.optionsInit()}ngOnDestroy(){this.dataSourceChangeSubscription.unsubscribe(),this.selectionChangeSubscription.unsubscribe(),this.optionMouseEnterSubscription.unsubscribe(),this.dataSourceChangeSubscription=this.selectionChangeSubscription=this.optionMouseEnterSubscription=null,this.destroy$.next(),this.destroy$.complete()}setVisibility(){this.showPanel=!!this.options.length,this.changeDetectorRef.markForCheck()}setActiveItem(oe){const _e=this.options.get(oe);_e&&!_e.active?(this.activeItem=_e,this.activeItemIndex=oe,this.clearSelectedOptions(this.activeItem),this.activeItem.setActiveStyles()):(this.activeItem=null,this.activeItemIndex=-1,this.clearSelectedOptions()),this.changeDetectorRef.markForCheck()}setNextItemActive(){this.setActiveItem(this.activeItemIndex+1<=this.options.length-1?this.activeItemIndex+1:0)}setPreviousItemActive(){this.setActiveItem(this.activeItemIndex-1<0?this.options.length-1:this.activeItemIndex-1)}getOptionIndex(oe){return this.options.reduce((_e,Q,He)=>-1===_e?this.compareWith(oe,Q.nzValue)?He:-1:_e,-1)}getOption(oe){return this.options.find(_e=>this.compareWith(oe,_e.nzValue))||null}optionsInit(){this.setVisibility(),this.subscribeOptionChanges(),this.dataSourceChangeSubscription=(this.nzDataSource?this.fromDataSourceOptions.changes:this.fromContentOptions.changes).subscribe(_e=>{!_e.dirty&&this.isOpen&&setTimeout(()=>this.setVisibility()),this.subscribeOptionChanges()})}clearSelectedOptions(oe,_e=!1){this.options.forEach(Q=>{Q!==oe&&(_e&&Q.deselect(),Q.setInactiveStyles())})}subscribeOptionChanges(){this.selectionChangeSubscription.unsubscribe(),this.selectionChangeSubscription=this.optionSelectionChanges.pipe((0,d.h)(oe=>oe.isUserInput)).subscribe(oe=>{oe.source.select(),oe.source.setActiveStyles(),this.activeItem=oe.source,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(oe.source,!0),this.selectionChange.emit(oe.source)}),this.optionMouseEnterSubscription.unsubscribe(),this.optionMouseEnterSubscription=this.optionMouseEnter.subscribe(oe=>{oe.setActiveStyles(),this.activeItem=oe,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(oe)})}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(e.Is,8),i.Y36(l.P,9))};static#t=this.\u0275cmp=i.Xpm({type:Ne,selectors:[["nz-autocomplete"]],contentQueries:function(_e,Q,He){if(1&_e&&i.Suo(He,ae,5),2&_e){let Re;i.iGM(Re=i.CRH())&&(Q.fromContentOptions=Re)}},viewQuery:function(_e,Q){if(1&_e&&(i.Gf(i.Rgc,5),i.Gf(ze,5),i.Gf(Y,5),i.Gf(ae,5)),2&_e){let He;i.iGM(He=i.CRH())&&(Q.template=He.first),i.iGM(He=i.CRH())&&(Q.panel=He.first),i.iGM(He=i.CRH())&&(Q.content=He.first),i.iGM(He=i.CRH())&&(Q.fromDataSourceOptions=He)}},inputs:{nzWidth:"nzWidth",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzDefaultActiveFirstOption:"nzDefaultActiveFirstOption",nzBackfill:"nzBackfill",compareWith:"compareWith",nzDataSource:"nzDataSource"},outputs:{selectionChange:"selectionChange"},exportAs:["nzAutocomplete"],ngContentSelectors:j,decls:1,vars:0,consts:[[1,"ant-select-dropdown","ant-select-dropdown-placement-bottomLeft",3,"ngClass","ngStyle","nzNoAnimation"],["panel",""],[2,"max-height","256px","overflow-y","auto","overflow-anchor","none"],[2,"display","flex","flex-direction","column"],[4,"ngTemplateOutlet"],["contentTemplate",""],["optionsTemplate",""],[3,"nzValue","nzLabel",4,"ngFor","ngForOf"],[3,"nzValue","nzLabel"]],template:function(_e,Q){1&_e&&(i.F$t(),i.YNc(0,pe,9,10,"ng-template"))},dependencies:[t.mk,t.sg,t.tP,t.PC,l.P,ae],encapsulation:2,data:{animation:[A.mF]},changeDetection:0})}return(0,u.gn)([(0,D.yF)()],Ne.prototype,"nzDefaultActiveFirstOption",void 0),(0,u.gn)([(0,D.yF)()],Ne.prototype,"nzBackfill",void 0),Ne})(),Se=(()=>{class Ne{static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[e.vT,t.ez,n.U8,h.T,l.g,E.o7]})}return Ne})()},96928:(tt,I,o)=>{"use strict";o.d(I,{Dz:()=>m,Rt:()=>C});var e=o(97582),n=o(65879),t=o(83064),i=o(27754),l=o(62831),h=o(96814),E=o(90551),u=o(49388);const z=["textEl"];function M(T,b){if(1&T&&n._UZ(0,"span",3),2&T){const D=n.oxw();n.Q6J("nzType",D.nzIcon)}}function p(T,b){if(1&T){const D=n.EpF();n.TgZ(0,"img",4),n.NdJ("error",function(P){n.CHM(D);const S=n.oxw();return n.KtG(S.imgError(P))}),n.qZA()}if(2&T){const D=n.oxw();n.Q6J("src",D.nzSrc,n.LSH),n.uIk("srcset",D.nzSrcSet)("alt",D.nzAlt)}}function v(T,b){if(1&T&&(n.TgZ(0,"span",5,6),n._uU(2),n.qZA()),2&T){const D=n.oxw();n.xp6(2),n.Oqu(D.nzText)}}let m=(()=>{class T{constructor(D,y,P,S,A){this.nzConfigService=D,this.elementRef=y,this.cdr=P,this.platform=S,this.ngZone=A,this._nzModuleName="avatar",this.nzShape="circle",this.nzSize="default",this.nzGap=4,this.nzError=new n.vpe,this.hasText=!1,this.hasSrc=!0,this.hasIcon=!1,this.classMap={},this.customSize=null,this.el=this.elementRef.nativeElement}imgError(D){this.nzError.emit(D),D.defaultPrevented||(this.hasSrc=!1,this.hasIcon=!1,this.hasText=!1,this.nzIcon?this.hasIcon=!0:this.nzText&&(this.hasText=!0),this.cdr.detectChanges(),this.setSizeStyle(),this.notifyCalc())}ngOnChanges(){this.hasText=!this.nzSrc&&!!this.nzText,this.hasIcon=!this.nzSrc&&!!this.nzIcon,this.hasSrc=!!this.nzSrc,this.setSizeStyle(),this.notifyCalc()}calcStringSize(){if(!this.hasText)return;const D=this.textEl.nativeElement,y=D.offsetWidth,P=this.el.getBoundingClientRect().width,S=2*this.nzGap{setTimeout(()=>{this.calcStringSize()})})}setSizeStyle(){this.customSize="number"==typeof this.nzSize?`${this.nzSize}px`:null,this.cdr.markForCheck()}static#e=this.\u0275fac=function(y){return new(y||T)(n.Y36(t.jY),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(l.t4),n.Y36(n.R0b))};static#t=this.\u0275cmp=n.Xpm({type:T,selectors:[["nz-avatar"]],viewQuery:function(y,P){if(1&y&&n.Gf(z,5),2&y){let S;n.iGM(S=n.CRH())&&(P.textEl=S.first)}},hostAttrs:[1,"ant-avatar"],hostVars:20,hostBindings:function(y,P){2&y&&(n.Udp("width",P.customSize)("height",P.customSize)("line-height",P.customSize)("font-size",P.hasIcon&&P.customSize?P.nzSize/2:null,"px"),n.ekj("ant-avatar-lg","large"===P.nzSize)("ant-avatar-sm","small"===P.nzSize)("ant-avatar-square","square"===P.nzShape)("ant-avatar-circle","circle"===P.nzShape)("ant-avatar-icon",P.nzIcon)("ant-avatar-image",P.hasSrc))},inputs:{nzShape:"nzShape",nzSize:"nzSize",nzGap:"nzGap",nzText:"nzText",nzSrc:"nzSrc",nzSrcSet:"nzSrcSet",nzAlt:"nzAlt",nzIcon:"nzIcon"},outputs:{nzError:"nzError"},exportAs:["nzAvatar"],features:[n.TTD],decls:3,vars:3,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[3,"src","error",4,"ngIf"],["class","ant-avatar-string",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"src","error"],[1,"ant-avatar-string"],["textEl",""]],template:function(y,P){1&y&&(n.YNc(0,M,1,1,"span",0),n.YNc(1,p,1,3,"img",1),n.YNc(2,v,3,1,"span",2)),2&y&&(n.Q6J("ngIf",P.nzIcon&&P.hasIcon),n.xp6(1),n.Q6J("ngIf",P.nzSrc&&P.hasSrc),n.xp6(1),n.Q6J("ngIf",P.nzText&&P.hasText))},dependencies:[h.O5,E.Ls],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,t.oS)()],T.prototype,"nzShape",void 0),(0,e.gn)([(0,t.oS)()],T.prototype,"nzSize",void 0),(0,e.gn)([(0,t.oS)(),(0,i.Rn)()],T.prototype,"nzGap",void 0),T})(),C=(()=>{class T{static#e=this.\u0275fac=function(y){return new(y||T)};static#t=this.\u0275mod=n.oAB({type:T});static#n=this.\u0275inj=n.cJS({imports:[u.vT,h.ez,E.PV,l.ud]})}return T})()},47532:(tt,I,o)=>{"use strict";o.d(I,{j:()=>S,o:()=>P});var e=o(97582),n=o(62831),t=o(96814),i=o(65879),l=o(92438),h=o(78645),E=o(47394),u=o(59773),z=o(83620),M=o(64194),p=o(83064),v=o(99087),_=o(27754),d=o(49388),m=o(90551);const f=["backTop"];function C(A,k){1&A&&(i.TgZ(0,"div",5)(1,"div",6),i._UZ(2,"span",7),i.qZA()())}function T(A,k){}function b(A,k){if(1&A&&(i.TgZ(0,"div",1,2),i.YNc(2,C,3,0,"ng-template",null,3,i.W1O),i.YNc(4,T,0,0,"ng-template",4),i.qZA()),2&A){const R=i.MAs(3),W=i.oxw();i.ekj("ant-back-top-rtl","rtl"===W.dir),i.Q6J("@fadeMotion",void 0),i.xp6(4),i.Q6J("ngTemplateOutlet",W.nzTemplate||R)}}const y=(0,n.i$)({passive:!0});let P=(()=>{class A{set backTop(R){R&&(this.backTopClickSubscription.unsubscribe(),this.backTopClickSubscription=this.zone.runOutsideAngular(()=>(0,l.R)(R.nativeElement,"click").pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.scrollSrv.scrollTo(this.getTarget(),0,{duration:this.nzDuration}),this.nzClick.observers.length&&this.zone.run(()=>this.nzClick.emit(!0))})))}constructor(R,W,j,ze,Y,G,V,K,ee){this.doc=R,this.nzConfigService=W,this.scrollSrv=j,this.platform=ze,this.cd=Y,this.zone=G,this.cdr=V,this.destroy$=K,this.directionality=ee,this._nzModuleName="backTop",this.scrollListenerDestroy$=new h.x,this.target=null,this.visible=!1,this.dir="ltr",this.nzVisibilityHeight=400,this.nzDuration=450,this.nzClick=new i.vpe,this.backTopClickSubscription=E.w0.EMPTY,this.dir=this.directionality.value}ngOnInit(){this.registerScrollEvent(),this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(R=>{this.dir=R,this.cdr.detectChanges()}),this.dir=this.directionality.value}getTarget(){return this.target||window}handleScroll(){this.visible!==this.scrollSrv.getScroll(this.getTarget())>this.nzVisibilityHeight&&(this.visible=!this.visible,this.cd.detectChanges())}registerScrollEvent(){this.platform.isBrowser&&(this.scrollListenerDestroy$.next(!0),this.handleScroll(),this.zone.runOutsideAngular(()=>{(0,l.R)(this.getTarget(),"scroll",y).pipe((0,z.b)(50),(0,u.R)(this.scrollListenerDestroy$)).subscribe(()=>this.handleScroll())}))}ngOnDestroy(){this.scrollListenerDestroy$.next(!0),this.scrollListenerDestroy$.complete()}ngOnChanges(R){const{nzTarget:W}=R;W&&(this.target="string"==typeof this.nzTarget?this.doc.querySelector(this.nzTarget):this.nzTarget,this.registerScrollEvent())}static#e=this.\u0275fac=function(W){return new(W||A)(i.Y36(t.K0),i.Y36(p.jY),i.Y36(v.MF),i.Y36(n.t4),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(v.kn),i.Y36(d.Is,8))};static#t=this.\u0275cmp=i.Xpm({type:A,selectors:[["nz-back-top"]],viewQuery:function(W,j){if(1&W&&i.Gf(f,5),2&W){let ze;i.iGM(ze=i.CRH())&&(j.backTop=ze.first)}},inputs:{nzTemplate:"nzTemplate",nzVisibilityHeight:"nzVisibilityHeight",nzTarget:"nzTarget",nzDuration:"nzDuration"},outputs:{nzClick:"nzClick"},exportAs:["nzBackTop"],features:[i._Bn([v.kn]),i.TTD],decls:1,vars:1,consts:[["class","ant-back-top",3,"ant-back-top-rtl",4,"ngIf"],[1,"ant-back-top"],["backTop",""],["defaultContent",""],[3,"ngTemplateOutlet"],[1,"ant-back-top-content"],[1,"ant-back-top-icon"],["nz-icon","","nzType","vertical-align-top"]],template:function(W,j){1&W&&i.YNc(0,b,5,4,"div",0),2&W&&i.Q6J("ngIf",j.visible)},dependencies:[t.O5,t.tP,m.Ls],encapsulation:2,data:{animation:[M.MC]},changeDetection:0})}return(0,e.gn)([(0,p.oS)(),(0,_.Rn)()],A.prototype,"nzVisibilityHeight",void 0),(0,e.gn)([(0,_.Rn)()],A.prototype,"nzDuration",void 0),A})(),S=(()=>{class A{static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275mod=i.oAB({type:A});static#n=this.\u0275inj=i.cJS({imports:[d.vT,t.ez,n.ud,m.PV]})}return A})()},33640:(tt,I,o)=>{"use strict";o.d(I,{mS:()=>ze,x7:()=>W});var e=o(97582),n=o(65879),t=o(78645),i=o(59773),l=o(64194),h=o(83064),E=o(27754),u=o(49388),z=o(331),M=o(96814),p=o(8324),v=o(17131);function _(Y,G){if(1&Y&&(n.TgZ(0,"p",6),n._uU(1),n.qZA()),2&Y){const V=G.$implicit,K=n.oxw(2).index,ee=n.oxw(2);n.ekj("current",V===ee.countArray[K]),n.xp6(1),n.hij(" ",V," ")}}function d(Y,G){if(1&Y&&(n.ynx(0),n.YNc(1,_,2,3,"p",5),n.BQk()),2&Y){const V=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",V.countSingleArray)}}function m(Y,G){if(1&Y&&(n.TgZ(0,"span",3),n.YNc(1,d,2,1,"ng-container",4),n.qZA()),2&Y){const V=G.index,K=n.oxw(2);n.Udp("transform","translateY("+100*-K.countArray[V]+"%)"),n.Q6J("nzNoAnimation",K.noAnimation),n.xp6(1),n.Q6J("ngIf",!K.nzDot&&void 0!==K.countArray[V])}}function f(Y,G){if(1&Y&&(n.ynx(0),n.YNc(1,m,2,4,"span",2),n.BQk()),2&Y){const V=n.oxw();n.xp6(1),n.Q6J("ngForOf",V.maxNumberArray)}}function C(Y,G){if(1&Y&&n._uU(0),2&Y){const V=n.oxw();n.hij("",V.nzOverflowCount,"+")}}function T(Y,G){if(1&Y&&(n.ynx(0),n._uU(1),n.BQk()),2&Y){const V=n.oxw(2);n.xp6(1),n.Oqu(V.nzText)}}function b(Y,G){if(1&Y&&(n.ynx(0),n._UZ(1,"span",2),n.TgZ(2,"span",3),n.YNc(3,T,2,1,"ng-container",1),n.qZA(),n.BQk()),2&Y){const V=n.oxw();n.xp6(1),n.Gre("ant-badge-status-dot ant-badge-status-",V.nzStatus||V.presetColor,""),n.Udp("background",!V.presetColor&&V.nzColor),n.Q6J("ngStyle",V.nzStyle),n.xp6(2),n.Q6J("nzStringTemplateOutlet",V.nzText)}}function D(Y,G){if(1&Y&&n._UZ(0,"nz-badge-sup",5),2&Y){const V=n.oxw(2);n.Q6J("nzOffset",V.nzOffset)("nzSize",V.nzSize)("nzTitle",V.nzTitle)("nzStyle",V.nzStyle)("nzDot",V.nzDot)("nzOverflowCount",V.nzOverflowCount)("disableAnimation",!!(V.nzStandalone||V.nzStatus||V.nzColor||null!=V.noAnimation&&V.noAnimation.nzNoAnimation))("nzCount",V.nzCount)("noAnimation",!(null==V.noAnimation||!V.noAnimation.nzNoAnimation))}}function y(Y,G){if(1&Y&&(n.ynx(0),n.YNc(1,D,1,9,"nz-badge-sup",4),n.BQk()),2&Y){const V=n.oxw();n.xp6(1),n.Q6J("ngIf",V.showSup)}}const P=["*"],A=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];let k=(()=>{class Y{constructor(){this.nzStyle=null,this.nzDot=!1,this.nzOverflowCount=99,this.disableAnimation=!1,this.noAnimation=!1,this.nzSize="default",this.maxNumberArray=[],this.countArray=[],this.count=0,this.countSingleArray=[0,1,2,3,4,5,6,7,8,9]}generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("")}ngOnInit(){this.generateMaxNumberArray()}ngOnChanges(V){const{nzOverflowCount:K,nzCount:ee}=V;ee&&"number"==typeof ee.currentValue&&(this.count=Math.max(0,ee.currentValue),this.countArray=this.count.toString().split("").map(te=>+te)),K&&this.generateMaxNumberArray()}static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275cmp=n.Xpm({type:Y,selectors:[["nz-badge-sup"]],hostAttrs:[1,"ant-scroll-number"],hostVars:17,hostBindings:function(K,ee){2&K&&(n.uIk("title",null===ee.nzTitle?"":ee.nzTitle||ee.nzCount),n.d8E("@.disabled",ee.disableAnimation)("@zoomBadgeMotion",void 0),n.Akn(ee.nzStyle),n.Udp("right",ee.nzOffset&&ee.nzOffset[0]?-ee.nzOffset[0]:null,"px")("margin-top",ee.nzOffset&&ee.nzOffset[1]?ee.nzOffset[1]:null,"px"),n.ekj("ant-badge-count",!ee.nzDot)("ant-badge-count-sm","small"===ee.nzSize)("ant-badge-dot",ee.nzDot)("ant-badge-multiple-words",ee.countArray.length>=2))},inputs:{nzOffset:"nzOffset",nzTitle:"nzTitle",nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",disableAnimation:"disableAnimation",nzCount:"nzCount",noAnimation:"noAnimation",nzSize:"nzSize"},exportAs:["nzBadgeSup"],features:[n.TTD],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overflowTemplate",""],["class","ant-scroll-number-only",3,"nzNoAnimation","transform",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[4,"ngIf"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(K,ee){if(1&K&&(n.YNc(0,f,2,1,"ng-container",0),n.YNc(1,C,1,1,"ng-template",null,1,n.W1O)),2&K){const te=n.MAs(2);n.Q6J("ngIf",ee.count<=ee.nzOverflowCount)("ngIfElse",te)}},dependencies:[M.sg,M.O5,z.P],encapsulation:2,data:{animation:[l.Ev]},changeDetection:0})}return Y})(),W=(()=>{class Y{constructor(V,K,ee,te,pe,re){this.nzConfigService=V,this.renderer=K,this.cdr=ee,this.elementRef=te,this.directionality=pe,this.noAnimation=re,this._nzModuleName="badge",this.showSup=!1,this.presetColor=null,this.dir="ltr",this.destroy$=new t.x,this.nzShowZero=!1,this.nzShowDot=!0,this.nzStandalone=!1,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null,this.nzText=null,this.nzSize="default"}ngOnInit(){this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(V=>{this.dir=V,this.prepareBadgeForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareBadgeForRtl()}ngOnChanges(V){const{nzColor:K,nzShowDot:ee,nzDot:te,nzCount:pe,nzShowZero:re}=V;K&&(this.presetColor=this.nzColor&&-1!==A.indexOf(this.nzColor)?this.nzColor:null),(ee||te||pe||re)&&(this.showSup=this.nzShowDot&&this.nzDot||"number"==typeof this.nzCount&&this.nzCount>0||"number"==typeof this.nzCount&&this.nzCount<=0&&this.nzShowZero)}prepareBadgeForRtl(){this.isRtlLayout?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-rtl")}get isRtlLayout(){return"rtl"===this.dir}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(K){return new(K||Y)(n.Y36(h.jY),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(u.Is,8),n.Y36(z.P,9))};static#t=this.\u0275cmp=n.Xpm({type:Y,selectors:[["nz-badge"]],hostAttrs:[1,"ant-badge"],hostVars:4,hostBindings:function(K,ee){2&K&&n.ekj("ant-badge-status",ee.nzStatus)("ant-badge-not-a-wrapper",!!(ee.nzStandalone||ee.nzStatus||ee.nzColor))},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzStandalone:"nzStandalone",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset",nzSize:"nzSize"},exportAs:["nzBadge"],features:[n.TTD],ngContentSelectors:P,decls:3,vars:2,consts:[[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation",4,"ngIf"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation"]],template:function(K,ee){1&K&&(n.F$t(),n.YNc(0,b,4,7,"ng-container",0),n.Hsn(1),n.YNc(2,y,2,1,"ng-container",1)),2&K&&(n.Q6J("ngIf",ee.nzStatus||ee.nzColor),n.xp6(2),n.Q6J("nzStringTemplateOutlet",ee.nzCount))},dependencies:[M.O5,M.PC,p.f,k],encapsulation:2,data:{animation:[l.Ev]},changeDetection:0})}return(0,e.gn)([(0,E.yF)()],Y.prototype,"nzShowZero",void 0),(0,e.gn)([(0,E.yF)()],Y.prototype,"nzShowDot",void 0),(0,e.gn)([(0,E.yF)()],Y.prototype,"nzStandalone",void 0),(0,e.gn)([(0,E.yF)()],Y.prototype,"nzDot",void 0),(0,e.gn)([(0,h.oS)()],Y.prototype,"nzOverflowCount",void 0),(0,e.gn)([(0,h.oS)()],Y.prototype,"nzColor",void 0),Y})(),ze=(()=>{class Y{static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275mod=n.oAB({type:Y});static#n=this.\u0275inj=n.cJS({imports:[u.vT,M.ez,v.Q8,p.T,z.g]})}return Y})()},3626:(tt,I,o)=>{"use strict";o.d(I,{Dg:()=>j,MO:()=>W,lt:()=>ze});var e=o(65879),n=o(96814),t=o(8324),i=o(62787),l=o(90551),h=o(97582),E=o(52787),u=o(78645),z=o(59773),M=o(32181),p=o(27921),v=o(1608),_=o(27754),d=o(49388),m=o(33651),f=o(85448);const C=["*"];function T(Y,G){}function b(Y,G){if(1&Y&&(e.ynx(0),e.TgZ(1,"span",3),e.YNc(2,T,0,0,"ng-template",4),e._UZ(3,"span",5),e.qZA(),e.BQk()),2&Y){const V=e.oxw(),K=e.MAs(2);e.xp6(1),e.Q6J("nzDropdownMenu",V.nzOverlay),e.xp6(1),e.Q6J("ngTemplateOutlet",K)}}function D(Y,G){1&Y&&(e.TgZ(0,"span",6),e.Hsn(1),e.qZA())}function y(Y,G){if(1&Y&&(e.ynx(0),e._uU(1),e.BQk()),2&Y){const V=e.oxw(2);e.xp6(1),e.hij(" ",V.nzBreadCrumbComponent.nzSeparator," ")}}function P(Y,G){if(1&Y&&(e.TgZ(0,"nz-breadcrumb-separator"),e.YNc(1,y,2,1,"ng-container",7),e.qZA()),2&Y){const V=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",V.nzBreadCrumbComponent.nzSeparator)}}function S(Y,G){if(1&Y){const V=e.EpF();e.TgZ(0,"nz-breadcrumb-item")(1,"a",2),e.NdJ("click",function(ee){const pe=e.CHM(V).$implicit,re=e.oxw(2);return e.KtG(re.navigate(pe.url,ee))}),e._uU(2),e.qZA()()}if(2&Y){const V=G.$implicit;e.xp6(1),e.uIk("href",V.url,e.LSH),e.xp6(1),e.Oqu(V.label)}}function A(Y,G){if(1&Y&&(e.ynx(0),e.YNc(1,S,3,2,"nz-breadcrumb-item",1),e.BQk()),2&Y){const V=e.oxw();e.xp6(1),e.Q6J("ngForOf",V.breadcrumbs)}}class k{}let R=(()=>{class Y{static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-breadcrumb-separator"]],hostAttrs:[1,"ant-breadcrumb-separator"],exportAs:["nzBreadcrumbSeparator"],ngContentSelectors:C,decls:1,vars:0,template:function(K,ee){1&K&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return Y})(),W=(()=>{class Y{constructor(V){this.nzBreadCrumbComponent=V}static#e=this.\u0275fac=function(K){return new(K||Y)(e.Y36(k))};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:C,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["noMenuTpl",""],[4,"ngIf"],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nz-icon","","nzType","down"],[1,"ant-breadcrumb-link"],[4,"nzStringTemplateOutlet"]],template:function(K,ee){if(1&K&&(e.F$t(),e.YNc(0,b,4,2,"ng-container",0),e.YNc(1,D,2,0,"ng-template",null,1,e.W1O),e.YNc(3,P,2,1,"nz-breadcrumb-separator",2)),2&K){const te=e.MAs(2);e.Q6J("ngIf",!!ee.nzOverlay)("ngIfElse",te),e.xp6(3),e.Q6J("ngIf",ee.nzBreadCrumbComponent.nzSeparator)}},dependencies:[n.O5,n.tP,t.f,i.cm,l.Ls,R],encapsulation:2,changeDetection:0})}return Y})(),j=(()=>{class Y{constructor(V,K,ee,te,pe){this.injector=V,this.cdr=K,this.elementRef=ee,this.renderer=te,this.directionality=pe,this.nzAutoGenerate=!1,this.nzSeparator="/",this.nzRouteLabel="breadcrumb",this.nzRouteLabelFn=re=>re,this.breadcrumbs=[],this.dir="ltr",this.destroy$=new u.x}ngOnInit(){this.nzAutoGenerate&&this.registerRouterChange(),this.directionality.change?.pipe((0,z.R)(this.destroy$)).subscribe(V=>{this.dir=V,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigate(V,K){K.preventDefault(),this.injector.get(E.F0).navigateByUrl(V)}registerRouterChange(){try{const V=this.injector.get(E.F0),K=this.injector.get(E.gz);V.events.pipe((0,M.h)(ee=>ee instanceof E.m2),(0,z.R)(this.destroy$),(0,p.O)(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(K.root),this.cdr.markForCheck()})}catch{throw new Error(`${v.Bq} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(V,K="",ee=[]){const te=V.children;if(0===te.length)return ee;for(const pe of te)if(pe.outlet===E.eC){const re=pe.snapshot.url.map(ce=>ce.path).filter(ce=>ce).join("/"),De=re?`${K}/${re}`:K,ae=this.nzRouteLabelFn(pe.snapshot.data[this.nzRouteLabel]);return re&&ae&&ee.push({label:ae,params:pe.snapshot.params,url:De}),this.getBreadcrumbs(pe,De,ee)}return ee}prepareComponentForRtl(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl")}static#e=this.\u0275fac=function(K){return new(K||Y)(e.Y36(e.zs3),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(d.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-breadcrumb"]],hostAttrs:[1,"ant-breadcrumb"],inputs:{nzAutoGenerate:"nzAutoGenerate",nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel",nzRouteLabelFn:"nzRouteLabelFn"},exportAs:["nzBreadcrumb"],features:[e._Bn([{provide:k,useExisting:Y}])],ngContentSelectors:C,decls:2,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"click"]],template:function(K,ee){1&K&&(e.F$t(),e.Hsn(0),e.YNc(1,A,2,1,"ng-container",0)),2&K&&(e.xp6(1),e.Q6J("ngIf",ee.nzAutoGenerate&&ee.breadcrumbs.length))},dependencies:[n.sg,n.O5,W],encapsulation:2,changeDetection:0})}return(0,h.gn)([(0,_.yF)()],Y.prototype,"nzAutoGenerate",void 0),Y})(),ze=(()=>{class Y{static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275mod=e.oAB({type:Y});static#n=this.\u0275inj=e.cJS({imports:[n.ez,t.T,m.U8,f.e4,i.b1,l.PV,d.vT]})}return Y})()},42840:(tt,I,o)=>{"use strict";o.d(I,{fY:()=>D,ix:()=>b,sL:()=>y});var e=o(97582),n=o(65879),t=o(78645),i=o(92438),l=o(59773),h=o(27921),E=o(32181),u=o(83064),z=o(27754),M=o(90551),p=o(49388),v=o(96814),_=o(70855),d=o(41958);const m=["nz-button",""];function f(P,S){1&P&&n._UZ(0,"span",1)}const C=["*"],T="button";let b=(()=>{class P{insertSpan(A,k){A.forEach(R=>{if("#text"===R.nodeName){const W=k.createElement("span"),j=k.parentNode(R);k.insertBefore(j,W,R),k.appendChild(W,R)}})}get iconOnly(){const A=Array.from(this.elementRef?.nativeElement?.childNodes||[]),k=A.every(j=>"#text"!==j.nodeName),R=0==A.filter(j=>!("#comment"===j.nodeName||j?.attributes?.getNamedItem("nz-icon"))).length;return!!this.nzIconDirectiveElement&&R&&k}constructor(A,k,R,W,j,ze){this.ngZone=A,this.elementRef=k,this.cdr=R,this.renderer=W,this.nzConfigService=j,this.directionality=ze,this._nzModuleName=T,this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new t.x,this.loading$=new t.x,this.nzConfigService.getConfigChangeEventForComponent(T).pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(A=>{this.dir=A,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,i.R)(this.elementRef.nativeElement,"click",{capture:!0}).pipe((0,l.R)(this.destroy$)).subscribe(A=>{(this.disabled&&"A"===A.target?.tagName||this.nzLoading)&&(A.preventDefault(),A.stopImmediatePropagation())})})}ngOnChanges(A){const{nzLoading:k}=A;k&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe((0,h.O)(this.nzLoading),(0,E.h)(()=>!!this.nzIconDirectiveElement),(0,l.R)(this.destroy$)).subscribe(A=>{const k=this.nzIconDirectiveElement.nativeElement;A?this.renderer.setStyle(k,"display","none"):this.renderer.removeStyle(k,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(k){return new(k||P)(n.Y36(n.R0b),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.Qsj),n.Y36(u.jY),n.Y36(p.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:P,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(k,R,W){if(1&k&&n.Suo(W,M.Ls,5,n.SBq),2&k){let j;n.iGM(j=n.CRH())&&(R.nzIconDirectiveElement=j.first)}},hostAttrs:[1,"ant-btn"],hostVars:32,hostBindings:function(k,R){2&k&&(n.uIk("tabindex",R.disabled?-1:null===R.tabIndex?null:R.tabIndex)("disabled",R.disabled||null),n.ekj("ant-btn-primary","primary"===R.nzType)("ant-btn-dashed","dashed"===R.nzType)("ant-btn-link","link"===R.nzType)("ant-btn-text","text"===R.nzType)("ant-btn-circle","circle"===R.nzShape)("ant-btn-round","round"===R.nzShape)("ant-btn-lg","large"===R.nzSize)("ant-btn-sm","small"===R.nzSize)("ant-btn-dangerous",R.nzDanger)("ant-btn-loading",R.nzLoading)("ant-btn-background-ghost",R.nzGhost)("ant-btn-block",R.nzBlock)("ant-input-search-button",R.nzSearch)("ant-btn-rtl","rtl"===R.dir)("ant-btn-icon-only",R.iconOnly))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[n.TTD],attrs:m,ngContentSelectors:C,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(k,R){1&k&&(n.F$t(),n.YNc(0,f,1,0,"span",0),n.Hsn(1)),2&k&&n.Q6J("ngIf",R.nzLoading)},dependencies:[v.O5,M.Ls,_.w],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,z.yF)()],P.prototype,"nzBlock",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"nzGhost",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"nzSearch",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"nzLoading",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"nzDanger",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"disabled",void 0),(0,e.gn)([(0,u.oS)()],P.prototype,"nzSize",void 0),P})(),D=(()=>{class P{constructor(A){this.directionality=A,this.nzSize="default",this.dir="ltr",this.destroy$=new t.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(A=>{this.dir=A})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(k){return new(k||P)(n.Y36(p.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:P,selectors:[["nz-button-group"]],hostAttrs:[1,"ant-btn-group"],hostVars:6,hostBindings:function(k,R){2&k&&n.ekj("ant-btn-group-lg","large"===R.nzSize)("ant-btn-group-sm","small"===R.nzSize)("ant-btn-group-rtl","rtl"===R.dir)},inputs:{nzSize:"nzSize"},exportAs:["nzButtonGroup"],ngContentSelectors:C,decls:1,vars:0,template:function(k,R){1&k&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return P})(),y=(()=>{class P{static#e=this.\u0275fac=function(k){return new(k||P)};static#t=this.\u0275mod=n.oAB({type:P});static#n=this.\u0275inj=n.cJS({imports:[p.vT,v.ez,d.vG,M.PV,_.a,_.a,d.vG]})}return P})()},82962:(tt,I,o)=>{"use strict";o.d(I,{bd:()=>ae,vh:()=>X});var e=o(97582),n=o(65879),t=o(27754),i=o(78645),l=o(59773),h=o(83064),E=o(49388),u=o(96814),z=o(8324);function M(ne,le){1&ne&&n.Hsn(0)}const p=["*"];function v(ne,le){1&ne&&(n.TgZ(0,"div",4),n._UZ(1,"div",5),n.qZA()),2&ne&&n.Q6J("ngClass",le.$implicit)}function _(ne,le){if(1&ne&&(n.TgZ(0,"div",2),n.YNc(1,v,2,1,"div",3),n.qZA()),2&ne){const Se=le.$implicit;n.xp6(1),n.Q6J("ngForOf",Se)}}function d(ne,le){if(1&ne&&(n.ynx(0),n._uU(1),n.BQk()),2&ne){const Se=n.oxw(3);n.xp6(1),n.Oqu(Se.nzTitle)}}function m(ne,le){if(1&ne&&(n.TgZ(0,"div",11),n.YNc(1,d,2,1,"ng-container",12),n.qZA()),2&ne){const Se=n.oxw(2);n.xp6(1),n.Q6J("nzStringTemplateOutlet",Se.nzTitle)}}function f(ne,le){if(1&ne&&(n.ynx(0),n._uU(1),n.BQk()),2&ne){const Se=n.oxw(3);n.xp6(1),n.Oqu(Se.nzExtra)}}function C(ne,le){if(1&ne&&(n.TgZ(0,"div",13),n.YNc(1,f,2,1,"ng-container",12),n.qZA()),2&ne){const Se=n.oxw(2);n.xp6(1),n.Q6J("nzStringTemplateOutlet",Se.nzExtra)}}function T(ne,le){}function b(ne,le){if(1&ne&&(n.ynx(0),n.YNc(1,T,0,0,"ng-template",14),n.BQk()),2&ne){const Se=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",Se.listOfNzCardTabComponent.template)}}function D(ne,le){if(1&ne&&(n.TgZ(0,"div",6)(1,"div",7),n.YNc(2,m,2,1,"div",8),n.YNc(3,C,2,1,"div",9),n.qZA(),n.YNc(4,b,2,1,"ng-container",10),n.qZA()),2&ne){const Se=n.oxw();n.xp6(2),n.Q6J("ngIf",Se.nzTitle),n.xp6(1),n.Q6J("ngIf",Se.nzExtra),n.xp6(1),n.Q6J("ngIf",Se.listOfNzCardTabComponent)}}function y(ne,le){}function P(ne,le){if(1&ne&&(n.TgZ(0,"div",15),n.YNc(1,y,0,0,"ng-template",14),n.qZA()),2&ne){const Se=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",Se.nzCover)}}function S(ne,le){1&ne&&(n.ynx(0),n.Hsn(1),n.BQk())}function A(ne,le){1&ne&&n._UZ(0,"nz-card-loading")}function k(ne,le){}function R(ne,le){if(1&ne&&(n.TgZ(0,"li")(1,"span"),n.YNc(2,k,0,0,"ng-template",14),n.qZA()()),2&ne){const Se=le.$implicit,Ne=n.oxw(2);n.Udp("width",100/Ne.nzActions.length,"%"),n.xp6(2),n.Q6J("ngTemplateOutlet",Se)}}function W(ne,le){if(1&ne&&(n.TgZ(0,"ul",16),n.YNc(1,R,3,3,"li",17),n.qZA()),2&ne){const Se=n.oxw();n.xp6(1),n.Q6J("ngForOf",Se.nzActions)}}let te=(()=>{class ne{constructor(){this.nzHoverable=!0}static#e=this.\u0275fac=function(Ne){return new(Ne||ne)};static#t=this.\u0275dir=n.lG2({type:ne,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(Ne,ke){2&Ne&&n.ekj("ant-card-hoverable",ke.nzHoverable)},inputs:{nzHoverable:"nzHoverable"},exportAs:["nzCardGrid"]})}return(0,e.gn)([(0,t.yF)()],ne.prototype,"nzHoverable",void 0),ne})(),pe=(()=>{class ne{static#e=this.\u0275fac=function(Ne){return new(Ne||ne)};static#t=this.\u0275cmp=n.Xpm({type:ne,selectors:[["nz-card-tab"]],viewQuery:function(Ne,ke){if(1&Ne&&n.Gf(n.Rgc,7),2&Ne){let oe;n.iGM(oe=n.CRH())&&(ke.template=oe.first)}},exportAs:["nzCardTab"],ngContentSelectors:p,decls:1,vars:0,template:function(Ne,ke){1&Ne&&(n.F$t(),n.YNc(0,M,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return ne})(),re=(()=>{class ne{constructor(){this.listOfLoading=[["ant-col-22"],["ant-col-8","ant-col-15"],["ant-col-6","ant-col-18"],["ant-col-13","ant-col-9"],["ant-col-4","ant-col-3","ant-col-16"],["ant-col-8","ant-col-6","ant-col-8"]]}static#e=this.\u0275fac=function(Ne){return new(Ne||ne)};static#t=this.\u0275cmp=n.Xpm({type:ne,selectors:[["nz-card-loading"]],hostAttrs:[1,"ant-card-loading-content"],exportAs:["nzCardLoading"],decls:2,vars:1,consts:[[1,"ant-card-loading-content"],["class","ant-row","style","margin-left: -4px; margin-right: -4px;",4,"ngFor","ngForOf"],[1,"ant-row",2,"margin-left","-4px","margin-right","-4px"],["style","padding-left: 4px; padding-right: 4px;",3,"ngClass",4,"ngFor","ngForOf"],[2,"padding-left","4px","padding-right","4px",3,"ngClass"],[1,"ant-card-loading-block"]],template:function(Ne,ke){1&Ne&&(n.TgZ(0,"div",0),n.YNc(1,_,2,1,"div",1),n.qZA()),2&Ne&&(n.xp6(1),n.Q6J("ngForOf",ke.listOfLoading))},dependencies:[u.mk,u.sg],encapsulation:2,changeDetection:0})}return ne})(),ae=(()=>{class ne{constructor(Se,Ne,ke){this.nzConfigService=Se,this.cdr=Ne,this.directionality=ke,this._nzModuleName="card",this.nzBordered=!0,this.nzBorderless=!1,this.nzLoading=!1,this.nzHoverable=!1,this.nzBodyStyle=null,this.nzActions=[],this.nzType=null,this.nzSize="default",this.dir="ltr",this.destroy$=new i.x,this.nzConfigService.getConfigChangeEventForComponent("card").pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(Se=>{this.dir=Se,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(Ne){return new(Ne||ne)(n.Y36(h.jY),n.Y36(n.sBO),n.Y36(E.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:ne,selectors:[["nz-card"]],contentQueries:function(Ne,ke,oe){if(1&Ne&&(n.Suo(oe,pe,5),n.Suo(oe,te,4)),2&Ne){let _e;n.iGM(_e=n.CRH())&&(ke.listOfNzCardTabComponent=_e.first),n.iGM(_e=n.CRH())&&(ke.listOfNzCardGridDirective=_e)}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(Ne,ke){2&Ne&&n.ekj("ant-card-loading",ke.nzLoading)("ant-card-bordered",!1===ke.nzBorderless&&ke.nzBordered)("ant-card-hoverable",ke.nzHoverable)("ant-card-small","small"===ke.nzSize)("ant-card-contain-grid",ke.listOfNzCardGridDirective&&ke.listOfNzCardGridDirective.length)("ant-card-type-inner","inner"===ke.nzType)("ant-card-contain-tabs",!!ke.listOfNzCardTabComponent)("ant-card-rtl","rtl"===ke.dir)},inputs:{nzBordered:"nzBordered",nzBorderless:"nzBorderless",nzLoading:"nzLoading",nzHoverable:"nzHoverable",nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],ngContentSelectors:p,decls:7,vars:6,consts:[["class","ant-card-head",4,"ngIf"],["class","ant-card-cover",4,"ngIf"],[1,"ant-card-body",3,"ngStyle"],[4,"ngIf","ngIfElse"],["loadingTemplate",""],["class","ant-card-actions",4,"ngIf"],[1,"ant-card-head"],[1,"ant-card-head-wrapper"],["class","ant-card-head-title",4,"ngIf"],["class","ant-card-extra",4,"ngIf"],[4,"ngIf"],[1,"ant-card-head-title"],[4,"nzStringTemplateOutlet"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[1,"ant-card-cover"],[1,"ant-card-actions"],[3,"width",4,"ngFor","ngForOf"]],template:function(Ne,ke){if(1&Ne&&(n.F$t(),n.YNc(0,D,5,3,"div",0),n.YNc(1,P,2,1,"div",1),n.TgZ(2,"div",2),n.YNc(3,S,2,0,"ng-container",3),n.YNc(4,A,1,0,"ng-template",null,4,n.W1O),n.qZA(),n.YNc(6,W,2,1,"ul",5)),2&Ne){const oe=n.MAs(5);n.Q6J("ngIf",ke.nzTitle||ke.nzExtra||ke.listOfNzCardTabComponent),n.xp6(1),n.Q6J("ngIf",ke.nzCover),n.xp6(1),n.Q6J("ngStyle",ke.nzBodyStyle),n.xp6(1),n.Q6J("ngIf",!ke.nzLoading)("ngIfElse",oe),n.xp6(3),n.Q6J("ngIf",ke.nzActions.length)}},dependencies:[u.sg,u.O5,u.tP,u.PC,z.f,re],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,h.oS)(),(0,t.yF)()],ne.prototype,"nzBordered",void 0),(0,e.gn)([(0,h.oS)(),(0,t.yF)()],ne.prototype,"nzBorderless",void 0),(0,e.gn)([(0,t.yF)()],ne.prototype,"nzLoading",void 0),(0,e.gn)([(0,h.oS)(),(0,t.yF)()],ne.prototype,"nzHoverable",void 0),(0,e.gn)([(0,h.oS)()],ne.prototype,"nzSize",void 0),ne})(),X=(()=>{class ne{static#e=this.\u0275fac=function(Ne){return new(Ne||ne)};static#t=this.\u0275mod=n.oAB({type:ne});static#n=this.\u0275inj=n.cJS({imports:[u.ez,z.T,E.vT]})}return ne})()},77456:(tt,I,o)=>{"use strict";o.d(I,{QZ:()=>W,pA:()=>y,vB:()=>j});var e=o(49388),n=o(62831),t=o(96814),i=o(65879),l=o(97582),h=o(36028),E=o(78645),u=o(92438),z=o(59773),M=o(83064),p=o(27754),v=o(99087);const _=["slickList"],d=["slickTrack"];function m(G,V){}const f=function(G){return{$implicit:G}};function C(G,V){if(1&G){const K=i.EpF();i.TgZ(0,"li",9),i.NdJ("click",function(){const pe=i.CHM(K).index,re=i.oxw(2);return i.KtG(re.onLiClick(pe))}),i.YNc(1,m,0,0,"ng-template",10),i.qZA()}if(2&G){const K=V.index,ee=i.oxw(2),te=i.MAs(8);i.ekj("slick-active",K===ee.activeIndex),i.xp6(1),i.Q6J("ngTemplateOutlet",ee.nzDotRender||te)("ngTemplateOutletContext",i.VKq(4,f,K))}}function T(G,V){if(1&G&&(i.TgZ(0,"ul",7),i.YNc(1,C,2,6,"li",8),i.qZA()),2&G){const K=i.oxw();i.ekj("slick-dots-top","top"===K.nzDotPosition)("slick-dots-bottom","bottom"===K.nzDotPosition)("slick-dots-left","left"===K.nzDotPosition)("slick-dots-right","right"===K.nzDotPosition),i.xp6(1),i.Q6J("ngForOf",K.carouselContents)}}function b(G,V){if(1&G&&(i.TgZ(0,"button"),i._uU(1),i.qZA()),2&G){const K=V.$implicit;i.xp6(1),i.Oqu(K+1)}}const D=["*"];let y=(()=>{class G{set isActive(K){this._active=K,this.isActive?this.renderer.addClass(this.el,"slick-active"):this.renderer.removeClass(this.el,"slick-active")}get isActive(){return this._active}constructor(K,ee){this.renderer=ee,this._active=!1,this.el=K.nativeElement}static#e=this.\u0275fac=function(ee){return new(ee||G)(i.Y36(i.SBq),i.Y36(i.Qsj))};static#t=this.\u0275dir=i.lG2({type:G,selectors:[["","nz-carousel-content",""]],hostAttrs:[1,"slick-slide"],exportAs:["nzCarouselContent"]})}return G})();class P{get maxIndex(){return this.length-1}get firstEl(){return this.contents[0].el}get lastEl(){return this.contents[this.maxIndex].el}constructor(V,K,ee,te,pe){this.cdr=K,this.renderer=ee,this.platform=te,this.options=pe,this.carouselComponent=V}withCarouselContents(V){const K=this.carouselComponent;if(this.slickListEl=K.slickListEl,this.slickTrackEl=K.slickTrackEl,this.contents=V?.toArray()||[],this.length=this.contents.length,this.platform.isBrowser){const ee=K.el.getBoundingClientRect();this.unitWidth=ee.width,this.unitHeight=ee.height}else V?.forEach((ee,te)=>{0===te?this.renderer.setStyle(ee.el,"width","100%"):this.renderer.setStyle(ee.el,"display","none")})}dragging(V){}dispose(){}getFromToInBoundary(V,K){const ee=this.maxIndex+1;return{from:(V+ee)%ee,to:(K+ee)%ee}}}class S extends P{withCarouselContents(V){super.withCarouselContents(V),this.contents&&(this.slickTrackEl.style.width=this.length*this.unitWidth+"px",this.contents.forEach((K,ee)=>{this.renderer.setStyle(K.el,"opacity",this.carouselComponent.activeIndex===ee?"1":"0"),this.renderer.setStyle(K.el,"position","relative"),this.renderer.setStyle(K.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(K.el,"left",-this.unitWidth*ee+"px"),this.renderer.setStyle(K.el,"transition",["opacity 500ms ease 0s","visibility 500ms ease 0s"])}))}switch(V,K){const{to:ee}=this.getFromToInBoundary(V,K),te=new E.x;return this.contents.forEach((pe,re)=>{this.renderer.setStyle(pe.el,"opacity",ee===re?"1":"0")}),setTimeout(()=>{te.next(),te.complete()},this.carouselComponent.nzTransitionSpeed),te}dispose(){this.contents.forEach(V=>{this.renderer.setStyle(V.el,"transition",null),this.renderer.setStyle(V.el,"opacity",null),this.renderer.setStyle(V.el,"width",null),this.renderer.setStyle(V.el,"left",null)}),super.dispose()}}class A extends P{get vertical(){return this.carouselComponent.vertical}constructor(V,K,ee,te,pe){super(V,K,ee,te,pe),this.isDragging=!1,this.isTransitioning=!1}dispose(){super.dispose(),this.renderer.setStyle(this.slickTrackEl,"transform",null)}withCarouselContents(V){super.withCarouselContents(V);const ee=this.carouselComponent.activeIndex;this.platform.isBrowser&&this.contents.length&&(this.renderer.setStyle(this.slickListEl,"height",`${this.unitHeight}px`),this.vertical?(this.renderer.setStyle(this.slickTrackEl,"width",`${this.unitWidth}px`),this.renderer.setStyle(this.slickTrackEl,"height",this.length*this.unitHeight+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-ee*this.unitHeight}px, 0)`)):(this.renderer.setStyle(this.slickTrackEl,"height",`${this.unitHeight}px`),this.renderer.setStyle(this.slickTrackEl,"width",this.length*this.unitWidth+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-ee*this.unitWidth}px, 0, 0)`)),this.contents.forEach(te=>{this.renderer.setStyle(te.el,"position","relative"),this.renderer.setStyle(te.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(te.el,"height",`${this.unitHeight}px`)}))}switch(V,K){const{to:ee}=this.getFromToInBoundary(V,K),te=new E.x;return this.renderer.setStyle(this.slickTrackEl,"transition",`transform ${this.carouselComponent.nzTransitionSpeed}ms ease`),this.vertical?this.verticalTransform(V,K):this.horizontalTransform(V,K),this.isTransitioning=!0,this.isDragging=!1,setTimeout(()=>{this.renderer.setStyle(this.slickTrackEl,"transition",null),this.contents.forEach(pe=>{this.renderer.setStyle(pe.el,this.vertical?"top":"left",null)}),this.renderer.setStyle(this.slickTrackEl,"transform",this.vertical?`translate3d(0, ${-ee*this.unitHeight}px, 0)`:`translate3d(${-ee*this.unitWidth}px, 0, 0)`),this.isTransitioning=!1,te.next(),te.complete()},this.carouselComponent.nzTransitionSpeed),te.asObservable()}dragging(V){if(this.isTransitioning)return;const K=this.carouselComponent.activeIndex;this.carouselComponent.vertical?(!this.isDragging&&this.length>2&&(K===this.maxIndex?this.prepareVerticalContext(!0):0===K&&this.prepareVerticalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-K*this.unitHeight+V.x}px, 0)`)):(!this.isDragging&&this.length>2&&(K===this.maxIndex?this.prepareHorizontalContext(!0):0===K&&this.prepareHorizontalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-K*this.unitWidth+V.x}px, 0, 0)`)),this.isDragging=!0}verticalTransform(V,K){const{from:ee,to:te}=this.getFromToInBoundary(V,K);this.length>2&&K!==te?(this.prepareVerticalContext(te2&&K!==te?(this.prepareHorizontalContext(te{class G{set nzDotPosition(K){this._dotPosition=K,this.vertical="left"===K||"right"===K}get nzDotPosition(){return this._dotPosition}constructor(K,ee,te,pe,re,De,ae,ce,X,ne){this.nzConfigService=ee,this.ngZone=te,this.renderer=pe,this.cdr=re,this.platform=De,this.resizeService=ae,this.nzDragService=ce,this.directionality=X,this.customStrategies=ne,this._nzModuleName="carousel",this.nzEffect="scrollx",this.nzEnableSwipe=!0,this.nzDots=!0,this.nzAutoPlay=!1,this.nzAutoPlaySpeed=3e3,this.nzTransitionSpeed=500,this.nzLoop=!0,this.nzStrategyOptions=void 0,this._dotPosition="bottom",this.nzBeforeChange=new i.vpe,this.nzAfterChange=new i.vpe,this.activeIndex=0,this.vertical=!1,this.transitionInProgress=null,this.dir="ltr",this.destroy$=new E.x,this.gestureRect=null,this.pointerDelta=null,this.isTransiting=!1,this.isDragging=!1,this.onLiClick=le=>{this.goTo("rtl"===this.dir?this.carouselContents.length-1-le:le)},this.pointerDown=le=>{!this.isDragging&&!this.isTransiting&&this.nzEnableSwipe&&(this.clearScheduledTransition(),this.gestureRect=this.slickListEl.getBoundingClientRect(),this.nzDragService.requestDraggingSequence(le).subscribe(Se=>{this.pointerDelta=Se,this.isDragging=!0,this.strategy?.dragging(this.pointerDelta)},()=>{},()=>{if(this.nzEnableSwipe&&this.isDragging){const Se=this.pointerDelta?this.pointerDelta.x:0;Math.abs(Se)>this.gestureRect.width/3&&(this.nzLoop||Se<=0&&this.activeIndex+10&&this.activeIndex>0)?this.goTo(Se>0?this.activeIndex-1:this.activeIndex+1):this.goTo(this.activeIndex),this.gestureRect=null,this.pointerDelta=null}this.isDragging=!1}))},this.nzDotPosition="bottom",this.el=K.nativeElement}ngOnInit(){this.slickListEl=this.slickList.nativeElement,this.slickTrackEl=this.slickTrack.nativeElement,this.dir=this.directionality.value,this.directionality.change.pipe((0,z.R)(this.destroy$)).subscribe(K=>{this.dir=K,this.markContentActive(this.activeIndex),this.cdr.detectChanges()}),this.ngZone.runOutsideAngular(()=>{(0,u.R)(this.slickListEl,"keydown").pipe((0,z.R)(this.destroy$)).subscribe(K=>{const{keyCode:ee}=K;ee!==h.oh&&ee!==h.SV||(K.preventDefault(),this.ngZone.run(()=>{ee===h.oh?this.pre():this.next(),this.cdr.markForCheck()}))})})}ngAfterContentInit(){this.markContentActive(0)}ngAfterViewInit(){this.carouselContents.changes.subscribe(()=>{this.markContentActive(0),this.layout()}),this.resizeService.subscribe().pipe((0,z.R)(this.destroy$)).subscribe(()=>{this.layout()}),this.switchStrategy(),this.markContentActive(0),this.layout(),Promise.resolve().then(()=>{this.layout()})}ngOnChanges(K){const{nzEffect:ee,nzDotPosition:te}=K;ee&&!ee.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),te&&!te.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),this.nzAutoPlay&&this.nzAutoPlaySpeed?this.scheduleNextTransition():this.clearScheduledTransition()}ngOnDestroy(){this.clearScheduledTransition(),this.strategy&&this.strategy.dispose(),this.destroy$.next(),this.destroy$.complete()}next(){this.goTo(this.activeIndex+1)}pre(){this.goTo(this.activeIndex-1)}goTo(K){if(this.carouselContents&&this.carouselContents.length&&!this.isTransiting&&(this.nzLoop||K>=0&&K{this.scheduleNextTransition(),this.nzAfterChange.emit(pe),this.isTransiting=!1}),this.markContentActive(pe),this.cdr.markForCheck()}}switchStrategy(){this.strategy&&this.strategy.dispose();const K=this.customStrategies?this.customStrategies.find(ee=>ee.name===this.nzEffect):null;this.strategy=K?new K.strategy(this,this.cdr,this.renderer,this.platform):"scrollx"===this.nzEffect?new A(this,this.cdr,this.renderer,this.platform):new S(this,this.cdr,this.renderer,this.platform)}scheduleNextTransition(){this.clearScheduledTransition(),this.nzAutoPlay&&this.nzAutoPlaySpeed>0&&this.platform.isBrowser&&(this.transitionInProgress=setTimeout(()=>{this.goTo(this.activeIndex+1)},this.nzAutoPlaySpeed))}clearScheduledTransition(){this.transitionInProgress&&(clearTimeout(this.transitionInProgress),this.transitionInProgress=null)}markContentActive(K){this.activeIndex=K,this.carouselContents&&this.carouselContents.forEach((ee,te)=>{ee.isActive="rtl"===this.dir?K===this.carouselContents.length-1-te:K===te}),this.cdr.markForCheck()}layout(){this.strategy&&this.strategy.withCarouselContents(this.carouselContents)}static#e=this.\u0275fac=function(ee){return new(ee||G)(i.Y36(i.SBq),i.Y36(M.jY),i.Y36(i.R0b),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(n.t4),i.Y36(v.rI),i.Y36(v.Ml),i.Y36(e.Is,8),i.Y36(k,8))};static#t=this.\u0275cmp=i.Xpm({type:G,selectors:[["nz-carousel"]],contentQueries:function(ee,te,pe){if(1&ee&&i.Suo(pe,y,4),2&ee){let re;i.iGM(re=i.CRH())&&(te.carouselContents=re)}},viewQuery:function(ee,te){if(1&ee&&(i.Gf(_,7),i.Gf(d,7)),2&ee){let pe;i.iGM(pe=i.CRH())&&(te.slickList=pe.first),i.iGM(pe=i.CRH())&&(te.slickTrack=pe.first)}},hostAttrs:[1,"ant-carousel"],hostVars:4,hostBindings:function(ee,te){2&ee&&i.ekj("ant-carousel-vertical",te.vertical)("ant-carousel-rtl","rtl"===te.dir)},inputs:{nzDotRender:"nzDotRender",nzEffect:"nzEffect",nzEnableSwipe:"nzEnableSwipe",nzDots:"nzDots",nzAutoPlay:"nzAutoPlay",nzAutoPlaySpeed:"nzAutoPlaySpeed",nzTransitionSpeed:"nzTransitionSpeed",nzLoop:"nzLoop",nzStrategyOptions:"nzStrategyOptions",nzDotPosition:"nzDotPosition"},outputs:{nzBeforeChange:"nzBeforeChange",nzAfterChange:"nzAfterChange"},exportAs:["nzCarousel"],features:[i.TTD],ngContentSelectors:D,decls:9,vars:3,consts:[[1,"slick-initialized","slick-slider"],["tabindex","-1",1,"slick-list",3,"mousedown","touchstart"],["slickList",""],[1,"slick-track"],["slickTrack",""],["class","slick-dots",3,"slick-dots-top","slick-dots-bottom","slick-dots-left","slick-dots-right",4,"ngIf"],["renderDotTemplate",""],[1,"slick-dots"],[3,"slick-active","click",4,"ngFor","ngForOf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(ee,te){1&ee&&(i.F$t(),i.TgZ(0,"div",0)(1,"div",1,2),i.NdJ("mousedown",function(re){return te.pointerDown(re)})("touchstart",function(re){return te.pointerDown(re)}),i.TgZ(3,"div",3,4),i.Hsn(5),i.qZA()(),i.YNc(6,T,2,9,"ul",5),i.qZA(),i.YNc(7,b,2,1,"ng-template",null,6,i.W1O)),2&ee&&(i.ekj("slick-vertical","left"===te.nzDotPosition||"right"===te.nzDotPosition),i.xp6(6),i.Q6J("ngIf",te.nzDots))},dependencies:[t.sg,t.O5,t.tP],encapsulation:2,changeDetection:0})}return(0,l.gn)([(0,M.oS)()],G.prototype,"nzEffect",void 0),(0,l.gn)([(0,M.oS)(),(0,p.yF)()],G.prototype,"nzEnableSwipe",void 0),(0,l.gn)([(0,M.oS)(),(0,p.yF)()],G.prototype,"nzDots",void 0),(0,l.gn)([(0,M.oS)(),(0,p.yF)()],G.prototype,"nzAutoPlay",void 0),(0,l.gn)([(0,M.oS)(),(0,p.Rn)()],G.prototype,"nzAutoPlaySpeed",void 0),(0,l.gn)([(0,p.Rn)()],G.prototype,"nzTransitionSpeed",void 0),(0,l.gn)([(0,M.oS)()],G.prototype,"nzLoop",void 0),(0,l.gn)([(0,M.oS)()],G.prototype,"nzDotPosition",null),G})(),j=(()=>{class G{static#e=this.\u0275fac=function(ee){return new(ee||G)};static#t=this.\u0275mod=i.oAB({type:G});static#n=this.\u0275inj=i.cJS({imports:[e.vT,t.ez,n.ud]})}return G})()},25923:(tt,I,o)=>{"use strict";o.d(I,{D4:()=>Vt,Fs:()=>cn});var e=o(97582),n=o(36028),t=o(33651),i=o(65879),l=o(60095),h=o(65619),E=o(78645),u=o(7715),z=o(64716),M=o(22096),p=o(65592),v=o(92438),_=o(36232),d=o(93997),m=o(42460),f=o(37398),C=o(59773),T=o(27921),b=o(94664),D=o(64194),y=o(83064),P=o(85448),S=o(99087),A=o(27754),k=o(96814),R=o(8324),W=o(90551),j=o(84267),ze=o(12131),Y=o(49388),G=o(331),V=o(50883),K=o(60804),ee=o(20824);const te=["nz-cascader-option",""];function pe(ft,gt){}const re=function(ft,gt){return{$implicit:ft,index:gt}};function De(ft,gt){if(1&ft&&(i.ynx(0),i.YNc(1,pe,0,0,"ng-template",3),i.BQk()),2&ft){const Ie=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",Ie.optionTemplate)("ngTemplateOutletContext",i.WLB(2,re,Ie.option,Ie.columnIndex))}}function ae(ft,gt){if(1&ft&&(i._UZ(0,"div",4),i.ALo(1,"nzHighlight")),2&ft){const Ie=i.oxw();i.Q6J("innerHTML",i.gM2(1,1,Ie.optionLabel,Ie.highlightText,"g","ant-cascader-menu-item-keyword"),i.oJD)}}function ce(ft,gt){1&ft&&i._UZ(0,"span",8)}function X(ft,gt){if(1&ft&&(i.ynx(0),i._UZ(1,"span",10),i.BQk()),2&ft){const Ie=i.oxw(3);i.xp6(1),i.Q6J("nzType",Ie.expandIcon)}}function ne(ft,gt){if(1&ft&&i.YNc(0,X,2,1,"ng-container",9),2&ft){const Ie=i.oxw(2);i.Q6J("nzStringTemplateOutlet",Ie.expandIcon)}}function le(ft,gt){if(1&ft&&(i.TgZ(0,"div",5),i.YNc(1,ce,1,0,"span",6),i.YNc(2,ne,1,1,"ng-template",null,7,i.W1O),i.qZA()),2&ft){const Ie=i.MAs(3),Ct=i.oxw();i.xp6(1),i.Q6J("ngIf",Ct.option.loading)("ngIfElse",Ie)}}const Se=["selectContainer"],Ne=["input"],ke=["menu"];function oe(ft,gt){if(1&ft&&(i.ynx(0),i._uU(1),i.BQk()),2&ft){const Ie=i.oxw(3);i.xp6(1),i.Oqu(Ie.labelRenderText)}}function _e(ft,gt){}function Q(ft,gt){if(1&ft&&i.YNc(0,_e,0,0,"ng-template",16),2&ft){const Ie=i.oxw(3);i.Q6J("ngTemplateOutlet",Ie.nzLabelRender)("ngTemplateOutletContext",Ie.labelRenderContext)}}function He(ft,gt){if(1&ft&&(i.TgZ(0,"span",13),i.YNc(1,oe,2,1,"ng-container",14),i.YNc(2,Q,1,2,"ng-template",null,15,i.W1O),i.qZA()),2&ft){const Ie=i.MAs(3),Ct=i.oxw(2);i.Q6J("title",Ct.labelRenderText),i.xp6(1),i.Q6J("ngIf",!Ct.isLabelRenderTemplate)("ngIfElse",Ie)}}function Re(ft,gt){if(1&ft&&(i.TgZ(0,"span",17),i._uU(1),i.qZA()),2&ft){const Ie=i.oxw(2);i.Udp("visibility",Ie.inputValue?"hidden":"visible"),i.xp6(1),i.Oqu(Ie.showPlaceholder?Ie.nzPlaceHolder||(null==Ie.locale?null:Ie.locale.placeholder):null)}}function lt(ft,gt){if(1&ft&&i._UZ(0,"span",22),2&ft){const Ie=i.oxw(3);i.ekj("ant-cascader-picker-arrow-expand",Ie.menuVisible),i.Q6J("nzType",Ie.nzSuffixIcon)}}function Pe(ft,gt){1&ft&&i._UZ(0,"span",23)}function xt(ft,gt){if(1&ft&&i._UZ(0,"nz-form-item-feedback-icon",24),2&ft){const Ie=i.oxw(3);i.Q6J("status",Ie.status)}}function $e(ft,gt){if(1&ft&&(i.TgZ(0,"span",18),i.YNc(1,lt,1,3,"span",19),i.YNc(2,Pe,1,0,"span",20),i.YNc(3,xt,1,1,"nz-form-item-feedback-icon",21),i.qZA()),2&ft){const Ie=i.oxw(2);i.ekj("ant-select-arrow-loading",Ie.isLoading),i.xp6(1),i.Q6J("ngIf",!Ie.isLoading),i.xp6(1),i.Q6J("ngIf",Ie.isLoading),i.xp6(1),i.Q6J("ngIf",Ie.hasFeedback&&!!Ie.status)}}function ot(ft,gt){if(1&ft){const Ie=i.EpF();i.TgZ(0,"span",25)(1,"span",26),i.NdJ("click",function(Nt){i.CHM(Ie);const kt=i.oxw(2);return i.KtG(kt.clearSelection(Nt))}),i.qZA()()}}function mt(ft,gt){if(1&ft){const Ie=i.EpF();i.ynx(0),i.TgZ(1,"div",4,5)(3,"span",6)(4,"input",7,8),i.NdJ("ngModelChange",function(Nt){i.CHM(Ie);const kt=i.oxw();return i.KtG(kt.inputValue=Nt)})("blur",function(){i.CHM(Ie);const Nt=i.oxw();return i.KtG(Nt.handleInputBlur())})("focus",function(){i.CHM(Ie);const Nt=i.oxw();return i.KtG(Nt.handleInputFocus())}),i.qZA()(),i.YNc(6,He,4,3,"span",9),i.YNc(7,Re,2,3,"span",10),i.qZA(),i.YNc(8,$e,4,5,"span",11),i.YNc(9,ot,2,0,"span",12),i.BQk()}if(2&ft){const Ie=i.oxw();i.xp6(4),i.Udp("opacity",Ie.nzShowSearch?"":"0"),i.Q6J("readonly",!Ie.nzShowSearch)("disabled",Ie.nzDisabled)("ngModel",Ie.inputValue),i.uIk("autoComplete","off")("expanded",Ie.menuVisible)("autofocus",Ie.nzAutoFocus?"autofocus":null),i.xp6(2),i.Q6J("ngIf",Ie.showLabelRender),i.xp6(1),i.Q6J("ngIf",!Ie.showLabelRender),i.xp6(1),i.Q6J("ngIf",Ie.nzShowArrow),i.xp6(1),i.Q6J("ngIf",Ie.clearIconVisible)}}function we(ft,gt){if(1&ft&&(i.TgZ(0,"ul",32)(1,"li",33),i._UZ(2,"nz-embed-empty",34),i.qZA()()),2&ft){const Ie=i.oxw(2);i.Udp("width",Ie.dropdownWidthStyle)("height",Ie.dropdownHeightStyle),i.xp6(2),i.Q6J("nzComponentName","cascader")("specificContent",Ie.nzNotFoundContent)}}function de(ft,gt){if(1&ft){const Ie=i.EpF();i.TgZ(0,"li",38),i.NdJ("mouseenter",function(Nt){const St=i.CHM(Ie).$implicit,qe=i.oxw().index,Fe=i.oxw(3);return i.KtG(Fe.onOptionMouseEnter(St,qe,Nt))})("mouseleave",function(Nt){const St=i.CHM(Ie).$implicit,qe=i.oxw().index,Fe=i.oxw(3);return i.KtG(Fe.onOptionMouseLeave(St,qe,Nt))})("click",function(Nt){const St=i.CHM(Ie).$implicit,qe=i.oxw().index,Fe=i.oxw(3);return i.KtG(Fe.onOptionClick(St,qe,Nt))}),i.qZA()}if(2&ft){const Ie=gt.$implicit,Ct=i.oxw().index,Nt=i.oxw(3);i.Q6J("expandIcon",Nt.nzExpandIcon)("columnIndex",Ct)("nzLabelProperty",Nt.nzLabelProperty)("optionTemplate",Nt.nzOptionRender)("activated",Nt.isOptionActivated(Ie,Ct))("highlightText",Nt.inSearchingMode?Nt.inputValue:"")("option",Ie)("dir",Nt.dir)}}function U(ft,gt){if(1&ft&&(i.TgZ(0,"ul",36),i.YNc(1,de,1,8,"li",37),i.qZA()),2&ft){const Ie=gt.$implicit,Ct=i.oxw(3);i.Udp("height",Ct.dropdownHeightStyle)("width",Ct.dropdownWidthStyle),i.Q6J("ngClass",Ct.menuColumnCls),i.xp6(1),i.Q6J("ngForOf",Ie)}}function B(ft,gt){if(1&ft&&i.YNc(0,U,2,6,"ul",35),2&ft){const Ie=i.oxw(2);i.Q6J("ngForOf",Ie.cascaderService.columns)}}function Me(ft,gt){if(1&ft){const Ie=i.EpF();i.TgZ(0,"div",27),i.NdJ("mouseenter",function(){i.CHM(Ie);const Nt=i.oxw();return i.KtG(Nt.onTriggerMouseEnter())})("mouseleave",function(Nt){i.CHM(Ie);const kt=i.oxw();return i.KtG(kt.onTriggerMouseLeave(Nt))}),i.TgZ(1,"div",28,29),i.YNc(3,we,3,6,"ul",30),i.YNc(4,B,1,1,"ng-template",null,31,i.W1O),i.qZA()()}if(2&ft){const Ie=i.MAs(5),Ct=i.oxw();i.ekj("ant-cascader-dropdown-rtl","rtl"===Ct.dir),i.Q6J("@slideMotion","enter")("@.disabled",!(null==Ct.noAnimation||!Ct.noAnimation.nzNoAnimation))("nzNoAnimation",null==Ct.noAnimation?null:Ct.noAnimation.nzNoAnimation),i.xp6(1),i.ekj("ant-cascader-rtl","rtl"===Ct.dir)("ant-cascader-menus-hidden",!Ct.menuVisible)("ant-cascader-menu-empty",Ct.shouldShowEmpty),i.Q6J("ngClass",Ct.menuCls)("ngStyle",Ct.nzMenuStyle),i.xp6(2),i.Q6J("ngIf",Ct.shouldShowEmpty)("ngIfElse",Ie)}}const Ae=["*"];function Le(ft){return"boolean"!=typeof ft}let Lt=(()=>{class ft{constructor(Ie,Ct){this.cdr=Ie,this.optionTemplate=null,this.activated=!1,this.nzLabelProperty="label",this.expandIcon="",this.dir="ltr",this.nativeElement=Ct.nativeElement}ngOnInit(){""===this.expandIcon&&"rtl"===this.dir?this.expandIcon="left":""===this.expandIcon&&(this.expandIcon="right")}get optionLabel(){return this.option[this.nzLabelProperty]}markForCheck(){this.cdr.markForCheck()}static#e=this.\u0275fac=function(Ct){return new(Ct||ft)(i.Y36(i.sBO),i.Y36(i.SBq))};static#t=this.\u0275cmp=i.Xpm({type:ft,selectors:[["","nz-cascader-option",""]],hostAttrs:[1,"ant-cascader-menu-item","ant-cascader-menu-item-expanded"],hostVars:7,hostBindings:function(Ct,Nt){2&Ct&&(i.uIk("title",Nt.option.title||Nt.optionLabel),i.ekj("ant-cascader-menu-item-active",Nt.activated)("ant-cascader-menu-item-expand",!Nt.option.isLeaf)("ant-cascader-menu-item-disabled",Nt.option.disabled))},inputs:{optionTemplate:"optionTemplate",option:"option",activated:"activated",highlightText:"highlightText",nzLabelProperty:"nzLabelProperty",columnIndex:"columnIndex",expandIcon:"expandIcon",dir:"dir"},exportAs:["nzCascaderOption"],attrs:te,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["defaultOptionTemplate",""],["class","ant-cascader-menu-item-expand-icon",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-cascader-menu-item-content",3,"innerHTML"],[1,"ant-cascader-menu-item-expand-icon"],["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["icon",""],["nz-icon","","nzType","loading"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(Ct,Nt){if(1&Ct&&(i.YNc(0,De,2,5,"ng-container",0),i.YNc(1,ae,2,6,"ng-template",null,1,i.W1O),i.YNc(3,le,4,2,"div",2)),2&Ct){const kt=i.MAs(2);i.Q6J("ngIf",Nt.optionTemplate)("ngIfElse",kt),i.xp6(3),i.Q6J("ngIf",!Nt.option.isLeaf||(null==Nt.option.children?null:Nt.option.children.length)||Nt.option.loading)}},dependencies:[k.O5,k.tP,R.f,W.Ls,j.U],encapsulation:2,changeDetection:0})}return ft})(),Wt=(()=>{class ft{constructor(){this.activatedOptions=[],this.columns=[],this.inSearchingMode=!1,this.selectedOptions=[],this.values=[],this.$loading=new h.X(!1),this.$redraw=new E.x,this.$optionSelected=new E.x,this.$quitSearching=new E.x,this.columnsSnapshot=[[]],this.activatedOptionsSnapshot=[]}get nzOptions(){return this.columns[0]}ngOnDestroy(){this.$redraw.complete(),this.$quitSearching.complete(),this.$optionSelected.complete(),this.$loading.complete()}syncOptions(Ie=!1){const Ct=this.values,Nt=Ct&&Ct.length,kt=Ct.length-1,St=qe=>{const Fe=()=>{const fe=Ct[qe];if(!(0,A.DX)(fe))return void this.$redraw.next();const Xe=this.findOptionWithValue(qe,Ct[qe])||("object"==typeof fe?fe:{[`${this.cascaderComponent.nzValueProperty}`]:fe,[`${this.cascaderComponent.nzLabelProperty}`]:fe});this.setOptionActivated(Xe,qe,!1,!1),qe{this.$quitSearching.next(),this.$redraw.next(),this.inSearchingMode=!1,this.columns=[...this.columnsSnapshot],this.activatedOptions=[...this.selectedOptions]},200)}prepareSearchOptions(Ie){const Ct=[],Nt=[],St=this.cascaderComponent.nzShowSearch,qe=Le(St)&&St.filter?St.filter:(ge,je)=>je.some(Ye=>{const We=this.getOptionLabel(Ye);return!!We&&-1!==We.indexOf(ge)}),Fe=Le(St)&&St.sorter?St.sorter:null,fe=(ge,je=!1)=>{Nt.push(ge);const Ye=Array.from(Nt);if(qe(Ie,Ye)){const wt={disabled:je||ge.disabled,isLeaf:!0,path:Ye,[this.cascaderComponent.nzLabelProperty]:Ye.map(Ee=>this.getOptionLabel(Ee)).join(" / ")};Ct.push(wt)}Nt.pop()},Xe=(ge,je=!1)=>{const Ye=je||ge.disabled;Nt.push(ge),ge.children.forEach(We=>{We.parent||(We.parent=ge),We.isLeaf||Xe(We,Ye),(We.isLeaf||!We.children||!We.children.length)&&fe(We,Ye)}),Nt.pop()};this.columnsSnapshot.length?(this.columnsSnapshot[0].forEach(ge=>function ht(ft){return ft.isLeaf||!ft.children||!ft.children.length}(ge)?fe(ge):Xe(ge)),Fe&&Ct.sort((ge,je)=>Fe(ge.path,je.path,Ie)),this.columns=[Ct],this.$redraw.next()):this.columns=[[]]}toggleSearchingMode(Ie){this.inSearchingMode=Ie,Ie?(this.activatedOptionsSnapshot=[...this.activatedOptions],this.activatedOptions=[],this.selectedOptions=[],this.$redraw.next()):(this.activatedOptions=[...this.activatedOptionsSnapshot],this.selectedOptions=[...this.activatedOptions],this.columns=[...this.columnsSnapshot],this.syncOptions(),this.$redraw.next())}clear(){this.values=[],this.selectedOptions=[],this.activatedOptions=[],this.dropBehindColumns(0),this.$redraw.next(),this.$optionSelected.next(null)}getOptionLabel(Ie){return Ie[this.cascaderComponent.nzLabelProperty||"label"]}getOptionValue(Ie){return Ie[this.cascaderComponent.nzValueProperty||"value"]}setColumnData(Ie,Ct,Nt){(0,A.cO)(this.columns[Ct],Ie)||(Ie.forEach(St=>St.parent=Nt),this.columns[Ct]=Ie,this.dropBehindColumns(Ct))}trackAncestorActivatedOptions(Ie){for(let Ct=Ie-1;Ct>=0;Ct--)this.activatedOptions[Ct]||(this.activatedOptions[Ct]=this.activatedOptions[Ct+1].parent)}dropBehindActivatedOptions(Ie){this.activatedOptions=this.activatedOptions.splice(0,Ie+1)}dropBehindColumns(Ie){Ie{Ie.loading=!1,this.$loading.next(!1),this.$redraw.next()})).subscribe({next:()=>{Ie.children&&this.setColumnData(Ie.children,Ct+1,Ie),Nt?.()},error:()=>{Ie.isLeaf=!0,kt?.()}}))}isLoaded(Ie){return this.columns[Ie]&&this.columns[Ie].length>0}findOptionWithValue(Ie,Ct){const Nt=this.columns[Ie];if(Nt){const kt="object"==typeof Ct?this.getOptionValue(Ct):Ct;return Nt.find(St=>kt===this.getOptionValue(St))}return null}prepareEmitValue(){this.values=this.selectedOptions.map(Ie=>this.getOptionValue(Ie))}static#e=this.\u0275fac=function(Ct){return new(Ct||ft)};static#t=this.\u0275prov=i.Yz7({token:ft,factory:ft.\u0275fac})}return ft})();const qt="cascader",en=ft=>ft.join(" / ");let Vt=(()=>{class ft{set input(Ie){this.input$.next(Ie)}get input(){return this.input$.getValue()}get nzOptions(){return this.cascaderService.nzOptions}set nzOptions(Ie){this.cascaderService.withOptions(Ie)}get inSearchingMode(){return this.cascaderService.inSearchingMode}set inputValue(Ie){this.inputString=Ie,this.toggleSearchingMode(!!Ie)}get inputValue(){return this.inputString}get menuCls(){return{[`${this.nzMenuClassName}`]:!!this.nzMenuClassName}}get menuColumnCls(){return{[`${this.nzColumnClassName}`]:!!this.nzColumnClassName}}get hasInput(){return!!this.inputValue}get hasValue(){return this.cascaderService.values&&this.cascaderService.values.length>0}get showLabelRender(){return this.hasValue}get showPlaceholder(){return!(this.hasInput||this.hasValue)}get clearIconVisible(){return this.nzAllowClear&&!this.nzDisabled&&(this.hasValue||this.hasInput)}get isLabelRenderTemplate(){return!!this.nzLabelRender}constructor(Ie,Ct,Nt,kt,St,qe,Fe,fe,Xe,ge,je,Ye){this.cascaderService=Ie,this.nzConfigService=Ct,this.ngZone=Nt,this.cdr=kt,this.i18nService=St,this.destroy$=qe,this.elementRef=Fe,this.renderer=fe,this.directionality=Xe,this.noAnimation=ge,this.nzFormStatusService=je,this.nzFormNoStatusService=Ye,this._nzModuleName=qt,this.input$=new h.X(void 0),this.nzOptionRender=null,this.nzShowInput=!0,this.nzShowArrow=!0,this.nzAllowClear=!0,this.nzAutoFocus=!1,this.nzChangeOnSelect=!1,this.nzDisabled=!1,this.nzExpandTrigger="click",this.nzValueProperty="value",this.nzLabelRender=null,this.nzLabelProperty="label",this.nzSize="default",this.nzBackdrop=!1,this.nzShowSearch=!1,this.nzPlaceHolder="",this.nzMenuStyle=null,this.nzMouseEnterDelay=150,this.nzMouseLeaveDelay=150,this.nzStatus="",this.nzTriggerAction=["click"],this.nzSuffixIcon="down",this.nzExpandIcon="",this.nzVisibleChange=new i.vpe,this.nzSelectionChange=new i.vpe,this.nzSelect=new i.vpe,this.nzClear=new i.vpe,this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1,this.shouldShowEmpty=!1,this.menuVisible=!1,this.isLoading=!1,this.labelRenderContext={},this.onChange=Function.prototype,this.onTouched=Function.prototype,this.positions=[...P.n$],this.dropdownHeightStyle="",this.isFocused=!1,this.dir="ltr",this.inputString="",this.isOpening=!1,this.delayMenuTimer=null,this.delaySelectTimer=null,this.isNzDisableFirstChange=!0,this.el=Fe.nativeElement,this.cascaderService.withComponent(this),this.renderer.addClass(this.elementRef.nativeElement,"ant-select"),this.renderer.addClass(this.elementRef.nativeElement,"ant-cascader")}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,d.x)((Ct,Nt)=>Ct.status===Nt.status&&Ct.hasFeedback===Nt.hasFeedback),(0,m.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,M.of)(!1)),(0,f.U)(([{status:Ct,hasFeedback:Nt},kt])=>({status:kt?"":Ct,hasFeedback:Nt})),(0,C.R)(this.destroy$)).subscribe(({status:Ct,hasFeedback:Nt})=>{this.setStatusStyles(Ct,Nt)});const Ie=this.cascaderService;Ie.$redraw.pipe((0,C.R)(this.destroy$)).subscribe(()=>{this.checkChildren(),this.setDisplayLabel(),this.cdr.detectChanges(),this.reposition(),this.setDropdownStyles()}),Ie.$loading.pipe((0,C.R)(this.destroy$)).subscribe(Ct=>{this.isLoading=Ct}),Ie.$optionSelected.pipe((0,C.R)(this.destroy$)).subscribe(Ct=>{if(Ct){const{option:Nt,index:kt}=Ct;(Nt.isLeaf||this.nzChangeOnSelect&&"hover"===this.nzExpandTrigger)&&this.delaySetMenuVisible(!1),this.onChange(this.cascaderService.values),this.nzSelectionChange.emit(this.cascaderService.selectedOptions),this.nzSelect.emit({option:Nt,index:kt}),this.cdr.markForCheck()}else this.onChange([]),this.nzSelect.emit(null),this.nzSelectionChange.emit([])}),Ie.$quitSearching.pipe((0,C.R)(this.destroy$)).subscribe(()=>{this.inputString="",this.dropdownWidthStyle=""}),this.i18nService.localeChange.pipe((0,T.O)(),(0,C.R)(this.destroy$)).subscribe(()=>{this.setLocale()}),this.nzConfigService.getConfigChangeEventForComponent(qt).pipe((0,C.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change.pipe((0,C.R)(this.destroy$)).subscribe(()=>{this.dir=this.directionality.value,Ie.$redraw.next()}),this.setupChangeListener(),this.setupKeydownListener()}ngOnChanges(Ie){const{nzStatus:Ct}=Ie;Ct&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.clearDelayMenuTimer(),this.clearDelaySelectTimer()}registerOnChange(Ie){this.onChange=Ie}registerOnTouched(Ie){this.onTouched=Ie}writeValue(Ie){this.cascaderService.values=(0,A.qo)(Ie),this.cascaderService.syncOptions(!0)}delaySetMenuVisible(Ie,Ct=100,Nt=!1){this.clearDelayMenuTimer(),Ct?(Ie&&Nt&&(this.isOpening=!0),this.delayMenuTimer=setTimeout(()=>{this.setMenuVisible(Ie),this.cdr.detectChanges(),this.clearDelayMenuTimer(),Ie&&setTimeout(()=>{this.isOpening=!1},100)},Ct)):this.setMenuVisible(Ie)}setMenuVisible(Ie){this.nzDisabled||this.menuVisible===Ie||(Ie&&(this.cascaderService.syncOptions(),this.scrollToActivatedOptions()),Ie||(this.inputValue=""),this.menuVisible=Ie,this.nzVisibleChange.emit(Ie),this.cdr.detectChanges())}clearDelayMenuTimer(){this.delayMenuTimer&&(clearTimeout(this.delayMenuTimer),this.delayMenuTimer=null)}clearSelection(Ie){Ie&&(Ie.preventDefault(),Ie.stopPropagation()),this.labelRenderText="",this.labelRenderContext={},this.inputValue="",this.setMenuVisible(!1),this.cascaderService.clear(),this.nzClear.emit()}getSubmitValue(){return this.cascaderService.selectedOptions.map(Ie=>this.cascaderService.getOptionValue(Ie))}focus(){this.isFocused||((this.input?.nativeElement||this.el).focus(),this.isFocused=!0)}blur(){this.isFocused&&((this.input?.nativeElement||this.el).blur(),this.isFocused=!1)}handleInputBlur(){this.menuVisible?this.focus():this.blur()}handleInputFocus(){this.focus()}onTriggerClick(){this.nzDisabled||(this.nzShowSearch&&this.focus(),this.isActionTrigger("click")&&this.delaySetMenuVisible(!this.menuVisible,100),this.onTouched())}onTriggerMouseEnter(){this.nzDisabled||!this.isActionTrigger("hover")||this.delaySetMenuVisible(!0,this.nzMouseEnterDelay,!0)}onTriggerMouseLeave(Ie){if(this.nzDisabled||!this.menuVisible||this.isOpening||!this.isActionTrigger("hover"))return void Ie.preventDefault();const Ct=Ie.relatedTarget,kt=this.menu&&this.menu.nativeElement;this.el.contains(Ct)||kt&&kt.contains(Ct)||this.delaySetMenuVisible(!1,this.nzMouseLeaveDelay)}onOptionMouseEnter(Ie,Ct,Nt){Nt.preventDefault(),"hover"===this.nzExpandTrigger&&(Ie.isLeaf?this.cascaderService.setOptionDeactivatedSinceColumn(Ct):this.delaySetOptionActivated(Ie,Ct,!1))}onOptionMouseLeave(Ie,Ct,Nt){Nt.preventDefault(),"hover"===this.nzExpandTrigger&&!Ie.isLeaf&&this.clearDelaySelectTimer()}onOptionClick(Ie,Ct,Nt){Nt&&Nt.preventDefault(),(!Ie||!Ie.disabled)&&(this.el.focus(),this.inSearchingMode?this.cascaderService.setSearchOptionSelected(Ie):this.cascaderService.setOptionActivated(Ie,Ct,!0))}onClickOutside(Ie){this.el.contains(Ie.target)||this.closeMenu()}isActionTrigger(Ie){return"string"==typeof this.nzTriggerAction?this.nzTriggerAction===Ie:-1!==this.nzTriggerAction.indexOf(Ie)}onEnter(){const Ie=Math.max(this.cascaderService.activatedOptions.length-1,0),Ct=this.cascaderService.activatedOptions[Ie];Ct&&!Ct.disabled&&(this.inSearchingMode?this.cascaderService.setSearchOptionSelected(Ct):this.cascaderService.setOptionActivated(Ct,Ie,!0))}moveUpOrDown(Ie){const Ct=Math.max(this.cascaderService.activatedOptions.length-1,0),Nt=this.cascaderService.activatedOptions[Ct],kt=this.cascaderService.columns[Ct]||[],St=kt.length;let qe=-1;for(qe=Nt?kt.indexOf(Nt):Ie?St:-1;qe=Ie?qe-1:qe+1,!(qe<0||qe>=St);){const Fe=kt[qe];if(Fe&&!Fe.disabled){this.cascaderService.setOptionActivated(Fe,Ct);break}}}moveLeft(){const Ie=this.cascaderService.activatedOptions;Ie.length&&Ie.pop()}moveRight(){const Ie=this.cascaderService.activatedOptions.length,Ct=this.cascaderService.columns[Ie];if(Ct&&Ct.length){const Nt=Ct.find(kt=>!kt.disabled);Nt&&this.cascaderService.setOptionActivated(Nt,Ie)}}clearDelaySelectTimer(){this.delaySelectTimer&&(clearTimeout(this.delaySelectTimer),this.delaySelectTimer=null)}delaySetOptionActivated(Ie,Ct,Nt){this.clearDelaySelectTimer(),this.delaySelectTimer=setTimeout(()=>{this.cascaderService.setOptionActivated(Ie,Ct,Nt),this.delaySelectTimer=null},150)}toggleSearchingMode(Ie){this.inSearchingMode!==Ie&&this.cascaderService.toggleSearchingMode(Ie),this.inSearchingMode&&this.cascaderService.prepareSearchOptions(this.inputValue)}isOptionActivated(Ie,Ct){return this.cascaderService.activatedOptions[Ct]===Ie}setDisabledState(Ie){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||Ie,this.isNzDisableFirstChange=!1,this.nzDisabled&&this.closeMenu()}closeMenu(){this.blur(),this.clearDelayMenuTimer(),this.setMenuVisible(!1)}reposition(){this.overlay&&this.overlay.overlayRef&&this.menuVisible&&Promise.resolve().then(()=>{this.overlay.overlayRef.updatePosition(),this.cdr.markForCheck()})}checkChildren(){this.cascaderItems&&this.cascaderItems.forEach(Ie=>Ie.markForCheck())}setDisplayLabel(){const Ie=this.cascaderService.selectedOptions,Ct=Ie.map(Nt=>this.cascaderService.getOptionLabel(Nt));this.isLabelRenderTemplate&&(this.labelRenderContext={labels:Ct,selectedOptions:Ie}),this.labelRenderText=en.call(this,Ct)}setDropdownStyles(){const Ie=this.cascaderService.columns[0];this.shouldShowEmpty=this.inSearchingMode&&(!Ie||!Ie.length)||!(this.nzOptions&&this.nzOptions.length)&&!this.nzLoadData,this.dropdownHeightStyle=this.shouldShowEmpty?"auto":"",this.input&&(this.dropdownWidthStyle=this.inSearchingMode||this.shouldShowEmpty?`${this.selectContainer.nativeElement.offsetWidth}px`:"")}setStatusStyles(Ie,Ct){this.status=Ie,this.hasFeedback=Ct,this.cdr.markForCheck(),this.statusCls=(0,A.Zu)(this.prefixCls,Ie,Ct),Object.keys(this.statusCls).forEach(Nt=>{this.statusCls[Nt]?this.renderer.addClass(this.elementRef.nativeElement,Nt):this.renderer.removeClass(this.elementRef.nativeElement,Nt)})}setLocale(){this.locale=this.i18nService.getLocaleData("global"),this.cdr.markForCheck()}scrollToActivatedOptions(){this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.cascaderItems.toArray().filter(Ie=>Ie.activated).forEach(Ie=>{Ie.nativeElement.scrollIntoView({block:"start",inline:"nearest"})})})})}setupChangeListener(){this.input$.pipe((0,b.w)(Ie=>Ie?new p.y(Ct=>this.ngZone.runOutsideAngular(()=>(0,v.R)(Ie.nativeElement,"change").subscribe(Ct))):_.E),(0,C.R)(this.destroy$)).subscribe(Ie=>Ie.stopPropagation())}setupKeydownListener(){this.ngZone.runOutsideAngular(()=>{(0,v.R)(this.el,"keydown").pipe((0,C.R)(this.destroy$)).subscribe(Ie=>{const Ct=Ie.keyCode;if(Ct===n.JH||Ct===n.LH||Ct===n.oh||Ct===n.SV||Ct===n.K5||Ct===n.ZH||Ct===n.hY){if(!this.menuVisible&&Ct!==n.ZH&&Ct!==n.hY)return this.ngZone.run(()=>this.setMenuVisible(!0));this.inSearchingMode&&(Ct===n.ZH||Ct===n.oh||Ct===n.SV)||this.menuVisible&&(Ie.preventDefault(),this.ngZone.run(()=>{Ct===n.JH?this.moveUpOrDown(!1):Ct===n.LH?this.moveUpOrDown(!0):Ct===n.oh?this.moveLeft():Ct===n.SV?this.moveRight():Ct===n.K5&&this.onEnter(),this.cdr.markForCheck()}))}})})}static#e=this.\u0275fac=function(Ct){return new(Ct||ft)(i.Y36(Wt),i.Y36(y.jY),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(ze.wi),i.Y36(S.kn),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Y.Is,8),i.Y36(G.P,9),i.Y36(V.kH,8),i.Y36(V.yW,8))};static#t=this.\u0275cmp=i.Xpm({type:ft,selectors:[["nz-cascader"],["","nz-cascader",""]],viewQuery:function(Ct,Nt){if(1&Ct&&(i.Gf(Se,5),i.Gf(Ne,5),i.Gf(ke,5),i.Gf(t.pI,5),i.Gf(Lt,5)),2&Ct){let kt;i.iGM(kt=i.CRH())&&(Nt.selectContainer=kt.first),i.iGM(kt=i.CRH())&&(Nt.input=kt.first),i.iGM(kt=i.CRH())&&(Nt.menu=kt.first),i.iGM(kt=i.CRH())&&(Nt.overlay=kt.first),i.iGM(kt=i.CRH())&&(Nt.cascaderItems=kt)}},hostVars:23,hostBindings:function(Ct,Nt){1&Ct&&i.NdJ("click",function(){return Nt.onTriggerClick()})("mouseenter",function(){return Nt.onTriggerMouseEnter()})("mouseleave",function(St){return Nt.onTriggerMouseLeave(St)}),2&Ct&&(i.uIk("tabIndex","0"),i.ekj("ant-select-in-form-item",!!Nt.nzFormStatusService)("ant-select-lg","large"===Nt.nzSize)("ant-select-sm","small"===Nt.nzSize)("ant-select-allow-clear",Nt.nzAllowClear)("ant-select-show-arrow",Nt.nzShowArrow)("ant-select-show-search",!!Nt.nzShowSearch)("ant-select-disabled",Nt.nzDisabled)("ant-select-open",Nt.menuVisible)("ant-select-focused",Nt.isFocused)("ant-select-single",!0)("ant-select-rtl","rtl"===Nt.dir))},inputs:{nzOptionRender:"nzOptionRender",nzShowInput:"nzShowInput",nzShowArrow:"nzShowArrow",nzAllowClear:"nzAllowClear",nzAutoFocus:"nzAutoFocus",nzChangeOnSelect:"nzChangeOnSelect",nzDisabled:"nzDisabled",nzColumnClassName:"nzColumnClassName",nzExpandTrigger:"nzExpandTrigger",nzValueProperty:"nzValueProperty",nzLabelRender:"nzLabelRender",nzLabelProperty:"nzLabelProperty",nzNotFoundContent:"nzNotFoundContent",nzSize:"nzSize",nzBackdrop:"nzBackdrop",nzShowSearch:"nzShowSearch",nzPlaceHolder:"nzPlaceHolder",nzMenuClassName:"nzMenuClassName",nzMenuStyle:"nzMenuStyle",nzMouseEnterDelay:"nzMouseEnterDelay",nzMouseLeaveDelay:"nzMouseLeaveDelay",nzStatus:"nzStatus",nzTriggerAction:"nzTriggerAction",nzChangeOn:"nzChangeOn",nzLoadData:"nzLoadData",nzSuffixIcon:"nzSuffixIcon",nzExpandIcon:"nzExpandIcon",nzOptions:"nzOptions"},outputs:{nzVisibleChange:"nzVisibleChange",nzSelectionChange:"nzSelectionChange",nzSelect:"nzSelect",nzClear:"nzClear"},exportAs:["nzCascader"],features:[i._Bn([{provide:l.JU,useExisting:(0,i.Gpc)(()=>ft),multi:!0},Wt,S.kn]),i.TTD],ngContentSelectors:Ae,decls:6,vars:6,consts:[["cdkOverlayOrigin",""],["origin","cdkOverlayOrigin","trigger",""],[4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayOpen","overlayOutsideClick","detach"],[1,"ant-select-selector"],["selectContainer",""],[1,"ant-select-selection-search"],["type","search",1,"ant-select-selection-search-input",3,"readonly","disabled","ngModel","ngModelChange","blur","focus"],["input",""],["class","ant-select-selection-item",3,"title",4,"ngIf"],["class","ant-select-selection-placeholder",3,"visibility",4,"ngIf"],["class","ant-select-arrow",3,"ant-select-arrow-loading",4,"ngIf"],["class","ant-select-clear",4,"ngIf"],[1,"ant-select-selection-item",3,"title"],[4,"ngIf","ngIfElse"],["labelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-select-selection-placeholder"],[1,"ant-select-arrow"],["nz-icon","",3,"nzType","ant-cascader-picker-arrow-expand",4,"ngIf"],["nz-icon","","nzType","loading",4,"ngIf"],[3,"status",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","loading"],[3,"status"],[1,"ant-select-clear"],["nz-icon","","nzType","close-circle","nzTheme","fill",3,"click"],[1,"ant-select-dropdown","ant-cascader-dropdown","ant-select-dropdown-placement-bottomLeft",3,"nzNoAnimation","mouseenter","mouseleave"],[1,"ant-cascader-menus",3,"ngClass","ngStyle"],["menu",""],["class","ant-cascader-menu",3,"width","height",4,"ngIf","ngIfElse"],["hasOptionsTemplate",""],[1,"ant-cascader-menu"],[1,"ant-cascader-menu-item","ant-cascader-menu-item-disabled"],[1,"ant-cascader-menu-item-content",3,"nzComponentName","specificContent"],["class","ant-cascader-menu","role","menuitemcheckbox",3,"ngClass","height","width",4,"ngFor","ngForOf"],["role","menuitemcheckbox",1,"ant-cascader-menu",3,"ngClass"],["nz-cascader-option","",3,"expandIcon","columnIndex","nzLabelProperty","optionTemplate","activated","highlightText","option","dir","mouseenter","mouseleave","click",4,"ngFor","ngForOf"],["nz-cascader-option","",3,"expandIcon","columnIndex","nzLabelProperty","optionTemplate","activated","highlightText","option","dir","mouseenter","mouseleave","click"]],template:function(Ct,Nt){if(1&Ct&&(i.F$t(),i.TgZ(0,"div",0,1),i.YNc(3,mt,10,12,"ng-container",2),i.Hsn(4),i.qZA(),i.YNc(5,Me,6,15,"ng-template",3),i.NdJ("overlayOutsideClick",function(St){return Nt.onClickOutside(St)})("detach",function(){return Nt.closeMenu()})),2&Ct){const kt=i.MAs(1);i.xp6(3),i.Q6J("ngIf",Nt.nzShowInput),i.xp6(2),i.Q6J("cdkConnectedOverlayHasBackdrop",Nt.nzBackdrop)("cdkConnectedOverlayOrigin",kt)("cdkConnectedOverlayPositions",Nt.positions)("cdkConnectedOverlayTransformOriginOn",".ant-cascader-dropdown")("cdkConnectedOverlayOpen",Nt.menuVisible)}},dependencies:[Y.Lv,k.mk,k.sg,k.O5,k.tP,k.PC,l.Fj,l.JJ,l.On,t.pI,t.xu,K.gB,W.Ls,G.P,P.hQ,V.w_,Lt],encapsulation:2,data:{animation:[D.mF]},changeDetection:0})}return(0,e.gn)([(0,A.yF)()],ft.prototype,"nzShowInput",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzShowArrow",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzAllowClear",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzChangeOnSelect",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzDisabled",void 0),(0,e.gn)([(0,y.oS)()],ft.prototype,"nzSize",void 0),(0,e.gn)([(0,y.oS)()],ft.prototype,"nzBackdrop",void 0),ft})(),cn=(()=>{class ft{static#e=this.\u0275fac=function(Ct){return new(Ct||ft)};static#t=this.\u0275mod=i.oAB({type:ft});static#n=this.\u0275inj=i.cJS({imports:[Y.vT,k.ez,l.u5,t.U8,R.T,K.Xo,j.C,W.PV,ee.o7,G.g,P.e4,V.mJ]})}return ft})()},28802:(tt,I,o)=>{"use strict";o.d(I,{D3:()=>h,y7:()=>u});var e=o(65879),n=o(42495),t=o(65592),i=o(78645);let l=(()=>{class z{create(p){return typeof ResizeObserver>"u"?null:new ResizeObserver(p)}static#e=this.\u0275fac=function(v){return new(v||z)};static#t=this.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),h=(()=>{class z{constructor(p){this.nzResizeObserverFactory=p,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((p,v)=>this.cleanupObserver(v))}observe(p){const v=(0,n.fI)(p);return new t.y(_=>{const m=this.observeElement(v).subscribe(_);return()=>{m.unsubscribe(),this.unobserveElement(v)}})}observeElement(p){if(this.observedElements.has(p))this.observedElements.get(p).count++;else{const v=new i.x,_=this.nzResizeObserverFactory.create(d=>v.next(d));_&&_.observe(p),this.observedElements.set(p,{observer:_,stream:v,count:1})}return this.observedElements.get(p).stream}unobserveElement(p){this.observedElements.has(p)&&(this.observedElements.get(p).count--,this.observedElements.get(p).count||this.cleanupObserver(p))}cleanupObserver(p){if(this.observedElements.has(p)){const{observer:v,stream:_}=this.observedElements.get(p);v&&v.disconnect(),_.complete(),this.observedElements.delete(p)}}static#e=this.\u0275fac=function(v){return new(v||z)(e.LFG(l))};static#t=this.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),u=(()=>{class z{static#e=this.\u0275fac=function(v){return new(v||z)};static#t=this.\u0275mod=e.oAB({type:z});static#n=this.\u0275inj=e.cJS({providers:[l]})}return z})()},62612:(tt,I,o)=>{"use strict";o.d(I,{EZ:()=>f,Ie:()=>C,Wr:()=>b,ub:()=>T});var e=o(97582),n=o(65879),t=o(60095),i=o(78645),l=o(92438),h=o(59773),E=o(27754),u=o(4300),z=o(49388),M=o(50883),p=o(96814);const v=["*"],_=["inputElement"],d=["nz-checkbox",""];function m(D,y){if(1&D){const P=n.EpF();n.TgZ(0,"label",1),n.NdJ("nzCheckedChange",function(A){const R=n.CHM(P).$implicit,W=n.oxw();return n.KtG(W.onCheckedChange(R,A))}),n.TgZ(1,"span"),n._uU(2),n.qZA()()}if(2&D){const P=y.$implicit,S=n.oxw();n.Q6J("nzDisabled",P.disabled||S.nzDisabled)("nzChecked",P.checked),n.xp6(2),n.Oqu(P.label)}}let f=(()=>{class D{constructor(){this.nzOnChange=new n.vpe,this.checkboxList=[]}addCheckbox(P){this.checkboxList.push(P)}removeCheckbox(P){this.checkboxList.splice(this.checkboxList.indexOf(P),1)}onChange(){const P=this.checkboxList.filter(S=>S.nzChecked).map(S=>S.nzValue);this.nzOnChange.emit(P)}static#e=this.\u0275fac=function(S){return new(S||D)};static#t=this.\u0275cmp=n.Xpm({type:D,selectors:[["nz-checkbox-wrapper"]],hostAttrs:[1,"ant-checkbox-group"],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:v,decls:1,vars:0,template:function(S,A){1&S&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return D})(),C=(()=>{class D{innerCheckedChange(P){this.nzDisabled||(this.nzChecked=P,this.onChange(this.nzChecked),this.nzCheckedChange.emit(this.nzChecked),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.onChange())}writeValue(P){this.nzChecked=P,this.cdr.markForCheck()}registerOnChange(P){this.onChange=P}registerOnTouched(P){this.onTouched=P}setDisabledState(P){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||P,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(P,S,A,k,R,W,j){this.ngZone=P,this.elementRef=S,this.nzCheckboxWrapperComponent=A,this.cdr=k,this.focusMonitor=R,this.directionality=W,this.nzFormStatusService=j,this.dir="ltr",this.destroy$=new i.x,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzCheckedChange=new n.vpe,this.nzValue=null,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzChecked=!1,this.nzId=null}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe((0,h.R)(this.destroy$)).subscribe(P=>{P||Promise.resolve().then(()=>this.onTouched())}),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.addCheckbox(this),this.directionality.change.pipe((0,h.R)(this.destroy$)).subscribe(P=>{this.dir=P,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,l.R)(this.elementRef.nativeElement,"click").pipe((0,h.R)(this.destroy$)).subscribe(P=>{P.preventDefault(),this.focus(),!this.nzDisabled&&this.ngZone.run(()=>{this.innerCheckedChange(!this.nzChecked),this.cdr.markForCheck()})}),(0,l.R)(this.inputElement.nativeElement,"click").pipe((0,h.R)(this.destroy$)).subscribe(P=>P.stopPropagation())})}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.removeCheckbox(this),this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(S){return new(S||D)(n.Y36(n.R0b),n.Y36(n.SBq),n.Y36(f,8),n.Y36(n.sBO),n.Y36(u.tE),n.Y36(z.Is,8),n.Y36(M.kH,8))};static#t=this.\u0275cmp=n.Xpm({type:D,selectors:[["","nz-checkbox",""]],viewQuery:function(S,A){if(1&S&&n.Gf(_,7),2&S){let k;n.iGM(k=n.CRH())&&(A.inputElement=k.first)}},hostAttrs:[1,"ant-checkbox-wrapper"],hostVars:6,hostBindings:function(S,A){2&S&&n.ekj("ant-checkbox-wrapper-in-form-item",!!A.nzFormStatusService)("ant-checkbox-wrapper-checked",A.nzChecked)("ant-checkbox-rtl","rtl"===A.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzChecked:"nzChecked",nzId:"nzId"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[n._Bn([{provide:t.JU,useExisting:(0,n.Gpc)(()=>D),multi:!0}])],attrs:d,ngContentSelectors:v,decls:6,vars:11,consts:[[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"checked","ngModel","disabled","ngModelChange"],["inputElement",""],[1,"ant-checkbox-inner"]],template:function(S,A){1&S&&(n.F$t(),n.TgZ(0,"span",0)(1,"input",1,2),n.NdJ("ngModelChange",function(R){return A.innerCheckedChange(R)}),n.qZA(),n._UZ(3,"span",3),n.qZA(),n.TgZ(4,"span"),n.Hsn(5),n.qZA()),2&S&&(n.ekj("ant-checkbox-checked",A.nzChecked&&!A.nzIndeterminate)("ant-checkbox-disabled",A.nzDisabled)("ant-checkbox-indeterminate",A.nzIndeterminate),n.xp6(1),n.Q6J("checked",A.nzChecked)("ngModel",A.nzChecked)("disabled",A.nzDisabled),n.uIk("autofocus",A.nzAutoFocus?"autofocus":null)("id",A.nzId))},dependencies:[t.Wl,t.JJ,t.On],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,E.yF)()],D.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,E.yF)()],D.prototype,"nzDisabled",void 0),(0,e.gn)([(0,E.yF)()],D.prototype,"nzIndeterminate",void 0),(0,e.gn)([(0,E.yF)()],D.prototype,"nzChecked",void 0),D})(),T=(()=>{class D{trackByOption(P,S){return S.value}onCheckedChange(P,S){P.checked=S,this.onChange(this.options)}constructor(P,S,A,k){this.elementRef=P,this.focusMonitor=S,this.cdr=A,this.directionality=k,this.onChange=()=>{},this.onTouched=()=>{},this.options=[],this.nzDisabled=!1,this.dir="ltr",this.destroy$=new i.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe((0,h.R)(this.destroy$)).subscribe(P=>{P||Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,h.R)(this.destroy$)).subscribe(P=>{this.dir=P,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}writeValue(P){this.options=P,this.cdr.markForCheck()}registerOnChange(P){this.onChange=P}registerOnTouched(P){this.onTouched=P}setDisabledState(P){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||P,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}static#e=this.\u0275fac=function(S){return new(S||D)(n.Y36(n.SBq),n.Y36(u.tE),n.Y36(n.sBO),n.Y36(z.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:D,selectors:[["nz-checkbox-group"]],hostAttrs:[1,"ant-checkbox-group"],hostVars:2,hostBindings:function(S,A){2&S&&n.ekj("ant-checkbox-group-rtl","rtl"===A.dir)},inputs:{nzDisabled:"nzDisabled"},exportAs:["nzCheckboxGroup"],features:[n._Bn([{provide:t.JU,useExisting:(0,n.Gpc)(()=>D),multi:!0}])],decls:1,vars:2,consts:[["nz-checkbox","","class","ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange",4,"ngFor","ngForOf","ngForTrackBy"],["nz-checkbox","",1,"ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange"]],template:function(S,A){1&S&&n.YNc(0,m,3,3,"label",0),2&S&&n.Q6J("ngForOf",A.options)("ngForTrackBy",A.trackByOption)},dependencies:[p.sg,C],encapsulation:2})}return(0,e.gn)([(0,E.yF)()],D.prototype,"nzDisabled",void 0),D})(),b=(()=>{class D{static#e=this.\u0275fac=function(S){return new(S||D)};static#t=this.\u0275mod=n.oAB({type:D});static#n=this.\u0275inj=n.cJS({imports:[z.vT,p.ez,t.u5,u.rt]})}return D})()},64194:(tt,I,o)=>{"use strict";o.d(I,{$C:()=>d,Ev:()=>m,J_:()=>i,MC:()=>h,Rq:()=>_,YK:()=>u,c8:()=>E,lx:()=>l,mF:()=>v});var e=o(86825);let n=(()=>{class C{static#e=this.SLOW="0.3s";static#t=this.BASE="0.2s";static#n=this.FAST="0.1s"}return C})(),t=(()=>{class C{static#e=this.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)";static#t=this.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)";static#n=this.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)";static#i=this.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)";static#o=this.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)";static#s=this.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)";static#r=this.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)";static#a=this.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)";static#l=this.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)";static#c=this.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)";static#d=this.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)";static#u=this.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)";static#h=this.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)";static#p=this.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"}return C})();const i=(0,e.X$)("collapseMotion",[(0,e.SB)("expanded",(0,e.oB)({height:"*"})),(0,e.SB)("collapsed",(0,e.oB)({height:0,overflow:"hidden"})),(0,e.SB)("hidden",(0,e.oB)({height:0,overflow:"hidden",borderTopWidth:"0"})),(0,e.eR)("expanded => collapsed",(0,e.jt)(`150ms ${t.EASE_IN_OUT}`)),(0,e.eR)("expanded => hidden",(0,e.jt)(`150ms ${t.EASE_IN_OUT}`)),(0,e.eR)("collapsed => expanded",(0,e.jt)(`150ms ${t.EASE_IN_OUT}`)),(0,e.eR)("hidden => expanded",(0,e.jt)(`150ms ${t.EASE_IN_OUT}`))]),l=(0,e.X$)("treeCollapseMotion",[(0,e.eR)("* => *",[(0,e.IO)("nz-tree-node:leave,nz-tree-builtin-node:leave",[(0,e.oB)({overflow:"hidden"}),(0,e.EY)(0,[(0,e.jt)(`150ms ${t.EASE_IN_OUT}`,(0,e.oB)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),(0,e.IO)("nz-tree-node:enter,nz-tree-builtin-node:enter",[(0,e.oB)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),(0,e.EY)(0,[(0,e.jt)(`150ms ${t.EASE_IN_OUT}`,(0,e.oB)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),h=(0,e.X$)("fadeMotion",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0}),(0,e.jt)(`${n.BASE}`,(0,e.oB)({opacity:1}))]),(0,e.eR)(":leave",[(0,e.oB)({opacity:1}),(0,e.jt)(`${n.BASE}`,(0,e.oB)({opacity:0}))])]),E=(0,e.X$)("helpMotion",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0,transform:"translateY(-5px)"}),(0,e.jt)(`${n.SLOW} ${t.EASE_IN_OUT}`,(0,e.oB)({opacity:1,transform:"translateY(0)"}))]),(0,e.eR)(":leave",[(0,e.oB)({opacity:1,transform:"translateY(0)"}),(0,e.jt)(`${n.SLOW} ${t.EASE_IN_OUT}`,(0,e.oB)({opacity:0,transform:"translateY(-5px)"}))])]),u=(0,e.X$)("moveUpMotion",[(0,e.eR)("* => enter",[(0,e.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),(0,e.jt)(`${n.BASE}`,(0,e.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),(0,e.eR)("* => leave",[(0,e.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),(0,e.jt)(`${n.BASE}`,(0,e.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),M=((0,e.X$)("notificationMotion",[(0,e.SB)("enterRight",(0,e.oB)({opacity:1,transform:"translateX(0)"})),(0,e.eR)("* => enterRight",[(0,e.oB)({opacity:0,transform:"translateX(5%)"}),(0,e.jt)("100ms linear")]),(0,e.SB)("enterLeft",(0,e.oB)({opacity:1,transform:"translateX(0)"})),(0,e.eR)("* => enterLeft",[(0,e.oB)({opacity:0,transform:"translateX(-5%)"}),(0,e.jt)("100ms linear")]),(0,e.SB)("enterTop",(0,e.oB)({opacity:1,transform:"translateY(0)"})),(0,e.eR)("* => enterTop",[(0,e.oB)({opacity:0,transform:"translateY(-5%)"}),(0,e.jt)("100ms linear")]),(0,e.SB)("enterBottom",(0,e.oB)({opacity:1,transform:"translateY(0)"})),(0,e.eR)("* => enterBottom",[(0,e.oB)({opacity:0,transform:"translateY(5%)"}),(0,e.jt)("100ms linear")]),(0,e.SB)("leave",(0,e.oB)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),(0,e.eR)("* => leave",[(0,e.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,e.jt)("100ms linear")])]),`${n.BASE} ${t.EASE_OUT_QUINT}`),p=`${n.BASE} ${t.EASE_IN_QUINT}`,v=(0,e.X$)("slideMotion",[(0,e.SB)("void",(0,e.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,e.SB)("enter",(0,e.oB)({opacity:1,transform:"scaleY(1)"})),(0,e.eR)("void => *",[(0,e.jt)(M)]),(0,e.eR)("* => void",[(0,e.jt)(p)])]),_=(0,e.X$)("slideAlertMotion",[(0,e.eR)(":leave",[(0,e.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,e.jt)(`${n.SLOW} ${t.EASE_IN_OUT_CIRC}`,(0,e.oB)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),d=(0,e.X$)("zoomBigMotion",[(0,e.eR)("void => active",[(0,e.oB)({opacity:0,transform:"scale(0.8)"}),(0,e.jt)(`${n.BASE} ${t.EASE_OUT_CIRC}`,(0,e.oB)({opacity:1,transform:"scale(1)"}))]),(0,e.eR)("active => void",[(0,e.oB)({opacity:1,transform:"scale(1)"}),(0,e.jt)(`${n.BASE} ${t.EASE_IN_OUT_CIRC}`,(0,e.oB)({opacity:0,transform:"scale(0.8)"}))])]),m=(0,e.X$)("zoomBadgeMotion",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),(0,e.jt)(`${n.SLOW} ${t.EASE_OUT_BACK}`,(0,e.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),(0,e.eR)(":leave",[(0,e.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),(0,e.jt)(`${n.SLOW} ${t.EASE_IN_BACK}`,(0,e.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);(0,e.X$)("thumbMotion",[(0,e.SB)("from",(0,e.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),(0,e.SB)("to",(0,e.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),(0,e.eR)("from => to",(0,e.jt)(`300ms ${t.EASE_IN_OUT}`))])},13324:(tt,I,o)=>{"use strict";o.d(I,{Bh:()=>t,M8:()=>h,R_:()=>y,o2:()=>l,uf:()=>i});var e=o(94265),n=o(36379);const t=["success","processing","error","default","warning"],i=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function l(P){return-1!==i.indexOf(P)}function h(P){return-1!==t.indexOf(P)}const E=2,u=.16,z=.05,M=.05,p=.15,v=5,_=4,d=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function m({r:P,g:S,b:A}){const k=(0,e.py)(P,S,A);return{h:360*k.h,s:k.s,v:k.v}}function f({r:P,g:S,b:A}){return`#${(0,e.vq)(P,S,A,!1)}`}function T(P,S,A){let k;return k=Math.round(P.h)>=60&&Math.round(P.h)<=240?A?Math.round(P.h)-E*S:Math.round(P.h)+E*S:A?Math.round(P.h)+E*S:Math.round(P.h)-E*S,k<0?k+=360:k>=360&&(k-=360),k}function b(P,S,A){if(0===P.h&&0===P.s)return P.s;let k;return k=A?P.s-u*S:S===_?P.s+u:P.s+z*S,k>1&&(k=1),A&&S===v&&k>.1&&(k=.1),k<.06&&(k=.06),Number(k.toFixed(2))}function D(P,S,A){let k;return k=A?P.v+M*S:P.v-p*S,k>1&&(k=1),Number(k.toFixed(2))}function y(P,S={}){const A=[],k=(0,n.uA)(P);for(let R=v;R>0;R-=1){const W=m(k),j=f((0,n.uA)({h:T(W,R,!0),s:b(W,R,!0),v:D(W,R,!0)}));A.push(j)}A.push(f(k));for(let R=1;R<=_;R+=1){const W=m(k),j=f((0,n.uA)({h:T(W,R),s:b(W,R),v:D(W,R)}));A.push(j)}return"dark"===S.theme?d.map(({index:R,opacity:W})=>f(function C(P,S,A){const k=A/100;return{r:(S.r-P.r)*k+P.r,g:(S.g-P.g)*k+P.g,b:(S.b-P.b)*k+P.b}}((0,n.uA)(S.backgroundColor||"#141414"),(0,n.uA)(A[R]),100*W))):A}},83064:(tt,I,o)=>{"use strict";o.d(I,{jY:()=>f,oS:()=>C,zR:()=>M});var e=o(65879),n=o(78645),t=o(32181),i=o(21441),l=o(30889),h=o(13324),E=o(1608),u=o(27754);const z=new e.OlP("nz-config");function M(T){return(0,e.MR2)([{provide:z,useValue:T}])}const p=`-ant-${Date.now()}-${Math.random()}`;function _(T,b,D){const y=function v(T,b){const D={},y=(A,k)=>{let R=A.clone();return R=k?.(R)||R,R.toRgbString()},P=(A,k)=>{const R=new l.C(A),W=(0,h.R_)(R.toRgbString());D[`${k}-color`]=y(R),D[`${k}-color-disabled`]=W[1],D[`${k}-color-hover`]=W[4],D[`${k}-color-active`]=W[7],D[`${k}-color-outline`]=R.clone().setAlpha(.2).toRgbString(),D[`${k}-color-deprecated-bg`]=W[1],D[`${k}-color-deprecated-border`]=W[3]};if(b.primaryColor){P(b.primaryColor,"primary");const A=new l.C(b.primaryColor),k=(0,h.R_)(A.toRgbString());k.forEach((W,j)=>{D[`primary-${j+1}`]=W}),D["primary-color-deprecated-l-35"]=y(A,W=>W.lighten(35)),D["primary-color-deprecated-l-20"]=y(A,W=>W.lighten(20)),D["primary-color-deprecated-t-20"]=y(A,W=>W.tint(20)),D["primary-color-deprecated-t-50"]=y(A,W=>W.tint(50)),D["primary-color-deprecated-f-12"]=y(A,W=>W.setAlpha(.12*W.getAlpha()));const R=new l.C(k[0]);D["primary-color-active-deprecated-f-30"]=y(R,W=>W.setAlpha(.3*W.getAlpha())),D["primary-color-active-deprecated-d-02"]=y(R,W=>W.darken(2))}return b.successColor&&P(b.successColor,"success"),b.warningColor&&P(b.warningColor,"warning"),b.errorColor&&P(b.errorColor,"error"),b.infoColor&&P(b.infoColor,"info"),`\n :root {\n ${Object.keys(D).map(A=>`--${T}-${A}: ${D[A]};`).join("\n")}\n }\n `.trim()}(T,b);(0,u.J8)()?(0,u.hq)(y,`${p}-dynamic-theme`,{cspNonce:D}):(0,E.ZK)("NzConfigService: SSR do not support dynamic theme with css variables.")}const d=function(T){return void 0!==T};let f=(()=>{class T{constructor(D,y){this.configUpdated$=new n.x,this.config=D||{},this.cspNonce=y,this.config.theme&&_(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,y)}getConfig(){return this.config}getConfigForComponent(D){return this.config[D]}getConfigChangeEventForComponent(D){return this.configUpdated$.pipe((0,t.h)(y=>y===D),(0,i.h)(void 0))}set(D,y){this.config[D]={...this.config[D],...y},"theme"===D&&this.config.theme&&_(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,this.cspNonce),this.configUpdated$.next(D)}static#e=this.\u0275fac=function(y){return new(y||T)(e.LFG(z,8),e.LFG(e.Ojb,8))};static#t=this.\u0275prov=e.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();function C(){return function(b,D,y){const P=`$$__zorroConfigDecorator__${D}`;return Object.defineProperty(b,P,{configurable:!0,writable:!0,enumerable:!1}),{get(){const S=y?.get?y.get.bind(this)():this[P],A=(this.propertyAssignCounter?.[D]||0)>1,k=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[D];return A&&d(S)?S:d(k)?k:S},set(S){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[D]=(this.propertyAssignCounter[D]||0)+1,y?.set?y.set.bind(this)(S):this[P]=S},configurable:!0,enumerable:!0}}}},71740:(tt,I,o)=>{"use strict";o.d(I,{N:()=>e});const e={isTestMode:!1}},50883:(tt,I,o)=>{"use strict";o.d(I,{kH:()=>E,mJ:()=>p,w_:()=>M,yW:()=>u});var e=o(65879),n=o(97328),t=o(65619),i=o(96814),l=o(90551);function h(v,_){if(1&v&&e._UZ(0,"span",1),2&v){const d=e.oxw();e.Q6J("nzType",d.iconType)}}let E=(()=>{class v{constructor(){this.formStatusChanges=new n.t(1)}static#e=this.\u0275fac=function(m){return new(m||v)};static#t=this.\u0275prov=e.Yz7({token:v,factory:v.\u0275fac})}return v})(),u=(()=>{class v{constructor(){this.noFormStatus=new t.X(!1)}static#e=this.\u0275fac=function(m){return new(m||v)};static#t=this.\u0275prov=e.Yz7({token:v,factory:v.\u0275fac})}return v})();const z={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let M=(()=>{class v{constructor(d){this.cdr=d,this.status="",this.iconType=null}ngOnChanges(d){this.updateIcon()}updateIcon(){this.iconType=this.status?z[this.status]:null,this.cdr.markForCheck()}static#e=this.\u0275fac=function(m){return new(m||v)(e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:v,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(m,f){2&m&&e.ekj("ant-form-item-feedback-icon-error","error"===f.status)("ant-form-item-feedback-icon-warning","warning"===f.status)("ant-form-item-feedback-icon-success","success"===f.status)("ant-form-item-feedback-icon-validating","validating"===f.status)},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[e.TTD],decls:1,vars:1,consts:[["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(m,f){1&m&&e.YNc(0,h,1,1,"span",0),2&m&&e.Q6J("ngIf",f.iconType)},dependencies:[i.O5,l.Ls],encapsulation:2,changeDetection:0})}return v})(),p=(()=>{class v{static#e=this.\u0275fac=function(m){return new(m||v)};static#t=this.\u0275mod=e.oAB({type:v});static#n=this.\u0275inj=e.cJS({imports:[i.ez,l.PV]})}return v})()},84267:(tt,I,o)=>{"use strict";o.d(I,{C:()=>E,U:()=>h});var e=o(65879),n=o(96814);const t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/([^\#-~ |!])/g;let h=(()=>{class u{constructor(){this.UNIQUE_WRAPPERS=["##==-open_tag-==##","##==-close_tag-==##"]}transform(M,p,v,_){if(!p)return M;const d=new RegExp(p.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&"),v);return function l(u){return u.replace(/&/g,"&").replace(t,z=>`&#${1024*(z.charCodeAt(0)-55296)+(z.charCodeAt(1)-56320)+65536};`).replace(i,z=>`&#${z.charCodeAt(0)};`).replace(//g,">")}(M.replace(d,`${this.UNIQUE_WRAPPERS[0]}$&${this.UNIQUE_WRAPPERS[1]}`)).replace(new RegExp(this.UNIQUE_WRAPPERS[0],"g"),_?``:"").replace(new RegExp(this.UNIQUE_WRAPPERS[1],"g"),"")}static#e=this.\u0275fac=function(p){return new(p||u)};static#t=this.\u0275pipe=e.Yjl({name:"nzHighlight",type:u,pure:!0})}return u})(),E=(()=>{class u{static#e=this.\u0275fac=function(p){return new(p||u)};static#t=this.\u0275mod=e.oAB({type:u});static#n=this.\u0275inj=e.cJS({imports:[n.ez]})}return u})()},1608:(tt,I,o)=>{"use strict";o.d(I,{Bq:()=>i,ZK:()=>E});var e=o(65879),n=o(71740);const t={},i="[NG-ZORRO]:";const E=(...M)=>function h(M,...p){(n.N.isTestMode||(0,e.X6Q)()&&function l(...M){const p=M.reduce((v,_)=>v+_.toString(),"");return!t[p]&&(t[p]=!0,!0)}(...p))&&M(...p)}((...p)=>console.warn(i,...p),...M)},331:(tt,I,o)=>{"use strict";o.d(I,{P:()=>E,g:()=>u});var e=o(96814),n=o(65879),t=o(97582),i=o(42495),l=o(27754);const h="nz-animate-disabled";let E=(()=>{class z{constructor(p,v,_){this.element=p,this.renderer=v,this.animationType=_,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const p=(0,i.fI)(this.element);p&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(p,h):this.renderer.removeClass(p,h))}static#e=this.\u0275fac=function(v){return new(v||z)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.QbO,8))};static#t=this.\u0275dir=n.lG2({type:z,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[n.TTD]})}return(0,t.gn)([(0,l.yF)()],z.prototype,"nzNoAnimation",void 0),z})(),u=(()=>{class z{static#e=this.\u0275fac=function(v){return new(v||z)};static#t=this.\u0275mod=n.oAB({type:z});static#n=this.\u0275inj=n.cJS({imports:[e.ez]})}return z})()},8324:(tt,I,o)=>{"use strict";o.d(I,{T:()=>l,f:()=>t});var e=o(96814),n=o(65879);let t=(()=>{class h{static ngTemplateContextGuard(u,z){return!0}recreateView(){this.viewContainer.clear();const u=this.nzStringTemplateOutlet instanceof n.Rgc;this.embeddedViewRef=this.viewContainer.createEmbeddedView(u?this.nzStringTemplateOutlet:this.templateRef,u?this.nzStringTemplateOutletContext:this.context)}updateContext(){const z=this.nzStringTemplateOutlet instanceof n.Rgc?this.nzStringTemplateOutletContext:this.context,M=this.embeddedViewRef.context;if(z)for(const p of Object.keys(z))M[p]=z[p]}constructor(u,z){this.viewContainer=u,this.templateRef=z,this.embeddedViewRef=null,this.context=new i,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}ngOnChanges(u){const{nzStringTemplateOutletContext:z,nzStringTemplateOutlet:M}=u;M&&(this.context.$implicit=M.currentValue),(()=>{let _=!1;return M&&(_=!!M.firstChange||(M.previousValue instanceof n.Rgc||M.currentValue instanceof n.Rgc)),z&&(f=>{const C=Object.keys(f.previousValue||{}),T=Object.keys(f.currentValue||{});if(C.length===T.length){for(const b of T)if(-1===C.indexOf(b))return!0;return!1}return!0})(z)||_})()?this.recreateView():this.updateContext()}static#e=this.\u0275fac=function(z){return new(z||h)(n.Y36(n.s_b),n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:h,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[n.TTD]})}return h})();class i{}let l=(()=>{class h{static#e=this.\u0275fac=function(z){return new(z||h)};static#t=this.\u0275mod=n.oAB({type:h});static#n=this.\u0275inj=n.cJS({imports:[e.ez]})}return h})()},85448:(tt,I,o)=>{"use strict";o.d(I,{A7:()=>M,Ek:()=>u,bw:()=>d,d_:()=>v,dz:()=>_,e4:()=>f,fG:()=>p,hQ:()=>m,n$:()=>z,yW:()=>E});var e=o(97582),n=o(33651),t=o(65879),i=o(59773),l=o(99087),h=o(27754);const E={top:new n.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new n.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new n.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new n.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new n.tR({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new n.tR({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new n.tR({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new n.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new n.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new n.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new n.tR({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new n.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new n.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},u=[E.top,E.right,E.bottom,E.left],z=[E.bottomLeft,E.bottomRight,E.topLeft,E.topRight,E.topCenter,E.bottomCenter],M=[new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new n.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],p=[E.bottomLeft,new n.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function v(C){for(const T in E)if(C.connectionPair.originX===E[T].originX&&C.connectionPair.originY===E[T].originY&&C.connectionPair.overlayX===E[T].overlayX&&C.connectionPair.overlayY===E[T].overlayY)return T}const _={bottomLeft:new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new n.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new n.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new n.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)},d=[_.bottomLeft,_.topLeft,_.bottomRight,_.topRight];let m=(()=>{class C{constructor(b,D){this.cdkConnectedOverlay=b,this.nzDestroyService=D,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe((0,i.R)(this.nzDestroyService)).subscribe(y=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(y)})}updateArrowPosition(b){const D=this.getOriginRect(),y=v(b);let P=0,S=0;"topLeft"===y||"bottomLeft"===y?P=D.width/2-14:"topRight"===y||"bottomRight"===y?P=-(D.width/2-14):"leftTop"===y||"rightTop"===y?S=D.height/2-10:("leftBottom"===y||"rightBottom"===y)&&(S=-(D.height/2-10)),(this.cdkConnectedOverlay.offsetX!==P||this.cdkConnectedOverlay.offsetY!==S)&&(this.cdkConnectedOverlay.offsetY=S,this.cdkConnectedOverlay.offsetX=P,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof n.xu?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const b=this.getFlexibleConnectedPositionStrategyOrigin();if(b instanceof t.SBq)return b.nativeElement.getBoundingClientRect();if(b instanceof Element)return b.getBoundingClientRect();const D=b.width||0,y=b.height||0;return{top:b.y,bottom:b.y+y,left:b.x,right:b.x+D,height:y,width:D}}static#e=this.\u0275fac=function(D){return new(D||C)(t.Y36(n.pI),t.Y36(l.kn))};static#t=this.\u0275dir=t.lG2({type:C,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:"nzArrowPointAtCenter"},exportAs:["nzConnectedOverlay"],features:[t._Bn([l.kn])]})}return(0,e.gn)([(0,h.yF)()],C.prototype,"nzArrowPointAtCenter",void 0),C})(),f=(()=>{class C{static#e=this.\u0275fac=function(D){return new(D||C)};static#t=this.\u0275mod=t.oAB({type:C});static#n=this.\u0275inj=t.cJS({})}return C})()},56879:(tt,I,o)=>{"use strict";o.d(I,{e:()=>l,h:()=>i});const e=["moz","ms","webkit"];function i(h){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(h);const E=e.filter(u=>`${u}CancelAnimationFrame`in window||`${u}CancelRequestAnimationFrame`in window)[0];return E?(window[`${E}CancelAnimationFrame`]||window[`${E}CancelRequestAnimationFrame`]).call(this,h):clearTimeout(h)}const l=function t(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const h=e.filter(E=>`${E}RequestAnimationFrame`in window)[0];return h?window[`${h}RequestAnimationFrame`]:function n(){let h=0;return function(E){const u=(new Date).getTime(),z=Math.max(0,16-(u-h)),M=setTimeout(()=>{E(u+z)},z);return h=u+z,M}}()}()},99087:(tt,I,o)=>{"use strict";o.d(I,{G_:()=>S,KV:()=>T,MF:()=>P,Ml:()=>D,WV:()=>A,kn:()=>W,r3:()=>R,rI:()=>f});var e=o(65879),n=o(78645),t=o(29028),i=o(64716),l=o(37398),h=o(32181),E=o(59773),u=o(27921),z=o(93997),M=o(71740),p=o(27754),v=o(96814),_=o(56879),d=o(71088);const m=()=>{};let f=(()=>{class ze{constructor(G,V){this.ngZone=G,this.rendererFactory2=V,this.resizeSource$=new n.x,this.listeners=0,this.disposeHandle=m,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=m}subscribe(){return this.registerListener(),this.resizeSource$.pipe((0,t.e)(16),(0,i.x)(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=m)}static#e=this.\u0275fac=function(V){return new(V||ze)(e.LFG(e.R0b),e.LFG(e.FYo))};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();const C=new Map;let T=(()=>{class ze{constructor(){this._singletonRegistry=new Map}get singletonRegistry(){return M.N.isTestMode?C:this._singletonRegistry}registerSingletonWithKey(G,V){const K=this.singletonRegistry.has(G),ee=K?this.singletonRegistry.get(G):this.withNewTarget(V);K||this.singletonRegistry.set(G,ee)}unregisterSingletonWithKey(G){this.singletonRegistry.has(G)&&this.singletonRegistry.delete(G)}getSingletonWithKey(G){return this.singletonRegistry.has(G)?this.singletonRegistry.get(G).target:null}withNewTarget(G){return{target:G}}static#e=this.\u0275fac=function(V){return new(V||ze)};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),D=(()=>{class ze{constructor(G){this.draggingThreshold=5,this.currentDraggingSequence=null,this.currentStartingPoint=null,this.handleRegistry=new Set,this.renderer=G.createRenderer(null,null)}requestDraggingSequence(G){return this.handleRegistry.size||this.registerDraggingHandler((0,p.z6)(G)),this.currentDraggingSequence&&this.currentDraggingSequence.complete(),this.currentStartingPoint=function b(ze){const Y=(0,p.wv)(ze);return{x:Y.pageX,y:Y.pageY}}(G),this.currentDraggingSequence=new n.x,this.currentDraggingSequence.pipe((0,l.U)(V=>({x:V.pageX-this.currentStartingPoint.x,y:V.pageY-this.currentStartingPoint.y})),(0,h.h)(V=>Math.abs(V.x)>this.draggingThreshold||Math.abs(V.y)>this.draggingThreshold),(0,i.x)(()=>this.teardownDraggingSequence()))}registerDraggingHandler(G){G?(this.handleRegistry.add({teardown:this.renderer.listen("document","touchmove",V=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(V.touches[0]||V.changedTouches[0])})}),this.handleRegistry.add({teardown:this.renderer.listen("document","touchend",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})})):(this.handleRegistry.add({teardown:this.renderer.listen("document","mousemove",V=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(V)})}),this.handleRegistry.add({teardown:this.renderer.listen("document","mouseup",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})}))}teardownDraggingSequence(){this.currentDraggingSequence=null}static#e=this.\u0275fac=function(V){return new(V||ze)(e.LFG(e.FYo))};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();function y(ze,Y,G,V){const K=G-Y;let ee=ze/(V/2);return ee<1?K/2*ee*ee*ee+Y:K/2*((ee-=2)*ee*ee+2)+Y}let P=(()=>{class ze{constructor(G,V){this.ngZone=G,this.doc=V}setScrollTop(G,V=0){G===window?(this.doc.body.scrollTop=V,this.doc.documentElement.scrollTop=V):G.scrollTop=V}getOffset(G){const V={top:0,left:0};if(!G||!G.getClientRects().length)return V;const K=G.getBoundingClientRect();if(K.width||K.height){const ee=G.ownerDocument.documentElement;V.top=K.top-ee.clientTop,V.left=K.left-ee.clientLeft}else V.top=K.top,V.left=K.left;return V}getScroll(G,V=!0){if(typeof window>"u")return 0;const K=V?"scrollTop":"scrollLeft";let ee=0;return this.isWindow(G)?ee=G[V?"pageYOffset":"pageXOffset"]:G instanceof Document?ee=G.documentElement[K]:G&&(ee=G[K]),G&&!this.isWindow(G)&&"number"!=typeof ee&&(ee=(G.ownerDocument||G).documentElement[K]),ee}isWindow(G){return null!=G&&G===G.window}scrollTo(G,V=0,K={}){const ee=G||window,te=this.getScroll(ee),pe=Date.now(),{easing:re,callback:De,duration:ae=450}=K,ce=()=>{const ne=Date.now()-pe,le=(re||y)(ne>ae?ae:ne,te,V,ae);this.isWindow(ee)?ee.scrollTo(window.pageXOffset,le):ee instanceof HTMLDocument||"HTMLDocument"===ee.constructor.name?ee.documentElement.scrollTop=le:ee.scrollTop=le,ne(0,_.e)(ce))}static#e=this.\u0275fac=function(V){return new(V||ze)(e.LFG(e.R0b),e.LFG(v.K0))};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();var S=function(ze){return ze.xxl="xxl",ze.xl="xl",ze.lg="lg",ze.md="md",ze.sm="sm",ze.xs="xs",ze}(S||{});const A={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};let R=(()=>{class ze{constructor(G,V){this.resizeService=G,this.mediaMatcher=V,this.destroy$=new n.x,this.resizeService.subscribe().pipe((0,E.R)(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(G,V){if(V){const K=()=>this.matchMedia(G,!0);return this.resizeService.subscribe().pipe((0,l.U)(K),(0,u.O)(K()),(0,z.x)((ee,te)=>ee[0]===te[0]),(0,l.U)(ee=>ee[1]))}{const K=()=>this.matchMedia(G);return this.resizeService.subscribe().pipe((0,l.U)(K),(0,u.O)(K()),(0,z.x)())}}matchMedia(G,V){let K=S.md;const ee={};return Object.keys(G).map(te=>{const pe=te,re=this.mediaMatcher.matchMedia(A[pe]).matches;ee[te]=re,re&&(K=pe)}),V?[K,ee]:K}static#e=this.\u0275fac=function(V){return new(V||ze)(e.LFG(f),e.LFG(d.vx))};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),W=(()=>{class ze extends n.x{ngOnDestroy(){this.next(),this.complete()}static#e=this.\u0275fac=function(){let G;return function(K){return(G||(G=e.n5z(ze)))(K||ze)}}();static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac})}return ze})()},3945:(tt,I,o)=>{"use strict";o.d(I,{Yp:()=>le,ky:()=>ne,_p:()=>X,Et:()=>ce,xR:()=>Ne});var e=o(97753),n=o(47680),t=o(96156),i=o(40581),l=o(62816),E=o(22040);var M=o(21083),p=o(68584),v=o(5227);function d(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,i.Z)(oe);return _e.getFullYear()===Q.getFullYear()}function m(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,i.Z)(oe);return _e.getFullYear()===Q.getFullYear()&&_e.getMonth()===Q.getMonth()}var f=o(79189);function C(ke,oe){(0,l.Z)(2,arguments);var _e=(0,f.Z)(ke),Q=(0,f.Z)(oe);return _e.getTime()===Q.getTime()}function T(ke){(0,l.Z)(1,arguments);var oe=(0,i.Z)(ke);return oe.setMinutes(0,0,0),oe}function b(ke,oe){(0,l.Z)(2,arguments);var _e=T(ke),Q=T(oe);return _e.getTime()===Q.getTime()}function D(ke){(0,l.Z)(1,arguments);var oe=(0,i.Z)(ke);return oe.setSeconds(0,0),oe}function y(ke,oe){(0,l.Z)(2,arguments);var _e=D(ke),Q=D(oe);return _e.getTime()===Q.getTime()}function P(ke){(0,l.Z)(1,arguments);var oe=(0,i.Z)(ke);return oe.setMilliseconds(0),oe}function S(ke,oe){(0,l.Z)(2,arguments);var _e=P(ke),Q=P(oe);return _e.getTime()===Q.getTime()}function A(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,i.Z)(oe);return _e.getFullYear()-Q.getFullYear()}var k=o(80275),R=o(61855),W=o(33865),j=o(96086),ze=o(588);function Y(ke,oe,_e){(0,l.Z)(2,arguments);var Q=(0,j.Z)(ke,oe)/W.vh;return(0,ze.u)(_e?.roundingMethod)(Q)}function G(ke,oe,_e){(0,l.Z)(2,arguments);var Q=(0,j.Z)(ke,oe)/W.yJ;return(0,ze.u)(_e?.roundingMethod)(Q)}var V=o(13061),ee=o(34338),pe=o(80787),re=o(1608),De=o(96814),ae=o(27754);function ce(ke){const[oe,_e]=ke;return!!oe&&!!_e&&_e.isBeforeDay(oe)}function X(ke,oe,_e="month",Q="left"){const[He,Re]=ke;let lt=He||new le,Pe=Re||(oe?lt:lt.add(1,_e));return He&&!Re?(lt=He,Pe=oe?He:He.add(1,_e)):!He&&Re?(lt=oe?Re:Re.add(-1,_e),Pe=Re):He&&Re&&!oe&&(He.isSame(Re,_e)||"left"===Q?Pe=lt.add(1,_e):lt=Pe.add(-1,_e)),[lt,Pe]}function ne(ke){return Array.isArray(ke)?ke.map(oe=>oe instanceof le?oe.clone():null):ke instanceof le?ke.clone():null}class le{constructor(oe){if(oe)if(oe instanceof Date)this.nativeDate=oe;else{if("string"!=typeof oe&&"number"!=typeof oe)throw new Error('The input date type is not supported ("Date" is now recommended)');(0,re.ZK)('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(oe)}else this.nativeDate=new Date}calendarStart(oe){return new le((0,e.Z)((0,n.Z)(this.nativeDate),oe))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new le(new Date(this.nativeDate))}setHms(oe,_e,Q){const He=new Date(this.nativeDate.setHours(oe,_e,Q));return new le(He)}setYear(oe){return new le(function h(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,t.Z)(oe);return isNaN(_e.getTime())?new Date(NaN):(_e.setFullYear(Q),_e)}(this.nativeDate,oe))}addYears(oe){return new le((0,E.Z)(this.nativeDate,oe))}setMonth(oe){return new le(function z(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,t.Z)(oe),He=_e.getFullYear(),Re=_e.getDate(),lt=new Date(0);lt.setFullYear(He,Q,15),lt.setHours(0,0,0,0);var Pe=function u(ke){(0,l.Z)(1,arguments);var oe=(0,i.Z)(ke),_e=oe.getFullYear(),Q=oe.getMonth(),He=new Date(0);return He.setFullYear(_e,Q+1,0),He.setHours(0,0,0,0),He.getDate()}(lt);return _e.setMonth(Q,Math.min(Re,Pe)),_e}(this.nativeDate,oe))}addMonths(oe){return new le((0,M.Z)(this.nativeDate,oe))}setDay(oe,_e){return new le(function _(ke,oe,_e){var Q,He,Re,lt,Pe,xt,$e,ot;(0,l.Z)(2,arguments);var mt=(0,v.j)(),we=(0,t.Z)(null!==(Q=null!==(He=null!==(Re=null!==(lt=_e?.weekStartsOn)&&void 0!==lt?lt:null==_e||null===(Pe=_e.locale)||void 0===Pe||null===(xt=Pe.options)||void 0===xt?void 0:xt.weekStartsOn)&&void 0!==Re?Re:mt.weekStartsOn)&&void 0!==He?He:null===($e=mt.locale)||void 0===$e||null===(ot=$e.options)||void 0===ot?void 0:ot.weekStartsOn)&&void 0!==Q?Q:0);if(!(we>=0&&we<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var de=(0,i.Z)(ke),U=(0,t.Z)(oe),B=de.getDay(),Le=7-we;return(0,p.Z)(de,U<0||U>6?U-(B+Le)%7:((U%7+7)%7+Le)%7-(B+Le)%7)}(this.nativeDate,oe,_e))}setDate(oe){const _e=new Date(this.nativeDate);return _e.setDate(oe),new le(_e)}addDays(oe){return this.setDate(this.getDate()+oe)}add(oe,_e){switch(_e){case"decade":return this.addYears(10*oe);case"year":return this.addYears(oe);default:return this.addMonths(oe)}}isSame(oe,_e="day"){let Q;switch(_e){case"decade":Q=(He,Re)=>Math.abs(He.getFullYear()-Re.getFullYear())<11;break;case"year":Q=d;break;case"month":Q=m;break;case"day":default:Q=C;break;case"hour":Q=b;break;case"minute":Q=y;break;case"second":Q=S}return Q(this.nativeDate,this.toNativeDate(oe))}isSameYear(oe){return this.isSame(oe,"year")}isSameMonth(oe){return this.isSame(oe,"month")}isSameDay(oe){return this.isSame(oe,"day")}isSameHour(oe){return this.isSame(oe,"hour")}isSameMinute(oe){return this.isSame(oe,"minute")}isSameSecond(oe){return this.isSame(oe,"second")}isBefore(oe,_e="day"){if(null===oe)return!1;let Q;switch(_e){case"year":Q=A;break;case"month":Q=k.Z;break;case"day":default:Q=R.Z;break;case"hour":Q=Y;break;case"minute":Q=G;break;case"second":Q=V.Z}return Q(this.nativeDate,this.toNativeDate(oe))<0}isBeforeYear(oe){return this.isBefore(oe,"year")}isBeforeMonth(oe){return this.isBefore(oe,"month")}isBeforeDay(oe){return this.isBefore(oe,"day")}isToday(){return function K(ke){return(0,l.Z)(1,arguments),C(ke,Date.now())}(this.nativeDate)}isValid(){return(0,ee.Z)(this.nativeDate)}isFirstDayOfMonth(){return function te(ke){return(0,l.Z)(1,arguments),1===(0,i.Z)(ke).getDate()}(this.nativeDate)}isLastDayOfMonth(){return(0,pe.Z)(this.nativeDate)}toNativeDate(oe){return oe instanceof le?oe.nativeDate:oe}}class Ne{constructor(oe,_e){this.format=oe,this.localeId=_e,this.regex=null,this.matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null},this.genRegexp()}toDate(oe){const _e=this.getTimeResult(oe),Q=new Date;return(0,ae.DX)(_e?.hour)&&Q.setHours(_e.hour),(0,ae.DX)(_e?.minute)&&Q.setMinutes(_e.minute),(0,ae.DX)(_e?.second)&&Q.setSeconds(_e.second),1===_e?.period&&Q.getHours()<12&&Q.setHours(Q.getHours()+12),Q}getTimeResult(oe){const _e=this.regex.exec(oe);let Q=null;return _e?((0,ae.DX)(this.matchMap.periodNarrow)&&(Q=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Narrow).indexOf(_e[this.matchMap.periodNarrow+1])),(0,ae.DX)(this.matchMap.periodWide)&&(Q=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Wide).indexOf(_e[this.matchMap.periodWide+1])),(0,ae.DX)(this.matchMap.periodAbbreviated)&&(Q=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Abbreviated).indexOf(_e[this.matchMap.periodAbbreviated+1])),{hour:(0,ae.DX)(this.matchMap.hour)?Number.parseInt(_e[this.matchMap.hour+1],10):null,minute:(0,ae.DX)(this.matchMap.minute)?Number.parseInt(_e[this.matchMap.minute+1],10):null,second:(0,ae.DX)(this.matchMap.second)?Number.parseInt(_e[this.matchMap.second+1],10):null,period:Q}):null}genRegexp(){let oe=this.format.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&");const _e=/h{1,2}/i,Q=/m{1,2}/,He=/s{1,2}/,Re=/aaaaa/,lt=/aaaa/,Pe=/a{1,3}/,xt=_e.exec(this.format),$e=Q.exec(this.format),ot=He.exec(this.format),mt=Re.exec(this.format);let we=null,de=null;mt||(we=lt.exec(this.format)),!we&&!mt&&(de=Pe.exec(this.format)),[xt,$e,ot,mt,we,de].filter(B=>!!B).sort((B,Me)=>B.index-Me.index).forEach((B,Me)=>{switch(B){case xt:this.matchMap.hour=Me,oe=oe.replace(_e,"(\\d{1,2})");break;case $e:this.matchMap.minute=Me,oe=oe.replace(Q,"(\\d{1,2})");break;case ot:this.matchMap.second=Me,oe=oe.replace(He,"(\\d{1,2})");break;case mt:this.matchMap.periodNarrow=Me;const Ae=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Narrow).join("|");oe=oe.replace(Re,`(${Ae})`);break;case we:this.matchMap.periodWide=Me;const Le=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Wide).join("|");oe=oe.replace(lt,`(${Le})`);break;case de:this.matchMap.periodAbbreviated=Me;const ht=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Abbreviated).join("|");oe=oe.replace(Pe,`(${ht})`)}}),this.regex=new RegExp(oe)}}},70855:(tt,I,o)=>{"use strict";o.d(I,{a:()=>i,w:()=>t});var e=o(62831),n=o(65879);let t=(()=>{class l{setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(E,u){this.elementRef=E,this.renderer=u,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}static#e=this.\u0275fac=function(u){return new(u||l)(n.Y36(n.SBq),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:l,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[n.TTD]})}return l})(),i=(()=>{class l{static#e=this.\u0275fac=function(u){return new(u||l)};static#t=this.\u0275mod=n.oAB({type:l});static#n=this.\u0275inj=n.cJS({imports:[e.ud]})}return l})()},94197:(tt,I,o)=>{"use strict";o.d(I,{Zr:()=>t,fP:()=>p,g2:()=>M,kW:()=>z,oH:()=>u});var e=o(65879),n=o(65619);class t{get treeService(){return this.service||this.parentNode&&this.parentNode.treeService}constructor(_,d=null,m=null){if(this._title="",this.level=0,this.parentNode=null,this._icon="",this._children=[],this._isLeaf=!1,this._isChecked=!1,this._isSelectable=!1,this._isDisabled=!1,this._isDisableCheckbox=!1,this._isExpanded=!1,this._isHalfChecked=!1,this._isSelected=!1,this._isLoading=!1,this.canHide=!1,this.isMatched=!1,this.service=null,_ instanceof t)return _;this.service=m||null,this.origin=_,this.key=_.key,this.parentNode=d,this._title=_.title||"---",this._icon=_.icon||"",this._isLeaf=_.isLeaf||!1,this._children=[],this._isChecked=_.checked||!1,this._isSelectable=_.disabled||!1!==_.selectable,this._isDisabled=_.disabled||!1,this._isDisableCheckbox=_.disableCheckbox||!1,this._isExpanded=!_.isLeaf&&(_.expanded||!1),this._isHalfChecked=!1,this._isSelected=!_.disabled&&_.selected||!1,this._isLoading=!1,this.isMatched=!1,this.level=d?d.level+1:0,typeof _.children<"u"&&null!==_.children&&_.children.forEach(f=>{const C=this.treeService;C&&!C.isCheckStrictly&&_.checked&&!_.disabled&&!f.disabled&&!f.disableCheckbox&&(f.checked=_.checked),this._children.push(new t(f,this))})}get title(){return this._title}set title(_){this._title=_,this.update()}get icon(){return this._icon}set icon(_){this._icon=_,this.update()}get children(){return this._children}set children(_){this._children=_,this.update()}get isLeaf(){return this._isLeaf}set isLeaf(_){this._isLeaf=_,this.update()}get isChecked(){return this._isChecked}set isChecked(_){this._isChecked=_,this.origin.checked=_,this.afterValueChange("isChecked")}get isHalfChecked(){return this._isHalfChecked}set isHalfChecked(_){this._isHalfChecked=_,this.afterValueChange("isHalfChecked")}get isSelectable(){return this._isSelectable}set isSelectable(_){this._isSelectable=_,this.update()}get isDisabled(){return this._isDisabled}set isDisabled(_){this._isDisabled=_,this.update()}get isDisableCheckbox(){return this._isDisableCheckbox}set isDisableCheckbox(_){this._isDisableCheckbox=_,this.update()}get isExpanded(){return this._isExpanded}set isExpanded(_){this._isExpanded=_,this.origin.expanded=_,this.afterValueChange("isExpanded"),this.afterValueChange("reRender")}get isSelected(){return this._isSelected}set isSelected(_){this._isSelected=_,this.origin.selected=_,this.afterValueChange("isSelected")}get isLoading(){return this._isLoading}set isLoading(_){this._isLoading=_,this.update()}setSyncChecked(_=!1,d=!1){this.setChecked(_,d),this.treeService&&!this.treeService.isCheckStrictly&&this.treeService.conduct(this)}setChecked(_=!1,d=!1){this.origin.checked=_,this.isChecked=_,this.isHalfChecked=d}setExpanded(_){this._isExpanded=_,this.origin.expanded=_,this.afterValueChange("isExpanded")}getParentNode(){return this.parentNode}getChildren(){return this.children}addChildren(_,d=-1){this.isLeaf||(_.forEach(m=>{const f=T=>{T.getChildren().forEach(b=>{b.level=b.getParentNode().level+1,b.origin.level=b.level,f(b)})};let C=m;C instanceof t?C.parentNode=this:C=new t(m,this),C.level=this.level+1,C.origin.level=C.level,f(C);try{-1===d?this.children.push(C):this.children.splice(d,0,C)}catch{}}),this.origin.children=this.getChildren().map(m=>m.origin),this.isLoading=!1),this.afterValueChange("addChildren"),this.afterValueChange("reRender")}clearChildren(){this.afterValueChange("clearChildren"),this.children=[],this.origin.children=[],this.afterValueChange("reRender")}remove(){const _=this.getParentNode();_&&(_.children=_.getChildren().filter(d=>d.key!==this.key),_.origin.children=_.origin.children.filter(d=>d.key!==this.key),this.afterValueChange("remove"),this.afterValueChange("reRender"))}afterValueChange(_){if(this.treeService)switch(_){case"isChecked":this.treeService.setCheckedNodeList(this);break;case"isHalfChecked":this.treeService.setHalfCheckedNodeList(this);break;case"isExpanded":this.treeService.setExpandedNodeList(this);break;case"isSelected":this.treeService.setNodeActive(this);break;case"clearChildren":this.treeService.afterRemove(this.getChildren());break;case"remove":this.treeService.afterRemove([this]);break;case"reRender":this.treeService.flattenTreeData(this.treeService.rootNodes,this.treeService.getExpandedNodeList().map(d=>d.key))}this.update()}update(){this.component&&this.component.markForCheck()}}function i(v){const{isDisabled:_,isDisableCheckbox:d}=v;return!(!_&&!d)}function l(v,_){return _.length>0&&_.indexOf(v)>-1}function u(v=[],_=[]){const d=new Set(!0===_?[]:_),m=[];return function f(C,T=null){return C.map((b,D)=>{const y=function h(v,_){return`${v}-${_}`}(T?T.pos:"0",D),P=function E(v,_){return v??_}(b.key,y);b.isStart=[...T?T.isStart:[],0===D],b.isEnd=[...T?T.isEnd:[],D===C.length-1];const S={parent:T,pos:y,children:[],data:b,isStart:[...T?T.isStart:[],0===D],isEnd:[...T?T.isEnd:[],D===C.length-1]};return m.push(S),S.children=!0===_||d.has(P)||b.isExpanded?f(b.children||[],S):[],S})}(v),m}let z=(()=>{class v{constructor(){this.DRAG_SIDE_RANGE=.25,this.DRAG_MIN_GAP=2,this.isCheckStrictly=!1,this.isMultiple=!1,this.rootNodes=[],this.flattenNodes$=new n.X([]),this.selectedNodeList=[],this.expandedNodeList=[],this.checkedNodeList=[],this.halfCheckedNodeList=[],this.matchedNodeList=[]}initTree(d){this.rootNodes=d,this.expandedNodeList=[],this.selectedNodeList=[],this.halfCheckedNodeList=[],this.checkedNodeList=[],this.matchedNodeList=[]}flattenTreeData(d,m=[]){this.flattenNodes$.next(u(d,m).map(f=>f.data))}getSelectedNode(){return this.selectedNode}getSelectedNodeList(){return this.conductNodeState("select")}getCheckedNodeList(){return this.conductNodeState("check")}getHalfCheckedNodeList(){return this.conductNodeState("halfCheck")}getExpandedNodeList(){return this.conductNodeState("expand")}getMatchedNodeList(){return this.conductNodeState("match")}isArrayOfNzTreeNode(d){return d.every(m=>m instanceof t)}setSelectedNode(d){this.selectedNode=d}setNodeActive(d){!this.isMultiple&&d.isSelected&&(this.selectedNodeList.forEach(m=>{d.key!==m.key&&(m.isSelected=!1)}),this.selectedNodeList=[]),this.setSelectedNodeList(d,this.isMultiple)}setSelectedNodeList(d,m=!1){const f=this.getIndexOfArray(this.selectedNodeList,d.key);m?d.isSelected&&-1===f&&this.selectedNodeList.push(d):d.isSelected&&-1===f&&(this.selectedNodeList=[d]),d.isSelected||(this.selectedNodeList=this.selectedNodeList.filter(C=>C.key!==d.key))}setHalfCheckedNodeList(d){const m=this.getIndexOfArray(this.halfCheckedNodeList,d.key);d.isHalfChecked&&-1===m?this.halfCheckedNodeList.push(d):!d.isHalfChecked&&m>-1&&(this.halfCheckedNodeList=this.halfCheckedNodeList.filter(f=>d.key!==f.key))}setCheckedNodeList(d){const m=this.getIndexOfArray(this.checkedNodeList,d.key);d.isChecked&&-1===m?this.checkedNodeList.push(d):!d.isChecked&&m>-1&&(this.checkedNodeList=this.checkedNodeList.filter(f=>d.key!==f.key))}conductNodeState(d="check"){let m=[];switch(d){case"select":m=this.selectedNodeList;break;case"expand":m=this.expandedNodeList;break;case"match":m=this.matchedNodeList;break;case"check":m=this.checkedNodeList;const f=C=>{const T=C.getParentNode();return!!T&&(this.checkedNodeList.findIndex(b=>b.key===T.key)>-1||f(T))};this.isCheckStrictly||(m=this.checkedNodeList.filter(C=>!f(C)));break;case"halfCheck":this.isCheckStrictly||(m=this.halfCheckedNodeList)}return m}setExpandedNodeList(d){if(d.isLeaf)return;const m=this.getIndexOfArray(this.expandedNodeList,d.key);d.isExpanded&&-1===m?this.expandedNodeList.push(d):!d.isExpanded&&m>-1&&this.expandedNodeList.splice(m,1)}setMatchedNodeList(d){const m=this.getIndexOfArray(this.matchedNodeList,d.key);d.isMatched&&-1===m?this.matchedNodeList.push(d):!d.isMatched&&m>-1&&this.matchedNodeList.splice(m,1)}refreshCheckState(d=!1){d||this.checkedNodeList.forEach(m=>{this.conduct(m,d)})}conduct(d,m=!1){const f=d.isChecked;d&&!m&&(this.conductUp(d),this.conductDown(d,f))}conductUp(d){const m=d.getParentNode();m&&(i(m)||(m.children.every(f=>i(f)||!f.isHalfChecked&&f.isChecked)?(m.isChecked=!0,m.isHalfChecked=!1):m.children.some(f=>f.isHalfChecked||f.isChecked)?(m.isChecked=!1,m.isHalfChecked=!0):(m.isChecked=!1,m.isHalfChecked=!1)),this.setCheckedNodeList(m),this.setHalfCheckedNodeList(m),this.conductUp(m))}conductDown(d,m){i(d)||(d.isChecked=m,d.isHalfChecked=!1,this.setCheckedNodeList(d),this.setHalfCheckedNodeList(d),d.children.forEach(f=>{this.conductDown(f,m)}))}afterRemove(d){const m=f=>{this.selectedNodeList=this.selectedNodeList.filter(C=>C.key!==f.key),this.expandedNodeList=this.expandedNodeList.filter(C=>C.key!==f.key),this.checkedNodeList=this.checkedNodeList.filter(C=>C.key!==f.key),f.children&&f.children.forEach(C=>{m(C)})};d.forEach(f=>{m(f)}),this.refreshCheckState(this.isCheckStrictly)}refreshDragNode(d){0===d.children.length?this.conductUp(d):d.children.forEach(m=>{this.refreshDragNode(m)})}resetNodeLevel(d){const m=d.getParentNode();d.level=m?m.level+1:0;for(const f of d.children)this.resetNodeLevel(f)}calcDropPosition(d){const{clientY:m}=d,{top:f,bottom:C,height:T}=d.target.getBoundingClientRect(),b=Math.max(T*this.DRAG_SIDE_RANGE,this.DRAG_MIN_GAP);return m<=f+b?-1:m>=C-b?1:0}dropAndApply(d,m=-1){if(!d||m>1)return;const f=d.treeService,C=d.getParentNode(),T=this.selectedNode.getParentNode();switch(T?T.children=T.children.filter(b=>b.key!==this.selectedNode.key):this.rootNodes=this.rootNodes.filter(b=>b.key!==this.selectedNode.key),m){case 0:d.addChildren([this.selectedNode]),this.resetNodeLevel(d);break;case-1:case 1:const b=1===m?1:0;if(C){C.addChildren([this.selectedNode],C.children.indexOf(d)+b);const D=this.selectedNode.getParentNode();D&&this.resetNodeLevel(D)}else{const D=this.rootNodes.indexOf(d)+b;this.rootNodes.splice(D,0,this.selectedNode),this.rootNodes[D].parentNode=null,this.resetNodeLevel(this.rootNodes[D])}}this.rootNodes.forEach(b=>{b.treeService||(b.service=f),this.refreshDragNode(b)})}formatEvent(d,m,f){const C={eventName:d,node:m,event:f};switch(d){case"dragstart":case"dragenter":case"dragover":case"dragleave":case"drop":case"dragend":Object.assign(C,{dragNode:this.getSelectedNode()});break;case"click":case"dblclick":Object.assign(C,{selectedKeys:this.selectedNodeList}),Object.assign(C,{nodes:this.selectedNodeList}),Object.assign(C,{keys:this.selectedNodeList.map(b=>b.key)});break;case"check":const T=this.getCheckedNodeList();Object.assign(C,{checkedKeys:T}),Object.assign(C,{nodes:T}),Object.assign(C,{keys:T.map(b=>b.key)});break;case"search":Object.assign(C,{matchedKeys:this.getMatchedNodeList()}),Object.assign(C,{nodes:this.getMatchedNodeList()}),Object.assign(C,{keys:this.getMatchedNodeList().map(b=>b.key)});break;case"expand":Object.assign(C,{nodes:this.expandedNodeList}),Object.assign(C,{keys:this.expandedNodeList.map(b=>b.key)})}return C}getIndexOfArray(d,m){return d.findIndex(f=>f.key===m)}conductCheck(d,m){this.checkedNodeList=[],this.halfCheckedNodeList=[];const f=C=>{C.forEach(T=>{null===d?T.isChecked=!!T.origin.checked:l(T.key,d||[])?(T.isChecked=!0,T.isHalfChecked=!1):(T.isChecked=!1,T.isHalfChecked=!1),T.children.length>0&&f(T.children)})};f(this.rootNodes),this.refreshCheckState(m)}conductExpandedKeys(d=[]){const m=new Set(!0===d?[]:d);this.expandedNodeList=[];const f=C=>{C.forEach(T=>{T.setExpanded(!0===d||m.has(T.key)||!0===T.isExpanded),T.isExpanded&&this.setExpandedNodeList(T),T.children.length>0&&f(T.children)})};f(this.rootNodes)}conductSelectedKeys(d,m){this.selectedNodeList.forEach(C=>C.isSelected=!1),this.selectedNodeList=[];const f=C=>C.every(T=>{if(l(T.key,d)){if(T.isSelected=!0,this.setSelectedNodeList(T),!m)return!1}else T.isSelected=!1;return!(T.children.length>0)||f(T.children)});f(this.rootNodes)}expandNodeAllParentBySearch(d){const m=f=>{if(f&&(f.canHide=!1,f.setExpanded(!0),this.setExpandedNodeList(f),f.getParentNode()))return m(f.getParentNode())};m(d.getParentNode())}static#e=this.\u0275fac=function(m){return new(m||v)};static#t=this.\u0275prov=e.Yz7({token:v,factory:v.\u0275fac})}return v})();const M=new e.OlP("NzTreeHigherOrder");class p{constructor(_){this.nzTreeService=_}coerceTreeNodes(_){let d=[];return d=this.nzTreeService.isArrayOfNzTreeNode(_)?_.map(m=>(m.service=this.nzTreeService,m)):_.map(m=>new t(m,null,this.nzTreeService)),d}getTreeNodes(){return this.nzTreeService.rootNodes}getTreeNodeByKey(_){const d=[],m=f=>{d.push(f),f.getChildren().forEach(C=>{m(C)})};return this.getTreeNodes().forEach(f=>{m(f)}),d.find(f=>f.key===_)||null}getCheckedNodeList(){return this.nzTreeService.getCheckedNodeList()}getSelectedNodeList(){return this.nzTreeService.getSelectedNodeList()}getHalfCheckedNodeList(){return this.nzTreeService.getHalfCheckedNodeList()}getExpandedNodeList(){return this.nzTreeService.getExpandedNodeList()}getMatchedNodeList(){return this.nzTreeService.getMatchedNodeList()}}},27754:(tt,I,o)=>{"use strict";o.d(I,{D8:()=>U,DX:()=>M,GM:()=>oe,HH:()=>_,He:()=>f,J8:()=>Le,Ly:()=>Se,OY:()=>K,Rn:()=>P,Sm:()=>De,WX:()=>C,YM:()=>re,Zu:()=>ft,cO:()=>u,de:()=>d,hq:()=>cn,jJ:()=>S,kK:()=>p,lN:()=>Ae,p8:()=>ee,pW:()=>A,qR:()=>j,qo:()=>E,rw:()=>T,sw:()=>m,tI:()=>V,te:()=>B,ui:()=>pe,wU:()=>v,wv:()=>R,xV:()=>te,yF:()=>D,z6:()=>k,zT:()=>ae});var e=o(65879),n=o(42495),t=o(1608),i=o(2664),l=o(7715),h=o(22096);function E(gt){let Ie;return Ie=null==gt?[]:Array.isArray(gt)?gt:[gt],Ie}function u(gt,Ie){if(!gt||!Ie||gt.length!==Ie.length)return!1;const Ct=gt.length;for(let Nt=0;Nt"u"||null===gt}function v(gt,Ie){if(gt===Ie)return!0;if("object"!=typeof gt||!gt||"object"!=typeof Ie||!Ie)return!1;const Ct=Object.keys(gt),Nt=Object.keys(Ie);if(Ct.length!==Nt.length)return!1;const kt=Object.prototype.hasOwnProperty.bind(Ie);for(let St=0;Stf(Ie,gt))}function S(gt){gt.stopPropagation(),gt.preventDefault()}function A(gt){if(!gt.getClientRects().length)return{top:0,left:0};const Ie=gt.getBoundingClientRect(),Ct=gt.ownerDocument.defaultView;return{top:Ie.top+Ct.pageYOffset,left:Ie.left+Ct.pageXOffset}}function k(gt){return gt.type.startsWith("touch")}function R(gt){return k(gt)?gt.touches[0]||gt.changedTouches[0]:gt}function j(gt,Ie="@"){if("string"!=typeof gt)return[];const Ct=function W(gt){const Ie=Array.isArray(gt)?gt:[gt];let Ct=Ie.join("").replace(/(\$|\^)/g,"\\$1");return Ie.length>1&&(Ct=`[${Ct}]`),new RegExp(`(\\s|^)(${Ct})[^\\s]*`,"g")}(Ie),Nt=gt.match(Ct);return null!==Nt?Nt.map(kt=>kt.trim()):[]}function V(gt){return!!gt&&"function"==typeof gt.then&&"function"==typeof gt.catch}function K(gt,Ie,Ct){return(Ct-gt)/(Ie-gt)*100}function ee(gt){const Ie=gt.toString(),Ct=Ie.indexOf(".");return Ct>=0?Ie.length-Ct-1:0}function te(gt,Ie,Ct){return isNaN(gt)||gtCt?Ct:gt}function pe(gt){return"number"==typeof gt&&isFinite(gt)}function re(gt,Ie){return Math.round(gt*Math.pow(10,Ie))/Math.pow(10,Ie)}function De(gt,Ie=0){return gt.reduce((Ct,Nt)=>Ct+Nt,Ie)}function ae(gt){gt.scrollIntoViewIfNeeded?gt.scrollIntoViewIfNeeded(!1):gt.scrollIntoView&>.scrollIntoView(!1)}const ce=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],X=typeof window<"u",ne=X&&null!=window.mozInnerScreenX,le=gt=>parseInt(gt,10);function Se(gt,Ie,Ct){if(!X)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");const Nt=Ct&&Ct.debug||!1;if(Nt){const ge=document.querySelector("#input-textarea-caret-position-mirror-div");ge&&ge.parentNode.removeChild(ge)}const kt=document.createElement("div");kt.id="input-textarea-caret-position-mirror-div",document.body.appendChild(kt);const St=kt.style,qe=window.getComputedStyle?window.getComputedStyle(gt):gt.currentStyle,Fe="INPUT"===gt.nodeName;St.whiteSpace="pre-wrap",Fe||(St.wordWrap="break-word"),St.position="absolute",Nt||(St.visibility="hidden"),ce.forEach(ge=>{Fe&&"lineHeight"===ge?St.lineHeight=qe.height:St[ge]=qe[ge]}),ne?gt.scrollHeight>le(qe.height)&&(St.overflowY="scroll"):St.overflow="hidden",kt.textContent=gt.value.substring(0,Ie),Fe&&(kt.textContent=kt.textContent.replace(/\s/g,"\xa0"));const fe=document.createElement("span");fe.textContent=gt.value.substring(Ie)||".",kt.appendChild(fe);const Xe={top:fe.offsetTop+le(qe.borderTopWidth),left:fe.offsetLeft+le(qe.borderLeftWidth),height:le(qe.lineHeight)};return Nt?(fe.style.backgroundColor="#eee",function Ne(gt,Ie){const Ct=getComputedStyle(gt).getPropertyValue("font-size"),Nt=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(Nt),Nt.id="DEBUG",Nt.style.position="absolute",Nt.style.backgroundColor="red",Nt.style.height=Ct,Nt.style.width="1px",Nt.style.top=`${gt.getBoundingClientRect().top-gt.scrollTop+window.pageYOffset+Ie.top}px`,Nt.style.left=`${gt.getBoundingClientRect().left-gt.scrollLeft+window.pageXOffset+Ie.left}px`}(gt,Xe)):document.body.removeChild(kt),Xe}function oe(gt){return gt?Object.keys(gt).map(Ie=>{const Ct=gt[Ie];return`${Ie}:${"string"==typeof Ct?Ct:`${Ct}px`}`}).join(";"):""}let mt,we;const de={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function U(gt="vertical",Ie="ant"){if(typeof document>"u"||typeof window>"u")return 0;const Ct="vertical"===gt;if(Ct&&mt)return mt;if(!Ct&&we)return we;const Nt=document.createElement("div");Object.keys(de).forEach(St=>{Nt.style[St]=de[St]}),Nt.className=`${Ie}-hide-scrollbar scroll-div-append-to-body`,Ct?Nt.style.overflowY="scroll":Nt.style.overflowX="scroll",document.body.appendChild(Nt);let kt=0;return Ct?(kt=Nt.offsetWidth-Nt.clientWidth,mt=kt):(kt=Nt.offsetHeight-Nt.clientHeight,we=kt),document.body.removeChild(Nt),kt}function B(gt,Ie){return gt&>"STYLE"===Nt.tagName&&Nt.getAttribute(Ot(Ie))===gt)}(Ie,Ct);if(kt)return Ct.cspNonce&&kt.nonce!==Ct.cspNonce&&(kt.nonce=Ct.cspNonce),kt.innerHTML!==gt&&(kt.innerHTML=gt),kt;const St=Wt(gt,Ct);return St?.setAttribute(Ot(Ct),Ie),St}function ft(gt,Ie,Ct){return{[`${gt}-status-success`]:"success"===Ie,[`${gt}-status-warning`]:"warning"===Ie,[`${gt}-status-error`]:"error"===Ie,[`${gt}-status-validating`]:"validating"===Ie,[`${gt}-has-feedback`]:Ct}}},41958:(tt,I,o)=>{"use strict";o.d(I,{dQ:()=>E,vG:()=>u});var e=o(62831),n=o(65879);class t{get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(M,p,v,_,d){this.triggerElement=M,this.ngZone=p,this.insertExtraNode=v,this.platformId=_,this.cspNonce=d,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=m=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===m.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new e.t4(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const M=this.triggerElement,p=this.getWaveColor(M);M.setAttribute(this.waveAttributeName,"true"),!(Date.now(){M.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(M){return!!M&&"#ffffff"!==M&&"rgb(255, 255, 255)"!==M&&this.isNotGrey(M)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(M)&&"transparent"!==M}isNotGrey(M){const p=M.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(p&&p[1]&&p[2]&&p[3]&&p[1]===p[2]&&p[2]===p[3])}getWaveColor(M){const p=getComputedStyle(M);return p.getPropertyValue("border-top-color")||p.getPropertyValue("border-color")||p.getPropertyValue("background-color")}runTimeoutOutsideZone(M,p){this.ngZone.runOutsideAngular(()=>setTimeout(M,p))}}const i={disabled:!1},l=new n.OlP("nz-wave-global-options");function h(z){return(0,n.MR2)([{provide:l,useValue:z}])}let E=(()=>{class z{get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}constructor(p,v,_,d,m,f){this.ngZone=p,this.elementRef=v,this.config=_,this.animationType=d,this.platformId=m,this.cspNonce=f,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let p=!1;return this.config&&"boolean"==typeof this.config.disabled&&(p=this.config.disabled),"NoopAnimations"===this.animationType&&(p=!0),p}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new t(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}static#e=this.\u0275fac=function(v){return new(v||z)(n.Y36(n.R0b),n.Y36(n.SBq),n.Y36(l,8),n.Y36(n.QbO,8),n.Y36(n.Lbi),n.Y36(n.Ojb,8))};static#t=this.\u0275dir=n.lG2({type:z,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return z})(),u=(()=>{class z{static#e=this.\u0275fac=function(v){return new(v||z)};static#t=this.\u0275mod=n.oAB({type:z});static#n=this.\u0275inj=n.cJS({providers:[h(i)],imports:[e.ud]})}return z})()},52682:(tt,I,o)=>{"use strict";o.d(I,{Hb:()=>io,Mq:()=>ss,Xv:()=>xo,mr:()=>Ci,uw:()=>Si,wS:()=>Ui});var e=o(49388),n=o(33651),t=o(96814),i=o(65879),l=o(60095),h=o(42840),E=o(50883),u=o(331),z=o(8324),M=o(85448),p=o(90551),v=o(60047),_=o(3945),d=o(27754),m=o(12131),f=o(70855),C=o(41958),T=o(97582),b=o(36028),D=o(97328),y=o(78645),P=o(63019),S=o(92438),A=o(22096),k=o(59773),R=o(93997),W=o(42460),j=o(37398),ze=o(64194),Y=o(83064),G=o(99087),V=o(28802),K=o(62831);function ee(it,Qt){1&it&&i.GkF(0)}function te(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,ee,1,0,"ng-container",4),i.BQk()),2&it){const Z=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",Z.extraFooter)}}function pe(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",5),i.BQk()),2&it){const Z=i.oxw(2);i.xp6(1),i.Q6J("innerHTML",Z.extraFooter,i.oJD)}}function re(it,Qt){if(1&it&&(i.TgZ(0,"div"),i.ynx(1,2),i.YNc(2,te,2,1,"ng-container",3),i.YNc(3,pe,2,1,"ng-container",3),i.BQk(),i.qZA()),2&it){const Z=i.oxw();i.Gre("",Z.prefixCls,"-footer-extra"),i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",Z.isTemplateRef(Z.extraFooter)),i.xp6(1),i.Q6J("ngSwitchCase",Z.isNonEmptyString(Z.extraFooter))}}function De(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"a",6),i.NdJ("click",function(){i.CHM(Z);const _t=i.oxw();return i.KtG(_t.isTodayDisabled?null:_t.onClickToday())}),i._uU(1),i.qZA()}if(2&it){const Z=i.oxw();i.MT6("",Z.prefixCls,"-today-btn ",Z.isTodayDisabled?Z.prefixCls+"-today-btn-disabled":"",""),i.s9C("title",Z.todayTitle),i.xp6(1),i.hij(" ",Z.locale.today," ")}}function ae(it,Qt){1&it&&i.GkF(0)}function ce(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"li")(1,"a",7),i.NdJ("click",function(){i.CHM(Z);const _t=i.oxw(2);return i.KtG(_t.isTodayDisabled?null:_t.onClickToday())}),i._uU(2),i.qZA()()}if(2&it){const Z=i.oxw(2);i.Gre("",Z.prefixCls,"-now"),i.xp6(1),i.Gre("",Z.prefixCls,"-now-btn"),i.xp6(1),i.hij(" ",Z.locale.now," ")}}function X(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"li")(1,"button",8),i.NdJ("click",function(){i.CHM(Z);const _t=i.oxw(2);return i.KtG(_t.okDisabled?null:_t.clickOk.emit())}),i._uU(2),i.qZA()()}if(2&it){const Z=i.oxw(2);i.Gre("",Z.prefixCls,"-ok"),i.xp6(1),i.Q6J("disabled",Z.okDisabled),i.xp6(1),i.hij(" ",Z.locale.ok," ")}}function ne(it,Qt){if(1&it&&(i.TgZ(0,"ul"),i.YNc(1,ae,1,0,"ng-container",4),i.YNc(2,ce,3,7,"li",0),i.YNc(3,X,3,5,"li",0),i.qZA()),2&it){const Z=i.oxw();i.Gre("",Z.prefixCls,"-ranges"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.rangeQuickSelector),i.xp6(1),i.Q6J("ngIf",Z.showNow),i.xp6(1),i.Q6J("ngIf",Z.hasTimePicker)}}function le(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"button",6),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onClick())}),i._uU(2),i.qZA(),i.BQk()}if(2&it){const Z=Qt.$implicit;i.xp6(1),i.Tol(Z.className),i.s9C("title",Z.title||null),i.xp6(1),i.hij(" ",Z.label," ")}}function Se(it,Qt){1&it&&i._UZ(0,"th",6)}function Ne(it,Qt){if(1&it&&(i.TgZ(0,"th",7),i._uU(1),i.qZA()),2&it){const Z=Qt.$implicit;i.s9C("title",Z.title),i.xp6(1),i.hij(" ",Z.content," ")}}function ke(it,Qt){if(1&it&&(i.TgZ(0,"thead")(1,"tr",3),i.YNc(2,Se,1,0,"th",4),i.YNc(3,Ne,2,2,"th",5),i.qZA()()),2&it){const Z=i.oxw();i.xp6(2),i.Q6J("ngIf",Z.showWeek),i.xp6(1),i.Q6J("ngForOf",Z.headRow)}}function oe(it,Qt){if(1&it&&(i.TgZ(0,"td",11),i._uU(1),i.qZA()),2&it){const Z=i.oxw().$implicit,dt=i.oxw();i.Gre("",dt.prefixCls,"-cell-week"),i.xp6(1),i.hij(" ",Z.weekNum," ")}}function _e(it,Qt){1&it&&i.GkF(0)}const Q=function(it){return{$implicit:it}};function He(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,_e,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function Re(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("innerHTML",Z.cellRender,i.oJD)}}function lt(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._uU(2),i.qZA(),i.BQk()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.xp6(1),i.Gre("",dt.prefixCls,"-cell-inner"),i.uIk("aria-selected",Z.isSelected)("aria-disabled",Z.isDisabled),i.xp6(1),i.hij(" ",Z.content," ")}}function Pe(it,Qt){if(1&it&&(i.ynx(0)(1,13),i.YNc(2,He,2,4,"ng-container",14),i.YNc(3,Re,2,1,"ng-container",14),i.YNc(4,lt,3,6,"ng-container",15),i.BQk()()),2&it){const Z=i.oxw().$implicit,dt=i.oxw(2);i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",dt.isTemplateRef(Z.cellRender)),i.xp6(1),i.Q6J("ngSwitchCase",dt.isNonEmptyString(Z.cellRender))}}function xt(it,Qt){1&it&&i.GkF(0)}function $e(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,xt,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.fullCellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function ot(it,Qt){1&it&&i.GkF(0)}function mt(it,Qt){if(1&it&&(i.TgZ(0,"div"),i._uU(1),i.qZA(),i.TgZ(2,"div"),i.YNc(3,ot,1,0,"ng-container",16),i.qZA()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-date-value"),i.xp6(1),i.Oqu(Z.content),i.xp6(1),i.Gre("",dt.prefixCls,"-date-content"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(9,Q,Z.value))}}function we(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,$e,2,4,"ng-container",18),i.YNc(3,mt,4,11,"ng-template",null,19,i.W1O),i.qZA(),i.BQk()),2&it){const Z=i.MAs(4),dt=i.oxw().$implicit,_t=i.oxw(2);i.xp6(1),i.Gre("",_t.prefixCls,"-date ant-picker-cell-inner"),i.ekj("ant-picker-calendar-date-today",dt.isToday),i.xp6(1),i.Q6J("ngIf",dt.fullCellRender)("ngIfElse",Z)}}function de(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"td",12),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.isDisabled?null:jt.onClick())})("mouseenter",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onMouseEnter())}),i.ynx(1,13),i.YNc(2,Pe,5,3,"ng-container",14),i.YNc(3,we,5,7,"ng-container",14),i.BQk(),i.qZA()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.s9C("title",Z.title),i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngSwitch",dt.prefixCls),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker"),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker-calendar")}}function U(it,Qt){if(1&it&&(i.TgZ(0,"tr",8),i.YNc(1,oe,2,4,"td",9),i.YNc(2,de,4,5,"td",10),i.qZA()),2&it){const Z=Qt.$implicit,dt=i.oxw();i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngIf",Z.weekNum),i.xp6(1),i.Q6J("ngForOf",Z.dateCells)("ngForTrackBy",dt.trackByBodyColumn)}}function B(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"button",6),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onClick())}),i._uU(2),i.qZA(),i.BQk()}if(2&it){const Z=Qt.$implicit;i.xp6(1),i.Tol(Z.className),i.s9C("title",Z.title||null),i.xp6(1),i.hij(" ",Z.label," ")}}function Me(it,Qt){1&it&&i._UZ(0,"th",6)}function Ae(it,Qt){if(1&it&&(i.TgZ(0,"th",7),i._uU(1),i.qZA()),2&it){const Z=Qt.$implicit;i.s9C("title",Z.title),i.xp6(1),i.hij(" ",Z.content," ")}}function Le(it,Qt){if(1&it&&(i.TgZ(0,"thead")(1,"tr",3),i.YNc(2,Me,1,0,"th",4),i.YNc(3,Ae,2,2,"th",5),i.qZA()()),2&it){const Z=i.oxw();i.xp6(2),i.Q6J("ngIf",Z.showWeek),i.xp6(1),i.Q6J("ngForOf",Z.headRow)}}function ht(it,Qt){if(1&it&&(i.TgZ(0,"td",11),i._uU(1),i.qZA()),2&it){const Z=i.oxw().$implicit,dt=i.oxw();i.Gre("",dt.prefixCls,"-cell-week"),i.xp6(1),i.hij(" ",Z.weekNum," ")}}function Ot(it,Qt){1&it&&i.GkF(0)}function Lt(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Ot,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function Wt(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("innerHTML",Z.cellRender,i.oJD)}}function qt(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._uU(2),i.qZA(),i.BQk()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.xp6(1),i.Gre("",dt.prefixCls,"-cell-inner"),i.uIk("aria-selected",Z.isSelected)("aria-disabled",Z.isDisabled),i.xp6(1),i.hij(" ",Z.content," ")}}function en(it,Qt){if(1&it&&(i.ynx(0)(1,13),i.YNc(2,Lt,2,4,"ng-container",14),i.YNc(3,Wt,2,1,"ng-container",14),i.YNc(4,qt,3,6,"ng-container",15),i.BQk()()),2&it){const Z=i.oxw().$implicit,dt=i.oxw(2);i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",dt.isTemplateRef(Z.cellRender)),i.xp6(1),i.Q6J("ngSwitchCase",dt.isNonEmptyString(Z.cellRender))}}function Vt(it,Qt){1&it&&i.GkF(0)}function cn(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Vt,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.fullCellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function ft(it,Qt){1&it&&i.GkF(0)}function gt(it,Qt){if(1&it&&(i.TgZ(0,"div"),i._uU(1),i.qZA(),i.TgZ(2,"div"),i.YNc(3,ft,1,0,"ng-container",16),i.qZA()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-date-value"),i.xp6(1),i.Oqu(Z.content),i.xp6(1),i.Gre("",dt.prefixCls,"-date-content"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(9,Q,Z.value))}}function Ie(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,cn,2,4,"ng-container",18),i.YNc(3,gt,4,11,"ng-template",null,19,i.W1O),i.qZA(),i.BQk()),2&it){const Z=i.MAs(4),dt=i.oxw().$implicit,_t=i.oxw(2);i.xp6(1),i.Gre("",_t.prefixCls,"-date ant-picker-cell-inner"),i.ekj("ant-picker-calendar-date-today",dt.isToday),i.xp6(1),i.Q6J("ngIf",dt.fullCellRender)("ngIfElse",Z)}}function Ct(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"td",12),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.isDisabled?null:jt.onClick())})("mouseenter",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onMouseEnter())}),i.ynx(1,13),i.YNc(2,en,5,3,"ng-container",14),i.YNc(3,Ie,5,7,"ng-container",14),i.BQk(),i.qZA()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.s9C("title",Z.title),i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngSwitch",dt.prefixCls),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker"),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker-calendar")}}function Nt(it,Qt){if(1&it&&(i.TgZ(0,"tr",8),i.YNc(1,ht,2,4,"td",9),i.YNc(2,Ct,4,5,"td",10),i.qZA()),2&it){const Z=Qt.$implicit,dt=i.oxw();i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngIf",Z.weekNum),i.xp6(1),i.Q6J("ngForOf",Z.dateCells)("ngForTrackBy",dt.trackByBodyColumn)}}function kt(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"button",6),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onClick())}),i._uU(2),i.qZA(),i.BQk()}if(2&it){const Z=Qt.$implicit;i.xp6(1),i.Tol(Z.className),i.s9C("title",Z.title||null),i.xp6(1),i.hij(" ",Z.label," ")}}function St(it,Qt){1&it&&i._UZ(0,"th",6)}function qe(it,Qt){if(1&it&&(i.TgZ(0,"th",7),i._uU(1),i.qZA()),2&it){const Z=Qt.$implicit;i.s9C("title",Z.title),i.xp6(1),i.hij(" ",Z.content," ")}}function Fe(it,Qt){if(1&it&&(i.TgZ(0,"thead")(1,"tr",3),i.YNc(2,St,1,0,"th",4),i.YNc(3,qe,2,2,"th",5),i.qZA()()),2&it){const Z=i.oxw();i.xp6(2),i.Q6J("ngIf",Z.showWeek),i.xp6(1),i.Q6J("ngForOf",Z.headRow)}}function fe(it,Qt){if(1&it&&(i.TgZ(0,"td",11),i._uU(1),i.qZA()),2&it){const Z=i.oxw().$implicit,dt=i.oxw();i.Gre("",dt.prefixCls,"-cell-week"),i.xp6(1),i.hij(" ",Z.weekNum," ")}}function Xe(it,Qt){1&it&&i.GkF(0)}function ge(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Xe,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function je(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("innerHTML",Z.cellRender,i.oJD)}}function Ye(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._uU(2),i.qZA(),i.BQk()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.xp6(1),i.Gre("",dt.prefixCls,"-cell-inner"),i.uIk("aria-selected",Z.isSelected)("aria-disabled",Z.isDisabled),i.xp6(1),i.hij(" ",Z.content," ")}}function We(it,Qt){if(1&it&&(i.ynx(0)(1,13),i.YNc(2,ge,2,4,"ng-container",14),i.YNc(3,je,2,1,"ng-container",14),i.YNc(4,Ye,3,6,"ng-container",15),i.BQk()()),2&it){const Z=i.oxw().$implicit,dt=i.oxw(2);i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",dt.isTemplateRef(Z.cellRender)),i.xp6(1),i.Q6J("ngSwitchCase",dt.isNonEmptyString(Z.cellRender))}}function wt(it,Qt){1&it&&i.GkF(0)}function Ee(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,wt,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.fullCellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function be(it,Qt){1&it&&i.GkF(0)}function Qe(it,Qt){if(1&it&&(i.TgZ(0,"div"),i._uU(1),i.qZA(),i.TgZ(2,"div"),i.YNc(3,be,1,0,"ng-container",16),i.qZA()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-date-value"),i.xp6(1),i.Oqu(Z.content),i.xp6(1),i.Gre("",dt.prefixCls,"-date-content"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(9,Q,Z.value))}}function Ke(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,Ee,2,4,"ng-container",18),i.YNc(3,Qe,4,11,"ng-template",null,19,i.W1O),i.qZA(),i.BQk()),2&it){const Z=i.MAs(4),dt=i.oxw().$implicit,_t=i.oxw(2);i.xp6(1),i.Gre("",_t.prefixCls,"-date ant-picker-cell-inner"),i.ekj("ant-picker-calendar-date-today",dt.isToday),i.xp6(1),i.Q6J("ngIf",dt.fullCellRender)("ngIfElse",Z)}}function Ze(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"td",12),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.isDisabled?null:jt.onClick())})("mouseenter",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onMouseEnter())}),i.ynx(1,13),i.YNc(2,We,5,3,"ng-container",14),i.YNc(3,Ke,5,7,"ng-container",14),i.BQk(),i.qZA()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.s9C("title",Z.title),i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngSwitch",dt.prefixCls),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker"),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker-calendar")}}function ve(it,Qt){if(1&it&&(i.TgZ(0,"tr",8),i.YNc(1,fe,2,4,"td",9),i.YNc(2,Ze,4,5,"td",10),i.qZA()),2&it){const Z=Qt.$implicit,dt=i.oxw();i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngIf",Z.weekNum),i.xp6(1),i.Q6J("ngForOf",Z.dateCells)("ngForTrackBy",dt.trackByBodyColumn)}}function nt(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"button",6),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onClick())}),i._uU(2),i.qZA(),i.BQk()}if(2&it){const Z=Qt.$implicit;i.xp6(1),i.Tol(Z.className),i.s9C("title",Z.title||null),i.xp6(1),i.hij(" ",Z.label," ")}}function x(it,Qt){1&it&&i._UZ(0,"th",6)}function N(it,Qt){if(1&it&&(i.TgZ(0,"th",7),i._uU(1),i.qZA()),2&it){const Z=Qt.$implicit;i.s9C("title",Z.title),i.xp6(1),i.hij(" ",Z.content," ")}}function O(it,Qt){if(1&it&&(i.TgZ(0,"thead")(1,"tr",3),i.YNc(2,x,1,0,"th",4),i.YNc(3,N,2,2,"th",5),i.qZA()()),2&it){const Z=i.oxw();i.xp6(2),i.Q6J("ngIf",Z.showWeek),i.xp6(1),i.Q6J("ngForOf",Z.headRow)}}function $(it,Qt){if(1&it&&(i.TgZ(0,"td",11),i._uU(1),i.qZA()),2&it){const Z=i.oxw().$implicit,dt=i.oxw();i.Gre("",dt.prefixCls,"-cell-week"),i.xp6(1),i.hij(" ",Z.weekNum," ")}}function L(it,Qt){1&it&&i.GkF(0)}function he(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,L,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function Ce(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("innerHTML",Z.cellRender,i.oJD)}}function Dt(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._uU(2),i.qZA(),i.BQk()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.xp6(1),i.Gre("",dt.prefixCls,"-cell-inner"),i.uIk("aria-selected",Z.isSelected)("aria-disabled",Z.isDisabled),i.xp6(1),i.hij(" ",Z.content," ")}}function Yt(it,Qt){if(1&it&&(i.ynx(0)(1,13),i.YNc(2,he,2,4,"ng-container",14),i.YNc(3,Ce,2,1,"ng-container",14),i.YNc(4,Dt,3,6,"ng-container",15),i.BQk()()),2&it){const Z=i.oxw().$implicit,dt=i.oxw(2);i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",dt.isTemplateRef(Z.cellRender)),i.xp6(1),i.Q6J("ngSwitchCase",dt.isNonEmptyString(Z.cellRender))}}function rn(it,Qt){1&it&&i.GkF(0)}function hn(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,rn,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.fullCellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function yn(it,Qt){1&it&&i.GkF(0)}function Mn(it,Qt){if(1&it&&(i.TgZ(0,"div"),i._uU(1),i.qZA(),i.TgZ(2,"div"),i.YNc(3,yn,1,0,"ng-container",16),i.qZA()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-date-value"),i.xp6(1),i.Oqu(Z.content),i.xp6(1),i.Gre("",dt.prefixCls,"-date-content"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(9,Q,Z.value))}}function En(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,hn,2,4,"ng-container",18),i.YNc(3,Mn,4,11,"ng-template",null,19,i.W1O),i.qZA(),i.BQk()),2&it){const Z=i.MAs(4),dt=i.oxw().$implicit,_t=i.oxw(2);i.xp6(1),i.Gre("",_t.prefixCls,"-date ant-picker-cell-inner"),i.ekj("ant-picker-calendar-date-today",dt.isToday),i.xp6(1),i.Q6J("ngIf",dt.fullCellRender)("ngIfElse",Z)}}function Dn(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"td",12),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.isDisabled?null:jt.onClick())})("mouseenter",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onMouseEnter())}),i.ynx(1,13),i.YNc(2,Yt,5,3,"ng-container",14),i.YNc(3,En,5,7,"ng-container",14),i.BQk(),i.qZA()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.s9C("title",Z.title),i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngSwitch",dt.prefixCls),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker"),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker-calendar")}}function xn(it,Qt){if(1&it&&(i.TgZ(0,"tr",8),i.YNc(1,$,2,4,"td",9),i.YNc(2,Dn,4,5,"td",10),i.qZA()),2&it){const Z=Qt.$implicit,dt=i.oxw();i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngIf",Z.weekNum),i.xp6(1),i.Q6J("ngForOf",Z.dateCells)("ngForTrackBy",dt.trackByBodyColumn)}}function Ln(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"decade-header",4),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.activeDate=_t)})("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.panelModeChange.emit(_t))})("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.headerChange.emit(_t))}),i.qZA(),i.TgZ(2,"div")(3,"decade-table",5),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onChooseDecade(_t))}),i.qZA()(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("value",Z.activeDate)("locale",Z.locale)("showSuperPreBtn",Z.enablePrevNext("prev","decade"))("showSuperNextBtn",Z.enablePrevNext("next","decade"))("showNextBtn",!1)("showPreBtn",!1),i.xp6(1),i.Gre("",Z.prefixCls,"-body"),i.xp6(1),i.Q6J("activeDate",Z.activeDate)("value",Z.value)("locale",Z.locale)("disabledDate",Z.disabledDate)}}function ei(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"year-header",4),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.activeDate=_t)})("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.panelModeChange.emit(_t))})("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.headerChange.emit(_t))}),i.qZA(),i.TgZ(2,"div")(3,"year-table",6),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onChooseYear(_t))})("cellHover",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.cellHover.emit(_t))}),i.qZA()(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("value",Z.activeDate)("locale",Z.locale)("showSuperPreBtn",Z.enablePrevNext("prev","year"))("showSuperNextBtn",Z.enablePrevNext("next","year"))("showNextBtn",!1)("showPreBtn",!1),i.xp6(1),i.Gre("",Z.prefixCls,"-body"),i.xp6(1),i.Q6J("activeDate",Z.activeDate)("value",Z.value)("locale",Z.locale)("disabledDate",Z.disabledDate)("selectedValue",Z.selectedValue)("hoverValue",Z.hoverValue)}}function ii(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"month-header",4),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.activeDate=_t)})("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.panelModeChange.emit(_t))})("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.headerChange.emit(_t))}),i.qZA(),i.TgZ(2,"div")(3,"month-table",7),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onChooseMonth(_t))})("cellHover",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.cellHover.emit(_t))}),i.qZA()(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("value",Z.activeDate)("locale",Z.locale)("showSuperPreBtn",Z.enablePrevNext("prev","month"))("showSuperNextBtn",Z.enablePrevNext("next","month"))("showNextBtn",!1)("showPreBtn",!1),i.xp6(1),i.Gre("",Z.prefixCls,"-body"),i.xp6(1),i.Q6J("value",Z.value)("activeDate",Z.activeDate)("locale",Z.locale)("disabledDate",Z.disabledDate)("selectedValue",Z.selectedValue)("hoverValue",Z.hoverValue)}}function Hn(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"date-header",8),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.activeDate=_t)})("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.panelModeChange.emit(_t))})("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.headerChange.emit(_t))}),i.qZA(),i.TgZ(2,"div")(3,"date-table",9),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onSelectDate(_t))})("cellHover",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.cellHover.emit(_t))}),i.qZA()(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("value",Z.activeDate)("locale",Z.locale)("showSuperPreBtn",Z.enablePrevNext("prev","week"===Z.panelMode?"week":"date"))("showSuperNextBtn",Z.enablePrevNext("next","week"===Z.panelMode?"week":"date"))("showPreBtn",Z.enablePrevNext("prev","week"===Z.panelMode?"week":"date"))("showNextBtn",Z.enablePrevNext("next","week"===Z.panelMode?"week":"date")),i.xp6(1),i.Gre("",Z.prefixCls,"-body"),i.xp6(1),i.Q6J("locale",Z.locale)("showWeek",Z.showWeek)("value",Z.value)("activeDate",Z.activeDate)("disabledDate",Z.disabledDate)("cellRender",Z.dateRender)("selectedValue",Z.selectedValue)("hoverValue",Z.hoverValue)("canSelectWeek","week"===Z.panelMode)}}function di(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"nz-time-picker-panel",10),i.NdJ("ngModelChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onSelectTime(_t))}),i.qZA(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("nzInDatePicker",!0)("ngModel",null==Z.value?null:Z.value.nativeDate)("format",Z.timeOptions.nzFormat)("nzHourStep",Z.timeOptions.nzHourStep)("nzMinuteStep",Z.timeOptions.nzMinuteStep)("nzSecondStep",Z.timeOptions.nzSecondStep)("nzDisabledHours",Z.timeOptions.nzDisabledHours)("nzDisabledMinutes",Z.timeOptions.nzDisabledMinutes)("nzDisabledSeconds",Z.timeOptions.nzDisabledSeconds)("nzHideDisabledOptions",!!Z.timeOptions.nzHideDisabledOptions)("nzDefaultOpenValue",Z.timeOptions.nzDefaultOpenValue)("nzUse12Hours",!!Z.timeOptions.nzUse12Hours)("nzAddOn",Z.timeOptions.nzAddOn)}}function oi(it,Qt){1&it&&i.GkF(0)}const ai=function(it){return{partType:it}};function ri(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,oi,1,0,"ng-container",7),i.BQk()),2&it){const Z=i.oxw(2),dt=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",dt)("ngTemplateOutletContext",i.VKq(2,ai,Z.datePickerService.activeInput))}}function hi(it,Qt){1&it&&i.GkF(0)}function Ti(it,Qt){1&it&&i.GkF(0)}const li=function(){return{partType:"left"}},fi=function(){return{partType:"right"}};function to(it,Qt){if(1&it&&(i.YNc(0,hi,1,0,"ng-container",7),i.YNc(1,Ti,1,0,"ng-container",7)),2&it){i.oxw(2);const Z=i.MAs(4);i.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",i.DdM(4,li)),i.xp6(1),i.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",i.DdM(5,fi))}}function oo(it,Qt){1&it&&i.GkF(0)}function Zi(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._UZ(2,"div"),i.TgZ(3,"div")(4,"div"),i.YNc(5,ri,2,4,"ng-container",0),i.YNc(6,to,2,6,"ng-template",null,5,i.W1O),i.qZA(),i.YNc(8,oo,1,0,"ng-container",6),i.qZA()(),i.BQk()),2&it){const Z=i.MAs(7),dt=i.oxw(),_t=i.MAs(6);i.xp6(1),i.MT6("",dt.prefixCls,"-range-wrapper ",dt.prefixCls,"-date-range-wrapper"),i.xp6(1),i.Akn(dt.arrowPosition),i.Gre("",dt.prefixCls,"-range-arrow"),i.xp6(1),i.MT6("",dt.prefixCls,"-panel-container ",dt.showWeek?dt.prefixCls+"-week-number":"",""),i.xp6(1),i.Gre("",dt.prefixCls,"-panels"),i.xp6(1),i.Q6J("ngIf",dt.hasTimePicker)("ngIfElse",Z),i.xp6(3),i.Q6J("ngTemplateOutlet",_t)}}function Ni(it,Qt){1&it&&i.GkF(0)}function ki(it,Qt){1&it&&i.GkF(0)}function $i(it,Qt){if(1&it&&(i.TgZ(0,"div")(1,"div",8),i.YNc(2,Ni,1,0,"ng-container",6),i.YNc(3,ki,1,0,"ng-container",6),i.qZA()()),2&it){const Z=i.oxw(),dt=i.MAs(4),_t=i.MAs(6);i.DjV("",Z.prefixCls,"-panel-container ",Z.showWeek?Z.prefixCls+"-week-number":""," ",Z.hasTimePicker?Z.prefixCls+"-time":""," ",Z.isRange?Z.prefixCls+"-range":"",""),i.xp6(1),i.Gre("",Z.prefixCls,"-panel"),i.ekj("ant-picker-panel-rtl","rtl"===Z.dir),i.xp6(1),i.Q6J("ngTemplateOutlet",dt),i.xp6(1),i.Q6J("ngTemplateOutlet",_t)}}function no(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"div")(1,"inner-popup",9),i.NdJ("panelModeChange",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.onPanelModeChange(_t,Cn))})("cellHover",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onCellHover(_t))})("selectDate",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.changeValueFromSelect(_t,!jt.showTime))})("selectTime",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.onSelectTime(_t,Cn))})("headerChange",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.onActiveDateChange(_t,Cn))}),i.qZA()()}if(2&it){const Z=Qt.partType,dt=i.oxw();i.Gre("",dt.prefixCls,"-panel"),i.ekj("ant-picker-panel-rtl","rtl"===dt.dir),i.xp6(1),i.Q6J("showWeek",dt.showWeek)("endPanelMode",dt.getPanelMode(dt.endPanelMode,Z))("partType",Z)("locale",dt.locale)("showTimePicker",dt.hasTimePicker)("timeOptions",dt.getTimeOptions(Z))("panelMode",dt.getPanelMode(dt.panelMode,Z))("activeDate",dt.getActiveDate(Z))("value",dt.getValue(Z))("disabledDate",dt.disabledDate)("dateRender",dt.dateRender)("selectedValue",null==dt.datePickerService?null:dt.datePickerService.value)("hoverValue",dt.hoverValue)}}function Eo(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"calendar-footer",11),i.NdJ("clickOk",function(){i.CHM(Z);const _t=i.oxw(2);return i.KtG(_t.onClickOk())})("clickToday",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onClickToday(_t))}),i.qZA()}if(2&it){const Z=i.oxw(2),dt=i.MAs(8);i.Q6J("locale",Z.locale)("isRange",Z.isRange)("showToday",Z.showToday)("showNow",Z.showNow)("hasTimePicker",Z.hasTimePicker)("okDisabled",!Z.isAllowed(null==Z.datePickerService?null:Z.datePickerService.value))("extraFooter",Z.extraFooter)("rangeQuickSelector",Z.ranges?dt:null)}}function wi(it,Qt){if(1&it&&i.YNc(0,Eo,1,8,"calendar-footer",10),2&it){const Z=i.oxw();i.Q6J("ngIf",Z.hasFooter)}}function Ji(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"li",13),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit,Cn=i.oxw(2);return i.KtG(Cn.onClickPresetRange(Cn.ranges[jt]))})("mouseenter",function(){const jt=i.CHM(Z).$implicit,Cn=i.oxw(2);return i.KtG(Cn.onHoverPresetRange(Cn.ranges[jt]))})("mouseleave",function(){i.CHM(Z);const _t=i.oxw(2);return i.KtG(_t.onPresetRangeMouseLeave())}),i.TgZ(1,"span",14),i._uU(2),i.qZA()()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-preset"),i.xp6(2),i.Oqu(Z)}}function Di(it,Qt){if(1&it&&i.YNc(0,Ji,3,4,"li",12),2&it){const Z=i.oxw();i.Q6J("ngForOf",Z.getObjectKeys(Z.ranges))}}const Wi=["separatorElement"],Xi=["pickerInput"],bi=["rangePickerInput"];function Ri(it,Qt){1&it&&i.GkF(0)}function Pi(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"div")(1,"input",7,8),i.NdJ("ngModelChange",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.inputValue=_t)})("focus",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onFocus(_t))})("focusout",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onFocusout(_t))})("ngModelChange",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onInputChange(_t))})("keyup.enter",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onKeyupEnter(_t))}),i.qZA(),i.YNc(3,Ri,1,0,"ng-container",9),i.qZA()}if(2&it){const Z=i.oxw(2),dt=i.MAs(4);i.Gre("",Z.prefixCls,"-input"),i.xp6(1),i.ekj("ant-input-disabled",Z.nzDisabled),i.s9C("placeholder",Z.getPlaceholder()),i.Q6J("disabled",Z.nzDisabled)("readOnly",Z.nzInputReadOnly)("ngModel",Z.inputValue)("size",Z.inputSize),i.uIk("id",Z.nzId),i.xp6(2),i.Q6J("ngTemplateOutlet",dt)}}function ni(it,Qt){1&it&&i.GkF(0)}function Vn(it,Qt){if(1&it&&(i.ynx(0),i._uU(1),i.BQk()),2&it){const Z=i.oxw(4);i.xp6(1),i.Oqu(Z.nzSeparator)}}function Mt(it,Qt){1&it&&i._UZ(0,"span",14)}function gn(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Vn,2,1,"ng-container",0),i.YNc(2,Mt,1,0,"ng-template",null,13,i.W1O),i.BQk()),2&it){const Z=i.MAs(3),dt=i.oxw(3);i.xp6(1),i.Q6J("ngIf",dt.nzSeparator)("ngIfElse",Z)}}function rt(it,Qt){1&it&&i.GkF(0)}function zt(it,Qt){1&it&&i.GkF(0)}function It(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,ni,1,0,"ng-container",10),i.qZA(),i.TgZ(3,"div",null,11)(5,"span"),i.YNc(6,gn,4,2,"ng-container",12),i.qZA()(),i.TgZ(7,"div"),i.YNc(8,rt,1,0,"ng-container",10),i.qZA(),i.YNc(9,zt,1,0,"ng-container",9),i.BQk()),2&it){const Z=i.oxw(2),dt=i.MAs(2),_t=i.MAs(4);i.xp6(1),i.Gre("",Z.prefixCls,"-input"),i.xp6(1),i.Q6J("ngTemplateOutlet",dt)("ngTemplateOutletContext",i.DdM(18,li)),i.xp6(1),i.Gre("",Z.prefixCls,"-range-separator"),i.xp6(2),i.Gre("",Z.prefixCls,"-separator"),i.xp6(1),i.Q6J("nzStringTemplateOutlet",Z.nzSeparator),i.xp6(1),i.Gre("",Z.prefixCls,"-input"),i.xp6(1),i.Q6J("ngTemplateOutlet",dt)("ngTemplateOutletContext",i.DdM(19,fi)),i.xp6(1),i.Q6J("ngTemplateOutlet",_t)}}function Xt(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Pi,4,12,"div",5),i.YNc(2,It,10,20,"ng-container",6),i.BQk()),2&it){const Z=i.oxw();i.xp6(1),i.Q6J("ngIf",!Z.isRange),i.xp6(1),i.Q6J("ngIf",Z.isRange)}}function _n(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"input",15,16),i.NdJ("click",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onClickInputBox(_t))})("focusout",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onFocusout(_t))})("focus",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.onFocus(_t,Cn))})("keyup.enter",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onKeyupEnter(_t))})("ngModelChange",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.inputValue[Pn.datePickerService.getActiveIndex(Cn)]=_t)})("ngModelChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onInputChange(_t))}),i.qZA()}if(2&it){const Z=Qt.partType,dt=i.oxw();i.s9C("placeholder",dt.getPlaceholder(Z)),i.Q6J("disabled",dt.nzDisabled)("readOnly",dt.nzInputReadOnly)("size",dt.inputSize)("ngModel",dt.inputValue[dt.datePickerService.getActiveIndex(Z)]),i.uIk("id",dt.nzId)}}function Fn(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"span",20),i.NdJ("click",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onClickClear(_t))}),i._UZ(1,"span",21),i.qZA()}if(2&it){const Z=i.oxw(2);i.Gre("",Z.prefixCls,"-clear")}}function On(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",22),i.BQk()),2&it){const Z=Qt.$implicit;i.xp6(1),i.Q6J("nzType",Z)}}function mi(it,Qt){if(1&it&&i._UZ(0,"nz-form-item-feedback-icon",23),2&it){const Z=i.oxw(2);i.Q6J("status",Z.status)}}function bt(it,Qt){if(1&it&&(i._UZ(0,"div",17),i.YNc(1,Fn,2,3,"span",18),i.TgZ(2,"span"),i.YNc(3,On,2,1,"ng-container",12),i.YNc(4,mi,1,1,"nz-form-item-feedback-icon",19),i.qZA()),2&it){const Z=i.oxw();i.Gre("",Z.prefixCls,"-active-bar"),i.Q6J("ngStyle",Z.activeBarStyle),i.xp6(1),i.Q6J("ngIf",Z.showClear()),i.xp6(1),i.Gre("",Z.prefixCls,"-suffix"),i.xp6(1),i.Q6J("nzStringTemplateOutlet",Z.nzSuffixIcon),i.xp6(1),i.Q6J("ngIf",Z.hasFeedback&&!!Z.status)}}function at(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"div",17)(1,"date-range-popup",24),i.NdJ("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onPanelModeChange(_t))})("calendarChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onCalendarChange(_t))})("resultOk",function(){i.CHM(Z);const _t=i.oxw();return i.KtG(_t.onResultOk())}),i.qZA()()}if(2&it){const Z=i.oxw();i.MT6("",Z.prefixCls,"-dropdown ",Z.nzDropdownClassName,""),i.ekj("ant-picker-dropdown-rtl","rtl"===Z.dir)("ant-picker-dropdown-placement-bottomLeft","bottom"===Z.currentPositionY&&"start"===Z.currentPositionX)("ant-picker-dropdown-placement-topLeft","top"===Z.currentPositionY&&"start"===Z.currentPositionX)("ant-picker-dropdown-placement-bottomRight","bottom"===Z.currentPositionY&&"end"===Z.currentPositionX)("ant-picker-dropdown-placement-topRight","top"===Z.currentPositionY&&"end"===Z.currentPositionX)("ant-picker-dropdown-range",Z.isRange)("ant-picker-active-left","left"===Z.datePickerService.activeInput)("ant-picker-active-right","right"===Z.datePickerService.activeInput),i.Q6J("ngStyle",Z.nzPopupStyle),i.xp6(1),i.Q6J("isRange",Z.isRange)("inline",Z.nzInline)("defaultPickerValue",Z.nzDefaultPickerValue)("showWeek",Z.nzShowWeekNumber||"week"===Z.nzMode)("panelMode",Z.panelMode)("locale",null==Z.nzLocale?null:Z.nzLocale.lang)("showToday","date"===Z.nzMode&&Z.nzShowToday&&!Z.isRange&&!Z.nzShowTime)("showNow","date"===Z.nzMode&&Z.nzShowNow&&!Z.isRange&&!!Z.nzShowTime)("showTime",Z.nzShowTime)("dateRender",Z.nzDateRender)("disabledDate",Z.nzDisabledDate)("disabledTime",Z.nzDisabledTime)("extraFooter",Z.extraFooter)("ranges",Z.nzRanges)("dir",Z.dir)}}function Je(it,Qt){1&it&&i.GkF(0)}function Rt(it,Qt){if(1&it&&(i.TgZ(0,"div",25),i.YNc(1,Je,1,0,"ng-container",9),i.qZA()),2&it){const Z=i.oxw(),dt=i.MAs(6);i.Q6J("nzNoAnimation",!(null==Z.noAnimation||!Z.noAnimation.nzNoAnimation))("@slideMotion","enter"),i.xp6(1),i.Q6J("ngTemplateOutlet",dt)}}const Kt="ant-picker",ln={nzDisabledHours:()=>[],nzDisabledMinutes:()=>[],nzDisabledSeconds:()=>[]};function mn(it,Qt){let Z=Qt?Qt(it&&it.nativeDate):{};return Z={...ln,...Z},Z}function Ai(it,Qt,Z){return!(!it||Qt&&Qt(it.nativeDate)||Z&&!function kn(it,Qt){return function Kn(it,Qt){let Z=!1;if(it){const dt=it.getHours(),_t=it.getMinutes(),jt=it.getSeconds();Z=-1!==Qt.nzDisabledHours().indexOf(dt)||-1!==Qt.nzDisabledMinutes(dt).indexOf(_t)||-1!==Qt.nzDisabledSeconds(dt,_t).indexOf(jt)}return!Z}(it,mn(it,Qt))}(it,Z))}function so(it){return it&&it.replace(/Y/g,"y").replace(/D/g,"d")}let Nn=(()=>{class it{constructor(Z){this.dateHelper=Z,this.showToday=!1,this.showNow=!1,this.hasTimePicker=!1,this.isRange=!1,this.okDisabled=!1,this.rangeQuickSelector=null,this.clickOk=new i.vpe,this.clickToday=new i.vpe,this.prefixCls=Kt,this.isTemplateRef=d.de,this.isNonEmptyString=d.HH,this.isTodayDisabled=!1,this.todayTitle=""}ngOnChanges(Z){const dt=new Date;if(Z.disabledDate&&(this.isTodayDisabled=!(!this.disabledDate||!this.disabledDate(dt))),Z.locale){const _t=so(this.locale.dateFormat);this.todayTitle=this.dateHelper.format(dt,_t)}}onClickToday(){const Z=new _.Yp;this.clickToday.emit(Z.clone())}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["calendar-footer"]],inputs:{locale:"locale",showToday:"showToday",showNow:"showNow",hasTimePicker:"hasTimePicker",isRange:"isRange",okDisabled:"okDisabled",disabledDate:"disabledDate",extraFooter:"extraFooter",rangeQuickSelector:"rangeQuickSelector"},outputs:{clickOk:"clickOk",clickToday:"clickToday"},exportAs:["calendarFooter"],features:[i.TTD],decls:4,vars:6,consts:[[3,"class",4,"ngIf"],["role","button",3,"class","title","click",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngTemplateOutlet"],[3,"innerHTML"],["role","button",3,"title","click"],[3,"click"],["nz-button","","type","button","nzType","primary","nzSize","small",3,"disabled","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div"),i.YNc(1,re,4,6,"div",0),i.YNc(2,De,2,6,"a",1),i.YNc(3,ne,4,6,"ul",0),i.qZA()),2&dt&&(i.Gre("",_t.prefixCls,"-footer"),i.xp6(1),i.Q6J("ngIf",_t.extraFooter),i.xp6(1),i.Q6J("ngIf",_t.showToday),i.xp6(1),i.Q6J("ngIf",_t.hasTimePicker||_t.rangeQuickSelector))},dependencies:[t.O5,t.tP,t.RF,t.n9,h.ix,f.w,C.dQ],encapsulation:2,changeDetection:0})}return it})(),Ro=(()=>{class it{constructor(){this.activeInput="left",this.arrowLeft=0,this.isRange=!1,this.valueChange$=new D.t(1),this.emitValue$=new y.x,this.inputPartChange$=new y.x}initValue(Z=!1){Z&&(this.initialValue=this.isRange?[]:null),this.setValue(this.initialValue)}hasValue(Z=this.value){return Array.isArray(Z)?!!Z[0]||!!Z[1]:!!Z}makeValue(Z){return this.isRange?Z?Z.map(dt=>new _.Yp(dt)):[]:Z?new _.Yp(Z):null}setActiveDate(Z,dt=!1,_t="month"){this.activeDate=this.isRange?(0,_._p)(Z,dt,{date:"month",month:"year",year:"decade"}[_t],this.activeInput):(0,_.ky)(Z)}setValue(Z){this.value=Z,this.valueChange$.next(this.value)}getActiveIndex(Z=this.activeInput){return{left:0,right:1}[Z]}ngOnDestroy(){this.valueChange$.complete(),this.emitValue$.complete(),this.inputPartChange$.complete()}static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275prov=i.Yz7({token:it,factory:it.\u0275fac})}return it})(),Do=(()=>{class it{constructor(){this.prefixCls="ant-picker-header",this.selectors=[],this.showSuperPreBtn=!0,this.showSuperNextBtn=!0,this.showPreBtn=!0,this.showNextBtn=!0,this.panelModeChange=new i.vpe,this.valueChange=new i.vpe}superPreviousTitle(){return this.locale.previousYear}previousTitle(){return this.locale.previousMonth}superNextTitle(){return this.locale.nextYear}nextTitle(){return this.locale.nextMonth}superPrevious(){this.changeValue(this.value.addYears(-1))}superNext(){this.changeValue(this.value.addYears(1))}previous(){this.changeValue(this.value.addMonths(-1))}next(){this.changeValue(this.value.addMonths(1))}changeValue(Z){this.value!==Z&&(this.value=Z,this.valueChange.emit(this.value),this.render())}changeMode(Z){this.panelModeChange.emit(Z)}render(){this.value&&(this.selectors=this.getSelectors())}ngOnInit(){this.value||(this.value=new _.Yp),this.selectors=this.getSelectors()}ngOnChanges(Z){(Z.value||Z.locale)&&this.render()}static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275dir=i.lG2({type:it,inputs:{value:"value",locale:"locale",showSuperPreBtn:"showSuperPreBtn",showSuperNextBtn:"showSuperNextBtn",showPreBtn:"showPreBtn",showNextBtn:"showNextBtn"},outputs:{panelModeChange:"panelModeChange",valueChange:"valueChange"},features:[i.TTD]})}return it})(),Yo=(()=>{class it extends Do{constructor(Z){super(),this.dateHelper=Z}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:this.locale.yearSelect,onClick:()=>this.changeMode("year"),label:this.dateHelper.format(this.value.nativeDate,so(this.locale.yearFormat))},{className:`${this.prefixCls}-month-btn`,title:this.locale.monthSelect,onClick:()=>this.changeMode("month"),label:this.dateHelper.format(this.value.nativeDate,this.locale.monthFormat||"MMM")}]}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["date-header"]],exportAs:["dateHeader"],features:[i.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"button",0),i.NdJ("click",function(){return _t.superPrevious()}),i._UZ(2,"span",1),i.qZA(),i.TgZ(3,"button",0),i.NdJ("click",function(){return _t.previous()}),i._UZ(4,"span",2),i.qZA(),i.TgZ(5,"div"),i.YNc(6,le,3,5,"ng-container",3),i.qZA(),i.TgZ(7,"button",0),i.NdJ("click",function(){return _t.next()}),i._UZ(8,"span",4),i.qZA(),i.TgZ(9,"button",0),i.NdJ("click",function(){return _t.superNext()}),i._UZ(10,"span",5),i.qZA()()),2&dt&&(i.Tol(_t.prefixCls),i.xp6(1),i.Gre("",_t.prefixCls,"-super-prev-btn"),i.Udp("visibility",_t.showSuperPreBtn?"visible":"hidden"),i.s9C("title",_t.superPreviousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-prev-btn"),i.Udp("visibility",_t.showPreBtn?"visible":"hidden"),i.s9C("title",_t.previousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-view"),i.xp6(1),i.Q6J("ngForOf",_t.selectors),i.xp6(1),i.Gre("",_t.prefixCls,"-next-btn"),i.Udp("visibility",_t.showNextBtn?"visible":"hidden"),i.s9C("title",_t.nextTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-super-next-btn"),i.Udp("visibility",_t.showSuperNextBtn?"visible":"hidden"),i.s9C("title",_t.superNextTitle()))},dependencies:[t.sg],encapsulation:2,changeDetection:0})}return it})(),xi=(()=>{class it{constructor(){this.isTemplateRef=d.de,this.isNonEmptyString=d.HH,this.headRow=[],this.bodyRows=[],this.MAX_ROW=6,this.MAX_COL=7,this.prefixCls="ant-picker",this.activeDate=new _.Yp,this.showWeek=!1,this.selectedValue=[],this.hoverValue=[],this.canSelectWeek=!1,this.valueChange=new i.vpe,this.cellHover=new i.vpe}render(){this.activeDate&&(this.headRow=this.makeHeadRow(),this.bodyRows=this.makeBodyRows())}trackByBodyRow(Z,dt){return dt.trackByIndex}trackByBodyColumn(Z,dt){return dt.trackByIndex}hasRangeValue(){return this.selectedValue?.length>0||this.hoverValue?.length>0}getClassMap(Z){return{"ant-picker-cell":!0,"ant-picker-cell-in-view":!0,"ant-picker-cell-selected":Z.isSelected,"ant-picker-cell-disabled":Z.isDisabled,"ant-picker-cell-in-range":!!Z.isInSelectedRange,"ant-picker-cell-range-start":!!Z.isSelectedStart,"ant-picker-cell-range-end":!!Z.isSelectedEnd,"ant-picker-cell-range-start-single":!!Z.isStartSingle,"ant-picker-cell-range-end-single":!!Z.isEndSingle,"ant-picker-cell-range-hover":!!Z.isInHoverRange,"ant-picker-cell-range-hover-start":!!Z.isHoverStart,"ant-picker-cell-range-hover-end":!!Z.isHoverEnd,"ant-picker-cell-range-hover-edge-start":!!Z.isFirstCellInPanel,"ant-picker-cell-range-hover-edge-end":!!Z.isLastCellInPanel,"ant-picker-cell-range-start-near-hover":!!Z.isRangeStartNearHover,"ant-picker-cell-range-end-near-hover":!!Z.isRangeEndNearHover}}ngOnInit(){this.render()}ngOnChanges(Z){Z.activeDate&&!Z.activeDate.currentValue&&(this.activeDate=new _.Yp),(Z.disabledDate||Z.locale||Z.showWeek||Z.selectWeek||this.isDateRealChange(Z.activeDate)||this.isDateRealChange(Z.value)||this.isDateRealChange(Z.selectedValue)||this.isDateRealChange(Z.hoverValue))&&this.render()}isDateRealChange(Z){if(Z){const dt=Z.previousValue,_t=Z.currentValue;return Array.isArray(_t)?!Array.isArray(dt)||_t.length!==dt.length||_t.some((jt,Cn)=>{const Pn=dt[Cn];return Pn instanceof _.Yp?Pn.isSameDay(jt):Pn!==jt}):!this.isSameDate(dt,_t)}return!1}isSameDate(Z,dt){return!Z&&!dt||Z&&dt&&dt.isSameDay(Z)}static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275dir=i.lG2({type:it,inputs:{prefixCls:"prefixCls",value:"value",locale:"locale",activeDate:"activeDate",showWeek:"showWeek",selectedValue:"selectedValue",hoverValue:"hoverValue",disabledDate:"disabledDate",cellRender:"cellRender",fullCellRender:"fullCellRender",canSelectWeek:"canSelectWeek"},outputs:{valueChange:"valueChange",cellHover:"cellHover"},features:[i.TTD]})}return it})(),wo=(()=>{class it extends xi{constructor(Z,dt){super(),this.i18n=Z,this.dateHelper=dt}changeValueFromInside(Z){this.activeDate=this.activeDate.setYear(Z.getYear()).setMonth(Z.getMonth()).setDate(Z.getDate()),this.valueChange.emit(this.activeDate),this.activeDate.isSameMonth(this.value)||this.render()}makeHeadRow(){const Z=[],dt=this.activeDate.calendarStart({weekStartsOn:this.dateHelper.getFirstDayOfWeek()});for(let _t=0;_tthis.changeValueFromInside(Mi),onMouseEnter:()=>this.cellHover.emit(Mi)};this.addCellProperty(ji,Mi),this.showWeek&&!Cn.weekNum&&(Cn.weekNum=this.dateHelper.getISOWeek(Mi.nativeDate)),Mi.isSameDay(this.value)&&(Cn.isActive=Mi.isSameDay(this.value)),Cn.dateCells.push(ji)}Cn.classMap={"ant-picker-week-panel-row":this.canSelectWeek,"ant-picker-week-panel-row-selected":this.canSelectWeek&&Cn.isActive},Z.push(Cn)}return Z}addCellProperty(Z,dt){if(this.hasRangeValue()&&!this.canSelectWeek){const[_t,jt]=this.hoverValue,[Cn,Pn]=this.selectedValue;Cn?.isSameDay(dt)&&(Z.isSelectedStart=!0,Z.isSelected=!0),Pn?.isSameDay(dt)&&(Z.isSelectedEnd=!0,Z.isSelected=!0),_t&&jt&&(Z.isHoverStart=_t.isSameDay(dt),Z.isHoverEnd=jt.isSameDay(dt),Z.isLastCellInPanel=dt.isLastDayOfMonth(),Z.isFirstCellInPanel=dt.isFirstDayOfMonth(),Z.isInHoverRange=_t.isBeforeDay(dt)&&dt.isBeforeDay(jt)),Z.isStartSingle=Cn&&!Pn,Z.isEndSingle=!Cn&&Pn,Z.isInSelectedRange=Cn?.isBeforeDay(dt)&&dt.isBeforeDay(Pn),Z.isRangeStartNearHover=Cn&&Z.isInHoverRange,Z.isRangeEndNearHover=Pn&&Z.isInHoverRange}Z.isToday=dt.isToday(),Z.isSelected=dt.isSameDay(this.value),Z.isDisabled=!!this.disabledDate?.(dt.nativeDate),Z.classMap=this.getClassMap(Z)}getClassMap(Z){const dt=new _.Yp(Z.value);return{...super.getClassMap(Z),"ant-picker-cell-today":!!Z.isToday,"ant-picker-cell-in-view":dt.isSameMonth(this.activeDate)}}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.wi),i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["date-table"]],inputs:{locale:"locale"},exportAs:["dateTable"],features:[i.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(dt,_t){1&dt&&(i.TgZ(0,"table",0),i.YNc(1,ke,4,2,"thead",1),i.TgZ(2,"tbody"),i.YNc(3,U,3,4,"tr",2),i.qZA()()),2&dt&&(i.xp6(1),i.Q6J("ngIf",_t.headRow&&_t.headRow.length>0),i.xp6(2),i.Q6J("ngForOf",_t.bodyRows)("ngForTrackBy",_t.trackByBodyRow))},dependencies:[t.mk,t.sg,t.O5,t.tP,t.RF,t.n9,t.ED],encapsulation:2,changeDetection:0})}return it})(),Xo=(()=>{class it extends Do{previous(){}next(){}get startYear(){return 100*parseInt(""+this.value.getYear()/100,10)}get endYear(){return this.startYear+99}superPrevious(){this.changeValue(this.value.addYears(-100))}superNext(){this.changeValue(this.value.addYears(100))}getSelectors(){return[{className:`${this.prefixCls}-decade-btn`,title:"",onClick:()=>{},label:`${this.startYear}-${this.endYear}`}]}static#e=this.\u0275fac=function(){let Z;return function(_t){return(Z||(Z=i.n5z(it)))(_t||it)}}();static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["decade-header"]],exportAs:["decadeHeader"],features:[i.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"button",0),i.NdJ("click",function(){return _t.superPrevious()}),i._UZ(2,"span",1),i.qZA(),i.TgZ(3,"button",0),i.NdJ("click",function(){return _t.previous()}),i._UZ(4,"span",2),i.qZA(),i.TgZ(5,"div"),i.YNc(6,B,3,5,"ng-container",3),i.qZA(),i.TgZ(7,"button",0),i.NdJ("click",function(){return _t.next()}),i._UZ(8,"span",4),i.qZA(),i.TgZ(9,"button",0),i.NdJ("click",function(){return _t.superNext()}),i._UZ(10,"span",5),i.qZA()()),2&dt&&(i.Tol(_t.prefixCls),i.xp6(1),i.Gre("",_t.prefixCls,"-super-prev-btn"),i.Udp("visibility",_t.showSuperPreBtn?"visible":"hidden"),i.s9C("title",_t.superPreviousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-prev-btn"),i.Udp("visibility",_t.showPreBtn?"visible":"hidden"),i.s9C("title",_t.previousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-view"),i.xp6(1),i.Q6J("ngForOf",_t.selectors),i.xp6(1),i.Gre("",_t.prefixCls,"-next-btn"),i.Udp("visibility",_t.showNextBtn?"visible":"hidden"),i.s9C("title",_t.nextTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-super-next-btn"),i.Udp("visibility",_t.showSuperNextBtn?"visible":"hidden"),i.s9C("title",_t.superNextTitle()))},dependencies:[t.sg],encapsulation:2,changeDetection:0})}return it})(),qo=(()=>{class it extends xi{get startYear(){return 100*parseInt(""+this.activeDate.getYear()/100,10)}get endYear(){return this.startYear+99}makeHeadRow(){return[]}makeBodyRows(){const Z=[],dt=this.value&&this.value.getYear(),_t=this.startYear,jt=this.endYear,Cn=_t-10;let Pn=0;for(let Mi=0;Mi<4;Mi++){const fo={dateCells:[],trackByIndex:Mi};for(let qi=0;qi<3;qi++){const mo=Cn+10*Pn,ji=Cn+10*Pn+9,rs=`${mo}-${ji}`,Lo={trackByIndex:qi,value:this.activeDate.setYear(mo).nativeDate,content:rs,title:rs,isDisabled:!1,isSelected:dt>=mo&&dt<=ji,isLowerThanStart:ji<_t,isBiggerThanEnd:mo>jt,classMap:{},onClick(){},onMouseEnter(){}};Lo.classMap=this.getClassMap(Lo),Lo.onClick=()=>this.chooseDecade(mo),Pn++,fo.dateCells.push(Lo)}Z.push(fo)}return Z}getClassMap(Z){return{[`${this.prefixCls}-cell`]:!0,[`${this.prefixCls}-cell-in-view`]:!Z.isBiggerThanEnd&&!Z.isLowerThanStart,[`${this.prefixCls}-cell-selected`]:Z.isSelected,[`${this.prefixCls}-cell-disabled`]:Z.isDisabled}}chooseDecade(Z){this.value=this.activeDate.setYear(Z),this.valueChange.emit(this.value)}static#e=this.\u0275fac=function(){let Z;return function(_t){return(Z||(Z=i.n5z(it)))(_t||it)}}();static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["decade-table"]],exportAs:["decadeTable"],features:[i.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(dt,_t){1&dt&&(i.TgZ(0,"table",0),i.YNc(1,Le,4,2,"thead",1),i.TgZ(2,"tbody"),i.YNc(3,Nt,3,4,"tr",2),i.qZA()()),2&dt&&(i.xp6(1),i.Q6J("ngIf",_t.headRow&&_t.headRow.length>0),i.xp6(2),i.Q6J("ngForOf",_t.bodyRows)("ngForTrackBy",_t.trackByBodyRow))},dependencies:[t.mk,t.sg,t.O5,t.tP,t.RF,t.n9,t.ED],encapsulation:2,changeDetection:0})}return it})(),Po=(()=>{class it extends Do{constructor(Z){super(),this.dateHelper=Z}getSelectors(){return[{className:`${this.prefixCls}-month-btn`,title:this.locale.yearSelect,onClick:()=>this.changeMode("year"),label:this.dateHelper.format(this.value.nativeDate,so(this.locale.yearFormat))}]}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["month-header"]],exportAs:["monthHeader"],features:[i.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"button",0),i.NdJ("click",function(){return _t.superPrevious()}),i._UZ(2,"span",1),i.qZA(),i.TgZ(3,"button",0),i.NdJ("click",function(){return _t.previous()}),i._UZ(4,"span",2),i.qZA(),i.TgZ(5,"div"),i.YNc(6,kt,3,5,"ng-container",3),i.qZA(),i.TgZ(7,"button",0),i.NdJ("click",function(){return _t.next()}),i._UZ(8,"span",4),i.qZA(),i.TgZ(9,"button",0),i.NdJ("click",function(){return _t.superNext()}),i._UZ(10,"span",5),i.qZA()()),2&dt&&(i.Tol(_t.prefixCls),i.xp6(1),i.Gre("",_t.prefixCls,"-super-prev-btn"),i.Udp("visibility",_t.showSuperPreBtn?"visible":"hidden"),i.s9C("title",_t.superPreviousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-prev-btn"),i.Udp("visibility",_t.showPreBtn?"visible":"hidden"),i.s9C("title",_t.previousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-view"),i.xp6(1),i.Q6J("ngForOf",_t.selectors),i.xp6(1),i.Gre("",_t.prefixCls,"-next-btn"),i.Udp("visibility",_t.showNextBtn?"visible":"hidden"),i.s9C("title",_t.nextTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-super-next-btn"),i.Udp("visibility",_t.showSuperNextBtn?"visible":"hidden"),i.s9C("title",_t.superNextTitle()))},dependencies:[t.sg],encapsulation:2,changeDetection:0})}return it})(),po=(()=>{class it extends xi{constructor(Z){super(),this.dateHelper=Z,this.MAX_ROW=4,this.MAX_COL=3}makeHeadRow(){return[]}makeBodyRows(){const Z=[];let dt=0;for(let _t=0;_tthis.chooseMonth(qi.value.getMonth()),onMouseEnter:()=>this.cellHover.emit(Pn)};this.addCellProperty(qi,Pn),jt.dateCells.push(qi),dt++}Z.push(jt)}return Z}isDisabledMonth(Z){if(!this.disabledDate)return!1;for(let _t=Z.setDate(1);_t.getMonth()===Z.getMonth();_t=_t.addDays(1))if(!this.disabledDate(_t.nativeDate))return!1;return!0}addCellProperty(Z,dt){if(this.hasRangeValue()){const[_t,jt]=this.hoverValue,[Cn,Pn]=this.selectedValue;Cn?.isSameMonth(dt)&&(Z.isSelectedStart=!0,Z.isSelected=!0),Pn?.isSameMonth(dt)&&(Z.isSelectedEnd=!0,Z.isSelected=!0),_t&&jt&&(Z.isHoverStart=_t.isSameMonth(dt),Z.isHoverEnd=jt.isSameMonth(dt),Z.isLastCellInPanel=11===dt.getMonth(),Z.isFirstCellInPanel=0===dt.getMonth(),Z.isInHoverRange=_t.isBeforeMonth(dt)&&dt.isBeforeMonth(jt)),Z.isStartSingle=Cn&&!Pn,Z.isEndSingle=!Cn&&Pn,Z.isInSelectedRange=Cn?.isBeforeMonth(dt)&&dt?.isBeforeMonth(Pn),Z.isRangeStartNearHover=Cn&&Z.isInHoverRange,Z.isRangeEndNearHover=Pn&&Z.isInHoverRange}else dt.isSameMonth(this.value)&&(Z.isSelected=!0);Z.classMap=this.getClassMap(Z)}chooseMonth(Z){this.value=this.activeDate.setMonth(Z),this.valueChange.emit(this.value)}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["month-table"]],exportAs:["monthTable"],features:[i.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(dt,_t){1&dt&&(i.TgZ(0,"table",0),i.YNc(1,Fe,4,2,"thead",1),i.TgZ(2,"tbody"),i.YNc(3,ve,3,4,"tr",2),i.qZA()()),2&dt&&(i.xp6(1),i.Q6J("ngIf",_t.headRow&&_t.headRow.length>0),i.xp6(2),i.Q6J("ngForOf",_t.bodyRows)("ngForTrackBy",_t.trackByBodyRow))},dependencies:[t.mk,t.sg,t.O5,t.tP,t.RF,t.n9,t.ED],encapsulation:2,changeDetection:0})}return it})(),zo=(()=>{class it extends Do{get startYear(){return 10*parseInt(""+this.value.getYear()/10,10)}get endYear(){return this.startYear+9}superPrevious(){this.changeValue(this.value.addYears(-10))}superNext(){this.changeValue(this.value.addYears(10))}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:"",onClick:()=>this.changeMode("decade"),label:`${this.startYear}-${this.endYear}`}]}static#e=this.\u0275fac=function(){let Z;return function(_t){return(Z||(Z=i.n5z(it)))(_t||it)}}();static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["year-header"]],exportAs:["yearHeader"],features:[i.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"button",0),i.NdJ("click",function(){return _t.superPrevious()}),i._UZ(2,"span",1),i.qZA(),i.TgZ(3,"button",0),i.NdJ("click",function(){return _t.previous()}),i._UZ(4,"span",2),i.qZA(),i.TgZ(5,"div"),i.YNc(6,nt,3,5,"ng-container",3),i.qZA(),i.TgZ(7,"button",0),i.NdJ("click",function(){return _t.next()}),i._UZ(8,"span",4),i.qZA(),i.TgZ(9,"button",0),i.NdJ("click",function(){return _t.superNext()}),i._UZ(10,"span",5),i.qZA()()),2&dt&&(i.Tol(_t.prefixCls),i.xp6(1),i.Gre("",_t.prefixCls,"-super-prev-btn"),i.Udp("visibility",_t.showSuperPreBtn?"visible":"hidden"),i.s9C("title",_t.superPreviousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-prev-btn"),i.Udp("visibility",_t.showPreBtn?"visible":"hidden"),i.s9C("title",_t.previousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-view"),i.xp6(1),i.Q6J("ngForOf",_t.selectors),i.xp6(1),i.Gre("",_t.prefixCls,"-next-btn"),i.Udp("visibility",_t.showNextBtn?"visible":"hidden"),i.s9C("title",_t.nextTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-super-next-btn"),i.Udp("visibility",_t.showSuperNextBtn?"visible":"hidden"),i.s9C("title",_t.superNextTitle()))},dependencies:[t.sg],encapsulation:2,changeDetection:0})}return it})(),Io=(()=>{class it extends xi{constructor(Z){super(),this.dateHelper=Z,this.MAX_ROW=4,this.MAX_COL=3}makeHeadRow(){return[]}makeBodyRows(){const Z=this.activeDate&&this.activeDate.getYear(),dt=10*parseInt(""+Z/10,10),_t=dt+9,jt=dt-1,Cn=[];let Pn=0;for(let Mi=0;Mi=dt&&mo<=_t,isSelected:mo===(this.value&&this.value.getYear()),content:rs,title:rs,classMap:{},isLastCellInPanel:ji.getYear()===_t,isFirstCellInPanel:ji.getYear()===dt,cellRender:(0,d.rw)(this.cellRender,ji),fullCellRender:(0,d.rw)(this.fullCellRender,ji),onClick:()=>this.chooseYear(_i.value.getFullYear()),onMouseEnter:()=>this.cellHover.emit(ji)};this.addCellProperty(_i,ji),fo.dateCells.push(_i),Pn++}Cn.push(fo)}return Cn}getClassMap(Z){return{...super.getClassMap(Z),"ant-picker-cell-in-view":!!Z.isSameDecade}}isDisabledYear(Z){if(!this.disabledDate)return!1;for(let _t=Z.setMonth(0).setDate(1);_t.getYear()===Z.getYear();_t=_t.addDays(1))if(!this.disabledDate(_t.nativeDate))return!1;return!0}addCellProperty(Z,dt){if(this.hasRangeValue()){const[_t,jt]=this.hoverValue,[Cn,Pn]=this.selectedValue;Cn?.isSameYear(dt)&&(Z.isSelectedStart=!0,Z.isSelected=!0),Pn?.isSameYear(dt)&&(Z.isSelectedEnd=!0,Z.isSelected=!0),_t&&jt&&(Z.isHoverStart=_t.isSameYear(dt),Z.isHoverEnd=jt.isSameYear(dt),Z.isInHoverRange=_t.isBeforeYear(dt)&&dt.isBeforeYear(jt)),Z.isStartSingle=Cn&&!Pn,Z.isEndSingle=!Cn&&Pn,Z.isInSelectedRange=Cn?.isBeforeYear(dt)&&dt?.isBeforeYear(Pn),Z.isRangeStartNearHover=Cn&&Z.isInHoverRange,Z.isRangeEndNearHover=Pn&&Z.isInHoverRange}else dt.isSameYear(this.value)&&(Z.isSelected=!0);Z.classMap=this.getClassMap(Z)}chooseYear(Z){this.value=this.activeDate.setYear(Z),this.valueChange.emit(this.value),this.render()}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["year-table"]],exportAs:["yearTable"],features:[i.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(dt,_t){1&dt&&(i.TgZ(0,"table",0),i.YNc(1,O,4,2,"thead",1),i.TgZ(2,"tbody"),i.YNc(3,xn,3,4,"tr",2),i.qZA()()),2&dt&&(i.xp6(1),i.Q6J("ngIf",_t.headRow&&_t.headRow.length>0),i.xp6(2),i.Q6J("ngForOf",_t.bodyRows)("ngForTrackBy",_t.trackByBodyRow))},dependencies:[t.mk,t.sg,t.O5,t.tP,t.RF,t.n9,t.ED],encapsulation:2,changeDetection:0})}return it})(),Xn=(()=>{class it{constructor(){this.panelModeChange=new i.vpe,this.headerChange=new i.vpe,this.selectDate=new i.vpe,this.selectTime=new i.vpe,this.cellHover=new i.vpe,this.prefixCls=Kt}enablePrevNext(Z,dt){return!(!this.showTimePicker&&dt===this.endPanelMode&&("left"===this.partType&&"next"===Z||"right"===this.partType&&"prev"===Z))}onSelectTime(Z){this.selectTime.emit(new _.Yp(Z))}onSelectDate(Z){const dt=Z instanceof _.Yp?Z:new _.Yp(Z),_t=this.timeOptions&&this.timeOptions.nzDefaultOpenValue;!this.value&&_t&&dt.setHms(_t.getHours(),_t.getMinutes(),_t.getSeconds()),this.selectDate.emit(dt)}onChooseMonth(Z){this.activeDate=this.activeDate.setMonth(Z.getMonth()),"month"===this.endPanelMode?(this.value=Z,this.selectDate.emit(Z)):(this.headerChange.emit(Z),this.panelModeChange.emit(this.endPanelMode))}onChooseYear(Z){this.activeDate=this.activeDate.setYear(Z.getYear()),"year"===this.endPanelMode?(this.value=Z,this.selectDate.emit(Z)):(this.headerChange.emit(Z),this.panelModeChange.emit(this.endPanelMode))}onChooseDecade(Z){this.activeDate=this.activeDate.setYear(Z.getYear()),"decade"===this.endPanelMode?(this.value=Z,this.selectDate.emit(Z)):(this.headerChange.emit(Z),this.panelModeChange.emit("year"))}ngOnChanges(Z){Z.activeDate&&!Z.activeDate.currentValue&&(this.activeDate=new _.Yp),Z.panelMode&&"time"===Z.panelMode.currentValue&&(this.panelMode="date")}static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["inner-popup"]],inputs:{activeDate:"activeDate",endPanelMode:"endPanelMode",panelMode:"panelMode",showWeek:"showWeek",locale:"locale",showTimePicker:"showTimePicker",timeOptions:"timeOptions",disabledDate:"disabledDate",dateRender:"dateRender",selectedValue:"selectedValue",hoverValue:"hoverValue",value:"value",partType:"partType"},outputs:{panelModeChange:"panelModeChange",headerChange:"headerChange",selectDate:"selectDate",selectTime:"selectTime",cellHover:"cellHover"},exportAs:["innerPopup"],features:[i.TTD],decls:8,vars:11,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showNextBtn","showPreBtn","valueChange","panelModeChange"],[3,"activeDate","value","locale","disabledDate","valueChange"],[3,"activeDate","value","locale","disabledDate","selectedValue","hoverValue","valueChange","cellHover"],[3,"value","activeDate","locale","disabledDate","selectedValue","hoverValue","valueChange","cellHover"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showPreBtn","showNextBtn","valueChange","panelModeChange"],[3,"locale","showWeek","value","activeDate","disabledDate","cellRender","selectedValue","hoverValue","canSelectWeek","valueChange","cellHover"],[3,"nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn","ngModelChange"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"div"),i.ynx(2,0),i.YNc(3,Ln,4,13,"ng-container",1),i.YNc(4,ei,4,15,"ng-container",1),i.YNc(5,ii,4,15,"ng-container",1),i.YNc(6,Hn,4,18,"ng-container",2),i.BQk(),i.qZA(),i.YNc(7,di,2,13,"ng-container",3),i.qZA()),2&dt&&(i.ekj("ant-picker-datetime-panel",_t.showTimePicker),i.xp6(1),i.MT6("",_t.prefixCls,"-",_t.panelMode,"-panel"),i.xp6(1),i.Q6J("ngSwitch",_t.panelMode),i.xp6(1),i.Q6J("ngSwitchCase","decade"),i.xp6(1),i.Q6J("ngSwitchCase","year"),i.xp6(1),i.Q6J("ngSwitchCase","month"),i.xp6(2),i.Q6J("ngIf",_t.showTimePicker&&_t.timeOptions))},dependencies:[t.O5,t.RF,t.n9,t.ED,l.JJ,l.On,Yo,wo,Xo,qo,Po,po,zo,Io,v.Iv],encapsulation:2,changeDetection:0})}return it})(),ds=(()=>{class it{get hasTimePicker(){return!!this.showTime}get hasFooter(){return this.showToday||this.hasTimePicker||!!this.extraFooter||!!this.ranges}get arrowPosition(){return"rtl"===this.dir?{right:`${this.datePickerService?.arrowLeft}px`}:{left:`${this.datePickerService?.arrowLeft}px`}}constructor(Z,dt,_t,jt){this.datePickerService=Z,this.cdr=dt,this.ngZone=_t,this.host=jt,this.inline=!1,this.dir="ltr",this.panelModeChange=new i.vpe,this.calendarChange=new i.vpe,this.resultOk=new i.vpe,this.prefixCls=Kt,this.endPanelMode="date",this.timeOptions=null,this.hoverValue=[],this.checkedPartArr=[!1,!1],this.destroy$=new y.x,this.disabledStartTime=Cn=>this.disabledTime&&this.disabledTime(Cn,"start"),this.disabledEndTime=Cn=>this.disabledTime&&this.disabledTime(Cn,"end")}ngOnInit(){(0,P.T)(this.datePickerService.valueChange$,this.datePickerService.inputPartChange$).pipe((0,k.R)(this.destroy$)).subscribe(()=>{this.updateActiveDate(),this.cdr.markForCheck()}),this.ngZone.runOutsideAngular(()=>{(0,S.R)(this.host.nativeElement,"mousedown").pipe((0,k.R)(this.destroy$)).subscribe(Z=>Z.preventDefault())})}ngOnChanges(Z){(Z.showTime||Z.disabledTime)&&this.showTime&&this.buildTimeOptions(),Z.panelMode&&(this.endPanelMode=this.panelMode),Z.defaultPickerValue&&this.updateActiveDate()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}updateActiveDate(){const Z=this.datePickerService.hasValue()?this.datePickerService.value:this.datePickerService.makeValue(this.defaultPickerValue);this.datePickerService.setActiveDate(Z,this.hasTimePicker,this.getPanelMode(this.endPanelMode))}onClickOk(){this.changeValueFromSelect(this.isRange?this.datePickerService.value[{left:0,right:1}[this.datePickerService.activeInput]]:this.datePickerService.value),this.resultOk.emit()}onClickToday(Z){this.changeValueFromSelect(Z,!this.showTime)}onCellHover(Z){if(!this.isRange)return;const _t=this.datePickerService.value[{left:1,right:0}[this.datePickerService.activeInput]];_t&&(this.hoverValue=_t.isBeforeDay(Z)?[_t,Z]:[Z,_t])}onPanelModeChange(Z,dt){this.panelMode=this.isRange?0===this.datePickerService.getActiveIndex(dt)?[Z,this.panelMode[1]]:[this.panelMode[0],Z]:Z,this.panelModeChange.emit(this.panelMode)}onActiveDateChange(Z,dt){if(this.isRange){const _t=[];_t[this.datePickerService.getActiveIndex(dt)]=Z,this.datePickerService.setActiveDate(_t,this.hasTimePicker,this.getPanelMode(this.endPanelMode,dt))}else this.datePickerService.setActiveDate(Z)}onSelectTime(Z,dt){if(this.isRange){const _t=(0,_.ky)(this.datePickerService.value),jt=this.datePickerService.getActiveIndex(dt);_t[jt]=this.overrideHms(Z,_t[jt]),this.datePickerService.setValue(_t)}else{const _t=this.overrideHms(Z,this.datePickerService.value);this.datePickerService.setValue(_t)}this.datePickerService.inputPartChange$.next(null),this.buildTimeOptions()}changeValueFromSelect(Z,dt=!0){if(this.isRange){const _t=(0,_.ky)(this.datePickerService.value),jt=this.datePickerService.activeInput;let Cn=jt;_t[this.datePickerService.getActiveIndex(jt)]=Z,this.checkedPartArr[this.datePickerService.getActiveIndex(jt)]=!0,this.hoverValue=_t,dt?this.inline?(Cn=this.reversedPart(jt),"right"===Cn&&(_t[this.datePickerService.getActiveIndex(Cn)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(Cn)]=!1),this.datePickerService.setValue(_t),this.calendarChange.emit(_t),this.isBothAllowed(_t)&&this.checkedPartArr[0]&&this.checkedPartArr[1]&&(this.clearHoverValue(),this.datePickerService.emitValue$.next())):((0,_.Et)(_t)&&(Cn=this.reversedPart(jt),_t[this.datePickerService.getActiveIndex(Cn)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(Cn)]=!1),this.datePickerService.setValue(_t),this.isBothAllowed(_t)&&this.checkedPartArr[0]&&this.checkedPartArr[1]?(this.calendarChange.emit(_t),this.clearHoverValue(),this.datePickerService.emitValue$.next()):this.isAllowed(_t)&&(Cn=this.reversedPart(jt),this.calendarChange.emit([Z.clone()]))):this.datePickerService.setValue(_t),this.datePickerService.inputPartChange$.next(Cn)}else this.datePickerService.setValue(Z),this.datePickerService.inputPartChange$.next(null),dt&&this.isAllowed(Z)&&this.datePickerService.emitValue$.next();this.buildTimeOptions()}reversedPart(Z){return"left"===Z?"right":"left"}getPanelMode(Z,dt){return this.isRange?Z[this.datePickerService.getActiveIndex(dt)]:Z}getValue(Z){return this.isRange?(this.datePickerService.value||[])[this.datePickerService.getActiveIndex(Z)]:this.datePickerService.value}getActiveDate(Z){return this.isRange?this.datePickerService.activeDate[this.datePickerService.getActiveIndex(Z)]:this.datePickerService.activeDate}isOneAllowed(Z){const dt=this.datePickerService.getActiveIndex();return Ai(Z[dt],this.disabledDate,[this.disabledStartTime,this.disabledEndTime][dt])}isBothAllowed(Z){return Ai(Z[0],this.disabledDate,this.disabledStartTime)&&Ai(Z[1],this.disabledDate,this.disabledEndTime)}isAllowed(Z,dt=!1){return this.isRange?dt?this.isBothAllowed(Z):this.isOneAllowed(Z):Ai(Z,this.disabledDate,this.disabledTime)}getTimeOptions(Z){return this.showTime&&this.timeOptions?this.timeOptions instanceof Array?this.timeOptions[this.datePickerService.getActiveIndex(Z)]:this.timeOptions:null}onClickPresetRange(Z){const dt="function"==typeof Z?Z():Z;dt&&(this.datePickerService.setValue([new _.Yp(dt[0]),new _.Yp(dt[1])]),this.datePickerService.emitValue$.next())}onPresetRangeMouseLeave(){this.clearHoverValue()}onHoverPresetRange(Z){"function"!=typeof Z&&(this.hoverValue=[new _.Yp(Z[0]),new _.Yp(Z[1])])}getObjectKeys(Z){return Z?Object.keys(Z):[]}show(Z){return!(this.showTime&&this.isRange&&this.datePickerService.activeInput!==Z)}clearHoverValue(){this.hoverValue=[]}buildTimeOptions(){if(this.showTime){const Z="object"==typeof this.showTime?this.showTime:{};if(this.isRange){const dt=this.datePickerService.value;this.timeOptions=[this.overrideTimeOptions(Z,dt[0],"start"),this.overrideTimeOptions(Z,dt[1],"end")]}else this.timeOptions=this.overrideTimeOptions(Z,this.datePickerService.value)}else this.timeOptions=null}overrideTimeOptions(Z,dt,_t){let jt;return jt=_t?"start"===_t?this.disabledStartTime:this.disabledEndTime:this.disabledTime,{...Z,...mn(dt,jt)}}overrideHms(Z,dt){return Z=Z||new _.Yp,(dt=dt||new _.Yp).setHms(Z.getHours(),Z.getMinutes(),Z.getSeconds())}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Ro),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(i.SBq))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["date-range-popup"]],inputs:{isRange:"isRange",inline:"inline",showWeek:"showWeek",locale:"locale",disabledDate:"disabledDate",disabledTime:"disabledTime",showToday:"showToday",showNow:"showNow",showTime:"showTime",extraFooter:"extraFooter",ranges:"ranges",dateRender:"dateRender",panelMode:"panelMode",defaultPickerValue:"defaultPickerValue",dir:"dir"},outputs:{panelModeChange:"panelModeChange",calendarChange:"calendarChange",resultOk:"resultOk"},exportAs:["dateRangePopup"],features:[i.TTD],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["singlePanel",""],["tplInnerPopup",""],["tplFooter",""],["tplRangeQuickSelector",""],["noTimePicker",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1"],[3,"showWeek","endPanelMode","partType","locale","showTimePicker","timeOptions","panelMode","activeDate","value","disabledDate","dateRender","selectedValue","hoverValue","panelModeChange","cellHover","selectDate","selectTime","headerChange"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday",4,"ngIf"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday"],[3,"class","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],[3,"click","mouseenter","mouseleave"],[1,"ant-tag","ant-tag-blue"]],template:function(dt,_t){if(1&dt&&(i.YNc(0,Zi,9,19,"ng-container",0),i.YNc(1,$i,4,13,"ng-template",null,1,i.W1O),i.YNc(3,no,2,18,"ng-template",null,2,i.W1O),i.YNc(5,wi,1,1,"ng-template",null,3,i.W1O),i.YNc(7,Di,1,1,"ng-template",null,4,i.W1O)),2&dt){const jt=i.MAs(2);i.Q6J("ngIf",_t.isRange)("ngIfElse",jt)}},dependencies:[t.sg,t.O5,t.tP,Nn,Xn],encapsulation:2,changeDetection:0})}return it})();const Vi={position:"relative"};let Si=(()=>{class it{get nzShowTime(){return this.showTime}set nzShowTime(Z){this.showTime="object"==typeof Z?Z:(0,d.sw)(Z)}get realOpenState(){return this.isOpenHandledByUser()?!!this.nzOpen:this.overlayOpen}ngAfterViewInit(){this.nzAutoFocus&&this.focus(),this.isRange&&this.platform.isBrowser&&this.nzResizeObserver.observe(this.elementRef).pipe((0,k.R)(this.destroy$)).subscribe(()=>{this.updateInputWidthAndArrowLeft()}),this.datePickerService.inputPartChange$.pipe((0,k.R)(this.destroy$)).subscribe(Z=>{Z&&(this.datePickerService.activeInput=Z),this.focus(),this.updateInputWidthAndArrowLeft()}),this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>(0,S.R)(this.elementRef.nativeElement,"mousedown").pipe((0,k.R)(this.destroy$)).subscribe(Z=>{"input"!==Z.target.tagName.toLowerCase()&&Z.preventDefault()}))}updateInputWidthAndArrowLeft(){this.inputWidth=this.rangePickerInputs?.first?.nativeElement.offsetWidth||0;const Z={position:"absolute",width:`${this.inputWidth}px`};this.datePickerService.arrowLeft="left"===this.datePickerService.activeInput?0:this.inputWidth+this.separatorElement?.nativeElement.offsetWidth||0,this.activeBarStyle="rtl"===this.dir?{...Z,right:`${this.datePickerService.arrowLeft}px`}:{...Z,left:`${this.datePickerService.arrowLeft}px`},this.cdr.markForCheck()}getInput(Z){if(!this.nzInline)return this.isRange?"left"===Z?this.rangePickerInputs?.first.nativeElement:this.rangePickerInputs?.last.nativeElement:this.pickerInput.nativeElement}focus(){const Z=this.getInput(this.datePickerService.activeInput);this.document.activeElement!==Z&&Z?.focus()}onFocus(Z,dt){Z.preventDefault(),dt&&this.datePickerService.inputPartChange$.next(dt),this.renderClass(!0)}onFocusout(Z){Z.preventDefault(),this.onTouchedFn(),this.elementRef.nativeElement.contains(Z.relatedTarget)||this.checkAndClose(),this.renderClass(!1)}open(){this.nzInline||!this.realOpenState&&!this.nzDisabled&&(this.updateInputWidthAndArrowLeft(),this.overlayOpen=!0,this.nzOnOpenChange.emit(!0),this.focus(),this.cdr.markForCheck())}close(){this.nzInline||this.realOpenState&&(this.overlayOpen=!1,this.nzOnOpenChange.emit(!1))}showClear(){return!this.nzDisabled&&!this.isEmptyValue(this.datePickerService.value)&&this.nzAllowClear}checkAndClose(){if(this.realOpenState)if(this.panel.isAllowed(this.datePickerService.value,!0)){if(Array.isArray(this.datePickerService.value)&&(0,_.Et)(this.datePickerService.value)){const Z=this.datePickerService.getActiveIndex();return void this.panel.changeValueFromSelect(this.datePickerService.value[Z],!0)}this.updateInputValue(),this.datePickerService.emitValue$.next()}else this.datePickerService.setValue(this.datePickerService.initialValue),this.close()}onClickInputBox(Z){Z.stopPropagation(),this.focus(),this.isOpenHandledByUser()||this.open()}onOverlayKeydown(Z){Z.keyCode===b.hY&&this.datePickerService.initValue()}onPositionChange(Z){this.currentPositionX=Z.connectionPair.originX,this.currentPositionY=Z.connectionPair.originY,this.cdr.detectChanges()}onClickClear(Z){Z.preventDefault(),Z.stopPropagation(),this.datePickerService.initValue(!0),this.datePickerService.emitValue$.next()}updateInputValue(){const Z=this.datePickerService.value;this.inputValue=this.isRange?Z?Z.map(dt=>this.formatValue(dt)):["",""]:this.formatValue(Z),this.cdr.markForCheck()}formatValue(Z){return this.dateHelper.format(Z&&Z.nativeDate,this.nzFormat)}onInputChange(Z,dt=!1){if(!this.platform.TRIDENT&&this.document.activeElement===this.getInput(this.datePickerService.activeInput)&&!this.realOpenState)return void this.open();const _t=this.checkValidDate(Z);_t&&this.realOpenState&&this.panel.changeValueFromSelect(_t,dt)}onKeyupEnter(Z){this.onInputChange(Z.target.value,!0)}checkValidDate(Z){const dt=new _.Yp(this.dateHelper.parseDate(Z,this.nzFormat));return dt.isValid()&&Z===this.dateHelper.format(dt.nativeDate,this.nzFormat)?dt:null}getPlaceholder(Z){return this.isRange?this.nzPlaceHolder[this.datePickerService.getActiveIndex(Z)]:this.nzPlaceHolder}isEmptyValue(Z){return null===Z||(this.isRange?!Z||!Array.isArray(Z)||Z.every(dt=>!dt):!Z)}isOpenHandledByUser(){return void 0!==this.nzOpen}constructor(Z,dt,_t,jt,Cn,Pn,Mi,fo,qi,mo,ji,rs,Lo,_i,vs,$o){this.nzConfigService=Z,this.datePickerService=dt,this.i18n=_t,this.cdr=jt,this.renderer=Cn,this.ngZone=Pn,this.elementRef=Mi,this.dateHelper=fo,this.nzResizeObserver=qi,this.platform=mo,this.destroy$=ji,this.directionality=Lo,this.noAnimation=_i,this.nzFormStatusService=vs,this.nzFormNoStatusService=$o,this._nzModuleName="datePicker",this.isRange=!1,this.dir="ltr",this.statusCls={},this.status="",this.hasFeedback=!1,this.panelMode="date",this.isCustomPlaceHolder=!1,this.isCustomFormat=!1,this.showTime=!1,this.isNzDisableFirstChange=!0,this.nzAllowClear=!0,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzBorderless=!1,this.nzInputReadOnly=!1,this.nzInline=!1,this.nzPlaceHolder="",this.nzPopupStyle=Vi,this.nzSize="default",this.nzStatus="",this.nzShowToday=!0,this.nzMode="date",this.nzShowNow=!0,this.nzDefaultPickerValue=null,this.nzSeparator=void 0,this.nzSuffixIcon="calendar",this.nzBackdrop=!1,this.nzId=null,this.nzPlacement="bottomLeft",this.nzShowWeekNumber=!1,this.nzOnPanelChange=new i.vpe,this.nzOnCalendarChange=new i.vpe,this.nzOnOk=new i.vpe,this.nzOnOpenChange=new i.vpe,this.inputSize=12,this.prefixCls=Kt,this.activeBarStyle={},this.overlayOpen=!1,this.overlayPositions=[...M.bw],this.currentPositionX="start",this.currentPositionY="bottom",this.onChangeFn=()=>{},this.onTouchedFn=()=>{},this.document=rs,this.origin=new n.xu(this.elementRef)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,R.x)((Z,dt)=>Z.status===dt.status&&Z.hasFeedback===dt.hasFeedback),(0,W.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,A.of)(!1)),(0,j.U)(([{status:Z,hasFeedback:dt},_t])=>({status:_t?"":Z,hasFeedback:dt})),(0,k.R)(this.destroy$)).subscribe(({status:Z,hasFeedback:dt})=>{this.setStatusStyles(Z,dt)}),this.nzLocale||this.i18n.localeChange.pipe((0,k.R)(this.destroy$)).subscribe(()=>this.setLocale()),this.datePickerService.isRange=this.isRange,this.datePickerService.initValue(!0),this.datePickerService.emitValue$.pipe((0,k.R)(this.destroy$)).subscribe(()=>{const Z=this.showTime?"second":"day",dt=this.datePickerService.value,_t=this.datePickerService.initialValue;if(!this.isRange&&dt?.isSame(_t?.nativeDate,Z))return this.onTouchedFn(),this.close();if(this.isRange){const[jt,Cn]=_t,[Pn,Mi]=dt;if(jt?.isSame(Pn?.nativeDate,Z)&&Cn?.isSame(Mi?.nativeDate,Z))return this.onTouchedFn(),this.close()}if(this.datePickerService.initialValue=(0,_.ky)(dt),this.isRange){const jt=dt;this.onChangeFn(jt.length?[jt[0]?.nativeDate??null,jt[1]?.nativeDate??null]:[])}else this.onChangeFn(dt?dt.nativeDate:null);this.onTouchedFn(),this.close()}),this.directionality.change?.pipe((0,k.R)(this.destroy$)).subscribe(Z=>{this.dir=Z,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.inputValue=this.isRange?["",""]:"",this.setModeAndFormat(),this.datePickerService.valueChange$.pipe((0,k.R)(this.destroy$)).subscribe(()=>{this.updateInputValue()})}ngOnChanges(Z){const{nzStatus:dt,nzPlacement:_t}=Z;Z.nzPopupStyle&&(this.nzPopupStyle=this.nzPopupStyle?{...this.nzPopupStyle,...Vi}:Vi),Z.nzPlaceHolder?.currentValue&&(this.isCustomPlaceHolder=!0),Z.nzFormat?.currentValue&&(this.isCustomFormat=!0),Z.nzLocale&&this.setDefaultPlaceHolder(),Z.nzRenderExtraFooter&&(this.extraFooter=(0,d.rw)(this.nzRenderExtraFooter)),Z.nzMode&&(this.setDefaultPlaceHolder(),this.setModeAndFormat()),dt&&this.setStatusStyles(this.nzStatus,this.hasFeedback),_t&&this.setPlacement(this.nzPlacement)}setModeAndFormat(){const Z={year:"yyyy",month:"yyyy-MM",week:"YYYY-ww",date:this.nzShowTime?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd"};this.nzMode||(this.nzMode="date"),this.panelMode=this.isRange?[this.nzMode,this.nzMode]:this.nzMode,this.isCustomFormat||(this.nzFormat=Z[this.nzMode]),this.inputSize=Math.max(10,this.nzFormat.length)+2,this.updateInputValue()}onOpenChange(Z){this.nzOnOpenChange.emit(Z)}writeValue(Z){this.setValue(Z),this.cdr.markForCheck()}registerOnChange(Z){this.onChangeFn=Z}registerOnTouched(Z){this.onTouchedFn=Z}setDisabledState(Z){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||Z,this.cdr.markForCheck(),this.isNzDisableFirstChange=!1}setLocale(){this.nzLocale=this.i18n.getLocaleData("DatePicker",{}),this.setDefaultPlaceHolder(),this.cdr.markForCheck()}setDefaultPlaceHolder(){if(!this.isCustomPlaceHolder&&this.nzLocale){const Z={year:this.getPropertyOfLocale("yearPlaceholder"),month:this.getPropertyOfLocale("monthPlaceholder"),week:this.getPropertyOfLocale("weekPlaceholder"),date:this.getPropertyOfLocale("placeholder")},dt={year:this.getPropertyOfLocale("rangeYearPlaceholder"),month:this.getPropertyOfLocale("rangeMonthPlaceholder"),week:this.getPropertyOfLocale("rangeWeekPlaceholder"),date:this.getPropertyOfLocale("rangePlaceholder")};this.nzPlaceHolder=this.isRange?dt[this.nzMode]:Z[this.nzMode]}}getPropertyOfLocale(Z){return this.nzLocale.lang[Z]||this.i18n.getLocaleData(`DatePicker.lang.${Z}`)}setValue(Z){const dt=this.datePickerService.makeValue(Z);this.datePickerService.setValue(dt),this.datePickerService.initialValue=(0,_.ky)(dt),this.cdr.detectChanges()}renderClass(Z){Z?this.renderer.addClass(this.elementRef.nativeElement,"ant-picker-focused"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-picker-focused")}onPanelModeChange(Z){this.nzOnPanelChange.emit(Z)}onCalendarChange(Z){if(this.isRange&&Array.isArray(Z)){const dt=Z.filter(_t=>_t instanceof _.Yp).map(_t=>_t.nativeDate);this.nzOnCalendarChange.emit(dt)}}onResultOk(){if(this.isRange){const Z=this.datePickerService.value;this.nzOnOk.emit(Z.length?[Z[0]?.nativeDate||null,Z[1]?.nativeDate||null]:[])}else this.nzOnOk.emit(this.datePickerService.value?this.datePickerService.value.nativeDate:null)}setStatusStyles(Z,dt){this.status=Z,this.hasFeedback=dt,this.cdr.markForCheck(),this.statusCls=(0,d.Zu)(this.prefixCls,Z,dt),Object.keys(this.statusCls).forEach(_t=>{this.statusCls[_t]?this.renderer.addClass(this.elementRef.nativeElement,_t):this.renderer.removeClass(this.elementRef.nativeElement,_t)})}setPlacement(Z){const dt=M.dz[Z];this.overlayPositions=[dt,...M.bw],this.currentPositionX=dt.originX,this.currentPositionY=dt.originY}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Y.jY),i.Y36(Ro),i.Y36(m.wi),i.Y36(i.sBO),i.Y36(i.Qsj),i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(m.mx),i.Y36(V.D3),i.Y36(K.t4),i.Y36(G.kn),i.Y36(t.K0),i.Y36(e.Is,8),i.Y36(u.P,9),i.Y36(E.kH,8),i.Y36(E.yW,8))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["nz-date-picker"],["nz-week-picker"],["nz-month-picker"],["nz-year-picker"],["nz-range-picker"]],viewQuery:function(dt,_t){if(1&dt&&(i.Gf(n.pI,5),i.Gf(ds,5),i.Gf(Wi,5),i.Gf(Xi,5),i.Gf(bi,5)),2&dt){let jt;i.iGM(jt=i.CRH())&&(_t.cdkConnectedOverlay=jt.first),i.iGM(jt=i.CRH())&&(_t.panel=jt.first),i.iGM(jt=i.CRH())&&(_t.separatorElement=jt.first),i.iGM(jt=i.CRH())&&(_t.pickerInput=jt.first),i.iGM(jt=i.CRH())&&(_t.rangePickerInputs=jt)}},hostVars:16,hostBindings:function(dt,_t){1&dt&&i.NdJ("click",function(Cn){return _t.onClickInputBox(Cn)}),2&dt&&i.ekj("ant-picker",!0)("ant-picker-range",_t.isRange)("ant-picker-large","large"===_t.nzSize)("ant-picker-small","small"===_t.nzSize)("ant-picker-disabled",_t.nzDisabled)("ant-picker-rtl","rtl"===_t.dir)("ant-picker-borderless",_t.nzBorderless)("ant-picker-inline",_t.nzInline)},inputs:{nzAllowClear:"nzAllowClear",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzBorderless:"nzBorderless",nzInputReadOnly:"nzInputReadOnly",nzInline:"nzInline",nzOpen:"nzOpen",nzDisabledDate:"nzDisabledDate",nzLocale:"nzLocale",nzPlaceHolder:"nzPlaceHolder",nzPopupStyle:"nzPopupStyle",nzDropdownClassName:"nzDropdownClassName",nzSize:"nzSize",nzStatus:"nzStatus",nzFormat:"nzFormat",nzDateRender:"nzDateRender",nzDisabledTime:"nzDisabledTime",nzRenderExtraFooter:"nzRenderExtraFooter",nzShowToday:"nzShowToday",nzMode:"nzMode",nzShowNow:"nzShowNow",nzRanges:"nzRanges",nzDefaultPickerValue:"nzDefaultPickerValue",nzSeparator:"nzSeparator",nzSuffixIcon:"nzSuffixIcon",nzBackdrop:"nzBackdrop",nzId:"nzId",nzPlacement:"nzPlacement",nzShowWeekNumber:"nzShowWeekNumber",nzShowTime:"nzShowTime"},outputs:{nzOnPanelChange:"nzOnPanelChange",nzOnCalendarChange:"nzOnCalendarChange",nzOnOk:"nzOnOk",nzOnOpenChange:"nzOnOpenChange"},exportAs:["nzDatePicker"],features:[i._Bn([G.kn,Ro,{provide:l.JU,multi:!0,useExisting:(0,i.Gpc)(()=>it)}]),i.TTD],decls:8,vars:7,consts:[[4,"ngIf","ngIfElse"],["tplRangeInput",""],["tplRightRest",""],["inlineMode",""],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayTransformOriginOn","positionChange","detach","overlayKeydown"],[3,"class",4,"ngIf"],[4,"ngIf"],["autocomplete","off",3,"disabled","readOnly","ngModel","placeholder","size","ngModelChange","focus","focusout","keyup.enter"],["pickerInput",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["separatorElement",""],[4,"nzStringTemplateOutlet"],["defaultSeparator",""],["nz-icon","","nzType","swap-right","nzTheme","outline"],["autocomplete","off",3,"disabled","readOnly","size","ngModel","placeholder","click","focusout","focus","keyup.enter","ngModelChange"],["rangePickerInput",""],[3,"ngStyle"],[3,"class","click",4,"ngIf"],[3,"status",4,"ngIf"],[3,"click"],["nz-icon","","nzType","close-circle","nzTheme","fill"],["nz-icon","",3,"nzType"],[3,"status"],[3,"isRange","inline","defaultPickerValue","showWeek","panelMode","locale","showToday","showNow","showTime","dateRender","disabledDate","disabledTime","extraFooter","ranges","dir","panelModeChange","calendarChange","resultOk"],[1,"ant-picker-wrapper",2,"position","relative",3,"nzNoAnimation"]],template:function(dt,_t){if(1&dt&&(i.YNc(0,Xt,3,2,"ng-container",0),i.YNc(1,_n,2,6,"ng-template",null,1,i.W1O),i.YNc(3,bt,5,10,"ng-template",null,2,i.W1O),i.YNc(5,at,2,36,"ng-template",null,3,i.W1O),i.YNc(7,Rt,2,3,"ng-template",4),i.NdJ("positionChange",function(Cn){return _t.onPositionChange(Cn)})("detach",function(){return _t.close()})("overlayKeydown",function(Cn){return _t.onOverlayKeydown(Cn)})),2&dt){const jt=i.MAs(6);i.Q6J("ngIf",!_t.nzInline)("ngIfElse",jt),i.xp6(7),i.Q6J("cdkConnectedOverlayHasBackdrop",_t.nzBackdrop)("cdkConnectedOverlayOrigin",_t.origin)("cdkConnectedOverlayOpen",_t.realOpenState)("cdkConnectedOverlayPositions",_t.overlayPositions)("cdkConnectedOverlayTransformOriginOn",".ant-picker-wrapper")}},dependencies:[e.Lv,t.O5,t.tP,t.PC,l.Fj,l.JJ,l.On,n.pI,p.Ls,M.hQ,u.P,E.w_,z.f,f.w,ds],encapsulation:2,data:{animation:[ze.mF]},changeDetection:0})}return(0,T.gn)([(0,d.yF)()],it.prototype,"nzAllowClear",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzAutoFocus",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzDisabled",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzBorderless",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzInputReadOnly",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzInline",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzOpen",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzShowToday",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzShowNow",void 0),(0,T.gn)([(0,Y.oS)()],it.prototype,"nzSeparator",void 0),(0,T.gn)([(0,Y.oS)()],it.prototype,"nzSuffixIcon",void 0),(0,T.gn)([(0,Y.oS)()],it.prototype,"nzBackdrop",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzShowWeekNumber",void 0),it})(),To=(()=>{class it{static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275mod=i.oAB({type:it});static#n=this.\u0275inj=i.cJS({imports:[t.ez,l.u5,m.YI,v.wY,z.T]})}return it})(),xo=(()=>{class it{constructor(Z){this.datePicker=Z,this.datePicker.nzMode="month"}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Si,9))};static#t=this.\u0275dir=i.lG2({type:it,selectors:[["nz-month-picker"]],exportAs:["nzMonthPicker"]})}return it})(),Ui=(()=>{class it{constructor(Z){this.datePicker=Z,this.datePicker.isRange=!0}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Si,9))};static#t=this.\u0275dir=i.lG2({type:it,selectors:[["nz-range-picker"]],exportAs:["nzRangePicker"]})}return it})(),Ci=(()=>{class it{constructor(Z){this.datePicker=Z,this.datePicker.nzMode="week"}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Si,9))};static#t=this.\u0275dir=i.lG2({type:it,selectors:[["nz-week-picker"]],exportAs:["nzWeekPicker"]})}return it})(),ss=(()=>{class it{constructor(Z){this.datePicker=Z,this.datePicker.nzMode="year"}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Si,9))};static#t=this.\u0275dir=i.lG2({type:it,selectors:[["nz-year-picker"]],exportAs:["nzYearPicker"]})}return it})(),io=(()=>{class it{static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275mod=i.oAB({type:it});static#n=this.\u0275inj=i.cJS({imports:[e.vT,t.ez,l.u5,n.U8,To,p.PV,M.e4,u.g,E.mJ,z.T,v.wY,h.sL,To]})}return it})()},66987:(tt,I,o)=>{"use strict";o.d(I,{S:()=>M,g:()=>z});var e=o(97582),n=o(65879),t=o(27754),i=o(96814),l=o(8324),h=o(49388);function E(p,v){if(1&p&&(n.ynx(0),n._uU(1),n.BQk()),2&p){const _=n.oxw(2);n.xp6(1),n.Oqu(_.nzText)}}function u(p,v){if(1&p&&(n.TgZ(0,"span",1),n.YNc(1,E,2,1,"ng-container",2),n.qZA()),2&p){const _=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",_.nzText)}}let z=(()=>{class p{constructor(){this.nzType="horizontal",this.nzOrientation="center",this.nzDashed=!1,this.nzPlain=!1}static#e=this.\u0275fac=function(d){return new(d||p)};static#t=this.\u0275cmp=n.Xpm({type:p,selectors:[["nz-divider"]],hostAttrs:[1,"ant-divider"],hostVars:16,hostBindings:function(d,m){2&d&&n.ekj("ant-divider-horizontal","horizontal"===m.nzType)("ant-divider-vertical","vertical"===m.nzType)("ant-divider-with-text",m.nzText)("ant-divider-plain",m.nzPlain)("ant-divider-with-text-left",m.nzText&&"left"===m.nzOrientation)("ant-divider-with-text-right",m.nzText&&"right"===m.nzOrientation)("ant-divider-with-text-center",m.nzText&&"center"===m.nzOrientation)("ant-divider-dashed",m.nzDashed)},inputs:{nzText:"nzText",nzType:"nzType",nzOrientation:"nzOrientation",nzDashed:"nzDashed",nzPlain:"nzPlain"},exportAs:["nzDivider"],decls:1,vars:1,consts:[["class","ant-divider-inner-text",4,"ngIf"],[1,"ant-divider-inner-text"],[4,"nzStringTemplateOutlet"]],template:function(d,m){1&d&&n.YNc(0,u,2,1,"span",0),2&d&&n.Q6J("ngIf",m.nzText)},dependencies:[i.O5,l.f],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,t.yF)()],p.prototype,"nzDashed",void 0),(0,e.gn)([(0,t.yF)()],p.prototype,"nzPlain",void 0),p})(),M=(()=>{class p{static#e=this.\u0275fac=function(d){return new(d||p)};static#t=this.\u0275mod=n.oAB({type:p});static#n=this.\u0275inj=n.cJS({imports:[h.vT,i.ez,l.T]})}return p})()},43389:(tt,I,o)=>{"use strict";o.d(I,{BL:()=>le,SQ:()=>te,Vz:()=>X,ai:()=>Ne,lB:()=>De});var e=o(97582),n=o(36028),t=o(33651),i=o(68484),l=o(96814),h=o(65879),E=o(78645),u=o(59773),z=o(83064),M=o(27754),p=o(4300),v=o(49388),_=o(90551),d=o(8324),m=o(331);const f=["drawerTemplate"];function C(ke,oe){if(1&ke){const _e=h.EpF();h.TgZ(0,"div",11),h.NdJ("click",function(){h.CHM(_e);const He=h.oxw(2);return h.KtG(He.maskClick())}),h.qZA()}if(2&ke){const _e=h.oxw(2);h.Q6J("ngStyle",_e.nzMaskStyle)}}function T(ke,oe){if(1&ke&&(h.ynx(0),h._UZ(1,"span",19),h.BQk()),2&ke){const _e=oe.$implicit;h.xp6(1),h.Q6J("nzType",_e)}}function b(ke,oe){if(1&ke){const _e=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){h.CHM(_e);const He=h.oxw(3);return h.KtG(He.closeClick())}),h.YNc(1,T,2,1,"ng-container",18),h.qZA()}if(2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("nzStringTemplateOutlet",_e.nzCloseIcon)}}function D(ke,oe){if(1&ke&&(h.ynx(0),h._UZ(1,"div",21),h.BQk()),2&ke){const _e=h.oxw(4);h.xp6(1),h.Q6J("innerHTML",_e.nzTitle,h.oJD)}}function y(ke,oe){if(1&ke&&(h.TgZ(0,"div",20),h.YNc(1,D,2,1,"ng-container",18),h.qZA()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("nzStringTemplateOutlet",_e.nzTitle)}}function P(ke,oe){if(1&ke&&(h.ynx(0),h._UZ(1,"div",21),h.BQk()),2&ke){const _e=h.oxw(4);h.xp6(1),h.Q6J("innerHTML",_e.nzExtra,h.oJD)}}function S(ke,oe){if(1&ke&&(h.TgZ(0,"div",22),h.YNc(1,P,2,1,"ng-container",18),h.qZA()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("nzStringTemplateOutlet",_e.nzExtra)}}function A(ke,oe){if(1&ke&&(h.TgZ(0,"div",12)(1,"div",13),h.YNc(2,b,2,1,"button",14),h.YNc(3,y,2,1,"div",15),h.qZA(),h.YNc(4,S,2,1,"div",16),h.qZA()),2&ke){const _e=h.oxw(2);h.ekj("ant-drawer-header-close-only",!_e.nzTitle),h.xp6(2),h.Q6J("ngIf",_e.nzClosable),h.xp6(1),h.Q6J("ngIf",_e.nzTitle),h.xp6(1),h.Q6J("ngIf",_e.nzExtra)}}function k(ke,oe){}function R(ke,oe){1&ke&&h.GkF(0)}function W(ke,oe){if(1&ke&&(h.ynx(0),h.YNc(1,R,1,0,"ng-container",24),h.BQk()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("ngTemplateOutlet",_e.nzContent)("ngTemplateOutletContext",_e.templateContext)}}function j(ke,oe){if(1&ke&&(h.ynx(0),h.YNc(1,W,2,2,"ng-container",23),h.BQk()),2&ke){const _e=h.oxw(2);h.xp6(1),h.Q6J("ngIf",_e.isTemplateRef(_e.nzContent))}}function ze(ke,oe){}function Y(ke,oe){if(1&ke&&(h.ynx(0),h.YNc(1,ze,0,0,"ng-template",25),h.BQk()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("ngTemplateOutlet",_e.contentFromContentChild)}}function G(ke,oe){if(1&ke&&h.YNc(0,Y,2,1,"ng-container",23),2&ke){const _e=h.oxw(2);h.Q6J("ngIf",_e.contentFromContentChild&&(_e.isOpen||_e.inAnimation))}}function V(ke,oe){if(1&ke&&(h.ynx(0),h._UZ(1,"div",21),h.BQk()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("innerHTML",_e.nzFooter,h.oJD)}}function K(ke,oe){if(1&ke&&(h.TgZ(0,"div",26),h.YNc(1,V,2,1,"ng-container",18),h.qZA()),2&ke){const _e=h.oxw(2);h.xp6(1),h.Q6J("nzStringTemplateOutlet",_e.nzFooter)}}function ee(ke,oe){if(1&ke&&(h.TgZ(0,"div",1),h.YNc(1,C,1,1,"div",2),h.TgZ(2,"div")(3,"div",3)(4,"div",4),h.YNc(5,A,5,5,"div",5),h.TgZ(6,"div",6),h.YNc(7,k,0,0,"ng-template",7),h.YNc(8,j,2,1,"ng-container",8),h.YNc(9,G,1,1,"ng-template",null,9,h.W1O),h.qZA(),h.YNc(11,K,2,1,"div",10),h.qZA()()()()),2&ke){const _e=h.MAs(10),Q=h.oxw();h.Udp("transform",Q.offsetTransform)("transition",Q.placementChanging?"none":null)("z-index",Q.nzZIndex),h.ekj("ant-drawer-rtl","rtl"===Q.dir)("ant-drawer-open",Q.isOpen)("no-mask",!Q.nzMask)("ant-drawer-top","top"===Q.nzPlacement)("ant-drawer-bottom","bottom"===Q.nzPlacement)("ant-drawer-right","right"===Q.nzPlacement)("ant-drawer-left","left"===Q.nzPlacement),h.Q6J("nzNoAnimation",Q.nzNoAnimation),h.xp6(1),h.Q6J("ngIf",Q.nzMask),h.xp6(1),h.Gre("ant-drawer-content-wrapper ",Q.nzWrapClassName,""),h.Udp("width",Q.width)("height",Q.height)("transform",Q.transform)("transition",Q.placementChanging?"none":null),h.xp6(2),h.Udp("height",Q.isLeftOrRight?"100%":null),h.xp6(1),h.Q6J("ngIf",Q.nzTitle||Q.nzClosable),h.xp6(1),h.Q6J("ngStyle",Q.nzBodyStyle),h.xp6(2),h.Q6J("ngIf",Q.nzContent)("ngIfElse",_e),h.xp6(3),h.Q6J("ngIf",Q.nzFooter)}}let te=(()=>{class ke{constructor(_e){this.templateRef=_e}static#e=this.\u0275fac=function(Q){return new(Q||ke)(h.Y36(h.Rgc))};static#t=this.\u0275dir=h.lG2({type:ke,selectors:[["","nzDrawerContent",""]],exportAs:["nzDrawerContent"]})}return ke})();class De{}let X=(()=>{class ke extends De{set nzVisible(_e){this.isOpen=_e}get nzVisible(){return this.isOpen}get offsetTransform(){if(!this.isOpen||this.nzOffsetX+this.nzOffsetY===0)return null;switch(this.nzPlacement){case"left":return`translateX(${this.nzOffsetX}px)`;case"right":return`translateX(-${this.nzOffsetX}px)`;case"top":return`translateY(${this.nzOffsetY}px)`;case"bottom":return`translateY(-${this.nzOffsetY}px)`}}get transform(){if(this.isOpen)return null;switch(this.nzPlacement){case"left":return"translateX(-100%)";case"right":return"translateX(100%)";case"top":return"translateY(-100%)";case"bottom":return"translateY(100%)"}}get width(){return this.isLeftOrRight?(0,M.WX)(void 0===this.nzWidth?"large"===this.nzSize?736:378:this.nzWidth):null}get height(){return this.isLeftOrRight?null:(0,M.WX)(void 0===this.nzHeight?"large"===this.nzSize?736:378:this.nzHeight)}get isLeftOrRight(){return"left"===this.nzPlacement||"right"===this.nzPlacement}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}isTemplateRef(_e){return _e instanceof h.Rgc}constructor(_e,Q,He,Re,lt,Pe,xt,$e,ot,mt,we){super(),this.cdr=_e,this.document=Q,this.nzConfigService=He,this.renderer=Re,this.overlay=lt,this.injector=Pe,this.changeDetectorRef=xt,this.focusTrapFactory=$e,this.viewContainerRef=ot,this.overlayKeyboardDispatcher=mt,this.directionality=we,this._nzModuleName="drawer",this.nzCloseIcon="close",this.nzClosable=!0,this.nzMaskClosable=!0,this.nzMask=!0,this.nzCloseOnNavigation=!0,this.nzNoAnimation=!1,this.nzKeyboard=!0,this.nzPlacement="right",this.nzSize="default",this.nzMaskStyle={},this.nzBodyStyle={},this.nzZIndex=1e3,this.nzOffsetX=0,this.nzOffsetY=0,this.componentInstance=null,this.nzOnViewInit=new h.vpe,this.nzOnClose=new h.vpe,this.nzVisibleChange=new h.vpe,this.destroy$=new E.x,this.placementChanging=!1,this.placementChangeTimeoutId=-1,this.isOpen=!1,this.inAnimation=!1,this.templateContext={$implicit:void 0,drawerRef:this},this.nzAfterOpen=new E.x,this.nzAfterClose=new E.x,this.nzDirection=void 0,this.dir="ltr"}ngOnInit(){this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(_e=>{this.dir=_e,this.cdr.detectChanges()}),this.dir=this.nzDirection||this.directionality.value,this.attachOverlay(),this.updateOverlayStyle(),this.updateBodyOverflow(),this.templateContext={$implicit:this.nzContentParams,drawerRef:this},this.changeDetectorRef.detectChanges()}ngAfterViewInit(){this.attachBodyContent(),this.nzOnViewInit.observers.length&&setTimeout(()=>{this.nzOnViewInit.emit()})}ngOnChanges(_e){const{nzPlacement:Q,nzVisible:He}=_e;He&&(_e.nzVisible.currentValue?this.open():this.close()),Q&&!Q.isFirstChange()&&this.triggerPlacementChangeCycleOnce()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),clearTimeout(this.placementChangeTimeoutId),this.disposeOverlay()}getAnimationDuration(){return this.nzNoAnimation?0:300}triggerPlacementChangeCycleOnce(){this.nzNoAnimation||(this.placementChanging=!0,this.changeDetectorRef.markForCheck(),clearTimeout(this.placementChangeTimeoutId),this.placementChangeTimeoutId=setTimeout(()=>{this.placementChanging=!1,this.changeDetectorRef.markForCheck()},this.getAnimationDuration()))}close(_e){this.isOpen=!1,this.inAnimation=!0,this.nzVisibleChange.emit(!1),this.updateOverlayStyle(),this.overlayKeyboardDispatcher.remove(this.overlayRef),this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.updateBodyOverflow(),this.restoreFocus(),this.inAnimation=!1,this.nzAfterClose.next(_e),this.nzAfterClose.complete(),this.componentInstance=null},this.getAnimationDuration())}open(){this.attachOverlay(),this.isOpen=!0,this.inAnimation=!0,this.nzVisibleChange.emit(!0),this.overlayKeyboardDispatcher.add(this.overlayRef),this.updateOverlayStyle(),this.updateBodyOverflow(),this.savePreviouslyFocusedElement(),this.trapFocus(),this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.inAnimation=!1,this.changeDetectorRef.detectChanges(),this.nzAfterOpen.next()},this.getAnimationDuration())}getContentComponent(){return this.componentInstance}closeClick(){this.nzOnClose.emit()}maskClick(){this.nzMaskClosable&&this.nzMask&&this.nzOnClose.emit()}attachBodyContent(){if(this.bodyPortalOutlet.dispose(),this.nzContent instanceof h.DyG){const _e=h.zs3.create({parent:this.injector,providers:[{provide:De,useValue:this}]}),Q=new i.C5(this.nzContent,null,_e),He=this.bodyPortalOutlet.attachComponentPortal(Q);this.componentInstance=He.instance,Object.assign(He.instance,this.nzContentParams),He.changeDetectorRef.detectChanges()}}attachOverlay(){this.overlayRef||(this.portal=new i.UE(this.drawerTemplate,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayRef.keydownEvents().pipe((0,u.R)(this.destroy$)).subscribe(_e=>{_e.keyCode===n.hY&&this.isOpen&&this.nzKeyboard&&this.nzOnClose.emit()}),this.overlayRef.detachments().pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.disposeOverlay()}))}disposeOverlay(){this.overlayRef?.dispose(),this.overlayRef=null}getOverlayConfig(){return new t.X_({disposeOnNavigation:this.nzCloseOnNavigation,positionStrategy:this.overlay.position().global(),scrollStrategy:this.overlay.scrollStrategies.block()})}updateOverlayStyle(){this.overlayRef&&this.overlayRef.overlayElement&&this.renderer.setStyle(this.overlayRef.overlayElement,"pointer-events",this.isOpen?"auto":"none")}updateBodyOverflow(){this.overlayRef&&(this.isOpen?this.overlayRef.getConfig().scrollStrategy.enable():this.overlayRef.getConfig().scrollStrategy.disable())}savePreviouslyFocusedElement(){this.document&&!this.previouslyFocusedElement&&(this.previouslyFocusedElement=this.document.activeElement,this.previouslyFocusedElement&&"function"==typeof this.previouslyFocusedElement.blur&&this.previouslyFocusedElement.blur())}trapFocus(){!this.focusTrap&&this.overlayRef&&this.overlayRef.overlayElement&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.overlayElement),this.focusTrap.focusInitialElement())}restoreFocus(){this.previouslyFocusedElement&&"function"==typeof this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus(),this.focusTrap&&this.focusTrap.destroy()}static#e=this.\u0275fac=function(Q){return new(Q||ke)(h.Y36(h.sBO),h.Y36(l.K0,8),h.Y36(z.jY),h.Y36(h.Qsj),h.Y36(t.aV),h.Y36(h.zs3),h.Y36(h.sBO),h.Y36(p.qV),h.Y36(h.s_b),h.Y36(t.Vs),h.Y36(v.Is,8))};static#t=this.\u0275cmp=h.Xpm({type:ke,selectors:[["nz-drawer"]],contentQueries:function(Q,He,Re){if(1&Q&&h.Suo(Re,te,7,h.Rgc),2&Q){let lt;h.iGM(lt=h.CRH())&&(He.contentFromContentChild=lt.first)}},viewQuery:function(Q,He){if(1&Q&&(h.Gf(f,7),h.Gf(i.Pl,5)),2&Q){let Re;h.iGM(Re=h.CRH())&&(He.drawerTemplate=Re.first),h.iGM(Re=h.CRH())&&(He.bodyPortalOutlet=Re.first)}},inputs:{nzContent:"nzContent",nzCloseIcon:"nzCloseIcon",nzClosable:"nzClosable",nzMaskClosable:"nzMaskClosable",nzMask:"nzMask",nzCloseOnNavigation:"nzCloseOnNavigation",nzNoAnimation:"nzNoAnimation",nzKeyboard:"nzKeyboard",nzTitle:"nzTitle",nzExtra:"nzExtra",nzFooter:"nzFooter",nzPlacement:"nzPlacement",nzSize:"nzSize",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzWrapClassName:"nzWrapClassName",nzWidth:"nzWidth",nzHeight:"nzHeight",nzZIndex:"nzZIndex",nzOffsetX:"nzOffsetX",nzOffsetY:"nzOffsetY",nzVisible:"nzVisible"},outputs:{nzOnViewInit:"nzOnViewInit",nzOnClose:"nzOnClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzDrawer"],features:[h.qOj,h.TTD],decls:2,vars:0,consts:[["drawerTemplate",""],[1,"ant-drawer",3,"nzNoAnimation"],["class","ant-drawer-mask",3,"ngStyle","click",4,"ngIf"],[1,"ant-drawer-content"],[1,"ant-drawer-wrapper-body"],["class","ant-drawer-header",3,"ant-drawer-header-close-only",4,"ngIf"],[1,"ant-drawer-body",3,"ngStyle"],["cdkPortalOutlet",""],[4,"ngIf","ngIfElse"],["contentElseTemp",""],["class","ant-drawer-footer",4,"ngIf"],[1,"ant-drawer-mask",3,"ngStyle","click"],[1,"ant-drawer-header"],[1,"ant-drawer-header-title"],["aria-label","Close","class","ant-drawer-close","style","--scroll-bar: 0px;",3,"click",4,"ngIf"],["class","ant-drawer-title",4,"ngIf"],["class","ant-drawer-extra",4,"ngIf"],["aria-label","Close",1,"ant-drawer-close",2,"--scroll-bar","0px",3,"click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"],[1,"ant-drawer-title"],[3,"innerHTML"],[1,"ant-drawer-extra"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngTemplateOutlet"],[1,"ant-drawer-footer"]],template:function(Q,He){1&Q&&h.YNc(0,ee,12,40,"ng-template",null,0,h.W1O)},dependencies:[l.O5,l.tP,l.PC,i.Pl,_.Ls,d.f,m.P],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,M.yF)()],ke.prototype,"nzClosable",void 0),(0,e.gn)([(0,z.oS)(),(0,M.yF)()],ke.prototype,"nzMaskClosable",void 0),(0,e.gn)([(0,z.oS)(),(0,M.yF)()],ke.prototype,"nzMask",void 0),(0,e.gn)([(0,z.oS)(),(0,M.yF)()],ke.prototype,"nzCloseOnNavigation",void 0),(0,e.gn)([(0,M.yF)()],ke.prototype,"nzNoAnimation",void 0),(0,e.gn)([(0,M.yF)()],ke.prototype,"nzKeyboard",void 0),(0,e.gn)([(0,z.oS)()],ke.prototype,"nzDirection",void 0),ke})(),ne=(()=>{class ke{static#e=this.\u0275fac=function(Q){return new(Q||ke)};static#t=this.\u0275mod=h.oAB({type:ke});static#n=this.\u0275inj=h.cJS({})}return ke})(),le=(()=>{class ke{static#e=this.\u0275fac=function(Q){return new(Q||ke)};static#t=this.\u0275mod=h.oAB({type:ke});static#n=this.\u0275inj=h.cJS({imports:[v.vT,l.ez,t.U8,i.eL,_.PV,d.T,m.g,ne]})}return ke})();class Se{constructor(oe,_e){this.overlay=oe,this.options=_e,this.unsubscribe$=new E.x;const{nzOnCancel:Q,...He}=this.options;this.overlayRef=this.overlay.create(),this.drawerRef=this.overlayRef.attach(new i.C5(X)).instance,this.updateOptions(He),this.drawerRef.savePreviouslyFocusedElement(),this.drawerRef.nzOnViewInit.pipe((0,u.R)(this.unsubscribe$)).subscribe(()=>{this.drawerRef.open()}),this.drawerRef.nzOnClose.subscribe(()=>{Q?Q().then(Re=>{!1!==Re&&this.drawerRef.close()}):this.drawerRef.close()}),this.drawerRef.afterClose.pipe((0,u.R)(this.unsubscribe$)).subscribe(()=>{this.overlayRef.dispose(),this.drawerRef=null,this.unsubscribe$.next(),this.unsubscribe$.complete()})}getInstance(){return this.drawerRef}updateOptions(oe){Object.assign(this.drawerRef,oe)}}let Ne=(()=>{class ke{constructor(_e){this.overlay=_e}create(_e){return new Se(this.overlay,_e).getInstance()}static#e=this.\u0275fac=function(Q){return new(Q||ke)(h.LFG(t.aV))};static#t=this.\u0275prov=h.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})()},62787:(tt,I,o)=>{"use strict";o.d(I,{Iw:()=>Se,RR:()=>X,Ws:()=>ae,b1:()=>ne,cm:()=>re,wA:()=>ce});var e=o(97582),n=o(36028),t=o(68484),i=o(65879),l=o(78645),h=o(65619),E=o(63019),u=o(92438),z=o(36232),M=o(52572),p=o(47394),v=o(21441),_=o(37398),d=o(94664),m=o(32181),f=o(29028),C=o(93997),T=o(59773),b=o(81374),D=o(83064),y=o(85448),P=o(27754),S=o(33651),A=o(62831),k=o(49388),R=o(96814),W=o(42840),j=o(331),ze=o(8324),Y=o(90551),G=o(73460),V=o(64194);function K(Ne,ke){if(1&Ne){const oe=i.EpF();i.TgZ(0,"div",0),i.NdJ("@slideMotion.done",function(Q){i.CHM(oe);const He=i.oxw();return i.KtG(He.onAnimationEvent(Q))})("mouseenter",function(){i.CHM(oe);const Q=i.oxw();return i.KtG(Q.setMouseState(!0))})("mouseleave",function(){i.CHM(oe);const Q=i.oxw();return i.KtG(Q.setMouseState(!1))}),i.Hsn(1),i.qZA()}if(2&Ne){const oe=i.oxw();i.ekj("ant-dropdown-rtl","rtl"===oe.dir),i.Q6J("ngClass",oe.nzOverlayClassName)("ngStyle",oe.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",!(null==oe.noAnimation||!oe.noAnimation.nzNoAnimation))("nzNoAnimation",null==oe.noAnimation?null:oe.noAnimation.nzNoAnimation)}}const ee=["*"],pe=[y.yW.bottomLeft,y.yW.bottomRight,y.yW.topRight,y.yW.topLeft];let re=(()=>{class Ne{setDropdownMenuValue(oe,_e){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(oe,_e)}constructor(oe,_e,Q,He,Re,lt){this.nzConfigService=oe,this.elementRef=_e,this.overlay=Q,this.renderer=He,this.viewContainerRef=Re,this.platform=lt,this._nzModuleName="dropDown",this.overlayRef=null,this.destroy$=new l.x,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new h.X(!1),this.nzTrigger$=new h.X("hover"),this.overlayClose$=new l.x,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new i.vpe}ngAfterViewInit(){if(this.nzDropdownMenu){const oe=this.elementRef.nativeElement,_e=(0,E.T)((0,u.R)(oe,"mouseenter").pipe((0,v.h)(!0)),(0,u.R)(oe,"mouseleave").pipe((0,v.h)(!1))),He=(0,E.T)(this.nzDropdownMenu.mouseState$,_e),Re=(0,u.R)(oe,"click").pipe((0,_.U)(()=>!this.nzVisible)),lt=this.nzTrigger$.pipe((0,d.w)(ot=>"hover"===ot?He:"click"===ot?Re:z.E)),Pe=this.nzDropdownMenu.descendantMenuItemClick$.pipe((0,m.h)(()=>this.nzClickHide),(0,v.h)(!1)),xt=(0,E.T)(lt,Pe,this.overlayClose$).pipe((0,m.h)(()=>!this.nzDisabled)),$e=(0,E.T)(this.inputVisible$,xt);(0,M.a)([$e,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe((0,_.U)(([ot,mt])=>ot||mt),(0,f.e)(150),(0,C.x)(),(0,m.h)(()=>this.platform.isBrowser),(0,T.R)(this.destroy$)).subscribe(ot=>{const we=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:oe).getBoundingClientRect().width;this.nzVisible!==ot&&this.nzVisibleChange.emit(ot),this.nzVisible=ot,ot?(this.overlayRef?this.overlayRef.getConfig().minWidth=we:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:we,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),(0,E.T)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe((0,m.h)(de=>!this.elementRef.nativeElement.contains(de.target))),this.overlayRef.keydownEvents().pipe((0,m.h)(de=>de.keyCode===n.hY&&!(0,n.Vb)(de)))).pipe((0,T.R)(this.destroy$)).subscribe(()=>{this.overlayClose$.next(!1)})),this.positionStrategy.withPositions([y.yW[this.nzPlacement],...pe]),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new t.UE(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()}),this.nzDropdownMenu.animationStateChange$.pipe((0,T.R)(this.destroy$)).subscribe(ot=>{"void"===ot.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)})}}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(oe){const{nzVisible:_e,nzDisabled:Q,nzOverlayClassName:He,nzOverlayStyle:Re,nzTrigger:lt}=oe;if(lt&&this.nzTrigger$.next(this.nzTrigger),_e&&this.inputVisible$.next(this.nzVisible),Q){const Pe=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(Pe,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(Pe,"disabled")}He&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),Re&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle)}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(D.jY),i.Y36(i.SBq),i.Y36(S.aV),i.Y36(i.Qsj),i.Y36(i.s_b),i.Y36(A.t4))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:"nzBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[i.TTD]})}return(0,e.gn)([(0,D.oS)(),(0,P.yF)()],Ne.prototype,"nzBackdrop",void 0),(0,e.gn)([(0,P.yF)()],Ne.prototype,"nzClickHide",void 0),(0,e.gn)([(0,P.yF)()],Ne.prototype,"nzDisabled",void 0),(0,e.gn)([(0,P.yF)()],Ne.prototype,"nzVisible",void 0),Ne})(),De=(()=>{class Ne{static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({})}return Ne})(),ae=(()=>{class Ne{constructor(){}static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["a","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-link"]})}return Ne})(),ce=(()=>{class Ne{constructor(oe,_e,Q){this.renderer=oe,this.nzButtonGroupComponent=_e,this.elementRef=Q}ngAfterViewInit(){const oe=this.renderer.parentNode(this.elementRef.nativeElement);this.nzButtonGroupComponent&&oe&&this.renderer.addClass(oe,"ant-dropdown-button")}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.Qsj),i.Y36(W.fY,9),i.Y36(i.SBq))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","nz-button","","nz-dropdown",""]]})}return Ne})(),X=(()=>{class Ne{onAnimationEvent(oe){this.animationStateChange$.emit(oe)}setMouseState(oe){this.mouseState$.next(oe)}setValue(oe,_e){this[oe]=_e,this.cdr.markForCheck()}constructor(oe,_e,Q,He,Re,lt,Pe){this.cdr=oe,this.elementRef=_e,this.renderer=Q,this.viewContainerRef=He,this.nzMenuService=Re,this.directionality=lt,this.noAnimation=Pe,this.mouseState$=new h.X(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new i.vpe,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new l.x}ngOnInit(){this.directionality.change?.pipe((0,T.R)(this.destroy$)).subscribe(oe=>{this.dir=oe,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.s_b),i.Y36(G.hl),i.Y36(k.Is,8),i.Y36(j.P,9))};static#t=this.\u0275cmp=i.Xpm({type:Ne,selectors:[["nz-dropdown-menu"]],viewQuery:function(_e,Q){if(1&_e&&i.Gf(i.Rgc,7),2&_e){let He;i.iGM(He=i.CRH())&&(Q.templateRef=He.first)}},exportAs:["nzDropdownMenu"],features:[i._Bn([G.hl,{provide:G.Cc,useValue:!0}])],ngContentSelectors:ee,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(_e,Q){1&_e&&(i.F$t(),i.YNc(0,K,2,7,"ng-template"))},dependencies:[R.mk,R.PC,j.P],encapsulation:2,data:{animation:[V.mF]},changeDetection:0})}return Ne})(),ne=(()=>{class Ne{static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[k.vT,R.ez,S.U8,W.sL,G.ip,Y.PV,j.g,A.ud,y.e4,De,ze.T,G.ip]})}return Ne})();const le=[new S.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new S.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new S.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new S.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})];let Se=(()=>{class Ne{constructor(oe,_e){this.ngZone=oe,this.overlay=_e,this.overlayRef=null,this.closeSubscription=p.w0.EMPTY}create(oe,_e){this.close(!0);const{x:Q,y:He}=oe;oe instanceof MouseEvent&&oe.preventDefault();const Re=this.overlay.position().flexibleConnectedTo({x:Q,y:He}).withPositions(le).withTransformOriginOn(".ant-dropdown");return this.overlayRef=this.overlay.create({positionStrategy:Re,disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.close()}),this.closeSubscription=new p.w0,this.closeSubscription.add(_e.descendantMenuItemClick$.subscribe(()=>this.close())),this.closeSubscription.add(this.ngZone.runOutsideAngular(()=>(0,E.T)((0,u.R)(document,"click").pipe((0,m.h)(lt=>!!this.overlayRef&&!this.overlayRef.overlayElement.contains(lt.target)),(0,m.h)(lt=>2!==lt.button)),(0,u.R)(document,"keydown").pipe((0,m.h)(lt=>"Escape"===lt.key))).pipe((0,b.P)()).subscribe(()=>this.ngZone.run(()=>this.close())))),this.overlayRef.attach(new t.UE(_e.templateRef,_e.viewContainerRef))}close(oe=!1){this.overlayRef&&(this.overlayRef.detach(),oe&&this.overlayRef.dispose(),this.overlayRef=null,this.closeSubscription.unsubscribe())}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.LFG(i.R0b),i.LFG(S.aV))};static#t=this.\u0275prov=i.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:De})}return Ne})()},60804:(tt,I,o)=>{"use strict";o.d(I,{Xo:()=>ee,gB:()=>K,p9:()=>G});var e=o(68484),n=o(65879),t=o(78645),i=o(59773),l=o(27921),h=o(83064),E=o(96814),u=o(12131),z=o(8324),M=o(49388);function p(te,pe){if(1&te&&(n.ynx(0),n._UZ(1,"img",5),n.BQk()),2&te){const re=n.oxw(2);n.xp6(1),n.Q6J("src",re.nzNotFoundImage,n.LSH)("alt",re.isContentString?re.nzNotFoundContent:"empty")}}function v(te,pe){if(1&te&&(n.ynx(0),n.YNc(1,p,2,2,"ng-container",4),n.BQk()),2&te){const re=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",re.nzNotFoundImage)}}function _(te,pe){1&te&&n._UZ(0,"nz-empty-default")}function d(te,pe){1&te&&n._UZ(0,"nz-empty-simple")}function m(te,pe){if(1&te&&(n.ynx(0),n._uU(1),n.BQk()),2&te){const re=n.oxw(2);n.xp6(1),n.hij(" ",re.isContentString?re.nzNotFoundContent:re.locale.description," ")}}function f(te,pe){if(1&te&&(n.TgZ(0,"p",6),n.YNc(1,m,2,1,"ng-container",4),n.qZA()),2&te){const re=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",re.nzNotFoundContent)}}function C(te,pe){if(1&te&&(n.ynx(0),n._uU(1),n.BQk()),2&te){const re=n.oxw(2);n.xp6(1),n.hij(" ",re.nzNotFoundFooter," ")}}function T(te,pe){if(1&te&&(n.TgZ(0,"div",7),n.YNc(1,C,2,1,"ng-container",4),n.qZA()),2&te){const re=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",re.nzNotFoundFooter)}}function b(te,pe){1&te&&n._UZ(0,"nz-empty",6),2&te&&n.Q6J("nzNotFoundImage","simple")}function D(te,pe){1&te&&n._UZ(0,"nz-empty",7),2&te&&n.Q6J("nzNotFoundImage","simple")}function y(te,pe){1&te&&n._UZ(0,"nz-empty")}function P(te,pe){if(1&te&&(n.ynx(0,2),n.YNc(1,b,1,1,"nz-empty",3),n.YNc(2,D,1,1,"nz-empty",4),n.YNc(3,y,1,0,"nz-empty",5),n.BQk()),2&te){const re=n.oxw();n.Q6J("ngSwitch",re.size),n.xp6(1),n.Q6J("ngSwitchCase","normal"),n.xp6(1),n.Q6J("ngSwitchCase","small")}}function S(te,pe){}function A(te,pe){if(1&te&&n.YNc(0,S,0,0,"ng-template",8),2&te){const re=n.oxw(2);n.Q6J("cdkPortalOutlet",re.contentPortal)}}function k(te,pe){if(1&te&&(n.ynx(0),n._uU(1),n.BQk()),2&te){const re=n.oxw(2);n.xp6(1),n.hij(" ",re.content," ")}}function R(te,pe){if(1&te&&(n.ynx(0),n.YNc(1,A,1,1,null,1),n.YNc(2,k,2,1,"ng-container",1),n.BQk()),2&te){const re=n.oxw();n.xp6(1),n.Q6J("ngIf","string"!==re.contentType),n.xp6(1),n.Q6J("ngIf","string"===re.contentType)}}const W=new n.OlP("nz-empty-component-name");let j=(()=>{class te{static#e=this.\u0275fac=function(De){return new(De||te)};static#t=this.\u0275cmp=n.Xpm({type:te,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(De,ae){1&De&&(n.O4$(),n.TgZ(0,"svg",0)(1,"g",1)(2,"g",2),n._UZ(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),n.qZA(),n._UZ(8,"path",8),n.TgZ(9,"g",9),n._UZ(10,"ellipse",10)(11,"path",11),n.qZA()()())},encapsulation:2,changeDetection:0})}return te})(),ze=(()=>{class te{static#e=this.\u0275fac=function(De){return new(De||te)};static#t=this.\u0275cmp=n.Xpm({type:te,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(De,ae){1&De&&(n.O4$(),n.TgZ(0,"svg",0)(1,"g",1),n._UZ(2,"ellipse",2),n.TgZ(3,"g",3),n._UZ(4,"path",4)(5,"path",5),n.qZA()()())},encapsulation:2,changeDetection:0})}return te})();const Y=["default","simple"];let G=(()=>{class te{constructor(re,De){this.i18n=re,this.cdr=De,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new t.x}ngOnChanges(re){const{nzNotFoundContent:De,nzNotFoundImage:ae}=re;if(De&&(this.isContentString="string"==typeof De.currentValue),ae){const ce=ae.currentValue||"default";this.isImageBuildIn=Y.findIndex(X=>X===ce)>-1}}ngOnInit(){this.i18n.localeChange.pipe((0,i.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(De){return new(De||te)(n.Y36(u.wi),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:te,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[n.TTD],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(De,ae){1&De&&(n.TgZ(0,"div",0),n.YNc(1,v,2,1,"ng-container",1),n.YNc(2,_,1,0,"nz-empty-default",1),n.YNc(3,d,1,0,"nz-empty-simple",1),n.qZA(),n.YNc(4,f,2,1,"p",2),n.YNc(5,T,2,1,"div",3)),2&De&&(n.xp6(1),n.Q6J("ngIf",!ae.isImageBuildIn),n.xp6(1),n.Q6J("ngIf",ae.isImageBuildIn&&"simple"!==ae.nzNotFoundImage),n.xp6(1),n.Q6J("ngIf",ae.isImageBuildIn&&"simple"===ae.nzNotFoundImage),n.xp6(1),n.Q6J("ngIf",null!==ae.nzNotFoundContent),n.xp6(1),n.Q6J("ngIf",ae.nzNotFoundFooter))},dependencies:[E.O5,z.f,j,ze],encapsulation:2,changeDetection:0})}return te})(),K=(()=>{class te{constructor(re,De,ae,ce){this.configService=re,this.viewContainerRef=De,this.cdr=ae,this.injector=ce,this.contentType="string",this.size="",this.destroy$=new t.x}ngOnChanges(re){re.nzComponentName&&(this.size=function V(te){switch(te){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(re.nzComponentName.currentValue)),re.specificContent&&!re.specificContent.isFirstChange()&&(this.content=re.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const re=this.content;if("string"==typeof re)this.contentType="string";else if(re instanceof n.Rgc){const De={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new e.UE(re,this.viewContainerRef,De)}else if(re instanceof n.DyG){const De=n.zs3.create({parent:this.injector,providers:[{provide:W,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new e.C5(re,this.viewContainerRef,De)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe((0,l.O)(!0),(0,i.R)(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}static#e=this.\u0275fac=function(De){return new(De||te)(n.Y36(h.jY),n.Y36(n.s_b),n.Y36(n.sBO),n.Y36(n.zs3))};static#t=this.\u0275cmp=n.Xpm({type:te,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[n.TTD],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(De,ae){1&De&&(n.YNc(0,P,4,3,"ng-container",0),n.YNc(1,R,3,2,"ng-container",1)),2&De&&(n.Q6J("ngIf",!ae.content&&null!==ae.specificContent),n.xp6(1),n.Q6J("ngIf",ae.content))},dependencies:[E.O5,E.RF,E.n9,E.ED,e.Pl,G],encapsulation:2,changeDetection:0})}return te})(),ee=(()=>{class te{static#e=this.\u0275fac=function(De){return new(De||te)};static#t=this.\u0275mod=n.oAB({type:te});static#n=this.\u0275inj=n.cJS({imports:[M.vT,E.ez,e.eL,z.T,u.YI]})}return te})()},3599:(tt,I,o)=>{"use strict";o.d(I,{Fd:()=>re,Lr:()=>pe,Nx:()=>K,U5:()=>ne,iK:()=>ae});var e=o(49388),n=o(71088),t=o(62831),i=o(96814),l=o(65879),h=o(8324),E=o(10095),u=o(90551),z=o(96109),M=o(60095),p=o(78645),v=o(47394),_=o(32181),d=o(37398),m=o(59773),f=o(27921),C=o(99397),T=o(64194),b=o(50883),D=o(27754),y=o(12131),P=o(97582),S=o(83064);const A=["*"];function k(le,Se){if(1&le&&(l.ynx(0),l._uU(1),l.BQk()),2&le){const Ne=l.oxw(2);l.xp6(1),l.Oqu(Ne.innerTip)}}const R=function(le){return[le]},W=function(le){return{$implicit:le}};function j(le,Se){if(1&le&&(l.TgZ(0,"div",4)(1,"div",5),l.YNc(2,k,2,1,"ng-container",6),l.qZA()()),2&le){const Ne=l.oxw();l.Q6J("@helpMotion",void 0),l.xp6(1),l.Q6J("ngClass",l.VKq(4,R,"ant-form-item-explain-"+Ne.status)),l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ne.innerTip)("nzStringTemplateOutletContext",l.VKq(6,W,Ne.validateControl))}}function ze(le,Se){if(1&le&&(l.ynx(0),l._uU(1),l.BQk()),2&le){const Ne=l.oxw(2);l.xp6(1),l.Oqu(Ne.nzExtra)}}function Y(le,Se){if(1&le&&(l.TgZ(0,"div",7),l.YNc(1,ze,2,1,"ng-container",8),l.qZA()),2&le){const Ne=l.oxw();l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ne.nzExtra)}}function G(le,Se){if(1&le&&(l.ynx(0),l._UZ(1,"span",3),l.BQk()),2&le){const Ne=Se.$implicit,ke=l.oxw(2);l.xp6(1),l.Q6J("nzType",Ne)("nzTheme",ke.tooltipIcon.theme)}}function V(le,Se){if(1&le&&(l.TgZ(0,"span",1),l.YNc(1,G,2,2,"ng-container",2),l.qZA()),2&le){const Ne=l.oxw();l.Q6J("nzTooltipTitle",Ne.nzTooltipTitle),l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ne.tooltipIcon.type)}}let K=(()=>{class le{setWithHelpViaTips(Ne){this.withHelpClass=Ne,this.cdr.markForCheck()}setStatus(Ne){this.status=Ne,this.cdr.markForCheck()}setHasFeedback(Ne){this.hasFeedback=Ne,this.cdr.markForCheck()}constructor(Ne){this.cdr=Ne,this.status="",this.hasFeedback=!1,this.withHelpClass=!1,this.destroy$=new p.x}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(ke){return new(ke||le)(l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:le,selectors:[["nz-form-item"]],hostAttrs:[1,"ant-form-item"],hostVars:12,hostBindings:function(ke,oe){2&ke&&l.ekj("ant-form-item-has-success","success"===oe.status)("ant-form-item-has-warning","warning"===oe.status)("ant-form-item-has-error","error"===oe.status)("ant-form-item-is-validating","validating"===oe.status)("ant-form-item-has-feedback",oe.hasFeedback&&oe.status)("ant-form-item-with-help",oe.withHelpClass)},exportAs:["nzFormItem"],ngContentSelectors:A,decls:1,vars:0,template:function(ke,oe){1&ke&&(l.F$t(),l.Hsn(0))},encapsulation:2,changeDetection:0})}return le})();const te={type:"question-circle",theme:"outline"};let pe=(()=>{class le{getInputObservable(Ne){return this.inputChanges$.pipe((0,_.h)(ke=>Ne in ke),(0,d.U)(ke=>ke[Ne]))}constructor(Ne,ke){this.nzConfigService=Ne,this.directionality=ke,this._nzModuleName="form",this.nzLayout="horizontal",this.nzNoColon=!1,this.nzAutoTips={},this.nzDisableAutoTips=!1,this.nzTooltipIcon=te,this.nzLabelAlign="right",this.nzLabelWrap=!1,this.dir="ltr",this.destroy$=new p.x,this.inputChanges$=new p.x,this.dir=this.directionality.value,this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(oe=>{this.dir=oe})}ngOnChanges(Ne){this.inputChanges$.next(Ne)}ngOnDestroy(){this.inputChanges$.complete(),this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(ke){return new(ke||le)(l.Y36(S.jY),l.Y36(e.Is,8))};static#t=this.\u0275dir=l.lG2({type:le,selectors:[["","nz-form",""]],hostAttrs:[1,"ant-form"],hostVars:8,hostBindings:function(ke,oe){2&ke&&l.ekj("ant-form-horizontal","horizontal"===oe.nzLayout)("ant-form-vertical","vertical"===oe.nzLayout)("ant-form-inline","inline"===oe.nzLayout)("ant-form-rtl","rtl"===oe.dir)},inputs:{nzLayout:"nzLayout",nzNoColon:"nzNoColon",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzTooltipIcon:"nzTooltipIcon",nzLabelAlign:"nzLabelAlign",nzLabelWrap:"nzLabelWrap"},exportAs:["nzForm"],features:[l.TTD]})}return(0,P.gn)([(0,S.oS)(),(0,D.yF)()],le.prototype,"nzNoColon",void 0),(0,P.gn)([(0,S.oS)()],le.prototype,"nzAutoTips",void 0),(0,P.gn)([(0,D.yF)()],le.prototype,"nzDisableAutoTips",void 0),(0,P.gn)([(0,S.oS)()],le.prototype,"nzTooltipIcon",void 0),(0,P.gn)([(0,S.oS)(),(0,D.yF)()],le.prototype,"nzLabelWrap",void 0),le})(),re=(()=>{class le{get disableAutoTips(){return"default"!==this.nzDisableAutoTips?(0,D.sw)(this.nzDisableAutoTips):this.nzFormDirective?.nzDisableAutoTips}set nzHasFeedback(Ne){this._hasFeedback=(0,D.sw)(Ne),this.nzFormStatusService.formStatusChanges.next({status:this.status,hasFeedback:this._hasFeedback}),this.nzFormItemComponent&&this.nzFormItemComponent.setHasFeedback(this._hasFeedback)}get nzHasFeedback(){return this._hasFeedback}set nzValidateStatus(Ne){Ne instanceof M.TO||Ne instanceof M.On?(this.validateControl=Ne,this.validateString=null,this.watchControl()):Ne instanceof M.u?(this.validateControl=Ne.control,this.validateString=null,this.watchControl()):(this.validateString=Ne,this.validateControl=null,this.setStatus())}watchControl(){this.validateChanges.unsubscribe(),this.validateControl&&this.validateControl.statusChanges&&(this.validateChanges=this.validateControl.statusChanges.pipe((0,f.O)(null),(0,m.R)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck()}))}setStatus(){this.status=this.getControlStatus(this.validateString),this.innerTip=this.getInnerTip(this.status),this.nzFormStatusService.formStatusChanges.next({status:this.status,hasFeedback:this.nzHasFeedback}),this.nzFormItemComponent&&(this.nzFormItemComponent.setWithHelpViaTips(!!this.innerTip),this.nzFormItemComponent.setStatus(this.status))}getControlStatus(Ne){let ke;return ke="warning"===Ne||this.validateControlStatus("INVALID","warning")?"warning":"error"===Ne||this.validateControlStatus("INVALID")?"error":"validating"===Ne||"pending"===Ne||this.validateControlStatus("PENDING")?"validating":"success"===Ne||this.validateControlStatus("VALID")?"success":"",ke}validateControlStatus(Ne,ke){if(this.validateControl){const{dirty:oe,touched:_e,status:Q}=this.validateControl;return(!!oe||!!_e)&&(ke?this.validateControl.hasError(ke):Q===Ne)}return!1}getInnerTip(Ne){switch(Ne){case"error":return!this.disableAutoTips&&this.autoErrorTip||this.nzErrorTip||null;case"validating":return this.nzValidatingTip||null;case"success":return this.nzSuccessTip||null;case"warning":return this.nzWarningTip||null;default:return null}}updateAutoErrorTip(){if(this.validateControl){const Ne=this.validateControl.errors||{};let ke="";for(const oe in Ne)if(Ne.hasOwnProperty(oe)&&(ke=Ne[oe]?.[this.localeId]??this.nzAutoTips?.[this.localeId]?.[oe]??this.nzAutoTips.default?.[oe]??this.nzFormDirective?.nzAutoTips?.[this.localeId]?.[oe]??this.nzFormDirective?.nzAutoTips.default?.[oe]),ke)break;this.autoErrorTip=ke}}subscribeAutoTips(Ne){Ne?.pipe((0,m.R)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||(this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck())})}constructor(Ne,ke,oe,_e,Q){this.nzFormItemComponent=Ne,this.cdr=ke,this.nzFormDirective=_e,this.nzFormStatusService=Q,this._hasFeedback=!1,this.validateChanges=v.w0.EMPTY,this.validateString=null,this.destroyed$=new p.x,this.status="",this.validateControl=null,this.innerTip=null,this.nzAutoTips={},this.nzDisableAutoTips="default",this.subscribeAutoTips(oe.localeChange.pipe((0,C.b)(He=>this.localeId=He.locale))),this.subscribeAutoTips(this.nzFormDirective?.getInputObservable("nzAutoTips")),this.subscribeAutoTips(this.nzFormDirective?.getInputObservable("nzDisableAutoTips").pipe((0,_.h)(()=>"default"===this.nzDisableAutoTips)))}ngOnChanges(Ne){const{nzDisableAutoTips:ke,nzAutoTips:oe,nzSuccessTip:_e,nzWarningTip:Q,nzErrorTip:He,nzValidatingTip:Re}=Ne;ke||oe?(this.updateAutoErrorTip(),this.setStatus()):(_e||Q||He||Re)&&this.setStatus()}ngOnInit(){this.setStatus()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}ngAfterContentInit(){!this.validateControl&&!this.validateString&&(this.nzValidateStatus=this.defaultValidateControl instanceof M.oH?this.defaultValidateControl.control:this.defaultValidateControl)}static#e=this.\u0275fac=function(ke){return new(ke||le)(l.Y36(K,9),l.Y36(l.sBO),l.Y36(y.wi),l.Y36(pe,8),l.Y36(b.kH))};static#t=this.\u0275cmp=l.Xpm({type:le,selectors:[["nz-form-control"]],contentQueries:function(ke,oe,_e){if(1&ke&&l.Suo(_e,M.a5,5),2&ke){let Q;l.iGM(Q=l.CRH())&&(oe.defaultValidateControl=Q.first)}},hostAttrs:[1,"ant-form-item-control"],inputs:{nzSuccessTip:"nzSuccessTip",nzWarningTip:"nzWarningTip",nzErrorTip:"nzErrorTip",nzValidatingTip:"nzValidatingTip",nzExtra:"nzExtra",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzHasFeedback:"nzHasFeedback",nzValidateStatus:"nzValidateStatus"},exportAs:["nzFormControl"],features:[l._Bn([b.kH]),l.TTD],ngContentSelectors:A,decls:5,vars:2,consts:[[1,"ant-form-item-control-input"],[1,"ant-form-item-control-input-content"],["class","ant-form-item-explain ant-form-item-explain-connected",4,"ngIf"],["class","ant-form-item-extra",4,"ngIf"],[1,"ant-form-item-explain","ant-form-item-explain-connected"],["role","alert",3,"ngClass"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-form-item-extra"],[4,"nzStringTemplateOutlet"]],template:function(ke,oe){1&ke&&(l.F$t(),l.TgZ(0,"div",0)(1,"div",1),l.Hsn(2),l.qZA()(),l.YNc(3,j,3,8,"div",2),l.YNc(4,Y,2,1,"div",3)),2&ke&&(l.xp6(3),l.Q6J("ngIf",oe.innerTip),l.xp6(1),l.Q6J("ngIf",oe.nzExtra))},dependencies:[i.mk,i.O5,h.f],encapsulation:2,data:{animation:[T.c8]},changeDetection:0})}return le})();function De(le){return{...te,..."string"==typeof le?{type:le}:le}}let ae=(()=>{class le{set nzNoColon(Ne){this.noColon=(0,D.sw)(Ne)}get nzNoColon(){return"default"!==this.noColon?this.noColon:this.nzFormDirective?.nzNoColon}set nzTooltipIcon(Ne){this._tooltipIcon=De(Ne)}get tooltipIcon(){return"default"!==this._tooltipIcon?this._tooltipIcon:De(this.nzFormDirective?.nzTooltipIcon||te)}set nzLabelAlign(Ne){this.labelAlign=Ne}get nzLabelAlign(){return"default"!==this.labelAlign?this.labelAlign:this.nzFormDirective?.nzLabelAlign||"right"}set nzLabelWrap(Ne){this.labelWrap=(0,D.sw)(Ne)}get nzLabelWrap(){return"default"!==this.labelWrap?this.labelWrap:this.nzFormDirective?.nzLabelWrap}constructor(Ne,ke){this.cdr=Ne,this.nzFormDirective=ke,this.nzRequired=!1,this.noColon="default",this._tooltipIcon="default",this.labelAlign="default",this.labelWrap="default",this.destroy$=new p.x,this.nzFormDirective&&(this.nzFormDirective.getInputObservable("nzNoColon").pipe((0,_.h)(()=>"default"===this.noColon),(0,m.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzTooltipIcon").pipe((0,_.h)(()=>"default"===this._tooltipIcon),(0,m.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzLabelAlign").pipe((0,_.h)(()=>"default"===this.labelAlign),(0,m.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzLabelWrap").pipe((0,_.h)(()=>"default"===this.labelWrap),(0,m.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(ke){return new(ke||le)(l.Y36(l.sBO),l.Y36(pe,12))};static#t=this.\u0275cmp=l.Xpm({type:le,selectors:[["nz-form-label"]],hostAttrs:[1,"ant-form-item-label"],hostVars:4,hostBindings:function(ke,oe){2&ke&&l.ekj("ant-form-item-label-left","left"===oe.nzLabelAlign)("ant-form-item-label-wrap",oe.nzLabelWrap)},inputs:{nzFor:"nzFor",nzRequired:"nzRequired",nzNoColon:"nzNoColon",nzTooltipTitle:"nzTooltipTitle",nzTooltipIcon:"nzTooltipIcon",nzLabelAlign:"nzLabelAlign",nzLabelWrap:"nzLabelWrap"},exportAs:["nzFormLabel"],ngContentSelectors:A,decls:3,vars:6,consts:[["class","ant-form-item-tooltip","nz-tooltip","",3,"nzTooltipTitle",4,"ngIf"],["nz-tooltip","",1,"ant-form-item-tooltip",3,"nzTooltipTitle"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"]],template:function(ke,oe){1&ke&&(l.F$t(),l.TgZ(0,"label"),l.Hsn(1),l.YNc(2,V,2,2,"span",0),l.qZA()),2&ke&&(l.ekj("ant-form-item-no-colon",oe.nzNoColon)("ant-form-item-required",oe.nzRequired),l.uIk("for",oe.nzFor),l.xp6(2),l.Q6J("ngIf",oe.nzTooltipTitle))},dependencies:[i.O5,u.Ls,z.SY,h.f],encapsulation:2,changeDetection:0})}return(0,P.gn)([(0,D.yF)()],le.prototype,"nzRequired",void 0),le})(),ne=(()=>{class le{static#e=this.\u0275fac=function(ke){return new(ke||le)};static#t=this.\u0275mod=l.oAB({type:le});static#n=this.\u0275inj=l.cJS({imports:[e.vT,i.ez,E.Jb,u.PV,z.cg,n.xu,t.ud,h.T,E.Jb]})}return le})()},10095:(tt,I,o)=>{"use strict";o.d(I,{Jb:()=>_,SK:()=>p,t3:()=>v});var e=o(65879),n=o(97328),t=o(78645),i=o(59773),l=o(99087),h=o(71088),E=o(62831),u=o(49388),z=o(27754),M=o(96814);let p=(()=>{class d{getGutter(){const f=[null,null],C=this.nzGutter||0;return(Array.isArray(C)?C:[C,null]).forEach((b,D)=>{"object"==typeof b&&null!==b?(f[D]=null,Object.keys(l.WV).map(y=>{const P=y;this.mediaMatcher.matchMedia(l.WV[P]).matches&&b[P]&&(f[D]=b[P])})):f[D]=Number(b)||null}),f}setGutterStyle(){const[f,C]=this.getGutter();this.actualGutter$.next([f,C]);const T=(b,D)=>{null!==D&&this.renderer.setStyle(this.elementRef.nativeElement,b,`-${D/2}px`)};T("margin-left",f),T("margin-right",f),T("margin-top",C),T("margin-bottom",C)}constructor(f,C,T,b,D,y,P){this.elementRef=f,this.renderer=C,this.mediaMatcher=T,this.ngZone=b,this.platform=D,this.breakpointService=y,this.directionality=P,this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new n.t(1),this.dir="ltr",this.destroy$=new t.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(f=>{this.dir=f}),this.setGutterStyle()}ngOnChanges(f){f.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(l.WV).pipe((0,i.R)(this.destroy$)).subscribe(()=>{this.setGutterStyle()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(C){return new(C||d)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(h.vx),e.Y36(e.R0b),e.Y36(E.t4),e.Y36(l.r3),e.Y36(u.Is,8))};static#t=this.\u0275dir=e.lG2({type:d,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostAttrs:[1,"ant-row"],hostVars:20,hostBindings:function(C,T){2&C&&e.ekj("ant-row-top","top"===T.nzAlign)("ant-row-middle","middle"===T.nzAlign)("ant-row-bottom","bottom"===T.nzAlign)("ant-row-start","start"===T.nzJustify)("ant-row-end","end"===T.nzJustify)("ant-row-center","center"===T.nzJustify)("ant-row-space-around","space-around"===T.nzJustify)("ant-row-space-between","space-between"===T.nzJustify)("ant-row-space-evenly","space-evenly"===T.nzJustify)("ant-row-rtl","rtl"===T.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[e.TTD]})}return d})(),v=(()=>{class d{setHostClassMap(){const f={"ant-col":!0,[`ant-col-${this.nzSpan}`]:(0,z.DX)(this.nzSpan),[`ant-col-order-${this.nzOrder}`]:(0,z.DX)(this.nzOrder),[`ant-col-offset-${this.nzOffset}`]:(0,z.DX)(this.nzOffset),[`ant-col-pull-${this.nzPull}`]:(0,z.DX)(this.nzPull),[`ant-col-push-${this.nzPush}`]:(0,z.DX)(this.nzPush),"ant-col-rtl":"rtl"===this.dir,...this.generateClass()};for(const C in this.classMap)this.classMap.hasOwnProperty(C)&&this.renderer.removeClass(this.elementRef.nativeElement,C);this.classMap={...f};for(const C in this.classMap)this.classMap.hasOwnProperty(C)&&this.classMap[C]&&this.renderer.addClass(this.elementRef.nativeElement,C)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(f){return"number"==typeof f?`${f} ${f} auto`:"string"==typeof f&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(f)?`0 0 ${f}`:f}generateClass(){const C={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach(T=>{const b=T.replace("nz","").toLowerCase();if((0,z.DX)(this[T]))if("number"==typeof this[T]||"string"==typeof this[T])C[`ant-col-${b}-${this[T]}`]=!0;else{const D=this[T];["span","pull","push","offset","order"].forEach(P=>{C[`ant-col-${b}${"span"===P?"-":`-${P}-`}${D[P]}`]=D&&(0,z.DX)(D[P])})}}),C}constructor(f,C,T,b){this.elementRef=f,this.nzRowDirective=C,this.renderer=T,this.directionality=b,this.classMap={},this.destroy$=new t.x,this.hostFlexStyle=null,this.dir="ltr",this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(f=>{this.dir=f,this.setHostClassMap()}),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(f){this.setHostClassMap();const{nzFlex:C}=f;C&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe((0,i.R)(this.destroy$)).subscribe(([f,C])=>{const T=(b,D)=>{null!==D&&this.renderer.setStyle(this.elementRef.nativeElement,b,D/2+"px")};T("padding-left",f),T("padding-right",f),T("padding-top",C),T("padding-bottom",C)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(C){return new(C||d)(e.Y36(e.SBq),e.Y36(p,9),e.Y36(e.Qsj),e.Y36(u.Is,8))};static#t=this.\u0275dir=e.lG2({type:d,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(C,T){2&C&&e.Udp("flex",T.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[e.TTD]})}return d})(),_=(()=>{class d{static#e=this.\u0275fac=function(C){return new(C||d)};static#t=this.\u0275mod=e.oAB({type:d});static#n=this.\u0275inj=e.cJS({imports:[u.vT,M.ez,h.xu,E.ud]})}return d})()},12131:(tt,I,o)=>{"use strict";o.d(I,{mx:()=>j,YI:()=>S,o9:()=>P,wi:()=>y,iF:()=>f,bF:()=>C});var e=o(65879),n=o(65619),t=o(1608),i=o(96814),l=o(40581),h=o(97753),E=o(62816);function u(ve){return(0,E.Z)(1,arguments),(0,h.Z)(ve,{weekStartsOn:1})}var _=o(89207),d=o(80356),m=o(3945),f={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week",secondError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",minuteError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",hourError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-23Allowable range

",dayError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-31Allowable range

",monthError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-12Allowable range

",weekError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

? Not specify

0-7Allowable range (0 represents Sunday, 1-7 are Monday to Sunday)

"},QRCode:{expired:"QR code expired",refresh:"Refresh"}},C={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468",secondError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",minuteError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",hourError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

0-23 \u5141\u8bb8\u8303\u56f4

",dayError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-31 \u5141\u8bb8\u8303\u56f4

",monthError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-12 \u5141\u8bb8\u8303\u56f4

",weekError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

? \u4e0d\u6307\u5b9a

0-7 \u5141\u8bb8\u8303\u56f4\uff080\u4ee3\u8868\u5468\u65e5\uff0c1-7\u4f9d\u6b21\u4e3a\u5468\u4e00\u5230\u5468\u65e5\uff09

"},QRCode:{expired:"\u4e8c\u7ef4\u7801\u8fc7\u671f",refresh:"\u70b9\u51fb\u5237\u65b0"}};const T=new e.OlP("nz-i18n"),D=new e.OlP("nz-date-locale");let y=(()=>{class ve{get localeChange(){return this._change.asObservable()}constructor(x,N){this._change=new n.X(this._locale),this.setLocale(x||C),this.setDateLocale(N||null)}translate(x,N){let O=this._getObjectPath(this._locale,x);return"string"==typeof O?(N&&Object.keys(N).forEach($=>O=O.replace(new RegExp(`%${$}%`,"g"),N[$])),O):x}setLocale(x){this._locale&&this._locale.locale===x.locale||(this._locale=x,this._change.next(x))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(x){this.dateLocale=x}getDateLocale(){return this.dateLocale}getLocaleData(x,N){const O=x?this._getObjectPath(this._locale,x):this._locale;return!O&&!N&&(0,t.ZK)(`Missing translations for "${x}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),O||N||this._getObjectPath(f,x)||{}}_getObjectPath(x,N){let O=x;const $=N.split("."),L=$.length;let he=0;for(;O&&he{class ve{constructor(x){this._locale=x}transform(x,N){return this._locale.translate(x,N)}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(y,16))};static#t=this.\u0275pipe=e.Yjl({name:"nzI18n",type:ve,pure:!0})}return ve})(),S=(()=>{class ve{static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275mod=e.oAB({type:ve});static#n=this.\u0275inj=e.cJS({})}return ve})();const A=new e.OlP("date-config"),k={firstDayOfWeek:void 0};let j=(()=>{class ve{constructor(x,N){this.i18n=x,this.config=N,this.config=function R(ve){return{...k,...ve}}(this.config)}static#e=this.\u0275fac=function(N){return new(N||ve)(e.LFG(y),e.LFG(A,8))};static#t=this.\u0275prov=e.Yz7({token:ve,factory:function(N){let O=null;return O=N?new N:function W(ve,nt){const x=ve.get(y);return x.getDateLocale()?new ze(x,nt):new Y(x,nt)}(e.LFG(e.zs3),e.LFG(A,8)),O},providedIn:"root"})}return ve})();class ze extends j{getISOWeek(nt){return function v(ve){(0,E.Z)(1,arguments);var nt=(0,l.Z)(ve),x=u(nt).getTime()-function M(ve){(0,E.Z)(1,arguments);var nt=function z(ve){(0,E.Z)(1,arguments);var nt=(0,l.Z)(ve),x=nt.getFullYear(),N=new Date(0);N.setFullYear(x+1,0,4),N.setHours(0,0,0,0);var O=u(N),$=new Date(0);$.setFullYear(x,0,4),$.setHours(0,0,0,0);var L=u($);return nt.getTime()>=O.getTime()?x+1:nt.getTime()>=L.getTime()?x:x-1}(ve),x=new Date(0);return x.setFullYear(nt,0,4),x.setHours(0,0,0,0),u(x)}(nt).getTime();return Math.round(x/6048e5)+1}(nt)}getFirstDayOfWeek(){let nt;try{nt=this.i18n.getDateLocale().options.weekStartsOn}catch{nt=1}return null==this.config.firstDayOfWeek?nt:this.config.firstDayOfWeek}format(nt,x){return nt?(0,_.Z)(nt,x,{locale:this.i18n.getDateLocale()}):""}parseDate(nt,x){return(0,d.Z)(nt,x,new Date,{locale:this.i18n.getDateLocale(),weekStartsOn:this.getFirstDayOfWeek()})}parseTime(nt,x){return this.parseDate(nt,x)}}class Y extends j{getISOWeek(nt){return+this.format(nt,"w")}getFirstDayOfWeek(){if(void 0===this.config.firstDayOfWeek){const nt=this.i18n.getLocaleId();return nt&&["zh-cn","zh-tw"].indexOf(nt.toLowerCase())>-1?1:0}return this.config.firstDayOfWeek}format(nt,x){return nt?(0,i.p6)(nt,x,this.i18n.getLocaleId()):""}parseDate(nt){return new Date(nt)}parseTime(nt,x){return new m.xR(x,this.i18n.getLocaleId()).toDate(nt)}}},90551:(tt,I,o)=>{"use strict";o.d(I,{Ls:()=>Qe,PV:()=>Ke,H5:()=>wt});var e=o(62831),n=o(65879),t=o(97582),i=o(78645),l=o(7715),h=o(59773),E=o(94265),u=o(36379),z=2,M=.16,p=.05,v=.05,_=.15,d=5,m=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function C(Ze){var N=(0,E.py)(Ze.r,Ze.g,Ze.b);return{h:360*N.h,s:N.s,v:N.v}}function T(Ze){return"#".concat((0,E.vq)(Ze.r,Ze.g,Ze.b,!1))}function D(Ze,ve,nt){var x;return(x=Math.round(Ze.h)>=60&&Math.round(Ze.h)<=240?nt?Math.round(Ze.h)-z*ve:Math.round(Ze.h)+z*ve:nt?Math.round(Ze.h)+z*ve:Math.round(Ze.h)-z*ve)<0?x+=360:x>=360&&(x-=360),x}function y(Ze,ve,nt){return 0===Ze.h&&0===Ze.s?Ze.s:((x=nt?Ze.s-M*ve:ve===m?Ze.s+M:Ze.s+p*ve)>1&&(x=1),nt&&ve===d&&x>.1&&(x=.1),x<.06&&(x=.06),Number(x.toFixed(2)));var x}function P(Ze,ve,nt){var x;return(x=nt?Ze.v+v*ve:Ze.v-_*ve)>1&&(x=1),Number(x.toFixed(2))}function S(Ze){for(var ve=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},nt=[],x=(0,u.uA)(Ze),N=d;N>0;N-=1){var O=C(x),$=T((0,u.uA)({h:D(O,N,!0),s:y(O,N,!0),v:P(O,N,!0)}));nt.push($)}nt.push(T(x));for(var L=1;L<=m;L+=1){var he=C(x),Ce=T((0,u.uA)({h:D(he,L),s:y(he,L),v:P(he,L)}));nt.push(Ce)}return"dark"===ve.theme?f.map(function(Dt){var Yt=Dt.index,rn=Dt.opacity,hn=T(function b(Ze,ve,nt){var x=nt/100;return{r:(ve.r-Ze.r)*x+Ze.r,g:(ve.g-Ze.g)*x+Ze.g,b:(ve.b-Ze.b)*x+Ze.b}}((0,u.uA)(ve.backgroundColor||"#141414"),(0,u.uA)(nt[Yt]),100*rn));return hn}):nt}var A={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},k={},R={};Object.keys(A).forEach(function(Ze){k[Ze]=S(A[Ze]),k[Ze].primary=k[Ze][5],R[Ze]=S(A[Ze],{theme:"dark",backgroundColor:"#141414"}),R[Ze].primary=R[Ze][5]});var X=o(96814),ne=o(69862),le=o(22096),Se=o(65592),Ne=o(37398),ke=o(99397),oe=o(64716),_e=o(26306),Q=o(63020),He=o(32181),Re=o(48180),lt=o(6593);const Pe="[@ant-design/icons-angular]:";function $e(Ze){(0,n.X6Q)()&&console.warn(`${Pe} ${Ze}.`)}function ot(Ze){return S(Ze)[0]}function mt(Ze,ve){switch(ve){case"fill":return`${Ze}-fill`;case"outline":return`${Ze}-o`;case"twotone":return`${Ze}-twotone`;case void 0:return Ze;default:throw new Error(`${Pe}Theme "${ve}" is not a recognized theme!`)}}function B(Ze){return"object"==typeof Ze&&"string"==typeof Ze.name&&("string"==typeof Ze.theme||void 0===Ze.theme)&&"string"==typeof Ze.icon}function ht(Ze){const ve=Ze.split(":");switch(ve.length){case 1:return[Ze,""];case 2:return[ve[1],ve[0]];default:throw new Error(`${Pe}The icon type ${Ze} is not valid!`)}}function Wt(Ze){return new Error(`${Pe}the icon ${Ze} does not exist or is not registered.`)}function Vt(){return new Error(`${Pe} tag not found.`)}const gt=new n.OlP("ant_icons");let Ie=(()=>{class Ze{set twoToneColor({primaryColor:nt,secondaryColor:x}){this._twoToneColorPalette.primaryColor=nt,this._twoToneColorPalette.secondaryColor=x||ot(nt)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}constructor(nt,x,N,O,$){this._rendererFactory=nt,this._handler=x,this._document=N,this.sanitizer=O,this._antIcons=$,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new i.x,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new ne.eN(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?$e("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=nt=>{this._jsonpIconLoad$.next(nt)})}changeAssetsSource(nt){this._assetsUrlRoot=nt.endsWith("/")?nt:nt+"/"}addIcon(...nt){nt.forEach(x=>{this._svgDefinitions.set(mt(x.name,x.theme),x)})}addIconLiteral(nt,x){const[N,O]=ht(nt);if(!O)throw function Lt(){return new Error(`${Pe}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:nt,icon:x})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(nt,x){const N=B(nt)?nt:this._svgDefinitions.get(nt)||null;if(!N&&this._disableDynamicLoading)throw Wt(nt);return(N?(0,le.of)(N):this._loadIconDynamically(nt)).pipe((0,Ne.U)($=>{if(!$)throw Wt(nt);return this._loadSVGFromCacheOrCreateNew($,x)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(nt){if(!this._http&&!this._enableJsonpLoading)return(0,le.of)(function qt(){return function xt(Ze){console.error(`${Pe} ${Ze}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let x=this._inProgressFetches.get(nt);if(!x){const[N,O]=ht(nt),$=O?{name:nt,icon:""}:function Me(Ze){const ve=Ze.split("-"),nt=function de(Ze){return"o"===Ze?"outline":Ze}(ve.splice(ve.length-1,1)[0]);return{name:ve.join("-"),theme:nt,icon:""}}(N),he=(O?`${this._assetsUrlRoot}assets/${O}/${N}`:`${this._assetsUrlRoot}assets/${$.theme}/${$.name}`)+(this._enableJsonpLoading?".js":".svg"),Ce=this.sanitizer.sanitize(n.q3G.URL,he);if(!Ce)throw function en(Ze){return new Error(`${Pe}The url "${Ze}" is unsafe.`)}(he);x=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp($,Ce):this._http.get(Ce,{responseType:"text"}).pipe((0,Ne.U)(Yt=>({...$,icon:Yt})))).pipe((0,ke.b)(Yt=>this.addIcon(Yt)),(0,oe.x)(()=>this._inProgressFetches.delete(nt)),(0,_e.K)(()=>(0,le.of)(null)),(0,Q.B)()),this._inProgressFetches.set(nt,x)}return x}_loadIconDynamicallyWithJsonp(nt,x){return new Se.y(N=>{const O=this._document.createElement("script"),$=setTimeout(()=>{L(),N.error(function cn(){return new Error(`${Pe}Importing timeout error.`)}())},6e3);function L(){O.parentNode.removeChild(O),clearTimeout($)}O.src=x,this._document.body.appendChild(O),this._jsonpIconLoad$.pipe((0,He.h)(he=>he.name===nt.name&&he.theme===nt.theme),(0,Re.q)(1)).subscribe(he=>{N.next(he),L()})})}_loadSVGFromCacheOrCreateNew(nt,x){let N;const O=x||this._twoToneColorPalette.primaryColor,$=ot(O)||this._twoToneColorPalette.secondaryColor,L="twotone"===nt.theme?function we(Ze,ve,nt,x){return`${mt(Ze,ve)}-${nt}-${x}`}(nt.name,nt.theme,O,$):void 0===nt.theme?nt.name:mt(nt.name,nt.theme),he=this._svgRenderedDefinitions.get(L);return he?N=he.icon:(N=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function Ot(Ze){return""!==ht(Ze)[1]}(nt.name)?nt.icon:function Le(Ze){return Ze.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(nt.icon)),"twotone"===nt.theme,O,$)),this._svgRenderedDefinitions.set(L,{...nt,icon:N})),function Ae(Ze){return Ze.cloneNode(!0)}(N)}_createSVGElementFromString(nt){const x=this._document.createElement("div");x.innerHTML=nt;const N=x.querySelector("svg");if(!N)throw Vt;return N}_setSVGAttribute(nt){return this._renderer.setAttribute(nt,"width","1em"),this._renderer.setAttribute(nt,"height","1em"),nt}_colorizeSVGIcon(nt,x,N,O){if(x){const $=nt.childNodes,L=$.length;for(let he=0;he{class Ze{constructor(nt,x,N){this._iconService=nt,this._elementRef=x,this._renderer=N}ngOnChanges(nt){(nt.type||nt.theme||nt.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(nt=>{if(!this.type)return this._clearSVGElement(),void nt(null);const x=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(N=>{const O=this._getSelfRenderMeta();!function Ct(Ze,ve){return Ze.type===ve.type&&Ze.theme===ve.theme&&Ze.twoToneColor===ve.twoToneColor}(x,O)?nt(null):(this._setSVGElement(N),nt(N))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(nt,x){if(B(nt))return nt;{const[N,O]=ht(nt);return O?nt:function U(Ze){return Ze.endsWith("-fill")||Ze.endsWith("-o")||Ze.endsWith("-twotone")}(N)?(x&&$e(`'type' ${N} already gets a theme inside so 'theme' ${x} would be ignored`),N):mt(N,x||this._iconService.defaultTheme)}}_setSVGElement(nt){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,nt)}_clearSVGElement(){const nt=this._elementRef.nativeElement,x=nt.childNodes;for(let O=x.length-1;O>=0;O--){const $=x[O];"svg"===$.tagName?.toLowerCase()&&this._renderer.removeChild(nt,$)}}static#e=this.\u0275fac=function(x){return new(x||Ze)(n.Y36(Ie),n.Y36(n.SBq),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:Ze,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[n.TTD]})}return Ze})();var qe=o(1608),Fe=o(27754),fe=o(14715),Xe=o(83064);const ge=[fe.V65,fe.ud1,fe.bBn,fe.BOg,fe.Hkd,fe.XuQ,fe.Rfq,fe.yQU,fe.U2Q,fe.UKj,fe.OYp,fe.BXH,fe.eLU,fe.x0x,fe.vkb,fe.VWu,fe.rMt,fe.vEg,fe.RIp,fe.RU0,fe.M8e,fe.ssy,fe.Z5F,fe.iUK,fe.LJh,fe.NFG,fe.UTl,fe.nrZ,fe.gvV,fe.d2H,fe.eFY,fe.sZJ,fe.np6,fe.w1L,fe.UY$,fe.v6v,fe.rHg,fe.v6v,fe.s_U,fe.TSL,fe.FsU,fe.cN2,fe.uIz,fe.d_$],je=new n.OlP("nz_icons"),We=(new n.OlP("nz_icon_default_twotone_color"),"#1890ff");let wt=(()=>{class Ze extends Ie{get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(nt){nt.getAttribute("viewBox")||this._renderer.setAttribute(nt,"viewBox","0 0 1024 1024"),(!nt.getAttribute("width")||!nt.getAttribute("height"))&&(this._renderer.setAttribute(nt,"width","1em"),this._renderer.setAttribute(nt,"height","1em")),nt.getAttribute("fill")||this._renderer.setAttribute(nt,"fill","currentColor")}fetchFromIconfont(nt){const{scriptUrl:x}=nt;if(this._document&&!this.iconfontCache.has(x)){const N=this._renderer.createElement("script");this._renderer.setAttribute(N,"src",x),this._renderer.setAttribute(N,"data-namespace",x.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,N),this.iconfontCache.add(x)}}createIconfontIcon(nt){return this._createSVGElementFromString(``)}constructor(nt,x,N,O,$,L,he){super(nt,$,L,x,[...ge,...he||[]]),this.nzConfigService=N,this.platform=O,this.configUpdated$=new i.x,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const nt=this.getConfig();this.defaultTheme=nt.nzTheme||"outline"}configDefaultTwotoneColor(){const x=this.getConfig().nzTwotoneColor||We;let N=We;x&&(x.startsWith("#")?N=x:(0,qe.ZK)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:N}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static#e=this.\u0275fac=function(x){return new(x||Ze)(n.LFG(n.FYo),n.LFG(lt.H7),n.LFG(Xe.jY),n.LFG(e.t4),n.LFG(ne.jN,8),n.LFG(X.K0,8),n.LFG(je,8))};static#t=this.\u0275prov=n.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();const Ee=new n.OlP("nz_icons_patch");let be=(()=>{class Ze{constructor(nt,x){this.extraIcons=nt,this.rootIconService=x,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(nt=>this.rootIconService.addIcon(nt)),this.patched=!0)}static#e=this.\u0275fac=function(x){return new(x||Ze)(n.LFG(Ee,2),n.LFG(wt))};static#t=this.\u0275prov=n.Yz7({token:Ze,factory:Ze.\u0275fac})}return Ze})(),Qe=(()=>{class Ze extends Nt{set nzSpin(nt){this.spin=nt}set nzType(nt){this.type=nt}set nzTheme(nt){this.theme=nt}set nzTwotoneColor(nt){this.twoToneColor=nt}set nzIconfont(nt){this.iconfont=nt}constructor(nt,x,N,O,$,L){super(O,N,$),this.ngZone=nt,this.changeDetectorRef=x,this.iconService=O,this.renderer=$,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new i.x,L&&L.doPatch(),this.el=N.nativeElement}ngOnChanges(nt){const{nzType:x,nzTwotoneColor:N,nzSpin:O,nzTheme:$,nzRotate:L}=nt;x||N||O||$?this.changeIcon2():L?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const nt=this.el.children;let x=nt.length;if(!this.type&&nt.length)for(;x--;){const N=nt[x];"svg"===N.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(N)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{(0,l.D)(this._changeIcon()).pipe((0,h.R)(this.destroy$)).subscribe({next:nt=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),nt&&(this.setSVGData(nt),this.handleSpin(nt),this.handleRotate(nt))})},error:qe.ZK})})}handleSpin(nt){this.spin||"loading"===this.type?this.renderer.addClass(nt,"anticon-spin"):this.renderer.removeClass(nt,"anticon-spin")}handleRotate(nt){this.nzRotate?this.renderer.setAttribute(nt,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(nt,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(nt){this.renderer.setAttribute(nt,"data-icon",this.type),this.renderer.setAttribute(nt,"aria-hidden","true")}static#e=this.\u0275fac=function(x){return new(x||Ze)(n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(wt),n.Y36(n.Qsj),n.Y36(be,8))};static#t=this.\u0275dir=n.lG2({type:Ze,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(x,N){2&x&&n.ekj("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[n.qOj,n.TTD]})}return(0,t.gn)([(0,Fe.yF)()],Ze.prototype,"nzSpin",null),Ze})(),Ke=(()=>{class Ze{static forRoot(nt){return{ngModule:Ze,providers:[{provide:je,useValue:nt}]}}static forChild(nt){return{ngModule:Ze,providers:[be,{provide:Ee,useValue:nt}]}}static#e=this.\u0275fac=function(x){return new(x||Ze)};static#t=this.\u0275mod=n.oAB({type:Ze});static#n=this.\u0275inj=n.cJS({imports:[e.ud]})}return Ze})()},92760:(tt,I,o)=>{"use strict";o.d(I,{Gb:()=>le,Ie:()=>ne,x8:()=>ae});var e=o(97582),n=o(96814),t=o(65879),i=o(78645),l=o(92438),h=o(32181),E=o(48180),u=o(59773),z=o(83064),M=o(27754),p=o(33651),v=o(68484),_=o(36028),d=o(64194),m=o(99087),f=o(6593),C=o(34423),T=o(90551),b=o(49388),D=o(6192);const y=["imgRef"],P=["imagePreviewWrapper"];function S(Se,Ne){if(1&Se){const ke=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){const Q=t.CHM(ke).$implicit;return t.KtG(Q.onClick())}),t._UZ(1,"span",11),t.qZA()}if(2&Se){const ke=Ne.$implicit,oe=t.oxw();t.ekj("ant-image-preview-operations-operation-disabled",oe.zoomOutDisabled&&"zoomOut"===ke.type),t.xp6(1),t.Q6J("nzType",ke.icon)}}function A(Se,Ne){if(1&Se&&t._UZ(0,"img",13,14),2&Se){const ke=t.oxw().$implicit,oe=t.oxw();t.Udp("width",ke.width)("height",ke.height)("transform",oe.previewImageTransform),t.uIk("src",oe.sanitizerResourceUrl(ke.src),t.LSH)("srcset",ke.srcset)("alt",ke.alt)}}function k(Se,Ne){if(1&Se&&(t.ynx(0),t.YNc(1,A,2,9,"img",12),t.BQk()),2&Se){const ke=Ne.index,oe=t.oxw();t.xp6(1),t.Q6J("ngIf",oe.index===ke)}}function R(Se,Ne){if(1&Se){const ke=t.EpF();t.ynx(0),t.TgZ(1,"div",15),t.NdJ("click",function(_e){t.CHM(ke);const Q=t.oxw();return t.KtG(Q.onSwitchLeft(_e))}),t._UZ(2,"span",16),t.qZA(),t.TgZ(3,"div",17),t.NdJ("click",function(_e){t.CHM(ke);const Q=t.oxw();return t.KtG(Q.onSwitchRight(_e))}),t._UZ(4,"span",18),t.qZA(),t.BQk()}if(2&Se){const ke=t.oxw();t.xp6(1),t.ekj("ant-image-preview-switch-left-disabled",ke.index<=0),t.xp6(2),t.ekj("ant-image-preview-switch-right-disabled",ke.index>=ke.images.length-1)}}const W=["*"],Y="image";class G{constructor(){this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzMaskClosable=!0,this.nzCloseOnNavigation=!0}}class V{constructor(Ne,ke,oe){this.previewInstance=Ne,this.config=ke,this.overlayRef=oe,this.destroy$=new i.x,oe.keydownEvents().pipe((0,h.h)(_e=>this.config.nzKeyboard&&(_e.keyCode===_.hY||_e.keyCode===_.oh||_e.keyCode===_.SV)&&!(0,_.Vb)(_e))).subscribe(_e=>{_e.preventDefault(),_e.keyCode===_.hY&&this.close(),_e.keyCode===_.oh&&this.prev(),_e.keyCode===_.SV&&this.next()}),oe.detachments().subscribe(()=>{this.overlayRef.dispose()}),Ne.containerClick.pipe((0,E.q)(1),(0,u.R)(this.destroy$)).subscribe(()=>{this.close()}),Ne.closeClick.pipe((0,E.q)(1),(0,u.R)(this.destroy$)).subscribe(()=>{this.close()}),Ne.animationStateChanged.pipe((0,h.h)(_e=>"done"===_e.phaseName&&"leave"===_e.toState),(0,E.q)(1)).subscribe(()=>{this.dispose()})}switchTo(Ne){this.previewInstance.switchTo(Ne)}next(){this.previewInstance.next()}prev(){this.previewInstance.prev()}close(){this.previewInstance.startLeaveAnimation()}dispose(){this.destroy$.next(),this.overlayRef.dispose()}}function pe(Se,Ne,ke){const oe=Se+Ne,_e=(Ne-ke)/2;let Q=null;return Ne>ke?(Se>0&&(Q=_e),Se<0&&oeke)&&(Q=Se<0?_e:-_e),Q}const re={x:0,y:0};let De=(()=>{class Se{get animationDisabled(){return this.config.nzNoAnimation??!1}get maskClosable(){const ke=this.nzConfigService.getConfigForComponent(Y)||{};return this.config.nzMaskClosable??ke.nzMaskClosable??!0}constructor(ke,oe,_e,Q,He,Re,lt,Pe){this.ngZone=ke,this.host=oe,this.cdr=_e,this.nzConfigService=Q,this.config=He,this.overlayRef=Re,this.destroy$=lt,this.sanitizer=Pe,this.images=[],this.index=0,this.isDragging=!1,this.visible=!0,this.animationState="enter",this.animationStateChanged=new t.vpe,this.previewImageTransform="",this.previewImageWrapperTransform="",this.operations=[{icon:"close",onClick:()=>{this.onClose()},type:"close"},{icon:"zoom-in",onClick:()=>{this.onZoomIn()},type:"zoomIn"},{icon:"zoom-out",onClick:()=>{this.onZoomOut()},type:"zoomOut"},{icon:"rotate-right",onClick:()=>{this.onRotateRight()},type:"rotateRight"},{icon:"rotate-left",onClick:()=>{this.onRotateLeft()},type:"rotateLeft"}],this.zoomOutDisabled=!1,this.position={...re},this.containerClick=new t.vpe,this.closeClick=new t.vpe,this.zoom=this.config.nzZoom??1,this.rotate=this.config.nzRotate??0,this.updateZoomOutDisabled(),this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,l.R)(this.host.nativeElement,"click").pipe((0,u.R)(this.destroy$)).subscribe(ke=>{ke.target===ke.currentTarget&&this.maskClosable&&this.containerClick.observers.length&&this.ngZone.run(()=>this.containerClick.emit())}),(0,l.R)(this.imagePreviewWrapper.nativeElement,"mousedown").pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.isDragging=!0})})}setImages(ke){this.images=ke,this.cdr.markForCheck()}switchTo(ke){this.index=ke,this.cdr.markForCheck()}next(){this.index0&&(this.reset(),this.index--,this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform(),this.updateZoomOutDisabled(),this.cdr.markForCheck())}markForCheck(){this.cdr.markForCheck()}onClose(){this.closeClick.emit()}onZoomIn(){this.zoom+=1,this.updatePreviewImageTransform(),this.updateZoomOutDisabled(),this.position={...re}}onZoomOut(){this.zoom>1&&(this.zoom-=1,this.updatePreviewImageTransform(),this.updateZoomOutDisabled(),this.position={...re})}onRotateRight(){this.rotate+=90,this.updatePreviewImageTransform()}onRotateLeft(){this.rotate-=90,this.updatePreviewImageTransform()}onSwitchLeft(ke){ke.preventDefault(),ke.stopPropagation(),this.prev()}onSwitchRight(ke){ke.preventDefault(),ke.stopPropagation(),this.next()}onAnimationStart(ke){"enter"===ke.toState?this.setEnterAnimationClass():"leave"===ke.toState&&this.setLeaveAnimationClass(),this.animationStateChanged.emit(ke)}onAnimationDone(ke){"enter"===ke.toState?this.setEnterAnimationClass():"leave"===ke.toState&&this.setLeaveAnimationClass(),this.animationStateChanged.emit(ke)}startLeaveAnimation(){this.animationState="leave",this.cdr.markForCheck()}onDragReleased(){this.isDragging=!1;const ke=this.imageRef.nativeElement.offsetWidth*this.zoom,oe=this.imageRef.nativeElement.offsetHeight*this.zoom,{left:_e,top:Q}=function ee(Se){const Ne=Se.getBoundingClientRect(),ke=document.documentElement;return{left:Ne.left+(window.pageXOffset||ke.scrollLeft)-(ke.clientLeft||document.body.clientLeft||0),top:Ne.top+(window.pageYOffset||ke.scrollTop)-(ke.clientTop||document.body.clientTop||0)}}(this.imageRef.nativeElement),{width:He,height:Re}=function te(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}(),lt=this.rotate%180!=0,xt=function K(Se){let Ne={};return Se.width<=Se.clientWidth&&Se.height<=Se.clientHeight&&(Ne={x:0,y:0}),(Se.width>Se.clientWidth||Se.height>Se.clientHeight)&&(Ne={x:pe(Se.left,Se.width,Se.clientWidth),y:pe(Se.top,Se.height,Se.clientHeight)}),Ne}({width:lt?oe:ke,height:lt?ke:oe,left:_e,top:Q,clientWidth:He,clientHeight:Re});((0,M.DX)(xt.x)||(0,M.DX)(xt.y))&&(this.position={...this.position,...xt})}sanitizerResourceUrl(ke){return this.sanitizer.bypassSecurityTrustResourceUrl(ke)}updatePreviewImageTransform(){this.previewImageTransform=`scale3d(${this.zoom}, ${this.zoom}, 1) rotate(${this.rotate}deg)`}updatePreviewImageWrapperTransform(){this.previewImageWrapperTransform=`translate3d(${this.position.x}px, ${this.position.y}px, 0)`}updateZoomOutDisabled(){this.zoomOutDisabled=this.zoom<=1}setEnterAnimationClass(){if(this.animationDisabled)return;const ke=this.overlayRef.backdropElement;ke&&(ke.classList.add("ant-fade-enter"),ke.classList.add("ant-fade-enter-active"))}setLeaveAnimationClass(){if(this.animationDisabled)return;const ke=this.overlayRef.backdropElement;ke&&(ke.classList.add("ant-fade-leave"),ke.classList.add("ant-fade-leave-active"))}reset(){this.zoom=1,this.rotate=0,this.position={...re}}static#e=this.\u0275fac=function(oe){return new(oe||Se)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(z.jY),t.Y36(G),t.Y36(p.Iu),t.Y36(m.kn),t.Y36(f.H7))};static#t=this.\u0275cmp=t.Xpm({type:Se,selectors:[["nz-image-preview"]],viewQuery:function(oe,_e){if(1&oe&&(t.Gf(y,5),t.Gf(P,7)),2&oe){let Q;t.iGM(Q=t.CRH())&&(_e.imageRef=Q.first),t.iGM(Q=t.CRH())&&(_e.imagePreviewWrapper=Q.first)}},hostAttrs:["tabindex","-1","role","document",1,"ant-image-preview-wrap"],hostVars:6,hostBindings:function(oe,_e){1&oe&&t.WFA("@fadeMotion.start",function(He){return _e.onAnimationStart(He)})("@fadeMotion.done",function(He){return _e.onAnimationDone(He)}),2&oe&&(t.d8E("@.disabled",_e.config.nzNoAnimation)("@fadeMotion",_e.animationState),t.Udp("z-index",_e.config.nzZIndex),t.ekj("ant-image-preview-moving",_e.isDragging))},exportAs:["nzImagePreview"],features:[t._Bn([m.kn])],decls:11,vars:6,consts:[[1,"ant-image-preview"],["tabindex","0","aria-hidden","true",2,"width","0","height","0","overflow","hidden","outline","none"],[1,"ant-image-preview-content"],[1,"ant-image-preview-body"],[1,"ant-image-preview-operations"],["class","ant-image-preview-operations-operation",3,"ant-image-preview-operations-operation-disabled","click",4,"ngFor","ngForOf"],["cdkDrag","",1,"ant-image-preview-img-wrapper",3,"cdkDragFreeDragPosition","cdkDragReleased"],["imagePreviewWrapper",""],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"ant-image-preview-operations-operation",3,"click"],["nz-icon","","nzTheme","outline",1,"ant-image-preview-operations-icon",3,"nzType"],["cdkDragHandle","","class","ant-image-preview-img",3,"width","height","transform",4,"ngIf"],["cdkDragHandle","",1,"ant-image-preview-img"],["imgRef",""],[1,"ant-image-preview-switch-left",3,"click"],["nz-icon","","nzType","left","nzTheme","outline"],[1,"ant-image-preview-switch-right",3,"click"],["nz-icon","","nzType","right","nzTheme","outline"]],template:function(oe,_e){1&oe&&(t.TgZ(0,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2)(3,"div",3)(4,"ul",4),t.YNc(5,S,2,3,"li",5),t.qZA(),t.TgZ(6,"div",6,7),t.NdJ("cdkDragReleased",function(){return _e.onDragReleased()}),t.YNc(8,k,2,1,"ng-container",8),t.qZA(),t.YNc(9,R,5,4,"ng-container",9),t.qZA()(),t._UZ(10,"div",1),t.qZA()),2&oe&&(t.xp6(5),t.Q6J("ngForOf",_e.operations),t.xp6(1),t.Udp("transform",_e.previewImageWrapperTransform),t.Q6J("cdkDragFreeDragPosition",_e.position),t.xp6(2),t.Q6J("ngForOf",_e.images),t.xp6(1),t.Q6J("ngIf",_e.images.length>1))},dependencies:[C.Zt,C.Bh,n.sg,n.O5,T.Ls],encapsulation:2,data:{animation:[d.MC]},changeDetection:0})}return Se})(),ae=(()=>{class Se{constructor(ke,oe,_e,Q){this.overlay=ke,this.injector=oe,this.nzConfigService=_e,this.directionality=Q}preview(ke,oe){return this.display(ke,oe)}display(ke,oe){const _e={...new G,...oe??{}},Q=this.createOverlay(_e),He=this.attachPreviewComponent(Q,_e);He.setImages(ke);const Re=new V(He,_e,Q);return He.previewRef=Re,Re}attachPreviewComponent(ke,oe){const _e=t.zs3.create({parent:this.injector,providers:[{provide:p.Iu,useValue:ke},{provide:G,useValue:oe}]}),Q=new v.C5(De,null,_e);return ke.attach(Q).instance}createOverlay(ke){const oe=this.nzConfigService.getConfigForComponent(Y)||{},_e=new p.X_({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:ke.nzCloseOnNavigation??oe.nzCloseOnNavigation??!0,backdropClass:"ant-image-preview-mask",direction:ke.nzDirection||oe.nzDirection||this.directionality.value});return this.overlay.create(_e)}static#e=this.\u0275fac=function(oe){return new(oe||Se)(t.LFG(p.aV),t.LFG(t.zs3),t.LFG(z.jY),t.LFG(b.Is,8))};static#t=this.\u0275prov=t.Yz7({token:Se,factory:Se.\u0275fac})}return Se})(),ce=(()=>{class Se{constructor(){this.images=[]}addImage(ke){this.images.push(ke)}static#e=this.\u0275fac=function(oe){return new(oe||Se)};static#t=this.\u0275cmp=t.Xpm({type:Se,selectors:[["nz-image-group"]],exportAs:["nzImageGroup"],ngContentSelectors:W,decls:1,vars:0,template:function(oe,_e){1&oe&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return Se})(),ne=(()=>{class Se{get previewable(){return!this.nzDisablePreview&&"error"!==this.status}constructor(ke,oe,_e,Q,He,Re,lt){this.document=ke,this.nzConfigService=oe,this.elementRef=_e,this.nzImageService=Q,this.cdr=He,this.parentGroup=Re,this.directionality=lt,this._nzModuleName="image",this.nzSrc="",this.nzSrcset="",this.nzDisablePreview=!1,this.nzFallback=null,this.nzPlaceholder=null,this.status="normal",this.backLoadDestroy$=new i.x,this.destroy$=new i.x}ngOnInit(){this.backLoad(),this.parentGroup&&this.parentGroup.addImage(this),this.directionality&&(this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(ke=>{this.dir=ke,this.cdr.detectChanges()}),this.dir=this.directionality.value)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onPreview(){if(this.previewable)if(this.parentGroup){const ke=this.parentGroup.images.filter(He=>He.previewable),oe=ke.map(He=>({src:He.nzSrc,srcset:He.nzSrcset})),_e=ke.findIndex(He=>this===He);this.nzImageService.preview(oe,{nzDirection:this.dir}).switchTo(_e)}else this.nzImageService.preview([{src:this.nzSrc,srcset:this.nzSrcset}],{nzDirection:this.dir})}getElement(){return this.elementRef}ngOnChanges(ke){const{nzSrc:oe}=ke;oe&&(this.getElement().nativeElement.src=oe.currentValue,this.backLoad())}backLoad(){this.backLoadImage=this.document.createElement("img"),this.backLoadImage.src=this.nzSrc,this.backLoadImage.srcset=this.nzSrcset,this.status="loading",this.backLoadDestroy$.next(),this.backLoadDestroy$.complete(),this.backLoadDestroy$=new i.x,this.backLoadImage.complete?(this.status="normal",this.getElement().nativeElement.src=this.nzSrc,this.getElement().nativeElement.srcset=this.nzSrcset):(this.nzPlaceholder?(this.getElement().nativeElement.src=this.nzPlaceholder,this.getElement().nativeElement.srcset=""):(this.getElement().nativeElement.src=this.nzSrc,this.getElement().nativeElement.srcset=this.nzSrcset),(0,l.R)(this.backLoadImage,"load").pipe((0,u.R)(this.backLoadDestroy$),(0,u.R)(this.destroy$)).subscribe(()=>{this.status="normal",this.getElement().nativeElement.src=this.nzSrc,this.getElement().nativeElement.srcset=this.nzSrcset}),(0,l.R)(this.backLoadImage,"error").pipe((0,u.R)(this.backLoadDestroy$),(0,u.R)(this.destroy$)).subscribe(()=>{this.status="error",this.nzFallback&&(this.getElement().nativeElement.src=this.nzFallback,this.getElement().nativeElement.srcset="")}))}static#e=this.\u0275fac=function(oe){return new(oe||Se)(t.Y36(n.K0),t.Y36(z.jY),t.Y36(t.SBq),t.Y36(ae),t.Y36(t.sBO),t.Y36(ce,8),t.Y36(b.Is,8))};static#t=this.\u0275dir=t.lG2({type:Se,selectors:[["img","nz-image",""]],hostBindings:function(oe,_e){1&oe&&t.NdJ("click",function(){return _e.onPreview()})},inputs:{nzSrc:"nzSrc",nzSrcset:"nzSrcset",nzDisablePreview:"nzDisablePreview",nzFallback:"nzFallback",nzPlaceholder:"nzPlaceholder"},exportAs:["nzImage"],features:[t.TTD]})}return(0,e.gn)([(0,M.yF)(),(0,z.oS)()],Se.prototype,"nzDisablePreview",void 0),(0,e.gn)([(0,z.oS)()],Se.prototype,"nzFallback",void 0),(0,e.gn)([(0,z.oS)()],Se.prototype,"nzPlaceholder",void 0),Se})(),le=(()=>{class Se{static#e=this.\u0275fac=function(oe){return new(oe||Se)};static#t=this.\u0275mod=t.oAB({type:Se});static#n=this.\u0275inj=t.cJS({providers:[ae],imports:[b.vT,p.U8,v.eL,C._t,n.ez,T.PV,D.YS]})}return Se})()},68373:(tt,I,o)=>{"use strict";o.d(I,{Zf:()=>ke,_V:()=>ne});var e=o(97582),n=o(36028),t=o(65879),i=o(60095),l=o(78645),h=o(92438),E=o(63019),u=o(93997),z=o(59773),M=o(99087),p=o(27754),v=o(4300),_=o(49388),d=o(50883),m=o(96814),f=o(90551),C=o(8324);const T=["upHandler"],b=["downHandler"],D=["inputElement"];function y(oe,_e){if(1&oe&&t._UZ(0,"nz-form-item-feedback-icon",11),2&oe){const Q=t.oxw();t.Q6J("status",Q.status)}}let ne=(()=>{class oe{onModelChange(Q){this.parsedValue=this.nzParser(Q),this.inputElement.nativeElement.value=`${this.parsedValue}`;const He=this.getCurrentValidValue(this.parsedValue);this.setValue(He)}getCurrentValidValue(Q){let He=Q;return He=""===He?"":this.isNotCompleteNumber(He)?this.value:`${this.getValidValue(He)}`,this.toNumber(He)}isNotCompleteNumber(Q){return isNaN(Q)||""===Q||null===Q||!(!Q||Q.toString().indexOf(".")!==Q.toString().length-1)}getValidValue(Q){let He=parseFloat(Q);return isNaN(He)?Q:(Hethis.nzMax&&(He=this.nzMax),He)}toNumber(Q){if(this.isNotCompleteNumber(Q))return Q;const He=String(Q);if(He.indexOf(".")>=0&&(0,p.DX)(this.nzPrecision)){if("function"==typeof this.nzPrecisionMode)return this.nzPrecisionMode(Q,this.nzPrecision);if("cut"===this.nzPrecisionMode){const Re=He.split(".");return Re[1]=Re[1].slice(0,this.nzPrecision),Number(Re.join("."))}return Number(Number(Q).toFixed(this.nzPrecision))}return Number(Q)}getRatio(Q){let He=1;return Q.metaKey||Q.ctrlKey?He=.1:Q.shiftKey&&(He=10),He}down(Q,He){this.isFocused||this.focus(),this.step("down",Q,He)}up(Q,He){this.isFocused||this.focus(),this.step("up",Q,He)}getPrecision(Q){const He=Q.toString();if(He.indexOf("e-")>=0)return parseInt(He.slice(He.indexOf("e-")+2),10);let Re=0;return He.indexOf(".")>=0&&(Re=He.length-He.indexOf(".")-1),Re}getMaxPrecision(Q,He){if((0,p.DX)(this.nzPrecision))return this.nzPrecision;const Re=this.getPrecision(He),lt=this.getPrecision(this.nzStep),Pe=this.getPrecision(Q);return Q?Math.max(Pe,Re+lt):Re+lt}getPrecisionFactor(Q,He){const Re=this.getMaxPrecision(Q,He);return Math.pow(10,Re)}upStep(Q,He){const Re=this.getPrecisionFactor(Q,He),lt=Math.abs(this.getMaxPrecision(Q,He));let Pe;return Pe="number"==typeof Q?((Re*Q+Re*this.nzStep*He)/Re).toFixed(lt):this.nzMin===-1/0?this.nzStep:this.nzMin,this.toNumber(Pe)}downStep(Q,He){const Re=this.getPrecisionFactor(Q,He),lt=Math.abs(this.getMaxPrecision(Q,He));let Pe;return Pe="number"==typeof Q?((Re*Q-Re*this.nzStep*He)/Re).toFixed(lt):this.nzMin===-1/0?-this.nzStep:this.nzMin,this.toNumber(Pe)}step(Q,He,Re=1){if(this.stop(),He.preventDefault(),this.nzDisabled)return;const lt=this.getCurrentValidValue(this.parsedValue)||0;let Pe=0;"up"===Q?Pe=this.upStep(lt,Re):"down"===Q&&(Pe=this.downStep(lt,Re));const xt=Pe>this.nzMax||Pethis.nzMax?Pe=this.nzMax:Pe{this[Q](He,Re)},300))}stop(){this.autoStepTimer&&clearTimeout(this.autoStepTimer)}setValue(Q){if(`${this.value}`!=`${Q}`&&this.onChange(Q),this.value=Q,this.parsedValue=Q,this.disabledUp=this.disabledDown=!1,Q||0===Q){const He=Number(Q);He>=this.nzMax&&(this.disabledUp=!0),He<=this.nzMin&&(this.disabledDown=!0)}}updateDisplayValue(Q){const He=(0,p.DX)(this.nzFormatter(Q))?this.nzFormatter(Q):"";this.displayValue=He,this.inputElement.nativeElement.value=`${He}`}writeValue(Q){this.value=Q,this.setValue(Q),this.updateDisplayValue(Q),this.cdr.markForCheck()}registerOnChange(Q){this.onChange=Q}registerOnTouched(Q){this.onTouched=Q}setDisabledState(Q){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||Q,this.isNzDisableFirstChange=!1,this.disabled$.next(this.nzDisabled),this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(Q,He,Re,lt,Pe,xt,$e,ot,mt){this.ngZone=Q,this.elementRef=He,this.cdr=Re,this.focusMonitor=lt,this.renderer=Pe,this.directionality=xt,this.destroy$=$e,this.nzFormStatusService=ot,this.nzFormNoStatusService=mt,this.isNzDisableFirstChange=!0,this.isFocused=!1,this.disabled$=new l.x,this.disabledUp=!1,this.disabledDown=!1,this.dir="ltr",this.prefixCls="ant-input-number",this.status="",this.statusCls={},this.hasFeedback=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzBlur=new t.vpe,this.nzFocus=new t.vpe,this.nzSize="default",this.nzMin=-1/0,this.nzMax=1/0,this.nzParser=we=>we.trim().replace(/\u3002/g,".").replace(/[^\w\.-]+/g,""),this.nzPrecisionMode="toFixed",this.nzPlaceHolder="",this.nzStatus="",this.nzStep=1,this.nzInputMode="decimal",this.nzId=null,this.nzDisabled=!1,this.nzReadOnly=!1,this.nzAutoFocus=!1,this.nzBorderless=!1,this.nzFormatter=we=>we}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,u.x)((Q,He)=>Q.status===He.status&&Q.hasFeedback===He.hasFeedback),(0,z.R)(this.destroy$)).subscribe(({status:Q,hasFeedback:He})=>{this.setStatusStyles(Q,He)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,z.R)(this.destroy$)).subscribe(Q=>{Q?(this.isFocused=!0,this.nzFocus.emit()):(this.isFocused=!1,this.updateDisplayValue(this.value),this.nzBlur.emit(),Promise.resolve().then(()=>this.onTouched()))}),this.dir=this.directionality.value,this.directionality.change.pipe((0,z.R)(this.destroy$)).subscribe(Q=>{this.dir=Q}),this.setupHandlersListeners(),this.ngZone.runOutsideAngular(()=>{(0,h.R)(this.inputElement.nativeElement,"keyup").pipe((0,z.R)(this.destroy$)).subscribe(()=>this.stop()),(0,h.R)(this.inputElement.nativeElement,"keydown").pipe((0,z.R)(this.destroy$)).subscribe(Q=>{const{keyCode:He}=Q;He!==n.LH&&He!==n.JH&&He!==n.K5||this.ngZone.run(()=>{if(He===n.LH){const Re=this.getRatio(Q);this.up(Q,Re),this.stop()}else if(He===n.JH){const Re=this.getRatio(Q);this.down(Q,Re),this.stop()}else this.updateDisplayValue(this.value);this.cdr.markForCheck()})})})}ngOnChanges(Q){const{nzStatus:He,nzDisabled:Re}=Q;if(Q.nzFormatter&&!Q.nzFormatter.isFirstChange()){const lt=this.getCurrentValidValue(this.parsedValue);this.setValue(lt),this.updateDisplayValue(lt)}Re&&this.disabled$.next(this.nzDisabled),He&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef)}setupHandlersListeners(){this.ngZone.runOutsideAngular(()=>{(0,E.T)((0,h.R)(this.upHandler.nativeElement,"mouseup"),(0,h.R)(this.upHandler.nativeElement,"mouseleave"),(0,h.R)(this.downHandler.nativeElement,"mouseup"),(0,h.R)(this.downHandler.nativeElement,"mouseleave")).pipe((0,z.R)(this.destroy$)).subscribe(()=>this.stop())})}setStatusStyles(Q,He){this.status=Q,this.hasFeedback=He,this.cdr.markForCheck(),this.statusCls=(0,p.Zu)(this.prefixCls,Q,He),Object.keys(this.statusCls).forEach(Re=>{this.statusCls[Re]?this.renderer.addClass(this.elementRef.nativeElement,Re):this.renderer.removeClass(this.elementRef.nativeElement,Re)})}static#e=this.\u0275fac=function(He){return new(He||oe)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(v.tE),t.Y36(t.Qsj),t.Y36(_.Is,8),t.Y36(M.kn),t.Y36(d.kH,8),t.Y36(d.yW,8))};static#t=this.\u0275cmp=t.Xpm({type:oe,selectors:[["nz-input-number"]],viewQuery:function(He,Re){if(1&He&&(t.Gf(T,7),t.Gf(b,7),t.Gf(D,7)),2&He){let lt;t.iGM(lt=t.CRH())&&(Re.upHandler=lt.first),t.iGM(lt=t.CRH())&&(Re.downHandler=lt.first),t.iGM(lt=t.CRH())&&(Re.inputElement=lt.first)}},hostAttrs:[1,"ant-input-number"],hostVars:16,hostBindings:function(He,Re){2&He&&t.ekj("ant-input-number-in-form-item",!!Re.nzFormStatusService)("ant-input-number-focused",Re.isFocused)("ant-input-number-lg","large"===Re.nzSize)("ant-input-number-sm","small"===Re.nzSize)("ant-input-number-disabled",Re.nzDisabled)("ant-input-number-readonly",Re.nzReadOnly)("ant-input-number-rtl","rtl"===Re.dir)("ant-input-number-borderless",Re.nzBorderless)},inputs:{nzSize:"nzSize",nzMin:"nzMin",nzMax:"nzMax",nzParser:"nzParser",nzPrecision:"nzPrecision",nzPrecisionMode:"nzPrecisionMode",nzPlaceHolder:"nzPlaceHolder",nzStatus:"nzStatus",nzStep:"nzStep",nzInputMode:"nzInputMode",nzId:"nzId",nzDisabled:"nzDisabled",nzReadOnly:"nzReadOnly",nzAutoFocus:"nzAutoFocus",nzBorderless:"nzBorderless",nzFormatter:"nzFormatter"},outputs:{nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzInputNumber"],features:[t._Bn([{provide:i.JU,useExisting:(0,t.Gpc)(()=>oe),multi:!0},M.kn]),t.TTD],decls:11,vars:15,consts:[[1,"ant-input-number-handler-wrap"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-up",3,"mousedown"],["upHandler",""],["nz-icon","","nzType","up",1,"ant-input-number-handler-up-inner"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-down",3,"mousedown"],["downHandler",""],["nz-icon","","nzType","down",1,"ant-input-number-handler-down-inner"],[1,"ant-input-number-input-wrap"],["autocomplete","off",1,"ant-input-number-input",3,"disabled","placeholder","readOnly","ngModel","ngModelChange"],["inputElement",""],["class","ant-input-number-suffix",3,"status",4,"ngIf"],[1,"ant-input-number-suffix",3,"status"]],template:function(He,Re){1&He&&(t.TgZ(0,"div",0)(1,"span",1,2),t.NdJ("mousedown",function(Pe){return Re.up(Pe)}),t._UZ(3,"span",3),t.qZA(),t.TgZ(4,"span",4,5),t.NdJ("mousedown",function(Pe){return Re.down(Pe)}),t._UZ(6,"span",6),t.qZA()(),t.TgZ(7,"div",7)(8,"input",8,9),t.NdJ("ngModelChange",function(Pe){return Re.onModelChange(Pe)}),t.qZA()(),t.YNc(10,y,1,1,"nz-form-item-feedback-icon",10)),2&He&&(t.xp6(1),t.ekj("ant-input-number-handler-up-disabled",Re.disabledUp),t.xp6(3),t.ekj("ant-input-number-handler-down-disabled",Re.disabledDown),t.xp6(4),t.Q6J("disabled",Re.nzDisabled)("placeholder",Re.nzPlaceHolder)("readOnly",Re.nzReadOnly)("ngModel",Re.displayValue),t.uIk("id",Re.nzId)("autofocus",Re.nzAutoFocus?"autofocus":null)("min",Re.nzMin)("max",Re.nzMax)("step",Re.nzStep)("inputmode",Re.nzInputMode),t.xp6(2),t.Q6J("ngIf",Re.hasFeedback&&!!Re.status&&!Re.nzFormNoStatusService))},dependencies:[m.O5,i.Fj,i.JJ,i.On,f.Ls,d.w_],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,p.yF)()],oe.prototype,"nzDisabled",void 0),(0,e.gn)([(0,p.yF)()],oe.prototype,"nzReadOnly",void 0),(0,e.gn)([(0,p.yF)()],oe.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,p.yF)()],oe.prototype,"nzBorderless",void 0),oe})(),ke=(()=>{class oe{static#e=this.\u0275fac=function(He){return new(He||oe)};static#t=this.\u0275mod=t.oAB({type:oe});static#n=this.\u0275inj=t.cJS({imports:[_.vT,m.ez,i.u5,C.T,f.PV,d.mJ]})}return oe})()},20824:(tt,I,o)=>{"use strict";o.d(I,{Zp:()=>Se,gB:()=>oe,ke:()=>ke,o7:()=>He,rh:()=>_e,w:()=>Q});var e=o(97582),n=o(65879),t=o(78645),i=o(63019),l=o(36232),h=o(93997),E=o(59773),u=o(32181),z=o(27921),M=o(94664),p=o(21631),v=o(37398),_=o(50883),d=o(27754),m=o(60095),f=o(49388),C=o(4300),T=o(96814),b=o(90551),D=o(8324),y=o(62831),P=o(99087);const S=["nz-input-group-slot",""];function A(Re,lt){if(1&Re&&n._UZ(0,"span",2),2&Re){const Pe=n.oxw();n.Q6J("nzType",Pe.icon)}}function k(Re,lt){if(1&Re&&(n.ynx(0),n._uU(1),n.BQk()),2&Re){const Pe=n.oxw();n.xp6(1),n.Oqu(Pe.template)}}const R=["*"];function W(Re,lt){if(1&Re&&n._UZ(0,"span",7),2&Re){const Pe=n.oxw(2);n.Q6J("icon",Pe.nzAddOnBeforeIcon)("template",Pe.nzAddOnBefore)}}function j(Re,lt){}function ze(Re,lt){if(1&Re&&(n.TgZ(0,"span",8),n.YNc(1,j,0,0,"ng-template",9),n.qZA()),2&Re){const Pe=n.oxw(2),xt=n.MAs(4);n.ekj("ant-input-affix-wrapper-disabled",Pe.disabled)("ant-input-affix-wrapper-sm",Pe.isSmall)("ant-input-affix-wrapper-lg",Pe.isLarge)("ant-input-affix-wrapper-focused",Pe.focused),n.Q6J("ngClass",Pe.affixInGroupStatusCls),n.xp6(1),n.Q6J("ngTemplateOutlet",xt)}}function Y(Re,lt){if(1&Re&&n._UZ(0,"span",7),2&Re){const Pe=n.oxw(2);n.Q6J("icon",Pe.nzAddOnAfterIcon)("template",Pe.nzAddOnAfter)}}function G(Re,lt){if(1&Re&&(n.TgZ(0,"span",4),n.YNc(1,W,1,2,"span",5),n.YNc(2,ze,2,10,"span",6),n.YNc(3,Y,1,2,"span",5),n.qZA()),2&Re){const Pe=n.oxw(),xt=n.MAs(6);n.xp6(1),n.Q6J("ngIf",Pe.nzAddOnBefore||Pe.nzAddOnBeforeIcon),n.xp6(1),n.Q6J("ngIf",Pe.isAffix||Pe.hasFeedback)("ngIfElse",xt),n.xp6(1),n.Q6J("ngIf",Pe.nzAddOnAfter||Pe.nzAddOnAfterIcon)}}function V(Re,lt){}function K(Re,lt){if(1&Re&&n.YNc(0,V,0,0,"ng-template",9),2&Re){n.oxw(2);const Pe=n.MAs(4);n.Q6J("ngTemplateOutlet",Pe)}}function ee(Re,lt){if(1&Re&&n.YNc(0,K,1,1,"ng-template",10),2&Re){const Pe=n.oxw(),xt=n.MAs(6);n.Q6J("ngIf",Pe.isAffix)("ngIfElse",xt)}}function te(Re,lt){if(1&Re&&n._UZ(0,"span",13),2&Re){const Pe=n.oxw(2);n.Q6J("icon",Pe.nzPrefixIcon)("template",Pe.nzPrefix)}}function pe(Re,lt){}function re(Re,lt){if(1&Re&&n._UZ(0,"nz-form-item-feedback-icon",16),2&Re){const Pe=n.oxw(3);n.Q6J("status",Pe.status)}}function De(Re,lt){if(1&Re&&(n.TgZ(0,"span",14),n.YNc(1,re,1,1,"nz-form-item-feedback-icon",15),n.qZA()),2&Re){const Pe=n.oxw(2);n.Q6J("icon",Pe.nzSuffixIcon)("template",Pe.nzSuffix),n.xp6(1),n.Q6J("ngIf",Pe.isFeedback)}}function ae(Re,lt){if(1&Re&&(n.YNc(0,te,1,2,"span",11),n.YNc(1,pe,0,0,"ng-template",9),n.YNc(2,De,2,3,"span",12)),2&Re){const Pe=n.oxw(),xt=n.MAs(6);n.Q6J("ngIf",Pe.nzPrefix||Pe.nzPrefixIcon),n.xp6(1),n.Q6J("ngTemplateOutlet",xt),n.xp6(1),n.Q6J("ngIf",Pe.nzSuffix||Pe.nzSuffixIcon||Pe.isFeedback)}}function ce(Re,lt){if(1&Re&&(n.TgZ(0,"span",18),n._UZ(1,"nz-form-item-feedback-icon",16),n.qZA()),2&Re){const Pe=n.oxw(2);n.xp6(1),n.Q6J("status",Pe.status)}}function X(Re,lt){if(1&Re&&(n.Hsn(0),n.YNc(1,ce,2,1,"span",17)),2&Re){const Pe=n.oxw();n.xp6(1),n.Q6J("ngIf",!Pe.isAddOn&&!Pe.isAffix&&Pe.isFeedback)}}const ne=[[["textarea","nz-input",""]]],le=["textarea[nz-input]"];let Se=(()=>{class Re{get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Pe){this._disabled=null!=Pe&&"false"!=`${Pe}`}constructor(Pe,xt,$e,ot,mt,we,de){this.ngControl=Pe,this.renderer=xt,this.elementRef=$e,this.hostView=ot,this.directionality=mt,this.nzFormStatusService=we,this.nzFormNoStatusService=de,this.nzBorderless=!1,this.nzSize="default",this.nzStepperless=!0,this.nzStatus="",this._disabled=!1,this.disabled$=new t.x,this.dir="ltr",this.prefixCls="ant-input",this.status="",this.statusCls={},this.hasFeedback=!1,this.feedbackRef=null,this.components=[],this.destroy$=new t.x}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,h.x)((Pe,xt)=>Pe.status===xt.status&&Pe.hasFeedback===xt.hasFeedback),(0,E.R)(this.destroy$)).subscribe(({status:Pe,hasFeedback:xt})=>{this.setStatusStyles(Pe,xt)}),this.ngControl&&this.ngControl.statusChanges?.pipe((0,u.h)(()=>null!==this.ngControl.disabled),(0,E.R)(this.destroy$)).subscribe(()=>{this.disabled$.next(this.ngControl.disabled)}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,E.R)(this.destroy$)).subscribe(Pe=>{this.dir=Pe})}ngOnChanges(Pe){const{disabled:xt,nzStatus:$e}=Pe;xt&&this.disabled$.next(this.disabled),$e&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setStatusStyles(Pe,xt){this.status=Pe,this.hasFeedback=xt,this.renderFeedbackIcon(),this.statusCls=(0,d.Zu)(this.prefixCls,Pe,xt),Object.keys(this.statusCls).forEach($e=>{this.statusCls[$e]?this.renderer.addClass(this.elementRef.nativeElement,$e):this.renderer.removeClass(this.elementRef.nativeElement,$e)})}renderFeedbackIcon(){if(!this.status||!this.hasFeedback||this.nzFormNoStatusService)return this.hostView.clear(),void(this.feedbackRef=null);this.feedbackRef=this.feedbackRef||this.hostView.createComponent(_.w_),this.feedbackRef.location.nativeElement.classList.add("ant-input-suffix"),this.feedbackRef.instance.status=this.status,this.feedbackRef.instance.updateIcon()}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(m.a5,10),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(f.Is,8),n.Y36(_.kH,8),n.Y36(_.yW,8))};static#t=this.\u0275dir=n.lG2({type:Re,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostAttrs:[1,"ant-input"],hostVars:13,hostBindings:function(xt,$e){2&xt&&(n.uIk("disabled",$e.disabled||null),n.ekj("ant-input-disabled",$e.disabled)("ant-input-borderless",$e.nzBorderless)("ant-input-lg","large"===$e.nzSize)("ant-input-sm","small"===$e.nzSize)("ant-input-rtl","rtl"===$e.dir)("ant-input-stepperless",$e.nzStepperless))},inputs:{nzBorderless:"nzBorderless",nzSize:"nzSize",nzStepperless:"nzStepperless",nzStatus:"nzStatus",disabled:"disabled"},exportAs:["nzInput"],features:[n.TTD]})}return(0,e.gn)([(0,d.yF)()],Re.prototype,"nzBorderless",void 0),(0,e.gn)([(0,d.yF)()],Re.prototype,"nzStepperless",void 0),Re})(),Ne=(()=>{class Re{constructor(){this.icon=null,this.type=null,this.template=null}static#e=this.\u0275fac=function(xt){return new(xt||Re)};static#t=this.\u0275cmp=n.Xpm({type:Re,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function(xt,$e){2&xt&&n.ekj("ant-input-group-addon","addon"===$e.type)("ant-input-prefix","prefix"===$e.type)("ant-input-suffix","suffix"===$e.type)},inputs:{icon:"icon",type:"type",template:"template"},attrs:S,ngContentSelectors:R,decls:3,vars:2,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(xt,$e){1&xt&&(n.F$t(),n.YNc(0,A,1,1,"span",0),n.YNc(1,k,2,1,"ng-container",1),n.Hsn(2)),2&xt&&(n.Q6J("ngIf",$e.icon),n.xp6(1),n.Q6J("nzStringTemplateOutlet",$e.template))},dependencies:[T.O5,b.Ls,D.f],encapsulation:2,changeDetection:0})}return Re})(),ke=(()=>{class Re{constructor(Pe){this.elementRef=Pe}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:Re,selectors:[["nz-input-group","nzSuffix",""],["nz-input-group","nzPrefix",""]]})}return Re})(),oe=(()=>{class Re{constructor(Pe,xt,$e,ot,mt,we,de){this.focusMonitor=Pe,this.elementRef=xt,this.renderer=$e,this.cdr=ot,this.directionality=mt,this.nzFormStatusService=we,this.nzFormNoStatusService=de,this.nzAddOnBeforeIcon=null,this.nzAddOnAfterIcon=null,this.nzPrefixIcon=null,this.nzSuffixIcon=null,this.nzStatus="",this.nzSize="default",this.nzSearch=!1,this.nzCompact=!1,this.isLarge=!1,this.isSmall=!1,this.isAffix=!1,this.isAddOn=!1,this.isFeedback=!1,this.focused=!1,this.disabled=!1,this.dir="ltr",this.prefixCls="ant-input",this.affixStatusCls={},this.groupStatusCls={},this.affixInGroupStatusCls={},this.status="",this.hasFeedback=!1,this.destroy$=new t.x}updateChildrenInputSize(){this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach(Pe=>Pe.nzSize=this.nzSize)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,h.x)((Pe,xt)=>Pe.status===xt.status&&Pe.hasFeedback===xt.hasFeedback),(0,E.R)(this.destroy$)).subscribe(({status:Pe,hasFeedback:xt})=>{this.setStatusStyles(Pe,xt)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,E.R)(this.destroy$)).subscribe(Pe=>{this.focused=!!Pe,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,E.R)(this.destroy$)).subscribe(Pe=>{this.dir=Pe})}ngAfterContentInit(){this.updateChildrenInputSize();const Pe=this.listOfNzInputDirective.changes.pipe((0,z.O)(this.listOfNzInputDirective));Pe.pipe((0,M.w)(xt=>(0,i.T)(Pe,...xt.map($e=>$e.disabled$))),(0,p.z)(()=>Pe),(0,v.U)(xt=>xt.some($e=>$e.disabled)),(0,E.R)(this.destroy$)).subscribe(xt=>{this.disabled=xt,this.cdr.markForCheck()})}ngOnChanges(Pe){const{nzSize:xt,nzSuffix:$e,nzPrefix:ot,nzPrefixIcon:mt,nzSuffixIcon:we,nzAddOnAfter:de,nzAddOnBefore:U,nzAddOnAfterIcon:B,nzAddOnBeforeIcon:Me,nzStatus:Ae}=Pe;xt&&(this.updateChildrenInputSize(),this.isLarge="large"===this.nzSize,this.isSmall="small"===this.nzSize),($e||ot||mt||we)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(de||U||B||Me)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon),this.nzFormNoStatusService?.noFormStatus?.next(this.isAddOn)),Ae&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}setStatusStyles(Pe,xt){this.status=Pe,this.hasFeedback=xt,this.isFeedback=!!Pe&&xt,this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)||!this.isAddOn&&xt,this.affixInGroupStatusCls=this.isAffix||this.isFeedback?this.affixStatusCls=(0,d.Zu)(`${this.prefixCls}-affix-wrapper`,Pe,xt):{},this.cdr.markForCheck(),this.affixStatusCls=(0,d.Zu)(`${this.prefixCls}-affix-wrapper`,this.isAddOn?"":Pe,!this.isAddOn&&xt),this.groupStatusCls=(0,d.Zu)(`${this.prefixCls}-group-wrapper`,this.isAddOn?Pe:"",!!this.isAddOn&&xt);const ot={...this.affixStatusCls,...this.groupStatusCls};Object.keys(ot).forEach(mt=>{ot[mt]?this.renderer.addClass(this.elementRef.nativeElement,mt):this.renderer.removeClass(this.elementRef.nativeElement,mt)})}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(C.tE),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(f.Is,8),n.Y36(_.kH,8),n.Y36(_.yW,8))};static#t=this.\u0275cmp=n.Xpm({type:Re,selectors:[["nz-input-group"]],contentQueries:function(xt,$e,ot){if(1&xt&&n.Suo(ot,Se,4),2&xt){let mt;n.iGM(mt=n.CRH())&&($e.listOfNzInputDirective=mt)}},hostVars:40,hostBindings:function(xt,$e){2&xt&&n.ekj("ant-input-group-compact",$e.nzCompact)("ant-input-search-enter-button",$e.nzSearch)("ant-input-search",$e.nzSearch)("ant-input-search-rtl","rtl"===$e.dir)("ant-input-search-sm",$e.nzSearch&&$e.isSmall)("ant-input-search-large",$e.nzSearch&&$e.isLarge)("ant-input-group-wrapper",$e.isAddOn)("ant-input-group-wrapper-rtl","rtl"===$e.dir)("ant-input-group-wrapper-lg",$e.isAddOn&&$e.isLarge)("ant-input-group-wrapper-sm",$e.isAddOn&&$e.isSmall)("ant-input-affix-wrapper",$e.isAffix&&!$e.isAddOn)("ant-input-affix-wrapper-rtl","rtl"===$e.dir)("ant-input-affix-wrapper-focused",$e.isAffix&&$e.focused)("ant-input-affix-wrapper-disabled",$e.isAffix&&$e.disabled)("ant-input-affix-wrapper-lg",$e.isAffix&&!$e.isAddOn&&$e.isLarge)("ant-input-affix-wrapper-sm",$e.isAffix&&!$e.isAddOn&&$e.isSmall)("ant-input-group",!$e.isAffix&&!$e.isAddOn)("ant-input-group-rtl","rtl"===$e.dir)("ant-input-group-lg",!$e.isAffix&&!$e.isAddOn&&$e.isLarge)("ant-input-group-sm",!$e.isAffix&&!$e.isAddOn&&$e.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzStatus:"nzStatus",nzSuffix:"nzSuffix",nzSize:"nzSize",nzSearch:"nzSearch",nzCompact:"nzCompact"},exportAs:["nzInputGroup"],features:[n._Bn([_.yW]),n.TTD],ngContentSelectors:R,decls:7,vars:2,consts:[["class","ant-input-wrapper ant-input-group",4,"ngIf","ngIfElse"],["noAddOnTemplate",""],["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template",4,"ngIf"],["class","ant-input-affix-wrapper",3,"ant-input-affix-wrapper-disabled","ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg","ant-input-affix-wrapper-focused","ngClass",4,"ngIf","ngIfElse"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper",3,"ngClass"],[3,"ngTemplateOutlet"],[3,"ngIf","ngIfElse"],["nz-input-group-slot","","type","prefix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","suffix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"],[3,"status",4,"ngIf"],[3,"status"],["nz-input-group-slot","","type","suffix",4,"ngIf"],["nz-input-group-slot","","type","suffix"]],template:function(xt,$e){if(1&xt&&(n.F$t(),n.YNc(0,G,4,4,"span",0),n.YNc(1,ee,1,2,"ng-template",null,1,n.W1O),n.YNc(3,ae,3,3,"ng-template",null,2,n.W1O),n.YNc(5,X,2,1,"ng-template",null,3,n.W1O)),2&xt){const ot=n.MAs(2);n.Q6J("ngIf",$e.isAddOn)("ngIfElse",ot)}},dependencies:[T.mk,T.O5,T.tP,_.w_,Ne],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,d.yF)()],Re.prototype,"nzSearch",void 0),(0,e.gn)([(0,d.yF)()],Re.prototype,"nzCompact",void 0),Re})(),_e=(()=>{class Re{set nzAutosize(Pe){var $e;"string"==typeof Pe||!0===Pe?this.autosize=!0:"string"!=typeof($e=Pe)&&"boolean"!=typeof $e&&($e.maxRows||$e.minRows)&&(this.autosize=!0,this.minRows=Pe.minRows,this.maxRows=Pe.maxRows,this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight())}resizeToFitContent(Pe=!1){if(this.cacheTextareaLineHeight(),!this.cachedLineHeight)return;const xt=this.el,$e=xt.value;if(!Pe&&this.minRows===this.previousMinRows&&$e===this.previousValue)return;const ot=xt.placeholder;xt.classList.add("nz-textarea-autosize-measuring"),xt.placeholder="";let mt=Math.round((xt.scrollHeight-this.inputGap)/this.cachedLineHeight)*this.cachedLineHeight+this.inputGap;null!==this.maxHeight&&mt>this.maxHeight&&(mt=this.maxHeight),null!==this.minHeight&&mtrequestAnimationFrame(()=>{const{selectionStart:we,selectionEnd:de}=xt;!this.destroy$.isStopped&&document.activeElement===xt&&xt.setSelectionRange(we,de)})),this.previousValue=$e,this.previousMinRows=this.minRows}cacheTextareaLineHeight(){if(this.cachedLineHeight>=0||!this.el.parentNode)return;const Pe=this.el.cloneNode(!1);Pe.rows=1,Pe.style.position="absolute",Pe.style.visibility="hidden",Pe.style.border="none",Pe.style.padding="0",Pe.style.height="",Pe.style.minHeight="",Pe.style.maxHeight="",Pe.style.overflow="hidden",this.el.parentNode.appendChild(Pe),this.cachedLineHeight=Pe.clientHeight-this.inputGap,this.el.parentNode.removeChild(Pe),this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight()}setMinHeight(){const Pe=this.minRows&&this.cachedLineHeight?this.minRows*this.cachedLineHeight+this.inputGap:null;return null!==Pe&&(this.el.style.minHeight=`${Pe}px`),Pe}setMaxHeight(){const Pe=this.maxRows&&this.cachedLineHeight?this.maxRows*this.cachedLineHeight+this.inputGap:null;return null!==Pe&&(this.el.style.maxHeight=`${Pe}px`),Pe}noopInputHandler(){}constructor(Pe,xt,$e,ot){this.elementRef=Pe,this.ngZone=xt,this.platform=$e,this.resizeService=ot,this.autosize=!1,this.el=this.elementRef.nativeElement,this.maxHeight=null,this.minHeight=null,this.destroy$=new t.x,this.inputGap=10}ngAfterViewInit(){this.autosize&&this.platform.isBrowser&&(this.resizeToFitContent(),this.resizeService.subscribe().pipe((0,E.R)(this.destroy$)).subscribe(()=>this.resizeToFitContent(!0)))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngDoCheck(){this.autosize&&this.platform.isBrowser&&this.resizeToFitContent()}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(y.t4),n.Y36(P.rI))};static#t=this.\u0275dir=n.lG2({type:Re,selectors:[["textarea","nzAutosize",""]],hostAttrs:["rows","1"],hostBindings:function(xt,$e){1&xt&&n.NdJ("input",function(){return $e.noopInputHandler()})},inputs:{nzAutosize:"nzAutosize"},exportAs:["nzAutosize"]})}return Re})(),Q=(()=>{class Re{constructor(Pe,xt){this.renderer=Pe,this.elementRef=xt,this.nzMaxCharacterCount=0,this.nzComputeCharacterCount=$e=>$e.length,this.nzFormatter=($e,ot)=>`${$e}${ot>0?`/${ot}`:""}`,this.configChange$=new t.x,this.destroy$=new t.x}ngAfterContentInit(){if(!this.nzInputDirective&&(0,n.X6Q)())throw new Error("[nz-textarea-count]: Could not find matching textarea[nz-input] child.");this.nzInputDirective.ngControl&&(0,i.T)(this.nzInputDirective.ngControl.valueChanges||l.E,this.configChange$).pipe((0,E.R)(this.destroy$),(0,v.U)(()=>this.nzInputDirective.ngControl.value),(0,z.O)(this.nzInputDirective.ngControl.value)).subscribe(xt=>{this.setDataCount(xt)})}setDataCount(Pe){const xt=(0,d.DX)(Pe)?String(Pe):"",$e=this.nzComputeCharacterCount(xt),ot=this.nzFormatter($e,this.nzMaxCharacterCount);this.renderer.setAttribute(this.elementRef.nativeElement,"data-count",ot)}ngOnDestroy(){this.configChange$.complete(),this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(n.Qsj),n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:Re,selectors:[["nz-textarea-count"]],contentQueries:function(xt,$e,ot){if(1&xt&&n.Suo(ot,Se,7),2&xt){let mt;n.iGM(mt=n.CRH())&&($e.nzInputDirective=mt.first)}},hostAttrs:[1,"ant-input-textarea-show-count"],inputs:{nzMaxCharacterCount:"nzMaxCharacterCount",nzComputeCharacterCount:"nzComputeCharacterCount",nzFormatter:"nzFormatter"},ngContentSelectors:le,decls:1,vars:0,template:function(xt,$e){1&xt&&(n.F$t(ne),n.Hsn(0))},encapsulation:2,changeDetection:0})}return Re})(),He=(()=>{class Re{static#e=this.\u0275fac=function(xt){return new(xt||Re)};static#t=this.\u0275mod=n.oAB({type:Re});static#n=this.\u0275inj=n.cJS({imports:[f.vT,T.ez,b.PV,y.ud,D.T,_.mJ]})}return Re})()},16976:(tt,I,o)=>{"use strict";o.d(I,{n_:()=>Ze,AA:()=>ve,yi:()=>Xe,Ph:()=>x});var e=o(65879),n=o(96814),t=o(96928),i=o(8324),l=o(97582),h=o(27754),E=o(78645),u=o(74911),z=o(22096),M=o(63019),p=o(65592),v=o(65619),_=o(48180),d=o(37398),m=o(54829),f=o(79360),C=o(8251);function T(N,O){return O?$=>$.pipe(T((L,he)=>(0,m.Xf)(N(L,he)).pipe((0,d.U)((Ce,Dt)=>O(L,Ce,he,Dt))))):(0,f.e)(($,L)=>{let he=0,Ce=null,Dt=!1;$.subscribe((0,C.x)(L,Yt=>{Ce||(Ce=(0,C.x)(L,void 0,()=>{Ce=null,Dt&&L.complete()}),(0,m.Xf)(N(Yt,he++)).subscribe(Ce))},()=>{Dt=!0,!Ce&&L.complete()}))})}var b=o(27921),D=o(59773),y=o(99087),P=o(60804),S=o(49388),A=o(77273),k=o(10095);const R=["*"];function W(N,O){if(1&N&&e._UZ(0,"nz-avatar",3),2&N){const $=e.oxw();e.Q6J("nzSrc",$.nzSrc)}}function j(N,O){1&N&&e.Hsn(0,0,["*ngIf","!nzSrc"])}function ze(N,O){if(1&N&&e._UZ(0,"nz-list-item-meta-avatar",3),2&N){const $=e.oxw();e.Q6J("nzSrc",$.avatarStr)}}function Y(N,O){if(1&N&&(e.TgZ(0,"nz-list-item-meta-avatar"),e.GkF(1,4),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",$.avatarTpl)}}function G(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(3);e.xp6(1),e.Oqu($.nzTitle)}}function V(N,O){if(1&N&&(e.TgZ(0,"nz-list-item-meta-title"),e.YNc(1,G,2,1,"ng-container",6),e.qZA()),2&N){const $=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzTitle)}}function K(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(3);e.xp6(1),e.Oqu($.nzDescription)}}function ee(N,O){if(1&N&&(e.TgZ(0,"nz-list-item-meta-description"),e.YNc(1,K,2,1,"ng-container",6),e.qZA()),2&N){const $=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzDescription)}}function te(N,O){if(1&N&&(e.TgZ(0,"div",5),e.YNc(1,V,2,1,"nz-list-item-meta-title",1),e.YNc(2,ee,2,1,"nz-list-item-meta-description",1),e.Hsn(3,1),e.Hsn(4,2),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("ngIf",$.nzTitle&&!$.titleComponent),e.xp6(1),e.Q6J("ngIf",$.nzDescription&&!$.descriptionComponent)}}const pe=[[["nz-list-item-meta-avatar"]],[["nz-list-item-meta-title"]],[["nz-list-item-meta-description"]]],re=["nz-list-item-meta-avatar","nz-list-item-meta-title","nz-list-item-meta-description"];function De(N,O){1&N&&e.Hsn(0)}const ae=["nz-list-item-actions",""];function ce(N,O){}function X(N,O){1&N&&e._UZ(0,"em",3)}function ne(N,O){if(1&N&&(e.TgZ(0,"li"),e.YNc(1,ce,0,0,"ng-template",1),e.YNc(2,X,1,0,"em",2),e.qZA()),2&N){const $=O.$implicit,L=O.last;e.xp6(1),e.Q6J("ngTemplateOutlet",$),e.xp6(1),e.Q6J("ngIf",!L)}}function le(N,O){}const Se=function(N,O){return{$implicit:N,index:O}};function Ne(N,O){if(1&N&&(e.ynx(0),e.YNc(1,le,0,0,"ng-template",9),e.BQk()),2&N){const $=O.$implicit,L=O.index,he=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",he.nzRenderItem)("ngTemplateOutletContext",e.WLB(2,Se,$,L))}}function ke(N,O){if(1&N&&(e.TgZ(0,"div",7),e.YNc(1,Ne,2,5,"ng-container",8),e.Hsn(2,4),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("ngForOf",$.nzDataSource)}}function oe(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(2);e.xp6(1),e.Oqu($.nzHeader)}}function _e(N,O){if(1&N&&(e.TgZ(0,"nz-list-header"),e.YNc(1,oe,2,1,"ng-container",10),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzHeader)}}function Q(N,O){1&N&&e._UZ(0,"div"),2&N&&e.Udp("min-height",53,"px")}function He(N,O){}function Re(N,O){if(1&N&&(e.TgZ(0,"div",13),e.YNc(1,He,0,0,"ng-template",9),e.qZA()),2&N){const $=O.$implicit,L=O.index,he=e.oxw(2);e.Q6J("nzSpan",he.nzGrid.span||null)("nzXs",he.nzGrid.xs||null)("nzSm",he.nzGrid.sm||null)("nzMd",he.nzGrid.md||null)("nzLg",he.nzGrid.lg||null)("nzXl",he.nzGrid.xl||null)("nzXXl",he.nzGrid.xxl||null),e.xp6(1),e.Q6J("ngTemplateOutlet",he.nzRenderItem)("ngTemplateOutletContext",e.WLB(9,Se,$,L))}}function lt(N,O){if(1&N&&(e.TgZ(0,"div",11),e.YNc(1,Re,2,12,"div",12),e.qZA()),2&N){const $=e.oxw();e.Q6J("nzGutter",$.nzGrid.gutter||null),e.xp6(1),e.Q6J("ngForOf",$.nzDataSource)}}function Pe(N,O){if(1&N&&e._UZ(0,"nz-list-empty",14),2&N){const $=e.oxw();e.Q6J("nzNoResult",$.nzNoResult)}}function xt(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(2);e.xp6(1),e.Oqu($.nzFooter)}}function $e(N,O){if(1&N&&(e.TgZ(0,"nz-list-footer"),e.YNc(1,xt,2,1,"ng-container",10),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzFooter)}}function ot(N,O){}function mt(N,O){}function we(N,O){if(1&N&&(e.TgZ(0,"nz-list-pagination"),e.YNc(1,mt,0,0,"ng-template",6),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",$.nzPagination)}}const de=[[["nz-list-header"]],[["nz-list-footer"],["","nz-list-footer",""]],[["nz-list-load-more"],["","nz-list-load-more",""]],[["nz-list-pagination"],["","nz-list-pagination",""]],"*"],U=["nz-list-header","nz-list-footer, [nz-list-footer]","nz-list-load-more, [nz-list-load-more]","nz-list-pagination, [nz-list-pagination]","*"];function B(N,O){if(1&N&&e._UZ(0,"ul",6),2&N){const $=e.oxw(2);e.Q6J("nzActions",$.nzActions)}}function Me(N,O){if(1&N&&(e.YNc(0,B,1,1,"ul",5),e.Hsn(1)),2&N){const $=e.oxw();e.Q6J("ngIf",$.nzActions&&$.nzActions.length>0)}}function Ae(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(3);e.xp6(1),e.Oqu($.nzContent)}}function Le(N,O){if(1&N&&(e.ynx(0),e.YNc(1,Ae,2,1,"ng-container",8),e.BQk()),2&N){const $=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzContent)}}function ht(N,O){if(1&N&&(e.Hsn(0,1),e.Hsn(1,2),e.YNc(2,Le,2,1,"ng-container",7)),2&N){const $=e.oxw();e.xp6(2),e.Q6J("ngIf",$.nzContent)}}function Ot(N,O){1&N&&e.Hsn(0,3)}function Lt(N,O){}function Wt(N,O){}function qt(N,O){}function en(N,O){}function Vt(N,O){if(1&N&&(e.YNc(0,Lt,0,0,"ng-template",9),e.YNc(1,Wt,0,0,"ng-template",9),e.YNc(2,qt,0,0,"ng-template",9),e.YNc(3,en,0,0,"ng-template",9)),2&N){const $=e.oxw(),L=e.MAs(3),he=e.MAs(5),Ce=e.MAs(1);e.Q6J("ngTemplateOutlet",L),e.xp6(1),e.Q6J("ngTemplateOutlet",$.nzExtra),e.xp6(1),e.Q6J("ngTemplateOutlet",he),e.xp6(1),e.Q6J("ngTemplateOutlet",Ce)}}function cn(N,O){}function ft(N,O){}function gt(N,O){}function Ie(N,O){if(1&N&&(e.TgZ(0,"nz-list-item-extra"),e.YNc(1,gt,0,0,"ng-template",9),e.qZA()),2&N){const $=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",$.nzExtra)}}function Ct(N,O){}function Nt(N,O){if(1&N&&(e.ynx(0),e.TgZ(1,"div",10),e.YNc(2,cn,0,0,"ng-template",9),e.YNc(3,ft,0,0,"ng-template",9),e.qZA(),e.YNc(4,Ie,2,1,"nz-list-item-extra",7),e.YNc(5,Ct,0,0,"ng-template",9),e.BQk()),2&N){const $=e.oxw(),L=e.MAs(3),he=e.MAs(1),Ce=e.MAs(5);e.xp6(2),e.Q6J("ngTemplateOutlet",L),e.xp6(1),e.Q6J("ngTemplateOutlet",he),e.xp6(1),e.Q6J("ngIf",$.nzExtra),e.xp6(1),e.Q6J("ngTemplateOutlet",Ce)}}const kt=[[["nz-list-item-actions"],["","nz-list-item-actions",""]],[["nz-list-item-meta"],["","nz-list-item-meta",""]],"*",[["nz-list-item-extra"],["","nz-list-item-extra",""]]],St=["nz-list-item-actions, [nz-list-item-actions]","nz-list-item-meta, [nz-list-item-meta]","*","nz-list-item-extra, [nz-list-item-extra]"];let qe=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-meta-title"]],exportAs:["nzListItemMetaTitle"],ngContentSelectors:R,decls:2,vars:0,consts:[[1,"ant-list-item-meta-title"]],template:function(L,he){1&L&&(e.F$t(),e.TgZ(0,"h4",0),e.Hsn(1),e.qZA())},encapsulation:2,changeDetection:0})}return N})(),Fe=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-meta-description"]],exportAs:["nzListItemMetaDescription"],ngContentSelectors:R,decls:2,vars:0,consts:[[1,"ant-list-item-meta-description"]],template:function(L,he){1&L&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},encapsulation:2,changeDetection:0})}return N})(),fe=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-meta-avatar"]],inputs:{nzSrc:"nzSrc"},exportAs:["nzListItemMetaAvatar"],ngContentSelectors:R,decls:3,vars:2,consts:[[1,"ant-list-item-meta-avatar"],[3,"nzSrc",4,"ngIf"],[4,"ngIf"],[3,"nzSrc"]],template:function(L,he){1&L&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,W,1,1,"nz-avatar",1),e.YNc(2,j,1,0,"ng-content",2),e.qZA()),2&L&&(e.xp6(1),e.Q6J("ngIf",he.nzSrc),e.xp6(1),e.Q6J("ngIf",!he.nzSrc))},dependencies:[n.O5,t.Dz],encapsulation:2,changeDetection:0})}return N})(),Xe=(()=>{class N{set nzAvatar($){$ instanceof e.Rgc?(this.avatarStr="",this.avatarTpl=$):this.avatarStr=$}constructor($){this.elementRef=$,this.avatarStr=""}static#e=this.\u0275fac=function(L){return new(L||N)(e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-meta"],["","nz-list-item-meta",""]],contentQueries:function(L,he,Ce){if(1&L&&(e.Suo(Ce,Fe,5),e.Suo(Ce,qe,5)),2&L){let Dt;e.iGM(Dt=e.CRH())&&(he.descriptionComponent=Dt.first),e.iGM(Dt=e.CRH())&&(he.titleComponent=Dt.first)}},hostAttrs:[1,"ant-list-item-meta"],inputs:{nzAvatar:"nzAvatar",nzTitle:"nzTitle",nzDescription:"nzDescription"},exportAs:["nzListItemMeta"],ngContentSelectors:re,decls:4,vars:3,consts:[[3,"nzSrc",4,"ngIf"],[4,"ngIf"],["class","ant-list-item-meta-content",4,"ngIf"],[3,"nzSrc"],[3,"ngTemplateOutlet"],[1,"ant-list-item-meta-content"],[4,"nzStringTemplateOutlet"]],template:function(L,he){1&L&&(e.F$t(pe),e.YNc(0,ze,1,1,"nz-list-item-meta-avatar",0),e.YNc(1,Y,2,1,"nz-list-item-meta-avatar",1),e.Hsn(2),e.YNc(3,te,5,2,"div",2)),2&L&&(e.Q6J("ngIf",he.avatarStr),e.xp6(1),e.Q6J("ngIf",he.avatarTpl),e.xp6(2),e.Q6J("ngIf",he.nzTitle||he.nzDescription||he.descriptionComponent||he.titleComponent))},dependencies:[n.O5,n.tP,i.f,qe,Fe,fe],encapsulation:2,changeDetection:0})}return N})(),ge=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-extra"],["","nz-list-item-extra",""]],hostAttrs:[1,"ant-list-item-extra"],exportAs:["nzListItemExtra"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return N})(),je=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-action"]],viewQuery:function(L,he){if(1&L&&e.Gf(e.Rgc,5),2&L){let Ce;e.iGM(Ce=e.CRH())&&(he.templateRef=Ce.first)}},exportAs:["nzListItemAction"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.YNc(0,De,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return N})(),Ye=(()=>{class N{constructor($,L,he){this.ngZone=$,this.nzActions=[],this.actions=[],this.inputActionChanges$=new E.x,this.contentChildrenChanges$=(0,u.P)(()=>this.nzListItemActions?(0,z.of)(null):this.ngZone.onStable.pipe((0,_.q)(1),this.enterZone(),T(()=>this.nzListItemActions.changes.pipe((0,b.O)(this.nzListItemActions))))),(0,M.T)(this.contentChildrenChanges$,this.inputActionChanges$).pipe((0,D.R)(he)).subscribe(()=>{this.actions=this.nzActions.length?this.nzActions:this.nzListItemActions.map(Ce=>Ce.templateRef),L.detectChanges()})}ngOnChanges(){this.inputActionChanges$.next(null)}enterZone(){return $=>new p.y(L=>$.subscribe({next:he=>this.ngZone.run(()=>L.next(he))}))}static#e=this.\u0275fac=function(L){return new(L||N)(e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(y.kn))};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["ul","nz-list-item-actions",""]],contentQueries:function(L,he,Ce){if(1&L&&e.Suo(Ce,je,4),2&L){let Dt;e.iGM(Dt=e.CRH())&&(he.nzListItemActions=Dt)}},hostAttrs:[1,"ant-list-item-action"],inputs:{nzActions:"nzActions"},exportAs:["nzListItemActions"],features:[e._Bn([y.kn]),e.TTD],attrs:ae,decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["class","ant-list-item-action-split",4,"ngIf"],[1,"ant-list-item-action-split"]],template:function(L,he){1&L&&e.YNc(0,ne,3,2,"li",0),2&L&&e.Q6J("ngForOf",he.actions)},dependencies:[n.sg,n.O5,n.tP],encapsulation:2,changeDetection:0})}return N})(),We=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-empty"]],hostAttrs:[1,"ant-list-empty-text"],inputs:{nzNoResult:"nzNoResult"},exportAs:["nzListHeader"],decls:1,vars:2,consts:[[3,"nzComponentName","specificContent"]],template:function(L,he){1&L&&e._UZ(0,"nz-embed-empty",0),2&L&&e.Q6J("nzComponentName","list")("specificContent",he.nzNoResult)},dependencies:[P.gB],encapsulation:2,changeDetection:0})}return N})(),wt=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-header"]],hostAttrs:[1,"ant-list-header"],exportAs:["nzListHeader"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return N})(),Ee=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-footer"]],hostAttrs:[1,"ant-list-footer"],exportAs:["nzListFooter"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return N})(),be=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-pagination"]],hostAttrs:[1,"ant-list-pagination"],exportAs:["nzListPagination"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return N})(),Qe=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275dir=e.lG2({type:N,selectors:[["nz-list-load-more"]],exportAs:["nzListLoadMoreDirective"]})}return N})(),Ze=(()=>{class N{get itemLayoutNotify$(){return this.itemLayoutNotifySource.asObservable()}constructor($){this.directionality=$,this.nzBordered=!1,this.nzGrid="",this.nzItemLayout="horizontal",this.nzRenderItem=null,this.nzLoading=!1,this.nzLoadMore=null,this.nzSize="default",this.nzSplit=!0,this.hasSomethingAfterLastItem=!1,this.dir="ltr",this.itemLayoutNotifySource=new v.X(this.nzItemLayout),this.destroy$=new E.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,D.R)(this.destroy$)).subscribe($=>{this.dir=$})}getSomethingAfterLastItem(){return!!(this.nzLoadMore||this.nzPagination||this.nzFooter||this.nzListFooterComponent||this.nzListPaginationComponent||this.nzListLoadMoreDirective)}ngOnChanges($){$.nzItemLayout&&this.itemLayoutNotifySource.next(this.nzItemLayout)}ngOnDestroy(){this.itemLayoutNotifySource.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.hasSomethingAfterLastItem=this.getSomethingAfterLastItem()}static#e=this.\u0275fac=function(L){return new(L||N)(e.Y36(S.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list"],["","nz-list",""]],contentQueries:function(L,he,Ce){if(1&L&&(e.Suo(Ce,Ee,5),e.Suo(Ce,be,5),e.Suo(Ce,Qe,5)),2&L){let Dt;e.iGM(Dt=e.CRH())&&(he.nzListFooterComponent=Dt.first),e.iGM(Dt=e.CRH())&&(he.nzListPaginationComponent=Dt.first),e.iGM(Dt=e.CRH())&&(he.nzListLoadMoreDirective=Dt.first)}},hostAttrs:[1,"ant-list"],hostVars:16,hostBindings:function(L,he){2&L&&e.ekj("ant-list-rtl","rtl"===he.dir)("ant-list-vertical","vertical"===he.nzItemLayout)("ant-list-lg","large"===he.nzSize)("ant-list-sm","small"===he.nzSize)("ant-list-split",he.nzSplit)("ant-list-bordered",he.nzBordered)("ant-list-loading",he.nzLoading)("ant-list-something-after-last-item",he.hasSomethingAfterLastItem)},inputs:{nzDataSource:"nzDataSource",nzBordered:"nzBordered",nzGrid:"nzGrid",nzHeader:"nzHeader",nzFooter:"nzFooter",nzItemLayout:"nzItemLayout",nzRenderItem:"nzRenderItem",nzLoading:"nzLoading",nzLoadMore:"nzLoadMore",nzPagination:"nzPagination",nzSize:"nzSize",nzSplit:"nzSplit",nzNoResult:"nzNoResult"},exportAs:["nzList"],features:[e.TTD],ngContentSelectors:U,decls:15,vars:9,consts:[["itemsTpl",""],[4,"ngIf"],[3,"nzSpinning"],[3,"min-height",4,"ngIf"],["nz-row","",3,"nzGutter",4,"ngIf","ngIfElse"],[3,"nzNoResult",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-list-items"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"],[3,"nzNoResult"]],template:function(L,he){if(1&L&&(e.F$t(de),e.YNc(0,ke,3,1,"ng-template",null,0,e.W1O),e.YNc(2,_e,2,1,"nz-list-header",1),e.Hsn(3),e.TgZ(4,"nz-spin",2),e.ynx(5),e.YNc(6,Q,1,2,"div",3),e.YNc(7,lt,2,2,"div",4),e.YNc(8,Pe,1,1,"nz-list-empty",5),e.BQk(),e.qZA(),e.YNc(9,$e,2,1,"nz-list-footer",1),e.Hsn(10,1),e.YNc(11,ot,0,0,"ng-template",6),e.Hsn(12,2),e.YNc(13,we,2,1,"nz-list-pagination",1),e.Hsn(14,3)),2&L){const Ce=e.MAs(1);e.xp6(2),e.Q6J("ngIf",he.nzHeader),e.xp6(2),e.Q6J("nzSpinning",he.nzLoading),e.xp6(2),e.Q6J("ngIf",he.nzLoading&&he.nzDataSource&&0===he.nzDataSource.length),e.xp6(1),e.Q6J("ngIf",he.nzGrid&&he.nzDataSource)("ngIfElse",Ce),e.xp6(1),e.Q6J("ngIf",!he.nzLoading&&he.nzDataSource&&0===he.nzDataSource.length),e.xp6(1),e.Q6J("ngIf",he.nzFooter),e.xp6(2),e.Q6J("ngTemplateOutlet",he.nzLoadMore),e.xp6(2),e.Q6J("ngIf",he.nzPagination)}},dependencies:[n.sg,n.O5,n.tP,A.W,k.t3,k.SK,i.f,wt,Ee,be,We],encapsulation:2,changeDetection:0})}return(0,l.gn)([(0,h.yF)()],N.prototype,"nzBordered",void 0),(0,l.gn)([(0,h.yF)()],N.prototype,"nzLoading",void 0),(0,l.gn)([(0,h.yF)()],N.prototype,"nzSplit",void 0),N})(),ve=(()=>{class N{get isVerticalAndExtra(){return!("vertical"!==this.itemLayout||!this.listItemExtraDirective&&!this.nzExtra)}constructor($,L){this.parentComp=$,this.cdr=L,this.nzActions=[],this.nzExtra=null,this.nzNoFlex=!1}ngAfterViewInit(){this.itemLayout$=this.parentComp.itemLayoutNotify$.subscribe($=>{this.itemLayout=$,this.cdr.detectChanges()})}ngOnDestroy(){this.itemLayout$&&this.itemLayout$.unsubscribe()}static#e=this.\u0275fac=function(L){return new(L||N)(e.Y36(Ze),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item"],["","nz-list-item",""]],contentQueries:function(L,he,Ce){if(1&L&&e.Suo(Ce,ge,5),2&L){let Dt;e.iGM(Dt=e.CRH())&&(he.listItemExtraDirective=Dt.first)}},hostAttrs:[1,"ant-list-item"],hostVars:2,hostBindings:function(L,he){2&L&&e.ekj("ant-list-item-no-flex",he.nzNoFlex)},inputs:{nzActions:"nzActions",nzContent:"nzContent",nzExtra:"nzExtra",nzNoFlex:"nzNoFlex"},exportAs:["nzListItem"],ngContentSelectors:St,decls:9,vars:2,consts:[["actionsTpl",""],["contentTpl",""],["extraTpl",""],["simpleTpl",""],[4,"ngIf","ngIfElse"],["nz-list-item-actions","",3,"nzActions",4,"ngIf"],["nz-list-item-actions","",3,"nzActions"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngTemplateOutlet"],[1,"ant-list-item-main"]],template:function(L,he){if(1&L&&(e.F$t(kt),e.YNc(0,Me,2,1,"ng-template",null,0,e.W1O),e.YNc(2,ht,3,1,"ng-template",null,1,e.W1O),e.YNc(4,Ot,1,0,"ng-template",null,2,e.W1O),e.YNc(6,Vt,4,4,"ng-template",null,3,e.W1O),e.YNc(8,Nt,6,4,"ng-container",4)),2&L){const Ce=e.MAs(7);e.xp6(8),e.Q6J("ngIf",he.isVerticalAndExtra)("ngIfElse",Ce)}},dependencies:[n.O5,n.tP,i.f,Ye,ge],encapsulation:2,changeDetection:0})}return(0,l.gn)([(0,h.yF)()],N.prototype,"nzNoFlex",void 0),N})(),x=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275mod=e.oAB({type:N});static#n=this.\u0275inj=e.cJS({imports:[S.vT,n.ez,A.j,k.Jb,t.Rt,i.T,P.Xo]})}return N})()},36513:(tt,I,o)=>{"use strict";o.d(I,{Gl:()=>ke,YW:()=>Se,jO:()=>le});var e=o(49388),n=o(33651),t=o(96814),i=o(65879),l=o(60095),h=o(50883),E=o(60804),u=o(90551),z=o(78645),M=o(92438),p=o(22096),v=o(65592),_=o(63019),d=o(47394),m=o(59773),f=o(93997),C=o(42460),T=o(37398),b=o(27921),D=o(94664),y=o(99087),P=o(97582),S=o(36028),A=o(68484),k=o(85448),R=o(27754);const W=["items"];function j(oe,_e){1&oe&&i.GkF(0)}const ze=function(oe){return{$implicit:oe}};function Y(oe,_e){if(1&oe&&(i.ynx(0),i.YNc(1,j,1,0,"ng-container",10),i.BQk()),2&oe){const Q=i.oxw().$implicit,He=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",He.suggestionTemplate)("ngTemplateOutletContext",i.VKq(2,ze,Q))}}function G(oe,_e){if(1&oe&&i._uU(0),2&oe){const Q=i.oxw().$implicit,He=i.oxw(2);i.Oqu(He.nzValueWith(Q))}}function V(oe,_e){if(1&oe){const Q=i.EpF();i.TgZ(0,"li",6,7),i.NdJ("click",function(){const lt=i.CHM(Q).$implicit,Pe=i.oxw(2);return i.KtG(Pe.selectSuggestion(lt))}),i.YNc(2,Y,2,4,"ng-container",8),i.YNc(3,G,1,1,"ng-template",null,9,i.W1O),i.qZA()}if(2&oe){const Q=_e.index,He=i.MAs(4),Re=i.oxw(2);i.ekj("ant-mentions-dropdown-menu-item-active",Q===Re.activeIndex)("ant-mentions-dropdown-menu-item-selected",Q===Re.activeIndex),i.xp6(2),i.Q6J("ngIf",Re.suggestionTemplate)("ngIfElse",He)}}function K(oe,_e){1&oe&&(i.TgZ(0,"span"),i._UZ(1,"span",13),i.qZA())}function ee(oe,_e){if(1&oe&&(i.TgZ(0,"span"),i._UZ(1,"nz-embed-empty",14),i.qZA()),2&oe){const Q=i.oxw(3);i.xp6(1),i.Q6J("specificContent",Q.nzNotFoundContent)}}function te(oe,_e){if(1&oe&&(i.TgZ(0,"li",11),i.YNc(1,K,2,0,"span",12),i.YNc(2,ee,2,1,"span",12),i.qZA()),2&oe){const Q=i.oxw(2);i.xp6(1),i.Q6J("ngIf",Q.nzLoading),i.xp6(1),i.Q6J("ngIf",!Q.nzLoading)}}function pe(oe,_e){if(1&oe&&(i.TgZ(0,"div",2)(1,"ul",3),i.YNc(2,V,5,6,"li",4),i.YNc(3,te,3,2,"li",5),i.qZA()()),2&oe){const Q=i.oxw();i.xp6(2),i.Q6J("ngForOf",Q.filteredSuggestions),i.xp6(1),i.Q6J("ngIf",0===Q.filteredSuggestions.length)}}function re(oe,_e){if(1&oe&&i._UZ(0,"nz-form-item-feedback-icon",15),2&oe){const Q=i.oxw();i.Q6J("status",Q.status)}}const De=["*"];let ae=(()=>{class oe{static#e=this.\u0275fac=function(He){return new(He||oe)};static#t=this.\u0275dir=i.lG2({type:oe,selectors:[["","nzMentionSuggestion",""]],exportAs:["nzMentionSuggestion"]})}return oe})();let X=(()=>{class oe{constructor(){this.triggerChange$=new z.x}triggerChanged(){return this.triggerChange$.asObservable()}registerTrigger(Q){this.trigger!==Q&&(this.trigger=Q,this.triggerChange$.next(Q))}ngOnDestroy(){this.triggerChange$.complete()}static#e=this.\u0275fac=function(He){return new(He||oe)};static#t=this.\u0275prov=i.Yz7({token:oe,factory:oe.\u0275fac})}return oe})();const ne={provide:l.JU,useExisting:(0,i.Gpc)(()=>le),multi:!0};let le=(()=>{class oe{constructor(Q,He,Re,lt,Pe){this.el=Q,this.ngZone=He,this.ref=Re,this.destroy$=lt,this.nzMentionService=Pe,this.onChange=()=>{},this.onTouched=()=>{},this.onFocusin=new i.vpe,this.onBlur=new i.vpe,this.onInput=new i.vpe,this.onKeydown=new i.vpe,this.onClick=new i.vpe}completeEvents(){this.onFocusin.complete(),this.onBlur.complete(),this.onInput.complete(),this.onKeydown.complete(),this.onClick.complete()}focus(Q=null){this.el.nativeElement.focus(),this.el.nativeElement.setSelectionRange(Q,Q)}insertMention(Q){const He=this.el.nativeElement.value,Re=`${Q.mention} `,lt=[He.slice(0,Q.startPos+1),Re,He.slice(Q.endPos,He.length)].join("");this.el.nativeElement.value=lt,this.focus(Q.startPos+Re.length+1),this.onChange(lt),this.value=lt}writeValue(Q){this.value=Q,this.el.nativeElement.value="string"==typeof Q?Q:""}registerOnChange(Q){this.onChange=Q}registerOnTouched(Q){this.onTouched=Q}ngAfterViewInit(){this.nzMentionService.registerTrigger(this),this.setupEventListener("blur",this.onBlur),this.setupEventListener("focusin",this.onFocusin),this.setupEventListener("input",this.onInput,!0),this.setupEventListener("click",this.onClick,!0),this.setupEventListener("keydown",this.onKeydown,!0)}ngOnDestroy(){this.completeEvents()}setupEventListener(Q,He,Re=!1){this.ngZone.runOutsideAngular(()=>{(0,M.R)(this.el.nativeElement,Q).pipe((0,m.R)(this.destroy$)).subscribe(lt=>{He.observers.length&&this.ngZone.run(()=>{He.emit(Re?lt:void 0),this.ref.markForCheck()})})})}static#e=this.\u0275fac=function(He){return new(He||oe)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(y.kn),i.Y36(X))};static#t=this.\u0275dir=i.lG2({type:oe,selectors:[["input","nzMentionTrigger",""],["textarea","nzMentionTrigger",""]],hostAttrs:["autocomplete","off"],outputs:{onFocusin:"onFocusin",onBlur:"onBlur",onInput:"onInput",onKeydown:"onKeydown",onClick:"onClick"},exportAs:["nzMentionTrigger"],features:[i._Bn([y.kn,ne])]})}return oe})(),Se=(()=>{class oe{set suggestionChild(Q){Q&&(this.suggestionTemplate=Q)}get triggerNativeElement(){return this.trigger.el.nativeElement}get focusItemElement(){const Q=this.items?.toArray();return Q&&Q[this.activeIndex]?Q[this.activeIndex].nativeElement:null}constructor(Q,He,Re,lt,Pe,xt,$e,ot,mt,we,de,U){this.ngZone=Q,this.ngDocument=He,this.directionality=Re,this.cdr=lt,this.overlay=Pe,this.viewContainerRef=xt,this.elementRef=$e,this.renderer=ot,this.nzMentionService=mt,this.destroy$=we,this.nzFormStatusService=de,this.nzFormNoStatusService=U,this.nzValueWith=B=>B,this.nzPrefix="@",this.nzLoading=!1,this.nzNotFoundContent="\u65e0\u5339\u914d\u7ed3\u679c\uff0c\u8f7b\u6572\u7a7a\u683c\u5b8c\u6210\u8f93\u5165",this.nzPlacement="bottom",this.nzSuggestions=[],this.nzStatus="",this.nzOnSelect=new i.vpe,this.nzOnSearchChange=new i.vpe,this.isOpen=!1,this.filteredSuggestions=[],this.suggestionTemplate=null,this.activeIndex=-1,this.dir="ltr",this.prefixCls="ant-mentions",this.statusCls={},this.status="",this.hasFeedback=!1,this.previousValue=null,this.cursorMention=null,this.overlayRef=null}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,f.x)((Q,He)=>Q.status===He.status&&Q.hasFeedback===He.hasFeedback),(0,C.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,p.of)(!1)),(0,T.U)(([{status:Q,hasFeedback:He},Re])=>({status:Re?"":Q,hasFeedback:He})),(0,m.R)(this.destroy$)).subscribe(({status:Q,hasFeedback:He})=>{this.setStatusStyles(Q,He)}),this.nzMentionService.triggerChanged().subscribe(Q=>{this.trigger=Q,this.bindTriggerEvents(),this.closeDropdown(),this.overlayRef=null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(Q=>{this.dir=Q})}ngOnChanges(Q){const{nzSuggestions:He,nzStatus:Re}=Q;He&&this.isOpen&&(this.previousValue=null,this.activeIndex=-1,this.resetDropdown(!1)),Re&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngAfterViewInit(){this.items.changes.pipe((0,b.O)(this.items),(0,D.w)(()=>{const Q=this.items.toArray();return new v.y(He=>this.ngZone.runOutsideAngular(()=>(0,_.T)(...Q.map(Re=>(0,M.R)(Re.nativeElement,"mousedown"))).subscribe(He)))})).subscribe(Q=>{Q.preventDefault()})}ngOnDestroy(){this.closeDropdown()}closeDropdown(){this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.overlayOutsideClickSubscription.unsubscribe(),this.isOpen=!1,this.cdr.markForCheck())}openDropdown(){this.attachOverlay(),this.isOpen=!0,this.cdr.markForCheck()}getMentions(){return this.trigger?(0,R.qR)(this.trigger.value,this.nzPrefix):[]}selectSuggestion(Q){const He=this.nzValueWith(Q);this.trigger.insertMention({mention:He,startPos:this.cursorMentionStart,endPos:this.cursorMentionEnd}),this.nzOnSelect.emit(Q),this.closeDropdown(),this.activeIndex=-1}handleInput(Q){const He=Q.target;this.trigger.onChange(He.value),this.trigger.value=He.value,this.resetDropdown()}handleKeydown(Q){const He=Q.keyCode;if(this.isOpen&&He===S.K5&&-1!==this.activeIndex&&this.filteredSuggestions.length)this.selectSuggestion(this.filteredSuggestions[this.activeIndex]),Q.preventDefault();else if(He===S.oh||He===S.SV)this.resetDropdown(),Q.stopPropagation();else{if(this.isOpen&&(He===S.Mf||He===S.hY))return void this.closeDropdown();this.isOpen&&He===S.LH&&(this.setPreviousItemActive(),Q.preventDefault(),Q.stopPropagation()),this.isOpen&&He===S.JH&&(this.setNextItemActive(),Q.preventDefault(),Q.stopPropagation())}}handleClick(){this.resetDropdown()}bindTriggerEvents(){this.trigger.onInput.subscribe(Q=>this.handleInput(Q)),this.trigger.onKeydown.subscribe(Q=>this.handleKeydown(Q)),this.trigger.onClick.subscribe(()=>this.handleClick())}suggestionsFilter(Q,He){const Re=Q.substring(1);if(this.previousValue===Q&&Q!==this.cursorMention[0])return;this.previousValue=Q,He&&this.nzOnSearchChange.emit({value:this.cursorMention.substring(1),prefix:this.cursorMention[0]});const lt=Re.toLowerCase();this.filteredSuggestions=this.nzSuggestions.filter(Pe=>this.nzValueWith(Pe).toLowerCase().includes(lt))}resetDropdown(Q=!0){if(this.resetCursorMention(),"string"!=typeof this.cursorMention||!this.canOpen())return void this.closeDropdown();this.suggestionsFilter(this.cursorMention,Q);const He=this.filteredSuggestions.indexOf(this.cursorMention.substring(1));this.activeIndex=He>=0?He:0,this.openDropdown()}setNextItemActive(){this.activeIndex=this.activeIndex+1<=this.filteredSuggestions.length-1?this.activeIndex+1:0,this.cdr.markForCheck(),this.scrollToFocusItem()}setPreviousItemActive(){this.activeIndex=this.activeIndex-1<0?this.filteredSuggestions.length-1:this.activeIndex-1,this.cdr.markForCheck(),this.scrollToFocusItem()}scrollToFocusItem(){this.focusItemElement&&this.focusItemElement.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}canOpen(){const Q=this.triggerNativeElement;return!Q.readOnly&&!Q.disabled}resetCursorMention(){const Q=this.triggerNativeElement.value.replace(/[\r\n]/g," ")||"",He=this.triggerNativeElement.selectionStart,Re="string"==typeof this.nzPrefix?[this.nzPrefix]:this.nzPrefix;let lt=Re.length;for(;lt>=0;){const Pe=Q.lastIndexOf(Re[lt],He),xt=Q.indexOf(" ",He)>-1?Q.indexOf(" ",He):Q.length,$e=Q.substring(Pe,xt);if(!(Pe>0&&" "!==Q[Pe-1]||Pe<0||$e.includes(Re[lt],1)||$e.includes(" ")))return this.cursorMention=$e,this.cursorMentionStart=Pe,void(this.cursorMentionEnd=xt);this.cursorMention=null,this.cursorMentionStart=-1,this.cursorMentionEnd=-1,lt--}}updatePositions(){const Q=(0,R.Ly)(this.triggerNativeElement,this.cursorMentionStart),He=Q.top-this.triggerNativeElement.getBoundingClientRect().height-this.triggerNativeElement.scrollTop+("bottom"===this.nzPlacement?Q.height-6:-6);this.positionStrategy.withDefaultOffsetX(Q.left-this.triggerNativeElement.scrollLeft).withDefaultOffsetY(He),"bottom"===this.nzPlacement&&this.positionStrategy.withPositions([...k.fG]),"top"===this.nzPlacement&&this.positionStrategy.withPositions([...k.A7]),this.positionStrategy.apply()}subscribeOverlayOutsideClick(){const Q=Re=>{const lt=Re.target;return this.isOpen&<!==this.trigger.el.nativeElement&&!this.overlayRef?.overlayElement.contains(lt)},He=new d.w0;return He.add(this.overlayRef.outsidePointerEvents().subscribe(Re=>Q(Re)&&this.closeDropdown())),He.add(this.ngZone.runOutsideAngular(()=>(0,M.R)(this.ngDocument,"touchend").subscribe(Re=>Q(Re)&&this.ngZone.run(()=>this.closeDropdown())))),He}attachOverlay(){this.overlayRef||(this.portal=new A.UE(this.suggestionsTemp,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick()),this.updatePositions()}getOverlayConfig(){return new n.X_({positionStrategy:this.getOverlayPosition(),scrollStrategy:this.overlay.scrollStrategies.reposition(),disposeOnNavigation:!0})}getOverlayPosition(){const Q=[new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new n.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.trigger.el).withPositions(Q).withFlexibleDimensions(!1).withPush(!1),this.positionStrategy}setStatusStyles(Q,He){this.status=Q,this.hasFeedback=He,this.cdr.markForCheck(),this.statusCls=(0,R.Zu)(this.prefixCls,Q,He),Object.keys(this.statusCls).forEach(Re=>{this.statusCls[Re]?this.renderer.addClass(this.elementRef.nativeElement,Re):this.renderer.removeClass(this.elementRef.nativeElement,Re)})}static#e=this.\u0275fac=function(He){return new(He||oe)(i.Y36(i.R0b),i.Y36(t.K0,8),i.Y36(e.Is,8),i.Y36(i.sBO),i.Y36(n.aV),i.Y36(i.s_b),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(X),i.Y36(y.kn),i.Y36(h.kH,8),i.Y36(h.yW,8))};static#t=this.\u0275cmp=i.Xpm({type:oe,selectors:[["nz-mention"]],contentQueries:function(He,Re,lt){if(1&He&&i.Suo(lt,ae,5,i.Rgc),2&He){let Pe;i.iGM(Pe=i.CRH())&&(Re.suggestionChild=Pe.first)}},viewQuery:function(He,Re){if(1&He&&(i.Gf(i.Rgc,5),i.Gf(W,5,i.SBq)),2&He){let lt;i.iGM(lt=i.CRH())&&(Re.suggestionsTemp=lt.first),i.iGM(lt=i.CRH())&&(Re.items=lt)}},hostAttrs:[1,"ant-mentions"],hostVars:2,hostBindings:function(He,Re){2&He&&i.ekj("ant-mentions-rtl","rtl"===Re.dir)},inputs:{nzValueWith:"nzValueWith",nzPrefix:"nzPrefix",nzLoading:"nzLoading",nzNotFoundContent:"nzNotFoundContent",nzPlacement:"nzPlacement",nzSuggestions:"nzSuggestions",nzStatus:"nzStatus"},outputs:{nzOnSelect:"nzOnSelect",nzOnSearchChange:"nzOnSearchChange"},exportAs:["nzMention"],features:[i._Bn([X,y.kn]),i.TTD],ngContentSelectors:De,decls:4,vars:1,consts:[["suggestions",""],["class","ant-mentions-suffix",3,"status",4,"ngIf"],[1,"ant-mentions-dropdown"],["role","menu","tabindex","0",1,"ant-mentions-dropdown-menu"],["class","ant-mentions-dropdown-menu-item","role","menuitem","tabindex","-1",3,"ant-mentions-dropdown-menu-item-active","ant-mentions-dropdown-menu-item-selected","click",4,"ngFor","ngForOf"],["class","ant-mentions-dropdown-menu-item ant-mentions-dropdown-menu-item-disabled",4,"ngIf"],["role","menuitem","tabindex","-1",1,"ant-mentions-dropdown-menu-item",3,"click"],["items",""],[4,"ngIf","ngIfElse"],["defaultSuggestion",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-mentions-dropdown-menu-item","ant-mentions-dropdown-menu-item-disabled"],[4,"ngIf"],["nz-icon","","nzType","loading"],["nzComponentName","select",3,"specificContent"],[1,"ant-mentions-suffix",3,"status"]],template:function(He,Re){1&He&&(i.F$t(),i.Hsn(0),i.YNc(1,pe,4,2,"ng-template",null,0,i.W1O),i.YNc(3,re,1,1,"nz-form-item-feedback-icon",1)),2&He&&(i.xp6(3),i.Q6J("ngIf",Re.hasFeedback&&!!Re.status))},dependencies:[t.sg,t.O5,t.tP,u.Ls,E.gB,h.w_],encapsulation:2,changeDetection:0})}return(0,P.gn)([(0,R.yF)()],oe.prototype,"nzLoading",void 0),oe})(),ke=(()=>{class oe{static#e=this.\u0275fac=function(He){return new(He||oe)};static#t=this.\u0275mod=i.oAB({type:oe});static#n=this.\u0275inj=i.cJS({imports:[e.vT,t.ez,l.u5,n.U8,u.PV,E.Xo,h.mJ]})}return oe})()},73460:(tt,I,o)=>{"use strict";o.d(I,{Cc:()=>Pe,YV:()=>qt,hl:()=>$e,ip:()=>en,r9:()=>mt,rY:()=>Ae,uA:()=>Wt,wO:()=>Ot});var e=o(97582),n=o(65879),t=o(78645),i=o(65619),l=o(63019),h=o(52572),E=o(37398),u=o(21631),z=o(32181),M=o(21441),p=o(29028),v=o(93997),_=o(59773),d=o(27921),m=o(94664),f=o(27754),C=o(52787),T=o(49388),b=o(33651),D=o(85448),y=o(62831),P=o(331),S=o(96814),A=o(90551),k=o(8324),R=o(64194);const W=["nz-submenu-title",""];function j(Vt,cn){if(1&Vt&&n._UZ(0,"span",4),2&Vt){const ft=n.oxw();n.Q6J("nzType",ft.nzIcon)}}function ze(Vt,cn){if(1&Vt&&(n.ynx(0),n.TgZ(1,"span"),n._uU(2),n.qZA(),n.BQk()),2&Vt){const ft=n.oxw();n.xp6(2),n.Oqu(ft.nzTitle)}}function Y(Vt,cn){1&Vt&&n._UZ(0,"span",8)}function G(Vt,cn){1&Vt&&n._UZ(0,"span",9)}function V(Vt,cn){if(1&Vt&&(n.TgZ(0,"span",5),n.YNc(1,Y,1,0,"span",6),n.YNc(2,G,1,0,"span",7),n.qZA()),2&Vt){const ft=n.oxw();n.Q6J("ngSwitch",ft.dir),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function K(Vt,cn){1&Vt&&n._UZ(0,"span",10)}const ee=["*"],te=["nz-submenu-inline-child",""];function pe(Vt,cn){}const re=["nz-submenu-none-inline-child",""];function De(Vt,cn){}const ae=["nz-submenu",""];function ce(Vt,cn){1&Vt&&n.Hsn(0,0,["*ngIf","!nzTitle"])}function X(Vt,cn){if(1&Vt&&n._UZ(0,"div",6),2&Vt){const ft=n.oxw(),gt=n.MAs(7);n.Q6J("mode",ft.mode)("nzOpen",ft.nzOpen)("@.disabled",!(null==ft.noAnimation||!ft.noAnimation.nzNoAnimation))("nzNoAnimation",null==ft.noAnimation?null:ft.noAnimation.nzNoAnimation)("menuClass",ft.nzMenuClassName)("templateOutlet",gt)}}function ne(Vt,cn){if(1&Vt){const ft=n.EpF();n.TgZ(0,"div",8),n.NdJ("subMenuMouseState",function(Ie){n.CHM(ft);const Ct=n.oxw(2);return n.KtG(Ct.setMouseEnterState(Ie))}),n.qZA()}if(2&Vt){const ft=n.oxw(2),gt=n.MAs(7);n.Q6J("theme",ft.theme)("mode",ft.mode)("nzOpen",ft.nzOpen)("position",ft.position)("nzDisabled",ft.nzDisabled)("isMenuInsideDropDown",ft.isMenuInsideDropDown)("templateOutlet",gt)("menuClass",ft.nzMenuClassName)("@.disabled",!(null==ft.noAnimation||!ft.noAnimation.nzNoAnimation))("nzNoAnimation",null==ft.noAnimation?null:ft.noAnimation.nzNoAnimation)}}function le(Vt,cn){if(1&Vt){const ft=n.EpF();n.YNc(0,ne,1,10,"ng-template",7),n.NdJ("positionChange",function(Ie){n.CHM(ft);const Ct=n.oxw();return n.KtG(Ct.onPositionChange(Ie))})}if(2&Vt){const ft=n.oxw(),gt=n.MAs(1);n.Q6J("cdkConnectedOverlayPositions",ft.overlayPositions)("cdkConnectedOverlayOrigin",gt)("cdkConnectedOverlayWidth",ft.triggerWidth)("cdkConnectedOverlayOpen",ft.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function Se(Vt,cn){1&Vt&&n.Hsn(0,1)}const Ne=[[["","title",""]],"*"],ke=["[title]","*"],oe=["titleElement"],_e=["nz-menu-group",""];function Q(Vt,cn){if(1&Vt&&(n.ynx(0),n._uU(1),n.BQk()),2&Vt){const ft=n.oxw();n.xp6(1),n.Oqu(ft.nzTitle)}}function He(Vt,cn){1&Vt&&n.Hsn(0,1,["*ngIf","!nzTitle"])}const Re=["*",[["","title",""]]],lt=["*","[title]"],Pe=new n.OlP("NzIsInDropDownMenuToken"),xt=new n.OlP("NzMenuServiceLocalToken");let $e=(()=>{class Vt{constructor(){this.descendantMenuItemClick$=new t.x,this.childMenuItemClick$=new t.x,this.theme$=new i.X("light"),this.mode$=new i.X("vertical"),this.inlineIndent$=new i.X(24),this.isChildSubMenuOpen$=new i.X(!1)}onDescendantMenuItemClick(ft){this.descendantMenuItemClick$.next(ft)}onChildMenuItemClick(ft){this.childMenuItemClick$.next(ft)}setMode(ft){this.mode$.next(ft)}setTheme(ft){this.theme$.next(ft)}setInlineIndent(ft){this.inlineIndent$.next(ft)}static#e=this.\u0275fac=function(gt){return new(gt||Vt)};static#t=this.\u0275prov=n.Yz7({token:Vt,factory:Vt.\u0275fac})}return Vt})(),ot=(()=>{class Vt{onChildMenuItemClick(ft){this.childMenuItemClick$.next(ft)}setOpenStateWithoutDebounce(ft){this.isCurrentSubMenuOpen$.next(ft)}setMouseEnterTitleOrOverlayState(ft){this.isMouseEnterTitleOrOverlay$.next(ft)}constructor(ft,gt,Ie){this.nzHostSubmenuService=ft,this.nzMenuService=gt,this.isMenuInsideDropDown=Ie,this.mode$=this.nzMenuService.mode$.pipe((0,E.U)(St=>"inline"===St?"inline":"vertical"===St||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new i.X(!1),this.isChildSubMenuOpen$=new i.X(!1),this.isMouseEnterTitleOrOverlay$=new t.x,this.childMenuItemClick$=new t.x,this.destroy$=new t.x,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const Ct=this.childMenuItemClick$.pipe((0,u.z)(()=>this.mode$),(0,z.h)(St=>"inline"!==St||this.isMenuInsideDropDown),(0,M.h)(!1)),Nt=(0,l.T)(this.isMouseEnterTitleOrOverlay$,Ct);(0,h.a)([this.isChildSubMenuOpen$,Nt]).pipe((0,E.U)(([St,qe])=>St||qe),(0,p.e)(150),(0,v.x)(),(0,_.R)(this.destroy$)).pipe((0,v.x)()).subscribe(St=>{this.setOpenStateWithoutDebounce(St),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(St):this.nzMenuService.isChildSubMenuOpen$.next(St)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.LFG(Vt,12),n.LFG($e),n.LFG(Pe))};static#t=this.\u0275prov=n.Yz7({token:Vt,factory:Vt.\u0275fac})}return Vt})(),mt=(()=>{class Vt{clickMenuItem(ft){this.nzDisabled?(ft.preventDefault(),ft.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(ft){this.nzSelected=ft,this.selected$.next(ft)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const ft=this.hasActiveLinks();this.nzSelected!==ft&&(this.nzSelected=ft,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const ft=this.isLinkActive(this.router);return this.routerLink&&ft(this.routerLink)||this.listOfRouterLink.some(ft)}isLinkActive(ft){return gt=>ft.isActive(gt.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}constructor(ft,gt,Ie,Ct,Nt,kt,St){this.nzMenuService=ft,this.cdr=gt,this.nzSubmenuService=Ie,this.isMenuInsideDropDown=Ct,this.directionality=Nt,this.routerLink=kt,this.router=St,this.destroy$=new t.x,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new t.x,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,St&&this.router.events.pipe((0,_.R)(this.destroy$),(0,z.h)(qe=>qe instanceof C.m2)).subscribe(()=>{this.updateRouterActive()})}ngOnInit(){(0,h.a)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,_.R)(this.destroy$)).subscribe(([ft,gt])=>{this.inlinePaddingLeft="inline"===ft?this.level*gt:null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe((0,_.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(ft){ft.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36($e),n.Y36(n.sBO),n.Y36(ot,8),n.Y36(Pe),n.Y36(T.Is,8),n.Y36(C.rH,8),n.Y36(C.F0,8))};static#t=this.\u0275dir=n.lG2({type:Vt,selectors:[["","nz-menu-item",""]],contentQueries:function(gt,Ie,Ct){if(1>&&n.Suo(Ct,C.rH,5),2>){let Nt;n.iGM(Nt=n.CRH())&&(Ie.listOfRouterLink=Nt)}},hostVars:20,hostBindings:function(gt,Ie){1>&&n.NdJ("click",function(Nt){return Ie.clickMenuItem(Nt)}),2>&&(n.Udp("padding-left","rtl"===Ie.dir?null:Ie.nzPaddingLeft||Ie.inlinePaddingLeft,"px")("padding-right","rtl"===Ie.dir?Ie.nzPaddingLeft||Ie.inlinePaddingLeft:null,"px"),n.ekj("ant-dropdown-menu-item",Ie.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",Ie.isMenuInsideDropDown&&Ie.nzSelected)("ant-dropdown-menu-item-danger",Ie.isMenuInsideDropDown&&Ie.nzDanger)("ant-dropdown-menu-item-disabled",Ie.isMenuInsideDropDown&&Ie.nzDisabled)("ant-menu-item",!Ie.isMenuInsideDropDown)("ant-menu-item-selected",!Ie.isMenuInsideDropDown&&Ie.nzSelected)("ant-menu-item-danger",!Ie.isMenuInsideDropDown&&Ie.nzDanger)("ant-menu-item-disabled",!Ie.isMenuInsideDropDown&&Ie.nzDisabled))},inputs:{nzPaddingLeft:"nzPaddingLeft",nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter"},exportAs:["nzMenuItem"],features:[n.TTD]})}return(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzDisabled",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzSelected",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzDanger",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzMatchRouterExact",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzMatchRouter",void 0),Vt})(),we=(()=>{class Vt{constructor(ft,gt){this.cdr=ft,this.directionality=gt,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new n.vpe,this.subMenuMouseState=new n.vpe,this.dir="ltr",this.destroy$=new t.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(ft){this.nzDisabled||this.subMenuMouseState.next(ft)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(n.sBO),n.Y36(T.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(gt,Ie){1>&&n.NdJ("click",function(){return Ie.clickTitle()})("mouseenter",function(){return Ie.setMouseState(!0)})("mouseleave",function(){return Ie.setMouseState(!1)}),2>&&(n.Udp("padding-left","rtl"===Ie.dir?null:Ie.paddingLeft,"px")("padding-right","rtl"===Ie.dir?Ie.paddingLeft:null,"px"),n.ekj("ant-dropdown-menu-submenu-title",Ie.isMenuInsideDropDown)("ant-menu-submenu-title",!Ie.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:W,ngContentSelectors:ee,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(gt,Ie){if(1>&&(n.F$t(),n.YNc(0,j,1,1,"span",0),n.YNc(1,ze,3,1,"ng-container",1),n.Hsn(2),n.YNc(3,V,3,2,"span",2),n.YNc(4,K,1,0,"ng-template",null,3,n.W1O)),2>){const Ct=n.MAs(5);n.Q6J("ngIf",Ie.nzIcon),n.xp6(1),n.Q6J("nzStringTemplateOutlet",Ie.nzTitle),n.xp6(2),n.Q6J("ngIf",Ie.isMenuInsideDropDown)("ngIfElse",Ct)}},dependencies:[S.O5,S.RF,S.n9,S.ED,A.Ls,k.f],encapsulation:2,changeDetection:0})}return Vt})(),de=(()=>{class Vt{constructor(ft,gt,Ie){this.elementRef=ft,this.renderer=gt,this.directionality=Ie,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new t.x}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft})}ngOnChanges(ft){const{mode:gt,nzOpen:Ie,menuClass:Ct}=ft;(gt||Ie)&&this.calcMotionState(),Ct&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(Nt=>!!Nt).forEach(Nt=>{this.renderer.removeClass(this.elementRef.nativeElement,Nt)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(Nt=>!!Nt).forEach(Nt=>{this.renderer.addClass(this.elementRef.nativeElement,Nt)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(T.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(gt,Ie){2>&&(n.d8E("@collapseMotion",Ie.expandState),n.ekj("ant-menu-rtl","rtl"===Ie.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[n.TTD],attrs:te,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(gt,Ie){1>&&n.YNc(0,pe,0,0,"ng-template",0),2>&&n.Q6J("ngTemplateOutlet",Ie.templateOutlet)},dependencies:[S.tP],encapsulation:2,data:{animation:[R.J_]},changeDetection:0})}return Vt})(),U=(()=>{class Vt{constructor(ft){this.directionality=ft,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new n.vpe,this.expandState="collapsed",this.dir="ltr",this.destroy$=new t.x}setMouseState(ft){this.nzDisabled||this.subMenuMouseState.next(ft)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft})}ngOnChanges(ft){const{mode:gt,nzOpen:Ie}=ft;(gt||Ie)&&this.calcMotionState()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(T.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(gt,Ie){1>&&n.NdJ("mouseenter",function(){return Ie.setMouseState(!0)})("mouseleave",function(){return Ie.setMouseState(!1)}),2>&&(n.d8E("@slideMotion",Ie.expandState)("@zoomBigMotion",Ie.expandState),n.ekj("ant-menu-light","light"===Ie.theme)("ant-menu-dark","dark"===Ie.theme)("ant-menu-submenu-placement-bottom","horizontal"===Ie.mode)("ant-menu-submenu-placement-right","vertical"===Ie.mode&&"right"===Ie.position)("ant-menu-submenu-placement-left","vertical"===Ie.mode&&"left"===Ie.position)("ant-menu-submenu-rtl","rtl"===Ie.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[n.TTD],attrs:re,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(gt,Ie){1>&&(n.TgZ(0,"div",0),n.YNc(1,De,0,0,"ng-template",1),n.qZA()),2>&&(n.ekj("ant-dropdown-menu",Ie.isMenuInsideDropDown)("ant-menu",!Ie.isMenuInsideDropDown)("ant-dropdown-menu-vertical",Ie.isMenuInsideDropDown)("ant-menu-vertical",!Ie.isMenuInsideDropDown)("ant-dropdown-menu-sub",Ie.isMenuInsideDropDown)("ant-menu-sub",!Ie.isMenuInsideDropDown)("ant-menu-rtl","rtl"===Ie.dir),n.Q6J("ngClass",Ie.menuClass),n.xp6(1),n.Q6J("ngTemplateOutlet",Ie.templateOutlet))},dependencies:[S.mk,S.tP],encapsulation:2,data:{animation:[R.$C,R.mF]},changeDetection:0})}return Vt})();const B=[D.yW.rightTop,D.yW.right,D.yW.rightBottom,D.yW.leftTop,D.yW.left,D.yW.leftBottom],Me=[D.yW.bottomLeft,D.yW.bottomRight,D.yW.topRight,D.yW.topLeft];let Ae=(()=>{class Vt{setOpenStateWithoutDebounce(ft){this.nzSubmenuService.setOpenStateWithoutDebounce(ft)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(ft){this.isActive=ft,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(ft)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(ft){const gt=(0,D.d_)(ft);"rightTop"===gt||"rightBottom"===gt||"right"===gt?this.position="right":("leftTop"===gt||"leftBottom"===gt||"left"===gt)&&(this.position="left")}constructor(ft,gt,Ie,Ct,Nt,kt,St){this.nzMenuService=ft,this.cdr=gt,this.nzSubmenuService=Ie,this.platform=Ct,this.isMenuInsideDropDown=Nt,this.directionality=kt,this.noAnimation=St,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzPlacement="bottomLeft",this.nzOpenChange=new n.vpe,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new t.x,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=B,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}ngOnInit(){this.nzMenuService.theme$.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.theme=ft,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.mode=ft,"horizontal"===ft?this.overlayPositions=[D.yW[this.nzPlacement],...Me]:"vertical"===ft&&(this.overlayPositions=B),this.cdr.markForCheck()}),(0,h.a)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,_.R)(this.destroy$)).subscribe(([ft,gt])=>{this.inlinePaddingLeft="inline"===ft?this.level*gt:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.isActive=ft,ft!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=ft,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const ft=this.listOfNzMenuItemDirective,gt=ft.changes,Ie=(0,l.T)(gt,...ft.map(Ct=>Ct.selected$));gt.pipe((0,d.O)(ft),(0,m.w)(()=>Ie),(0,d.O)(!0),(0,E.U)(()=>ft.some(Ct=>Ct.nzSelected)),(0,_.R)(this.destroy$)).subscribe(Ct=>{this.isSelected=Ct,this.cdr.markForCheck()})}ngOnChanges(ft){const{nzOpen:gt}=ft;gt&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36($e),n.Y36(n.sBO),n.Y36(ot),n.Y36(y.t4),n.Y36(Pe),n.Y36(T.Is,8),n.Y36(P.P,9))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-submenu",""]],contentQueries:function(gt,Ie,Ct){if(1>&&(n.Suo(Ct,Vt,5),n.Suo(Ct,mt,5)),2>){let Nt;n.iGM(Nt=n.CRH())&&(Ie.listOfNzSubMenuComponent=Nt),n.iGM(Nt=n.CRH())&&(Ie.listOfNzMenuItemDirective=Nt)}},viewQuery:function(gt,Ie){if(1>&&n.Gf(b.xu,7,n.SBq),2>){let Ct;n.iGM(Ct=n.CRH())&&(Ie.cdkOverlayOrigin=Ct.first)}},hostVars:34,hostBindings:function(gt,Ie){2>&&n.ekj("ant-dropdown-menu-submenu",Ie.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",Ie.isMenuInsideDropDown&&Ie.nzDisabled)("ant-dropdown-menu-submenu-open",Ie.isMenuInsideDropDown&&Ie.nzOpen)("ant-dropdown-menu-submenu-selected",Ie.isMenuInsideDropDown&&Ie.isSelected)("ant-dropdown-menu-submenu-vertical",Ie.isMenuInsideDropDown&&"vertical"===Ie.mode)("ant-dropdown-menu-submenu-horizontal",Ie.isMenuInsideDropDown&&"horizontal"===Ie.mode)("ant-dropdown-menu-submenu-inline",Ie.isMenuInsideDropDown&&"inline"===Ie.mode)("ant-dropdown-menu-submenu-active",Ie.isMenuInsideDropDown&&Ie.isActive)("ant-menu-submenu",!Ie.isMenuInsideDropDown)("ant-menu-submenu-disabled",!Ie.isMenuInsideDropDown&&Ie.nzDisabled)("ant-menu-submenu-open",!Ie.isMenuInsideDropDown&&Ie.nzOpen)("ant-menu-submenu-selected",!Ie.isMenuInsideDropDown&&Ie.isSelected)("ant-menu-submenu-vertical",!Ie.isMenuInsideDropDown&&"vertical"===Ie.mode)("ant-menu-submenu-horizontal",!Ie.isMenuInsideDropDown&&"horizontal"===Ie.mode)("ant-menu-submenu-inline",!Ie.isMenuInsideDropDown&&"inline"===Ie.mode)("ant-menu-submenu-active",!Ie.isMenuInsideDropDown&&Ie.isActive)("ant-menu-submenu-rtl","rtl"===Ie.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled",nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[n._Bn([ot]),n.TTD],attrs:ae,ngContentSelectors:ke,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(gt,Ie){if(1>&&(n.F$t(Ne),n.TgZ(0,"div",0,1),n.NdJ("subMenuMouseState",function(Nt){return Ie.setMouseEnterState(Nt)})("toggleSubMenu",function(){return Ie.toggleSubMenu()}),n.YNc(2,ce,1,0,"ng-content",2),n.qZA(),n.YNc(3,X,1,6,"div",3),n.YNc(4,le,1,5,"ng-template",null,4,n.W1O),n.YNc(6,Se,1,0,"ng-template",null,5,n.W1O)),2>){const Ct=n.MAs(5);n.Q6J("nzIcon",Ie.nzIcon)("nzTitle",Ie.nzTitle)("mode",Ie.mode)("nzDisabled",Ie.nzDisabled)("isMenuInsideDropDown",Ie.isMenuInsideDropDown)("paddingLeft",Ie.nzPaddingLeft||Ie.inlinePaddingLeft),n.xp6(2),n.Q6J("ngIf",!Ie.nzTitle),n.xp6(1),n.Q6J("ngIf","inline"===Ie.mode)("ngIfElse",Ct)}},dependencies:[S.O5,b.pI,b.xu,P.P,we,de,U],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzOpen",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzDisabled",void 0),Vt})();function Le(Vt,cn){return Vt||cn}function ht(Vt){return Vt||!1}let Ot=(()=>{class Vt{setInlineCollapsed(ft){this.nzInlineCollapsed=ft,this.inlineCollapsed$.next(ft)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(ft=>ft.nzOpen),this.listOfNzSubMenuComponent.forEach(ft=>ft.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(ft=>ft.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}constructor(ft,gt,Ie,Ct){this.nzMenuService=ft,this.isMenuInsideDropDown=gt,this.cdr=Ie,this.directionality=Ct,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new n.vpe,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new i.X(this.nzInlineCollapsed),this.mode$=new i.X(this.nzMode),this.destroy$=new t.x,this.listOfOpenedNzSubMenuComponent=[]}ngOnInit(){(0,h.a)([this.inlineCollapsed$,this.mode$]).pipe((0,_.R)(this.destroy$)).subscribe(([ft,gt])=>{this.actualMode=ft?"vertical":gt,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.nzClick.emit(ft),this.nzSelectable&&!ft.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(gt=>gt.setSelectedState(gt===ft))}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe((0,_.R)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(ft){const{nzInlineCollapsed:gt,nzInlineIndent:Ie,nzTheme:Ct,nzMode:Nt}=ft;gt&&this.inlineCollapsed$.next(this.nzInlineCollapsed),Ie&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),Ct&&this.nzMenuService.setTheme(this.nzTheme),Nt&&(this.mode$.next(this.nzMode),!ft.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(kt=>kt.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36($e),n.Y36(Pe),n.Y36(n.sBO),n.Y36(T.Is,8))};static#t=this.\u0275dir=n.lG2({type:Vt,selectors:[["","nz-menu",""]],contentQueries:function(gt,Ie,Ct){if(1>&&(n.Suo(Ct,mt,5),n.Suo(Ct,Ae,5)),2>){let Nt;n.iGM(Nt=n.CRH())&&(Ie.listOfNzMenuItemDirective=Nt),n.iGM(Nt=n.CRH())&&(Ie.listOfNzSubMenuComponent=Nt)}},hostVars:34,hostBindings:function(gt,Ie){2>&&n.ekj("ant-dropdown-menu",Ie.isMenuInsideDropDown)("ant-dropdown-menu-root",Ie.isMenuInsideDropDown)("ant-dropdown-menu-light",Ie.isMenuInsideDropDown&&"light"===Ie.nzTheme)("ant-dropdown-menu-dark",Ie.isMenuInsideDropDown&&"dark"===Ie.nzTheme)("ant-dropdown-menu-vertical",Ie.isMenuInsideDropDown&&"vertical"===Ie.actualMode)("ant-dropdown-menu-horizontal",Ie.isMenuInsideDropDown&&"horizontal"===Ie.actualMode)("ant-dropdown-menu-inline",Ie.isMenuInsideDropDown&&"inline"===Ie.actualMode)("ant-dropdown-menu-inline-collapsed",Ie.isMenuInsideDropDown&&Ie.nzInlineCollapsed)("ant-menu",!Ie.isMenuInsideDropDown)("ant-menu-root",!Ie.isMenuInsideDropDown)("ant-menu-light",!Ie.isMenuInsideDropDown&&"light"===Ie.nzTheme)("ant-menu-dark",!Ie.isMenuInsideDropDown&&"dark"===Ie.nzTheme)("ant-menu-vertical",!Ie.isMenuInsideDropDown&&"vertical"===Ie.actualMode)("ant-menu-horizontal",!Ie.isMenuInsideDropDown&&"horizontal"===Ie.actualMode)("ant-menu-inline",!Ie.isMenuInsideDropDown&&"inline"===Ie.actualMode)("ant-menu-inline-collapsed",!Ie.isMenuInsideDropDown&&Ie.nzInlineCollapsed)("ant-menu-rtl","rtl"===Ie.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[n._Bn([{provide:xt,useClass:$e},{provide:$e,useFactory:Le,deps:[[new n.tp0,new n.FiY,$e],xt]},{provide:Pe,useFactory:ht,deps:[[new n.tp0,new n.FiY,Pe]]}]),n.TTD]})}return(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzInlineCollapsed",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzSelectable",void 0),Vt})();function Lt(Vt){return Vt||!1}let Wt=(()=>{class Vt{constructor(ft,gt,Ie){this.elementRef=ft,this.renderer=gt,this.isMenuInsideDropDown=Ie,this.renderer.addClass(ft.nativeElement,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group":"ant-menu-item-group")}ngAfterViewInit(){const ft=this.titleElement.nativeElement.nextElementSibling;ft&&this.renderer.addClass(ft,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list")}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(Pe))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-menu-group",""]],viewQuery:function(gt,Ie){if(1>&&n.Gf(oe,5),2>){let Ct;n.iGM(Ct=n.CRH())&&(Ie.titleElement=Ct.first)}},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[n._Bn([{provide:Pe,useFactory:Lt,deps:[[new n.tp0,new n.FiY,Pe]]}])],attrs:_e,ngContentSelectors:lt,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"],[4,"ngIf"]],template:function(gt,Ie){1>&&(n.F$t(Re),n.TgZ(0,"div",null,0),n.YNc(2,Q,2,1,"ng-container",1),n.YNc(3,He,1,0,"ng-content",2),n.qZA(),n.Hsn(4)),2>&&(n.ekj("ant-menu-item-group-title",!Ie.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",Ie.isMenuInsideDropDown),n.xp6(2),n.Q6J("nzStringTemplateOutlet",Ie.nzTitle),n.xp6(1),n.Q6J("ngIf",!Ie.nzTitle))},dependencies:[S.O5,k.f],encapsulation:2,changeDetection:0})}return Vt})(),qt=(()=>{class Vt{constructor(ft){this.elementRef=ft}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:Vt,selectors:[["","nz-menu-divider",""]],hostAttrs:[1,"ant-dropdown-menu-item-divider"],exportAs:["nzMenuDivider"]})}return Vt})(),en=(()=>{class Vt{static#e=this.\u0275fac=function(gt){return new(gt||Vt)};static#t=this.\u0275mod=n.oAB({type:Vt});static#n=this.\u0275inj=n.cJS({imports:[T.vT,S.ez,y.ud,b.U8,A.PV,P.g,k.T]})}return Vt})()},43460:(tt,I,o)=>{"use strict";o.d(I,{dD:()=>V,gR:()=>G});var e=o(68484),n=o(65879),t=o(78645),i=o(32181),l=o(48180),h=o(59773),E=o(83064),u=o(27754),z=o(96814),M=o(64194),p=o(90551),v=o(8324),_=o(49388),d=o(33651),m=o(99087);function f(K,ee){1&K&&n._UZ(0,"span",10)}function C(K,ee){1&K&&n._UZ(0,"span",11)}function T(K,ee){1&K&&n._UZ(0,"span",12)}function b(K,ee){1&K&&n._UZ(0,"span",13)}function D(K,ee){1&K&&n._UZ(0,"span",14)}function y(K,ee){if(1&K&&(n.ynx(0),n._UZ(1,"span",15),n.BQk()),2&K){const te=n.oxw();n.xp6(1),n.Q6J("innerHTML",te.instance.content,n.oJD)}}function P(K,ee){if(1&K){const te=n.EpF();n.TgZ(0,"nz-message",2),n.NdJ("destroyed",function(re){n.CHM(te);const De=n.oxw();return n.KtG(De.remove(re.id,re.userAction))}),n.qZA()}2&K&&n.Q6J("instance",ee.$implicit)}let S=0;class A{constructor(ee,te,pe){this.nzSingletonService=ee,this.overlay=te,this.injector=pe}remove(ee){this.container&&(ee?this.container.remove(ee):this.container.removeAll())}getInstanceId(){return`${this.componentPrefix}-${S++}`}withContainer(ee){let te=this.nzSingletonService.getSingletonWithKey(this.componentPrefix);if(te)return te;const pe=this.overlay.create({hasBackdrop:!1,scrollStrategy:this.overlay.scrollStrategies.noop(),positionStrategy:this.overlay.position().global()}),re=new e.C5(ee,null,this.injector),De=pe.attach(re);return pe.hostElement.style.zIndex="1010",te||(this.container=te=De.instance,this.nzSingletonService.registerSingletonWithKey(this.componentPrefix,te),this.container.afterAllInstancesRemoved.subscribe(()=>{this.container=void 0,this.nzSingletonService.unregisterSingletonWithKey(this.componentPrefix),pe.dispose()})),te}}let k=(()=>{class K{constructor(te,pe){this.cdr=te,this.nzConfigService=pe,this.instances=[],this._afterAllInstancesRemoved=new t.x,this.afterAllInstancesRemoved=this._afterAllInstancesRemoved.asObservable(),this.destroy$=new t.x,this.updateConfig()}ngOnInit(){this.subscribeConfigChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}create(te){const pe=this.onCreate(te);return this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,pe],this.readyInstances(),pe}remove(te,pe=!1){this.instances.map((re,De)=>({index:De,instance:re})).filter(({instance:re})=>re.messageId===te).forEach(({index:re,instance:De})=>{this.instances.splice(re,1),this.instances=[...this.instances],this.onRemove(De,pe),this.readyInstances()}),this.instances.length||this.onAllInstancesRemoved()}removeAll(){this.instances.forEach(te=>this.onRemove(te,!1)),this.instances=[],this.readyInstances(),this.onAllInstancesRemoved()}onCreate(te){return te.options=this.mergeOptions(te.options),te.onClose=new t.x,te}onRemove(te,pe){te.onClose.next(pe),te.onClose.complete()}onAllInstancesRemoved(){this._afterAllInstancesRemoved.next(),this._afterAllInstancesRemoved.complete()}readyInstances(){this.cdr.detectChanges()}mergeOptions(te){const{nzDuration:pe,nzAnimate:re,nzPauseOnHover:De}=this.config;return{nzDuration:pe,nzAnimate:re,nzPauseOnHover:De,...te}}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.Y36(n.sBO),n.Y36(E.jY))};static#t=this.\u0275dir=n.lG2({type:K})}return K})(),R=(()=>{class K{constructor(te){this.cdr=te,this.destroyed=new n.vpe,this.animationStateChanged=new t.x,this.userAction=!1,this.eraseTimer=null}ngOnInit(){this.options=this.instance.options,this.options.nzAnimate&&(this.instance.state="enter",this.animationStateChanged.pipe((0,i.h)(te=>"done"===te.phaseName&&"leave"===te.toState),(0,l.q)(1)).subscribe(()=>{clearTimeout(this.closeTimer),this.destroyed.next({id:this.instance.messageId,userAction:this.userAction})})),this.autoClose=this.options.nzDuration>0,this.autoClose&&(this.initErase(),this.startEraseTimeout())}ngOnDestroy(){this.autoClose&&this.clearEraseTimeout(),this.animationStateChanged.complete()}onEnter(){this.autoClose&&this.options.nzPauseOnHover&&(this.clearEraseTimeout(),this.updateTTL())}onLeave(){this.autoClose&&this.options.nzPauseOnHover&&this.startEraseTimeout()}destroy(te=!1){this.userAction=te,this.options.nzAnimate?(this.instance.state="leave",this.cdr.detectChanges(),this.closeTimer=setTimeout(()=>{this.closeTimer=void 0,this.destroyed.next({id:this.instance.messageId,userAction:te})},200)):this.destroyed.next({id:this.instance.messageId,userAction:te})}initErase(){this.eraseTTL=this.options.nzDuration,this.eraseTimingStart=Date.now()}updateTTL(){this.autoClose&&(this.eraseTTL-=Date.now()-this.eraseTimingStart)}startEraseTimeout(){this.eraseTTL>0?(this.clearEraseTimeout(),this.eraseTimer=setTimeout(()=>this.destroy(),this.eraseTTL),this.eraseTimingStart=Date.now()):this.destroy()}clearEraseTimeout(){null!==this.eraseTimer&&(clearTimeout(this.eraseTimer),this.eraseTimer=null)}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.Y36(n.sBO))};static#t=this.\u0275dir=n.lG2({type:K})}return K})(),W=(()=>{class K extends R{constructor(te){super(te),this.destroyed=new n.vpe}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:K,selectors:[["nz-message"]],inputs:{instance:"instance"},outputs:{destroyed:"destroyed"},exportAs:["nzMessage"],features:[n.qOj],decls:10,vars:9,consts:[[1,"ant-message-notice",3,"mouseenter","mouseleave"],[1,"ant-message-notice-content"],[1,"ant-message-custom-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle",4,"ngSwitchCase"],["nz-icon","","nzType","loading",4,"ngSwitchCase"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","check-circle"],["nz-icon","","nzType","info-circle"],["nz-icon","","nzType","exclamation-circle"],["nz-icon","","nzType","close-circle"],["nz-icon","","nzType","loading"],[3,"innerHTML"]],template:function(pe,re){1&pe&&(n.TgZ(0,"div",0),n.NdJ("@moveUpMotion.done",function(ae){return re.animationStateChanged.next(ae)})("mouseenter",function(){return re.onEnter()})("mouseleave",function(){return re.onLeave()}),n.TgZ(1,"div",1)(2,"div",2),n.ynx(3,3),n.YNc(4,f,1,0,"span",4),n.YNc(5,C,1,0,"span",5),n.YNc(6,T,1,0,"span",6),n.YNc(7,b,1,0,"span",7),n.YNc(8,D,1,0,"span",8),n.BQk(),n.YNc(9,y,2,1,"ng-container",9),n.qZA()()()),2&pe&&(n.Q6J("@moveUpMotion",re.instance.state),n.xp6(2),n.Q6J("ngClass","ant-message-"+re.instance.type),n.xp6(1),n.Q6J("ngSwitch",re.instance.type),n.xp6(1),n.Q6J("ngSwitchCase","success"),n.xp6(1),n.Q6J("ngSwitchCase","info"),n.xp6(1),n.Q6J("ngSwitchCase","warning"),n.xp6(1),n.Q6J("ngSwitchCase","error"),n.xp6(1),n.Q6J("ngSwitchCase","loading"),n.xp6(1),n.Q6J("nzStringTemplateOutlet",re.instance.content))},dependencies:[z.mk,z.RF,z.n9,p.Ls,v.f],encapsulation:2,data:{animation:[M.YK]},changeDetection:0})}return K})();const j="message",ze={nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24,nzDirection:"ltr"};let Y=(()=>{class K extends k{constructor(te,pe){super(te,pe),this.dir="ltr";const re=this.nzConfigService.getConfigForComponent(j);this.dir=re?.nzDirection||"ltr"}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(j).pipe((0,h.R)(this.destroy$)).subscribe(()=>{this.updateConfig();const te=this.nzConfigService.getConfigForComponent(j);if(te){const{nzDirection:pe}=te;this.dir=pe||this.dir}})}updateConfig(){this.config={...ze,...this.config,...this.nzConfigService.getConfigForComponent(j)},this.top=(0,u.WX)(this.config.nzTop),this.cdr.markForCheck()}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.Y36(n.sBO),n.Y36(E.jY))};static#t=this.\u0275cmp=n.Xpm({type:K,selectors:[["nz-message-container"]],exportAs:["nzMessageContainer"],features:[n.qOj],decls:2,vars:5,consts:[[1,"ant-message"],[3,"instance","destroyed",4,"ngFor","ngForOf"],[3,"instance","destroyed"]],template:function(pe,re){1&pe&&(n.TgZ(0,"div",0),n.YNc(1,P,1,1,"nz-message",1),n.qZA()),2&pe&&(n.Udp("top",re.top),n.ekj("ant-message-rtl","rtl"===re.dir),n.xp6(1),n.Q6J("ngForOf",re.instances))},dependencies:[z.sg,W],encapsulation:2,changeDetection:0})}return K})(),G=(()=>{class K{static#e=this.\u0275fac=function(pe){return new(pe||K)};static#t=this.\u0275mod=n.oAB({type:K});static#n=this.\u0275inj=n.cJS({imports:[_.vT,z.ez,d.U8,p.PV,v.T]})}return K})(),V=(()=>{class K extends A{constructor(te,pe,re){super(te,pe,re),this.componentPrefix="message-"}success(te,pe){return this.createInstance({type:"success",content:te},pe)}error(te,pe){return this.createInstance({type:"error",content:te},pe)}info(te,pe){return this.createInstance({type:"info",content:te},pe)}warning(te,pe){return this.createInstance({type:"warning",content:te},pe)}loading(te,pe){return this.createInstance({type:"loading",content:te},pe)}create(te,pe,re){return this.createInstance({type:te,content:pe},re)}createInstance(te,pe){return this.container=this.withContainer(Y),this.container.create({...te,createdAt:new Date,messageId:this.getInstanceId(),options:pe})}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.LFG(m.KV),n.LFG(d.aV),n.LFG(n.zs3))};static#t=this.\u0275prov=n.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})()},81221:(tt,I,o)=>{"use strict";o.d(I,{Lf:()=>gt,Qp:()=>qe,Sf:()=>Ie});var e=o(49671),n=o(33651),t=o(68484),i=o(65879),l=o(78645),h=o(92438),E=o(74911),u=o(59773),z=o(32181),M=o(48180),p=o(27921),v=o(1608),_=o(27754),d=o(96814),m=o(86825),f=o(56879),C=o(4300),T=o(83064),b=o(12131),D=o(8324),y=o(42840),P=o(70855),S=o(41958),A=o(90551),k=o(6192),R=o(36028),W=o(49388),j=o(331);const ze=["nz-modal-close",""];function Y(fe,Xe){if(1&fe&&(i.ynx(0),i._UZ(1,"span",2),i.BQk()),2&fe){const ge=Xe.$implicit;i.xp6(1),i.Q6J("nzType",ge)}}const G=["modalElement"];function V(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onCloseClick())}),i.qZA()}}function K(fe,Xe){if(1&fe&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&fe){const ge=i.oxw();i.xp6(1),i.Q6J("innerHTML",ge.config.nzTitle,i.oJD)}}function ee(fe,Xe){}function te(fe,Xe){if(1&fe&&i._UZ(0,"div",17),2&fe){const ge=i.oxw();i.Q6J("innerHTML",ge.config.nzContent,i.oJD)}}function pe(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",18),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onCancel())}),i._uU(1),i.qZA()}if(2&fe){const ge=i.oxw();i.Q6J("nzLoading",!!ge.config.nzCancelLoading)("disabled",ge.config.nzCancelDisabled),i.uIk("cdkFocusInitial","cancel"===ge.config.nzAutofocus||null),i.xp6(1),i.hij(" ",ge.config.nzCancelText||ge.locale.cancelText," ")}}function re(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",19),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onOk())}),i._uU(1),i.qZA()}if(2&fe){const ge=i.oxw();i.Q6J("nzType",ge.config.nzOkType)("nzLoading",!!ge.config.nzOkLoading)("disabled",ge.config.nzOkDisabled)("nzDanger",ge.config.nzOkDanger),i.uIk("cdkFocusInitial","ok"===ge.config.nzAutofocus||null),i.xp6(1),i.hij(" ",ge.config.nzOkText||ge.locale.okText," ")}}const De=["nz-modal-footer",""];function ae(fe,Xe){if(1&fe&&i._UZ(0,"div",5),2&fe){const ge=i.oxw(3);i.Q6J("innerHTML",ge.config.nzFooter,i.oJD)}}function ce(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){const We=i.CHM(ge).$implicit,wt=i.oxw(4);return i.KtG(wt.onButtonClick(We))}),i._uU(1),i.qZA()}if(2&fe){const ge=Xe.$implicit,je=i.oxw(4);i.Q6J("hidden",!je.getButtonCallableProp(ge,"show"))("nzLoading",je.getButtonCallableProp(ge,"loading"))("disabled",je.getButtonCallableProp(ge,"disabled"))("nzType",ge.type)("nzDanger",ge.danger)("nzShape",ge.shape)("nzSize",ge.size)("nzGhost",ge.ghost),i.xp6(1),i.hij(" ",ge.label," ")}}function X(fe,Xe){if(1&fe&&(i.ynx(0),i.YNc(1,ce,2,9,"button",6),i.BQk()),2&fe){const ge=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",ge.buttons)}}function ne(fe,Xe){if(1&fe&&(i.ynx(0),i.YNc(1,ae,1,1,"div",3),i.YNc(2,X,2,1,"ng-container",4),i.BQk()),2&fe){const ge=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!ge.buttonsFooter),i.xp6(1),i.Q6J("ngIf",ge.buttonsFooter)}}const le=function(fe,Xe){return{$implicit:fe,modalRef:Xe}};function Se(fe,Xe){if(1&fe&&(i.ynx(0),i.YNc(1,ne,3,2,"ng-container",2),i.BQk()),2&fe){const ge=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",ge.config.nzFooter)("nzStringTemplateOutletContext",i.WLB(2,le,ge.config.nzData,ge.modalRef))}}function Ne(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",10),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw(2);return i.KtG(Ye.onCancel())}),i._uU(1),i.qZA()}if(2&fe){const ge=i.oxw(2);i.Q6J("nzLoading",!!ge.config.nzCancelLoading)("disabled",ge.config.nzCancelDisabled),i.uIk("cdkFocusInitial","cancel"===ge.config.nzAutofocus||null),i.xp6(1),i.hij(" ",ge.config.nzCancelText||ge.locale.cancelText," ")}}function ke(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",11),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw(2);return i.KtG(Ye.onOk())}),i._uU(1),i.qZA()}if(2&fe){const ge=i.oxw(2);i.Q6J("nzType",ge.config.nzOkType)("nzDanger",ge.config.nzOkDanger)("nzLoading",!!ge.config.nzOkLoading)("disabled",ge.config.nzOkDisabled),i.uIk("cdkFocusInitial","ok"===ge.config.nzAutofocus||null),i.xp6(1),i.hij(" ",ge.config.nzOkText||ge.locale.okText," ")}}function oe(fe,Xe){if(1&fe&&(i.YNc(0,Ne,2,4,"button",8),i.YNc(1,ke,2,6,"button",9)),2&fe){const ge=i.oxw();i.Q6J("ngIf",null!==ge.config.nzCancelText),i.xp6(1),i.Q6J("ngIf",null!==ge.config.nzOkText)}}const _e=["nz-modal-title",""];function Q(fe,Xe){if(1&fe&&(i.ynx(0),i._UZ(1,"div",2),i.BQk()),2&fe){const ge=i.oxw();i.xp6(1),i.Q6J("innerHTML",ge.config.nzTitle,i.oJD)}}function He(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",9),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onCloseClick())}),i.qZA()}}function Re(fe,Xe){1&fe&&i._UZ(0,"div",10)}function lt(fe,Xe){}function Pe(fe,Xe){if(1&fe&&i._UZ(0,"div",11),2&fe){const ge=i.oxw();i.Q6J("innerHTML",ge.config.nzContent,i.oJD)}}function xt(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"div",12),i.NdJ("cancelTriggered",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onCloseClick())})("okTriggered",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onOkClick())}),i.qZA()}if(2&fe){const ge=i.oxw();i.Q6J("modalRef",ge.modalRef)}}const $e=()=>{};class ot{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=$e,this.nzOnOk=$e,this.nzIconType="question-circle"}}const de="ant-modal-mask",U="modal",B=new i.OlP("NZ_MODAL_DATA"),Me={modalContainer:(0,m.X$)("modalContainer",[(0,m.SB)("void, exit",(0,m.oB)({})),(0,m.SB)("enter",(0,m.oB)({})),(0,m.eR)("* => enter",(0,m.jt)(".24s",(0,m.oB)({}))),(0,m.eR)("* => void, * => exit",(0,m.jt)(".2s",(0,m.oB)({})))])};function Le(fe,Xe,ge){return typeof fe>"u"?typeof Xe>"u"?ge:Xe:fe}function Ot(){throw Error("Attempting to attach modal content after content is already attached")}let Lt=(()=>{class fe extends t.en{get showMask(){const ge=this.nzConfigService.getConfigForComponent(U)||{};return!!Le(this.config.nzMask,ge.nzMask,!0)}get maskClosable(){const ge=this.nzConfigService.getConfigForComponent(U)||{};return!!Le(this.config.nzMaskClosable,ge.nzMaskClosable,!0)}constructor(ge,je,Ye,We,wt,Ee,be,Qe,Ke,Ze){super(),this.ngZone=ge,this.host=je,this.focusTrapFactory=Ye,this.cdr=We,this.render=wt,this.overlayRef=Ee,this.nzConfigService=be,this.config=Qe,this.animationType=Ze,this.animationStateChanged=new i.vpe,this.containerClick=new i.vpe,this.cancelTriggered=new i.vpe,this.okTriggered=new i.vpe,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new l.x,this.document=Ke,this.dir=Ee.getDirection(),this.isStringContent="string"==typeof Qe.nzContent,this.nzConfigService.getConfigChangeEventForComponent(U).pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}onContainerClick(ge){ge.target===ge.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(ge){return this.portalOutlet.hasAttached()&&Ot(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(ge)}attachTemplatePortal(ge){return this.portalOutlet.hasAttached()&&Ot(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(ge)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const ge=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const je=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),Ye=(0,_.pW)(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(ge,"transform-origin",`${Ye.left+je.width/2-ge.offsetLeft}px ${Ye.top+je.height/2-ge.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>(0,f.e)(()=>this.host.nativeElement.focus())))}trapFocus(){const ge=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const je=this.document.activeElement;je!==ge&&!ge.contains(je)&&ge.focus()}}restoreFocus(){const ge=this.elementFocusedBeforeModalWasOpened;if(ge&&"function"==typeof ge.focus){const je=this.document.activeElement,Ye=this.host.nativeElement;(!je||je===this.document.body||je===Ye||Ye.contains(je))&&ge.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const ge=this.modalElementRef.nativeElement,je=this.overlayRef.backdropElement;ge.classList.add("ant-zoom-enter"),ge.classList.add("ant-zoom-enter-active"),je&&(je.classList.add("ant-fade-enter"),je.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const ge=this.modalElementRef.nativeElement;ge.classList.add("ant-zoom-leave"),ge.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(ge=!1){const je=this.overlayRef.backdropElement;if(je){if(this.animationDisabled()||ge)return void je.classList.remove(de);je.classList.add("ant-fade-leave"),je.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const ge=this.overlayRef.backdropElement,je=this.modalElementRef.nativeElement;ge&&(ge.classList.remove("ant-fade-enter"),ge.classList.remove("ant-fade-enter-active")),je.classList.remove("ant-zoom-enter"),je.classList.remove("ant-zoom-enter-active"),je.classList.remove("ant-zoom-leave"),je.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const ge=this.overlayRef.backdropElement;ge&&(0,_.DX)(this.config.nzZIndex)&&this.render.setStyle(ge,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const ge=this.overlayRef.backdropElement;if(ge&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(Ye=>{this.render.removeStyle(ge,Ye)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const je={...this.config.nzMaskStyle};Object.keys(je).forEach(Ye=>{this.render.setStyle(ge,Ye,je[Ye])}),this.oldMaskStyle=je}}updateMaskClassname(){const ge=this.overlayRef.backdropElement;ge&&(this.showMask?ge.classList.add(de):ge.classList.remove(de))}onAnimationDone(ge){"enter"===ge.toState?this.trapFocus():"exit"===ge.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(ge)}onAnimationStart(ge){"enter"===ge.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===ge.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(ge)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(!0),this.destroy$.complete()}setupMouseListeners(ge){this.ngZone.runOutsideAngular(()=>{(0,h.R)(this.host.nativeElement,"mouseup").pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),(0,h.R)(ge.nativeElement,"mousedown").pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}static#e=this.\u0275fac=function(je){i.$Z()};static#t=this.\u0275dir=i.lG2({type:fe,features:[i.qOj]})}return fe})(),Wt=(()=>{class fe{constructor(ge){this.config=ge}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(ot))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:ze,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(je,Ye){1&je&&(i.TgZ(0,"span",0),i.YNc(1,Y,2,1,"ng-container",1),i.qZA()),2&je&&(i.xp6(1),i.Q6J("nzStringTemplateOutlet",Ye.config.nzCloseIcon))},dependencies:[D.f,P.w,A.Ls],encapsulation:2,changeDetection:0})}return fe})(),qt=(()=>{class fe extends Lt{constructor(ge,je,Ye,We,wt,Ee,be,Qe,Ke,Ze,ve){super(ge,Ye,We,wt,Ee,be,Qe,Ke,Ze,ve),this.i18n=je,this.config=Ke,this.cancelTriggered=new i.vpe,this.okTriggered=new i.vpe,this.i18n.localeChange.pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(i.R0b),i.Y36(b.wi),i.Y36(i.SBq),i.Y36(C.qV),i.Y36(i.sBO),i.Y36(i.Qsj),i.Y36(n.Iu),i.Y36(T.jY),i.Y36(ot),i.Y36(d.K0,8),i.Y36(i.QbO,8))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["nz-modal-confirm-container"]],viewQuery:function(je,Ye){if(1&je&&(i.Gf(t.Pl,7),i.Gf(G,7)),2&je){let We;i.iGM(We=i.CRH())&&(Ye.portalOutlet=We.first),i.iGM(We=i.CRH())&&(Ye.modalElementRef=We.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(je,Ye){1&je&&(i.WFA("@modalContainer.start",function(wt){return Ye.onAnimationStart(wt)})("@modalContainer.done",function(wt){return Ye.onAnimationDone(wt)}),i.NdJ("click",function(wt){return Ye.onContainerClick(wt)})),2&je&&(i.d8E("@.disabled",Ye.config.nzNoAnimation)("@modalContainer",Ye.state),i.Tol(Ye.config.nzWrapClassName?"ant-modal-wrap "+Ye.config.nzWrapClassName:"ant-modal-wrap"),i.Udp("z-index",Ye.config.nzZIndex),i.ekj("ant-modal-wrap-rtl","rtl"===Ye.dir)("ant-modal-centered",Ye.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[i.qOj],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(je,Ye){1&je&&(i.TgZ(0,"div",0,1),i.ALo(2,"nzToCssUnit"),i.TgZ(3,"div",2),i.YNc(4,V,1,0,"button",3),i.TgZ(5,"div",4)(6,"div",5)(7,"div",6),i._UZ(8,"span",7),i.TgZ(9,"span",8),i.YNc(10,K,2,1,"ng-container",9),i.qZA(),i.TgZ(11,"div",10),i.YNc(12,ee,0,0,"ng-template",11),i.YNc(13,te,1,1,"div",12),i.qZA()(),i.TgZ(14,"div",13),i.YNc(15,pe,2,4,"button",14),i.YNc(16,re,2,6,"button",15),i.qZA()()()()()),2&je&&(i.Udp("width",i.lcZ(2,11,null==Ye.config?null:Ye.config.nzWidth)),i.Q6J("ngClass",Ye.config.nzClassName)("ngStyle",Ye.config.nzStyle),i.xp6(4),i.Q6J("ngIf",Ye.config.nzClosable),i.xp6(1),i.Q6J("ngStyle",Ye.config.nzBodyStyle),i.xp6(3),i.Q6J("nzType",Ye.config.nzIconType),i.xp6(2),i.Q6J("nzStringTemplateOutlet",Ye.config.nzTitle),i.xp6(3),i.Q6J("ngIf",Ye.isStringContent),i.xp6(2),i.Q6J("ngIf",null!==Ye.config.nzCancelText),i.xp6(1),i.Q6J("ngIf",null!==Ye.config.nzOkText))},dependencies:[d.mk,d.O5,d.PC,D.f,t.Pl,y.ix,P.w,S.dQ,A.Ls,Wt,k.ku],encapsulation:2,data:{animation:[Me.modalContainer]}})}return fe})(),en=(()=>{class fe{constructor(ge,je){this.i18n=ge,this.config=je,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new i.vpe,this.okTriggered=new i.vpe,this.destroy$=new l.x,Array.isArray(je.nzFooter)&&(this.buttonsFooter=!0,this.buttons=je.nzFooter.map(Vt)),this.i18n.localeChange.pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(ge,je){const Ye=ge[je],We=this.modalRef.getContentComponent();return"function"==typeof Ye?Ye.apply(ge,We&&[We]):Ye}onButtonClick(ge){if(!this.getButtonCallableProp(ge,"loading")){const Ye=this.getButtonCallableProp(ge,"onClick");ge.autoLoading&&(0,_.tI)(Ye)&&(ge.loading=!0,Ye.then(()=>ge.loading=!1).catch(We=>{throw ge.loading=!1,We}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(b.wi),i.Y36(ot))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:De,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(je,Ye){if(1&je&&(i.YNc(0,Se,2,5,"ng-container",0),i.YNc(1,oe,2,2,"ng-template",null,1,i.W1O)),2&je){const We=i.MAs(2);i.Q6J("ngIf",Ye.config.nzFooter)("ngIfElse",We)}},dependencies:[d.sg,d.O5,D.f,y.ix,P.w,S.dQ],encapsulation:2})}return fe})();function Vt(fe){return{type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1,...fe}}let cn=(()=>{class fe{constructor(ge){this.config=ge}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(ot))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:_e,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(je,Ye){1&je&&(i.TgZ(0,"div",0),i.YNc(1,Q,2,1,"ng-container",1),i.qZA()),2&je&&(i.xp6(1),i.Q6J("nzStringTemplateOutlet",Ye.config.nzTitle))},dependencies:[D.f],encapsulation:2,changeDetection:0})}return fe})(),ft=(()=>{class fe extends Lt{constructor(ge,je,Ye,We,wt,Ee,be,Qe,Ke,Ze){super(ge,je,Ye,We,wt,Ee,be,Qe,Ke,Ze),this.config=Qe}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(C.qV),i.Y36(i.sBO),i.Y36(i.Qsj),i.Y36(n.Iu),i.Y36(T.jY),i.Y36(ot),i.Y36(d.K0,8),i.Y36(i.QbO,8))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["nz-modal-container"]],viewQuery:function(je,Ye){if(1&je&&(i.Gf(t.Pl,7),i.Gf(G,7)),2&je){let We;i.iGM(We=i.CRH())&&(Ye.portalOutlet=We.first),i.iGM(We=i.CRH())&&(Ye.modalElementRef=We.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(je,Ye){1&je&&(i.WFA("@modalContainer.start",function(wt){return Ye.onAnimationStart(wt)})("@modalContainer.done",function(wt){return Ye.onAnimationDone(wt)}),i.NdJ("click",function(wt){return Ye.onContainerClick(wt)})),2&je&&(i.d8E("@.disabled",Ye.config.nzNoAnimation)("@modalContainer",Ye.state),i.Tol(Ye.config.nzWrapClassName?"ant-modal-wrap "+Ye.config.nzWrapClassName:"ant-modal-wrap"),i.Udp("z-index",Ye.config.nzZIndex),i.ekj("ant-modal-wrap-rtl","rtl"===Ye.dir)("ant-modal-centered",Ye.config.nzCentered))},exportAs:["nzModalContainer"],features:[i.qOj],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(je,Ye){1&je&&(i.TgZ(0,"div",0,1),i.ALo(2,"nzToCssUnit"),i.TgZ(3,"div",2),i.YNc(4,He,1,0,"button",3),i.YNc(5,Re,1,0,"div",4),i.TgZ(6,"div",5),i.YNc(7,lt,0,0,"ng-template",6),i.YNc(8,Pe,1,1,"div",7),i.qZA(),i.YNc(9,xt,1,1,"div",8),i.qZA()()),2&je&&(i.Udp("width",i.lcZ(2,9,null==Ye.config?null:Ye.config.nzWidth)),i.Q6J("ngClass",Ye.config.nzClassName)("ngStyle",Ye.config.nzStyle),i.xp6(4),i.Q6J("ngIf",Ye.config.nzClosable),i.xp6(1),i.Q6J("ngIf",Ye.config.nzTitle),i.xp6(1),i.Q6J("ngStyle",Ye.config.nzBodyStyle),i.xp6(2),i.Q6J("ngIf",Ye.isStringContent),i.xp6(1),i.Q6J("ngIf",null!==Ye.config.nzFooter))},dependencies:[d.mk,d.O5,d.PC,t.Pl,Wt,en,cn,k.ku],encapsulation:2,data:{animation:[Me.modalContainer]}})}return fe})();class gt{constructor(Xe,ge,je){this.overlayRef=Xe,this.config=ge,this.containerInstance=je,this.componentInstance=null,this.state=0,this.afterClose=new l.x,this.afterOpen=new l.x,this.destroy$=new l.x,je.animationStateChanged.pipe((0,z.h)(Ye=>"done"===Ye.phaseName&&"enter"===Ye.toState),(0,M.q)(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),ge.nzAfterOpen instanceof i.vpe&&ge.nzAfterOpen.emit()}),je.animationStateChanged.pipe((0,z.h)(Ye=>"done"===Ye.phaseName&&"exit"===Ye.toState),(0,M.q)(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),je.containerClick.pipe((0,M.q)(1),(0,u.R)(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),Xe.keydownEvents().pipe((0,z.h)(Ye=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&Ye.keyCode===R.hY&&!(0,R.Vb)(Ye))).subscribe(Ye=>{Ye.preventDefault(),this.trigger("cancel")}),je.cancelTriggered.pipe((0,u.R)(this.destroy$)).subscribe(()=>this.trigger("cancel")),je.okTriggered.pipe((0,u.R)(this.destroy$)).subscribe(()=>this.trigger("ok")),Xe.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),ge.nzAfterClose instanceof i.vpe&&ge.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(Xe){this.close(Xe)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(Xe){0===this.state&&(this.result=Xe,this.containerInstance.animationStateChanged.pipe((0,z.h)(ge=>"start"===ge.phaseName),(0,M.q)(1)).subscribe(ge=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},ge.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(Xe){Object.assign(this.config,Xe),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(Xe){var ge=this;return(0,e.Z)(function*(){if(1===ge.state)return;const je={ok:ge.config.nzOnOk,cancel:ge.config.nzOnCancel}[Xe],Ye={ok:"nzOkLoading",cancel:"nzCancelLoading"}[Xe];if(!ge.config[Ye])if(je instanceof i.vpe)je.emit(ge.getContentComponent());else if("function"==typeof je){const wt=je(ge.getContentComponent());if((0,_.tI)(wt)){ge.config[Ye]=!0;let Ee=!1;try{Ee=yield wt}finally{ge.config[Ye]=!1,ge.closeWhitResult(Ee)}}else ge.closeWhitResult(wt)}})()}closeWhitResult(Xe){!1!==Xe&&this.close(Xe)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}}let Ie=(()=>{class fe{get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const ge=this.parentModal;return ge?ge._afterAllClosed:this.afterAllClosedAtThisLevel}constructor(ge,je,Ye,We,wt){this.overlay=ge,this.injector=je,this.nzConfigService=Ye,this.parentModal=We,this.directionality=wt,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new l.x,this.afterAllClose=(0,E.P)(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe((0,p.O)(void 0)))}create(ge){return this.open(ge.nzContent,ge)}closeAll(){this.closeModals(this.openModals)}confirm(ge={},je="confirm"){return"nzFooter"in ge&&(0,v.ZK)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in ge||(ge.nzWidth=416),"nzMaskClosable"in ge||(ge.nzMaskClosable=!1),ge.nzModalType="confirm",ge.nzClassName=`ant-modal-confirm ant-modal-confirm-${je} ${ge.nzClassName||""}`,this.create(ge)}info(ge={}){return this.confirmFactory(ge,"info")}success(ge={}){return this.confirmFactory(ge,"success")}error(ge={}){return this.confirmFactory(ge,"error")}warning(ge={}){return this.confirmFactory(ge,"warning")}open(ge,je){const Ye=function Ae(fe,Xe){return{...Xe,...fe}}(je||{},new ot),We=this.createOverlay(Ye),wt=this.attachModalContainer(We,Ye),Ee=this.attachModalContent(ge,wt,We,Ye);return wt.modalRef=Ee,this.openModals.push(Ee),Ee.afterClose.subscribe(()=>this.removeOpenModal(Ee)),Ee}removeOpenModal(ge){const je=this.openModals.indexOf(ge);je>-1&&(this.openModals.splice(je,1),this.openModals.length||this._afterAllClosed.next())}closeModals(ge){let je=ge.length;for(;je--;)ge[je].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(ge){const je=this.nzConfigService.getConfigForComponent(U)||{},Ye=new n.X_({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:Le(ge.nzCloseOnNavigation,je.nzCloseOnNavigation,!0),direction:Le(ge.nzDirection,je.nzDirection,this.directionality.value)});return Le(ge.nzMask,je.nzMask,!0)&&(Ye.backdropClass=de),this.overlay.create(Ye)}attachModalContainer(ge,je){const We=i.zs3.create({parent:je&&je.nzViewContainerRef&&je.nzViewContainerRef.injector||this.injector,providers:[{provide:n.Iu,useValue:ge},{provide:ot,useValue:je}]}),Ee=new t.C5("confirm"===je.nzModalType?qt:ft,je.nzViewContainerRef,We);return ge.attach(Ee).instance}attachModalContent(ge,je,Ye,We){const wt=new gt(Ye,We,je);if(ge instanceof i.Rgc)je.attachTemplatePortal(new t.UE(ge,null,{$implicit:We.nzData,modalRef:wt}));else if((0,_.DX)(ge)&&"string"!=typeof ge){const Ee=this.createInjector(wt,We),be=je.attachComponentPortal(new t.C5(ge,We.nzViewContainerRef,Ee));wt.componentInstance=be.instance}else je.attachStringContent();return wt}createInjector(ge,je){return i.zs3.create({parent:je&&je.nzViewContainerRef&&je.nzViewContainerRef.injector||this.injector,providers:[{provide:gt,useValue:ge},{provide:B,useValue:je.nzData}]})}confirmFactory(ge={},je){return"nzIconType"in ge||(ge.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[je]),"nzCancelText"in ge||(ge.nzCancelText=null),this.confirm(ge,je)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}static#e=this.\u0275fac=function(je){return new(je||fe)(i.LFG(n.aV),i.LFG(i.zs3),i.LFG(T.jY),i.LFG(fe,12),i.LFG(W.Is,8))};static#t=this.\u0275prov=i.Yz7({token:fe,factory:fe.\u0275fac})}return fe})(),qe=(()=>{class fe{static#e=this.\u0275fac=function(je){return new(je||fe)};static#t=this.\u0275mod=i.oAB({type:fe});static#n=this.\u0275inj=i.cJS({providers:[Ie],imports:[d.ez,W.vT,n.U8,D.T,t.eL,b.YI,y.sL,A.PV,k.YS,j.g,k.YS]})}return fe})()},2274:(tt,I,o)=>{"use strict";o.d(I,{dE:()=>xt,uK:()=>$e});var e=o(97582),n=o(65879),t=o(78645),i=o(97328),l=o(59773),h=o(83064),E=o(99087),u=o(27754),z=o(12131),M=o(49388),p=o(96814),v=o(90551),_=o(60095),d=o(9691);const m=["nz-pagination-item",""];function f(ot,mt){if(1&ot&&(n.TgZ(0,"a"),n._uU(1),n.qZA()),2&ot){const we=n.oxw().page;n.xp6(1),n.Oqu(we)}}function C(ot,mt){1&ot&&n._UZ(0,"span",9)}function T(ot,mt){1&ot&&n._UZ(0,"span",10)}function b(ot,mt){if(1&ot&&(n.TgZ(0,"button",6),n.ynx(1,2),n.YNc(2,C,1,0,"span",7),n.YNc(3,T,1,0,"span",8),n.BQk(),n.qZA()),2&ot){const we=n.oxw(2);n.Q6J("disabled",we.disabled),n.xp6(1),n.Q6J("ngSwitch",we.direction),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function D(ot,mt){1&ot&&n._UZ(0,"span",10)}function y(ot,mt){1&ot&&n._UZ(0,"span",9)}function P(ot,mt){if(1&ot&&(n.TgZ(0,"button",6),n.ynx(1,2),n.YNc(2,D,1,0,"span",11),n.YNc(3,y,1,0,"span",12),n.BQk(),n.qZA()),2&ot){const we=n.oxw(2);n.Q6J("disabled",we.disabled),n.xp6(1),n.Q6J("ngSwitch",we.direction),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function S(ot,mt){1&ot&&n._UZ(0,"span",20)}function A(ot,mt){1&ot&&n._UZ(0,"span",21)}function k(ot,mt){if(1&ot&&(n.ynx(0,2),n.YNc(1,S,1,0,"span",18),n.YNc(2,A,1,0,"span",19),n.BQk()),2&ot){const we=n.oxw(4);n.Q6J("ngSwitch",we.direction),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function R(ot,mt){1&ot&&n._UZ(0,"span",21)}function W(ot,mt){1&ot&&n._UZ(0,"span",20)}function j(ot,mt){if(1&ot&&(n.ynx(0,2),n.YNc(1,R,1,0,"span",22),n.YNc(2,W,1,0,"span",23),n.BQk()),2&ot){const we=n.oxw(4);n.Q6J("ngSwitch",we.direction),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function ze(ot,mt){if(1&ot&&(n.TgZ(0,"div",15),n.ynx(1,2),n.YNc(2,k,3,2,"ng-container",16),n.YNc(3,j,3,2,"ng-container",16),n.BQk(),n.TgZ(4,"span",17),n._uU(5,"\u2022\u2022\u2022"),n.qZA()()),2&ot){const we=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngSwitch",we),n.xp6(1),n.Q6J("ngSwitchCase","prev_5"),n.xp6(1),n.Q6J("ngSwitchCase","next_5")}}function Y(ot,mt){if(1&ot&&(n.ynx(0),n.TgZ(1,"a",13),n.YNc(2,ze,6,3,"div",14),n.qZA(),n.BQk()),2&ot){const we=n.oxw().$implicit;n.xp6(1),n.Q6J("ngSwitch",we)}}function G(ot,mt){1&ot&&(n.ynx(0,2),n.YNc(1,f,2,1,"a",3),n.YNc(2,b,4,3,"button",4),n.YNc(3,P,4,3,"button",4),n.YNc(4,Y,3,1,"ng-container",5),n.BQk()),2&ot&&(n.Q6J("ngSwitch",mt.$implicit),n.xp6(1),n.Q6J("ngSwitchCase","page"),n.xp6(1),n.Q6J("ngSwitchCase","prev"),n.xp6(1),n.Q6J("ngSwitchCase","next"))}function V(ot,mt){}const K=function(ot,mt){return{$implicit:ot,page:mt}},ee=["containerTemplate"];function te(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"ul")(1,"li",1),n.NdJ("click",function(){n.CHM(we);const U=n.oxw();return n.KtG(U.prePage())}),n.qZA(),n.TgZ(2,"li",2)(3,"input",3),n.NdJ("keydown.enter",function(U){n.CHM(we);const B=n.oxw();return n.KtG(B.jumpToPageViaInput(U))}),n.qZA(),n.TgZ(4,"span",4),n._uU(5,"/"),n.qZA(),n._uU(6),n.qZA(),n.TgZ(7,"li",5),n.NdJ("click",function(){n.CHM(we);const U=n.oxw();return n.KtG(U.nextPage())}),n.qZA()()}if(2&ot){const we=n.oxw();n.xp6(1),n.Q6J("disabled",we.isFirstIndex)("direction",we.dir)("itemRender",we.itemRender),n.uIk("title",we.locale.prev_page),n.xp6(1),n.uIk("title",we.pageIndex+"/"+we.lastIndex),n.xp6(1),n.Q6J("disabled",we.disabled)("value",we.pageIndex),n.xp6(3),n.hij(" ",we.lastIndex," "),n.xp6(1),n.Q6J("disabled",we.isLastIndex)("direction",we.dir)("itemRender",we.itemRender),n.uIk("title",null==we.locale?null:we.locale.next_page)}}const pe=["nz-pagination-options",""];function re(ot,mt){if(1&ot&&n._UZ(0,"nz-option",4),2&ot){const we=mt.$implicit;n.Q6J("nzLabel",we.label)("nzValue",we.value)}}function De(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"nz-select",2),n.NdJ("ngModelChange",function(U){n.CHM(we);const B=n.oxw();return n.KtG(B.onPageSizeChange(U))}),n.YNc(1,re,1,2,"nz-option",3),n.qZA()}if(2&ot){const we=n.oxw();n.Q6J("nzDisabled",we.disabled)("nzSize",we.nzSize)("ngModel",we.pageSize),n.xp6(1),n.Q6J("ngForOf",we.listOfPageSizeOption)("ngForTrackBy",we.trackByOption)}}function ae(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"div",5),n._uU(1),n.TgZ(2,"input",6),n.NdJ("keydown.enter",function(U){n.CHM(we);const B=n.oxw();return n.KtG(B.jumpToPageViaInput(U))}),n.qZA(),n._uU(3),n.qZA()}if(2&ot){const we=n.oxw();n.xp6(1),n.hij(" ",we.locale.jump_to," "),n.xp6(1),n.Q6J("disabled",we.disabled),n.xp6(1),n.hij(" ",we.locale.page," ")}}function ce(ot,mt){}const X=function(ot,mt){return{$implicit:ot,range:mt}};function ne(ot,mt){if(1&ot&&(n.TgZ(0,"li",4),n.YNc(1,ce,0,0,"ng-template",5),n.qZA()),2&ot){const we=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",we.showTotal)("ngTemplateOutletContext",n.WLB(2,X,we.total,we.ranges))}}function le(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"li",6),n.NdJ("gotoIndex",function(U){n.CHM(we);const B=n.oxw(2);return n.KtG(B.jumpPage(U))})("diffIndex",function(U){n.CHM(we);const B=n.oxw(2);return n.KtG(B.jumpDiff(U))}),n.qZA()}if(2&ot){const we=mt.$implicit,de=n.oxw(2);n.Q6J("locale",de.locale)("type",we.type)("index",we.index)("disabled",!!we.disabled)("itemRender",de.itemRender)("active",de.pageIndex===we.index)("direction",de.dir)}}function Se(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"li",7),n.NdJ("pageIndexChange",function(U){n.CHM(we);const B=n.oxw(2);return n.KtG(B.onPageIndexChange(U))})("pageSizeChange",function(U){n.CHM(we);const B=n.oxw(2);return n.KtG(B.onPageSizeChange(U))}),n.qZA()}if(2&ot){const we=n.oxw(2);n.Q6J("total",we.total)("locale",we.locale)("disabled",we.disabled)("nzSize",we.nzSize)("showSizeChanger",we.showSizeChanger)("showQuickJumper",we.showQuickJumper)("pageIndex",we.pageIndex)("pageSize",we.pageSize)("pageSizeOptions",we.pageSizeOptions)}}function Ne(ot,mt){if(1&ot&&(n.TgZ(0,"ul"),n.YNc(1,ne,2,5,"li",1),n.YNc(2,le,1,7,"li",2),n.YNc(3,Se,1,9,"li",3),n.qZA()),2&ot){const we=n.oxw();n.xp6(1),n.Q6J("ngIf",we.showTotal),n.xp6(1),n.Q6J("ngForOf",we.listOfPageItem)("ngForTrackBy",we.trackByPageItem),n.xp6(1),n.Q6J("ngIf",we.showQuickJumper||we.showSizeChanger)}}function ke(ot,mt){}function oe(ot,mt){if(1&ot&&(n.ynx(0),n.YNc(1,ke,0,0,"ng-template",6),n.BQk()),2&ot){n.oxw(2);const we=n.MAs(2);n.xp6(1),n.Q6J("ngTemplateOutlet",we.template)}}function _e(ot,mt){if(1&ot&&(n.ynx(0),n.YNc(1,oe,2,1,"ng-container",5),n.BQk()),2&ot){const we=n.oxw(),de=n.MAs(4);n.xp6(1),n.Q6J("ngIf",we.nzSimple)("ngIfElse",de.template)}}let Q=(()=>{class ot{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new n.vpe,this.gotoIndex=new n.vpe,this.title=null}clickItem(){this.disabled||("page"===this.type?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(we){const{locale:de,index:U,type:B}=we;(de||U||B)&&(this.title={page:`${this.index}`,next:this.locale?.next_page,prev:this.locale?.prev_page,prev_5:this.locale?.prev_5,next_5:this.locale?.next_5}[this.type])}static#e=this.\u0275fac=function(de){return new(de||ot)};static#t=this.\u0275cmp=n.Xpm({type:ot,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(de,U){1&de&&n.NdJ("click",function(){return U.clickItem()}),2&de&&(n.uIk("title",U.title),n.ekj("ant-pagination-prev","prev"===U.type)("ant-pagination-next","next"===U.type)("ant-pagination-item","page"===U.type)("ant-pagination-jump-prev","prev_5"===U.type)("ant-pagination-jump-prev-custom-icon","prev_5"===U.type)("ant-pagination-jump-next","next_5"===U.type)("ant-pagination-jump-next-custom-icon","next_5"===U.type)("ant-pagination-disabled",U.disabled)("ant-pagination-item-active",U.active))},inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[n.TTD],attrs:m,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["type","button","class","ant-pagination-item-link",3,"disabled",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["type","button",1,"ant-pagination-item-link",3,"disabled"],["nz-icon","","nzType","right",4,"ngSwitchCase"],["nz-icon","","nzType","left",4,"ngSwitchDefault"],["nz-icon","","nzType","right"],["nz-icon","","nzType","left"],["nz-icon","","nzType","left",4,"ngSwitchCase"],["nz-icon","","nzType","right",4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"ngSwitch"],["class","ant-pagination-item-container",4,"ngSwitchDefault"],[1,"ant-pagination-item-container"],[3,"ngSwitch",4,"ngSwitchCase"],[1,"ant-pagination-item-ellipsis"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","double-right",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"]],template:function(de,U){if(1&de&&(n.YNc(0,G,5,4,"ng-template",null,0,n.W1O),n.YNc(2,V,0,0,"ng-template",1)),2&de){const B=n.MAs(1);n.xp6(2),n.Q6J("ngTemplateOutlet",U.itemRender||B)("ngTemplateOutletContext",n.WLB(2,K,U.type,U.index))}},dependencies:[p.tP,p.RF,p.n9,p.ED,v.Ls],encapsulation:2,changeDetection:0})}return ot})(),He=(()=>{class ot{constructor(we,de,U,B){this.cdr=we,this.renderer=de,this.elementRef=U,this.directionality=B,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new n.vpe,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new t.x,de.removeChild(de.parentNode(U.nativeElement),U.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.dir=we,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput(we){const de=we.target,U=(0,u.He)(de.value,this.pageIndex);this.onPageIndexChange(U),de.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(we){this.pageIndexChange.next(we)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=1===this.pageIndex,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(we){const{pageIndex:de,total:U,pageSize:B}=we;(de||U||B)&&this.updateBindingValue()}static#e=this.\u0275fac=function(de){return new(de||ot)(n.Y36(n.sBO),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(M.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:ot,selectors:[["nz-pagination-simple"]],viewQuery:function(de,U){if(1&de&&n.Gf(ee,7),2&de){let B;n.iGM(B=n.CRH())&&(U.template=B.first)}},inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},features:[n.TTD],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"disabled","direction","itemRender","click"],[1,"ant-pagination-simple-pager"],["size","3",3,"disabled","value","keydown.enter"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"disabled","direction","itemRender","click"]],template:function(de,U){1&de&&n.YNc(0,te,8,12,"ng-template",null,0,n.W1O)},dependencies:[Q],encapsulation:2,changeDetection:0})}return ot})(),Re=(()=>{class ot{constructor(){this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new n.vpe,this.pageSizeChange=new n.vpe,this.listOfPageSizeOption=[]}onPageSizeChange(we){this.pageSize!==we&&this.pageSizeChange.next(we)}jumpToPageViaInput(we){const de=we.target,U=Math.floor((0,u.He)(de.value,this.pageIndex));this.pageIndexChange.next(U),de.value=""}trackByOption(we,de){return de.value}ngOnChanges(we){const{pageSize:de,pageSizeOptions:U,locale:B}=we;(de||U||B)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(Me=>({value:Me,label:`${Me} ${this.locale.items_per_page}`})))}static#e=this.\u0275fac=function(de){return new(de||ot)};static#t=this.\u0275cmp=n.Xpm({type:ot,selectors:[["li","nz-pagination-options",""]],hostAttrs:[1,"ant-pagination-options"],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[n.TTD],attrs:pe,decls:2,vars:2,consts:[["class","ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange",4,"ngIf"],["class","ant-pagination-options-quick-jumper",4,"ngIf"],[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"ant-pagination-options-quick-jumper"],[3,"disabled","keydown.enter"]],template:function(de,U){1&de&&(n.YNc(0,De,2,5,"nz-select",0),n.YNc(1,ae,4,3,"div",1)),2&de&&(n.Q6J("ngIf",U.showSizeChanger),n.xp6(1),n.Q6J("ngIf",U.showQuickJumper))},dependencies:[p.sg,p.O5,_.JJ,_.On,d.Ip,d.Vq],encapsulation:2,changeDetection:0})}return ot})(),lt=(()=>{class ot{constructor(we,de,U,B){this.cdr=we,this.renderer=de,this.elementRef=U,this.directionality=B,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new n.vpe,this.pageSizeChange=new n.vpe,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new t.x,de.removeChild(de.parentNode(U.nativeElement),U.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.dir=we,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage(we){this.onPageIndexChange(we)}jumpDiff(we){this.jumpPage(this.pageIndex+we)}trackByPageItem(we,de){return`${de.type}-${de.index}`}onPageIndexChange(we){this.pageIndexChange.next(we)}onPageSizeChange(we){this.pageSizeChange.next(we)}getLastIndex(we,de){return Math.ceil(we/de)}buildIndexes(){const we=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,we)}getListOfPageItem(we,de){const B=(Me,Ae)=>{const Le=[];for(let ht=Me;ht<=Ae;ht++)Le.push({index:ht,type:"page"});return Le};return Me=de<=9?B(1,de):((Ae,Le)=>{let ht=[];const Ot={type:"prev_5"},Lt={type:"next_5"},Wt=B(1,1),qt=B(de,de);return ht=Ae<5?[...B(2,4===Ae?6:5),Lt]:Ae{class ot{validatePageIndex(we,de){return we>de?de:we<1?1:we}onPageIndexChange(we){const de=this.getLastIndex(this.nzTotal,this.nzPageSize),U=this.validatePageIndex(we,de);U!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=U,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(we){this.nzPageSize=we,this.nzPageSizeChange.emit(we);const de=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>de&&this.onPageIndexChange(de)}onTotalChange(we){const de=this.getLastIndex(we,this.nzPageSize);this.nzPageIndex>de&&Promise.resolve().then(()=>{this.onPageIndexChange(de),this.cdr.markForCheck()})}getLastIndex(we,de){return Math.ceil(we/de)}constructor(we,de,U,B,Me){this.i18n=we,this.cdr=de,this.breakpointService=U,this.nzConfigService=B,this.directionality=Me,this._nzModuleName="pagination",this.nzPageSizeChange=new n.vpe,this.nzPageIndexChange=new n.vpe,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new t.x,this.total$=new i.t(1)}ngOnInit(){this.i18n.localeChange.pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.onTotalChange(we)}),this.breakpointService.subscribe(E.WV).pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.nzResponsive&&(this.size=we===E.G_.xs?"small":"default",this.cdr.markForCheck())}),this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.dir=we,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(we){const{nzHideOnSinglePage:de,nzTotal:U,nzPageSize:B,nzSize:Me}=we;U&&this.total$.next(this.nzTotal),(de||U||B)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),Me&&(this.size=Me.currentValue)}static#e=this.\u0275fac=function(de){return new(de||ot)(n.Y36(z.wi),n.Y36(n.sBO),n.Y36(E.r3),n.Y36(h.jY),n.Y36(M.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:ot,selectors:[["nz-pagination"]],hostAttrs:[1,"ant-pagination"],hostVars:8,hostBindings:function(de,U){2&de&&n.ekj("ant-pagination-simple",U.nzSimple)("ant-pagination-disabled",U.nzDisabled)("mini",!U.nzSimple&&"small"===U.size)("ant-pagination-rtl","rtl"===U.dir)},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[n.TTD],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function(de,U){1&de&&(n.YNc(0,_e,2,2,"ng-container",0),n.TgZ(1,"nz-pagination-simple",1,2),n.NdJ("pageIndexChange",function(Me){return U.onPageIndexChange(Me)}),n.qZA(),n.TgZ(3,"nz-pagination-default",3,4),n.NdJ("pageIndexChange",function(Me){return U.onPageIndexChange(Me)})("pageSizeChange",function(Me){return U.onPageSizeChange(Me)}),n.qZA()),2&de&&(n.Q6J("ngIf",U.showPagination),n.xp6(1),n.Q6J("disabled",U.nzDisabled)("itemRender",U.nzItemRender)("locale",U.locale)("pageSize",U.nzPageSize)("total",U.nzTotal)("pageIndex",U.nzPageIndex),n.xp6(2),n.Q6J("nzSize",U.size)("itemRender",U.nzItemRender)("showTotal",U.nzShowTotal)("disabled",U.nzDisabled)("locale",U.locale)("showSizeChanger",U.nzShowSizeChanger)("showQuickJumper",U.nzShowQuickJumper)("total",U.nzTotal)("pageIndex",U.nzPageIndex)("pageSize",U.nzPageSize)("pageSizeOptions",U.nzPageSizeOptions))},dependencies:[p.O5,p.tP,He,lt],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,h.oS)()],ot.prototype,"nzSize",void 0),(0,e.gn)([(0,h.oS)()],ot.prototype,"nzPageSizeOptions",void 0),(0,e.gn)([(0,h.oS)(),(0,u.yF)()],ot.prototype,"nzShowSizeChanger",void 0),(0,e.gn)([(0,h.oS)(),(0,u.yF)()],ot.prototype,"nzShowQuickJumper",void 0),(0,e.gn)([(0,h.oS)(),(0,u.yF)()],ot.prototype,"nzSimple",void 0),(0,e.gn)([(0,u.yF)()],ot.prototype,"nzDisabled",void 0),(0,e.gn)([(0,u.yF)()],ot.prototype,"nzResponsive",void 0),(0,e.gn)([(0,u.yF)()],ot.prototype,"nzHideOnSinglePage",void 0),(0,e.gn)([(0,u.Rn)()],ot.prototype,"nzTotal",void 0),(0,e.gn)([(0,u.Rn)()],ot.prototype,"nzPageIndex",void 0),(0,e.gn)([(0,u.Rn)()],ot.prototype,"nzPageSize",void 0),ot})(),$e=(()=>{class ot{static#e=this.\u0275fac=function(de){return new(de||ot)};static#t=this.\u0275mod=n.oAB({type:ot});static#n=this.\u0275inj=n.cJS({imports:[M.vT,p.ez,_.u5,d.LV,z.YI,v.PV]})}return ot})()},6192:(tt,I,o)=>{"use strict";o.d(I,{YS:()=>_,ku:()=>E});var e=o(96814),n=o(65879),t=o(27754);o(6593);class h{static#e=this.formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}};transform(m,f=0,C="B",T){if(!((0,t.ui)(m)&&(0,t.ui)(f)&&f%1==0&&f>=0))return m;let b=m,D=C;for(;"B"!==D;)b*=1024,D=h.formats[D].prev;if(T){const P=(0,t.YM)(h.calculateResult(h.formats[T],b),f);return h.formatResult(P,T)}for(const y in h.formats)if(h.formats.hasOwnProperty(y)){const P=h.formats[y];if(b{class d{transform(f,C="px"){let P="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(S=>S===C)&&(P=C),"number"==typeof f?`${f}${P}`:`${f}`}static#e=this.\u0275fac=function(C){return new(C||d)};static#t=this.\u0275pipe=n.Yjl({name:"nzToCssUnit",type:d,pure:!0})}return d})(),_=(()=>{class d{static#e=this.\u0275fac=function(C){return new(C||d)};static#t=this.\u0275mod=n.oAB({type:d});static#n=this.\u0275inj=n.cJS({imports:[e.ez]})}return d})()},19035:(tt,I,o)=>{"use strict";o.d(I,{JW:()=>ee,_p:()=>pe});var e=o(97582),n=o(96814),t=o(65879),i=o(78645),l=o(59773),h=o(81374),E=o(64716),u=o(64194),z=o(83064),M=o(27754),p=o(96109),v=o(331),_=o(49388),d=o(42840),m=o(70855),f=o(41958),C=o(33651),T=o(90551),b=o(8324),D=o(85448),y=o(4300),P=o(12131);const S=["okBtn"],A=["cancelBtn"];function k(re,De){1&re&&(t.TgZ(0,"div",15),t._UZ(1,"span",16),t.qZA())}function R(re,De){if(1&re&&(t.ynx(0),t._UZ(1,"span",18),t.BQk()),2&re){const ae=De.$implicit;t.xp6(1),t.Q6J("nzType",ae||"exclamation-circle")}}function W(re,De){if(1&re&&(t.ynx(0),t.YNc(1,R,2,1,"ng-container",8),t.TgZ(2,"div",17),t._uU(3),t.qZA(),t.BQk()),2&re){const ae=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",ae.nzIcon),t.xp6(2),t.Oqu(ae.nzTitle)}}function j(re,De){if(1&re&&(t.ynx(0),t._uU(1),t.BQk()),2&re){const ae=t.oxw(2);t.xp6(1),t.Oqu(ae.nzCancelText)}}function ze(re,De){1&re&&(t.ynx(0),t._uU(1),t.ALo(2,"nzI18n"),t.BQk()),2&re&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"Modal.cancelText")))}function Y(re,De){if(1&re&&(t.ynx(0),t._uU(1),t.BQk()),2&re){const ae=t.oxw(2);t.xp6(1),t.Oqu(ae.nzOkText)}}function G(re,De){1&re&&(t.ynx(0),t._uU(1),t.ALo(2,"nzI18n"),t.BQk()),2&re&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"Modal.okText")))}function V(re,De){if(1&re){const ae=t.EpF();t.TgZ(0,"div",2)(1,"div",3),t.YNc(2,k,2,0,"div",4),t.TgZ(3,"div",5)(4,"div")(5,"div",6)(6,"div",7),t.YNc(7,W,4,2,"ng-container",8),t.qZA(),t.TgZ(8,"div",9)(9,"button",10,11),t.NdJ("click",function(){t.CHM(ae);const X=t.oxw();return t.KtG(X.onCancel())}),t.YNc(11,j,2,1,"ng-container",12),t.YNc(12,ze,3,3,"ng-container",12),t.qZA(),t.TgZ(13,"button",13,14),t.NdJ("click",function(){t.CHM(ae);const X=t.oxw();return t.KtG(X.onConfirm())}),t.YNc(15,Y,2,1,"ng-container",12),t.YNc(16,G,3,3,"ng-container",12),t.qZA()()()()()()()}if(2&re){const ae=t.oxw();t.ekj("ant-popover-rtl","rtl"===ae.dir),t.Q6J("cdkTrapFocusAutoCapture",null!==ae.nzAutoFocus)("ngClass",ae._classMap)("ngStyle",ae.nzOverlayStyle)("@.disabled",!(null==ae.noAnimation||!ae.noAnimation.nzNoAnimation))("nzNoAnimation",null==ae.noAnimation?null:ae.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),t.xp6(2),t.Q6J("ngIf",ae.nzPopconfirmShowArrow),t.xp6(5),t.Q6J("nzStringTemplateOutlet",ae.nzTitle),t.xp6(2),t.Q6J("nzSize","small"),t.uIk("cdkFocusInitial","cancel"===ae.nzAutoFocus||null),t.xp6(2),t.Q6J("ngIf",ae.nzCancelText),t.xp6(1),t.Q6J("ngIf",!ae.nzCancelText),t.xp6(1),t.Q6J("nzSize","small")("nzType","danger"!==ae.nzOkType?ae.nzOkType:"primary")("nzDanger",ae.nzOkDanger||"danger"===ae.nzOkType)("nzLoading",ae.confirmLoading),t.uIk("cdkFocusInitial","ok"===ae.nzAutoFocus||null),t.xp6(2),t.Q6J("ngIf",ae.nzOkText),t.xp6(1),t.Q6J("ngIf",!ae.nzOkText)}}let ee=(()=>{class re extends p.Mg{getProxyPropertyMap(){return{nzOkText:["nzOkText",()=>this.nzOkText],nzOkType:["nzOkType",()=>this.nzOkType],nzOkDanger:["nzOkDanger",()=>this.nzOkDanger],nzCancelText:["nzCancelText",()=>this.nzCancelText],nzBeforeConfirm:["nzBeforeConfirm",()=>this.nzBeforeConfirm],nzCondition:["nzCondition",()=>this.nzCondition],nzIcon:["nzIcon",()=>this.nzIcon],nzPopconfirmShowArrow:["nzPopconfirmShowArrow",()=>this.nzPopconfirmShowArrow],nzPopconfirmBackdrop:["nzBackdrop",()=>this.nzPopconfirmBackdrop],nzAutoFocus:["nzAutoFocus",()=>this.nzAutofocus],...super.getProxyPropertyMap()}}constructor(ae,ce,X,ne,le,Se){super(ae,ce,X,ne,le,Se),this._nzModuleName="popconfirm",this.trigger="click",this.placement="top",this.nzCondition=!1,this.nzPopconfirmShowArrow=!0,this.nzPopconfirmBackdrop=!1,this.nzAutofocus=null,this.visibleChange=new t.vpe,this.nzOnCancel=new t.vpe,this.nzOnConfirm=new t.vpe,this.componentRef=this.hostView.createComponent(te)}createComponent(){super.createComponent(),this.component.nzOnCancel.pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.nzOnCancel.emit()}),this.component.nzOnConfirm.pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.nzOnConfirm.emit()})}static#e=this.\u0275fac=function(ce){return new(ce||re)(t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(t._Vd),t.Y36(t.Qsj),t.Y36(v.P,9),t.Y36(z.jY))};static#t=this.\u0275dir=t.lG2({type:re,selectors:[["","nz-popconfirm",""]],hostVars:2,hostBindings:function(ce,X){2&ce&&t.ekj("ant-popover-open",X.visible)},inputs:{arrowPointAtCenter:["nzPopconfirmArrowPointAtCenter","arrowPointAtCenter"],title:["nzPopconfirmTitle","title"],directiveTitle:["nz-popconfirm","directiveTitle"],trigger:["nzPopconfirmTrigger","trigger"],placement:["nzPopconfirmPlacement","placement"],origin:["nzPopconfirmOrigin","origin"],mouseEnterDelay:["nzPopconfirmMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopconfirmMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopconfirmOverlayClassName","overlayClassName"],overlayStyle:["nzPopconfirmOverlayStyle","overlayStyle"],visible:["nzPopconfirmVisible","visible"],nzOkText:"nzOkText",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzCancelText:"nzCancelText",nzBeforeConfirm:"nzBeforeConfirm",nzIcon:"nzIcon",nzCondition:"nzCondition",nzPopconfirmShowArrow:"nzPopconfirmShowArrow",nzPopconfirmBackdrop:"nzPopconfirmBackdrop",nzAutofocus:"nzAutofocus"},outputs:{visibleChange:"nzPopconfirmVisibleChange",nzOnCancel:"nzOnCancel",nzOnConfirm:"nzOnConfirm"},exportAs:["nzPopconfirm"],features:[t.qOj]})}return(0,e.gn)([(0,M.yF)()],re.prototype,"arrowPointAtCenter",void 0),(0,e.gn)([(0,M.yF)()],re.prototype,"nzOkDanger",void 0),(0,e.gn)([(0,M.yF)()],re.prototype,"nzCondition",void 0),(0,e.gn)([(0,M.yF)()],re.prototype,"nzPopconfirmShowArrow",void 0),(0,e.gn)([(0,z.oS)()],re.prototype,"nzPopconfirmBackdrop",void 0),(0,e.gn)([(0,z.oS)()],re.prototype,"nzAutofocus",void 0),re})(),te=(()=>{class re extends p.XK{constructor(ae,ce,X,ne,le){super(ae,X,le),this.elementRef=ce,this.nzCondition=!1,this.nzPopconfirmShowArrow=!0,this.nzOkType="primary",this.nzOkDanger=!1,this.nzAutoFocus=null,this.nzBeforeConfirm=null,this.nzOnCancel=new i.x,this.nzOnConfirm=new i.x,this._trigger="click",this.elementFocusedBeforeModalWasOpened=null,this._prefix="ant-popover",this.confirmLoading=!1,this.document=ne}ngOnDestroy(){super.ngOnDestroy(),this.nzOnCancel.complete(),this.nzOnConfirm.complete()}show(){this.nzCondition?this.onConfirm():(this.capturePreviouslyFocusedElement(),super.show())}hide(){super.hide(),this.restoreFocus()}handleConfirm(){this.nzOnConfirm.next(),super.hide()}onCancel(){this.nzOnCancel.next(),super.hide()}onConfirm(){if(this.nzBeforeConfirm){const ae=(0,M.lN)(this.nzBeforeConfirm()).pipe((0,h.P)());this.confirmLoading=!0,ae.pipe((0,E.x)(()=>{this.confirmLoading=!1,this.cdr.markForCheck()}),(0,l.R)(this.nzVisibleChange),(0,l.R)(this.destroy$)).subscribe(ce=>{ce&&this.handleConfirm()})}else this.handleConfirm()}capturePreviouslyFocusedElement(){this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement)}restoreFocus(){const ae=this.elementFocusedBeforeModalWasOpened;if(ae&&"function"==typeof ae.focus){const ce=this.document.activeElement,X=this.elementRef.nativeElement;(!ce||ce===this.document.body||ce===X||X.contains(ce))&&ae.focus()}}static#e=this.\u0275fac=function(ce){return new(ce||re)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(_.Is,8),t.Y36(n.K0,8),t.Y36(v.P,9))};static#t=this.\u0275cmp=t.Xpm({type:re,selectors:[["nz-popconfirm"]],viewQuery:function(ce,X){if(1&ce&&(t.Gf(S,5,t.SBq),t.Gf(A,5,t.SBq)),2&ce){let ne;t.iGM(ne=t.CRH())&&(X.okBtn=ne),t.iGM(ne=t.CRH())&&(X.cancelBtn=ne)}},exportAs:["nzPopconfirmComponent"],features:[t.qOj],decls:2,vars:6,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],["cdkTrapFocus","",1,"ant-popover",3,"cdkTrapFocusAutoCapture","ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],["class","ant-popover-arrow",4,"ngIf"],[1,"ant-popover-inner"],[1,"ant-popover-inner-content"],[1,"ant-popover-message"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-buttons"],["nz-button","",3,"nzSize","click"],["cancelBtn",""],[4,"ngIf"],["nz-button","",3,"nzSize","nzType","nzDanger","nzLoading","click"],["okBtn",""],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],[1,"ant-popover-message-title"],["nz-icon","","nzTheme","fill",3,"nzType"]],template:function(ce,X){1&ce&&(t.YNc(0,V,17,21,"ng-template",0,1,t.W1O),t.NdJ("overlayOutsideClick",function(le){return X.onClickOutside(le)})("detach",function(){return X.hide()})("positionChange",function(le){return X.onPositionChange(le)})),2&ce&&t.Q6J("cdkConnectedOverlayHasBackdrop",X.nzBackdrop)("cdkConnectedOverlayOrigin",X.origin)("cdkConnectedOverlayPositions",X._positions)("cdkConnectedOverlayOpen",X._visible)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",X.nzArrowPointAtCenter)},dependencies:[n.mk,n.O5,n.PC,d.ix,m.w,f.dQ,C.pI,T.Ls,b.f,D.hQ,v.P,y.mK,P.o9],encapsulation:2,data:{animation:[u.$C]},changeDetection:0})}return re})(),pe=(()=>{class re{static#e=this.\u0275fac=function(ce){return new(ce||re)};static#t=this.\u0275mod=t.oAB({type:re});static#n=this.\u0275inj=t.cJS({imports:[_.vT,n.ez,d.sL,C.U8,P.YI,T.PV,b.T,D.e4,v.g,p.cg,y.rt]})}return re})()},57417:(tt,I,o)=>{"use strict";o.d(I,{$6:()=>D,lU:()=>T});var e=o(97582),n=o(65879),t=o(64194),i=o(83064),l=o(27754),h=o(96109),E=o(331),u=o(49388),z=o(96814),M=o(33651),p=o(8324),v=o(85448);function _(y,P){if(1&y&&(n.ynx(0),n._uU(1),n.BQk()),2&y){const S=n.oxw(3);n.xp6(1),n.Oqu(S.nzTitle)}}function d(y,P){if(1&y&&(n.TgZ(0,"div",10),n.YNc(1,_,2,1,"ng-container",9),n.qZA()),2&y){const S=n.oxw(2);n.xp6(1),n.Q6J("nzStringTemplateOutlet",S.nzTitle)}}function m(y,P){if(1&y&&(n.ynx(0),n._uU(1),n.BQk()),2&y){const S=n.oxw(2);n.xp6(1),n.Oqu(S.nzContent)}}function f(y,P){if(1&y&&(n.TgZ(0,"div",2)(1,"div",3)(2,"div",4),n._UZ(3,"span",5),n.qZA(),n.TgZ(4,"div",6)(5,"div"),n.YNc(6,d,2,1,"div",7),n.TgZ(7,"div",8),n.YNc(8,m,2,1,"ng-container",9),n.qZA()()()()()),2&y){const S=n.oxw();n.ekj("ant-popover-rtl","rtl"===S.dir),n.Q6J("ngClass",S._classMap)("ngStyle",S.nzOverlayStyle)("@.disabled",!(null==S.noAnimation||!S.noAnimation.nzNoAnimation))("nzNoAnimation",null==S.noAnimation?null:S.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),n.xp6(6),n.Q6J("ngIf",S.nzTitle),n.xp6(2),n.Q6J("nzStringTemplateOutlet",S.nzContent)}}let T=(()=>{class y extends h.Mg{getProxyPropertyMap(){return{nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop],...super.getProxyPropertyMap()}}constructor(S,A,k,R,W,j){super(S,A,k,R,W,j),this._nzModuleName="popover",this.trigger="hover",this.placement="top",this.nzPopoverBackdrop=!1,this.visibleChange=new n.vpe,this.componentRef=this.hostView.createComponent(b)}static#e=this.\u0275fac=function(A){return new(A||y)(n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(n._Vd),n.Y36(n.Qsj),n.Y36(E.P,9),n.Y36(i.jY))};static#t=this.\u0275dir=n.lG2({type:y,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(A,k){2&A&&n.ekj("ant-popover-open",k.visible)},inputs:{arrowPointAtCenter:["nzPopoverArrowPointAtCenter","arrowPointAtCenter"],title:["nzPopoverTitle","title"],content:["nzPopoverContent","content"],directiveTitle:["nz-popover","directiveTitle"],trigger:["nzPopoverTrigger","trigger"],placement:["nzPopoverPlacement","placement"],origin:["nzPopoverOrigin","origin"],visible:["nzPopoverVisible","visible"],mouseEnterDelay:["nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopoverOverlayClassName","overlayClassName"],overlayStyle:["nzPopoverOverlayStyle","overlayStyle"],nzPopoverBackdrop:"nzPopoverBackdrop"},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[n.qOj]})}return(0,e.gn)([(0,l.yF)()],y.prototype,"arrowPointAtCenter",void 0),(0,e.gn)([(0,i.oS)()],y.prototype,"nzPopoverBackdrop",void 0),y})(),b=(()=>{class y extends h.XK{constructor(S,A,k){super(S,A,k),this._prefix="ant-popover"}get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return(0,h.pu)(this.nzTitle)&&(0,h.pu)(this.nzContent)}static#e=this.\u0275fac=function(A){return new(A||y)(n.Y36(n.sBO),n.Y36(u.Is,8),n.Y36(E.P,9))};static#t=this.\u0275cmp=n.Xpm({type:y,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[n.qOj],decls:2,vars:6,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],["role","tooltip",1,"ant-popover-inner"],["class","ant-popover-title",4,"ngIf"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-title"]],template:function(A,k){1&A&&(n.YNc(0,f,9,9,"ng-template",0,1,n.W1O),n.NdJ("overlayOutsideClick",function(W){return k.onClickOutside(W)})("detach",function(){return k.hide()})("positionChange",function(W){return k.onPositionChange(W)})),2&A&&n.Q6J("cdkConnectedOverlayHasBackdrop",k.hasBackdrop)("cdkConnectedOverlayOrigin",k.origin)("cdkConnectedOverlayPositions",k._positions)("cdkConnectedOverlayOpen",k._visible)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",k.nzArrowPointAtCenter)},dependencies:[z.mk,z.O5,z.PC,M.pI,p.f,v.hQ,E.P],encapsulation:2,data:{animation:[t.$C]},changeDetection:0})}return y})(),D=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275mod=n.oAB({type:y});static#n=this.\u0275inj=n.cJS({imports:[u.vT,z.ez,M.U8,p.T,v.e4,E.g,h.cg]})}return y})()},48128:(tt,I,o)=>{"use strict";o.d(I,{M:()=>ae,W:()=>ce});var e=o(49388),n=o(96814),t=o(65879),i=o(8324),l=o(90551),h=o(97582),E=o(78645),u=o(59773),z=o(83064),M=o(27754);function p(X,ne){if(1&X&&(t.ynx(0),t._UZ(1,"span",8),t.BQk()),2&X){const le=t.oxw(3);t.xp6(1),t.Q6J("nzType",le.icon)}}function v(X,ne){if(1&X&&(t.ynx(0),t._uU(1),t.BQk()),2&X){const le=ne.$implicit,Se=t.oxw(4);t.xp6(1),t.hij(" ",le(Se.nzPercent)," ")}}const _=function(X){return{$implicit:X}};function d(X,ne){if(1&X&&t.YNc(0,v,2,1,"ng-container",9),2&X){const le=t.oxw(3);t.Q6J("nzStringTemplateOutlet",le.formatter)("nzStringTemplateOutletContext",t.VKq(2,_,le.nzPercent))}}function m(X,ne){if(1&X&&(t.TgZ(0,"span",5),t.YNc(1,p,2,1,"ng-container",6),t.YNc(2,d,1,4,"ng-template",null,7,t.W1O),t.qZA()),2&X){const le=t.MAs(3),Se=t.oxw(2);t.xp6(1),t.Q6J("ngIf",("exception"===Se.status||"success"===Se.status)&&!Se.nzFormat)("ngIfElse",le)}}function f(X,ne){if(1&X&&t.YNc(0,m,4,2,"span",4),2&X){const le=t.oxw();t.Q6J("ngIf",le.nzShowInfo)}}function C(X,ne){if(1&X&&t._UZ(0,"div",17),2&X){const le=t.oxw(4);t.Udp("width",le.nzSuccessPercent,"%")("border-radius","round"===le.nzStrokeLinecap?"100px":"0")("height",le.strokeWidth,"px")}}function T(X,ne){if(1&X&&(t.TgZ(0,"div",13)(1,"div",14),t._UZ(2,"div",15),t.YNc(3,C,1,6,"div",16),t.qZA()()),2&X){const le=t.oxw(3);t.xp6(2),t.Udp("width",le.nzPercent,"%")("border-radius","round"===le.nzStrokeLinecap?"100px":"0")("background",le.isGradient?null:le.nzStrokeColor)("background-image",le.isGradient?le.lineGradient:null)("height",le.strokeWidth,"px"),t.xp6(1),t.Q6J("ngIf",le.nzSuccessPercent||0===le.nzSuccessPercent)}}function b(X,ne){}function D(X,ne){if(1&X&&(t.ynx(0),t.YNc(1,T,4,11,"div",11),t.YNc(2,b,0,0,"ng-template",12),t.BQk()),2&X){const le=t.oxw(2),Se=t.MAs(1);t.xp6(1),t.Q6J("ngIf",!le.isSteps),t.xp6(1),t.Q6J("ngTemplateOutlet",Se)}}function y(X,ne){1&X&&t._UZ(0,"div",20),2&X&&t.Q6J("ngStyle",ne.$implicit)}function P(X,ne){}function S(X,ne){if(1&X&&(t.TgZ(0,"div",18),t.YNc(1,y,1,1,"div",19),t.YNc(2,P,0,0,"ng-template",12),t.qZA()),2&X){const le=t.oxw(2),Se=t.MAs(1);t.xp6(1),t.Q6J("ngForOf",le.steps),t.xp6(1),t.Q6J("ngTemplateOutlet",Se)}}function A(X,ne){if(1&X&&(t.TgZ(0,"div"),t.YNc(1,D,3,2,"ng-container",2),t.YNc(2,S,3,2,"div",10),t.qZA()),2&X){const le=t.oxw();t.xp6(1),t.Q6J("ngIf",!le.isSteps),t.xp6(1),t.Q6J("ngIf",le.isSteps)}}function k(X,ne){if(1&X&&(t.O4$(),t._UZ(0,"stop")),2&X){const le=ne.$implicit;t.uIk("offset",le.offset)("stop-color",le.color)}}function R(X,ne){if(1&X&&(t.O4$(),t.TgZ(0,"defs")(1,"linearGradient",24),t.YNc(2,k,1,2,"stop",25),t.qZA()()),2&X){const le=t.oxw(2);t.xp6(1),t.Q6J("id","gradient-"+le.gradientId),t.xp6(1),t.Q6J("ngForOf",le.circleGradient)}}function W(X,ne){if(1&X&&(t.O4$(),t._UZ(0,"path",26)),2&X){const le=ne.$implicit,Se=t.oxw(2);t.Q6J("ngStyle",le.strokePathStyle),t.uIk("d",Se.pathString)("stroke-linecap",Se.nzStrokeLinecap)("stroke",le.stroke)("stroke-width",Se.nzPercent?Se.strokeWidth:0)}}function j(X,ne){1&X&&t.O4$()}function ze(X,ne){if(1&X&&(t.TgZ(0,"div",14),t.O4$(),t.TgZ(1,"svg",21),t.YNc(2,R,3,2,"defs",2),t._UZ(3,"path",22),t.YNc(4,W,1,5,"path",23),t.qZA(),t.YNc(5,j,0,0,"ng-template",12),t.qZA()),2&X){const le=t.oxw(),Se=t.MAs(1);t.Udp("width",le.nzWidth,"px")("height",le.nzWidth,"px")("font-size",.15*le.nzWidth+6,"px"),t.ekj("ant-progress-circle-gradient",le.isGradient),t.xp6(2),t.Q6J("ngIf",le.isGradient),t.xp6(1),t.Q6J("ngStyle",le.trailPathStyle),t.uIk("stroke-width",le.strokeWidth)("d",le.pathString),t.xp6(1),t.Q6J("ngForOf",le.progressCirclePath)("ngForTrackBy",le.trackByFn),t.xp6(1),t.Q6J("ngTemplateOutlet",Se)}}const G=X=>{let ne=[];return Object.keys(X).forEach(le=>{const Se=X[le],Ne=function Y(X){return+X.replace("%","")}(le);isNaN(Ne)||ne.push({key:Ne,value:Se})}),ne=ne.sort((le,Se)=>le.key-Se.key),ne};let ee=0;const te="progress",pe=new Map([["success","check"],["exception","close"]]),re=new Map([["normal","#108ee9"],["exception","#ff5500"],["success","#87d068"]]),De=X=>`${X}%`;let ae=(()=>{class X{get formatter(){return this.nzFormat||De}get status(){return this.nzStatus||this.inferredStatus}get strokeWidth(){return this.nzStrokeWidth||("line"===this.nzType&&"small"!==this.nzSize?8:6)}get isCircleStyle(){return"circle"===this.nzType||"dashboard"===this.nzType}constructor(le,Se,Ne){this.cdr=le,this.nzConfigService=Se,this.directionality=Ne,this._nzModuleName=te,this.nzShowInfo=!0,this.nzWidth=132,this.nzStrokeColor=void 0,this.nzSize="default",this.nzPercent=0,this.nzStrokeWidth=void 0,this.nzGapDegree=void 0,this.nzType="line",this.nzGapPosition="top",this.nzStrokeLinecap="round",this.nzSteps=0,this.steps=[],this.lineGradient=null,this.isGradient=!1,this.isSteps=!1,this.gradientId=ee++,this.progressCirclePath=[],this.trailPathStyle=null,this.dir="ltr",this.trackByFn=ke=>`${ke}`,this.cachedStatus="normal",this.inferredStatus="normal",this.destroy$=new E.x}ngOnChanges(le){const{nzSteps:Se,nzGapPosition:Ne,nzStrokeLinecap:ke,nzStrokeColor:oe,nzGapDegree:_e,nzType:Q,nzStatus:He,nzPercent:Re,nzSuccessPercent:lt,nzStrokeWidth:Pe}=le;He&&(this.cachedStatus=this.nzStatus||this.cachedStatus),(Re||lt)&&(parseInt(this.nzPercent.toString(),10)>=100?((0,M.DX)(this.nzSuccessPercent)&&this.nzSuccessPercent>=100||void 0===this.nzSuccessPercent)&&(this.inferredStatus="success"):this.inferredStatus=this.cachedStatus),(He||Re||lt||oe)&&this.updateIcon(),oe&&this.setStrokeColor(),(Ne||ke||_e||Q||Re||oe||oe)&&this.getCirclePaths(),(Re||Se||Pe)&&(this.isSteps=this.nzSteps>0,this.isSteps&&this.getSteps())}ngOnInit(){this.nzConfigService.getConfigChangeEventForComponent(te).pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.updateIcon(),this.setStrokeColor(),this.getCirclePaths()}),this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(le=>{this.dir=le,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateIcon(){const le=pe.get(this.status);this.icon=le?le+(this.isCircleStyle?"-o":"-circle-fill"):""}getSteps(){const le=Math.floor(this.nzSteps*(this.nzPercent/100)),Se="small"===this.nzSize?2:14,Ne=[];for(let ke=0;ke{const xt=2===le.length&&0===Pe;return{stroke:this.isGradient&&!xt?`url(#gradient-${this.gradientId})`:null,strokePathStyle:{stroke:this.isGradient?null:xt?re.get("success"):this.nzStrokeColor,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s",strokeDasharray:`${(lt||0)/100*(ke-oe)}px ${ke}px`,strokeDashoffset:`-${oe/2}px`}}}).reverse()}setStrokeColor(){const le=this.nzStrokeColor,Se=this.isGradient=!!le&&"string"!=typeof le;Se&&!this.isCircleStyle?this.lineGradient=(X=>{const{from:ne="#1890ff",to:le="#1890ff",direction:Se="to right",...Ne}=X;return 0!==Object.keys(Ne).length?`linear-gradient(${Se}, ${G(Ne).map(({key:oe,value:_e})=>`${_e} ${oe}%`).join(", ")})`:`linear-gradient(${Se}, ${ne}, ${le})`})(le):Se&&this.isCircleStyle?this.circleGradient=(X=>G(this.nzStrokeColor).map(({key:ne,value:le})=>({offset:`${ne}%`,color:le})))():(this.lineGradient=null,this.circleGradient=[])}static#e=this.\u0275fac=function(Se){return new(Se||X)(t.Y36(t.sBO),t.Y36(z.jY),t.Y36(e.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:X,selectors:[["nz-progress"]],inputs:{nzShowInfo:"nzShowInfo",nzWidth:"nzWidth",nzStrokeColor:"nzStrokeColor",nzSize:"nzSize",nzFormat:"nzFormat",nzSuccessPercent:"nzSuccessPercent",nzPercent:"nzPercent",nzStrokeWidth:"nzStrokeWidth",nzGapDegree:"nzGapDegree",nzStatus:"nzStatus",nzType:"nzType",nzGapPosition:"nzGapPosition",nzStrokeLinecap:"nzStrokeLinecap",nzSteps:"nzSteps"},exportAs:["nzProgress"],features:[t.TTD],decls:5,vars:17,consts:[["progressInfoTemplate",""],[3,"ngClass"],[4,"ngIf"],["class","ant-progress-inner",3,"width","height","fontSize","ant-progress-circle-gradient",4,"ngIf"],["class","ant-progress-text",4,"ngIf"],[1,"ant-progress-text"],[4,"ngIf","ngIfElse"],["formatTemplate",""],["nz-icon","",3,"nzType"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-progress-steps-outer",4,"ngIf"],["class","ant-progress-outer",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-progress-outer"],[1,"ant-progress-inner"],[1,"ant-progress-bg"],["class","ant-progress-success-bg",3,"width","border-radius","height",4,"ngIf"],[1,"ant-progress-success-bg"],[1,"ant-progress-steps-outer"],["class","ant-progress-steps-item",3,"ngStyle",4,"ngFor","ngForOf"],[1,"ant-progress-steps-item",3,"ngStyle"],["viewBox","0 0 100 100",1,"ant-progress-circle"],["stroke","#f3f3f3","fill-opacity","0",1,"ant-progress-circle-trail",3,"ngStyle"],["class","ant-progress-circle-path","fill-opacity","0",3,"ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],["x1","100%","y1","0%","x2","0%","y2","0%",3,"id"],[4,"ngFor","ngForOf"],["fill-opacity","0",1,"ant-progress-circle-path",3,"ngStyle"]],template:function(Se,Ne){1&Se&&(t.YNc(0,f,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1),t.YNc(3,A,3,2,"div",2),t.YNc(4,ze,6,15,"div",3),t.qZA()),2&Se&&(t.xp6(2),t.ekj("ant-progress-line","line"===Ne.nzType)("ant-progress-small","small"===Ne.nzSize)("ant-progress-default","default"===Ne.nzSize)("ant-progress-show-info",Ne.nzShowInfo)("ant-progress-circle",Ne.isCircleStyle)("ant-progress-steps",Ne.isSteps)("ant-progress-rtl","rtl"===Ne.dir),t.Q6J("ngClass","ant-progress ant-progress-status-"+Ne.status),t.xp6(1),t.Q6J("ngIf","line"===Ne.nzType),t.xp6(1),t.Q6J("ngIf",Ne.isCircleStyle))},dependencies:[n.mk,n.sg,n.O5,n.tP,n.PC,l.Ls,i.f],encapsulation:2,changeDetection:0})}return(0,h.gn)([(0,z.oS)()],X.prototype,"nzShowInfo",void 0),(0,h.gn)([(0,z.oS)()],X.prototype,"nzStrokeColor",void 0),(0,h.gn)([(0,z.oS)()],X.prototype,"nzSize",void 0),(0,h.gn)([(0,M.Rn)()],X.prototype,"nzSuccessPercent",void 0),(0,h.gn)([(0,M.Rn)()],X.prototype,"nzPercent",void 0),(0,h.gn)([(0,z.oS)(),(0,M.Rn)()],X.prototype,"nzStrokeWidth",void 0),(0,h.gn)([(0,z.oS)(),(0,M.Rn)()],X.prototype,"nzGapDegree",void 0),(0,h.gn)([(0,z.oS)()],X.prototype,"nzGapPosition",void 0),(0,h.gn)([(0,z.oS)()],X.prototype,"nzStrokeLinecap",void 0),(0,h.gn)([(0,M.Rn)()],X.prototype,"nzSteps",void 0),X})(),ce=(()=>{class X{static#e=this.\u0275fac=function(Se){return new(Se||X)};static#t=this.\u0275mod=t.oAB({type:X});static#n=this.\u0275inj=t.cJS({imports:[e.vT,n.ez,l.PV,i.T]})}return X})()},57907:(tt,I,o)=>{"use strict";o.d(I,{Bq:()=>f,Dg:()=>T,Of:()=>b,aF:()=>D});var e=o(65879),n=o(97582),t=o(60095),i=o(97328),l=o(78645),h=o(92438),E=o(59773),u=o(27754),z=o(49388),M=o(4300),p=o(50883),v=o(96814);const _=["*"],d=["inputElement"],m=["nz-radio",""];let f=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275dir=e.lG2({type:y,selectors:[["","nz-radio-button",""]]})}return y})(),C=(()=>{class y{constructor(){this.selected$=new i.t(1),this.touched$=new l.x,this.disabled$=new i.t(1),this.name$=new i.t(1)}touch(){this.touched$.next()}select(S){this.selected$.next(S)}setDisabled(S){this.disabled$.next(S)}setName(S){this.name$.next(S)}static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275prov=e.Yz7({token:y,factory:y.\u0275fac})}return y})(),T=(()=>{class y{constructor(S,A,k){this.cdr=S,this.nzRadioService=A,this.directionality=k,this.value=null,this.destroy$=new l.x,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr"}ngOnInit(){this.nzRadioService.selected$.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.value!==S&&(this.value=S,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,E.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.dir=S,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(S){const{nzDisabled:A,nzName:k}=S;A&&this.nzRadioService.setDisabled(this.nzDisabled),k&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}writeValue(S){this.value=S,this.nzRadioService.select(S),this.cdr.markForCheck()}registerOnChange(S){this.onChange=S}registerOnTouched(S){this.onTouched=S}setDisabledState(S){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||S,this.isNzDisableFirstChange=!1,this.nzRadioService.setDisabled(this.nzDisabled),this.cdr.markForCheck()}static#e=this.\u0275fac=function(A){return new(A||y)(e.Y36(e.sBO),e.Y36(C),e.Y36(z.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:y,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(A,k){2&A&&e.ekj("ant-radio-group-large","large"===k.nzSize)("ant-radio-group-small","small"===k.nzSize)("ant-radio-group-solid","solid"===k.nzButtonStyle)("ant-radio-group-rtl","rtl"===k.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[e._Bn([C,{provide:t.JU,useExisting:(0,e.Gpc)(()=>y),multi:!0}]),e.TTD],ngContentSelectors:_,decls:1,vars:0,template:function(A,k){1&A&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return(0,n.gn)([(0,u.yF)()],y.prototype,"nzDisabled",void 0),y})(),b=(()=>{class y{focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(S,A,k,R,W,j,ze,Y){this.ngZone=S,this.elementRef=A,this.cdr=k,this.focusMonitor=R,this.directionality=W,this.nzRadioService=j,this.nzRadioButtonDirective=ze,this.nzFormStatusService=Y,this.isNgModel=!1,this.destroy$=new l.x,this.isNzDisableFirstChange=!0,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}setDisabledState(S){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||S,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(S){this.isChecked=S,this.cdr.markForCheck()}registerOnChange(S){this.isNgModel=!0,this.onChange=S}registerOnTouched(S){this.onTouched=S}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.name=S,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||S,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,E.R)(this.destroy$)).subscribe(S=>{const A=this.isChecked;this.isChecked=this.nzValue===S,this.isNgModel&&A!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,E.R)(this.destroy$)).subscribe(S=>{S||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.dir=S,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setupClickListener(){this.ngZone.runOutsideAngular(()=>{(0,h.R)(this.elementRef.nativeElement,"click").pipe((0,E.R)(this.destroy$)).subscribe(S=>{S.stopPropagation(),S.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.focus(),this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})})}static#e=this.\u0275fac=function(A){return new(A||y)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(M.tE),e.Y36(z.Is,8),e.Y36(C,8),e.Y36(f,8),e.Y36(p.kH,8))};static#t=this.\u0275cmp=e.Xpm({type:y,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(A,k){if(1&A&&e.Gf(d,7),2&A){let R;e.iGM(R=e.CRH())&&(k.inputElement=R.first)}},hostVars:18,hostBindings:function(A,k){2&A&&e.ekj("ant-radio-wrapper-in-form-item",!!k.nzFormStatusService)("ant-radio-wrapper",!k.isRadioButton)("ant-radio-button-wrapper",k.isRadioButton)("ant-radio-wrapper-checked",k.isChecked&&!k.isRadioButton)("ant-radio-button-wrapper-checked",k.isChecked&&k.isRadioButton)("ant-radio-wrapper-disabled",k.nzDisabled&&!k.isRadioButton)("ant-radio-button-wrapper-disabled",k.nzDisabled&&k.isRadioButton)("ant-radio-wrapper-rtl",!k.isRadioButton&&"rtl"===k.dir)("ant-radio-button-wrapper-rtl",k.isRadioButton&&"rtl"===k.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[e._Bn([{provide:t.JU,useExisting:(0,e.Gpc)(()=>y),multi:!0}])],attrs:m,ngContentSelectors:_,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(A,k){1&A&&(e.F$t(),e.TgZ(0,"span"),e._UZ(1,"input",0,1)(3,"span"),e.qZA(),e.TgZ(4,"span"),e.Hsn(5),e.qZA()),2&A&&(e.ekj("ant-radio",!k.isRadioButton)("ant-radio-checked",k.isChecked&&!k.isRadioButton)("ant-radio-disabled",k.nzDisabled&&!k.isRadioButton)("ant-radio-button",k.isRadioButton)("ant-radio-button-checked",k.isChecked&&k.isRadioButton)("ant-radio-button-disabled",k.nzDisabled&&k.isRadioButton),e.xp6(1),e.ekj("ant-radio-input",!k.isRadioButton)("ant-radio-button-input",k.isRadioButton),e.Q6J("disabled",k.nzDisabled)("checked",k.isChecked),e.uIk("autofocus",k.nzAutoFocus?"autofocus":null)("name",k.name),e.xp6(2),e.ekj("ant-radio-inner",!k.isRadioButton)("ant-radio-button-inner",k.isRadioButton))},encapsulation:2,changeDetection:0})}return(0,n.gn)([(0,u.yF)()],y.prototype,"nzDisabled",void 0),(0,n.gn)([(0,u.yF)()],y.prototype,"nzAutoFocus",void 0),y})(),D=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275mod=e.oAB({type:y});static#n=this.\u0275inj=e.cJS({imports:[z.vT,v.ez,t.u5]})}return y})()},98421:(tt,I,o)=>{"use strict";o.d(I,{Ju:()=>A,sn:()=>S});var e=o(97582),n=o(36028),t=o(65879),i=o(60095),l=o(92438),h=o(59773),E=o(83064),u=o(99087),z=o(27754),M=o(49388),p=o(96814),v=o(96109),_=o(90551);const d=["nz-rate-item",""];function m(k,R){}function f(k,R){}function C(k,R){1&k&&t._UZ(0,"span",4)}const T=function(k){return{$implicit:k}},b=["ulElement"];function D(k,R){if(1&k){const W=t.EpF();t.TgZ(0,"li",3)(1,"div",4),t.NdJ("itemHover",function(ze){const G=t.CHM(W).index,V=t.oxw();return t.KtG(V.onItemHover(G,ze))})("itemClick",function(ze){const G=t.CHM(W).index,V=t.oxw();return t.KtG(V.onItemClick(G,ze))}),t.qZA()()}if(2&k){const W=R.index,j=t.oxw();t.Q6J("ngClass",j.starStyleArray[W]||"")("nzTooltipTitle",j.nzTooltips[W]),t.xp6(1),t.Q6J("allowHalf",j.nzAllowHalf)("character",j.nzCharacter)("index",W)}}let y=(()=>{class k{constructor(){this.index=0,this.allowHalf=!1,this.itemHover=new t.vpe,this.itemClick=new t.vpe}hoverRate(W){this.itemHover.next(W&&this.allowHalf)}clickRate(W){this.itemClick.next(W&&this.allowHalf)}static#e=this.\u0275fac=function(j){return new(j||k)};static#t=this.\u0275cmp=t.Xpm({type:k,selectors:[["","nz-rate-item",""]],inputs:{character:"character",index:"index",allowHalf:"allowHalf"},outputs:{itemHover:"itemHover",itemClick:"itemClick"},exportAs:["nzRateItem"],attrs:d,decls:6,vars:8,consts:[[1,"ant-rate-star-second",3,"mouseover","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-rate-star-first",3,"mouseover","click"],["defaultCharacter",""],["nz-icon","","nzType","star","nzTheme","fill"]],template:function(j,ze){if(1&j&&(t.TgZ(0,"div",0),t.NdJ("mouseover",function(G){return ze.hoverRate(!1),G.stopPropagation()})("click",function(){return ze.clickRate(!1)}),t.YNc(1,m,0,0,"ng-template",1),t.qZA(),t.TgZ(2,"div",2),t.NdJ("mouseover",function(G){return ze.hoverRate(!0),G.stopPropagation()})("click",function(){return ze.clickRate(!0)}),t.YNc(3,f,0,0,"ng-template",1),t.qZA(),t.YNc(4,C,1,0,"ng-template",null,3,t.W1O)),2&j){const Y=t.MAs(5);t.xp6(1),t.Q6J("ngTemplateOutlet",ze.character||Y)("ngTemplateOutletContext",t.VKq(4,T,ze.index)),t.xp6(2),t.Q6J("ngTemplateOutlet",ze.character||Y)("ngTemplateOutletContext",t.VKq(6,T,ze.index))}},dependencies:[p.tP,_.Ls],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,z.yF)()],k.prototype,"allowHalf",void 0),k})();const P="rate";let S=(()=>{class k{get nzValue(){return this._value}set nzValue(W){this._value!==W&&(this._value=W,this.hasHalf=!Number.isInteger(W),this.hoverValue=Math.ceil(W))}constructor(W,j,ze,Y,G,V){this.nzConfigService=W,this.ngZone=j,this.renderer=ze,this.cdr=Y,this.directionality=G,this.destroy$=V,this._nzModuleName=P,this.nzAllowClear=!0,this.nzAllowHalf=!1,this.nzDisabled=!1,this.nzAutoFocus=!1,this.nzCount=5,this.nzTooltips=[],this.nzOnBlur=new t.vpe,this.nzOnFocus=new t.vpe,this.nzOnHoverChange=new t.vpe,this.nzOnKeyDown=new t.vpe,this.classMap={},this.starArray=[],this.starStyleArray=[],this.dir="ltr",this.hasHalf=!1,this.hoverValue=0,this.isFocused=!1,this._value=0,this.isNzDisableFirstChange=!0,this.onChange=()=>null,this.onTouched=()=>null}ngOnChanges(W){const{nzAutoFocus:j,nzCount:ze,nzValue:Y}=W;if(j&&!j.isFirstChange()){const G=this.ulElement.nativeElement;this.nzAutoFocus&&!this.nzDisabled?this.renderer.setAttribute(G,"autofocus","autofocus"):this.renderer.removeAttribute(G,"autofocus")}ze&&this.updateStarArray(),Y&&this.updateStarStyle()}ngOnInit(){this.nzConfigService.getConfigChangeEventForComponent(P).pipe((0,h.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change.pipe((0,h.R)(this.destroy$)).subscribe(W=>{this.dir=W,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,l.R)(this.ulElement.nativeElement,"focus").pipe((0,h.R)(this.destroy$)).subscribe(W=>{this.isFocused=!0,this.nzOnFocus.observers.length&&this.ngZone.run(()=>this.nzOnFocus.emit(W))}),(0,l.R)(this.ulElement.nativeElement,"blur").pipe((0,h.R)(this.destroy$)).subscribe(W=>{this.isFocused=!1,this.nzOnBlur.observers.length&&this.ngZone.run(()=>this.nzOnBlur.emit(W))})})}onItemClick(W,j){if(this.nzDisabled)return;this.hoverValue=W+1;const ze=j?W+.5:W+1;this.nzValue===ze?this.nzAllowClear&&(this.nzValue=0,this.onChange(this.nzValue)):(this.nzValue=ze,this.onChange(this.nzValue)),this.updateStarStyle()}onItemHover(W,j){this.nzDisabled||this.hoverValue===W+1&&j===this.hasHalf||(this.hoverValue=W+1,this.hasHalf=j,this.nzOnHoverChange.emit(this.hoverValue),this.updateStarStyle())}onRateLeave(){this.hasHalf=!Number.isInteger(this.nzValue),this.hoverValue=Math.ceil(this.nzValue),this.updateStarStyle()}focus(){this.ulElement.nativeElement.focus()}blur(){this.ulElement.nativeElement.blur()}onKeyDown(W){const j=this.nzValue;W.keyCode===n.SV&&this.nzValue0&&(this.nzValue-=this.nzAllowHalf?.5:1),j!==this.nzValue&&(this.onChange(this.nzValue),this.nzOnKeyDown.emit(W),this.updateStarStyle(),this.cdr.markForCheck())}updateStarArray(){this.starArray=Array(this.nzCount).fill(0).map((W,j)=>j),this.updateStarStyle()}updateStarStyle(){this.starStyleArray=this.starArray.map(W=>{const j="ant-rate-star",ze=W+1;return{[`${j}-full`]:zethis.hoverValue,[`${j}-focused`]:this.hasHalf&&ze===this.hoverValue&&this.isFocused}})}writeValue(W){this.nzValue=W||0,this.updateStarArray(),this.cdr.markForCheck()}setDisabledState(W){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||W,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}registerOnChange(W){this.onChange=W}registerOnTouched(W){this.onTouched=W}static#e=this.\u0275fac=function(j){return new(j||k)(t.Y36(E.jY),t.Y36(t.R0b),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(M.Is,8),t.Y36(u.kn))};static#t=this.\u0275cmp=t.Xpm({type:k,selectors:[["nz-rate"]],viewQuery:function(j,ze){if(1&j&&t.Gf(b,7),2&j){let Y;t.iGM(Y=t.CRH())&&(ze.ulElement=Y.first)}},inputs:{nzAllowClear:"nzAllowClear",nzAllowHalf:"nzAllowHalf",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzCharacter:"nzCharacter",nzCount:"nzCount",nzTooltips:"nzTooltips"},outputs:{nzOnBlur:"nzOnBlur",nzOnFocus:"nzOnFocus",nzOnHoverChange:"nzOnHoverChange",nzOnKeyDown:"nzOnKeyDown"},exportAs:["nzRate"],features:[t._Bn([u.kn,{provide:i.JU,useExisting:(0,t.Gpc)(()=>k),multi:!0}]),t.TTD],decls:3,vars:7,consts:[[1,"ant-rate",3,"ngClass","tabindex","keydown","mouseleave"],["ulElement",""],["class","ant-rate-star","nz-tooltip","",3,"ngClass","nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",1,"ant-rate-star",3,"ngClass","nzTooltipTitle"],["nz-rate-item","",3,"allowHalf","character","index","itemHover","itemClick"]],template:function(j,ze){1&j&&(t.TgZ(0,"ul",0,1),t.NdJ("keydown",function(G){return ze.onKeyDown(G),G.preventDefault()})("mouseleave",function(G){return ze.onRateLeave(),G.stopPropagation()}),t.YNc(2,D,2,5,"li",2),t.qZA()),2&j&&(t.ekj("ant-rate-disabled",ze.nzDisabled)("ant-rate-rtl","rtl"===ze.dir),t.Q6J("ngClass",ze.classMap)("tabindex",ze.nzDisabled?-1:1),t.xp6(2),t.Q6J("ngForOf",ze.starArray))},dependencies:[p.mk,p.sg,v.SY,y],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,E.oS)(),(0,z.yF)()],k.prototype,"nzAllowClear",void 0),(0,e.gn)([(0,E.oS)(),(0,z.yF)()],k.prototype,"nzAllowHalf",void 0),(0,e.gn)([(0,z.yF)()],k.prototype,"nzDisabled",void 0),(0,e.gn)([(0,z.yF)()],k.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,z.Rn)()],k.prototype,"nzCount",void 0),k})(),A=(()=>{class k{static#e=this.\u0275fac=function(j){return new(j||k)};static#t=this.\u0275mod=t.oAB({type:k});static#n=this.\u0275inj=t.cJS({imports:[M.vT,p.ez,_.PV,v.cg]})}return k})()},70612:(tt,I,o)=>{"use strict";o.d(I,{GS:()=>S,IJ:()=>f,Op:()=>P,m8:()=>b});var e=o(96814),n=o(65879),t=o(97582),i=o(78645),l=o(92438),h=o(63019),E=o(59773),u=o(32181),z=o(99087),M=o(27754),p=o(62831);const v=["*"];function _(A,k){if(1&A&&n._UZ(0,"nz-resize-handle",1),2&A){const R=k.$implicit;n.Q6J("nzDirection",R.direction)("nzCursorType",R.cursorType)}}function d(A){return(0,M.z6)(A)?A.touches[0]||A.changedTouches[0]:A}let m=(()=>{class A{constructor(R,W){this.ngZone=R,this.listeners=new Map,this.handleMouseDownOutsideAngular$=new i.x,this.documentMouseUpOutsideAngular$=new i.x,this.documentMouseMoveOutsideAngular$=new i.x,this.mouseEnteredOutsideAngular$=new i.x,this.document=W}startResizing(R){const W=(0,M.z6)(R);this.clearListeners();const ze=W?"touchend":"mouseup";this.listeners.set(W?"touchmove":"mousemove",V=>{this.documentMouseMoveOutsideAngular$.next(V)}),this.listeners.set(ze,V=>{this.documentMouseUpOutsideAngular$.next(V),this.clearListeners()}),this.ngZone.runOutsideAngular(()=>{this.listeners.forEach((V,K)=>{this.document.addEventListener(K,V)})})}clearListeners(){this.listeners.forEach((R,W)=>{this.document.removeEventListener(W,R)}),this.listeners.clear()}ngOnDestroy(){this.handleMouseDownOutsideAngular$.complete(),this.documentMouseUpOutsideAngular$.complete(),this.documentMouseMoveOutsideAngular$.complete(),this.mouseEnteredOutsideAngular$.complete(),this.clearListeners()}static#e=this.\u0275fac=function(W){return new(W||A)(n.LFG(n.R0b),n.LFG(e.K0))};static#t=this.\u0275prov=n.Yz7({token:A,factory:A.\u0275fac})}return A})(),f=(()=>{class A{constructor(R,W,j,ze,Y,G){this.elementRef=R,this.renderer=W,this.nzResizableService=j,this.platform=ze,this.ngZone=Y,this.destroy$=G,this.nzBounds="parent",this.nzMinHeight=40,this.nzMinWidth=40,this.nzGridColumnCount=-1,this.nzMaxColumn=-1,this.nzMinColumn=-1,this.nzLockAspectRatio=!1,this.nzPreview=!1,this.nzDisabled=!1,this.nzResize=new n.vpe,this.nzResizeEnd=new n.vpe,this.nzResizeStart=new n.vpe,this.resizing=!1,this.currentHandleEvent=null,this.ghostElement=null,this.sizeCache=null,this.nzResizableService.handleMouseDownOutsideAngular$.pipe((0,E.R)(this.destroy$)).subscribe(V=>{this.nzDisabled||(this.resizing=!0,this.nzResizableService.startResizing(V.mouseEvent),this.currentHandleEvent=V,this.nzResizeStart.observers.length&&this.ngZone.run(()=>this.nzResizeStart.emit({mouseEvent:V.mouseEvent,direction:V.direction})),this.elRect=this.el.getBoundingClientRect())}),this.nzResizableService.documentMouseUpOutsideAngular$.pipe((0,E.R)(this.destroy$),(0,u.h)(Boolean)).subscribe(V=>{this.resizing&&(this.resizing=!1,this.nzResizableService.documentMouseUpOutsideAngular$.next(null),this.endResize(V))}),this.nzResizableService.documentMouseMoveOutsideAngular$.pipe((0,E.R)(this.destroy$)).subscribe(V=>{this.resizing&&this.resize(V)})}setPosition(){const R=getComputedStyle(this.el).position;("static"===R||!R)&&this.renderer.setStyle(this.el,"position","relative")}calcSize(R,W,j){let ze,Y,G,V,K=0,ee=0,te=this.nzMinWidth,pe=1/0,re=1/0;if("parent"===this.nzBounds){const De=this.renderer.parentNode(this.el);if(De instanceof HTMLElement){const ae=De.getBoundingClientRect();pe=ae.width,re=ae.height}}else if("window"===this.nzBounds)typeof window<"u"&&(pe=window.innerWidth,re=window.innerHeight);else if(this.nzBounds&&this.nzBounds.nativeElement&&this.nzBounds.nativeElement instanceof HTMLElement){const De=this.nzBounds.nativeElement.getBoundingClientRect();pe=De.width,re=De.height}return G=(0,M.te)(this.nzMaxWidth,pe),V=(0,M.te)(this.nzMaxHeight,re),-1!==this.nzGridColumnCount&&(ee=G/this.nzGridColumnCount,te=-1!==this.nzMinColumn?ee*this.nzMinColumn:te,G=-1!==this.nzMaxColumn?ee*this.nzMaxColumn:G),-1!==j?/(left|right)/i.test(this.currentHandleEvent.direction)?(ze=Math.min(Math.max(R,te),G),Y=Math.min(Math.max(ze/j,this.nzMinHeight),V),(Y>=V||Y<=this.nzMinHeight)&&(ze=Math.min(Math.max(Y*j,te),G))):(Y=Math.min(Math.max(W,this.nzMinHeight),V),ze=Math.min(Math.max(Y*j,te),G),(ze>=G||ze<=te)&&(Y=Math.min(Math.max(ze/j,this.nzMinHeight),V))):(ze=Math.min(Math.max(R,te),G),Y=Math.min(Math.max(W,this.nzMinHeight),V)),-1!==this.nzGridColumnCount&&(K=Math.round(ze/ee),ze=K*ee),{col:K,width:ze,height:Y}}resize(R){const W=this.elRect,j=d(R),ze=d(this.currentHandleEvent.mouseEvent);let Y=W.width,G=W.height;const V=this.nzLockAspectRatio?Y/G:-1;switch(this.currentHandleEvent.direction){case"bottomRight":Y=j.clientX-W.left,G=j.clientY-W.top;break;case"bottomLeft":Y=W.width+ze.clientX-j.clientX,G=j.clientY-W.top;break;case"topRight":Y=j.clientX-W.left,G=W.height+ze.clientY-j.clientY;break;case"topLeft":Y=W.width+ze.clientX-j.clientX,G=W.height+ze.clientY-j.clientY;break;case"top":G=W.height+ze.clientY-j.clientY;break;case"right":Y=j.clientX-W.left;break;case"bottom":G=j.clientY-W.top;break;case"left":Y=W.width+ze.clientX-j.clientX}const K=this.calcSize(Y,G,V);this.sizeCache={...K},this.nzResize.observers.length&&this.ngZone.run(()=>{this.nzResize.emit({...K,mouseEvent:R,direction:this.currentHandleEvent.direction})}),this.nzPreview&&this.previewResize(K)}endResize(R){this.removeGhostElement();const W=this.sizeCache?{...this.sizeCache}:{width:this.elRect.width,height:this.elRect.height};this.nzResizeEnd.observers.length&&this.ngZone.run(()=>{this.nzResizeEnd.emit({...W,mouseEvent:R,direction:this.currentHandleEvent.direction})}),this.sizeCache=null,this.currentHandleEvent=null}previewResize({width:R,height:W}){this.createGhostElement(),this.renderer.setStyle(this.ghostElement,"width",`${R}px`),this.renderer.setStyle(this.ghostElement,"height",`${W}px`)}createGhostElement(){this.ghostElement||(this.ghostElement=this.renderer.createElement("div"),this.renderer.setAttribute(this.ghostElement,"class","nz-resizable-preview")),this.renderer.appendChild(this.el,this.ghostElement)}removeGhostElement(){this.ghostElement&&this.renderer.removeChild(this.el,this.ghostElement)}ngAfterViewInit(){this.platform.isBrowser&&(this.el=this.elementRef.nativeElement,this.setPosition(),this.ngZone.runOutsideAngular(()=>{(0,l.R)(this.el,"mouseenter").pipe((0,E.R)(this.destroy$)).subscribe(()=>{this.nzResizableService.mouseEnteredOutsideAngular$.next(!0)}),(0,l.R)(this.el,"mouseleave").pipe((0,E.R)(this.destroy$)).subscribe(()=>{this.nzResizableService.mouseEnteredOutsideAngular$.next(!1)})}))}ngOnDestroy(){this.ghostElement=null,this.sizeCache=null}static#e=this.\u0275fac=function(W){return new(W||A)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(m),n.Y36(p.t4),n.Y36(n.R0b),n.Y36(z.kn))};static#t=this.\u0275dir=n.lG2({type:A,selectors:[["","nz-resizable",""]],hostAttrs:[1,"nz-resizable"],hostVars:4,hostBindings:function(W,j){2&W&&n.ekj("nz-resizable-resizing",j.resizing)("nz-resizable-disabled",j.nzDisabled)},inputs:{nzBounds:"nzBounds",nzMaxHeight:"nzMaxHeight",nzMaxWidth:"nzMaxWidth",nzMinHeight:"nzMinHeight",nzMinWidth:"nzMinWidth",nzGridColumnCount:"nzGridColumnCount",nzMaxColumn:"nzMaxColumn",nzMinColumn:"nzMinColumn",nzLockAspectRatio:"nzLockAspectRatio",nzPreview:"nzPreview",nzDisabled:"nzDisabled"},outputs:{nzResize:"nzResize",nzResizeEnd:"nzResizeEnd",nzResizeStart:"nzResizeStart"},exportAs:["nzResizable"],features:[n._Bn([m,z.kn])]})}return(0,t.gn)([(0,M.yF)()],A.prototype,"nzLockAspectRatio",void 0),(0,t.gn)([(0,M.yF)()],A.prototype,"nzPreview",void 0),(0,t.gn)([(0,M.yF)()],A.prototype,"nzDisabled",void 0),A})();class C{constructor(k,R){this.direction=k,this.mouseEvent=R}}const T=(0,p.i$)({passive:!0});let b=(()=>{class A{constructor(R,W,j,ze,Y){this.ngZone=R,this.nzResizableService=W,this.renderer=j,this.host=ze,this.destroy$=Y,this.nzDirection="bottomRight",this.nzCursorType="window",this.nzMouseDown=new n.vpe}ngOnInit(){this.nzResizableService.mouseEnteredOutsideAngular$.pipe((0,E.R)(this.destroy$)).subscribe(R=>{R?this.renderer.addClass(this.host.nativeElement,"nz-resizable-handle-box-hover"):this.renderer.removeClass(this.host.nativeElement,"nz-resizable-handle-box-hover")}),this.ngZone.runOutsideAngular(()=>{(0,h.T)((0,l.R)(this.host.nativeElement,"mousedown",T),(0,l.R)(this.host.nativeElement,"touchstart",T)).pipe((0,E.R)(this.destroy$)).subscribe(R=>{this.nzResizableService.handleMouseDownOutsideAngular$.next(new C(this.nzDirection,R))})})}onPointerDown(R){this.host.nativeElement.setPointerCapture(R.pointerId)}onPointerUp(R){this.host.nativeElement.releasePointerCapture(R.pointerId)}static#e=this.\u0275fac=function(W){return new(W||A)(n.Y36(n.R0b),n.Y36(m),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(z.kn))};static#t=this.\u0275cmp=n.Xpm({type:A,selectors:[["nz-resize-handle"],["","nz-resize-handle",""]],hostAttrs:[1,"nz-resizable-handle"],hostVars:20,hostBindings:function(W,j){1&W&&n.NdJ("pointerdown",function(Y){return j.onPointerDown(Y)})("pointerup",function(Y){return j.onPointerUp(Y)}),2&W&&n.ekj("nz-resizable-handle-top","top"===j.nzDirection)("nz-resizable-handle-right","right"===j.nzDirection)("nz-resizable-handle-bottom","bottom"===j.nzDirection)("nz-resizable-handle-left","left"===j.nzDirection)("nz-resizable-handle-topRight","topRight"===j.nzDirection)("nz-resizable-handle-bottomRight","bottomRight"===j.nzDirection)("nz-resizable-handle-bottomLeft","bottomLeft"===j.nzDirection)("nz-resizable-handle-topLeft","topLeft"===j.nzDirection)("nz-resizable-handle-cursor-type-grid","grid"===j.nzCursorType)("nz-resizable-handle-cursor-type-window","window"===j.nzCursorType)},inputs:{nzDirection:"nzDirection",nzCursorType:"nzCursorType"},outputs:{nzMouseDown:"nzMouseDown"},exportAs:["nzResizeHandle"],features:[n._Bn([z.kn])],ngContentSelectors:v,decls:1,vars:0,template:function(W,j){1&W&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return A})();const D=["bottomRight","topRight","bottomLeft","topLeft","bottom","right","top","left"];function y(A){return A.map(k=>"string"==typeof k?{direction:k,cursorType:"window"}:k)}let P=(()=>{class A{constructor(){this.nzDirections=D,this.resizeHandleOptions=y(this.nzDirections)}ngOnChanges(R){R.nzDirections&&(this.resizeHandleOptions=y(R.nzDirections.currentValue))}static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275cmp=n.Xpm({type:A,selectors:[["nz-resize-handles"]],inputs:{nzDirections:"nzDirections"},exportAs:["nzResizeHandles"],features:[n.TTD],decls:1,vars:1,consts:[[3,"nzDirection","nzCursorType",4,"ngFor","ngForOf"],[3,"nzDirection","nzCursorType"]],template:function(W,j){1&W&&n.YNc(0,_,1,2,"nz-resize-handle",0),2&W&&n.Q6J("ngForOf",j.resizeHandleOptions)},dependencies:[e.sg,b],encapsulation:2,changeDetection:0})}return A})(),S=(()=>{class A{static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275mod=n.oAB({type:A});static#n=this.\u0275inj=n.cJS({imports:[e.ez]})}return A})()},9691:(tt,I,o)=>{"use strict";o.d(I,{Go:()=>je,Gt:()=>ge,Ip:()=>Xe,LV:()=>Ze,Vq:()=>Ke,Y6:()=>Ye,Yy:()=>St,kq:()=>wt,uf:()=>Ee});var e=o(65879),n=o(78645),t=o(92438),i=o(65619),l=o(22096),h=o(52572),E=o(63019),u=o(205),z=o(96814),M=o(60804),p=o(59773),v=o(27921),_=o(93997),d=o(42460),m=o(37398),f=o(94664),C=o(99087),T=o(90551),b=o(70855),D=o(8324),y=o(97582),P=o(27754),S=o(36028),A=o(33651),k=o(60095),R=o(64194),W=o(83064),j=o(85448),ze=o(56879),Y=o(4300),G=o(331),V=o(62831),K=o(49388),ee=o(50883),te=o(12131);const pe=["*"];function re(ve,nt){}function De(ve,nt){if(1&ve&&e.YNc(0,re,0,0,"ng-template",4),2&ve){const x=e.oxw();e.Q6J("ngTemplateOutlet",x.template)}}function ae(ve,nt){if(1&ve&&e._uU(0),2&ve){const x=e.oxw();e.Oqu(x.label)}}function ce(ve,nt){1&ve&&e._UZ(0,"span",7)}function X(ve,nt){if(1&ve&&(e.TgZ(0,"div",5),e.YNc(1,ce,1,0,"span",6),e.qZA()),2&ve){const x=e.oxw();e.xp6(1),e.Q6J("ngIf",!x.icon)("ngIfElse",x.icon)}}function ne(ve,nt){if(1&ve&&(e.ynx(0),e._uU(1),e.BQk()),2&ve){const x=e.oxw();e.xp6(1),e.Oqu(x.nzLabel)}}function le(ve,nt){if(1&ve&&(e.TgZ(0,"div",4),e._UZ(1,"nz-embed-empty",5),e.qZA()),2&ve){const x=e.oxw();e.xp6(1),e.Q6J("specificContent",x.notFoundContent)}}function Se(ve,nt){if(1&ve&&e._UZ(0,"nz-option-item-group",9),2&ve){const x=e.oxw().$implicit;e.Q6J("nzLabel",x.groupLabel)}}function Ne(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"nz-option-item",10),e.NdJ("itemHover",function(O){e.CHM(x);const $=e.oxw(2);return e.KtG($.onItemHover(O))})("itemClick",function(O){e.CHM(x);const $=e.oxw(2);return e.KtG($.onItemClick(O))}),e.qZA()}if(2&ve){const x=e.oxw().$implicit,N=e.oxw();e.Q6J("icon",N.menuItemSelectedIcon)("customContent",x.nzCustomContent)("template",x.template)("grouped",!!x.groupLabel)("disabled",x.nzDisabled)("showState","tags"===N.mode||"multiple"===N.mode)("label",x.nzLabel)("compareWith",N.compareWith)("activatedValue",N.activatedValue)("listOfSelectedValue",N.listOfSelectedValue)("value",x.nzValue)}}function ke(ve,nt){1&ve&&(e.ynx(0,6),e.YNc(1,Se,1,1,"nz-option-item-group",7),e.YNc(2,Ne,1,11,"nz-option-item",8),e.BQk()),2&ve&&(e.Q6J("ngSwitch",nt.$implicit.type),e.xp6(1),e.Q6J("ngSwitchCase","group"),e.xp6(1),e.Q6J("ngSwitchCase","item"))}function oe(ve,nt){}function _e(ve,nt){1&ve&&e.Hsn(0)}const Q=["inputElement"],He=["mirrorElement"];function Re(ve,nt){1&ve&&e._UZ(0,"span",3,4)}function lt(ve,nt){if(1&ve&&(e.TgZ(0,"div",4),e._uU(1),e.qZA()),2&ve){const x=e.oxw(2);e.xp6(1),e.Oqu(x.label)}}function Pe(ve,nt){if(1&ve&&e._uU(0),2&ve){const x=e.oxw(2);e.Oqu(x.label)}}function xt(ve,nt){if(1&ve&&(e.ynx(0),e.YNc(1,lt,2,1,"div",2),e.YNc(2,Pe,1,1,"ng-template",null,3,e.W1O),e.BQk()),2&ve){const x=e.MAs(3),N=e.oxw();e.xp6(1),e.Q6J("ngIf",N.deletable)("ngIfElse",x)}}function $e(ve,nt){1&ve&&e._UZ(0,"span",7)}function ot(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"span",5),e.NdJ("click",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onDelete(O))}),e.YNc(1,$e,1,0,"span",6),e.qZA()}if(2&ve){const x=e.oxw();e.xp6(1),e.Q6J("ngIf",!x.removeIcon)("ngIfElse",x.removeIcon)}}const mt=function(ve){return{$implicit:ve}};function we(ve,nt){if(1&ve&&(e.ynx(0),e._uU(1),e.BQk()),2&ve){const x=e.oxw();e.xp6(1),e.hij(" ",x.placeholder," ")}}function de(ve,nt){if(1&ve&&e._UZ(0,"nz-select-item",6),2&ve){const x=e.oxw(2);e.Q6J("deletable",!1)("disabled",!1)("removeIcon",x.removeIcon)("label",x.listOfTopItem[0].nzLabel)("contentTemplateOutlet",x.customTemplate)("contentTemplateOutletContext",x.listOfTopItem[0])}}function U(ve,nt){if(1&ve){const x=e.EpF();e.ynx(0),e.TgZ(1,"nz-select-search",4),e.NdJ("isComposingChange",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.isComposingChange(O))})("valueChange",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onInputValueChange(O))}),e.qZA(),e.YNc(2,de,1,6,"nz-select-item",5),e.BQk()}if(2&ve){const x=e.oxw();e.xp6(1),e.Q6J("nzId",x.nzId)("disabled",x.disabled)("value",x.inputValue)("showInput",x.showSearch)("mirrorSync",!1)("autofocus",x.autofocus)("focusTrigger",x.open),e.xp6(1),e.Q6J("ngIf",x.isShowSingleLabel)}}function B(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"nz-select-item",9),e.NdJ("delete",function(){const $=e.CHM(x).$implicit,L=e.oxw(2);return e.KtG(L.onDeleteItem($.contentTemplateOutletContext))}),e.qZA()}if(2&ve){const x=nt.$implicit,N=e.oxw(2);e.Q6J("removeIcon",N.removeIcon)("label",x.nzLabel)("disabled",x.nzDisabled||N.disabled)("contentTemplateOutlet",x.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",x.contentTemplateOutletContext)}}function Me(ve,nt){if(1&ve){const x=e.EpF();e.ynx(0),e.YNc(1,B,1,6,"nz-select-item",7),e.TgZ(2,"nz-select-search",8),e.NdJ("isComposingChange",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.isComposingChange(O))})("valueChange",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onInputValueChange(O))}),e.qZA(),e.BQk()}if(2&ve){const x=e.oxw();e.xp6(1),e.Q6J("ngForOf",x.listOfSlicedItem)("ngForTrackBy",x.trackValue),e.xp6(1),e.Q6J("nzId",x.nzId)("disabled",x.disabled)("value",x.inputValue)("autofocus",x.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",x.open)}}function Ae(ve,nt){if(1&ve&&e._UZ(0,"nz-select-placeholder",10),2&ve){const x=e.oxw();e.Q6J("placeholder",x.placeHolder)}}function Le(ve,nt){1&ve&&e._UZ(0,"span",1)}function ht(ve,nt){1&ve&&e._UZ(0,"span",3)}function Ot(ve,nt){1&ve&&e._UZ(0,"span",8)}function Lt(ve,nt){1&ve&&e._UZ(0,"span",9)}function Wt(ve,nt){if(1&ve&&(e.ynx(0),e.YNc(1,Ot,1,0,"span",6),e.YNc(2,Lt,1,0,"span",7),e.BQk()),2&ve){const x=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!x.search),e.xp6(1),e.Q6J("ngIf",x.search)}}function qt(ve,nt){if(1&ve&&e._UZ(0,"span",11),2&ve){const x=e.oxw().$implicit;e.Q6J("nzType",x)}}function en(ve,nt){if(1&ve&&(e.ynx(0),e.YNc(1,qt,1,1,"span",10),e.BQk()),2&ve){const x=nt.$implicit;e.xp6(1),e.Q6J("ngIf",x)}}function Vt(ve,nt){if(1&ve&&e.YNc(0,en,2,1,"ng-container",2),2&ve){const x=e.oxw(2);e.Q6J("nzStringTemplateOutlet",x.suffixIcon)}}function cn(ve,nt){if(1&ve&&(e.YNc(0,Wt,3,2,"ng-container",4),e.YNc(1,Vt,1,1,"ng-template",null,5,e.W1O)),2&ve){const x=e.MAs(2),N=e.oxw();e.Q6J("ngIf",N.showArrow&&!N.suffixIcon)("ngIfElse",x)}}function ft(ve,nt){if(1&ve&&(e.ynx(0),e._uU(1),e.BQk()),2&ve){const x=e.oxw();e.xp6(1),e.Oqu(x.feedbackIcon)}}function gt(ve,nt){if(1&ve&&e._UZ(0,"nz-form-item-feedback-icon",8),2&ve){const x=e.oxw(3);e.Q6J("status",x.status)}}function Ie(ve,nt){if(1&ve&&e.YNc(0,gt,1,1,"nz-form-item-feedback-icon",7),2&ve){const x=e.oxw(2);e.Q6J("ngIf",x.hasFeedback&&!!x.status)}}function Ct(ve,nt){if(1&ve&&(e.TgZ(0,"nz-select-arrow",5),e.YNc(1,Ie,1,1,"ng-template",null,6,e.W1O),e.qZA()),2&ve){const x=e.MAs(2),N=e.oxw();e.Q6J("showArrow",N.nzShowArrow)("loading",N.nzLoading)("search",N.nzOpen&&N.nzShowSearch)("suffixIcon",N.nzSuffixIcon)("feedbackIcon",x)}}function Nt(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"nz-select-clear",9),e.NdJ("clear",function(){e.CHM(x);const O=e.oxw();return e.KtG(O.onClearSelection())}),e.qZA()}if(2&ve){const x=e.oxw();e.Q6J("clearIcon",x.nzClearIcon)}}function kt(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"nz-option-container",10),e.NdJ("keydown",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onKeyDown(O))})("itemClick",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onItemClick(O))})("scrollToBottom",function(){e.CHM(x);const O=e.oxw();return e.KtG(O.nzScrollToBottom.emit())}),e.qZA()}if(2&ve){const x=e.oxw();e.ekj("ant-select-dropdown-placement-bottomLeft","bottomLeft"===x.dropDownPosition)("ant-select-dropdown-placement-topLeft","topLeft"===x.dropDownPosition)("ant-select-dropdown-placement-bottomRight","bottomRight"===x.dropDownPosition)("ant-select-dropdown-placement-topRight","topRight"===x.dropDownPosition),e.Q6J("ngStyle",x.nzDropdownStyle)("itemSize",x.nzOptionHeightPx)("maxItemLength",x.nzOptionOverflowSize)("matchWidth",x.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",!(null==x.noAnimation||!x.noAnimation.nzNoAnimation))("nzNoAnimation",null==x.noAnimation?null:x.noAnimation.nzNoAnimation)("listOfContainerItem",x.listOfContainerItem)("menuItemSelectedIcon",x.nzMenuItemSelectedIcon)("notFoundContent",x.nzNotFoundContent)("activatedValue",x.activatedValue)("listOfSelectedValue",x.listOfValue)("dropdownRender",x.nzDropdownRender)("compareWith",x.compareWith)("mode",x.nzMode)}}let St=(()=>{class ve{constructor(){this.nzLabel=null,this.changes=new n.x}ngOnChanges(){this.changes.next()}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[e.TTD],ngContentSelectors:pe,decls:1,vars:0,template:function(N,O){1&N&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return ve})(),qe=(()=>{class ve{constructor(x,N,O){this.elementRef=x,this.ngZone=N,this.destroy$=O,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new e.vpe,this.itemHover=new e.vpe}ngOnChanges(x){const{value:N,activatedValue:O,listOfSelectedValue:$}=x;(N||$)&&(this.selected=this.listOfSelectedValue.some(L=>this.compareWith(L,this.value))),(N||O)&&(this.activated=this.compareWith(this.activatedValue,this.value))}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,t.R)(this.elementRef.nativeElement,"click").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value))}),(0,t.R)(this.elementRef.nativeElement,"mouseenter").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value))})})}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(C.kn))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(N,O){2&N&&(e.uIk("title",O.label),e.ekj("ant-select-item-option-grouped",O.grouped)("ant-select-item-option-selected",O.selected&&!O.disabled)("ant-select-item-option-disabled",O.disabled)("ant-select-item-option-active",O.activated&&!O.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[e._Bn([C.kn]),e.TTD],decls:5,vars:3,consts:[[1,"ant-select-item-option-content"],[3,"ngIf","ngIfElse"],["noCustomContent",""],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(N,O){if(1&N&&(e.TgZ(0,"div",0),e.YNc(1,De,1,1,"ng-template",1),e.YNc(2,ae,1,1,"ng-template",null,2,e.W1O),e.qZA(),e.YNc(4,X,2,2,"div",3)),2&N){const $=e.MAs(3);e.xp6(1),e.Q6J("ngIf",O.customContent)("ngIfElse",$),e.xp6(3),e.Q6J("ngIf",O.showState&&O.selected)}},dependencies:[z.O5,z.tP,T.Ls,b.w],encapsulation:2,changeDetection:0})}return ve})(),Fe=(()=>{class ve{constructor(){this.nzLabel=null}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(N,O){1&N&&e.YNc(0,ne,2,1,"ng-container",0),2&N&&e.Q6J("nzStringTemplateOutlet",O.nzLabel)},dependencies:[D.f],encapsulation:2,changeDetection:0})}return ve})(),fe=(()=>{class ve{constructor(){this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new e.vpe,this.scrollToBottom=new e.vpe,this.scrolledIndex=0}onItemClick(x){this.itemClick.emit(x)}onItemHover(x){this.activatedValue=x}trackValue(x,N){return N.key}onScrolledIndexChange(x){this.scrolledIndex=x,x===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const x=this.listOfContainerItem.findIndex(N=>this.compareWith(N.key,this.activatedValue));(x=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(x||0)}ngOnChanges(x){const{listOfContainerItem:N,activatedValue:O}=x;(N||O)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option-container"]],viewQuery:function(N,O){if(1&N&&e.Gf(u.N7,7),2&N){let $;e.iGM($=e.CRH())&&(O.cdkVirtualScrollViewport=$.first)}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[e.TTD],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(N,O){1&N&&(e.TgZ(0,"div"),e.YNc(1,le,2,1,"div",0),e.TgZ(2,"cdk-virtual-scroll-viewport",1),e.NdJ("scrolledIndexChange",function(L){return O.onScrolledIndexChange(L)}),e.YNc(3,ke,3,3,"ng-template",2),e.qZA(),e.YNc(4,oe,0,0,"ng-template",3),e.qZA()),2&N&&(e.xp6(1),e.Q6J("ngIf",0===O.listOfContainerItem.length),e.xp6(1),e.Udp("height",O.listOfContainerItem.length*O.itemSize,"px")("max-height",O.itemSize*O.maxItemLength,"px"),e.ekj("full-width",!O.matchWidth),e.Q6J("itemSize",O.itemSize)("maxBufferPx",O.itemSize*O.maxItemLength)("minBufferPx",O.itemSize*O.maxItemLength),e.xp6(1),e.Q6J("cdkVirtualForOf",O.listOfContainerItem)("cdkVirtualForTrackBy",O.trackValue)("cdkVirtualForTemplateCacheSize",0),e.xp6(1),e.Q6J("ngTemplateOutlet",O.dropdownRender))},dependencies:[z.O5,z.tP,z.RF,z.n9,u.xd,u.x0,u.N7,M.gB,qe,Fe],encapsulation:2,changeDetection:0})}return ve})(),Xe=(()=>{class ve{constructor(x,N){this.nzOptionGroupComponent=x,this.destroy$=N,this.changes=new n.x,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe((0,v.O)(!0),(0,p.R)(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(St,8),e.Y36(C.kn))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option"]],viewQuery:function(N,O){if(1&N&&e.Gf(e.Rgc,7),2&N){let $;e.iGM($=e.CRH())&&(O.template=$.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzKey:"nzKey",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[e._Bn([C.kn]),e.TTD],ngContentSelectors:pe,decls:1,vars:0,template:function(N,O){1&N&&(e.F$t(),e.YNc(0,_e,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return(0,y.gn)([(0,P.yF)()],ve.prototype,"nzDisabled",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzHide",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzCustomContent",void 0),ve})(),ge=(()=>{class ve{setCompositionState(x){this.isComposingChange.next(x)}onValueChange(x){this.value=x,this.valueChange.next(x),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const x=this.mirrorElement.nativeElement,N=this.elementRef.nativeElement,O=this.inputElement.nativeElement;this.renderer.removeStyle(N,"width"),this.renderer.setProperty(x,"textContent",`${O.value}\xa0`),this.renderer.setStyle(N,"width",`${x.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(x,N,O){this.elementRef=x,this.renderer=N,this.focusMonitor=O,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new e.vpe,this.isComposingChange=new e.vpe}ngOnChanges(x){const N=this.inputElement.nativeElement,{focusTrigger:O,showInput:$}=x;$&&(this.showInput?this.renderer.removeAttribute(N,"readonly"):this.renderer.setAttribute(N,"readonly","readonly")),O&&!0===O.currentValue&&!1===O.previousValue&&N.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Y.tE))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-search"]],viewQuery:function(N,O){if(1&N&&(e.Gf(Q,7),e.Gf(He,5)),2&N){let $;e.iGM($=e.CRH())&&(O.inputElement=$.first),e.iGM($=e.CRH())&&(O.mirrorElement=$.first)}},hostAttrs:[1,"ant-select-selection-search"],inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[e._Bn([{provide:k.ve,useValue:!1}]),e.TTD],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(N,O){1&N&&(e.TgZ(0,"input",0,1),e.NdJ("ngModelChange",function(L){return O.onValueChange(L)})("compositionstart",function(){return O.setCompositionState(!0)})("compositionend",function(){return O.setCompositionState(!1)}),e.qZA(),e.YNc(2,Re,2,0,"span",2)),2&N&&(e.Udp("opacity",O.showInput?null:0),e.Q6J("ngModel",O.value)("disabled",O.disabled),e.uIk("id",O.nzId)("autofocus",O.autofocus?"autofocus":null),e.xp6(2),e.Q6J("ngIf",O.mirrorSync))},dependencies:[z.O5,k.Fj,k.JJ,k.On],encapsulation:2,changeDetection:0})}return ve})(),je=(()=>{class ve{constructor(){this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new e.vpe}onDelete(x){x.preventDefault(),x.stopPropagation(),this.disabled||this.delete.next(x)}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(N,O){2&N&&(e.uIk("title",O.label),e.ekj("ant-select-selection-item-disabled",O.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(N,O){1&N&&(e.YNc(0,xt,4,2,"ng-container",0),e.YNc(1,ot,2,2,"span",1)),2&N&&(e.Q6J("nzStringTemplateOutlet",O.contentTemplateOutlet)("nzStringTemplateOutletContext",e.VKq(3,mt,O.contentTemplateOutletContext)),e.xp6(1),e.Q6J("ngIf",O.deletable&&!O.disabled))},dependencies:[z.O5,T.Ls,D.f,b.w],encapsulation:2,changeDetection:0})}return ve})(),Ye=(()=>{class ve{constructor(){this.placeholder=null}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(N,O){1&N&&e.YNc(0,we,2,1,"ng-container",0),2&N&&e.Q6J("nzStringTemplateOutlet",O.placeholder)},dependencies:[D.f],encapsulation:2,changeDetection:0})}return ve})(),We=(()=>{class ve{updateTemplateVariable(){const x=0===this.listOfTopItem.length;this.isShowPlaceholder=x&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!x&&!this.isComposing&&!this.inputValue}isComposingChange(x){this.isComposing=x,this.updateTemplateVariable()}onInputValueChange(x){x!==this.inputValue&&(this.inputValue=x,this.updateTemplateVariable(),this.inputValueChange.emit(x),this.tokenSeparate(x,this.tokenSeparators))}tokenSeparate(x,N){if(x&&x.length&&N.length&&"default"!==this.mode&&((L,he)=>{for(let Ce=0;Ce0)return!0;return!1})(x,N)){const L=((L,he)=>{const Ce=new RegExp(`[${he.join()}]`),Dt=L.split(Ce).filter(Yt=>Yt);return[...new Set(Dt)]})(x,N);this.tokenize.next(L)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(x,N){return N.nzValue}onDeleteItem(x){!this.disabled&&!x.nzDisabled&&this.deleteItem.next(x)}constructor(x,N,O){this.elementRef=x,this.ngZone=N,this.noAnimation=O,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new e.vpe,this.inputValueChange=new e.vpe,this.deleteItem=new e.vpe,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.destroy$=new n.x}ngOnChanges(x){const{listOfTopItem:N,maxTagCount:O,customTemplate:$,maxTagPlaceholder:L}=x;if(N&&this.updateTemplateVariable(),N||O||$||L){const he=this.listOfTopItem.slice(0,this.maxTagCount).map(Ce=>({nzLabel:Ce.nzLabel,nzValue:Ce.nzValue,nzDisabled:Ce.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:Ce}));if(this.listOfTopItem.length>this.maxTagCount){const Ce=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,Dt=this.listOfTopItem.map(rn=>rn.nzValue),Yt={nzLabel:Ce,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:Dt.slice(this.maxTagCount)};he.push(Yt)}this.listOfSlicedItem=he}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,t.R)(this.elementRef.nativeElement,"click").pipe((0,p.R)(this.destroy$)).subscribe(x=>{x.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus()}),(0,t.R)(this.elementRef.nativeElement,"keydown").pipe((0,p.R)(this.destroy$)).subscribe(x=>{x.target instanceof HTMLInputElement&&x.keyCode===S.ZH&&"default"!==this.mode&&!x.target.value&&this.listOfTopItem.length>0&&(x.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])))})})}ngOnDestroy(){this.destroy$.next()}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(G.P,9))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-top-control"]],viewQuery:function(N,O){if(1&N&&e.Gf(ge,5),2&N){let $;e.iGM($=e.CRH())&&(O.nzSelectSearchComponent=$.first)}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[e.TTD],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(N,O){1&N&&(e.ynx(0,0),e.YNc(1,U,3,8,"ng-container",1),e.YNc(2,Me,3,9,"ng-container",2),e.BQk(),e.YNc(3,Ae,1,1,"nz-select-placeholder",3)),2&N&&(e.Q6J("ngSwitch",O.mode),e.xp6(1),e.Q6J("ngSwitchCase","default"),e.xp6(2),e.Q6J("ngIf",O.isShowPlaceholder))},dependencies:[z.sg,z.O5,z.RF,z.n9,z.ED,b.w,ge,je,Ye],encapsulation:2,changeDetection:0})}return ve})(),wt=(()=>{class ve{constructor(){this.clearIcon=null,this.clear=new e.vpe}onClick(x){x.preventDefault(),x.stopPropagation(),this.clear.emit(x)}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(N,O){1&N&&e.NdJ("click",function(L){return O.onClick(L)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(N,O){1&N&&e.YNc(0,Le,1,0,"span",0),2&N&&e.Q6J("ngIf",!O.clearIcon)("ngIfElse",O.clearIcon)},dependencies:[z.O5,T.Ls,b.w],encapsulation:2,changeDetection:0})}return ve})(),Ee=(()=>{class ve{constructor(){this.loading=!1,this.search=!1,this.showArrow=!1,this.suffixIcon=null,this.feedbackIcon=null}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(N,O){2&N&&e.ekj("ant-select-arrow-loading",O.loading)},inputs:{loading:"loading",search:"search",showArrow:"showArrow",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon"},decls:4,vars:3,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(N,O){if(1&N&&(e.YNc(0,ht,1,0,"span",0),e.YNc(1,cn,3,2,"ng-template",null,1,e.W1O),e.YNc(3,ft,2,1,"ng-container",2)),2&N){const $=e.MAs(2);e.Q6J("ngIf",O.loading)("ngIfElse",$),e.xp6(3),e.Q6J("nzStringTemplateOutlet",O.feedbackIcon)}},dependencies:[z.O5,T.Ls,D.f,b.w],encapsulation:2,changeDetection:0})}return ve})();const be=(ve,nt)=>!(!nt||!nt.nzLabel)&&nt.nzLabel.toString().toLowerCase().indexOf(ve.toLowerCase())>-1;let Ke=(()=>{class ve{set nzShowArrow(x){this._nzShowArrow=x}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(x){return{nzValue:x,nzLabel:x,type:"item"}}onItemClick(x){if(this.activatedValue=x,"default"===this.nzMode)(0===this.listOfValue.length||!this.compareWith(this.listOfValue[0],x))&&this.updateListOfValue([x]),this.setOpenState(!1);else{const N=this.listOfValue.findIndex(O=>this.compareWith(O,x));if(-1!==N){const O=this.listOfValue.filter(($,L)=>L!==N);this.updateListOfValue(O)}else if(this.listOfValue.length!this.compareWith(O,x.nzValue));this.updateListOfValue(N),this.clearInput()}updateListOfContainerItem(){let x=this.listOfTagAndTemplateItem.filter($=>!$.nzHide).filter($=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,$));if("tags"===this.nzMode&&this.searchValue){const $=this.listOfTagAndTemplateItem.find(L=>L.nzLabel===this.searchValue);if($)this.activatedValue=$.nzValue;else{const L=this.generateTagItem(this.searchValue);x=[L,...x],this.activatedValue=L.nzValue}}const N=x.find($=>$.nzLabel===this.searchValue)||x.find($=>this.compareWith($.nzValue,this.activatedValue))||x.find($=>this.compareWith($.nzValue,this.listOfValue[0]))||x[0];this.activatedValue=N&&N.nzValue||null;let O=[];this.isReactiveDriven?O=[...new Set(this.nzOptions.filter($=>$.groupLabel).map($=>$.groupLabel))]:this.listOfNzOptionGroupComponent&&(O=this.listOfNzOptionGroupComponent.map($=>$.nzLabel)),O.forEach($=>{const L=x.findIndex(he=>$===he.groupLabel);L>-1&&x.splice(L,0,{groupLabel:$,type:"group",key:$})}),this.listOfContainerItem=[...x],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(x){const O=(($,L)=>"default"===this.nzMode?$.length>0?$[0]:null:$)(x);this.value!==O&&(this.listOfValue=x,this.listOfValue$.next(x),this.value=O,this.onChange(this.value))}onTokenSeparate(x){const N=this.listOfTagAndTemplateItem.filter(O=>-1!==x.findIndex($=>$===O.nzLabel)).map(O=>O.nzValue).filter(O=>-1===this.listOfValue.findIndex($=>this.compareWith($,O)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...N]);else if("tags"===this.nzMode){const O=x.filter($=>-1===this.listOfTagAndTemplateItem.findIndex(L=>L.nzLabel===$));this.updateListOfValue([...this.listOfValue,...N,...O])}this.clearInput()}onKeyDown(x){if(this.nzDisabled)return;const N=this.listOfContainerItem.filter($=>"item"===$.type).filter($=>!$.nzDisabled),O=N.findIndex($=>this.compareWith($.nzValue,this.activatedValue));switch(x.keyCode){case S.LH:x.preventDefault(),this.nzOpen&&N.length>0&&(this.activatedValue=N[O>0?O-1:N.length-1].nzValue);break;case S.JH:x.preventDefault(),this.nzOpen&&N.length>0?this.activatedValue=N[O{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,x!==this.triggerWidth&&this.cdr.detectChanges()})}}updateCdkConnectedOverlayPositions(){(0,ze.e)(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}constructor(x,N,O,$,L,he,Ce,Dt,Yt,rn,hn,yn){this.ngZone=x,this.destroy$=N,this.nzConfigService=O,this.cdr=$,this.host=L,this.renderer=he,this.platform=Ce,this.focusMonitor=Dt,this.directionality=Yt,this.noAnimation=rn,this.nzFormStatusService=hn,this.nzFormNoStatusService=yn,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzStatus="",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzPlacement=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=be,this.compareWith=(Mn,En)=>Mn===En,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzSelectOnTab=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new e.vpe,this.nzScrollToBottom=new e.vpe,this.nzOpenChange=new e.vpe,this.nzBlur=new e.vpe,this.nzFocus=new e.vpe,this.listOfValue$=new i.X([]),this.listOfTemplateItem$=new i.X([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.requestId=-1,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottomLeft",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.positions=[],this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1}writeValue(x){if(this.value!==x){this.value=x;const O=(($,L)=>null==$?[]:"default"===this.nzMode?[$]:$)(x);this.listOfValue=O,this.listOfValue$.next(O),this.cdr.markForCheck()}}registerOnChange(x){this.onChange=x}registerOnTouched(x){this.onTouched=x}setDisabledState(x){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||x,this.isNzDisableFirstChange=!1,this.nzDisabled&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(x){const{nzOpen:N,nzDisabled:O,nzOptions:$,nzStatus:L,nzPlacement:he}=x;if(N&&this.onOpenChange(),O&&this.nzDisabled&&this.setOpenState(!1),$){this.isReactiveDriven=!0;const Dt=(this.nzOptions||[]).map(Yt=>({template:Yt.label instanceof e.Rgc?Yt.label:null,nzLabel:"string"==typeof Yt.label||"number"==typeof Yt.label?Yt.label:null,nzValue:Yt.value,nzDisabled:Yt.disabled||!1,nzHide:Yt.hide||!1,nzCustomContent:Yt.label instanceof e.Rgc,groupLabel:Yt.groupLabel||null,type:"item",key:void 0===Yt.key?Yt.value:Yt.key}));this.listOfTemplateItem$.next(Dt)}if(L&&this.setStatusStyles(this.nzStatus,this.hasFeedback),he){const{currentValue:Ce}=he;this.dropDownPosition=Ce;const Dt=["bottomLeft","topLeft","bottomRight","topRight"];this.positions=Ce&&Dt.includes(Ce)?[j.yW[Ce]]:Dt.map(Yt=>j.yW[Yt])}}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,_.x)((x,N)=>x.status===N.status&&x.hasFeedback===N.hasFeedback),(0,d.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,l.of)(!1)),(0,m.U)(([{status:x,hasFeedback:N},O])=>({status:O?"":x,hasFeedback:N})),(0,p.R)(this.destroy$)).subscribe(({status:x,hasFeedback:N})=>{this.setStatusStyles(x,N)}),this.focusMonitor.monitor(this.host,!0).pipe((0,p.R)(this.destroy$)).subscribe(x=>{x?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),(0,h.a)([this.listOfValue$,this.listOfTemplateItem$]).pipe((0,p.R)(this.destroy$)).subscribe(([x,N])=>{const O=x.filter(()=>"tags"===this.nzMode).filter($=>-1===N.findIndex(L=>this.compareWith(L.nzValue,$))).map($=>this.listOfTopItem.find(L=>this.compareWith(L.nzValue,$))||this.generateTagItem($));this.listOfTagAndTemplateItem=[...N,...O],this.listOfTopItem=this.listOfValue.map($=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(L=>this.compareWith($,L.nzValue))).filter($=>!!$),this.updateListOfContainerItem()}),this.directionality.change?.pipe((0,p.R)(this.destroy$)).subscribe(x=>{this.dir=x,this.cdr.detectChanges()}),this.nzConfigService.getConfigChangeEventForComponent("select").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>(0,t.R)(this.host.nativeElement,"click").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen))})),this.cdkConnectedOverlay.overlayKeydown.pipe((0,p.R)(this.destroy$)).subscribe(x=>{x.keyCode===S.hY&&this.setOpenState(!1)})}ngAfterContentInit(){this.isReactiveDriven||(0,E.T)(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe((0,v.O)(!0),(0,f.w)(()=>(0,E.T)(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(x=>x.changes),...this.listOfNzOptionGroupComponent.map(x=>x.changes)).pipe((0,v.O)(!0))),(0,p.R)(this.destroy$)).subscribe(()=>{const x=this.listOfNzOptionComponent.toArray().map(N=>{const{template:O,nzLabel:$,nzValue:L,nzKey:he,nzDisabled:Ce,nzHide:Dt,nzCustomContent:Yt,groupLabel:rn}=N;return{template:O,nzLabel:$,nzValue:L,nzDisabled:Ce,nzHide:Dt,nzCustomContent:Yt,groupLabel:rn,type:"item",key:void 0===he?L:he}});this.listOfTemplateItem$.next(x),this.cdr.markForCheck()})}ngOnDestroy(){(0,ze.h)(this.requestId),this.focusMonitor.stopMonitoring(this.host)}setStatusStyles(x,N){this.status=x,this.hasFeedback=N,this.cdr.markForCheck(),this.statusCls=(0,P.Zu)(this.prefixCls,x,N),Object.keys(this.statusCls).forEach(O=>{this.statusCls[O]?this.renderer.addClass(this.host.nativeElement,O):this.renderer.removeClass(this.host.nativeElement,O)})}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(e.R0b),e.Y36(C.kn),e.Y36(W.jY),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(V.t4),e.Y36(Y.tE),e.Y36(K.Is,8),e.Y36(G.P,9),e.Y36(ee.kH,8),e.Y36(ee.yW,8))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select"]],contentQueries:function(N,O,$){if(1&N&&(e.Suo($,Xe,5),e.Suo($,St,5)),2&N){let L;e.iGM(L=e.CRH())&&(O.listOfNzOptionComponent=L),e.iGM(L=e.CRH())&&(O.listOfNzOptionGroupComponent=L)}},viewQuery:function(N,O){if(1&N&&(e.Gf(A.xu,7,e.SBq),e.Gf(A.pI,7),e.Gf(We,7),e.Gf(St,7,e.SBq),e.Gf(We,7,e.SBq)),2&N){let $;e.iGM($=e.CRH())&&(O.originElement=$.first),e.iGM($=e.CRH())&&(O.cdkConnectedOverlay=$.first),e.iGM($=e.CRH())&&(O.nzSelectTopControlComponent=$.first),e.iGM($=e.CRH())&&(O.nzOptionGroupComponentElement=$.first),e.iGM($=e.CRH())&&(O.nzSelectTopControlComponentElement=$.first)}},hostAttrs:[1,"ant-select"],hostVars:26,hostBindings:function(N,O){2&N&&e.ekj("ant-select-in-form-item",!!O.nzFormStatusService)("ant-select-lg","large"===O.nzSize)("ant-select-sm","small"===O.nzSize)("ant-select-show-arrow",O.nzShowArrow)("ant-select-disabled",O.nzDisabled)("ant-select-show-search",(O.nzShowSearch||"default"!==O.nzMode)&&!O.nzDisabled)("ant-select-allow-clear",O.nzAllowClear)("ant-select-borderless",O.nzBorderless)("ant-select-open",O.nzOpen)("ant-select-focused",O.nzOpen||O.focused)("ant-select-single","default"===O.nzMode)("ant-select-multiple","default"!==O.nzMode)("ant-select-rtl","rtl"===O.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzPlacement:"nzPlacement",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzSelectOnTab:"nzSelectOnTab",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[e._Bn([C.kn,{provide:k.JU,useExisting:(0,e.Gpc)(()=>ve),multi:!0}]),e.TTD],decls:5,vars:25,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","overlayOutsideClick","detach","positionChange"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon"],["feedbackIconTpl",""],[3,"status",4,"ngIf"],[3,"status"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(N,O){if(1&N&&(e.TgZ(0,"nz-select-top-control",0,1),e.NdJ("inputValueChange",function(L){return O.onInputValueChange(L)})("tokenize",function(L){return O.onTokenSeparate(L)})("deleteItem",function(L){return O.onItemDelete(L)})("keydown",function(L){return O.onKeyDown(L)}),e.qZA(),e.YNc(2,Ct,3,5,"nz-select-arrow",2),e.YNc(3,Nt,1,1,"nz-select-clear",3),e.YNc(4,kt,1,23,"ng-template",4),e.NdJ("overlayOutsideClick",function(L){return O.onClickOutside(L)})("detach",function(){return O.setOpenState(!1)})("positionChange",function(L){return O.onPositionChange(L)})),2&N){const $=e.MAs(1);e.Q6J("nzId",O.nzId)("open",O.nzOpen)("disabled",O.nzDisabled)("mode",O.nzMode)("@.disabled",!(null==O.noAnimation||!O.noAnimation.nzNoAnimation))("nzNoAnimation",null==O.noAnimation?null:O.noAnimation.nzNoAnimation)("maxTagPlaceholder",O.nzMaxTagPlaceholder)("removeIcon",O.nzRemoveIcon)("placeHolder",O.nzPlaceHolder)("maxTagCount",O.nzMaxTagCount)("customTemplate",O.nzCustomTemplate)("tokenSeparators",O.nzTokenSeparators)("showSearch",O.nzShowSearch)("autofocus",O.nzAutoFocus)("listOfTopItem",O.listOfTopItem),e.xp6(2),e.Q6J("ngIf",O.nzShowArrow||O.hasFeedback&&!!O.status),e.xp6(1),e.Q6J("ngIf",O.nzAllowClear&&!O.nzDisabled&&O.listOfValue.length),e.xp6(1),e.Q6J("cdkConnectedOverlayHasBackdrop",O.nzBackdrop)("cdkConnectedOverlayMinWidth",O.nzDropdownMatchSelectWidth?null:O.triggerWidth)("cdkConnectedOverlayWidth",O.nzDropdownMatchSelectWidth?O.triggerWidth:null)("cdkConnectedOverlayOrigin",$)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",O.nzDropdownClassName)("cdkConnectedOverlayOpen",O.nzOpen)("cdkConnectedOverlayPositions",O.positions)}},dependencies:[z.O5,z.PC,A.pI,A.xu,j.hQ,G.P,b.w,ee.w_,fe,We,wt,Ee],encapsulation:2,data:{animation:[R.mF]},changeDetection:0})}return(0,y.gn)([(0,W.oS)()],ve.prototype,"nzSuffixIcon",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzAllowClear",void 0),(0,y.gn)([(0,W.oS)(),(0,P.yF)()],ve.prototype,"nzBorderless",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzShowSearch",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzLoading",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzAutoFocus",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzAutoClearSearchValue",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzServerSearch",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzDisabled",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzOpen",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzSelectOnTab",void 0),(0,y.gn)([(0,W.oS)(),(0,P.yF)()],ve.prototype,"nzBackdrop",void 0),ve})(),Ze=(()=>{class ve{static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275mod=e.oAB({type:ve});static#n=this.\u0275inj=e.cJS({imports:[K.vT,z.ez,te.YI,k.u5,V.ud,A.U8,T.PV,D.T,M.Xo,j.e4,G.g,b.a,ee.mJ,u.Cl,Y.rt]})}return ve})()},24139:(tt,I,o)=>{"use strict";o.d(I,{H0:()=>S,ng:()=>P});var e=o(65879),n=o(27754),t=o(96814),i=o(97582),l=o(49388);const E=["nzType","avatar"];function M(A,k){if(1&A&&(e.TgZ(0,"div",5),e._UZ(1,"nz-skeleton-element",6),e.qZA()),2&A){const R=e.oxw(2);e.xp6(1),e.Q6J("nzSize",R.avatar.size||"default")("nzShape",R.avatar.shape||"circle")}}function p(A,k){if(1&A&&e._UZ(0,"h3",7),2&A){const R=e.oxw(2);e.Udp("width",R.toCSSUnit(R.title.width))}}function v(A,k){if(1&A&&e._UZ(0,"li"),2&A){const R=k.index,W=e.oxw(3);e.Udp("width",W.toCSSUnit(W.widthList[R]))}}function _(A,k){if(1&A&&(e.TgZ(0,"ul",8),e.YNc(1,v,1,2,"li",9),e.qZA()),2&A){const R=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",R.rowsList)}}function d(A,k){if(1&A&&(e.ynx(0),e.YNc(1,M,2,2,"div",1),e.TgZ(2,"div",2),e.YNc(3,p,1,2,"h3",3),e.YNc(4,_,2,1,"ul",4),e.qZA(),e.BQk()),2&A){const R=e.oxw();e.xp6(1),e.Q6J("ngIf",!!R.nzAvatar),e.xp6(2),e.Q6J("ngIf",!!R.nzTitle),e.xp6(1),e.Q6J("ngIf",!!R.nzParagraph)}}function m(A,k){1&A&&(e.ynx(0),e.Hsn(1),e.BQk())}const f=["*"];let C=(()=>{class A{constructor(){this.nzActive=!1,this.nzBlock=!1}static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275dir=e.lG2({type:A,selectors:[["nz-skeleton-element"]],hostAttrs:[1,"ant-skeleton","ant-skeleton-element"],hostVars:4,hostBindings:function(W,j){2&W&&e.ekj("ant-skeleton-active",j.nzActive)("ant-skeleton-block",j.nzBlock)},inputs:{nzActive:"nzActive",nzType:"nzType",nzBlock:"nzBlock"}})}return(0,i.gn)([(0,n.yF)()],A.prototype,"nzBlock",void 0),A})(),b=(()=>{class A{constructor(){this.nzShape="circle",this.nzSize="default",this.styleMap={}}ngOnChanges(R){if(R.nzSize&&"number"==typeof this.nzSize){const W=`${this.nzSize}px`;this.styleMap={width:W,height:W,"line-height":W}}else this.styleMap={}}static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275cmp=e.Xpm({type:A,selectors:[["nz-skeleton-element","nzType","avatar"]],inputs:{nzShape:"nzShape",nzSize:"nzSize"},features:[e.TTD],attrs:E,decls:1,vars:9,consts:[[1,"ant-skeleton-avatar",3,"ngStyle"]],template:function(W,j){1&W&&e._UZ(0,"span",0),2&W&&(e.ekj("ant-skeleton-avatar-square","square"===j.nzShape)("ant-skeleton-avatar-circle","circle"===j.nzShape)("ant-skeleton-avatar-lg","large"===j.nzSize)("ant-skeleton-avatar-sm","small"===j.nzSize),e.Q6J("ngStyle",j.styleMap))},dependencies:[t.PC],encapsulation:2,changeDetection:0})}return A})(),P=(()=>{class A{constructor(R){this.cdr=R,this.nzActive=!1,this.nzLoading=!0,this.nzRound=!1,this.nzTitle=!0,this.nzAvatar=!1,this.nzParagraph=!0,this.rowsList=[],this.widthList=[]}toCSSUnit(R=""){return(0,n.WX)(R)}getTitleProps(){const R=!!this.nzAvatar,W=!!this.nzParagraph;let j="";return!R&&W?j="38%":R&&W&&(j="50%"),{width:j,...this.getProps(this.nzTitle)}}getAvatarProps(){return{shape:this.nzTitle&&!this.nzParagraph?"square":"circle",size:"large",...this.getProps(this.nzAvatar)}}getParagraphProps(){const R=!!this.nzAvatar,W=!!this.nzTitle,j={};return(!R||!W)&&(j.width="61%"),j.rows=!R&&W?3:2,{...j,...this.getProps(this.nzParagraph)}}getProps(R){return R&&"object"==typeof R?R:{}}getWidthList(){const{width:R,rows:W}=this.paragraph;let j=[];return R&&Array.isArray(R)?j=R:R&&!Array.isArray(R)&&(j=[],j[W-1]=R),j}updateProps(){this.title=this.getTitleProps(),this.avatar=this.getAvatarProps(),this.paragraph=this.getParagraphProps(),this.rowsList=[...Array(this.paragraph.rows)],this.widthList=this.getWidthList(),this.cdr.markForCheck()}ngOnInit(){this.updateProps()}ngOnChanges(R){(R.nzTitle||R.nzAvatar||R.nzParagraph)&&this.updateProps()}static#e=this.\u0275fac=function(W){return new(W||A)(e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:A,selectors:[["nz-skeleton"]],hostAttrs:[1,"ant-skeleton"],hostVars:6,hostBindings:function(W,j){2&W&&e.ekj("ant-skeleton-with-avatar",!!j.nzAvatar)("ant-skeleton-active",j.nzActive)("ant-skeleton-round",!!j.nzRound)},inputs:{nzActive:"nzActive",nzLoading:"nzLoading",nzRound:"nzRound",nzTitle:"nzTitle",nzAvatar:"nzAvatar",nzParagraph:"nzParagraph"},exportAs:["nzSkeleton"],features:[e.TTD],ngContentSelectors:f,decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-skeleton-header",4,"ngIf"],[1,"ant-skeleton-content"],["class","ant-skeleton-title",3,"width",4,"ngIf"],["class","ant-skeleton-paragraph",4,"ngIf"],[1,"ant-skeleton-header"],["nzType","avatar",3,"nzSize","nzShape"],[1,"ant-skeleton-title"],[1,"ant-skeleton-paragraph"],[3,"width",4,"ngFor","ngForOf"]],template:function(W,j){1&W&&(e.F$t(),e.YNc(0,d,5,3,"ng-container",0),e.YNc(1,m,2,0,"ng-container",0)),2&W&&(e.Q6J("ngIf",j.nzLoading),e.xp6(1),e.Q6J("ngIf",!j.nzLoading))},dependencies:[t.sg,t.O5,C,b],encapsulation:2,changeDetection:0})}return A})(),S=(()=>{class A{static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275mod=e.oAB({type:A});static#n=this.\u0275inj=e.cJS({imports:[l.vT,t.ez]})}return A})()},20012:(tt,I,o)=>{"use strict";o.d(I,{N3:()=>De,jS:()=>G});var e=o(97582),n=o(36028),t=o(65879),i=o(60095),l=o(78645),h=o(92438),E=o(63019),u=o(59773),z=o(32181),M=o(99397),p=o(37398),v=o(93997),_=o(27754),d=o(96109),m=o(96814),f=o(62831),C=o(49388);const T=["handle"];function b(ce,X){if(1&ce&&t._UZ(0,"span",2),2&ce){const ne=X.$implicit;t.ekj("ant-slider-dot-active",ne.active),t.Q6J("ngStyle",ne.style)}}function D(ce,X){if(1&ce&&t._UZ(0,"span",2),2&ce){const ne=X.$implicit;t.ekj("ant-slider-mark-active",ne.active),t.Q6J("ngStyle",ne.style)("innerHTML",ne.label,t.oJD)}}const y=["slider"];function P(ce,X){if(1&ce&&t._UZ(0,"nz-slider-step",6),2&ce){const ne=t.oxw();t.Q6J("vertical",ne.nzVertical)("min",ne.nzMin)("max",ne.nzMax)("lowerBound",ne.bounds.lower)("upperBound",ne.bounds.upper)("marksArray",ne.marksArray)("included",ne.nzIncluded)("reverse",ne.nzReverse)}}function S(ce,X){if(1&ce){const ne=t.EpF();t.TgZ(0,"nz-slider-handle",7),t.NdJ("focusin",function(){const Ne=t.CHM(ne).index,ke=t.oxw();return t.KtG(ke.onHandleFocusIn(Ne))}),t.qZA()}if(2&ce){const ne=X.$implicit,le=t.oxw();t.Q6J("vertical",le.nzVertical)("reverse",le.nzReverse)("offset",ne.offset)("value",ne.value)("active",ne.active)("tooltipFormatter",le.nzTipFormatter)("tooltipVisible",le.nzTooltipVisible)("tooltipPlacement",le.nzTooltipPlacement)("dir",le.dir)}}function A(ce,X){if(1&ce&&t._UZ(0,"nz-slider-marks",6),2&ce){const ne=t.oxw();t.Q6J("vertical",ne.nzVertical)("min",ne.nzMin)("max",ne.nzMax)("lowerBound",ne.bounds.lower)("upperBound",ne.bounds.upper)("marksArray",ne.marksArray)("included",ne.nzIncluded)("reverse",ne.nzReverse)}}let k=(()=>{class ce{constructor(){this.isDragging=!1}static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac})}return ce})(),R=(()=>{class ce{constructor(ne,le){this.sliderService=ne,this.cdr=le,this.tooltipVisible="default",this.active=!1,this.dir="ltr",this.style={},this.enterHandle=()=>{this.sliderService.isDragging||(this.toggleTooltip(!0),this.updateTooltipPosition(),this.cdr.detectChanges())},this.leaveHandle=()=>{this.sliderService.isDragging||(this.toggleTooltip(!1),this.cdr.detectChanges())}}ngOnChanges(ne){const{offset:le,value:Se,active:Ne,tooltipVisible:ke,reverse:oe,dir:_e}=ne;(le||oe||_e)&&this.updateStyle(),Se&&(this.updateTooltipTitle(),this.updateTooltipPosition()),Ne&&this.toggleTooltip(!!Ne.currentValue),"always"===ke?.currentValue&&Promise.resolve().then(()=>this.toggleTooltip(!0,!0))}focus(){this.handleEl?.nativeElement.focus()}toggleTooltip(ne,le=!1){!le&&("default"!==this.tooltipVisible||!this.tooltip)||(ne?this.tooltip?.show():this.tooltip?.hide())}updateTooltipTitle(){this.tooltipTitle=this.tooltipFormatter?this.tooltipFormatter(this.value):`${this.value}`}updateTooltipPosition(){this.tooltip&&Promise.resolve().then(()=>this.tooltip?.updatePosition())}updateStyle(){const le=this.reverse,Ne=this.vertical?{[le?"top":"bottom"]:`${this.offset}%`,[le?"bottom":"top"]:"auto",transform:le?null:"translateY(+50%)"}:{...this.getHorizontalStylePosition(),transform:`translateX(${le?"rtl"===this.dir?"-":"+":"rtl"===this.dir?"+":"-"}50%)`};this.style=Ne,this.cdr.markForCheck()}getHorizontalStylePosition(){let ne=this.reverse?"auto":`${this.offset}%`,le=this.reverse?`${this.offset}%`:"auto";if("rtl"===this.dir){const Se=ne;ne=le,le=Se}return{left:ne,right:le}}static#e=this.\u0275fac=function(le){return new(le||ce)(t.Y36(k),t.Y36(t.sBO))};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider-handle"]],viewQuery:function(le,Se){if(1&le&&(t.Gf(T,5),t.Gf(d.SY,5)),2&le){let Ne;t.iGM(Ne=t.CRH())&&(Se.handleEl=Ne.first),t.iGM(Ne=t.CRH())&&(Se.tooltip=Ne.first)}},hostBindings:function(le,Se){1&le&&t.NdJ("mouseenter",function(){return Se.enterHandle()})("mouseleave",function(){return Se.leaveHandle()})},inputs:{vertical:"vertical",reverse:"reverse",offset:"offset",value:"value",tooltipVisible:"tooltipVisible",tooltipPlacement:"tooltipPlacement",tooltipFormatter:"tooltipFormatter",active:"active",dir:"dir"},exportAs:["nzSliderHandle"],features:[t.TTD],decls:2,vars:4,consts:[["tabindex","0","nz-tooltip","",1,"ant-slider-handle",3,"ngStyle","nzTooltipTitle","nzTooltipTrigger","nzTooltipPlacement"],["handle",""]],template:function(le,Se){1&le&&t._UZ(0,"div",0,1),2&le&&t.Q6J("ngStyle",Se.style)("nzTooltipTitle",null===Se.tooltipFormatter||"never"===Se.tooltipVisible?null:Se.tooltipTitle)("nzTooltipTrigger",null)("nzTooltipPlacement",Se.tooltipPlacement)},dependencies:[m.PC,d.SY],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.yF)()],ce.prototype,"active",void 0),ce})(),W=(()=>{class ce{constructor(){this.offset=0,this.reverse=!1,this.dir="ltr",this.length=0,this.vertical=!1,this.included=!1,this.style={}}ngOnChanges(){const le=this.reverse,Se=this.included?"visible":"hidden",ke=this.length,oe=this.vertical?{[le?"top":"bottom"]:`${this.offset}%`,[le?"bottom":"top"]:"auto",height:`${ke}%`,visibility:Se}:{...this.getHorizontalStylePosition(),width:`${ke}%`,visibility:Se};this.style=oe}getHorizontalStylePosition(){let ne=this.reverse?"auto":`${this.offset}%`,le=this.reverse?`${this.offset}%`:"auto";if("rtl"===this.dir){const Se=ne;ne=le,le=Se}return{left:ne,right:le}}static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider-track"]],inputs:{offset:"offset",reverse:"reverse",dir:"dir",length:"length",vertical:"vertical",included:"included"},exportAs:["nzSliderTrack"],features:[t.TTD],decls:1,vars:1,consts:[[1,"ant-slider-track",3,"ngStyle"]],template:function(le,Se){1&le&&t._UZ(0,"div",0),2&le&&t.Q6J("ngStyle",Se.style)},dependencies:[m.PC],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.Rn)()],ce.prototype,"offset",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"reverse",void 0),(0,e.gn)([(0,_.Rn)()],ce.prototype,"length",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"vertical",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"included",void 0),ce})(),j=(()=>{class ce{constructor(){this.lowerBound=null,this.upperBound=null,this.marksArray=[],this.vertical=!1,this.included=!1,this.steps=[]}ngOnChanges(ne){const{marksArray:le,lowerBound:Se,upperBound:Ne,reverse:ke}=ne;(le||ke)&&this.buildSteps(),(le||Se||Ne||ke)&&this.togglePointActive()}trackById(ne,le){return le.value}buildSteps(){const ne=this.vertical?"bottom":"left";this.steps=this.marksArray.map(le=>{const{value:Se,config:Ne}=le;let ke=le.offset;return this.reverse&&(ke=(this.max-Se)/(this.max-this.min)*100),{value:Se,offset:ke,config:Ne,active:!1,style:{[ne]:`${ke}%`}}})}togglePointActive(){this.steps&&null!==this.lowerBound&&null!==this.upperBound&&this.steps.forEach(ne=>{const le=ne.value;ne.active=!this.included&&le===this.upperBound||this.included&&le<=this.upperBound&&le>=this.lowerBound})}static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider-step"]],inputs:{lowerBound:"lowerBound",upperBound:"upperBound",marksArray:"marksArray",min:"min",max:"max",vertical:"vertical",included:"included",reverse:"reverse"},exportAs:["nzSliderStep"],features:[t.TTD],decls:2,vars:2,consts:[[1,"ant-slider-step"],["class","ant-slider-dot",3,"ant-slider-dot-active","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-slider-dot",3,"ngStyle"]],template:function(le,Se){1&le&&(t.TgZ(0,"div",0),t.YNc(1,b,1,3,"span",1),t.qZA()),2&le&&(t.xp6(1),t.Q6J("ngForOf",Se.steps)("ngForTrackBy",Se.trackById))},dependencies:[m.sg,m.PC],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.yF)()],ce.prototype,"vertical",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"included",void 0),ce})(),ze=(()=>{class ce{constructor(){this.lowerBound=null,this.upperBound=null,this.marksArray=[],this.vertical=!1,this.included=!1,this.marks=[]}ngOnChanges(ne){const{marksArray:le,lowerBound:Se,upperBound:Ne,reverse:ke}=ne;(le||ke)&&this.buildMarks(),(le||Se||Ne||ke)&&this.togglePointActive()}trackById(ne,le){return le.value}buildMarks(){const ne=this.max-this.min;this.marks=this.marksArray.map(le=>{const{value:Se,offset:Ne,config:ke}=le,oe=this.getMarkStyles(Se,ne,ke);return{label:Y(ke)?ke.label:ke,offset:Ne,style:oe,value:Se,config:ke,active:!1}})}getMarkStyles(ne,le,Se){let Ne;const ke=this.reverse?this.max+this.min-ne:ne;return Ne=this.vertical?{marginBottom:"-50%",bottom:(ke-this.min)/le*100+"%"}:{transform:"translate3d(-50%, 0, 0)",left:(ke-this.min)/le*100+"%"},Y(Se)&&Se.style&&(Ne={...Ne,...Se.style}),Ne}togglePointActive(){this.marks&&null!==this.lowerBound&&null!==this.upperBound&&this.marks.forEach(ne=>{const le=ne.value;ne.active=!this.included&&le===this.upperBound||this.included&&le<=this.upperBound&&le>=this.lowerBound})}static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider-marks"]],inputs:{lowerBound:"lowerBound",upperBound:"upperBound",marksArray:"marksArray",min:"min",max:"max",vertical:"vertical",included:"included",reverse:"reverse"},exportAs:["nzSliderMarks"],features:[t.TTD],decls:2,vars:2,consts:[[1,"ant-slider-mark"],["class","ant-slider-mark-text",3,"ant-slider-mark-active","ngStyle","innerHTML",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-slider-mark-text",3,"ngStyle","innerHTML"]],template:function(le,Se){1&le&&(t.TgZ(0,"div",0),t.YNc(1,D,1,4,"span",1),t.qZA()),2&le&&(t.xp6(1),t.Q6J("ngForOf",Se.marks)("ngForTrackBy",Se.trackById))},dependencies:[m.sg,m.PC],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.yF)()],ce.prototype,"vertical",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"included",void 0),ce})();function Y(ce){return"string"!=typeof ce}let G=(()=>{class ce{constructor(ne,le,Se,Ne){this.sliderService=ne,this.cdr=le,this.platform=Se,this.directionality=Ne,this.nzDisabled=!1,this.nzDots=!1,this.nzIncluded=!0,this.nzRange=!1,this.nzVertical=!1,this.nzReverse=!1,this.nzMarks=null,this.nzMax=100,this.nzMin=0,this.nzStep=1,this.nzTooltipVisible="default",this.nzTooltipPlacement="top",this.nzOnAfterChange=new t.vpe,this.value=null,this.cacheSliderStart=null,this.cacheSliderLength=null,this.activeValueIndex=void 0,this.track={offset:null,length:null},this.handles=[],this.marksArray=null,this.bounds={lower:null,upper:null},this.dir="ltr",this.destroy$=new l.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(ne=>{this.dir=ne,this.cdr.detectChanges(),this.updateTrackAndHandles(),this.onValueChange(this.getValue(!0))}),this.handles=ee(this.nzRange?2:1),this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null,this.bindDraggingHandlers(),this.toggleDragDisabled(this.nzDisabled),null===this.getValue()&&this.setValue(this.formatValue(null))}ngOnChanges(ne){const{nzDisabled:le,nzMarks:Se,nzRange:Ne}=ne;le&&!le.firstChange?this.toggleDragDisabled(le.currentValue):Se&&!Se.firstChange?this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null:Ne&&!Ne.firstChange&&(this.handles=ee(Ne.currentValue?2:1),this.setValue(this.formatValue(null)))}ngOnDestroy(){this.unsubscribeDrag(),this.destroy$.next(!0),this.destroy$.complete()}writeValue(ne){this.setValue(ne,!0)}onValueChange(ne){}onTouched(){}registerOnChange(ne){this.onValueChange=ne}registerOnTouched(ne){this.onTouched=ne}setDisabledState(ne){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||ne,this.isNzDisableFirstChange=!1,this.toggleDragDisabled(this.nzDisabled),this.cdr.markForCheck()}onKeyDown(ne){if(this.nzDisabled)return;const le=ne.keyCode,Ne=le===n.oh||le===n.JH;if(le!==n.SV&&le!==n.LH&&!Ne)return;ne.preventDefault();let ke=(Ne?-this.nzStep:this.nzStep)*(this.nzReverse?-1:1);ke="rtl"===this.dir?-1*ke:ke,this.setActiveValue((0,_.xV)(this.nzRange?this.value[this.activeValueIndex]+ke:this.value+ke,this.nzMin,this.nzMax)),this.nzOnAfterChange.emit(this.getValue(!0))}onHandleFocusIn(ne){this.activeValueIndex=ne}setValue(ne,le=!1){le?(this.value=this.formatValue(ne),this.updateTrackAndHandles()):function re(ce,X){return typeof ce==typeof X&&(K(ce)&&K(X)?(0,_.cO)(ce,X):ce===X)}(this.value,ne)||(this.value=ne,this.updateTrackAndHandles(),this.onValueChange(this.getValue(!0)))}getValue(ne=!1){return ne&&this.value&&K(this.value)?[...this.value].sort((le,Se)=>le-Se):this.value}getValueToOffset(ne){let le=ne;return typeof le>"u"&&(le=this.getValue(!0)),K(le)?le.map(Se=>this.valueToOffset(Se)):this.valueToOffset(le)}setActiveValueIndex(ne){const le=this.getValue();if(K(le)){let Ne,Se=null,ke=-1;le.forEach((oe,_e)=>{Ne=Math.abs(ne-oe),(null===Se||Ne{_e.offset=K(le)?le[Q]:le,_e.value=K(ne)?ne[Q]:ne||0}),[this.bounds.lower,this.bounds.upper]=ke,[this.track.offset,this.track.length]=oe,this.cdr.markForCheck()}onDragStart(ne){this.toggleDragMoving(!0),this.cacheSliderProperty(),this.setActiveValueIndex(this.getLogicalValue(ne)),this.setActiveValue(this.getLogicalValue(ne)),this.showHandleTooltip(this.nzRange?this.activeValueIndex:0)}onDragMove(ne){this.setActiveValue(this.getLogicalValue(ne)),this.cdr.markForCheck()}getLogicalValue(ne){return this.nzReverse?this.nzVertical||"rtl"!==this.dir?this.nzMax-ne+this.nzMin:ne:this.nzVertical||"rtl"!==this.dir?ne:this.nzMax-ne+this.nzMin}onDragEnd(){this.nzOnAfterChange.emit(this.getValue(!0)),this.toggleDragMoving(!1),this.cacheSliderProperty(!0),this.hideAllHandleTooltip(),this.cdr.markForCheck()}bindDraggingHandlers(){if(!this.platform.isBrowser)return;const ne=oe=>_e=>oe.reduce((Q,He)=>Q[He]||Q,_e),le=this.slider.nativeElement,Se=this.nzVertical?"pageY":"pageX",Ne={start:"mousedown",move:"mousemove",end:"mouseup",pluckKey:[Se]},ke={start:"touchstart",move:"touchmove",end:"touchend",pluckKey:["touches","0",Se],filter:oe=>oe instanceof TouchEvent};[Ne,ke].forEach(oe=>{const{start:_e,move:Q,end:He,pluckKey:Re,filter:lt=(()=>!0)}=oe;oe.startPlucked$=(0,h.R)(le,_e).pipe((0,z.h)(lt),(0,M.b)(_.jJ),(0,p.U)(ne(Re)),(0,p.U)(Pe=>this.findClosestValue(Pe))),oe.end$=(0,h.R)(document,He),oe.moveResolved$=(0,h.R)(document,Q).pipe((0,z.h)(lt),(0,M.b)(_.jJ),(0,p.U)(ne(Re)),(0,v.x)(),(0,p.U)(Pe=>this.findClosestValue(Pe)),(0,v.x)(),(0,u.R)(oe.end$))}),this.dragStart$=(0,E.T)(Ne.startPlucked$,ke.startPlucked$),this.dragMove$=(0,E.T)(Ne.moveResolved$,ke.moveResolved$),this.dragEnd$=(0,E.T)(Ne.end$,ke.end$)}subscribeDrag(ne=["start","move","end"]){-1!==ne.indexOf("start")&&this.dragStart$&&!this.dragStart_&&(this.dragStart_=this.dragStart$.subscribe(this.onDragStart.bind(this))),-1!==ne.indexOf("move")&&this.dragMove$&&!this.dragMove_&&(this.dragMove_=this.dragMove$.subscribe(this.onDragMove.bind(this))),-1!==ne.indexOf("end")&&this.dragEnd$&&!this.dragEnd_&&(this.dragEnd_=this.dragEnd$.subscribe(this.onDragEnd.bind(this)))}unsubscribeDrag(ne=["start","move","end"]){-1!==ne.indexOf("start")&&this.dragStart_&&(this.dragStart_.unsubscribe(),this.dragStart_=null),-1!==ne.indexOf("move")&&this.dragMove_&&(this.dragMove_.unsubscribe(),this.dragMove_=null),-1!==ne.indexOf("end")&&this.dragEnd_&&(this.dragEnd_.unsubscribe(),this.dragEnd_=null)}toggleDragMoving(ne){const le=["move","end"];ne?(this.sliderService.isDragging=!0,this.subscribeDrag(le)):(this.sliderService.isDragging=!1,this.unsubscribeDrag(le))}toggleDragDisabled(ne){ne?this.unsubscribeDrag():this.subscribeDrag(["start"])}findClosestValue(ne){const le=this.getSliderStartPosition(),Se=this.getSliderLength(),Ne=(0,_.xV)((ne-le)/Se,0,1),ke=(this.nzMax-this.nzMin)*(this.nzVertical?1-Ne:Ne)+this.nzMin,oe=null===this.nzMarks?[]:Object.keys(this.nzMarks).map(parseFloat).sort((He,Re)=>He-Re);if(0!==this.nzStep&&!this.nzDots){const He=Math.round(ke/this.nzStep)*this.nzStep;oe.push(He)}const _e=oe.map(He=>Math.abs(ke-He)),Q=oe[_e.indexOf(Math.min(..._e))];return 0===this.nzStep?Q:parseFloat(Q.toFixed((0,_.p8)(this.nzStep)))}valueToOffset(ne){return(0,_.OY)(this.nzMin,this.nzMax,ne)}getSliderStartPosition(){if(null!==this.cacheSliderStart)return this.cacheSliderStart;const ne=(0,_.pW)(this.slider.nativeElement);return this.nzVertical?ne.top:ne.left}getSliderLength(){if(null!==this.cacheSliderLength)return this.cacheSliderLength;const ne=this.slider.nativeElement;return this.nzVertical?ne.clientHeight:ne.clientWidth}cacheSliderProperty(ne=!1){this.cacheSliderStart=ne?null:this.getSliderStartPosition(),this.cacheSliderLength=ne?null:this.getSliderLength()}formatValue(ne){return(0,_.kK)(ne)?this.nzRange?[this.nzMin,this.nzMax]:this.nzMin:function te(ce,X){return!(!K(ce)&&isNaN(ce)||K(ce)&&ce.some(ne=>isNaN(ne)))&&function pe(ce,X=!1){if(K(ce)!==X)throw function V(){return new Error('The "nzRange" can\'t match the "ngModel"\'s type, please check these properties: "nzRange", "ngModel", "nzDefaultValue".')}();return!0}(ce,X)}(ne,this.nzRange)?K(ne)?ne.map(le=>(0,_.xV)(le,this.nzMin,this.nzMax)):(0,_.xV)(ne,this.nzMin,this.nzMax):this.nzDefaultValue?this.nzDefaultValue:this.nzRange?[this.nzMin,this.nzMax]:this.nzMin}showHandleTooltip(ne=0){this.handles.forEach((le,Se)=>{le.active=Se===ne})}hideAllHandleTooltip(){this.handles.forEach(ne=>ne.active=!1)}generateMarkItems(ne){const le=[];for(const Se in ne)if(ne.hasOwnProperty(Se)){const Ne=ne[Se],ke="number"==typeof Se?Se:parseFloat(Se);ke>=this.nzMin&&ke<=this.nzMax&&le.push({value:ke,offset:this.valueToOffset(ke),config:Ne})}return le.length?le:null}static#e=this.\u0275fac=function(le){return new(le||ce)(t.Y36(k),t.Y36(t.sBO),t.Y36(f.t4),t.Y36(C.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider"]],viewQuery:function(le,Se){if(1&le&&(t.Gf(y,7),t.Gf(R,5)),2&le){let Ne;t.iGM(Ne=t.CRH())&&(Se.slider=Ne.first),t.iGM(Ne=t.CRH())&&(Se.handlerComponents=Ne)}},hostBindings:function(le,Se){1&le&&t.NdJ("keydown",function(ke){return Se.onKeyDown(ke)})},inputs:{nzDisabled:"nzDisabled",nzDots:"nzDots",nzIncluded:"nzIncluded",nzRange:"nzRange",nzVertical:"nzVertical",nzReverse:"nzReverse",nzDefaultValue:"nzDefaultValue",nzMarks:"nzMarks",nzMax:"nzMax",nzMin:"nzMin",nzStep:"nzStep",nzTooltipVisible:"nzTooltipVisible",nzTooltipPlacement:"nzTooltipPlacement",nzTipFormatter:"nzTipFormatter"},outputs:{nzOnAfterChange:"nzOnAfterChange"},exportAs:["nzSlider"],features:[t._Bn([{provide:i.JU,useExisting:(0,t.Gpc)(()=>ce),multi:!0},k]),t.TTD],decls:7,vars:17,consts:[[1,"ant-slider"],["slider",""],[1,"ant-slider-rail"],[3,"vertical","included","offset","length","reverse","dir"],[3,"vertical","min","max","lowerBound","upperBound","marksArray","included","reverse",4,"ngIf"],[3,"vertical","reverse","offset","value","active","tooltipFormatter","tooltipVisible","tooltipPlacement","dir","focusin",4,"ngFor","ngForOf"],[3,"vertical","min","max","lowerBound","upperBound","marksArray","included","reverse"],[3,"vertical","reverse","offset","value","active","tooltipFormatter","tooltipVisible","tooltipPlacement","dir","focusin"]],template:function(le,Se){1&le&&(t.TgZ(0,"div",0,1),t._UZ(2,"div",2)(3,"nz-slider-track",3),t.YNc(4,P,1,8,"nz-slider-step",4),t.YNc(5,S,1,9,"nz-slider-handle",5),t.YNc(6,A,1,8,"nz-slider-marks",4),t.qZA()),2&le&&(t.ekj("ant-slider-rtl","rtl"===Se.dir)("ant-slider-disabled",Se.nzDisabled)("ant-slider-vertical",Se.nzVertical)("ant-slider-with-marks",Se.marksArray),t.xp6(3),t.Q6J("vertical",Se.nzVertical)("included",Se.nzIncluded)("offset",Se.track.offset)("length",Se.track.length)("reverse",Se.nzReverse)("dir",Se.dir),t.xp6(1),t.Q6J("ngIf",Se.marksArray),t.xp6(1),t.Q6J("ngForOf",Se.handles),t.xp6(1),t.Q6J("ngIf",Se.marksArray))},dependencies:[C.Lv,m.sg,m.O5,W,R,j,ze],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.yF)()],ce.prototype,"nzDisabled",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzDots",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzIncluded",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzRange",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzVertical",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzReverse",void 0),(0,e.gn)([(0,_.Rn)()],ce.prototype,"nzMax",void 0),(0,e.gn)([(0,_.Rn)()],ce.prototype,"nzMin",void 0),(0,e.gn)([(0,_.Rn)()],ce.prototype,"nzStep",void 0),ce})();function K(ce){return ce instanceof Array&&2===ce.length}function ee(ce){return Array(ce).fill(0).map(()=>({offset:null,value:null,active:!1}))}let De=(()=>{class ce{static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275mod=t.oAB({type:ce});static#n=this.\u0275inj=t.cJS({imports:[C.vT,m.ez,f.ud,d.cg]})}return ce})()},77273:(tt,I,o)=>{"use strict";o.d(I,{W:()=>A,j:()=>k});var e=o(97582),n=o(65879),t=o(78645),i=o(65619),l=o(97328),h=o(74825),E=o(27921),u=o(93997),z=o(94664),M=o(76111),p=o(59773),v=o(83064),_=o(27754),d=o(49388),m=o(96814),f=o(17131);function C(R,W){1&R&&(n.TgZ(0,"span",3),n._UZ(1,"i",4)(2,"i",4)(3,"i",4)(4,"i",4),n.qZA())}function T(R,W){}function b(R,W){if(1&R&&(n.TgZ(0,"div",8),n._uU(1),n.qZA()),2&R){const j=n.oxw(2);n.xp6(1),n.Oqu(j.nzTip)}}function D(R,W){if(1&R&&(n.TgZ(0,"div")(1,"div",5),n.YNc(2,T,0,0,"ng-template",6),n.YNc(3,b,2,1,"div",7),n.qZA()()),2&R){const j=n.oxw(),ze=n.MAs(1);n.xp6(1),n.ekj("ant-spin-rtl","rtl"===j.dir)("ant-spin-spinning",j.isLoading)("ant-spin-lg","large"===j.nzSize)("ant-spin-sm","small"===j.nzSize)("ant-spin-show-text",j.nzTip),n.xp6(1),n.Q6J("ngTemplateOutlet",j.nzIndicator||ze),n.xp6(1),n.Q6J("ngIf",j.nzTip)}}function y(R,W){if(1&R&&(n.TgZ(0,"div",9),n.Hsn(1),n.qZA()),2&R){const j=n.oxw();n.ekj("ant-spin-blur",j.isLoading)}}const P=["*"],S="spin";let A=(()=>{class R{constructor(j,ze,Y){this.nzConfigService=j,this.cdr=ze,this.directionality=Y,this._nzModuleName=S,this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new t.x,this.spinning$=new i.X(this.nzSpinning),this.delay$=new l.t(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){this.delay$.pipe((0,E.O)(this.nzDelay),(0,u.x)(),(0,z.w)(ze=>0===ze?this.spinning$:this.spinning$.pipe((0,M.D)(Y=>(0,h.H)(Y?ze:0)))),(0,p.R)(this.destroy$)).subscribe(ze=>{this.isLoading=ze,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent(S).pipe((0,p.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change?.pipe((0,p.R)(this.destroy$)).subscribe(ze=>{this.dir=ze,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(j){const{nzSpinning:ze,nzDelay:Y}=j;ze&&this.spinning$.next(this.nzSpinning),Y&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(ze){return new(ze||R)(n.Y36(v.jY),n.Y36(n.sBO),n.Y36(d.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:R,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(ze,Y){2&ze&&n.ekj("ant-spin-nested-loading",!Y.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[n.TTD],ngContentSelectors:P,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(ze,Y){1&ze&&(n.F$t(),n.YNc(0,C,5,0,"ng-template",null,0,n.W1O),n.YNc(2,D,4,12,"div",1),n.YNc(3,y,2,2,"div",2)),2&ze&&(n.xp6(2),n.Q6J("ngIf",Y.isLoading),n.xp6(1),n.Q6J("ngIf",!Y.nzSimple))},dependencies:[m.O5,m.tP],encapsulation:2})}return(0,e.gn)([(0,v.oS)()],R.prototype,"nzIndicator",void 0),(0,e.gn)([(0,_.Rn)()],R.prototype,"nzDelay",void 0),(0,e.gn)([(0,_.yF)()],R.prototype,"nzSimple",void 0),(0,e.gn)([(0,_.yF)()],R.prototype,"nzSpinning",void 0),R})(),k=(()=>{class R{static#e=this.\u0275fac=function(ze){return new(ze||R)};static#t=this.\u0275mod=n.oAB({type:R});static#n=this.\u0275inj=n.cJS({imports:[d.vT,m.ez,f.Q8]})}return R})()},39704:(tt,I,o)=>{"use strict";o.d(I,{$W:()=>pe,N6:()=>De,iy:()=>re});var e=o(65879),n=o(78645),t=o(92438),i=o(47394),l=o(63019),h=o(32181),E=o(59773),u=o(27921),z=o(99087),M=o(27754),p=o(97582),v=o(96814),_=o(90551),d=o(8324),m=o(48128),f=o(49388);const C=["processDotTemplate"],T=["itemContainer"];function b(ae,ce){1&ae&&e._UZ(0,"div",10)}function D(ae,ce){if(1&ae&&(e.TgZ(0,"div",13),e._UZ(1,"nz-progress",14),e.qZA()),2&ae){const X=e.oxw(2);e.xp6(1),e.Q6J("nzPercent",X.nzPercentage)("nzWidth","small"===X.nzSize?32:40)("nzFormat",X.nullProcessFormat)("nzStrokeWidth",4)}}function y(ae,ce){1&ae&&(e.TgZ(0,"span",15),e._UZ(1,"span",16),e.qZA())}function P(ae,ce){1&ae&&(e.TgZ(0,"span",15),e._UZ(1,"span",17),e.qZA())}function S(ae,ce){if(1&ae&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&ae){const X=e.oxw(2);e.xp6(1),e.hij(" ",X.index+1," ")}}function A(ae,ce){if(1&ae&&(e.ynx(0),e._UZ(1,"span",18),e.BQk()),2&ae){const X=ce.$implicit,ne=e.oxw(3);e.xp6(1),e.Q6J("nzType",!ne.oldAPIIcon&&X)("ngClass",ne.oldAPIIcon&&X)}}function k(ae,ce){if(1&ae&&(e.TgZ(0,"span",15),e.YNc(1,A,2,2,"ng-container",7),e.qZA()),2&ae){const X=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",X.nzIcon)}}function R(ae,ce){if(1&ae&&(e.YNc(0,D,2,4,"div",11),e.YNc(1,y,2,0,"span",12),e.YNc(2,P,2,0,"span",12),e.YNc(3,S,2,1,"span",12),e.YNc(4,k,2,1,"span",12)),2&ae){const X=e.oxw();e.Q6J("ngIf",X.showProgress),e.xp6(1),e.Q6J("ngIf","finish"===X.nzStatus&&!X.nzIcon),e.xp6(1),e.Q6J("ngIf","error"===X.nzStatus),e.xp6(1),e.Q6J("ngIf",("process"===X.nzStatus||"wait"===X.nzStatus)&&!X.nzIcon),e.xp6(1),e.Q6J("ngIf",X.nzIcon)}}function W(ae,ce){1&ae&&e._UZ(0,"span",21)}function j(ae,ce){}const ze=function(ae,ce,X){return{$implicit:ae,status:ce,index:X}};function Y(ae,ce){if(1&ae&&(e.TgZ(0,"span",15),e.YNc(1,W,1,0,"ng-template",null,19,e.W1O),e.YNc(3,j,0,0,"ng-template",20),e.qZA()),2&ae){const X=e.MAs(2),ne=e.oxw();e.xp6(3),e.Q6J("ngTemplateOutlet",ne.customProcessTemplate||X)("ngTemplateOutletContext",e.kEZ(2,ze,X,ne.nzStatus,ne.index))}}function G(ae,ce){if(1&ae&&(e.ynx(0),e._uU(1),e.BQk()),2&ae){const X=e.oxw();e.xp6(1),e.Oqu(X.nzTitle)}}function V(ae,ce){if(1&ae&&(e.ynx(0),e._uU(1),e.BQk()),2&ae){const X=e.oxw(2);e.xp6(1),e.Oqu(X.nzSubtitle)}}function K(ae,ce){if(1&ae&&(e.TgZ(0,"div",22),e.YNc(1,V,2,1,"ng-container",7),e.qZA()),2&ae){const X=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",X.nzSubtitle)}}function ee(ae,ce){if(1&ae&&(e.ynx(0),e._uU(1),e.BQk()),2&ae){const X=e.oxw();e.xp6(1),e.Oqu(X.nzDescription)}}const te=["*"];let pe=(()=>{class ae{get nzStatus(){return this._status}set nzStatus(X){this._status=X,this.isCustomStatus=!0}get nzIcon(){return this._icon}set nzIcon(X){X instanceof e.Rgc||(this.oldAPIIcon="string"==typeof X&&X.indexOf("anticon")>-1),this._icon=X}get showProgress(){return null!==this.nzPercentage&&!this.nzIcon&&"process"===this.nzStatus&&this.nzPercentage>=0&&this.nzPercentage<=100}get currentIndex(){return this._currentIndex}set currentIndex(X){this._currentIndex=X,this.isCustomStatus||(this._status=X>this.index?"finish":X===this.index?this.outStatus||"":"wait")}constructor(X,ne,le){this.cdr=X,this.ngZone=ne,this.destroy$=le,this.nzDisabled=!1,this.nzPercentage=null,this.nzSize="default",this.isCustomStatus=!1,this._status="wait",this.oldAPIIcon=!0,this.direction="horizontal",this.index=0,this.last=!1,this.outStatus="process",this.showProcessDot=!1,this.clickable=!1,this.clickOutsideAngular$=new n.x,this.nullProcessFormat=()=>null,this._currentIndex=0}ngOnInit(){this.ngZone.runOutsideAngular(()=>(0,t.R)(this.itemContainer.nativeElement,"click").pipe((0,h.h)(()=>this.clickable&&this.currentIndex!==this.index&&!this.nzDisabled),(0,E.R)(this.destroy$)).subscribe(()=>{this.clickOutsideAngular$.next(this.index)}))}enable(){this.nzDisabled=!1,this.cdr.markForCheck()}disable(){this.nzDisabled=!0,this.cdr.markForCheck()}markForCheck(){this.cdr.markForCheck()}static#e=this.\u0275fac=function(ne){return new(ne||ae)(e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(z.kn))};static#t=this.\u0275cmp=e.Xpm({type:ae,selectors:[["nz-step"]],viewQuery:function(ne,le){if(1&ne&&(e.Gf(C,5),e.Gf(T,7)),2&ne){let Se;e.iGM(Se=e.CRH())&&(le.processDotTemplate=Se.first),e.iGM(Se=e.CRH())&&(le.itemContainer=Se.first)}},hostAttrs:[1,"ant-steps-item"],hostVars:16,hostBindings:function(ne,le){2&ne&&e.ekj("ant-steps-item-wait","wait"===le.nzStatus)("ant-steps-item-process","process"===le.nzStatus)("ant-steps-item-finish","finish"===le.nzStatus)("ant-steps-item-error","error"===le.nzStatus)("ant-steps-item-active",le.currentIndex===le.index)("ant-steps-item-disabled",le.nzDisabled)("ant-steps-item-custom",!!le.nzIcon)("ant-steps-next-error","error"===le.outStatus&&le.currentIndex===le.index+1)},inputs:{nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzDescription:"nzDescription",nzDisabled:"nzDisabled",nzPercentage:"nzPercentage",nzSize:"nzSize",nzStatus:"nzStatus",nzIcon:"nzIcon"},exportAs:["nzStep"],features:[e._Bn([z.kn])],decls:12,vars:8,consts:[[1,"ant-steps-item-container",3,"tabindex"],["itemContainer",""],["class","ant-steps-item-tail",4,"ngIf"],[1,"ant-steps-item-icon"],[3,"ngIf"],[1,"ant-steps-item-content"],[1,"ant-steps-item-title"],[4,"nzStringTemplateOutlet"],["class","ant-steps-item-subtitle",4,"ngIf"],[1,"ant-steps-item-description"],[1,"ant-steps-item-tail"],["class","ant-steps-progress-icon",4,"ngIf"],["class","ant-steps-icon",4,"ngIf"],[1,"ant-steps-progress-icon"],["nzType","circle",3,"nzPercent","nzWidth","nzFormat","nzStrokeWidth"],[1,"ant-steps-icon"],["nz-icon","","nzType","check"],["nz-icon","","nzType","close"],["nz-icon","",3,"nzType","ngClass"],["processDotTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-steps-icon-dot"],[1,"ant-steps-item-subtitle"]],template:function(ne,le){1&ne&&(e.TgZ(0,"div",0,1),e.YNc(2,b,1,0,"div",2),e.TgZ(3,"div",3),e.YNc(4,R,5,5,"ng-template",4),e.YNc(5,Y,4,6,"ng-template",4),e.qZA(),e.TgZ(6,"div",5)(7,"div",6),e.YNc(8,G,2,1,"ng-container",7),e.YNc(9,K,2,1,"div",8),e.qZA(),e.TgZ(10,"div",9),e.YNc(11,ee,2,1,"ng-container",7),e.qZA()()()),2&ne&&(e.Q6J("tabindex",le.clickable&&!le.nzDisabled?0:null),e.uIk("role",le.clickable&&!le.nzDisabled?"button":null),e.xp6(2),e.Q6J("ngIf",!0!==le.last),e.xp6(2),e.Q6J("ngIf",!le.showProcessDot),e.xp6(1),e.Q6J("ngIf",le.showProcessDot),e.xp6(3),e.Q6J("nzStringTemplateOutlet",le.nzTitle),e.xp6(1),e.Q6J("ngIf",le.nzSubtitle),e.xp6(2),e.Q6J("nzStringTemplateOutlet",le.nzDescription))},dependencies:[v.mk,v.O5,v.tP,_.Ls,d.f,m.M],encapsulation:2,changeDetection:0})}return(0,p.gn)([(0,M.yF)()],ae.prototype,"nzDisabled",void 0),ae})(),re=(()=>{class ae{set nzProgressDot(X){X instanceof e.Rgc?(this.showProcessDot=!0,this.customProcessDotTemplate=X):this.showProcessDot=(0,M.sw)(X),this.updateChildrenSteps()}constructor(X,ne,le,Se){this.ngZone=X,this.cdr=ne,this.directionality=le,this.destroy$=Se,this.nzCurrent=0,this.nzDirection="horizontal",this.nzLabelPlacement="horizontal",this.nzType="default",this.nzSize="default",this.nzStartIndex=0,this.nzStatus="process",this.nzIndexChange=new e.vpe,this.indexChangeSubscription=i.w0.EMPTY,this.showProcessDot=!1,this.showProgress=!1,this.dir="ltr"}ngOnChanges(X){(X.nzStartIndex||X.nzDirection||X.nzStatus||X.nzCurrent||X.nzSize)&&this.updateChildrenSteps()}ngOnInit(){this.directionality.change?.pipe((0,E.R)(this.destroy$)).subscribe(X=>{this.dir=X,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateChildrenSteps()}ngAfterContentInit(){this.steps&&this.steps.changes.pipe((0,u.O)(null),(0,E.R)(this.destroy$)).subscribe(()=>{this.updateHostProgressClass(),this.updateChildrenSteps()})}updateHostProgressClass(){this.steps&&!this.showProcessDot&&(this.showProgress=!!this.steps.toArray().find(X=>null!==X.nzPercentage))}updateChildrenSteps(){if(this.steps){const X=this.steps.length;this.steps.toArray().forEach((ne,le)=>{Promise.resolve().then(()=>{ne.nzSize=this.nzSize,ne.outStatus=this.nzStatus,ne.showProcessDot=this.showProcessDot,this.customProcessDotTemplate&&(ne.customProcessTemplate=this.customProcessDotTemplate),ne.clickable=this.nzIndexChange.observers.length>0,ne.direction=this.nzDirection,ne.index=le+this.nzStartIndex,ne.currentIndex=this.nzCurrent,ne.last=X===le+1,ne.markForCheck()})}),this.indexChangeSubscription.unsubscribe(),this.indexChangeSubscription=(0,l.T)(...this.steps.map(ne=>ne.clickOutsideAngular$)).pipe((0,E.R)(this.destroy$)).subscribe(ne=>{this.nzIndexChange.observers.length&&this.ngZone.run(()=>this.nzIndexChange.emit(ne))})}}static#e=this.\u0275fac=function(ne){return new(ne||ae)(e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(f.Is,8),e.Y36(z.kn))};static#t=this.\u0275cmp=e.Xpm({type:ae,selectors:[["nz-steps"]],contentQueries:function(ne,le,Se){if(1&ne&&e.Suo(Se,pe,4),2&ne){let Ne;e.iGM(Ne=e.CRH())&&(le.steps=Ne)}},hostAttrs:[1,"ant-steps"],hostVars:18,hostBindings:function(ne,le){2&ne&&e.ekj("ant-steps-horizontal","horizontal"===le.nzDirection)("ant-steps-vertical","vertical"===le.nzDirection)("ant-steps-label-horizontal","horizontal"===le.nzDirection)("ant-steps-label-vertical",(le.showProcessDot||"vertical"===le.nzLabelPlacement)&&"horizontal"===le.nzDirection)("ant-steps-dot",le.showProcessDot)("ant-steps-small","small"===le.nzSize)("ant-steps-navigation","navigation"===le.nzType)("ant-steps-rtl","rtl"===le.dir)("ant-steps-with-progress",le.showProgress)},inputs:{nzCurrent:"nzCurrent",nzDirection:"nzDirection",nzLabelPlacement:"nzLabelPlacement",nzType:"nzType",nzSize:"nzSize",nzStartIndex:"nzStartIndex",nzStatus:"nzStatus",nzProgressDot:"nzProgressDot"},outputs:{nzIndexChange:"nzIndexChange"},exportAs:["nzSteps"],features:[e._Bn([z.kn]),e.TTD],ngContentSelectors:te,decls:1,vars:0,template:function(ne,le){1&ne&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return ae})(),De=(()=>{class ae{static#e=this.\u0275fac=function(ne){return new(ne||ae)};static#t=this.\u0275mod=e.oAB({type:ae});static#n=this.\u0275inj=e.cJS({imports:[f.vT,v.ez,_.PV,d.T,m.W]})}return ae})()},96494:(tt,I,o)=>{"use strict";o.d(I,{i:()=>S,m:()=>A});var e=o(97582),n=o(36028),t=o(65879),i=o(60095),l=o(78645),h=o(92438),E=o(59773),u=o(83064),z=o(27754),M=o(4300),p=o(49388),v=o(96814),_=o(41958),d=o(90551),m=o(8324);const f=["switchElement"];function C(k,R){1&k&&t._UZ(0,"span",8)}function T(k,R){if(1&k&&(t.ynx(0),t._uU(1),t.BQk()),2&k){const W=t.oxw(2);t.xp6(1),t.Oqu(W.nzCheckedChildren)}}function b(k,R){if(1&k&&(t.ynx(0),t.YNc(1,T,2,1,"ng-container",9),t.BQk()),2&k){const W=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",W.nzCheckedChildren)}}function D(k,R){if(1&k&&(t.ynx(0),t._uU(1),t.BQk()),2&k){const W=t.oxw(2);t.xp6(1),t.Oqu(W.nzUnCheckedChildren)}}function y(k,R){if(1&k&&t.YNc(0,D,2,1,"ng-container",9),2&k){const W=t.oxw();t.Q6J("nzStringTemplateOutlet",W.nzUnCheckedChildren)}}let S=(()=>{class k{updateValue(W){this.isChecked!==W&&(this.isChecked=W,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(W,j,ze,Y,G,V){this.nzConfigService=W,this.host=j,this.ngZone=ze,this.cdr=Y,this.focusMonitor=G,this.directionality=V,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new l.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.directionality.change.pipe((0,E.R)(this.destroy$)).subscribe(W=>{this.dir=W,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,h.R)(this.host.nativeElement,"click").pipe((0,E.R)(this.destroy$)).subscribe(W=>{W.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,h.R)(this.switchElement.nativeElement,"keydown").pipe((0,E.R)(this.destroy$)).subscribe(W=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:j}=W;j!==n.oh&&j!==n.SV&&j!==n.L_&&j!==n.K5||(W.preventDefault(),this.ngZone.run(()=>{j===n.oh?this.updateValue(!1):j===n.SV?this.updateValue(!0):(j===n.L_||j===n.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,E.R)(this.destroy$)).subscribe(W=>{W||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(W){this.isChecked=W,this.cdr.markForCheck()}registerOnChange(W){this.onChange=W}registerOnTouched(W){this.onTouched=W}setDisabledState(W){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||W,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}static#e=this.\u0275fac=function(j){return new(j||k)(t.Y36(u.jY),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(M.tE),t.Y36(p.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:k,selectors:[["nz-switch"]],viewQuery:function(j,ze){if(1&j&&t.Gf(f,7),2&j){let Y;t.iGM(Y=t.CRH())&&(ze.switchElement=Y.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[t._Bn([{provide:i.JU,useExisting:(0,t.Gpc)(()=>k),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(j,ze){if(1&j&&(t.TgZ(0,"button",0,1)(2,"span",2),t.YNc(3,C,1,0,"span",3),t.qZA(),t.TgZ(4,"span",4),t.YNc(5,b,2,1,"ng-container",5),t.YNc(6,y,1,1,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(8,"div",7),t.qZA()),2&j){const Y=t.MAs(7);t.ekj("ant-switch-checked",ze.isChecked)("ant-switch-loading",ze.nzLoading)("ant-switch-disabled",ze.nzDisabled)("ant-switch-small","small"===ze.nzSize)("ant-switch-rtl","rtl"===ze.dir),t.Q6J("disabled",ze.nzDisabled)("nzWaveExtraNode",!0),t.uIk("id",ze.nzId),t.xp6(3),t.Q6J("ngIf",ze.nzLoading),t.xp6(2),t.Q6J("ngIf",ze.isChecked)("ngIfElse",Y)}},dependencies:[v.O5,_.dQ,d.Ls,m.f],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,z.yF)()],k.prototype,"nzLoading",void 0),(0,e.gn)([(0,z.yF)()],k.prototype,"nzDisabled",void 0),(0,e.gn)([(0,z.yF)()],k.prototype,"nzControl",void 0),(0,e.gn)([(0,u.oS)()],k.prototype,"nzSize",void 0),k})(),A=(()=>{class k{static#e=this.\u0275fac=function(j){return new(j||k)};static#t=this.\u0275mod=t.oAB({type:k});static#n=this.\u0275inj=t.cJS({imports:[p.vT,v.ez,_.vG,d.PV,m.T]})}return k})()},79663:(tt,I,o)=>{"use strict";o.d(I,{$Z:()=>Ri,HQ:()=>Vn,N8:()=>bi,Om:()=>Pi,Uo:()=>ai,Vk:()=>$i,_C:()=>fi,d3:()=>ni,h7:()=>Ti,p0:()=>wi,qD:()=>li,qn:()=>di,zu:()=>Di});var e=o(49388),n=o(62831),t=o(205),i=o(96814),l=o(65879),h=o(60095),E=o(42840),u=o(28802),z=o(62612),M=o(8324),p=o(62787),v=o(60804),_=o(12131),d=o(90551),m=o(73460),f=o(2274),C=o(57907),T=o(77273),b=o(97582),D=o(92438),y=o(78645),P=o(97328),S=o(65619),A=o(52572),k=o(63019),R=o(36232),W=o(22096),j=o(59773),ze=o(37398),Y=o(93997),G=o(83620),V=o(836),K=o(32181),ee=o(94664),te=o(27921),pe=o(5177),re=o(21631),De=o(83064),ae=o(99087),ce=o(27754),X=o(70855),ne=o(41958);const le=["*"];function Se(Mt,gn){}function Ne(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"label",15),l.NdJ("ngModelChange",function(){l.CHM(rt);const It=l.oxw().$implicit,Xt=l.oxw(2);return l.KtG(Xt.check(It))}),l.qZA()}if(2&Mt){const rt=l.oxw().$implicit;l.Q6J("ngModel",rt.checked)}}function ke(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"label",16),l.NdJ("ngModelChange",function(){l.CHM(rt);const It=l.oxw().$implicit,Xt=l.oxw(2);return l.KtG(Xt.check(It))}),l.qZA()}if(2&Mt){const rt=l.oxw().$implicit;l.Q6J("ngModel",rt.checked)}}function oe(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"li",12),l.NdJ("click",function(){const Xt=l.CHM(rt).$implicit,_n=l.oxw(2);return l.KtG(_n.check(Xt))}),l.YNc(1,Ne,1,1,"label",13),l.YNc(2,ke,1,1,"label",14),l.TgZ(3,"span"),l._uU(4),l.qZA()()}if(2&Mt){const rt=gn.$implicit,zt=l.oxw(2);l.Q6J("nzSelected",rt.checked),l.xp6(1),l.Q6J("ngIf",!zt.filterMultiple),l.xp6(1),l.Q6J("ngIf",zt.filterMultiple),l.xp6(2),l.Oqu(rt.text)}}function _e(Mt,gn){if(1&Mt){const rt=l.EpF();l.ynx(0),l.TgZ(1,"nz-filter-trigger",3),l.NdJ("nzVisibleChange",function(It){l.CHM(rt);const Xt=l.oxw();return l.KtG(Xt.onVisibleChange(It))}),l._UZ(2,"span",4),l.qZA(),l.TgZ(3,"nz-dropdown-menu",null,5)(5,"div",6)(6,"ul",7),l.YNc(7,oe,5,4,"li",8),l.qZA(),l.TgZ(8,"div",9)(9,"button",10),l.NdJ("click",function(){l.CHM(rt);const It=l.oxw();return l.KtG(It.reset())}),l._uU(10),l.qZA(),l.TgZ(11,"button",11),l.NdJ("click",function(){l.CHM(rt);const It=l.oxw();return l.KtG(It.confirm())}),l._uU(12),l.qZA()()()(),l.BQk()}if(2&Mt){const rt=l.MAs(4),zt=l.oxw();l.xp6(1),l.Q6J("nzVisible",zt.isVisible)("nzActive",zt.isChecked)("nzDropdownMenu",rt),l.xp6(6),l.Q6J("ngForOf",zt.listOfParsedFilter)("ngForTrackBy",zt.trackByValue),l.xp6(2),l.Q6J("disabled",!zt.isChecked),l.xp6(1),l.hij(" ",zt.locale.filterReset," "),l.xp6(2),l.Oqu(zt.locale.filterConfirm)}}function lt(Mt,gn){}function Pe(Mt,gn){if(1&Mt&&l._UZ(0,"span",6),2&Mt){const rt=l.oxw();l.ekj("active","ascend"===rt.sortOrder)}}function xt(Mt,gn){if(1&Mt&&l._UZ(0,"span",7),2&Mt){const rt=l.oxw();l.ekj("active","descend"===rt.sortOrder)}}const $e=["nzChecked",""];function ot(Mt,gn){if(1&Mt){const rt=l.EpF();l.ynx(0),l._UZ(1,"nz-row-indent",2),l.TgZ(2,"button",3),l.NdJ("expandChange",function(It){l.CHM(rt);const Xt=l.oxw();return l.KtG(Xt.onExpandChange(It))}),l.qZA(),l.BQk()}if(2&Mt){const rt=l.oxw();l.xp6(1),l.Q6J("indentSize",rt.nzIndentSize),l.xp6(1),l.Q6J("expand",rt.nzExpand)("spaceMode",!rt.nzShowExpand)}}function mt(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"label",4),l.NdJ("ngModelChange",function(It){l.CHM(rt);const Xt=l.oxw();return l.KtG(Xt.onCheckedChange(It))}),l.qZA()}if(2&Mt){const rt=l.oxw();l.Q6J("nzDisabled",rt.nzDisabled)("ngModel",rt.nzChecked)("nzIndeterminate",rt.nzIndeterminate)}}const we=["nzColumnKey",""];function de(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"nz-table-filter",5),l.NdJ("filterChange",function(It){l.CHM(rt);const Xt=l.oxw();return l.KtG(Xt.onFilterValueChange(It))}),l.qZA()}if(2&Mt){const rt=l.oxw(),zt=l.MAs(2),It=l.MAs(4);l.Q6J("contentTemplate",zt)("extraTemplate",It)("customFilter",rt.nzCustomFilter)("filterMultiple",rt.nzFilterMultiple)("listOfFilter",rt.nzFilters)}}function U(Mt,gn){}function B(Mt,gn){if(1&Mt&&l.YNc(0,U,0,0,"ng-template",6),2&Mt){const rt=l.oxw(),zt=l.MAs(6),It=l.MAs(8);l.Q6J("ngTemplateOutlet",rt.nzShowSort?zt:It)}}function Me(Mt,gn){1&Mt&&(l.Hsn(0),l.Hsn(1,1))}function Ae(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-sorters",7),2&Mt){const rt=l.oxw(),zt=l.MAs(8);l.Q6J("sortOrder",rt.sortOrder)("sortDirections",rt.sortDirections)("contentTemplate",zt)}}function Le(Mt,gn){1&Mt&&l.Hsn(0,2)}const ht=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],Ot=["[nz-th-extra]","nz-filter-trigger","*"],Wt=["nz-table-content",""];function qt(Mt,gn){if(1&Mt&&l._UZ(0,"col"),2&Mt){const rt=gn.$implicit;l.Udp("width",rt)("min-width",rt)}}function en(Mt,gn){}function Vt(Mt,gn){if(1&Mt&&(l.TgZ(0,"thead",3),l.YNc(1,en,0,0,"ng-template",2),l.qZA()),2&Mt){const rt=l.oxw();l.xp6(1),l.Q6J("ngTemplateOutlet",rt.theadTemplate)}}function cn(Mt,gn){}const ft=["tdElement"],gt=["nz-table-fixed-row",""];function Ie(Mt,gn){}function Ct(Mt,gn){if(1&Mt&&(l.TgZ(0,"div",4),l.ALo(1,"async"),l.YNc(2,Ie,0,0,"ng-template",5),l.qZA()),2&Mt){const rt=l.oxw(),zt=l.MAs(5);l.Udp("width",l.lcZ(1,3,rt.hostWidth$),"px"),l.xp6(2),l.Q6J("ngTemplateOutlet",zt)}}function Nt(Mt,gn){1&Mt&&l.Hsn(0)}const kt=["nz-table-measure-row",""];function St(Mt,gn){1&Mt&&l._UZ(0,"td",1,2)}function qe(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"tr",3),l.NdJ("listOfAutoWidth",function(It){l.CHM(rt);const Xt=l.oxw(2);return l.KtG(Xt.onListOfAutoWidthChange(It))}),l.qZA()}if(2&Mt){const rt=l.oxw().ngIf;l.Q6J("listOfMeasureColumn",rt)}}function Fe(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,qe,1,1,"tr",2),l.BQk()),2&Mt){const rt=gn.ngIf,zt=l.oxw();l.xp6(1),l.Q6J("ngIf",zt.isInsideTable&&rt.length)}}function fe(Mt,gn){if(1&Mt&&(l.TgZ(0,"tr",4),l._UZ(1,"nz-embed-empty",5),l.ALo(2,"async"),l.qZA()),2&Mt){const rt=l.oxw();l.xp6(1),l.Q6J("specificContent",l.lcZ(2,1,rt.noResult$))}}const Xe=["tableHeaderElement"],ge=["tableBodyElement"];function je(Mt,gn){if(1&Mt&&(l.TgZ(0,"div",7,8),l._UZ(2,"table",9),l.qZA()),2&Mt){const rt=l.oxw(2);l.Q6J("ngStyle",rt.bodyStyleMap),l.xp6(2),l.Q6J("scrollX",rt.scrollX)("listOfColWidth",rt.listOfColWidth)("contentTemplate",rt.contentTemplate)}}function Ye(Mt,gn){}const We=function(Mt,gn){return{$implicit:Mt,index:gn}};function wt(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,Ye,0,0,"ng-template",13),l.BQk()),2&Mt){const rt=gn.$implicit,zt=gn.index,It=l.oxw(3);l.xp6(1),l.Q6J("ngTemplateOutlet",It.virtualTemplate)("ngTemplateOutletContext",l.WLB(2,We,rt,zt))}}function Ee(Mt,gn){if(1&Mt&&(l.TgZ(0,"cdk-virtual-scroll-viewport",10,8)(2,"table",11)(3,"tbody"),l.YNc(4,wt,2,5,"ng-container",12),l.qZA()()()),2&Mt){const rt=l.oxw(2);l.Udp("height",rt.data.length?rt.scrollY:rt.noDateVirtualHeight),l.Q6J("itemSize",rt.virtualItemSize)("maxBufferPx",rt.virtualMaxBufferPx)("minBufferPx",rt.virtualMinBufferPx),l.xp6(2),l.Q6J("scrollX",rt.scrollX)("listOfColWidth",rt.listOfColWidth),l.xp6(2),l.Q6J("cdkVirtualForOf",rt.data)("cdkVirtualForTrackBy",rt.virtualForTrackBy)}}function be(Mt,gn){if(1&Mt&&(l.ynx(0),l.TgZ(1,"div",2,3),l._UZ(3,"table",4),l.qZA(),l.YNc(4,je,3,4,"div",5),l.YNc(5,Ee,5,9,"cdk-virtual-scroll-viewport",6),l.BQk()),2&Mt){const rt=l.oxw();l.xp6(1),l.Q6J("ngStyle",rt.headerStyleMap),l.xp6(2),l.Q6J("scrollX",rt.scrollX)("listOfColWidth",rt.listOfColWidth)("theadTemplate",rt.theadTemplate),l.xp6(1),l.Q6J("ngIf",!rt.virtualTemplate),l.xp6(1),l.Q6J("ngIf",rt.virtualTemplate)}}function Qe(Mt,gn){if(1&Mt&&(l.TgZ(0,"div",14,8),l._UZ(2,"table",15),l.qZA()),2&Mt){const rt=l.oxw();l.Q6J("ngStyle",rt.bodyStyleMap),l.xp6(2),l.Q6J("scrollX",rt.scrollX)("listOfColWidth",rt.listOfColWidth)("theadTemplate",rt.theadTemplate)("contentTemplate",rt.contentTemplate)}}function Ke(Mt,gn){if(1&Mt&&(l.ynx(0),l._uU(1),l.BQk()),2&Mt){const rt=l.oxw();l.xp6(1),l.Oqu(rt.title)}}function Ze(Mt,gn){if(1&Mt&&(l.ynx(0),l._uU(1),l.BQk()),2&Mt){const rt=l.oxw();l.xp6(1),l.Oqu(rt.footer)}}function ve(Mt,gn){}function nt(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,ve,0,0,"ng-template",10),l.BQk()),2&Mt){l.oxw();const rt=l.MAs(11);l.xp6(1),l.Q6J("ngTemplateOutlet",rt)}}function x(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-title-footer",11),2&Mt){const rt=l.oxw();l.Q6J("title",rt.nzTitle)}}function N(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-inner-scroll",12),2&Mt){const rt=l.oxw(),zt=l.MAs(13),It=l.MAs(3);l.Q6J("data",rt.data)("scrollX",rt.scrollX)("scrollY",rt.scrollY)("contentTemplate",zt)("listOfColWidth",rt.listOfAutoColWidth)("theadTemplate",rt.theadTemplate)("verticalScrollBarWidth",rt.verticalScrollBarWidth)("virtualTemplate",rt.nzVirtualScrollDirective?rt.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",rt.nzVirtualItemSize)("virtualMaxBufferPx",rt.nzVirtualMaxBufferPx)("virtualMinBufferPx",rt.nzVirtualMinBufferPx)("tableMainElement",It)("virtualForTrackBy",rt.nzVirtualForTrackBy)}}function O(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-inner-default",13),2&Mt){const rt=l.oxw(),zt=l.MAs(13);l.Q6J("tableLayout",rt.nzTableLayout)("listOfColWidth",rt.listOfManualColWidth)("theadTemplate",rt.theadTemplate)("contentTemplate",zt)}}function $(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-title-footer",14),2&Mt){const rt=l.oxw();l.Q6J("footer",rt.nzFooter)}}function L(Mt,gn){}function he(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,L,0,0,"ng-template",10),l.BQk()),2&Mt){l.oxw();const rt=l.MAs(11);l.xp6(1),l.Q6J("ngTemplateOutlet",rt)}}function Ce(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"nz-pagination",16),l.NdJ("nzPageSizeChange",function(It){l.CHM(rt);const Xt=l.oxw(2);return l.KtG(Xt.onPageSizeChange(It))})("nzPageIndexChange",function(It){l.CHM(rt);const Xt=l.oxw(2);return l.KtG(Xt.onPageIndexChange(It))}),l.qZA()}if(2&Mt){const rt=l.oxw(2);l.Q6J("hidden",!rt.showPagination)("nzShowSizeChanger",rt.nzShowSizeChanger)("nzPageSizeOptions",rt.nzPageSizeOptions)("nzItemRender",rt.nzItemRender)("nzShowQuickJumper",rt.nzShowQuickJumper)("nzHideOnSinglePage",rt.nzHideOnSinglePage)("nzShowTotal",rt.nzShowTotal)("nzSize","small"===rt.nzPaginationType?"small":"default"===rt.nzSize?"default":"small")("nzPageSize",rt.nzPageSize)("nzTotal",rt.nzTotal)("nzSimple",rt.nzSimple)("nzPageIndex",rt.nzPageIndex)}}function Dt(Mt,gn){if(1&Mt&&l.YNc(0,Ce,1,12,"nz-pagination",15),2&Mt){const rt=l.oxw();l.Q6J("ngIf",rt.nzShowPagination&&rt.data.length)}}function Yt(Mt,gn){1&Mt&&l.Hsn(0)}const rn=["contentTemplate"];function hn(Mt,gn){1&Mt&&l.Hsn(0)}function yn(Mt,gn){}function Mn(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,yn,0,0,"ng-template",2),l.BQk()),2&Mt){l.oxw();const rt=l.MAs(1);l.xp6(1),l.Q6J("ngTemplateOutlet",rt)}}let Dn=(()=>{class Mt{onVisibleChange(rt){this.nzVisible=rt,this.nzVisibleChange.next(rt)}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}constructor(rt,zt,It,Xt){this.nzConfigService=rt,this.ngZone=zt,this.cdr=It,this.destroy$=Xt,this._nzModuleName="filterTrigger",this.nzActive=!1,this.nzVisible=!1,this.nzBackdrop=!1,this.nzVisibleChange=new l.vpe}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,D.R)(this.nzDropdown.nativeElement,"click").pipe((0,j.R)(this.destroy$)).subscribe(rt=>{rt.stopPropagation()})})}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(De.jY),l.Y36(l.R0b),l.Y36(l.sBO),l.Y36(ae.kn))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-filter-trigger"]],viewQuery:function(zt,It){if(1&zt&&l.Gf(p.cm,7,l.SBq),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.nzDropdown=Xt.first)}},inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:"nzBackdrop"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],features:[l._Bn([ae.kn])],ngContentSelectors:le,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzBackdrop","nzClickHide","nzDropdownMenu","nzVisible","nzVisibleChange"]],template:function(zt,It){1&zt&&(l.F$t(),l.TgZ(0,"span",0),l.NdJ("nzVisibleChange",function(_n){return It.onVisibleChange(_n)}),l.Hsn(1),l.qZA()),2&zt&&(l.ekj("active",It.nzActive)("ant-table-filter-open",It.nzVisible),l.Q6J("nzBackdrop",It.nzBackdrop)("nzClickHide",!1)("nzDropdownMenu",It.nzDropdownMenu)("nzVisible",It.nzVisible))},dependencies:[p.cm],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzBackdrop",void 0),Mt})(),xn=(()=>{class Mt{trackByValue(rt,zt){return zt.value}check(rt){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(zt=>zt===rt?{...zt,checked:!rt.checked}:zt),rt.checked=!rt.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(zt=>({...zt,checked:zt===rt})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange(rt){this.isVisible=rt,rt?this.listOfChecked=this.listOfParsedFilter.filter(zt=>zt.checked).map(zt=>zt.value):this.emitFilterData()}emitFilterData(){const rt=this.listOfParsedFilter.filter(zt=>zt.checked).map(zt=>zt.value);(0,ce.cO)(this.listOfChecked,rt)||this.filterChange.emit(this.filterMultiple?rt:rt.length>0?rt[0]:null)}parseListOfFilter(rt,zt){return rt.map(It=>({text:It.text,value:It.value,checked:!zt&&!!It.byDefault}))}getCheckedStatus(rt){return rt.some(zt=>zt.checked)}constructor(rt,zt){this.cdr=rt,this.i18n=zt,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new l.vpe,this.destroy$=new y.x,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[],this.listOfChecked=[]}ngOnInit(){this.i18n.localeChange.pipe((0,j.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges(rt){const{listOfFilter:zt}=rt;zt&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.sBO),l.Y36(_.wi))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-filter"]],hostAttrs:[1,"ant-table-filter-column"],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[l.TTD],decls:3,vars:3,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[4,"ngIf","ngIfElse"],[3,"nzVisible","nzActive","nzDropdownMenu","nzVisibleChange"],["nz-icon","","nzType","filter","nzTheme","fill"],["filterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"disabled","click"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"nzSelected","click"],["nz-radio","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-radio","",3,"ngModel","ngModelChange"],["nz-checkbox","",3,"ngModel","ngModelChange"]],template:function(zt,It){1&zt&&(l.TgZ(0,"span",0),l.YNc(1,Se,0,0,"ng-template",1),l.qZA(),l.YNc(2,_e,13,8,"ng-container",2)),2&zt&&(l.xp6(1),l.Q6J("ngTemplateOutlet",It.contentTemplate),l.xp6(1),l.Q6J("ngIf",!It.customFilter)("ngIfElse",It.extraTemplate))},dependencies:[m.wO,m.r9,h.JJ,h.On,C.Of,z.Ie,p.RR,E.ix,X.w,ne.dQ,i.sg,i.O5,i.tP,d.Ls,Dn],encapsulation:2,changeDetection:0})}return Mt})(),Ln=(()=>{class Mt{constructor(){this.expand=!1,this.spaceMode=!1,this.expandChange=new l.vpe}onHostClick(){this.spaceMode||(this.expand=!this.expand,this.expandChange.next(this.expand))}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["button","nz-row-expand-button",""]],hostAttrs:[1,"ant-table-row-expand-icon"],hostVars:7,hostBindings:function(zt,It){1&zt&&l.NdJ("click",function(){return It.onHostClick()}),2&zt&&(l.Ikx("type","button"),l.ekj("ant-table-row-expand-icon-expanded",!It.spaceMode&&!0===It.expand)("ant-table-row-expand-icon-collapsed",!It.spaceMode&&!1===It.expand)("ant-table-row-expand-icon-spaced",It.spaceMode))},inputs:{expand:"expand",spaceMode:"spaceMode"},outputs:{expandChange:"expandChange"}})}return Mt})(),ei=(()=>{class Mt{constructor(){this.indentSize=0}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["nz-row-indent"]],hostAttrs:[1,"ant-table-row-indent"],hostVars:2,hostBindings:function(zt,It){2&zt&&l.Udp("padding-left",It.indentSize,"px")},inputs:{indentSize:"indentSize"}})}return Mt})(),Hn=(()=>{class Mt{constructor(){this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1}ngOnChanges(rt){const{sortDirections:zt}=rt;zt&&(this.isUp=-1!==this.sortDirections.indexOf("ascend"),this.isDown=-1!==this.sortDirections.indexOf("descend"))}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-sorters"]],hostAttrs:[1,"ant-table-column-sorters"],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[l.TTD],decls:6,vars:5,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nz-icon","","nzType","caret-up","class","ant-table-column-sorter-up",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-down","class","ant-table-column-sorter-down",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-up",1,"ant-table-column-sorter-up"],["nz-icon","","nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(zt,It){1&zt&&(l.TgZ(0,"span",0),l.YNc(1,lt,0,0,"ng-template",1),l.qZA(),l.TgZ(2,"span",2)(3,"span",3),l.YNc(4,Pe,1,2,"span",4),l.YNc(5,xt,1,2,"span",5),l.qZA()()),2&zt&&(l.xp6(1),l.Q6J("ngTemplateOutlet",It.contentTemplate),l.xp6(1),l.ekj("ant-table-column-sorter-full",It.isDown&&It.isUp),l.xp6(2),l.Q6J("ngIf",It.isUp),l.xp6(1),l.Q6J("ngIf",It.isDown))},dependencies:[X.w,i.O5,i.tP,d.Ls],encapsulation:2,changeDetection:0})}return Mt})(),di=(()=>{class Mt{setAutoLeftWidth(rt){this.renderer.setStyle(this.elementRef.nativeElement,"left",rt)}setAutoRightWidth(rt){this.renderer.setStyle(this.elementRef.nativeElement,"right",rt)}setIsFirstRight(rt){this.setFixClass(rt,"ant-table-cell-fix-right-first")}setIsLastLeft(rt){this.setFixClass(rt,"ant-table-cell-fix-left-last")}setFixClass(rt,zt){this.renderer.removeClass(this.elementRef.nativeElement,zt),rt&&this.renderer.addClass(this.elementRef.nativeElement,zt)}constructor(rt,zt){this.renderer=rt,this.elementRef=zt,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.colSpan=null,this.changes$=new y.x,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=""===this.nzLeft||!0===this.nzLeft,this.isAutoRight=""===this.nzRight||!0===this.nzRight,this.isFixedLeft=!1!==this.nzLeft,this.isFixedRight=!1!==this.nzRight,this.isFixed=this.isFixedLeft||this.isFixedRight;const rt=zt=>"string"==typeof zt&&""!==zt?zt:null;this.setAutoLeftWidth(rt(this.nzLeft)),this.setAutoRightWidth(rt(this.nzRight)),this.changes$.next()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.Qsj),l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function(zt,It){2&zt&&(l.Udp("position",It.isFixed?"sticky":null),l.ekj("ant-table-cell-fix-right",It.isFixedRight)("ant-table-cell-fix-left",It.isFixedLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[l.TTD]})}return Mt})(),oi=(()=>{class Mt{setTheadTemplate(rt){this.theadTemplate$.next(rt)}setHasFixLeft(rt){this.hasFixLeft$.next(rt)}setHasFixRight(rt){this.hasFixRight$.next(rt)}setTableWidthConfig(rt){this.tableWidthConfigPx$.next(rt)}setListOfTh(rt){let zt=0;rt.forEach(Xt=>{zt+=Xt.colspan&&+Xt.colspan||Xt.colSpan&&+Xt.colSpan||1});const It=rt.map(Xt=>Xt.nzWidth);this.columnCount$.next(zt),this.listOfThWidthConfigPx$.next(It)}setListOfMeasureColumn(rt){const zt=[];rt.forEach(It=>{const Xt=It.colspan&&+It.colspan||It.colSpan&&+It.colSpan||1;for(let _n=0;_n`${zt}px`))}setShowEmpty(rt){this.showEmpty$.next(rt)}setNoResult(rt){this.noResult$.next(rt)}setScroll(rt,zt){const It=!(!rt&&!zt);It||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(It)}constructor(){this.theadTemplate$=new P.t(1),this.hasFixLeft$=new P.t(1),this.hasFixRight$=new P.t(1),this.hostWidth$=new P.t(1),this.columnCount$=new P.t(1),this.showEmpty$=new P.t(1),this.noResult$=new P.t(1),this.listOfThWidthConfigPx$=new S.X([]),this.tableWidthConfigPx$=new S.X([]),this.manualWidthConfigPx$=(0,A.a)([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe((0,ze.U)(([rt,zt])=>rt.length?rt:zt)),this.listOfAutoWidthPx$=new P.t(1),this.listOfListOfThWidthPx$=(0,k.T)(this.manualWidthConfigPx$,(0,A.a)([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe((0,ze.U)(([rt,zt])=>rt.length===zt.length?rt.map((It,Xt)=>"0px"===It?zt[Xt]||null:zt[Xt]||It):zt))),this.listOfMeasureColumn$=new P.t(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe((0,ze.U)(rt=>rt.map(zt=>parseInt(zt,10)))),this.enableAutoMeasure$=new P.t(1)}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275prov=l.Yz7({token:Mt,factory:Mt.\u0275fac})}return Mt})(),ai=(()=>{class Mt{constructor(rt){this.isInsideTable=!1,this.isInsideTable=!!rt}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(oi,8))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["th",9,"nz-disable-th",3,"mat-cell",""],["td",9,"nz-disable-td",3,"mat-cell",""]],hostVars:2,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-cell",It.isInsideTable)}})}return Mt})(),ri=(()=>{class Mt{updatePageSize(rt){this.pageSize$.next(rt)}updateFrontPagination(rt){this.frontPagination$.next(rt)}updatePageIndex(rt){this.pageIndex$.next(rt)}updateListOfData(rt){this.listOfData$.next(rt)}updateListOfCustomColumn(rt){this.listOfCustomColumn$.next(rt)}constructor(){this.destroy$=new y.x,this.pageIndex$=new S.X(1),this.frontPagination$=new S.X(!0),this.pageSize$=new S.X(10),this.listOfData$=new S.X([]),this.listOfCustomColumn$=new S.X([]),this.pageIndexDistinct$=this.pageIndex$.pipe((0,Y.x)()),this.pageSizeDistinct$=this.pageSize$.pipe((0,Y.x)()),this.listOfCalcOperator$=new S.X([]),this.queryParams$=(0,A.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe((0,G.b)(0),(0,V.T)(1),(0,ze.U)(([rt,zt,It])=>({pageIndex:rt,pageSize:zt,sort:It.filter(Xt=>Xt.sortFn).map(Xt=>({key:Xt.key,value:Xt.sortOrder})),filter:It.filter(Xt=>Xt.filterFn).map(Xt=>({key:Xt.key,value:Xt.filterValue}))}))),this.listOfDataAfterCalc$=(0,A.a)([this.listOfData$,this.listOfCalcOperator$]).pipe((0,ze.U)(([rt,zt])=>{let It=[...rt];const Xt=zt.filter(Fn=>{const{filterValue:On,filterFn:mi}=Fn;return!(null==On||Array.isArray(On)&&0===On.length)&&"function"==typeof mi});for(const Fn of Xt){const{filterFn:On,filterValue:mi}=Fn;It=It.filter(bt=>On(mi,bt))}const _n=zt.filter(Fn=>null!==Fn.sortOrder&&"function"==typeof Fn.sortFn).sort((Fn,On)=>+On.sortPriority-+Fn.sortPriority);return zt.length&&It.sort((Fn,On)=>{for(const mi of _n){const{sortFn:bt,sortOrder:at}=mi;if(bt&&at){const Je=bt(Fn,On,at);if(0!==Je)return"ascend"===at?Je:-Je}}return 0}),It})),this.listOfFrontEndCurrentPageData$=(0,A.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe((0,j.R)(this.destroy$),(0,K.h)(rt=>{const[zt,It,Xt]=rt;return zt<=(Math.ceil(Xt.length/It)||1)}),(0,ze.U)(([rt,zt,It])=>It.slice((rt-1)*zt,rt*zt))),this.listOfCurrentPageData$=this.frontPagination$.pipe((0,ee.w)(rt=>rt?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$)),this.total$=this.frontPagination$.pipe((0,ee.w)(rt=>rt?this.listOfDataAfterCalc$:this.listOfData$),(0,ze.U)(rt=>rt.length),(0,Y.x)())}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275prov=l.Yz7({token:Mt,factory:Mt.\u0275fac})}return Mt})(),Ti=(()=>{class Mt{constructor(){this.nzChecked=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzIndentSize=0,this.nzShowExpand=!1,this.nzShowCheckbox=!1,this.nzExpand=!1,this.nzCheckedChange=new l.vpe,this.nzExpandChange=new l.vpe,this.isNzShowExpandChanged=!1,this.isNzShowCheckboxChanged=!1}onCheckedChange(rt){this.nzChecked=rt,this.nzCheckedChange.emit(rt)}onExpandChange(rt){this.nzExpand=rt,this.nzExpandChange.emit(rt)}ngOnChanges(rt){const zt=On=>On&&On.firstChange&&void 0!==On.currentValue,{nzExpand:It,nzChecked:Xt,nzShowExpand:_n,nzShowCheckbox:Fn}=rt;_n&&(this.isNzShowExpandChanged=!0),Fn&&(this.isNzShowCheckboxChanged=!0),zt(It)&&!this.isNzShowExpandChanged&&(this.nzShowExpand=!0),zt(Xt)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["td","nzChecked",""],["td","nzDisabled",""],["td","nzIndeterminate",""],["td","nzIndentSize",""],["td","nzExpand",""],["td","nzShowExpand",""],["td","nzShowCheckbox",""]],hostVars:4,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-cell-with-append",It.nzShowExpand||It.nzIndentSize>0)("ant-table-selection-column",It.nzShowCheckbox)},inputs:{nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzIndentSize:"nzIndentSize",nzShowExpand:"nzShowExpand",nzShowCheckbox:"nzShowCheckbox",nzExpand:"nzExpand"},outputs:{nzCheckedChange:"nzCheckedChange",nzExpandChange:"nzExpandChange"},features:[l.TTD],attrs:$e,ngContentSelectors:le,decls:3,vars:2,consts:[[4,"ngIf"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange",4,"ngIf"],[3,"indentSize"],["nz-row-expand-button","",3,"expand","spaceMode","expandChange"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange"]],template:function(zt,It){1&zt&&(l.F$t(),l.YNc(0,ot,3,3,"ng-container",0),l.YNc(1,mt,1,3,"label",1),l.Hsn(2)),2&zt&&(l.Q6J("ngIf",It.nzShowExpand||It.nzIndentSize>0),l.xp6(1),l.Q6J("ngIf",It.nzShowCheckbox))},dependencies:[h.JJ,h.On,z.Ie,i.O5,ei,Ln],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowExpand",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowCheckbox",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzExpand",void 0),Mt})(),li=(()=>{class Mt{getNextSortDirection(rt,zt){const It=rt.indexOf(zt);return It===rt.length-1?rt[0]:rt[It+1]}setSortOrder(rt){this.sortOrderChange$.next(rt)}clearSortOrder(){null!==this.sortOrder&&this.setSortOrder(null)}onFilterValueChange(rt){this.nzFilterChange.emit(rt),this.nzFilterValue=rt,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}constructor(rt,zt,It,Xt){this.host=rt,this.cdr=zt,this.ngZone=It,this.destroy$=Xt,this.manualClickOrder$=new y.x,this.calcOperatorChange$=new y.x,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new y.x,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new l.vpe,this.nzSortOrderChange=new l.vpe,this.nzFilterChange=new l.vpe}ngOnInit(){this.ngZone.runOutsideAngular(()=>(0,D.R)(this.host.nativeElement,"click").pipe((0,K.h)(()=>this.nzShowSort),(0,j.R)(this.destroy$)).subscribe(()=>{const rt=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.ngZone.run(()=>{this.setSortOrder(rt),this.manualClickOrder$.next(this)})})),this.sortOrderChange$.pipe((0,j.R)(this.destroy$)).subscribe(rt=>{this.sortOrder!==rt&&(this.sortOrder=rt,this.nzSortOrderChange.emit(rt)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges(rt){const{nzSortDirections:zt,nzFilters:It,nzSortOrder:Xt,nzSortFn:_n,nzFilterFn:Fn,nzSortPriority:On,nzFilterMultiple:mi,nzShowSort:bt,nzShowFilter:at}=rt;zt&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),Xt&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),bt&&(this.isNzShowSortChanged=!0),at&&(this.isNzShowFilterChanged=!0);const Je=Rt=>Rt&&Rt.firstChange&&void 0!==Rt.currentValue;if((Je(Xt)||Je(_n))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),Je(It)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(It||mi)&&this.nzShowFilter){const Rt=this.nzFilters.filter(Kt=>Kt.byDefault).map(Kt=>Kt.value);this.nzFilterValue=this.nzFilterMultiple?Rt:Rt[0]||null}(_n||Fn||On||It)&&this.updateCalcOperator()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(l.R0b),l.Y36(ae.kn))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-column-has-sorters",It.nzShowSort)("ant-table-column-sort","descend"===It.sortOrder||"ascend"===It.sortOrder)},inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[l._Bn([ae.kn]),l.TTD],attrs:we,ngContentSelectors:Ot,decls:9,vars:2,consts:[[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange",4,"ngIf","ngIfElse"],["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange"],[3,"ngTemplateOutlet"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(zt,It){if(1&zt&&(l.F$t(ht),l.YNc(0,de,1,5,"nz-table-filter",0),l.YNc(1,B,1,1,"ng-template",null,1,l.W1O),l.YNc(3,Me,2,0,"ng-template",null,2,l.W1O),l.YNc(5,Ae,1,3,"ng-template",null,3,l.W1O),l.YNc(7,Le,1,0,"ng-template",null,4,l.W1O)),2&zt){const Xt=l.MAs(2);l.Q6J("ngIf",It.nzShowFilter||It.nzCustomFilter)("ngIfElse",Xt)}},dependencies:[i.O5,i.tP,Hn,xn],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowSort",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowFilter",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzCustomFilter",void 0),Mt})(),fi=(()=>{class Mt{constructor(rt,zt){this.renderer=rt,this.elementRef=zt,this.changes$=new y.x,this.nzWidth=null,this.colspan=null,this.colSpan=null,this.rowspan=null,this.rowSpan=null}ngOnChanges(rt){const{nzWidth:zt,colspan:It,rowspan:Xt,colSpan:_n,rowSpan:Fn}=rt;if(It||_n){const On=this.colspan||this.colSpan;(0,ce.kK)(On)?this.renderer.removeAttribute(this.elementRef.nativeElement,"colspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"colspan",`${On}`)}if(Xt||Fn){const On=this.rowspan||this.rowSpan;(0,ce.kK)(On)?this.renderer.removeAttribute(this.elementRef.nativeElement,"rowspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"rowspan",`${On}`)}(zt||It)&&this.changes$.next()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.Qsj),l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[l.TTD]})}return Mt})(),ki=(()=>{class Mt{constructor(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(zt,It){2&zt&&(l.Udp("table-layout",It.tableLayout)("width",It.scrollX)("min-width",It.scrollX?"100%":null),l.ekj("ant-table-fixed",It.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:Wt,ngContentSelectors:le,decls:4,vars:3,consts:[[3,"width","minWidth",4,"ngFor","ngForOf"],["class","ant-table-thead",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-table-thead"]],template:function(zt,It){1&zt&&(l.F$t(),l.YNc(0,qt,1,4,"col",0),l.YNc(1,Vt,2,1,"thead",1),l.YNc(2,cn,0,0,"ng-template",2),l.Hsn(3)),2&zt&&(l.Q6J("ngForOf",It.listOfColWidth),l.xp6(1),l.Q6J("ngIf",It.theadTemplate),l.xp6(1),l.Q6J("ngTemplateOutlet",It.contentTemplate))},dependencies:[i.sg,i.O5,i.tP],encapsulation:2,changeDetection:0})}return Mt})(),$i=(()=>{class Mt{constructor(rt,zt){this.nzTableStyleService=rt,this.renderer=zt,this.hostWidth$=new S.X(null),this.enableAutoMeasure$=new S.X(!1),this.destroy$=new y.x}ngOnInit(){if(this.nzTableStyleService){const{enableAutoMeasure$:rt,hostWidth$:zt}=this.nzTableStyleService;rt.pipe((0,j.R)(this.destroy$)).subscribe(this.enableAutoMeasure$),zt.pipe((0,j.R)(this.destroy$)).subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe((0,j.R)(this.destroy$)).subscribe(rt=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${rt}`)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(oi),l.Y36(l.Qsj))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(zt,It){if(1&zt&&l.Gf(ft,7),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.tdElement=Xt.first)}},attrs:gt,ngContentSelectors:le,decls:6,vars:4,consts:[[1,"nz-disable-td","ant-table-cell"],["tdElement",""],["class","ant-table-expanded-row-fixed","style","position: sticky; left: 0px; overflow: hidden;",3,"width",4,"ngIf","ngIfElse"],["contentTemplate",""],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0px","overflow","hidden"],[3,"ngTemplateOutlet"]],template:function(zt,It){if(1&zt&&(l.F$t(),l.TgZ(0,"td",0,1),l.YNc(2,Ct,3,5,"div",2),l.ALo(3,"async"),l.qZA(),l.YNc(4,Nt,1,0,"ng-template",null,3,l.W1O)),2&zt){const Xt=l.MAs(5);l.xp6(2),l.Q6J("ngIf",l.lcZ(3,2,It.enableAutoMeasure$))("ngIfElse",Xt)}},dependencies:[i.O5,i.tP,i.Ov],encapsulation:2,changeDetection:0})}return Mt})(),no=(()=>{class Mt{constructor(){this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-inner-default"]],hostAttrs:[1,"ant-table-container"],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},decls:2,vars:4,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate"]],template:function(zt,It){1&zt&&(l.TgZ(0,"div",0),l._UZ(1,"table",1),l.qZA()),2&zt&&(l.xp6(1),l.Q6J("contentTemplate",It.contentTemplate)("tableLayout",It.tableLayout)("listOfColWidth",It.listOfColWidth)("theadTemplate",It.theadTemplate))},dependencies:[ki],encapsulation:2,changeDetection:0})}return Mt})(),Eo=(()=>{class Mt{constructor(rt,zt){this.nzResizeObserver=rt,this.ngZone=zt,this.listOfMeasureColumn=[],this.listOfAutoWidth=new l.vpe,this.destroy$=new y.x}trackByFunc(rt,zt){return zt}ngAfterViewInit(){this.listOfTdElement.changes.pipe((0,te.O)(this.listOfTdElement)).pipe((0,ee.w)(rt=>(0,A.a)(rt.toArray().map(zt=>this.nzResizeObserver.observe(zt).pipe((0,ze.U)(([It])=>{const{width:Xt}=It.target.getBoundingClientRect();return Math.floor(Xt)}))))),(0,G.b)(16),(0,j.R)(this.destroy$)).subscribe(rt=>{this.ngZone instanceof l.R0b&&l.R0b.isInAngularZone()?this.listOfAutoWidth.next(rt):this.ngZone.run(()=>this.listOfAutoWidth.next(rt))})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(u.D3),l.Y36(l.R0b))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(zt,It){if(1&zt&&l.Gf(ft,5),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.listOfTdElement=Xt)}},hostAttrs:[1,"ant-table-measure-now"],inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:kt,decls:1,vars:2,consts:[["class","nz-disable-td","style","padding: 0px; border: 0px; height: 0px;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nz-disable-td",2,"padding","0px","border","0px","height","0px"],["tdElement",""]],template:function(zt,It){1&zt&&l.YNc(0,St,2,0,"td",0),2&zt&&l.Q6J("ngForOf",It.listOfMeasureColumn)("ngForTrackBy",It.trackByFunc)},dependencies:[i.sg],encapsulation:2,changeDetection:0})}return Mt})(),wi=(()=>{class Mt{constructor(rt){if(this.nzTableStyleService=rt,this.isInsideTable=!1,this.showEmpty$=new S.X(!1),this.noResult$=new S.X(void 0),this.listOfMeasureColumn$=new S.X([]),this.destroy$=new y.x,this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){const{showEmpty$:zt,noResult$:It,listOfMeasureColumn$:Xt}=this.nzTableStyleService;It.pipe((0,j.R)(this.destroy$)).subscribe(this.noResult$),Xt.pipe((0,j.R)(this.destroy$)).subscribe(this.listOfMeasureColumn$),zt.pipe((0,j.R)(this.destroy$)).subscribe(this.showEmpty$)}}onListOfAutoWidthChange(rt){this.nzTableStyleService.setListOfAutoWidth(rt)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(oi,8))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["tbody"]],hostVars:2,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-tbody",It.isInsideTable)},ngContentSelectors:le,decls:5,vars:6,consts:[[4,"ngIf"],["class","ant-table-placeholder","nz-table-fixed-row","",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth"],["nz-table-fixed-row","",1,"ant-table-placeholder"],["nzComponentName","table",3,"specificContent"]],template:function(zt,It){1&zt&&(l.F$t(),l.YNc(0,Fe,2,1,"ng-container",0),l.ALo(1,"async"),l.Hsn(2),l.YNc(3,fe,3,3,"tr",1),l.ALo(4,"async")),2&zt&&(l.Q6J("ngIf",l.lcZ(1,2,It.listOfMeasureColumn$)),l.xp6(3),l.Q6J("ngIf",l.lcZ(4,4,It.showEmpty$)))},dependencies:[i.O5,v.gB,Eo,$i,i.Ov],encapsulation:2,changeDetection:0})}return Mt})(),Ji=(()=>{class Mt{setScrollPositionClassName(rt=!1){const{scrollWidth:zt,scrollLeft:It,clientWidth:Xt}=this.tableBodyElement.nativeElement,_n="ant-table-ping-left",Fn="ant-table-ping-right";zt===Xt&&0!==zt||rt?(this.renderer.removeClass(this.tableMainElement,_n),this.renderer.removeClass(this.tableMainElement,Fn)):0===It?(this.renderer.removeClass(this.tableMainElement,_n),this.renderer.addClass(this.tableMainElement,Fn)):zt===It+Xt?(this.renderer.removeClass(this.tableMainElement,Fn),this.renderer.addClass(this.tableMainElement,_n)):(this.renderer.addClass(this.tableMainElement,_n),this.renderer.addClass(this.tableMainElement,Fn))}constructor(rt,zt,It,Xt){this.renderer=rt,this.ngZone=zt,this.platform=It,this.resizeService=Xt,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=_n=>_n,this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new y.x,this.scroll$=new y.x,this.destroy$=new y.x}ngOnChanges(rt){const{scrollX:zt,scrollY:It,data:Xt}=rt;(zt||It)&&(this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&0!==this.verticalScrollBarWidth?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.ngZone.runOutsideAngular(()=>this.scroll$.next())),Xt&&this.ngZone.runOutsideAngular(()=>this.data$.next())}ngAfterViewInit(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{const rt=this.scroll$.pipe((0,te.O)(null),(0,pe.g)(0),(0,ee.w)(()=>(0,D.R)(this.tableBodyElement.nativeElement,"scroll").pipe((0,te.O)(!0))),(0,j.R)(this.destroy$)),zt=this.resizeService.subscribe().pipe((0,j.R)(this.destroy$)),It=this.data$.pipe((0,j.R)(this.destroy$));(0,k.T)(rt,zt,It,this.scroll$).pipe((0,te.O)(!0),(0,pe.g)(0),(0,j.R)(this.destroy$)).subscribe(()=>this.setScrollPositionClassName()),rt.pipe((0,K.h)(()=>!!this.scrollY)).subscribe(()=>this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}ngOnDestroy(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.Qsj),l.Y36(l.R0b),l.Y36(n.t4),l.Y36(ae.rI))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-inner-scroll"]],viewQuery:function(zt,It){if(1&zt&&(l.Gf(Xe,5,l.SBq),l.Gf(ge,5,l.SBq),l.Gf(t.N7,5,t.N7)),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.tableHeaderElement=Xt.first),l.iGM(Xt=l.CRH())&&(It.tableBodyElement=Xt.first),l.iGM(Xt=l.CRH())&&(It.cdkVirtualScrollViewport=Xt.first)}},hostAttrs:[1,"ant-table-container"],inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth"},features:[l.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-table-content",3,"ngStyle",4,"ngIf"],[1,"ant-table-header","nz-table-hide-scrollbar",3,"ngStyle"],["tableHeaderElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate"],["class","ant-table-body",3,"ngStyle",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","height",4,"ngIf"],[1,"ant-table-body",3,"ngStyle"],["tableBodyElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-content",3,"ngStyle"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate"]],template:function(zt,It){1&zt&&(l.YNc(0,be,6,6,"ng-container",0),l.YNc(1,Qe,3,5,"div",1)),2&zt&&(l.Q6J("ngIf",It.scrollY),l.xp6(1),l.Q6J("ngIf",!It.scrollY))},dependencies:[i.O5,i.tP,i.PC,t.xd,t.x0,t.N7,wi,ki],encapsulation:2,changeDetection:0})}return Mt})(),Di=(()=>{class Mt{constructor(rt){this.templateRef=rt}static ngTemplateContextGuard(rt,zt){return!0}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]})}return Mt})(),Wi=(()=>{class Mt{constructor(){this.title=null,this.footer=null}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-title",null!==It.title)("ant-table-footer",null!==It.footer)},inputs:{title:"title",footer:"footer"},decls:2,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(zt,It){1&zt&&(l.YNc(0,Ke,2,1,"ng-container",0),l.YNc(1,Ze,2,1,"ng-container",0)),2&zt&&(l.Q6J("nzStringTemplateOutlet",It.title),l.xp6(1),l.Q6J("nzStringTemplateOutlet",It.footer))},dependencies:[M.f],encapsulation:2,changeDetection:0})}return Mt})(),bi=(()=>{class Mt{onPageSizeChange(rt){this.nzTableDataService.updatePageSize(rt)}onPageIndexChange(rt){this.nzTableDataService.updatePageIndex(rt)}constructor(rt,zt,It,Xt,_n,Fn,On){this.elementRef=rt,this.nzResizeObserver=zt,this.nzConfigService=It,this.cdr=Xt,this.nzTableStyleService=_n,this.nzTableDataService=Fn,this.directionality=On,this._nzModuleName="table",this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=mi=>mi,this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzCustomColumn=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzPaginationType="default",this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzOuterBordered=!1,this.nzLoadingIndicator=null,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new l.vpe,this.nzPageIndexChange=new l.vpe,this.nzQueryParams=new l.vpe,this.nzCurrentPageDataChange=new l.vpe,this.nzCustomColumnChange=new l.vpe,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfAutoColWidth=[],this.listOfManualColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.showPagination=!0,this.destroy$=new y.x,this.templateMode$=new S.X(!1),this.dir="ltr",this.verticalScrollBarWidth=0,this.nzConfigService.getConfigChangeEventForComponent("table").pipe((0,j.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){const{pageIndexDistinct$:rt,pageSizeDistinct$:zt,listOfCurrentPageData$:It,total$:Xt,queryParams$:_n,listOfCustomColumn$:Fn}=this.nzTableDataService,{theadTemplate$:On,hasFixLeft$:mi,hasFixRight$:bt}=this.nzTableStyleService;this.dir=this.directionality.value,this.directionality.change?.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.dir=at,this.cdr.detectChanges()}),_n.pipe((0,j.R)(this.destroy$)).subscribe(this.nzQueryParams),rt.pipe((0,j.R)(this.destroy$)).subscribe(at=>{at!==this.nzPageIndex&&(this.nzPageIndex=at,this.nzPageIndexChange.next(at))}),zt.pipe((0,j.R)(this.destroy$)).subscribe(at=>{at!==this.nzPageSize&&(this.nzPageSize=at,this.nzPageSizeChange.next(at))}),Xt.pipe((0,j.R)(this.destroy$),(0,K.h)(()=>this.nzFrontPagination)).subscribe(at=>{at!==this.nzTotal&&(this.nzTotal=at,this.cdr.markForCheck())}),It.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.data=at,this.nzCurrentPageDataChange.next(at),this.cdr.markForCheck()}),Fn.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.nzCustomColumn=at,this.nzCustomColumnChange.next(at),this.cdr.markForCheck()}),On.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.theadTemplate=at,this.cdr.markForCheck()}),mi.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.hasFixLeft=at,this.cdr.markForCheck()}),bt.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.hasFixRight=at,this.cdr.markForCheck()}),(0,A.a)([Xt,this.templateMode$]).pipe((0,ze.U)(([at,Je])=>0===at&&!Je),(0,j.R)(this.destroy$)).subscribe(at=>{this.nzTableStyleService.setShowEmpty(at)}),this.verticalScrollBarWidth=(0,ce.D8)("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.listOfAutoColWidth=at,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.listOfManualColWidth=at,this.cdr.markForCheck()})}ngOnChanges(rt){const{nzScroll:zt,nzPageIndex:It,nzPageSize:Xt,nzFrontPagination:_n,nzData:Fn,nzCustomColumn:On,nzWidthConfig:mi,nzNoResult:bt,nzTemplateMode:at}=rt;It&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),Xt&&this.nzTableDataService.updatePageSize(this.nzPageSize),Fn&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),On&&(this.nzCustomColumn=this.nzCustomColumn||[],this.nzTableDataService.updateListOfCustomColumn(this.nzCustomColumn)),_n&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),zt&&this.setScrollOnChanges(),mi&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),at&&this.templateMode$.next(this.nzTemplateMode),bt&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,ze.U)(([rt])=>{const{width:zt}=rt.target.getBoundingClientRect();return Math.floor(zt-(this.scrollY?this.verticalScrollBarWidth:0))}),(0,j.R)(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.SBq),l.Y36(u.D3),l.Y36(De.jY),l.Y36(l.sBO),l.Y36(oi),l.Y36(ri),l.Y36(e.Is,8))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table"]],contentQueries:function(zt,It,Xt){if(1&zt&&l.Suo(Xt,Di,5),2&zt){let _n;l.iGM(_n=l.CRH())&&(It.nzVirtualScrollDirective=_n.first)}},viewQuery:function(zt,It){if(1&zt&&l.Gf(Ji,5),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.nzTableInnerScrollComponent=Xt.first)}},hostAttrs:[1,"ant-table-wrapper"],hostVars:4,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-wrapper-rtl","rtl"===It.dir)("ant-table-custom-column",It.nzCustomColumn.length)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzCustomColumn:"nzCustomColumn",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzPaginationType:"nzPaginationType",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzOuterBordered:"nzOuterBordered",nzLoadingIndicator:"nzLoadingIndicator",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange",nzCustomColumnChange:"nzCustomColumnChange"},exportAs:["nzTable"],features:[l._Bn([oi,ri]),l.TTD],ngContentSelectors:le,decls:14,vars:27,consts:[[3,"nzDelay","nzSpinning","nzIndicator"],[4,"ngIf"],[1,"ant-table"],["tableMainElement",""],[3,"title",4,"ngIf"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy",4,"ngIf","ngIfElse"],["defaultTemplate",""],[3,"footer",4,"ngIf"],["paginationTemplate",""],["contentTemplate",""],[3,"ngTemplateOutlet"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate"],[3,"footer"],["class","ant-table-pagination ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange",4,"ngIf"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange"]],template:function(zt,It){if(1&zt&&(l.F$t(),l.TgZ(0,"nz-spin",0),l.YNc(1,nt,2,1,"ng-container",1),l.TgZ(2,"div",2,3),l.YNc(4,x,1,1,"nz-table-title-footer",4),l.YNc(5,N,1,13,"nz-table-inner-scroll",5),l.YNc(6,O,1,4,"ng-template",null,6,l.W1O),l.YNc(8,$,1,1,"nz-table-title-footer",7),l.qZA(),l.YNc(9,he,2,1,"ng-container",1),l.qZA(),l.YNc(10,Dt,1,1,"ng-template",null,8,l.W1O),l.YNc(12,Yt,1,0,"ng-template",null,9,l.W1O)),2&zt){const Xt=l.MAs(7);l.Q6J("nzDelay",It.nzLoadingDelay)("nzSpinning",It.nzLoading)("nzIndicator",It.nzLoadingIndicator),l.xp6(1),l.Q6J("ngIf","both"===It.nzPaginationPosition||"top"===It.nzPaginationPosition),l.xp6(1),l.ekj("ant-table-rtl","rtl"===It.dir)("ant-table-fixed-header",It.nzData.length&&It.scrollY)("ant-table-fixed-column",It.scrollX)("ant-table-has-fix-left",It.hasFixLeft)("ant-table-has-fix-right",It.hasFixRight)("ant-table-bordered",It.nzBordered)("nz-table-out-bordered",It.nzOuterBordered&&!It.nzBordered)("ant-table-middle","middle"===It.nzSize)("ant-table-small","small"===It.nzSize),l.xp6(2),l.Q6J("ngIf",It.nzTitle),l.xp6(1),l.Q6J("ngIf",It.scrollY||It.scrollX)("ngIfElse",Xt),l.xp6(3),l.Q6J("ngIf",It.nzFooter),l.xp6(1),l.Q6J("ngIf","both"===It.nzPaginationPosition||"bottom"===It.nzPaginationPosition)}},dependencies:[i.O5,i.tP,f.dE,T.W,Wi,no,Ji],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzFrontPagination",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzTemplateMode",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowPagination",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzLoading",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzOuterBordered",void 0),(0,b.gn)([(0,De.oS)()],Mt.prototype,"nzLoadingIndicator",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzBordered",void 0),(0,b.gn)([(0,De.oS)()],Mt.prototype,"nzSize",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzShowSizeChanger",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzHideOnSinglePage",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzShowQuickJumper",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzSimple",void 0),Mt})(),Ri=(()=>{class Mt{constructor(rt){this.nzTableStyleService=rt,this.destroy$=new y.x,this.listOfFixedColumns$=new P.t(1),this.listOfColumns$=new P.t(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe((0,ee.w)(zt=>(0,k.T)(this.listOfFixedColumns$,...zt.map(It=>It.changes$)).pipe((0,re.z)(()=>this.listOfFixedColumns$))),(0,j.R)(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,ze.U)(zt=>zt.filter(It=>!1!==It.nzLeft))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,ze.U)(zt=>zt.filter(It=>!1!==It.nzRight))),this.listOfColumnsChanges$=this.listOfColumns$.pipe((0,ee.w)(zt=>(0,k.T)(this.listOfColumns$,...zt.map(It=>It.changes$)).pipe((0,re.z)(()=>this.listOfColumns$))),(0,j.R)(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!rt}ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe((0,te.O)(this.listOfCellFixedDirective),(0,j.R)(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe((0,te.O)(this.listOfNzThDirective),(0,j.R)(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(rt=>{rt.forEach(zt=>zt.setIsLastLeft(zt===rt[rt.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe(rt=>{rt.forEach(zt=>zt.setIsFirstRight(zt===rt[0]))}),(0,A.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe((0,j.R)(this.destroy$)).subscribe(([rt,zt])=>{zt.forEach((It,Xt)=>{if(It.isAutoLeft){const Fn=zt.slice(0,Xt).reduce((mi,bt)=>mi+(bt.colspan||bt.colSpan||1),0),On=rt.slice(0,Fn).reduce((mi,bt)=>mi+bt,0);It.setAutoLeftWidth(`${On}px`)}})}),(0,A.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe((0,j.R)(this.destroy$)).subscribe(([rt,zt])=>{zt.forEach((It,Xt)=>{const _n=zt[zt.length-Xt-1];if(_n.isAutoRight){const On=zt.slice(zt.length-Xt,zt.length).reduce((bt,at)=>bt+(at.colspan||at.colSpan||1),0),mi=rt.slice(rt.length-On,rt.length).reduce((bt,at)=>bt+at,0);_n.setAutoRightWidth(`${mi}px`)}})}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(oi,8))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["tr",3,"mat-row","",3,"mat-header-row","",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(zt,It,Xt){if(1&zt&&(l.Suo(Xt,fi,4),l.Suo(Xt,di,4)),2&zt){let _n;l.iGM(_n=l.CRH())&&(It.listOfNzThDirective=_n),l.iGM(_n=l.CRH())&&(It.listOfCellFixedDirective=_n)}},hostVars:2,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-row",It.isInsideTable)}})}return Mt})(),Pi=(()=>{class Mt{constructor(rt,zt,It,Xt){this.elementRef=rt,this.renderer=zt,this.nzTableStyleService=It,this.nzTableDataService=Xt,this.destroy$=new y.x,this.isInsideTable=!1,this.nzSortOrderChange=new l.vpe,this.isInsideTable=!!this.nzTableStyleService}ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){const rt=this.listOfNzTrDirective.changes.pipe((0,te.O)(this.listOfNzTrDirective),(0,ze.U)(_n=>_n&&_n.first)),zt=rt.pipe((0,ee.w)(_n=>_n?_n.listOfColumnsChanges$:R.E),(0,j.R)(this.destroy$));zt.subscribe(_n=>this.nzTableStyleService.setListOfTh(_n)),this.nzTableStyleService.enableAutoMeasure$.pipe((0,ee.w)(_n=>_n?zt:(0,W.of)([]))).pipe((0,j.R)(this.destroy$)).subscribe(_n=>this.nzTableStyleService.setListOfMeasureColumn(_n));const It=rt.pipe((0,ee.w)(_n=>_n?_n.listOfFixedLeftColumnChanges$:R.E),(0,j.R)(this.destroy$)),Xt=rt.pipe((0,ee.w)(_n=>_n?_n.listOfFixedRightColumnChanges$:R.E),(0,j.R)(this.destroy$));It.subscribe(_n=>{this.nzTableStyleService.setHasFixLeft(0!==_n.length)}),Xt.subscribe(_n=>{this.nzTableStyleService.setHasFixRight(0!==_n.length)})}if(this.nzTableDataService){const rt=this.listOfNzThAddOnComponent.changes.pipe((0,te.O)(this.listOfNzThAddOnComponent));rt.pipe((0,ee.w)(()=>(0,k.T)(...this.listOfNzThAddOnComponent.map(Xt=>Xt.manualClickOrder$))),(0,j.R)(this.destroy$)).subscribe(Xt=>{this.nzSortOrderChange.emit({key:Xt.nzColumnKey,value:Xt.sortOrder}),Xt.nzSortFn&&!1===Xt.nzSortPriority&&this.listOfNzThAddOnComponent.filter(Fn=>Fn!==Xt).forEach(Fn=>Fn.clearSortOrder())}),rt.pipe((0,ee.w)(Xt=>(0,k.T)(rt,...Xt.map(_n=>_n.calcOperatorChange$)).pipe((0,re.z)(()=>rt))),(0,ze.U)(Xt=>Xt.filter(_n=>!!_n.nzSortFn||!!_n.nzFilterFn).map(_n=>{const{nzSortFn:Fn,sortOrder:On,nzFilterFn:mi,nzFilterValue:bt,nzSortPriority:at,nzColumnKey:Je}=_n;return{key:Je,sortFn:Fn,sortPriority:at,sortOrder:On,filterFn:mi,filterValue:bt}})),(0,pe.g)(0),(0,j.R)(this.destroy$)).subscribe(Xt=>{this.nzTableDataService.listOfCalcOperator$.next(Xt)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(oi,8),l.Y36(ri,8))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(zt,It,Xt){if(1&zt&&(l.Suo(Xt,Ri,5),l.Suo(Xt,li,5)),2&zt){let _n;l.iGM(_n=l.CRH())&&(It.listOfNzTrDirective=_n),l.iGM(_n=l.CRH())&&(It.listOfNzThAddOnComponent=_n)}},viewQuery:function(zt,It){if(1&zt&&l.Gf(rn,7),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.templateRef=Xt.first)}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:le,decls:3,vars:1,consts:[["contentTemplate",""],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(zt,It){1&zt&&(l.F$t(),l.YNc(0,hn,1,0,"ng-template",null,0,l.W1O),l.YNc(2,Mn,2,1,"ng-container",1)),2&zt&&(l.xp6(2),l.Q6J("ngIf",!It.isInsideTable))},dependencies:[i.O5,i.tP],encapsulation:2,changeDetection:0})}return Mt})(),ni=(()=>{class Mt{constructor(){this.nzExpand=!0}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["tr","nzExpand",""]],hostAttrs:[1,"ant-table-expanded-row"],hostVars:1,hostBindings:function(zt,It){2&zt&&l.Ikx("hidden",!It.nzExpand)},inputs:{nzExpand:"nzExpand"}})}return Mt})(),Vn=(()=>{class Mt{static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275mod=l.oAB({type:Mt});static#n=this.\u0275inj=l.cJS({imports:[e.vT,m.ip,h.u5,M.T,C.aF,z.Wr,p.b1,E.sL,i.ez,n.ud,f.uK,u.y7,T.j,_.YI,d.PV,v.Xo,t.Cl]})}return Mt})()},79382:(tt,I,o)=>{"use strict";o.d(I,{we:()=>Ye,xH:()=>ge,xw:()=>qe});var e=o(65879),n=o(90551),t=o(8324),i=o(56879),l=o(4300),h=o(42495),E=o(36028),u=o(92438),z=o(47394),M=o(80927),p=o(76410),v=o(78645),_=o(22096),d=o(63019),m=o(59773),f=o(29028),C=o(27921),T=o(81374),b=o(32181),D=o(5177),y=o(96814),P=o(73460),S=o(62787),A=o(205),k=o(28802),R=o(49388),W=o(97582),j=o(27754),ze=o(52787),Y=o(17131),G=o(62831),V=o(83064),K=o(1608);function ee(We,wt){if(1&We&&(e.ynx(0),e._UZ(1,"span",1),e.BQk()),2&We){const Ee=wt.$implicit;e.xp6(1),e.Q6J("nzType",Ee)}}function te(We,wt){if(1&We&&(e.ynx(0),e._uU(1),e.BQk()),2&We){const Ee=e.oxw().$implicit;e.xp6(1),e.hij(" ",Ee.tab.label," ")}}const pe=function(){return{visible:!1}};function re(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"li",8),e.NdJ("click",function(){const Ke=e.CHM(Ee).$implicit,Ze=e.oxw(2);return e.KtG(Ze.onSelect(Ke))})("contextmenu",function(Qe){const Ze=e.CHM(Ee).$implicit,ve=e.oxw(2);return e.KtG(ve.onContextmenu(Ze,Qe))}),e.YNc(1,te,2,1,"ng-container",9),e.qZA()}if(2&We){const Ee=wt.$implicit;e.ekj("ant-tabs-dropdown-menu-item-disabled",Ee.disabled),e.Q6J("nzSelected",Ee.active)("nzDisabled",Ee.disabled),e.xp6(1),e.Q6J("nzStringTemplateOutlet",Ee.tab.label)("nzStringTemplateOutletContext",e.DdM(6,pe))}}function De(We,wt){if(1&We&&(e.TgZ(0,"ul",6),e.YNc(1,re,2,7,"li",7),e.qZA()),2&We){const Ee=e.oxw();e.xp6(1),e.Q6J("ngForOf",Ee.items)}}function ae(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(Ee);const Qe=e.oxw();return e.KtG(Qe.addClicked.emit())}),e.qZA()}if(2&We){const Ee=e.oxw();e.Q6J("addIcon",Ee.addIcon)}}const ce=function(){return{minWidth:"46px"}},X=["navWarp"],ne=["navList"];function le(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(Ee);const Qe=e.oxw();return e.KtG(Qe.addClicked.emit())}),e.qZA()}if(2&We){const Ee=e.oxw();e.Q6J("addIcon",Ee.addIcon)}}function Se(We,wt){}function Ne(We,wt){if(1&We&&(e.TgZ(0,"div",9),e.YNc(1,Se,0,0,"ng-template",10),e.qZA()),2&We){const Ee=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",Ee.extraTemplate)}}const ke=["*"],oe=["nz-tab-body",""];function _e(We,wt){}function Q(We,wt){if(1&We&&(e.ynx(0),e.YNc(1,_e,0,0,"ng-template",1),e.BQk()),2&We){const Ee=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",Ee.content)}}function He(We,wt){if(1&We&&(e.ynx(0),e._UZ(1,"span",1),e.BQk()),2&We){const Ee=wt.$implicit;e.xp6(1),e.Q6J("nzType",Ee)}}const Re=["contentTemplate"];function lt(We,wt){1&We&&e.Hsn(0)}function Pe(We,wt){1&We&&e.Hsn(0,1)}const xt=[[["","nz-tab-link",""]],"*"],$e=["[nz-tab-link]","*"];function ot(We,wt){if(1&We&&(e.ynx(0),e._uU(1),e.BQk()),2&We){const Ee=e.oxw().$implicit;e.xp6(1),e.Oqu(Ee.label)}}function mt(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(Qe){e.CHM(Ee);const Ke=e.oxw().index,Ze=e.oxw(2);return e.KtG(Ze.onClose(Ke,Qe))}),e.qZA()}if(2&We){const Ee=e.oxw().$implicit;e.Q6J("closeIcon",Ee.nzCloseIcon)}}const we=function(){return{visible:!0}};function de(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(Qe){const Ke=e.CHM(Ee),Ze=Ke.$implicit,ve=Ke.index,nt=e.oxw(2);return e.KtG(nt.clickNavItem(Ze,ve,Qe))})("contextmenu",function(Qe){const Ze=e.CHM(Ee).$implicit,ve=e.oxw(2);return e.KtG(ve.contextmenuNavItem(Ze,Qe))}),e.TgZ(1,"div",7),e.YNc(2,ot,2,1,"ng-container",8),e.YNc(3,mt,1,1,"button",9),e.qZA()()}if(2&We){const Ee=wt.$implicit,be=wt.index,Qe=e.oxw(2);e.Udp("margin-right","horizontal"===Qe.position?Qe.nzTabBarGutter:null,"px")("margin-bottom","vertical"===Qe.position?Qe.nzTabBarGutter:null,"px"),e.ekj("ant-tabs-tab-active",Qe.nzSelectedIndex===be)("ant-tabs-tab-disabled",Ee.nzDisabled),e.xp6(1),e.Q6J("disabled",Ee.nzDisabled)("tab",Ee)("active",Qe.nzSelectedIndex===be),e.uIk("tabIndex",Qe.getTabIndex(Ee,be))("aria-disabled",Ee.nzDisabled)("aria-selected",Qe.nzSelectedIndex===be&&!Qe.nzHideAll)("aria-controls",Qe.getTabContentId(be)),e.xp6(1),e.Q6J("nzStringTemplateOutlet",Ee.label)("nzStringTemplateOutletContext",e.DdM(18,we)),e.xp6(1),e.Q6J("ngIf",Ee.nzClosable&&Qe.closable&&!Ee.nzDisabled)}}function U(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"nz-tabs-nav",4),e.NdJ("tabScroll",function(Qe){e.CHM(Ee);const Ke=e.oxw();return e.KtG(Ke.nzTabListScroll.emit(Qe))})("selectFocusedIndex",function(Qe){e.CHM(Ee);const Ke=e.oxw();return e.KtG(Ke.setSelectedIndex(Qe))})("addClicked",function(){e.CHM(Ee);const Qe=e.oxw();return e.KtG(Qe.onAdd())}),e.YNc(1,de,4,19,"div",5),e.qZA()}if(2&We){const Ee=e.oxw();e.Q6J("ngStyle",Ee.nzTabBarStyle)("selectedIndex",Ee.nzSelectedIndex||0)("inkBarAnimated",Ee.inkBarAnimated)("addable",Ee.addable)("addIcon",Ee.nzAddIcon)("hideBar",Ee.nzHideAll)("position",Ee.position)("extraTemplate",Ee.nzTabBarExtraContent),e.xp6(1),e.Q6J("ngForOf",Ee.tabs)}}function B(We,wt){if(1&We&&e._UZ(0,"div",11),2&We){const Ee=wt.$implicit,be=wt.index,Qe=e.oxw();e.Q6J("active",Qe.nzSelectedIndex===be&&!Qe.nzHideAll)("content",Ee.content)("forceRender",Ee.nzForceRender)("tabPaneAnimated",Qe.tabPaneAnimated)}}let Me=(()=>{class We{constructor(Ee){this.elementRef=Ee,this.addIcon="plus",this.element=this.elementRef.nativeElement}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(be,Qe){1&be&&e.YNc(0,ee,2,1,"ng-container",0),2&be&&e.Q6J("nzStringTemplateOutlet",Qe.addIcon)},dependencies:[n.Ls,t.f],encapsulation:2})}return We})(),Ae=(()=>{class We{get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}constructor(Ee,be,Qe){this.elementRef=Ee,this.ngZone=be,this.animationMode=Qe,this.position="horizontal",this.animated=!0}alignToElement(Ee){this.ngZone.runOutsideAngular(()=>{(0,i.e)(()=>this.setStyles(Ee))})}setStyles(Ee){const be=this.elementRef.nativeElement;"horizontal"===this.position?(be.style.top="",be.style.height="",be.style.left=this.getLeftPosition(Ee),be.style.width=this.getElementWidth(Ee)):(be.style.left="",be.style.width="",be.style.top=this.getTopPosition(Ee),be.style.height=this.getElementHeight(Ee))}getLeftPosition(Ee){return Ee?`${Ee.offsetLeft||0}px`:"0"}getElementWidth(Ee){return Ee?`${Ee.offsetWidth||0}px`:"0"}getTopPosition(Ee){return Ee?`${Ee.offsetTop||0}px`:"0"}getElementHeight(Ee){return Ee?`${Ee.offsetHeight||0}px`:"0"}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(be,Qe){2&be&&e.ekj("ant-tabs-ink-bar-animated",Qe._animated)},inputs:{position:"position",animated:"animated"}})}return We})(),Le=(()=>{class We{constructor(Ee){this.elementRef=Ee,this.disabled=!1,this.active=!1,this.el=Ee.nativeElement,this.parentElement=this.el.parentElement}focus(){this.el.focus()}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["","nzTabNavItem",""]],inputs:{disabled:"disabled",tab:"tab",active:"active"}})}return We})(),ht=(()=>{class We{constructor(Ee,be){this.cdr=Ee,this.elementRef=be,this.items=[],this.addable=!1,this.addIcon="plus",this.addClicked=new e.vpe,this.selected=new e.vpe,this.closeAnimationWaitTimeoutId=-1,this.menuOpened=!1,this.element=this.elementRef.nativeElement}onSelect(Ee){Ee.disabled||(Ee.tab.nzClick.emit(),this.selected.emit(Ee))}onContextmenu(Ee,be){Ee.disabled||Ee.tab.nzContextmenu.emit(be)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(Ee){Ee||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.sBO),e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(be,Qe){2&be&&e.ekj("ant-tabs-nav-operations-hidden",0===Qe.items.length)},inputs:{items:"items",addable:"addable",addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement","nzVisibleChange","mouseenter"],["dropdownTrigger","nzDropdown"],["nz-icon","","nzType","ellipsis"],["menu","nzDropdownMenu"],["nz-menu","",4,"ngIf"],["nz-tab-add-button","",3,"addIcon","click",4,"ngIf"],["nz-menu",""],["nz-menu-item","","class","ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled","click","contextmenu",4,"ngFor","ngForOf"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"nzSelected","nzDisabled","click","contextmenu"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"addIcon","click"]],template:function(be,Qe){if(1&be&&(e.TgZ(0,"button",0,1),e.NdJ("nzVisibleChange",function(Ze){return Qe.menuVisChange(Ze)})("mouseenter",function(){return Qe.showItems()}),e._UZ(2,"span",2),e.qZA(),e.TgZ(3,"nz-dropdown-menu",null,3),e.YNc(5,De,2,1,"ul",4),e.qZA(),e.YNc(6,ae,1,1,"button",5)),2&be){const Ke=e.MAs(4);e.Q6J("nzDropdownMenu",Ke)("nzOverlayStyle",e.DdM(5,ce))("nzMatchWidthElement",null),e.xp6(5),e.Q6J("ngIf",Qe.menuOpened),e.xp6(1),e.Q6J("ngIf",Qe.addable)}},dependencies:[y.sg,y.O5,n.Ls,t.f,P.wO,P.r9,S.cm,S.RR,Me],encapsulation:2,changeDetection:0})}return We})();const qt=.995**20;let en=(()=>{class We{constructor(Ee,be){this.ngZone=Ee,this.elementRef=be,this.lastWheelDirection=null,this.lastWheelTimestamp=0,this.lastTimestamp=0,this.lastTimeDiff=0,this.lastMixedWheel=0,this.lastWheelPrevent=!1,this.touchPosition=null,this.lastOffset=null,this.motion=-1,this.unsubscribe=()=>{},this.offsetChange=new e.vpe,this.tabScroll=new e.vpe,this.onTouchEnd=Qe=>{if(!this.touchPosition)return;const Ke=this.lastOffset,Ze=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,Ke){const ve=Ke.x/Ze,nt=Ke.y/Ze,x=Math.abs(ve),N=Math.abs(nt);if(Math.max(x,N)<.1)return;let O=ve,$=nt;this.motion=window.setInterval(()=>{Math.abs(O)<.01&&Math.abs($)<.01?window.clearInterval(this.motion):(O*=qt,$*=qt,this.onOffset(20*O,20*$,Qe))},20)}},this.onTouchMove=Qe=>{if(!this.touchPosition)return;Qe.preventDefault();const{screenX:Ke,screenY:Ze}=Qe.touches[0],ve=Ke-this.touchPosition.x,nt=Ze-this.touchPosition.y;this.onOffset(ve,nt,Qe);const x=Date.now();this.lastTimeDiff=x-this.lastTimestamp,this.lastTimestamp=x,this.lastOffset={x:ve,y:nt},this.touchPosition={x:Ke,y:Ze}},this.onTouchStart=Qe=>{const{screenX:Ke,screenY:Ze}=Qe.touches[0];this.touchPosition={x:Ke,y:Ze},window.clearInterval(this.motion)},this.onWheel=Qe=>{const{deltaX:Ke,deltaY:Ze}=Qe;let ve;const nt=Math.abs(Ke),x=Math.abs(Ze);nt===x?ve="x"===this.lastWheelDirection?Ke:Ze:nt>x?(ve=Ke,this.lastWheelDirection="x"):(ve=Ze,this.lastWheelDirection="y");const N=Date.now(),O=Math.abs(ve);(N-this.lastWheelTimestamp>100||O-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-ve,-ve,Qe),(Qe.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=N,this.lastMixedWheel=O}}ngOnInit(){this.unsubscribe=this.ngZone.runOutsideAngular(()=>{const Ee=this.elementRef.nativeElement,be=(0,u.R)(Ee,"wheel"),Qe=(0,u.R)(Ee,"touchstart"),Ke=(0,u.R)(Ee,"touchmove"),Ze=(0,u.R)(Ee,"touchend"),ve=new z.w0;return ve.add(this.subscribeWrap("wheel",be,this.onWheel)),ve.add(this.subscribeWrap("touchstart",Qe,this.onTouchStart)),ve.add(this.subscribeWrap("touchmove",Ke,this.onTouchMove)),ve.add(this.subscribeWrap("touchend",Ze,this.onTouchEnd)),()=>{ve.unsubscribe()}})}subscribeWrap(Ee,be,Qe){return be.subscribe(Ke=>{this.tabScroll.emit({type:Ee,event:Ke}),Ke.defaultPrevented||Qe(Ke)})}onOffset(Ee,be,Qe){this.ngZone.run(()=>{this.offsetChange.emit({x:Ee,y:be,event:Qe})})}ngOnDestroy(){this.unsubscribe()}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.R0b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}})}return We})();const Vt=typeof requestAnimationFrame<"u"?M.Z:p.E;let ft=(()=>{class We{get selectedIndex(){return this._selectedIndex}set selectedIndex(Ee){const be=(0,h.su)(Ee);this._selectedIndex!==be&&(this._selectedIndex=Ee,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(Ee))}get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(Ee){!this.isValidIndex(Ee)||this.focusIndex===Ee||!this.keyManager||this.keyManager.setActiveItem(Ee)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}constructor(Ee,be,Qe,Ke,Ze){this.cdr=Ee,this.ngZone=be,this.viewportRuler=Qe,this.nzResizeObserver=Ke,this.dir=Ze,this.indexFocused=new e.vpe,this.selectFocusedIndex=new e.vpe,this.addClicked=new e.vpe,this.tabScroll=new e.vpe,this.position="horizontal",this.addable=!1,this.hideBar=!1,this.addIcon="plus",this.inkBarAnimated=!0,this.translate=null,this.transformX=0,this.transformY=0,this.pingLeft=!1,this.pingRight=!1,this.pingTop=!1,this.pingBottom=!1,this.hiddenItems=[],this.destroy$=new v.x,this._selectedIndex=0,this.wrapperWidth=0,this.wrapperHeight=0,this.scrollListWidth=0,this.scrollListHeight=0,this.operationWidth=0,this.operationHeight=0,this.addButtonWidth=0,this.addButtonHeight=0,this.selectedIndexChanged=!1,this.lockAnimationTimeoutId=-1,this.cssTransformTimeWaitingId=-1}ngAfterViewInit(){const Ee=this.dir?this.dir.change.asObservable():(0,_.of)(null),be=this.viewportRuler.change(150),Qe=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new l.Em(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),(0,i.e)(Qe),(0,d.T)(this.nzResizeObserver.observe(this.navWarpRef),this.nzResizeObserver.observe(this.navListRef)).pipe((0,m.R)(this.destroy$),(0,f.e)(16,Vt)).subscribe(()=>{Qe()}),(0,d.T)(Ee,be,this.items.changes).pipe((0,m.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(Qe),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe((0,m.R)(this.destroy$)).subscribe(Ke=>{this.indexFocused.emit(Ke),this.setTabFocus(Ke),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}ngOnDestroy(){clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId),this.destroy$.next(),this.destroy$.complete()}onSelectedFromMenu(Ee){const be=this.items.toArray().findIndex(Qe=>Qe===Ee);-1!==be&&(this.keyManager.updateActiveItem(be),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(Ee)))}onOffsetChange(Ee){if("horizontal"===this.position){if(-1===this.lockAnimationTimeoutId&&(this.transformX>=0&&Ee.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&Ee.x<0))return;Ee.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+Ee.x),this.setTransform(this.transformX,0)}else{if(-1===this.lockAnimationTimeoutId&&(this.transformY>=0&&Ee.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&Ee.y<0))return;Ee.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+Ee.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(Ee){const be=this.navWarpRef.nativeElement.contains(Ee.target);if(!(0,E.Vb)(Ee)&&be)switch(Ee.keyCode){case E.oh:case E.LH:case E.SV:case E.JH:this.lockAnimation(),this.keyManager.onKeydown(Ee);break;case E.K5:case E.L_:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(Ee)}}isValidIndex(Ee){if(!this.items)return!0;const be=this.items?this.items.toArray()[Ee]:null;return!!be&&!be.disabled}scrollToTab(Ee){if(!this.items.find(Qe=>Qe===Ee))return;const be=this.items.toArray();if("horizontal"===this.position){let Qe=this.transformX;if("rtl"===this.getLayoutDirection()){const Ke=be[0].left+be[0].width-Ee.left-Ee.width;Kethis.transformX+this.wrapperWidth&&(Qe=Ke+Ee.width-this.wrapperWidth)}else Ee.left<-this.transformX?Qe=-Ee.left:Ee.left+Ee.width>-this.transformX+this.wrapperWidth&&(Qe=-(Ee.left+Ee.width-this.wrapperWidth));this.transformX=Qe,this.transformY=0,this.setTransform(Qe,0)}else{let Qe=this.transformY;Ee.top<-this.transformY?Qe=-Ee.top:Ee.top+Ee.height>-this.transformY+this.wrapperHeight&&(Qe=-(Ee.top+Ee.height-this.wrapperHeight)),this.transformY=Qe,this.transformX=0,this.setTransform(0,Qe)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},150)}lockAnimation(){-1===this.lockAnimationTimeoutId&&this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=-1},150)})}setTransform(Ee,be){this.navListRef.nativeElement.style.transform=`translate(${Ee}px, ${be}px)`}clampTransformX(Ee){const be=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(be,Ee),0):Math.min(Math.max(be,Ee),0)}clampTransformY(Ee){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,Ee),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWarpRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWarpRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const Ee=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,be=Ee?Ee.elementRef.nativeElement:null;be&&this.inkBar.alignToElement(be.parentElement)}setPingStatus(){const Ee={top:!1,right:!1,bottom:!1,left:!1},be=this.navWarpRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(Ee.right=this.transformX>0,Ee.left=this.transformX+this.wrapperWidth{const Ke=`ant-tabs-nav-wrap-ping-${Qe}`;Ee[Qe]?be.classList.add(Ke):be.classList.remove(Ke)})}setVisibleRange(){let Ee,be,Qe,Ke,Ze,ve;const nt=this.items.toArray(),x={width:0,height:0,left:0,top:0,right:0},N=Yt=>{let rn;return rn="right"===be?nt[0].left+nt[0].width-nt[Yt].left-nt[Yt].width:(nt[Yt]||x)[be],rn};"horizontal"===this.position?(Ee="width",Ke=this.wrapperWidth,Ze=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),ve=this.addButtonWidth,Qe=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(be="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidthKe&&(O=Ke-ve),!nt.length)return this.hiddenItems=[],void this.cdr.markForCheck();const $=nt.length;let L=$;for(let Yt=0;Yt<$;Yt+=1)if(N(Yt)+(nt[Yt]||x)[Ee]>Qe+O){L=Yt-1;break}let he=0;for(let Yt=$-1;Yt>=0;Yt-=1)if(N(Yt){class We{constructor(){this.content=null,this.active=!1,this.tabPaneAnimated=!0,this.forceRender=!1}static#e=this.\u0275fac=function(be){return new(be||We)};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:12,hostBindings:function(be,Qe){2&be&&(e.uIk("tabindex",Qe.active?0:-1)("aria-hidden",!Qe.active),e.Udp("visibility",Qe.tabPaneAnimated?Qe.active?null:"hidden":null)("height",Qe.tabPaneAnimated?Qe.active?null:0:null)("overflow-y",Qe.tabPaneAnimated?Qe.active?null:"none":null)("display",Qe.tabPaneAnimated||Qe.active?null:"none"),e.ekj("ant-tabs-tabpane-active",Qe.active))},inputs:{content:"content",active:"active",tabPaneAnimated:"tabPaneAnimated",forceRender:"forceRender"},exportAs:["nzTabBody"],attrs:oe,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(be,Qe){1&be&&e.YNc(0,Q,2,1,"ng-container",0),2&be&&e.Q6J("ngIf",Qe.active||Qe.forceRender)},dependencies:[y.O5,y.tP],encapsulation:2,changeDetection:0})}return We})(),Ie=(()=>{class We{constructor(){this.closeIcon="close"}static#e=this.\u0275fac=function(be){return new(be||We)};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(be,Qe){1&be&&e.YNc(0,He,2,1,"ng-container",0),2&be&&e.Q6J("nzStringTemplateOutlet",Qe.closeIcon)},dependencies:[n.Ls,t.f],encapsulation:2})}return We})(),Ct=(()=>{class We{constructor(Ee){this.templateRef=Ee}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.Rgc,1))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]})}return We})(),Nt=(()=>{class We{constructor(Ee,be){this.elementRef=Ee,this.routerLink=be}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.SBq),e.Y36(ze.rH,10))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]})}return We})(),kt=(()=>{class We{static#e=this.\u0275fac=function(be){return new(be||We)};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["","nz-tab",""]],exportAs:["nzTab"]})}return We})();const St=new e.OlP("NZ_TAB_SET");let qe=(()=>{class We{get content(){return this.template||this.contentTemplate}get label(){return this.nzTitle||this.nzTabLinkTemplateDirective?.templateRef}constructor(Ee){this.closestTabSet=Ee,this.nzTitle="",this.nzClosable=!1,this.nzCloseIcon="close",this.nzDisabled=!1,this.nzForceRender=!1,this.nzSelect=new e.vpe,this.nzDeselect=new e.vpe,this.nzClick=new e.vpe,this.nzContextmenu=new e.vpe,this.template=null,this.isActive=!1,this.position=null,this.origin=null,this.stateChanges=new v.x}ngOnChanges(Ee){const{nzTitle:be,nzDisabled:Qe,nzForceRender:Ke}=Ee;(be||Qe||Ke)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(St))};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tab"]],contentQueries:function(be,Qe,Ke){if(1&be&&(e.Suo(Ke,Ct,5),e.Suo(Ke,kt,5,e.Rgc),e.Suo(Ke,Nt,5)),2&be){let Ze;e.iGM(Ze=e.CRH())&&(Qe.nzTabLinkTemplateDirective=Ze.first),e.iGM(Ze=e.CRH())&&(Qe.template=Ze.first),e.iGM(Ze=e.CRH())&&(Qe.linkDirective=Ze.first)}},viewQuery:function(be,Qe){if(1&be&&e.Gf(Re,7),2&be){let Ke;e.iGM(Ke=e.CRH())&&(Qe.contentTemplate=Ke.first)}},inputs:{nzTitle:"nzTitle",nzClosable:"nzClosable",nzCloseIcon:"nzCloseIcon",nzDisabled:"nzDisabled",nzForceRender:"nzForceRender"},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[e.TTD],ngContentSelectors:$e,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(be,Qe){1&be&&(e.F$t(xt),e.YNc(0,lt,1,0,"ng-template",null,0,e.W1O),e.YNc(2,Pe,1,0,"ng-template",null,1,e.W1O))},encapsulation:2,changeDetection:0})}return(0,W.gn)([(0,j.yF)()],We.prototype,"nzClosable",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzDisabled",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzForceRender",void 0),We})();class Fe{}let Xe=0,ge=(()=>{class We{get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(Ee){this.indexToSelect=(0,h.su)(Ee,null)}get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"horizontal"===this.position&&this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane)}constructor(Ee,be,Qe,Ke,Ze){this.nzConfigService=Ee,this.ngZone=be,this.cdr=Qe,this.directionality=Ke,this.router=Ze,this._nzModuleName="tabs",this.nzTabPosition="top",this.nzCanDeactivate=null,this.nzAddIcon="plus",this.nzTabBarStyle=null,this.nzType="line",this.nzSize="default",this.nzAnimated=!0,this.nzTabBarGutter=void 0,this.nzHideAdd=!1,this.nzCentered=!1,this.nzHideAll=!1,this.nzLinkRouter=!1,this.nzLinkExact=!0,this.nzSelectChange=new e.vpe(!0),this.nzSelectedIndexChange=new e.vpe,this.nzTabListScroll=new e.vpe,this.nzClose=new e.vpe,this.nzAdd=new e.vpe,this.allTabs=new e.n_E,this.tabs=new e.n_E,this.dir="ltr",this.destroy$=new v.x,this.indexToSelect=0,this.selectedIndex=null,this.tabLabelSubscription=z.w0.EMPTY,this.tabsSubscription=z.w0.EMPTY,this.canDeactivateSubscription=z.w0.EMPTY,this.tabSetId=Xe++}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(Ee=>{this.dir=Ee,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.tabsSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()}ngAfterContentInit(){this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>this.setUpRouter())}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabsSubscription=this.tabs.changes.subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const be=this.tabs.toArray();for(let Qe=0;Qe{this.tabs.forEach((Qe,Ke)=>Qe.isActive=Ke===Ee),be||this.nzSelectedIndexChange.emit(Ee)})}this.tabs.forEach((be,Qe)=>{be.position=Qe-Ee,null!=this.selectedIndex&&0===be.position&&!be.origin&&(be.origin=Ee-this.selectedIndex)}),this.selectedIndex!==Ee&&(this.selectedIndex=Ee,this.cdr.markForCheck())}onClose(Ee,be){be.preventDefault(),be.stopPropagation(),this.nzClose.emit({index:Ee})}onAdd(){this.nzAdd.emit()}clampTabIndex(Ee){return Math.min(this.tabs.length-1,Math.max(Ee||0,0))}createChangeEvent(Ee){const be=new Fe;return be.index=Ee,this.tabs&&this.tabs.length&&(be.tab=this.tabs.toArray()[Ee],this.tabs.forEach((Qe,Ke)=>{Ke!==Ee&&Qe.nzDeselect.emit()}),be.tab.nzSelect.emit()),be}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=(0,d.T)(...this.tabs.map(Ee=>Ee.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe((0,C.O)(this.allTabs)).subscribe(Ee=>{this.tabs.reset(Ee.filter(be=>be.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(Ee,be){return"function"==typeof this.nzCanDeactivate?(0,j.lN)(this.nzCanDeactivate(Ee,be)).pipe((0,T.P)(),(0,m.R)(this.destroy$)):(0,_.of)(!0)}clickNavItem(Ee,be,Qe){Ee.nzDisabled||(Ee.nzClick.emit(),this.isRouterLinkClickEvent(be,Qe)||this.setSelectedIndex(be))}isRouterLinkClickEvent(Ee,be){const Qe=be.target;return!!this.nzLinkRouter&&!!this.tabs.toArray()[Ee]?.linkDirective?.elementRef.nativeElement.contains(Qe)}contextmenuNavItem(Ee,be){Ee.nzDisabled||Ee.nzContextmenu.emit(be)}setSelectedIndex(Ee){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,Ee).subscribe(be=>{be&&(this.nzSelectedIndex=Ee,this.tabNavBarRef.focusIndex=Ee,this.cdr.markForCheck())})}getTabIndex(Ee,be){return Ee.nzDisabled?null:this.selectedIndex===be?0:-1}getTabContentId(Ee){return`nz-tabs-${this.tabSetId}-tab-${Ee}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${K.Bq} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);this.router.events.pipe((0,m.R)(this.destroy$),(0,b.h)(Ee=>Ee instanceof ze.m2),(0,C.O)(!0),(0,D.g)(0)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router.navigated){const Ee=this.findShouldActiveTabIndex();Ee!==this.selectedIndex&&this.setSelectedIndex(Ee),this.nzHideAll=-1===Ee}}findShouldActiveTabIndex(){const Ee=this.tabs.toArray(),be=this.isLinkActive(this.router);return Ee.findIndex(Qe=>{const Ke=Qe.linkDirective;return!!Ke&&be(Ke.routerLink)})}isLinkActive(Ee){return be=>!!be&&Ee.isActive(be.urlTree||"",{paths:this.nzLinkExact?"exact":"subset",queryParams:this.nzLinkExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}getTabContentMarginValue(){return 100*-(this.nzSelectedIndex||0)}getTabContentMarginLeft(){return this.tabPaneAnimated&&"rtl"!==this.dir?`${this.getTabContentMarginValue()}%`:""}getTabContentMarginRight(){return this.tabPaneAnimated&&"rtl"===this.dir?`${this.getTabContentMarginValue()}%`:""}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(V.jY),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(R.Is,8),e.Y36(ze.F0,8))};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tabset"]],contentQueries:function(be,Qe,Ke){if(1&be&&e.Suo(Ke,qe,5),2&be){let Ze;e.iGM(Ze=e.CRH())&&(Qe.allTabs=Ze)}},viewQuery:function(be,Qe){if(1&be&&e.Gf(ft,5),2&be){let Ke;e.iGM(Ke=e.CRH())&&(Qe.tabNavBarRef=Ke.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(be,Qe){2&be&&e.ekj("ant-tabs-card","card"===Qe.nzType||"editable-card"===Qe.nzType)("ant-tabs-editable","editable-card"===Qe.nzType)("ant-tabs-editable-card","editable-card"===Qe.nzType)("ant-tabs-centered",Qe.nzCentered)("ant-tabs-rtl","rtl"===Qe.dir)("ant-tabs-top","top"===Qe.nzTabPosition)("ant-tabs-bottom","bottom"===Qe.nzTabPosition)("ant-tabs-left","left"===Qe.nzTabPosition)("ant-tabs-right","right"===Qe.nzTabPosition)("ant-tabs-default","default"===Qe.nzSize)("ant-tabs-small","small"===Qe.nzSize)("ant-tabs-large","large"===Qe.nzSize)},inputs:{nzSelectedIndex:"nzSelectedIndex",nzTabPosition:"nzTabPosition",nzTabBarExtraContent:"nzTabBarExtraContent",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:"nzHideAdd",nzCentered:"nzCentered",nzHideAll:"nzHideAll",nzLinkRouter:"nzLinkRouter",nzLinkExact:"nzLinkExact"},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabset"],features:[e._Bn([{provide:St,useExisting:We}])],decls:4,vars:16,consts:[[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked",4,"ngIf"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated",4,"ngFor","ngForOf"],[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked"],["class","ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled","click","contextmenu",4,"ngFor","ngForOf"],[1,"ant-tabs-tab",3,"click","contextmenu"],["role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-close-button","",3,"closeIcon","click",4,"ngIf"],["nz-tab-close-button","",3,"closeIcon","click"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated"]],template:function(be,Qe){1&be&&(e.YNc(0,U,2,9,"nz-tabs-nav",0),e.TgZ(1,"div",1)(2,"div",2),e.YNc(3,B,1,4,"div",3),e.qZA()()),2&be&&(e.Q6J("ngIf",Qe.tabs.length||Qe.addable),e.xp6(2),e.Udp("margin-left",Qe.getTabContentMarginLeft())("margin-right",Qe.getTabContentMarginRight()),e.ekj("ant-tabs-content-top","top"===Qe.nzTabPosition)("ant-tabs-content-bottom","bottom"===Qe.nzTabPosition)("ant-tabs-content-left","left"===Qe.nzTabPosition)("ant-tabs-content-right","right"===Qe.nzTabPosition)("ant-tabs-content-animated",Qe.tabPaneAnimated),e.xp6(1),e.Q6J("ngForOf",Qe.tabs))},dependencies:[y.sg,y.O5,y.PC,t.f,l.kH,ft,Le,Ie,gt],encapsulation:2})}return(0,W.gn)([(0,V.oS)()],We.prototype,"nzType",void 0),(0,W.gn)([(0,V.oS)()],We.prototype,"nzSize",void 0),(0,W.gn)([(0,V.oS)()],We.prototype,"nzAnimated",void 0),(0,W.gn)([(0,V.oS)()],We.prototype,"nzTabBarGutter",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzHideAdd",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzCentered",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzHideAll",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzLinkRouter",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzLinkExact",void 0),We})(),Ye=(()=>{class We{static#e=this.\u0275fac=function(be){return new(be||We)};static#t=this.\u0275mod=e.oAB({type:We});static#n=this.\u0275inj=e.cJS({imports:[R.vT,y.ez,Y.Q8,n.PV,t.T,G.ud,l.rt,A.ZD,S.b1]})}return We})()},55695:(tt,I,o)=>{"use strict";o.d(I,{X:()=>d,j:()=>_});var e=o(97582),n=o(65879),t=o(78645),i=o(59773),l=o(13324),h=o(27754),E=o(49388),u=o(96814),z=o(90551),M=o(60095);function p(m,f){if(1&m){const C=n.EpF();n.TgZ(0,"span",1),n.NdJ("click",function(b){n.CHM(C);const D=n.oxw();return n.KtG(D.closeTag(b))}),n.qZA()}}const v=["*"];let _=(()=>{class m{constructor(C,T,b,D){this.cdr=C,this.renderer=T,this.elementRef=b,this.directionality=D,this.isPresetColor=!1,this.nzMode="default",this.nzChecked=!1,this.nzOnClose=new n.vpe,this.nzCheckedChange=new n.vpe,this.dir="ltr",this.destroy$=new t.x}updateCheckedStatus(){"checkable"===this.nzMode&&(this.nzChecked=!this.nzChecked,this.nzCheckedChange.emit(this.nzChecked))}closeTag(C){this.nzOnClose.emit(C),C.defaultPrevented||this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}clearPresetColor(){const C=this.elementRef.nativeElement,T=new RegExp(`(ant-tag-(?:${[...l.uf,...l.Bh].join("|")}))`,"g"),b=C.classList.toString(),D=[];let y=T.exec(b);for(;null!==y;)D.push(y[1]),y=T.exec(b);C.classList.remove(...D)}setPresetColor(){const C=this.elementRef.nativeElement;this.clearPresetColor(),this.isPresetColor=!!this.nzColor&&((0,l.o2)(this.nzColor)||(0,l.M8)(this.nzColor)),this.isPresetColor&&C.classList.add(`ant-tag-${this.nzColor}`)}ngOnInit(){this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(C=>{this.dir=C,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(C){const{nzColor:T}=C;T&&this.setPresetColor()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(T){return new(T||m)(n.Y36(n.sBO),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(E.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:m,selectors:[["nz-tag"]],hostAttrs:[1,"ant-tag"],hostVars:10,hostBindings:function(T,b){1&T&&n.NdJ("click",function(){return b.updateCheckedStatus()}),2&T&&(n.Udp("background-color",b.isPresetColor?"":b.nzColor),n.ekj("ant-tag-has-color",b.nzColor&&!b.isPresetColor)("ant-tag-checkable","checkable"===b.nzMode)("ant-tag-checkable-checked",b.nzChecked)("ant-tag-rtl","rtl"===b.dir))},inputs:{nzMode:"nzMode",nzColor:"nzColor",nzChecked:"nzChecked"},outputs:{nzOnClose:"nzOnClose",nzCheckedChange:"nzCheckedChange"},exportAs:["nzTag"],features:[n.TTD],ngContentSelectors:v,decls:2,vars:1,consts:[["nz-icon","","nzType","close","class","ant-tag-close-icon","tabindex","-1",3,"click",4,"ngIf"],["nz-icon","","nzType","close","tabindex","-1",1,"ant-tag-close-icon",3,"click"]],template:function(T,b){1&T&&(n.F$t(),n.Hsn(0),n.YNc(1,p,1,0,"span",0)),2&T&&(n.xp6(1),n.Q6J("ngIf","closeable"===b.nzMode))},dependencies:[u.O5,z.Ls],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,h.yF)()],m.prototype,"nzChecked",void 0),m})(),d=(()=>{class m{static#e=this.\u0275fac=function(T){return new(T||m)};static#t=this.\u0275mod=n.oAB({type:m});static#n=this.\u0275inj=n.cJS({imports:[E.vT,u.ez,M.u5,z.PV]})}return m})()},60047:(tt,I,o)=>{"use strict";o.d(I,{Iv:()=>$e,m4:()=>mt,wY:()=>we});var e=o(97582),n=o(33651),t=o(65879),i=o(60095),l=o(78645),h=o(92438),E=o(22096),u=o(59773),z=o(93997),M=o(42460),p=o(37398),v=o(34338),_=o(64194),d=o(83064),m=o(1608),f=o(27754),C=o(12131),T=o(62831),b=o(49388),D=o(50883),y=o(96814),P=o(90551),S=o(85448),A=o(8324),k=o(70855),R=o(56879),W=o(42840),j=o(41958);const ze=["hourListElement"],Y=["minuteListElement"],G=["secondListElement"],V=["use12HoursListElement"];function K(de,U){if(1&de&&(t.TgZ(0,"div",4)(1,"div",5),t._uU(2),t.qZA()()),2&de){const B=t.oxw();t.xp6(2),t.Oqu(B.dateHelper.format(null==B.time?null:B.time.value,B.format)||"\xa0")}}function ee(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw().$implicit,Le=t.oxw(2);return t.KtG(Le.selectHour(Ae))}),t.TgZ(1,"div",11),t._uU(2),t.ALo(3,"number"),t.qZA()()}if(2&de){const B=t.oxw().$implicit,Me=t.oxw(2);t.ekj("ant-picker-time-panel-cell-selected",Me.isSelectedHour(B))("ant-picker-time-panel-cell-disabled",B.disabled),t.xp6(2),t.Oqu(t.xi3(3,5,B.index,"2.0-0"))}}function te(de,U){if(1&de&&(t.ynx(0),t.YNc(1,ee,4,8,"li",9),t.BQk()),2&de){const B=U.$implicit,Me=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!(Me.nzHideDisabledOptions&&B.disabled))}}function pe(de,U){if(1&de&&(t.TgZ(0,"ul",6,7),t.YNc(2,te,2,1,"ng-container",8),t.qZA()),2&de){const B=t.oxw();t.xp6(2),t.Q6J("ngForOf",B.hourRange)("ngForTrackBy",B.trackByFn)}}function re(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw().$implicit,Le=t.oxw(2);return t.KtG(Le.selectMinute(Ae))}),t.TgZ(1,"div",11),t._uU(2),t.ALo(3,"number"),t.qZA()()}if(2&de){const B=t.oxw().$implicit,Me=t.oxw(2);t.ekj("ant-picker-time-panel-cell-selected",Me.isSelectedMinute(B))("ant-picker-time-panel-cell-disabled",B.disabled),t.xp6(2),t.Oqu(t.xi3(3,5,B.index,"2.0-0"))}}function De(de,U){if(1&de&&(t.ynx(0),t.YNc(1,re,4,8,"li",9),t.BQk()),2&de){const B=U.$implicit,Me=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!(Me.nzHideDisabledOptions&&B.disabled))}}function ae(de,U){if(1&de&&(t.TgZ(0,"ul",6,12),t.YNc(2,De,2,1,"ng-container",8),t.qZA()),2&de){const B=t.oxw();t.xp6(2),t.Q6J("ngForOf",B.minuteRange)("ngForTrackBy",B.trackByFn)}}function ce(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw().$implicit,Le=t.oxw(2);return t.KtG(Le.selectSecond(Ae))}),t.TgZ(1,"div",11),t._uU(2),t.ALo(3,"number"),t.qZA()()}if(2&de){const B=t.oxw().$implicit,Me=t.oxw(2);t.ekj("ant-picker-time-panel-cell-selected",Me.isSelectedSecond(B))("ant-picker-time-panel-cell-disabled",B.disabled),t.xp6(2),t.Oqu(t.xi3(3,5,B.index,"2.0-0"))}}function X(de,U){if(1&de&&(t.ynx(0),t.YNc(1,ce,4,8,"li",9),t.BQk()),2&de){const B=U.$implicit,Me=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!(Me.nzHideDisabledOptions&&B.disabled))}}function ne(de,U){if(1&de&&(t.TgZ(0,"ul",6,13),t.YNc(2,X,2,1,"ng-container",8),t.qZA()),2&de){const B=t.oxw();t.xp6(2),t.Q6J("ngForOf",B.secondRange)("ngForTrackBy",B.trackByFn)}}function le(de,U){if(1&de){const B=t.EpF();t.ynx(0),t.TgZ(1,"li",10),t.NdJ("click",function(){const Le=t.CHM(B).$implicit,ht=t.oxw(2);return t.KtG(ht.select12Hours(Le))}),t.TgZ(2,"div",11),t._uU(3),t.qZA()(),t.BQk()}if(2&de){const B=U.$implicit,Me=t.oxw(2);t.xp6(1),t.ekj("ant-picker-time-panel-cell-selected",Me.isSelected12Hours(B)),t.xp6(2),t.Oqu(B.value)}}function Se(de,U){if(1&de&&(t.TgZ(0,"ul",6,14),t.YNc(2,le,4,3,"ng-container",15),t.qZA()),2&de){const B=t.oxw();t.xp6(2),t.Q6J("ngForOf",B.use12HoursRange)}}function Ne(de,U){}function ke(de,U){if(1&de&&(t.TgZ(0,"div",23),t.YNc(1,Ne,0,0,"ng-template",24),t.qZA()),2&de){const B=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",B.nzAddOn)}}function oe(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"div",16),t.YNc(1,ke,2,1,"div",17),t.TgZ(2,"ul",18)(3,"li",19)(4,"a",20),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw();return t.KtG(Ae.onClickNow())}),t._uU(5),t.ALo(6,"nzI18n"),t.qZA()(),t.TgZ(7,"li",21)(8,"button",22),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw();return t.KtG(Ae.onClickOk())}),t._uU(9),t.ALo(10,"nzI18n"),t.qZA()()()()}if(2&de){const B=t.oxw();t.xp6(1),t.Q6J("ngIf",B.nzAddOn),t.xp6(4),t.hij(" ",B.nzNowText||t.lcZ(6,3,"Calendar.lang.now")," "),t.xp6(4),t.hij(" ",B.nzOkText||t.lcZ(10,5,"Calendar.lang.ok")," ")}}const _e=["inputElement"];function Q(de,U){if(1&de&&(t.ynx(0),t._UZ(1,"span",8),t.BQk()),2&de){const B=U.$implicit;t.xp6(1),t.Q6J("nzType",B)}}function He(de,U){if(1&de&&t._UZ(0,"nz-form-item-feedback-icon",9),2&de){const B=t.oxw();t.Q6J("status",B.status)}}function Re(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"span",10),t.NdJ("click",function(Ae){t.CHM(B);const Le=t.oxw();return t.KtG(Le.onClickClearBtn(Ae))}),t._UZ(1,"span",11),t.qZA()}if(2&de){const B=t.oxw();t.xp6(1),t.uIk("aria-label",B.nzClearText)("title",B.nzClearText)}}function lt(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"div",12)(1,"div",13)(2,"div",14)(3,"nz-time-picker-panel",15),t.NdJ("ngModelChange",function(Ae){t.CHM(B);const Le=t.oxw();return t.KtG(Le.value=Ae)})("ngModelChange",function(Ae){t.CHM(B);const Le=t.oxw();return t.KtG(Le.onPanelValueChange(Ae))})("closePanel",function(){t.CHM(B);const Ae=t.oxw();return t.KtG(Ae.closePanel())}),t.ALo(4,"async"),t.qZA()()()()}if(2&de){const B=t.oxw();t.Q6J("@slideMotion","enter"),t.xp6(3),t.Q6J("ngClass",B.nzPopupClassName)("format",B.nzFormat)("nzHourStep",B.nzHourStep)("nzMinuteStep",B.nzMinuteStep)("nzSecondStep",B.nzSecondStep)("nzDisabledHours",B.nzDisabledHours)("nzDisabledMinutes",B.nzDisabledMinutes)("nzDisabledSeconds",B.nzDisabledSeconds)("nzPlaceHolder",B.nzPlaceHolder||t.lcZ(4,19,B.i18nPlaceHolder$))("nzHideDisabledOptions",B.nzHideDisabledOptions)("nzUse12Hours",B.nzUse12Hours)("nzDefaultOpenValue",B.nzDefaultOpenValue)("nzAddOn",B.nzAddOn)("nzClearText",B.nzClearText)("nzNowText",B.nzNowText)("nzOkText",B.nzOkText)("nzAllowEmpty",B.nzAllowEmpty)("ngModel",B.value)}}class Pe{setMinutes(U,B){return B||(this.initValue(),this.value.setMinutes(U),this.update()),this}setHours(U,B){return B||(this.initValue(),this.value.setHours(this._use12Hours?"PM"===this.selected12Hours&&12!==U?U+12:"AM"===this.selected12Hours&&12===U?0:U:U),this.update()),this}setSeconds(U,B){return B||(this.initValue(),this.value.setSeconds(U),this.update()),this}setUse12Hours(U){return this._use12Hours=U,this}get changes(){return this._changes.asObservable()}setValue(U,B){return(0,f.DX)(B)&&(this._use12Hours=B),U!==this.value&&(this._value=U,(0,f.DX)(this.value)?this._use12Hours&&(0,f.DX)(this.hours)&&(this.selected12Hours=this.hours>=12?"PM":"AM"):this._clear()),this}initValue(){(0,f.kK)(this.value)&&this.setValue(new Date,this._use12Hours)}clear(){this._clear(),this.update()}get isEmpty(){return!((0,f.DX)(this.hours)||(0,f.DX)(this.minutes)||(0,f.DX)(this.seconds))}_clear(){this._value=void 0,this.selected12Hours=void 0}update(){this.isEmpty?this._value=void 0:((0,f.DX)(this.hours)&&this.value.setHours(this.hours),(0,f.DX)(this.minutes)&&this.value.setMinutes(this.minutes),(0,f.DX)(this.seconds)&&this.value.setSeconds(this.seconds),this._use12Hours&&("PM"===this.selected12Hours&&this.hours<12&&this.value.setHours(this.hours+12),"AM"===this.selected12Hours&&this.hours>=12&&this.value.setHours(this.hours-12))),this.changed()}changed(){this._changes.next(this.value)}get viewHours(){return this._use12Hours&&(0,f.DX)(this.hours)?this.calculateViewHour(this.hours):this.hours}setSelected12Hours(U){U.toUpperCase()!==this.selected12Hours&&(this.selected12Hours=U.toUpperCase(),this.update())}get value(){return this._value||this._defaultOpenValue}get hours(){return this.value?.getHours()}get minutes(){return this.value?.getMinutes()}get seconds(){return this.value?.getSeconds()}setDefaultOpenValue(U){return this._defaultOpenValue=U,this}constructor(){this.selected12Hours=void 0,this._use12Hours=!1,this._changes=new l.x}calculateViewHour(U){const B=this.selected12Hours;return"PM"===B&&U>12?U-12:"AM"===B&&0===U?12:U}}function xt(de,U=1,B=0){return new Array(Math.ceil(de/U)).fill(0).map((Me,Ae)=>(Ae+B)*U)}let $e=(()=>{class de{set nzAllowEmpty(B){(0,f.DX)(B)&&(this._allowEmpty=B)}get nzAllowEmpty(){return this._allowEmpty}set nzDisabledHours(B){this._disabledHours=B,this._disabledHours&&this.buildHours()}get nzDisabledHours(){return this._disabledHours}set nzDisabledMinutes(B){(0,f.DX)(B)&&(this._disabledMinutes=B,this.buildMinutes())}get nzDisabledMinutes(){return this._disabledMinutes}set nzDisabledSeconds(B){(0,f.DX)(B)&&(this._disabledSeconds=B,this.buildSeconds())}get nzDisabledSeconds(){return this._disabledSeconds}set format(B){if((0,f.DX)(B)){this._format=B,this.enabledColumns=0;const Me=new Set(B);this.hourEnabled=Me.has("H")||Me.has("h"),this.minuteEnabled=Me.has("m"),this.secondEnabled=Me.has("s"),this.hourEnabled&&this.enabledColumns++,this.minuteEnabled&&this.enabledColumns++,this.secondEnabled&&this.enabledColumns++,this.nzUse12Hours&&this.build12Hours()}}get format(){return this._format}set nzHourStep(B){(0,f.DX)(B)&&(this._nzHourStep=B,this.buildHours())}get nzHourStep(){return this._nzHourStep}set nzMinuteStep(B){(0,f.DX)(B)&&(this._nzMinuteStep=B,this.buildMinutes())}get nzMinuteStep(){return this._nzMinuteStep}set nzSecondStep(B){(0,f.DX)(B)&&(this._nzSecondStep=B,this.buildSeconds())}get nzSecondStep(){return this._nzSecondStep}trackByFn(B){return B}buildHours(){let B=24,Me=this.nzDisabledHours?.(),Ae=0;if(this.nzUse12Hours&&(B=12,Me&&(Me="PM"===this.time.selected12Hours?Me.filter(Le=>Le>=12).map(Le=>Le>12?Le-12:Le):Me.filter(Le=>Le<12||24===Le).map(Le=>24===Le||0===Le?12:Le)),Ae=1),this.hourRange=xt(B,this.nzHourStep,Ae).map(Le=>({index:Le,disabled:!!Me&&-1!==Me.indexOf(Le)})),this.nzUse12Hours&&12===this.hourRange[this.hourRange.length-1].index){const Le=[...this.hourRange];Le.unshift(Le[Le.length-1]),Le.splice(Le.length-1,1),this.hourRange=Le}}buildMinutes(){this.minuteRange=xt(60,this.nzMinuteStep).map(B=>({index:B,disabled:!!this.nzDisabledMinutes&&-1!==this.nzDisabledMinutes(this.time.hours).indexOf(B)}))}buildSeconds(){this.secondRange=xt(60,this.nzSecondStep).map(B=>({index:B,disabled:!!this.nzDisabledSeconds&&-1!==this.nzDisabledSeconds(this.time.hours,this.time.minutes).indexOf(B)}))}build12Hours(){const B=this._format.includes("A");this.use12HoursRange=[{index:0,value:B?"AM":"am"},{index:1,value:B?"PM":"pm"}]}buildTimes(){this.buildHours(),this.buildMinutes(),this.buildSeconds(),this.build12Hours()}scrollToTime(B=0){this.hourEnabled&&this.hourListElement&&this.scrollToSelected(this.hourListElement.nativeElement,this.time.viewHours,B,"hour"),this.minuteEnabled&&this.minuteListElement&&this.scrollToSelected(this.minuteListElement.nativeElement,this.time.minutes,B,"minute"),this.secondEnabled&&this.secondListElement&&this.scrollToSelected(this.secondListElement.nativeElement,this.time.seconds,B,"second"),this.nzUse12Hours&&this.use12HoursListElement&&this.scrollToSelected(this.use12HoursListElement.nativeElement,"AM"===this.time.selected12Hours?0:1,B,"12-hour")}selectHour(B){this.time.setHours(B.index,B.disabled),this._disabledMinutes&&this.buildMinutes(),(this._disabledSeconds||this._disabledMinutes)&&this.buildSeconds()}selectMinute(B){this.time.setMinutes(B.index,B.disabled),this._disabledSeconds&&this.buildSeconds()}selectSecond(B){this.time.setSeconds(B.index,B.disabled)}select12Hours(B){this.time.setSelected12Hours(B.value),this._disabledHours&&this.buildHours(),this._disabledMinutes&&this.buildMinutes(),this._disabledSeconds&&this.buildSeconds()}scrollToSelected(B,Me,Ae=0,Le){if(!B)return;const ht=this.translateIndex(Me,Le);this.scrollTo(B,(B.children[ht]||B.children[0]).offsetTop,Ae)}translateIndex(B,Me){return"hour"===Me?this.calcIndex(this.nzDisabledHours?.(),this.hourRange.map(Ae=>Ae.index).indexOf(B)):"minute"===Me?this.calcIndex(this.nzDisabledMinutes?.(this.time.hours),this.minuteRange.map(Ae=>Ae.index).indexOf(B)):"second"===Me?this.calcIndex(this.nzDisabledSeconds?.(this.time.hours,this.time.minutes),this.secondRange.map(Ae=>Ae.index).indexOf(B)):this.calcIndex([],this.use12HoursRange.map(Ae=>Ae.index).indexOf(B))}scrollTo(B,Me,Ae){if(Ae<=0)return void(B.scrollTop=Me);const ht=(Me-B.scrollTop)/Ae*10;this.ngZone.runOutsideAngular(()=>{(0,R.e)(()=>{B.scrollTop=B.scrollTop+ht,B.scrollTop!==Me&&this.scrollTo(B,Me,Ae-10)})})}calcIndex(B,Me){return B?.length&&this.nzHideDisabledOptions?Me-B.reduce((Ae,Le)=>Ae+(Le-1||(this.nzDisabledMinutes?.(Me).indexOf(Ae)??-1)>-1||(this.nzDisabledSeconds?.(Me,Ae).indexOf(Le)??-1)>-1}onClickNow(){const B=new Date;this.timeDisabled(B)||(this.time.setValue(B),this.changed(),this.closePanel.emit())}onClickOk(){this.time.setValue(this.time.value,this.nzUse12Hours),this.changed(),this.closePanel.emit()}isSelectedHour(B){return B.index===this.time.viewHours}isSelectedMinute(B){return B.index===this.time.minutes}isSelectedSecond(B){return B.index===this.time.seconds}isSelected12Hours(B){return B.value.toUpperCase()===this.time.selected12Hours}constructor(B,Me,Ae,Le){this.ngZone=B,this.cdr=Me,this.dateHelper=Ae,this.elementRef=Le,this._nzHourStep=1,this._nzMinuteStep=1,this._nzSecondStep=1,this.unsubscribe$=new l.x,this._format="HH:mm:ss",this._disabledHours=()=>[],this._disabledMinutes=()=>[],this._disabledSeconds=()=>[],this._allowEmpty=!0,this.time=new Pe,this.hourEnabled=!0,this.minuteEnabled=!0,this.secondEnabled=!0,this.firstScrolled=!1,this.enabledColumns=3,this.nzInDatePicker=!1,this.nzHideDisabledOptions=!1,this.nzUse12Hours=!1,this.closePanel=new t.vpe}ngOnInit(){this.time.changes.pipe((0,u.R)(this.unsubscribe$)).subscribe(()=>{this.changed(),this.touched(),this.scrollToTime(120)}),this.buildTimes(),this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.scrollToTime(),this.firstScrolled=!0}),(0,h.R)(this.elementRef.nativeElement,"mousedown").pipe((0,u.R)(this.unsubscribe$)).subscribe(B=>{B.preventDefault()})})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}ngOnChanges(B){const{nzUse12Hours:Me,nzDefaultOpenValue:Ae}=B;!Me?.previousValue&&Me?.currentValue&&(this.build12Hours(),this.enabledColumns++),Ae?.currentValue&&this.time.setDefaultOpenValue(this.nzDefaultOpenValue||new Date)}writeValue(B){this.time.setValue(B,this.nzUse12Hours),this.buildTimes(),B&&this.firstScrolled&&this.scrollToTime(120),this.cdr.markForCheck()}registerOnChange(B){this.onChange=B}registerOnTouched(B){this.onTouch=B}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(C.mx),t.Y36(t.SBq))};static#t=this.\u0275cmp=t.Xpm({type:de,selectors:[["nz-time-picker-panel"]],viewQuery:function(Me,Ae){if(1&Me&&(t.Gf(ze,5),t.Gf(Y,5),t.Gf(G,5),t.Gf(V,5)),2&Me){let Le;t.iGM(Le=t.CRH())&&(Ae.hourListElement=Le.first),t.iGM(Le=t.CRH())&&(Ae.minuteListElement=Le.first),t.iGM(Le=t.CRH())&&(Ae.secondListElement=Le.first),t.iGM(Le=t.CRH())&&(Ae.use12HoursListElement=Le.first)}},hostAttrs:[1,"ant-picker-time-panel"],hostVars:12,hostBindings:function(Me,Ae){2&Me&&t.ekj("ant-picker-time-panel-column-0",0===Ae.enabledColumns&&!Ae.nzInDatePicker)("ant-picker-time-panel-column-1",1===Ae.enabledColumns&&!Ae.nzInDatePicker)("ant-picker-time-panel-column-2",2===Ae.enabledColumns&&!Ae.nzInDatePicker)("ant-picker-time-panel-column-3",3===Ae.enabledColumns&&!Ae.nzInDatePicker)("ant-picker-time-panel-narrow",Ae.enabledColumns<3)("ant-picker-time-panel-placement-bottomLeft",!Ae.nzInDatePicker)},inputs:{nzInDatePicker:"nzInDatePicker",nzAddOn:"nzAddOn",nzHideDisabledOptions:"nzHideDisabledOptions",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPlaceHolder:"nzPlaceHolder",nzUse12Hours:"nzUse12Hours",nzDefaultOpenValue:"nzDefaultOpenValue",nzAllowEmpty:"nzAllowEmpty",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",format:"format",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep"},outputs:{closePanel:"closePanel"},exportAs:["nzTimePickerPanel"],features:[t._Bn([{provide:i.JU,useExisting:de,multi:!0}]),t.TTD],decls:7,vars:6,consts:[["class","ant-picker-header",4,"ngIf"],[1,"ant-picker-content"],["class","ant-picker-time-panel-column","style","position: relative;",4,"ngIf"],["class","ant-picker-footer",4,"ngIf"],[1,"ant-picker-header"],[1,"ant-picker-header-view"],[1,"ant-picker-time-panel-column",2,"position","relative"],["hourListElement",""],[4,"ngFor","ngForOf","ngForTrackBy"],["class","ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","ant-picker-time-panel-cell-disabled","click",4,"ngIf"],[1,"ant-picker-time-panel-cell",3,"click"],[1,"ant-picker-time-panel-cell-inner"],["minuteListElement",""],["secondListElement",""],["use12HoursListElement",""],[4,"ngFor","ngForOf"],[1,"ant-picker-footer"],["class","ant-picker-footer-extra",4,"ngIf"],[1,"ant-picker-ranges"],[1,"ant-picker-now"],[3,"click"],[1,"ant-picker-ok"],["nz-button","","type","button","nzSize","small","nzType","primary",3,"click"],[1,"ant-picker-footer-extra"],[3,"ngTemplateOutlet"]],template:function(Me,Ae){1&Me&&(t.YNc(0,K,3,1,"div",0),t.TgZ(1,"div",1),t.YNc(2,pe,3,2,"ul",2),t.YNc(3,ae,3,2,"ul",2),t.YNc(4,ne,3,2,"ul",2),t.YNc(5,Se,3,1,"ul",2),t.qZA(),t.YNc(6,oe,11,7,"div",3)),2&Me&&(t.Q6J("ngIf",Ae.nzInDatePicker),t.xp6(2),t.Q6J("ngIf",Ae.hourEnabled),t.xp6(1),t.Q6J("ngIf",Ae.minuteEnabled),t.xp6(1),t.Q6J("ngIf",Ae.secondEnabled),t.xp6(1),t.Q6J("ngIf",Ae.nzUse12Hours),t.xp6(1),t.Q6J("ngIf",!Ae.nzInDatePicker))},dependencies:[y.sg,y.O5,y.tP,W.ix,k.w,j.dQ,y.JJ,C.o9],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,f.yF)()],de.prototype,"nzUse12Hours",void 0),de})(),mt=(()=>{class de{emitValue(B){this.setValue(B,!0),this._onChange&&this._onChange(this.value),this._onTouched&&this._onTouched()}setValue(B,Me=!1){Me&&(this.preValue=(0,v.Z)(B)?new Date(B):null),this.value=(0,v.Z)(B)?new Date(B):null,this.inputValue=this.dateHelper.format(B,this.nzFormat),this.cdr.markForCheck()}open(){this.nzDisabled||this.nzOpen||(this.focus(),this.nzOpen=!0,this.nzOpenChange.emit(this.nzOpen))}close(){this.nzOpen=!1,this.cdr.markForCheck(),this.nzOpenChange.emit(this.nzOpen)}updateAutoFocus(){this.isInit&&!this.nzDisabled&&(this.nzAutoFocus?this.renderer.setAttribute(this.inputRef.nativeElement,"autofocus","autofocus"):this.renderer.removeAttribute(this.inputRef.nativeElement,"autofocus"))}onClickClearBtn(B){B.stopPropagation(),this.emitValue(null)}onClickOutside(B){this.element.nativeElement.contains(B.target)||this.setCurrentValueAndClose()}onFocus(B){this.focused=B,B||(this.checkTimeValid(this.value)?this.setCurrentValueAndClose():(this.setValue(this.preValue),this.close()))}focus(){this.inputRef.nativeElement&&this.inputRef.nativeElement.focus()}blur(){this.inputRef.nativeElement&&this.inputRef.nativeElement.blur()}onKeyupEsc(){this.setValue(this.preValue)}onKeyupEnter(){this.nzOpen&&(0,v.Z)(this.value)?this.setCurrentValueAndClose():this.nzOpen||this.open()}onInputChange(B){!this.platform.TRIDENT&&document.activeElement===this.inputRef.nativeElement&&(this.open(),this.parseTimeString(B))}onPanelValueChange(B){this.setValue(B),this.focus()}closePanel(){this.inputRef.nativeElement.blur()}setCurrentValueAndClose(){this.emitValue(this.value),this.close()}constructor(B,Me,Ae,Le,ht,Ot,Lt,Wt,qt,en){this.nzConfigService=B,this.i18n=Me,this.element=Ae,this.renderer=Le,this.cdr=ht,this.dateHelper=Ot,this.platform=Lt,this.directionality=Wt,this.nzFormStatusService=qt,this.nzFormNoStatusService=en,this._nzModuleName="timePicker",this.destroy$=new l.x,this.isNzDisableFirstChange=!0,this.isInit=!1,this.focused=!1,this.inputValue="",this.value=null,this.preValue=null,this.i18nPlaceHolder$=(0,E.of)(void 0),this.overlayPositions=[{offsetY:3,originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{offsetY:-3,originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{offsetY:3,originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{offsetY:-3,originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],this.dir="ltr",this.prefixCls="ant-picker",this.statusCls={},this.status="",this.hasFeedback=!1,this.nzId=null,this.nzSize=null,this.nzStatus="",this.nzHourStep=1,this.nzMinuteStep=1,this.nzSecondStep=1,this.nzClearText="clear",this.nzNowText="",this.nzOkText="",this.nzPopupClassName="",this.nzPlaceHolder="",this.nzFormat="HH:mm:ss",this.nzOpen=!1,this.nzUse12Hours=!1,this.nzSuffixIcon="clock-circle",this.nzOpenChange=new t.vpe,this.nzHideDisabledOptions=!1,this.nzAllowEmpty=!0,this.nzDisabled=!1,this.nzAutoFocus=!1,this.nzBackdrop=!1,this.nzBorderless=!1,this.nzInputReadOnly=!1}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,z.x)((B,Me)=>B.status===Me.status&&B.hasFeedback===Me.hasFeedback),(0,M.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,E.of)(!1)),(0,p.U)(([{status:B,hasFeedback:Me},Ae])=>({status:Ae?"":B,hasFeedback:Me})),(0,u.R)(this.destroy$)).subscribe(({status:B,hasFeedback:Me})=>{this.setStatusStyles(B,Me)}),this.inputSize=Math.max(8,this.nzFormat.length)+2,this.origin=new n.xu(this.element),this.i18nPlaceHolder$=this.i18n.localeChange.pipe((0,p.U)(B=>B.TimePicker.placeholder)),this.dir=this.directionality.value,this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(B=>{this.dir=B})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(B){const{nzUse12Hours:Me,nzFormat:Ae,nzDisabled:Le,nzAutoFocus:ht,nzStatus:Ot}=B;if(Me&&!Me.previousValue&&Me.currentValue&&!Ae&&(this.nzFormat="h:mm:ss a"),Le){const Wt=this.inputRef.nativeElement;Le.currentValue?this.renderer.setAttribute(Wt,"disabled",""):this.renderer.removeAttribute(Wt,"disabled")}ht&&this.updateAutoFocus(),Ot&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}parseTimeString(B){const Me=this.dateHelper.parseTime(B,this.nzFormat)||null;(0,v.Z)(Me)&&(this.value=Me,this.cdr.markForCheck())}ngAfterViewInit(){this.isInit=!0,this.updateAutoFocus()}writeValue(B){let Me;B instanceof Date?Me=B:(0,f.kK)(B)?Me=null:((0,m.ZK)('Non-Date type is not recommended for time-picker, use "Date" type.'),Me=new Date(B)),this.setValue(Me,!0)}registerOnChange(B){this._onChange=B}registerOnTouched(B){this._onTouched=B}setDisabledState(B){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||B,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}checkTimeValid(B){if(!B)return!0;const Me=this.nzDisabledHours?.(),Ae=this.nzDisabledMinutes?.(B.getHours()),Le=this.nzDisabledSeconds?.(B.getHours(),B.getMinutes());return!(Me?.includes(B.getHours())||Ae?.includes(B.getMinutes())||Le?.includes(B.getSeconds()))}setStatusStyles(B,Me){this.status=B,this.hasFeedback=Me,this.cdr.markForCheck(),this.statusCls=(0,f.Zu)(this.prefixCls,B,Me),Object.keys(this.statusCls).forEach(Ae=>{this.statusCls[Ae]?this.renderer.addClass(this.element.nativeElement,Ae):this.renderer.removeClass(this.element.nativeElement,Ae)})}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.Y36(d.jY),t.Y36(C.wi),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(C.mx),t.Y36(T.t4),t.Y36(b.Is,8),t.Y36(D.kH,8),t.Y36(D.yW,8))};static#t=this.\u0275cmp=t.Xpm({type:de,selectors:[["nz-time-picker"]],viewQuery:function(Me,Ae){if(1&Me&&t.Gf(_e,7),2&Me){let Le;t.iGM(Le=t.CRH())&&(Ae.inputRef=Le.first)}},hostAttrs:[1,"ant-picker"],hostVars:12,hostBindings:function(Me,Ae){1&Me&&t.NdJ("click",function(){return Ae.open()}),2&Me&&t.ekj("ant-picker-large","large"===Ae.nzSize)("ant-picker-small","small"===Ae.nzSize)("ant-picker-disabled",Ae.nzDisabled)("ant-picker-focused",Ae.focused)("ant-picker-rtl","rtl"===Ae.dir)("ant-picker-borderless",Ae.nzBorderless)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPopupClassName:"nzPopupClassName",nzPlaceHolder:"nzPlaceHolder",nzAddOn:"nzAddOn",nzDefaultOpenValue:"nzDefaultOpenValue",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",nzFormat:"nzFormat",nzOpen:"nzOpen",nzUse12Hours:"nzUse12Hours",nzSuffixIcon:"nzSuffixIcon",nzHideDisabledOptions:"nzHideDisabledOptions",nzAllowEmpty:"nzAllowEmpty",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzBackdrop:"nzBackdrop",nzBorderless:"nzBorderless",nzInputReadOnly:"nzInputReadOnly"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzTimePicker"],features:[t._Bn([{provide:i.JU,useExisting:de,multi:!0}]),t.TTD],decls:9,vars:16,consts:[[1,"ant-picker-input"],["type","text","autocomplete","off",3,"size","placeholder","ngModel","disabled","readOnly","ngModelChange","focus","blur","keyup.enter","keyup.escape"],["inputElement",""],[1,"ant-picker-suffix"],[4,"nzStringTemplateOutlet"],[3,"status",4,"ngIf"],["class","ant-picker-clear",3,"click",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","detach","overlayOutsideClick"],["nz-icon","",3,"nzType"],[3,"status"],[1,"ant-picker-clear",3,"click"],["nz-icon","","nzType","close-circle","nzTheme","fill"],[1,"ant-picker-dropdown",2,"position","relative"],[1,"ant-picker-panel-container"],["tabindex","-1",1,"ant-picker-panel"],[3,"ngClass","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzPlaceHolder","nzHideDisabledOptions","nzUse12Hours","nzDefaultOpenValue","nzAddOn","nzClearText","nzNowText","nzOkText","nzAllowEmpty","ngModel","ngModelChange","closePanel"]],template:function(Me,Ae){1&Me&&(t.TgZ(0,"div",0)(1,"input",1,2),t.NdJ("ngModelChange",function(ht){return Ae.inputValue=ht})("focus",function(){return Ae.onFocus(!0)})("blur",function(){return Ae.onFocus(!1)})("keyup.enter",function(){return Ae.onKeyupEnter()})("keyup.escape",function(){return Ae.onKeyupEsc()})("ngModelChange",function(ht){return Ae.onInputChange(ht)}),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"span",3),t.YNc(5,Q,2,1,"ng-container",4),t.YNc(6,He,1,1,"nz-form-item-feedback-icon",5),t.qZA(),t.YNc(7,Re,2,2,"span",6),t.qZA(),t.YNc(8,lt,5,21,"ng-template",7),t.NdJ("detach",function(){return Ae.close()})("overlayOutsideClick",function(ht){return Ae.onClickOutside(ht)})),2&Me&&(t.xp6(1),t.Q6J("size",Ae.inputSize)("placeholder",Ae.nzPlaceHolder||t.lcZ(3,14,Ae.i18nPlaceHolder$))("ngModel",Ae.inputValue)("disabled",Ae.nzDisabled)("readOnly",Ae.nzInputReadOnly),t.uIk("id",Ae.nzId),t.xp6(4),t.Q6J("nzStringTemplateOutlet",Ae.nzSuffixIcon),t.xp6(1),t.Q6J("ngIf",Ae.hasFeedback&&!!Ae.status),t.xp6(1),t.Q6J("ngIf",Ae.nzAllowEmpty&&!Ae.nzDisabled&&Ae.value),t.xp6(1),t.Q6J("cdkConnectedOverlayHasBackdrop",Ae.nzBackdrop)("cdkConnectedOverlayPositions",Ae.overlayPositions)("cdkConnectedOverlayOrigin",Ae.origin)("cdkConnectedOverlayOpen",Ae.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-picker-dropdown"))},dependencies:[y.mk,y.O5,i.Fj,i.JJ,i.On,n.pI,P.Ls,S.hQ,A.f,k.w,D.w_,$e,y.Ov],encapsulation:2,data:{animation:[_.mF]},changeDetection:0})}return(0,e.gn)([(0,d.oS)()],de.prototype,"nzHourStep",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzMinuteStep",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzSecondStep",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzClearText",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzNowText",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzOkText",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzPopupClassName",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzFormat",void 0),(0,e.gn)([(0,d.oS)(),(0,f.yF)()],de.prototype,"nzUse12Hours",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzSuffixIcon",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzHideDisabledOptions",void 0),(0,e.gn)([(0,d.oS)(),(0,f.yF)()],de.prototype,"nzAllowEmpty",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzDisabled",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzBackdrop",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzBorderless",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzInputReadOnly",void 0),de})(),we=(()=>{class de{static#e=this.\u0275fac=function(Me){return new(Me||de)};static#t=this.\u0275mod=t.oAB({type:de});static#n=this.\u0275inj=t.cJS({imports:[b.vT,y.ez,i.u5,C.YI,n.U8,P.PV,S.e4,A.T,W.sL,D.mJ]})}return de})()},96109:(tt,I,o)=>{"use strict";o.d(I,{Mg:()=>P,SY:()=>k,XK:()=>R,cg:()=>W,pu:()=>A});var e=o(97582),n=o(65879),t=o(64194),i=o(13324),l=o(27754),h=o(78645),E=o(76410),u=o(93997),z=o(59773),M=o(32181),p=o(5177),v=o(85448),_=o(331),d=o(83064),m=o(49388),f=o(96814),C=o(33651),T=o(8324);const b=["overlay"];function D(j,ze){if(1&j&&(n.ynx(0),n._uU(1),n.BQk()),2&j){const Y=n.oxw(2);n.xp6(1),n.Oqu(Y.nzTitle)}}function y(j,ze){if(1&j&&(n.TgZ(0,"div",2)(1,"div",3)(2,"div",4),n._UZ(3,"span",5),n.qZA(),n.TgZ(4,"div",6),n.YNc(5,D,2,1,"ng-container",7),n.qZA()()()),2&j){const Y=n.oxw();n.ekj("ant-tooltip-rtl","rtl"===Y.dir),n.Q6J("ngClass",Y._classMap)("ngStyle",Y.nzOverlayStyle)("@.disabled",!(null==Y.noAnimation||!Y.noAnimation.nzNoAnimation))("nzNoAnimation",null==Y.noAnimation?null:Y.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),n.xp6(3),n.Q6J("ngStyle",Y._contentStyleMap),n.xp6(1),n.Q6J("ngStyle",Y._contentStyleMap),n.xp6(1),n.Q6J("nzStringTemplateOutlet",Y.nzTitle)("nzStringTemplateOutletContext",Y.nzTitleContext)}}let P=(()=>{class j{get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){const Y=this.placement;return Array.isArray(Y)&&Y.length>0?Y:"string"==typeof Y&&Y?[Y]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}constructor(Y,G,V,K,ee,te){this.elementRef=Y,this.hostView=G,this.resolver=V,this.renderer=K,this.noAnimation=ee,this.nzConfigService=te,this.visibleChange=new n.vpe,this.internalVisible=!1,this.destroy$=new h.x,this.triggerDisposables=[]}ngOnChanges(Y){const{trigger:G}=Y;G&&!G.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(Y)}ngAfterViewInit(){this.createComponent(),this.registerTriggers()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const Y=this.componentRef;this.component=Y.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),Y.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();const G=this.component.nzVisibleChange.pipe((0,u.x)());G.pipe((0,z.R)(this.destroy$)).subscribe(V=>{this.internalVisible=V,this.visibleChange.emit(V)}),G.pipe((0,M.h)(V=>V),(0,p.g)(0,E.E),(0,M.h)(()=>!!this.component?.overlay?.overlayRef),(0,z.R)(this.destroy$)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){const Y=this.elementRef.nativeElement,G=this.trigger;if(this.removeTriggerListeners(),"hover"===G){let V;this.triggerDisposables.push(this.renderer.listen(Y,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(Y,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!V&&(V=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(V,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(V,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===G?(this.triggerDisposables.push(this.renderer.listen(Y,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(Y,"focusout",()=>this.hide()))):"click"===G&&this.triggerDisposables.push(this.renderer.listen(Y,"click",V=>{V.preventDefault(),this.show()}))}updatePropertiesByChanges(Y){this.updatePropertiesByKeys(Object.keys(Y))}updatePropertiesByKeys(Y){const G={title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],...this.getProxyPropertyMap()};(Y||Object.keys(G).filter(V=>!V.startsWith("directive"))).forEach(V=>{if(G[V]){const[K,ee]=G[V];this.updateComponentValue(K,ee())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(Y,G){typeof G<"u"&&(this.component[Y]=G)}delayEnterLeave(Y,G,V=-1){this.delayTimer?this.clearTogglingTimer():V>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,G?this.show():this.hide()},1e3*V):G&&Y?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(Y=>Y()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}static#e=this.\u0275fac=function(G){return new(G||j)(n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(n._Vd),n.Y36(n.Qsj),n.Y36(_.P),n.Y36(d.jY))};static#t=this.\u0275dir=n.lG2({type:j,features:[n.TTD]})}return j})(),S=(()=>{class j{set nzVisible(Y){const G=(0,l.sw)(Y);this._visible!==G&&(this._visible=G,this.nzVisibleChange.next(G))}get nzVisible(){return this._visible}set nzTrigger(Y){this._trigger=Y}get nzTrigger(){return this._trigger}set nzPlacement(Y){const G=Y.map(V=>v.yW[V]);this._positions=[...G,...v.Ek]}constructor(Y,G,V){this.cdr=Y,this.directionality=G,this.noAnimation=V,this.nzTitle=null,this.nzContent=null,this.nzArrowPointAtCenter=!1,this.nzOverlayStyle={},this.nzBackdrop=!1,this.nzVisibleChange=new h.x,this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this.dir="ltr",this._classMap={},this._prefix="ant-tooltip",this._positions=[...v.Ek],this.destroy$=new h.x}ngOnInit(){this.directionality.change?.pipe((0,z.R)(this.destroy$)).subscribe(Y=>{this.dir=Y,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(Y){this.preferredPlacement=(0,v.d_)(Y),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(Y){this.origin=Y,this.cdr.markForCheck()}onClickOutside(Y){!this.origin.nativeElement.contains(Y.target)&&null!==this.nzTrigger&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}static#e=this.\u0275fac=function(G){return new(G||j)(n.Y36(n.sBO),n.Y36(m.Is,8),n.Y36(_.P))};static#t=this.\u0275dir=n.lG2({type:j,viewQuery:function(G,V){if(1&G&&n.Gf(b,5),2&G){let K;n.iGM(K=n.CRH())&&(V.overlay=K.first)}}})}return j})();function A(j){return!(j instanceof n.Rgc||""!==j&&(0,l.DX)(j))}let k=(()=>{class j extends P{constructor(Y,G,V,K,ee){super(Y,G,V,K,ee),this.titleContext=null,this.trigger="hover",this.placement="top",this.visibleChange=new n.vpe,this.componentRef=this.hostView.createComponent(R)}getProxyPropertyMap(){return{...super.getProxyPropertyMap(),nzTooltipColor:["nzColor",()=>this.nzTooltipColor],nzTooltipTitleContext:["nzTitleContext",()=>this.titleContext]}}static#e=this.\u0275fac=function(G){return new(G||j)(n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(n._Vd),n.Y36(n.Qsj),n.Y36(_.P,9))};static#t=this.\u0275dir=n.lG2({type:j,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(G,V){2&G&&n.ekj("ant-tooltip-open",V.visible)},inputs:{title:["nzTooltipTitle","title"],titleContext:["nzTooltipTitleContext","titleContext"],directiveTitle:["nz-tooltip","directiveTitle"],trigger:["nzTooltipTrigger","trigger"],placement:["nzTooltipPlacement","placement"],origin:["nzTooltipOrigin","origin"],visible:["nzTooltipVisible","visible"],mouseEnterDelay:["nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzTooltipOverlayClassName","overlayClassName"],overlayStyle:["nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:["nzTooltipArrowPointAtCenter","arrowPointAtCenter"],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[n.qOj]})}return(0,e.gn)([(0,l.yF)()],j.prototype,"arrowPointAtCenter",void 0),j})(),R=(()=>{class j extends S{constructor(Y,G,V){super(Y,G,V),this.nzTitle=null,this.nzTitleContext=null,this._contentStyleMap={}}isEmpty(){return A(this.nzTitle)}updateStyles(){const Y=this.nzColor&&(0,i.o2)(this.nzColor);this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:Y},this._contentStyleMap={backgroundColor:this.nzColor&&!Y?this.nzColor:null}}static#e=this.\u0275fac=function(G){return new(G||j)(n.Y36(n.sBO),n.Y36(m.Is,8),n.Y36(_.P,9))};static#t=this.\u0275cmp=n.Xpm({type:j,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[n.qOj],decls:2,vars:5,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content",3,"ngStyle"],[1,"ant-tooltip-inner",3,"ngStyle"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(G,V){1&G&&(n.YNc(0,y,6,11,"ng-template",0,1,n.W1O),n.NdJ("overlayOutsideClick",function(ee){return V.onClickOutside(ee)})("detach",function(){return V.hide()})("positionChange",function(ee){return V.onPositionChange(ee)})),2&G&&n.Q6J("cdkConnectedOverlayOrigin",V.origin)("cdkConnectedOverlayOpen",V._visible)("cdkConnectedOverlayPositions",V._positions)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",V.nzArrowPointAtCenter)},dependencies:[f.mk,f.PC,C.pI,T.f,v.hQ,_.P],encapsulation:2,data:{animation:[t.$C]},changeDetection:0})}return j})(),W=(()=>{class j{static#e=this.\u0275fac=function(G){return new(G||j)};static#t=this.\u0275mod=n.oAB({type:j});static#n=this.\u0275inj=n.cJS({imports:[m.vT,f.ez,C.U8,T.T,v.e4,_.g]})}return j})()},10358:(tt,I,o)=>{"use strict";o.d(I,{BC:()=>mt,st:()=>we});var e=o(65879),n=o(65592),t=o(63019),i=o(92438),l=o(78645),h=o(22096),E=o(27921),u=o(94664),z=o(93997),M=o(42460),p=o(37398),v=o(59773),_=o(62612),d=o(96814),m=o(60804),f=o(60095),C=o(70855),T=o(90551),b=o(97582),D=o(27754),y=o(12131),P=o(49388),S=o(50883),A=o(42840),k=o(41958),R=o(20824);const W=["nz-transfer-search",""];function j(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"span",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae._clear())}),e._UZ(1,"span",5),e.qZA()}}const ze=function(de){return{"ant-input-disabled":de}},Y=["headerCheckbox"],G=["checkboxes"];function V(de,U){if(1&de&&(e.ynx(0),e._uU(1),e.BQk()),2&de){const B=e.oxw().$implicit;e.xp6(1),e.Oqu(B.title)}}function K(de,U){}const ee=function(de){return{"ant-transfer-list-content-item-disabled":de}},te=function(de){return{$implicit:de}};function pe(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"li",13),e.NdJ("click",function(){const Le=e.CHM(B).$implicit,ht=e.oxw(3);return e.KtG(ht.onItemSelect(Le))}),e.TgZ(1,"label",14,15),e.NdJ("nzCheckedChange",function(){const Le=e.CHM(B).$implicit,ht=e.oxw(3);return e.KtG(ht.onItemSelect(Le))}),e.YNc(3,V,2,1,"ng-container",7),e.YNc(4,K,0,0,"ng-template",16,17,e.W1O),e.qZA()()}if(2&de){const B=U.$implicit,Me=e.MAs(5),Ae=e.oxw(3);e.Q6J("ngClass",e.VKq(7,ee,Ae.disabled||B.disabled)),e.xp6(1),e.Q6J("nzChecked",B.checked)("nzDisabled",Ae.disabled||B.disabled),e.xp6(2),e.Q6J("ngIf",!Ae.render)("ngIfElse",Me),e.xp6(1),e.Q6J("ngTemplateOutlet",Ae.render)("ngTemplateOutletContext",e.VKq(9,te,B))}}function re(de,U){if(1&de&&(e.TgZ(0,"ul",11),e.YNc(1,pe,6,11,"li",12),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",B.validData)("ngForTrackBy",B.trackByHide)}}function De(de,U){if(1&de&&(e.TgZ(0,"div",18),e._UZ(1,"nz-embed-empty",19),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Q6J("nzComponentName","transfer")("specificContent",B.notFoundContent)}}function ae(de,U){if(1&de&&(e.YNc(0,re,2,2,"ul",9),e.YNc(1,De,2,2,"div",10)),2&de){const B=e.oxw();e.Q6J("ngIf",B.stat.shownCount>0),e.xp6(1),e.Q6J("ngIf",0===B.stat.shownCount)}}function ce(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("nzCheckedChange",function(Ae){e.CHM(B);const Le=e.oxw();return e.KtG(Le.onItemSelectAll(Ae))}),e.qZA()}if(2&de){const B=e.oxw();e.Q6J("nzChecked",B.stat.checkAll)("nzIndeterminate",B.stat.checkHalf)("nzDisabled",0===B.stat.shownCount||B.disabled)}}function X(de,U){if(1&de&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&de){const B=e.oxw();e.xp6(1),e.Oqu(B.titleText)}}function ne(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"div",23)(1,"span",24),e.NdJ("valueChanged",function(Ae){e.CHM(B);const Le=e.oxw();return e.KtG(Le.handleFilter(Ae))})("valueClear",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.handleClear())}),e.qZA()()}if(2&de){const B=e.oxw();e.xp6(1),e.Q6J("placeholder",B.searchPlaceholder)("disabled",B.disabled)("value",B.filter)}}function le(de,U){1&de&&e.GkF(0)}const Se=function(de,U,B,Me,Ae,Le){return{$implicit:de,direction:U,disabled:B,onItemSelectAll:Me,onItemSelect:Ae,stat:Le}};function Ne(de,U){if(1&de&&(e.ynx(0),e.TgZ(1,"div",25),e.YNc(2,le,1,0,"ng-container",26),e.qZA(),e.BQk()),2&de){const B=e.oxw();e.xp6(2),e.Q6J("ngTemplateOutlet",B.renderList)("ngTemplateOutletContext",e.HTZ(2,Se,B.validData,B.direction,B.disabled,B.onItemSelectAll,B.onItemSelect,B.stat))}}function ke(de,U){}function oe(de,U){if(1&de&&(e.TgZ(0,"div",27),e.YNc(1,ke,0,0,"ng-template",16),e.qZA()),2&de){const B=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",B.footer)("ngTemplateOutletContext",e.VKq(2,te,B.direction))}}const _e=function(de){return{"ant-transfer__nodata":de}};function Q(de,U){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Oqu(B.nzOperations[1])}}function He(de,U){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Oqu(B.nzOperations[0])}}function Re(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"div",3)(1,"button",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.moveToLeft())}),e._UZ(2,"span",5),e.YNc(3,Q,2,1,"span",6),e.qZA(),e.TgZ(4,"button",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.moveToRight())}),e._UZ(5,"span",7),e.YNc(6,He,2,1,"span",6),e.qZA()()}if(2&de){const B=e.oxw();e.xp6(1),e.Q6J("disabled",B.nzDisabled||!B.leftActive)("nzType","primary")("nzSize","small"),e.xp6(2),e.Q6J("ngIf",B.nzOperations[1]),e.xp6(1),e.Q6J("disabled",B.nzDisabled||!B.rightActive)("nzType","primary")("nzSize","small"),e.xp6(2),e.Q6J("ngIf",B.nzOperations[0])}}function lt(de,U){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Oqu(B.nzOperations[0])}}function Pe(de,U){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Oqu(B.nzOperations[1])}}function xt(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"div",3)(1,"button",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.moveToRight())}),e._UZ(2,"span",5),e.YNc(3,lt,2,1,"span",6),e.qZA(),e.TgZ(4,"button",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.moveToLeft())}),e._UZ(5,"span",7),e.YNc(6,Pe,2,1,"span",6),e.qZA()()}if(2&de){const B=e.oxw();e.xp6(1),e.Q6J("disabled",B.nzDisabled||!B.rightActive)("nzType","primary")("nzSize","small"),e.xp6(2),e.Q6J("ngIf",B.nzOperations[0]),e.xp6(1),e.Q6J("disabled",B.nzDisabled||!B.leftActive)("nzType","primary")("nzSize","small"),e.xp6(2),e.Q6J("ngIf",B.nzOperations[1])}}let $e=(()=>{class de{constructor(B){this.cdr=B,this.disabled=!1,this.valueChanged=new e.vpe,this.valueClear=new e.vpe}_handle(){this.valueChanged.emit(this.value)}_clear(){this.disabled||(this.value="",this.valueClear.emit())}ngOnChanges(){this.cdr.detectChanges()}static#e=this.\u0275fac=function(Me){return new(Me||de)(e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["","nz-transfer-search",""]],inputs:{placeholder:"placeholder",value:"value",disabled:"disabled"},outputs:{valueChanged:"valueChanged",valueClear:"valueClear"},exportAs:["nzTransferSearch"],features:[e.TTD],attrs:W,decls:4,vars:7,consts:[[1,"ant-input-prefix"],["nz-icon","","nzType","search"],[1,"ant-input",3,"ngModel","disabled","placeholder","ngClass","ngModelChange"],["class","ant-input-suffix",3,"click",4,"ngIf"],[1,"ant-input-suffix",3,"click"],["nz-icon","","nzType","close-circle",1,"ant-input-clear-icon"]],template:function(Me,Ae){1&Me&&(e.TgZ(0,"span",0),e._UZ(1,"span",1),e.qZA(),e.TgZ(2,"input",2),e.NdJ("ngModelChange",function(ht){return Ae.value=ht})("ngModelChange",function(){return Ae._handle()}),e.qZA(),e.YNc(3,j,2,0,"span",3)),2&Me&&(e.xp6(2),e.Q6J("ngModel",Ae.value)("disabled",Ae.disabled)("placeholder",Ae.placeholder)("ngClass",e.VKq(5,ze,Ae.disabled)),e.xp6(1),e.Q6J("ngIf",Ae.value&&Ae.value.length>0))},dependencies:[d.mk,d.O5,f.Fj,f.JJ,f.On,C.w,T.Ls],encapsulation:2,changeDetection:0})}return de})(),ot=(()=>{class de{get validData(){return this.dataSource.filter(B=>!B.hide)}trackByHide(B,Me){return Me.hide}updateCheckStatus(){const B=this.dataSource.filter(Me=>!Me.disabled).length;this.stat.checkCount=this.dataSource.filter(Me=>Me.checked&&!Me.disabled).length,this.stat.shownCount=this.validData.length,this.stat.checkAll=B>0&&B===this.stat.checkCount,this.stat.checkHalf=this.stat.checkCount>0&&!this.stat.checkAll,this.headerCheckbox&&(this.headerCheckbox.nzChecked=this.stat.checkAll)}handleFilter(B){this.filter=B,this.dataSource.forEach(Me=>{Me.hide=B.length>0&&!this.matchFilter(B,Me)}),this.stat.shownCount=this.validData.length,this.filterChange.emit({direction:this.direction,value:B})}handleClear(){this.handleFilter("")}matchFilter(B,Me){return this.filterOption?this.filterOption(B,Me):Me.title.includes(B)}constructor(B,Me){this.ngZone=B,this.cdr=Me,this.direction="left",this.titleText="",this.showSelectAll=!0,this.dataSource=[],this.itemUnit="",this.itemsUnit="",this.filter="",this.disabled=!1,this.renderList=null,this.render=null,this.footer=null,this.handleSelectAll=new e.vpe,this.handleSelect=new e.vpe,this.filterChange=new e.vpe,this.stat={checkAll:!1,checkHalf:!1,checkCount:0,shownCount:0},this.onItemSelect=Ae=>{this.disabled||Ae.disabled||(Ae.checked=!Ae.checked,this.updateCheckStatus(),this.handleSelect.emit(Ae))},this.onItemSelectAll=Ae=>{this.dataSource.forEach(Le=>{!Le.disabled&&!Le.hide&&(Le.checked=Ae)}),this.updateCheckStatus(),this.handleSelectAll.emit(Ae)}}markForCheck(){this.updateCheckStatus(),this.cdr.markForCheck()}ngAfterViewInit(){this.checkboxes.changes.pipe((0,E.O)(this.checkboxes),(0,u.w)(()=>{const B=this.checkboxes.toArray();return new n.y(Me=>this.ngZone.runOutsideAngular(()=>(0,t.T)(...B.map(Ae=>(0,i.R)(Ae.nativeElement,"click"))).subscribe(Me)))})).subscribe(B=>{B.stopPropagation()})}static#e=this.\u0275fac=function(Me){return new(Me||de)(e.Y36(e.R0b),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["nz-transfer-list"]],viewQuery:function(Me,Ae){if(1&Me&&(e.Gf(Y,5,_.Ie),e.Gf(G,5,e.SBq)),2&Me){let Le;e.iGM(Le=e.CRH())&&(Ae.headerCheckbox=Le.first),e.iGM(Le=e.CRH())&&(Ae.checkboxes=Le)}},hostAttrs:[1,"ant-transfer-list"],hostVars:2,hostBindings:function(Me,Ae){2&Me&&e.ekj("ant-transfer-list-with-footer",!!Ae.footer)},inputs:{direction:"direction",titleText:"titleText",showSelectAll:"showSelectAll",dataSource:"dataSource",itemUnit:"itemUnit",itemsUnit:"itemsUnit",filter:"filter",disabled:"disabled",showSearch:"showSearch",searchPlaceholder:"searchPlaceholder",notFoundContent:"notFoundContent",filterOption:"filterOption",renderList:"renderList",render:"render",footer:"footer"},outputs:{handleSelectAll:"handleSelectAll",handleSelect:"handleSelect",filterChange:"filterChange"},exportAs:["nzTransferList"],decls:12,vars:14,consts:[["defaultRenderList",""],[1,"ant-transfer-list-header"],["class","ant-transfer-list-checkbox","nz-checkbox","",3,"nzChecked","nzIndeterminate","nzDisabled","nzCheckedChange",4,"ngIf"],[1,"ant-transfer-list-header-selected"],["class","ant-transfer-list-header-title",4,"ngIf"],[3,"ngClass"],["class","ant-transfer-list-body-search-wrapper",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","ant-transfer-list-footer",4,"ngIf"],["class","ant-transfer-list-content",4,"ngIf"],["class","ant-transfer-list-body-not-found",4,"ngIf"],[1,"ant-transfer-list-content"],["class","ant-transfer-list-content-item",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-transfer-list-content-item",3,"ngClass","click"],["nz-checkbox","",3,"nzChecked","nzDisabled","nzCheckedChange"],["checkboxes",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["renderContainer",""],[1,"ant-transfer-list-body-not-found"],[3,"nzComponentName","specificContent"],["nz-checkbox","",1,"ant-transfer-list-checkbox",3,"nzChecked","nzIndeterminate","nzDisabled","nzCheckedChange"],["headerCheckbox",""],[1,"ant-transfer-list-header-title"],[1,"ant-transfer-list-body-search-wrapper"],["nz-transfer-search","",1,"ant-input-affix-wrapper","ant-transfer-list-search",3,"placeholder","disabled","value","valueChanged","valueClear"],[1,"ant-transfer-list-body-customize-wrapper"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-transfer-list-footer"]],template:function(Me,Ae){if(1&Me&&(e.YNc(0,ae,2,2,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1),e.YNc(3,ce,2,3,"label",2),e.TgZ(4,"span",3)(5,"span"),e._uU(6),e.qZA()(),e.YNc(7,X,2,1,"span",4),e.qZA(),e.TgZ(8,"div",5),e.YNc(9,ne,2,3,"div",6),e.YNc(10,Ne,3,9,"ng-container",7),e.qZA(),e.YNc(11,oe,2,4,"div",8)),2&Me){const Le=e.MAs(1);e.xp6(3),e.Q6J("ngIf",Ae.showSelectAll),e.xp6(3),e.AsE(" ",(Ae.stat.checkCount>0?Ae.stat.checkCount+"/":"")+Ae.stat.shownCount," ",Ae.validData.length>1?Ae.itemsUnit:Ae.itemUnit," "),e.xp6(1),e.Q6J("ngIf",Ae.titleText),e.xp6(1),e.Tol(Ae.showSearch?"ant-transfer-list-body ant-transfer-list-body-with-search":"ant-transfer-list-body"),e.Q6J("ngClass",e.VKq(12,_e,0===Ae.stat.shownCount)),e.xp6(1),e.Q6J("ngIf",Ae.showSearch),e.xp6(1),e.Q6J("ngIf",Ae.renderList)("ngIfElse",Le),e.xp6(1),e.Q6J("ngIf",Ae.footer)}},dependencies:[d.mk,d.sg,d.O5,d.tP,_.Ie,m.gB,$e],encapsulation:2,changeDetection:0})}return de})(),mt=(()=>{class de{splitDataSource(){this.leftDataSource=[],this.rightDataSource=[],this.nzDataSource.forEach(B=>{"right"===B.direction?(B.direction="right",this.rightDataSource.push(B)):(B.direction="left",this.leftDataSource.push(B))})}getCheckedData(B){return this["left"===B?"leftDataSource":"rightDataSource"].filter(Me=>Me.checked)}handleSelect(B,Me,Ae){const Le=this.getCheckedData(B);this.updateOperationStatus(B,Le.length),this.nzSelectChange.emit({direction:B,checked:Me,list:Le,item:Ae})}handleFilterChange(B){this.nzSearchChange.emit(B)}updateOperationStatus(B,Me){this["right"===B?"leftActive":"rightActive"]=(typeof Me>"u"?this.getCheckedData(B).filter(Ae=>!Ae.disabled).length:Me)>0}moveTo(B){this.updateOperationStatus("left"===B?"right":"left",0);const Le=("left"===B?this.rightDataSource:this.leftDataSource).filter(ht=>!0===ht.checked&&!ht.disabled);this.nzCanMove({direction:B,list:Le}).subscribe(ht=>this.truthMoveTo(B,ht.filter(Ot=>!!Ot)),()=>Le.forEach(ht=>ht.checked=!1))}truthMoveTo(B,Me){const Ae="left"===B?"right":"left",Le="left"===B?this.rightDataSource:this.leftDataSource,ht="left"===B?this.leftDataSource:this.rightDataSource;for(const Ot of Me)Ot.checked=!1,Ot.hide=!1,Ot.direction=B,Le.splice(Le.indexOf(Ot),1);ht.splice(0,0,...Me),this.updateOperationStatus(Ae),this.nzChange.emit({from:Ae,to:B,list:Me}),this.markForCheckAllList()}constructor(B,Me,Ae,Le,ht,Ot,Lt){this.cdr=B,this.i18n=Me,this.elementRef=Ae,this.renderer=Le,this.directionality=ht,this.nzFormStatusService=Ot,this.nzFormNoStatusService=Lt,this.unsubscribe$=new l.x,this.leftFilter="",this.rightFilter="",this.dir="ltr",this.prefixCls="ant-transfer",this.statusCls={},this.hasFeedback=!1,this.nzDisabled=!1,this.nzDataSource=[],this.nzTitles=["",""],this.nzOperations=[],this.nzListStyle={},this.nzShowSelectAll=!0,this.nzCanMove=Wt=>(0,h.of)(Wt.list),this.nzRenderList=null,this.nzRender=null,this.nzFooter=null,this.nzShowSearch=!1,this.nzTargetKeys=[],this.nzSelectedKeys=[],this.nzStatus="",this.nzChange=new e.vpe,this.nzSearchChange=new e.vpe,this.nzSelectChange=new e.vpe,this.leftDataSource=[],this.rightDataSource=[],this.handleLeftSelectAll=Wt=>this.handleSelect("left",Wt),this.handleRightSelectAll=Wt=>this.handleSelect("right",Wt),this.handleLeftSelect=Wt=>this.handleSelect("left",!!Wt.checked,Wt),this.handleRightSelect=Wt=>this.handleSelect("right",!!Wt.checked,Wt),this.leftActive=!1,this.rightActive=!1,this.moveToLeft=()=>this.moveTo("left"),this.moveToRight=()=>this.moveTo("right")}markForCheckAllList(){this.lists&&this.lists.forEach(B=>B.markForCheck())}handleNzTargetKeys(){const B=(0,D.qo)(this.nzTargetKeys);this.leftDataSource.forEach(Ae=>{(Ae=>Ae.hasOwnProperty("key"))(Ae)&&-1!==B.indexOf(Ae.key)&&!Ae.disabled&&(Ae.checked=!0)}),this.moveToRight()}handleNzSelectedKeys(){const B=(0,D.qo)(this.nzSelectedKeys);this.nzDataSource.forEach(Ae=>{-1!==B.indexOf(Ae.key)&&(Ae.checked=!0)});const Me=Ae=>!1===Ae.disabled&&!0===Ae.checked;this.rightActive=this.leftDataSource.some(Me),this.leftActive=this.rightDataSource.some(Me)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,z.x)((B,Me)=>B.status===Me.status&&B.hasFeedback===Me.hasFeedback),(0,M.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,h.of)(!1)),(0,p.U)(([{status:B,hasFeedback:Me},Ae])=>({status:Ae?"":B,hasFeedback:Me})),(0,v.R)(this.unsubscribe$)).subscribe(({status:B,hasFeedback:Me})=>{this.setStatusStyles(B,Me)}),this.i18n.localeChange.pipe((0,v.R)(this.unsubscribe$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Transfer"),this.markForCheckAllList()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,v.R)(this.unsubscribe$)).subscribe(B=>{this.dir=B,this.cdr.detectChanges()})}ngOnChanges(B){const{nzStatus:Me,nzDataSource:Ae,nzTargetKeys:Le,nzSelectedKeys:ht}=B;Ae&&(this.splitDataSource(),this.updateOperationStatus("left"),this.updateOperationStatus("right"),this.cdr.detectChanges(),this.markForCheckAllList()),Le&&this.handleNzTargetKeys(),ht&&this.handleNzSelectedKeys(),Me&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}setStatusStyles(B,Me){this.hasFeedback=Me,this.cdr.markForCheck(),this.statusCls=(0,D.Zu)(this.prefixCls,B,Me),Object.keys(this.statusCls).forEach(Ae=>{this.statusCls[Ae]?this.renderer.addClass(this.elementRef.nativeElement,Ae):this.renderer.removeClass(this.elementRef.nativeElement,Ae)})}static#e=this.\u0275fac=function(Me){return new(Me||de)(e.Y36(e.sBO),e.Y36(y.wi),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(P.Is,8),e.Y36(S.kH,8),e.Y36(S.yW,8))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["nz-transfer"]],viewQuery:function(Me,Ae){if(1&Me&&e.Gf(ot,5),2&Me){let Le;e.iGM(Le=e.CRH())&&(Ae.lists=Le)}},hostAttrs:[1,"ant-transfer"],hostVars:6,hostBindings:function(Me,Ae){2&Me&&e.ekj("ant-transfer-rtl","rtl"===Ae.dir)("ant-transfer-disabled",Ae.nzDisabled)("ant-transfer-customize-list",Ae.nzRenderList)},inputs:{nzDisabled:"nzDisabled",nzDataSource:"nzDataSource",nzTitles:"nzTitles",nzOperations:"nzOperations",nzListStyle:"nzListStyle",nzShowSelectAll:"nzShowSelectAll",nzItemUnit:"nzItemUnit",nzItemsUnit:"nzItemsUnit",nzCanMove:"nzCanMove",nzRenderList:"nzRenderList",nzRender:"nzRender",nzFooter:"nzFooter",nzShowSearch:"nzShowSearch",nzFilterOption:"nzFilterOption",nzSearchPlaceholder:"nzSearchPlaceholder",nzNotFoundContent:"nzNotFoundContent",nzTargetKeys:"nzTargetKeys",nzSelectedKeys:"nzSelectedKeys",nzStatus:"nzStatus"},outputs:{nzChange:"nzChange",nzSearchChange:"nzSearchChange",nzSelectChange:"nzSelectChange"},exportAs:["nzTransfer"],features:[e.TTD],decls:4,vars:32,consts:[["data-direction","left","direction","left",1,"ant-transfer-list",3,"ngStyle","titleText","showSelectAll","dataSource","filter","filterOption","renderList","render","disabled","showSearch","searchPlaceholder","notFoundContent","itemUnit","itemsUnit","footer","filterChange","handleSelect","handleSelectAll"],["class","ant-transfer-operation",4,"ngIf"],["data-direction","right","direction","right",1,"ant-transfer-list",3,"ngStyle","titleText","showSelectAll","dataSource","filter","filterOption","renderList","render","disabled","showSearch","searchPlaceholder","notFoundContent","itemUnit","itemsUnit","footer","filterChange","handleSelect","handleSelectAll"],[1,"ant-transfer-operation"],["nz-button","","type","button",3,"disabled","nzType","nzSize","click"],["nz-icon","","nzType","left"],[4,"ngIf"],["nz-icon","","nzType","right"]],template:function(Me,Ae){1&Me&&(e.TgZ(0,"nz-transfer-list",0),e.NdJ("filterChange",function(ht){return Ae.handleFilterChange(ht)})("handleSelect",function(ht){return Ae.handleLeftSelect(ht)})("handleSelectAll",function(ht){return Ae.handleLeftSelectAll(ht)}),e.qZA(),e.YNc(1,Re,7,8,"div",1),e.YNc(2,xt,7,8,"div",1),e.TgZ(3,"nz-transfer-list",2),e.NdJ("filterChange",function(ht){return Ae.handleFilterChange(ht)})("handleSelect",function(ht){return Ae.handleRightSelect(ht)})("handleSelectAll",function(ht){return Ae.handleRightSelectAll(ht)}),e.qZA()),2&Me&&(e.Q6J("ngStyle",Ae.nzListStyle)("titleText",Ae.nzTitles[0])("showSelectAll",Ae.nzShowSelectAll)("dataSource",Ae.leftDataSource)("filter",Ae.leftFilter)("filterOption",Ae.nzFilterOption)("renderList",Ae.nzRenderList&&Ae.nzRenderList[0])("render",Ae.nzRender)("disabled",Ae.nzDisabled)("showSearch",Ae.nzShowSearch)("searchPlaceholder",Ae.nzSearchPlaceholder||(null==Ae.locale?null:Ae.locale.searchPlaceholder))("notFoundContent",Ae.nzNotFoundContent)("itemUnit",Ae.nzItemUnit||(null==Ae.locale?null:Ae.locale.itemUnit))("itemsUnit",Ae.nzItemsUnit||(null==Ae.locale?null:Ae.locale.itemsUnit))("footer",Ae.nzFooter),e.xp6(1),e.Q6J("ngIf","rtl"!==Ae.dir),e.xp6(1),e.Q6J("ngIf","rtl"===Ae.dir),e.xp6(1),e.Q6J("ngStyle",Ae.nzListStyle)("titleText",Ae.nzTitles[1])("showSelectAll",Ae.nzShowSelectAll)("dataSource",Ae.rightDataSource)("filter",Ae.rightFilter)("filterOption",Ae.nzFilterOption)("renderList",Ae.nzRenderList&&Ae.nzRenderList[1])("render",Ae.nzRender)("disabled",Ae.nzDisabled)("showSearch",Ae.nzShowSearch)("searchPlaceholder",Ae.nzSearchPlaceholder||(null==Ae.locale?null:Ae.locale.searchPlaceholder))("notFoundContent",Ae.nzNotFoundContent)("itemUnit",Ae.nzItemUnit||(null==Ae.locale?null:Ae.locale.itemUnit))("itemsUnit",Ae.nzItemsUnit||(null==Ae.locale?null:Ae.locale.itemsUnit))("footer",Ae.nzFooter))},dependencies:[d.O5,d.PC,A.ix,C.w,k.dQ,T.Ls,ot],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,D.yF)()],de.prototype,"nzDisabled",void 0),(0,b.gn)([(0,D.yF)()],de.prototype,"nzShowSelectAll",void 0),(0,b.gn)([(0,D.yF)()],de.prototype,"nzShowSearch",void 0),de})(),we=(()=>{class de{static#e=this.\u0275fac=function(Me){return new(Me||de)};static#t=this.\u0275mod=e.oAB({type:de});static#n=this.\u0275inj=e.cJS({imports:[P.vT,d.ez,f.u5,_.Wr,A.sL,R.o7,y.YI,T.PV,m.Xo]})}return de})()},80729:(tt,I,o)=>{"use strict";o.d(I,{zr:()=>Ke,cq:()=>Ze});var e=o(97582),n=o(36028),t=o(33651),i=o(65879),l=o(60095),h=o(78645),E=o(22096),u=o(63019),z=o(93997),M=o(42460),p=o(37398),v=o(59773),_=o(99397),d=o(32181),m=o(64194),f=o(83064),C=o(85448),T=o(56879),b=o(94197),D=o(27754),y=o(9691),P=o(49388),S=o(4300),A=o(331),k=o(50883),R=o(96814),W=o(205),j=o(84267),ze=o(8324),Y=o(90551),G=o(92438);function V(ve,nt){if(1&ve&&i._UZ(0,"span"),2&ve){const x=nt.index,N=i.oxw();i.ekj("ant-tree-indent-unit",!N.nzSelectMode)("ant-select-tree-indent-unit",N.nzSelectMode)("ant-select-tree-indent-unit-start",N.nzSelectMode&&N.nzIsStart[x])("ant-tree-indent-unit-start",!N.nzSelectMode&&N.nzIsStart[x])("ant-select-tree-indent-unit-end",N.nzSelectMode&&N.nzIsEnd[x])("ant-tree-indent-unit-end",!N.nzSelectMode&&N.nzIsEnd[x])}}const K=["builtin",""];function ee(ve,nt){if(1&ve&&(i.ynx(0),i._UZ(1,"span",4),i.BQk()),2&ve){const x=i.oxw(3);i.xp6(1),i.ekj("ant-select-tree-switcher-icon",x.nzSelectMode)("ant-tree-switcher-icon",!x.nzSelectMode)}}const te=function(ve,nt){return{$implicit:ve,origin:nt}};function pe(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,ee,2,4,"ng-container",3),i.BQk()),2&ve){const x=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzExpandedIcon)("nzStringTemplateOutletContext",i.WLB(2,te,x.context,x.context.origin))}}function re(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,pe,2,5,"ng-container",2),i.BQk()),2&ve){const x=i.oxw(),N=i.MAs(3);i.xp6(1),i.Q6J("ngIf",!x.isLoading)("ngIfElse",N)}}function De(ve,nt){if(1&ve&&i._UZ(0,"span",7),2&ve){const x=i.oxw(4);i.Q6J("nzType",x.isSwitcherOpen?"minus-square":"plus-square")}}function ae(ve,nt){1&ve&&i._UZ(0,"span",8)}function ce(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,De,1,1,"span",5),i.YNc(2,ae,1,0,"span",6),i.BQk()),2&ve){const x=i.oxw(3);i.xp6(1),i.Q6J("ngIf",x.isShowLineIcon),i.xp6(1),i.Q6J("ngIf",!x.isShowLineIcon)}}function X(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,ce,3,2,"ng-container",3),i.BQk()),2&ve){const x=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzExpandedIcon)("nzStringTemplateOutletContext",i.WLB(2,te,x.context,x.context.origin))}}function ne(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,X,2,5,"ng-container",2),i.BQk()),2&ve){const x=i.oxw(),N=i.MAs(3);i.xp6(1),i.Q6J("ngIf",!x.isLoading)("ngIfElse",N)}}function le(ve,nt){1&ve&&i._UZ(0,"span",9),2&ve&&i.Q6J("nzSpin",!0)}function Se(ve,nt){}function Ne(ve,nt){if(1&ve&&i._UZ(0,"span",6),2&ve){const x=i.oxw(3);i.Q6J("nzType",x.icon)}}function ke(ve,nt){if(1&ve&&(i.TgZ(0,"span")(1,"span"),i.YNc(2,Ne,1,1,"span",5),i.qZA()()),2&ve){const x=i.oxw(2);i.ekj("ant-tree-icon__open",x.isSwitcherOpen)("ant-tree-icon__close",x.isSwitcherClose)("ant-tree-icon_loading",x.isLoading)("ant-select-tree-iconEle",x.selectMode)("ant-tree-iconEle",!x.selectMode),i.xp6(1),i.ekj("ant-select-tree-iconEle",x.selectMode)("ant-select-tree-icon__customize",x.selectMode)("ant-tree-iconEle",!x.selectMode)("ant-tree-icon__customize",!x.selectMode),i.xp6(1),i.Q6J("ngIf",x.icon)}}function oe(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,ke,3,19,"span",3),i._UZ(2,"span",4),i.ALo(3,"nzHighlight"),i.BQk()),2&ve){const x=i.oxw();i.xp6(1),i.Q6J("ngIf",x.icon&&x.showIcon),i.xp6(1),i.Q6J("innerHTML",i.gM2(3,2,x.title,x.matchedValue,"i","font-highlight"),i.oJD)}}function _e(ve,nt){if(1&ve&&i._UZ(0,"nz-tree-drop-indicator",7),2&ve){const x=i.oxw();i.Q6J("dropPosition",x.dragPosition)("level",x.context.level)}}function Q(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-tree-node-switcher",4),i.NdJ("click",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.clickExpand(O))}),i.qZA()}if(2&ve){const x=i.oxw();i.Q6J("nzShowExpand",x.nzShowExpand)("nzShowLine",x.nzShowLine)("nzExpandedIcon",x.nzExpandedIcon)("nzSelectMode",x.nzSelectMode)("context",x.nzTreeNode)("isLeaf",x.isLeaf)("isExpanded",x.isExpanded)("isLoading",x.isLoading)}}function He(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-tree-node-checkbox",5),i.NdJ("click",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.clickCheckBox(O))}),i.qZA()}if(2&ve){const x=i.oxw();i.Q6J("nzSelectMode",x.nzSelectMode)("isChecked",x.isChecked)("isHalfChecked",x.isHalfChecked)("isDisabled",x.isDisabled)("isDisableCheckbox",x.isDisableCheckbox)}}const Re=["nzTreeTemplate"];function lt(ve,nt){}const Pe=function(ve){return{$implicit:ve}};function xt(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,lt,0,0,"ng-template",10),i.BQk()),2&ve){const x=nt.$implicit;i.oxw(2);const N=i.MAs(9);i.xp6(1),i.Q6J("ngTemplateOutlet",N)("ngTemplateOutletContext",i.VKq(2,Pe,x))}}function $e(ve,nt){if(1&ve&&(i.TgZ(0,"cdk-virtual-scroll-viewport",8),i.YNc(1,xt,2,4,"ng-container",9),i.qZA()),2&ve){const x=i.oxw();i.Udp("height",x.nzVirtualHeight),i.ekj("ant-select-tree-list-holder-inner",x.nzSelectMode)("ant-tree-list-holder-inner",!x.nzSelectMode),i.Q6J("itemSize",x.nzVirtualItemSize)("minBufferPx",x.nzVirtualMinBufferPx)("maxBufferPx",x.nzVirtualMaxBufferPx),i.xp6(1),i.Q6J("cdkVirtualForOf",x.nzFlattenNodes)("cdkVirtualForTrackBy",x.trackByFlattenNode)}}function ot(ve,nt){}function mt(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,ot,0,0,"ng-template",10),i.BQk()),2&ve){const x=nt.$implicit;i.oxw(2);const N=i.MAs(9);i.xp6(1),i.Q6J("ngTemplateOutlet",N)("ngTemplateOutletContext",i.VKq(2,Pe,x))}}function we(ve,nt){if(1&ve&&(i.TgZ(0,"div",11),i.YNc(1,mt,2,4,"ng-container",12),i.qZA()),2&ve){const x=i.oxw();i.ekj("ant-select-tree-list-holder-inner",x.nzSelectMode)("ant-tree-list-holder-inner",!x.nzSelectMode),i.Q6J("@.disabled",x.beforeInit||!(null==x.noAnimation||!x.noAnimation.nzNoAnimation))("nzNoAnimation",null==x.noAnimation?null:x.noAnimation.nzNoAnimation)("@treeCollapseMotion",x.nzFlattenNodes.length),i.xp6(1),i.Q6J("ngForOf",x.nzFlattenNodes)("ngForTrackBy",x.trackByFlattenNode)}}function de(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-tree-node",13),i.NdJ("nzExpandChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzClick",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzDblClick",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzContextMenu",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzCheckBoxChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragStart",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragEnter",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragOver",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragLeave",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragEnd",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDrop",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))}),i.qZA()}if(2&ve){const x=nt.$implicit,N=i.oxw();i.Q6J("icon",x.icon)("title",x.title)("isLoading",x.isLoading)("isSelected",x.isSelected)("isDisabled",x.isDisabled)("isMatched",x.isMatched)("isExpanded",x.isExpanded)("isLeaf",x.isLeaf)("isStart",x.isStart)("isEnd",x.isEnd)("isChecked",x.isChecked)("isHalfChecked",x.isHalfChecked)("isDisableCheckbox",x.isDisableCheckbox)("isSelectable",x.isSelectable)("canHide",x.canHide)("nzTreeNode",x)("nzSelectMode",N.nzSelectMode)("nzShowLine",N.nzShowLine)("nzExpandedIcon",N.nzExpandedIcon)("nzDraggable",N.nzDraggable)("nzCheckable",N.nzCheckable)("nzShowExpand",N.nzShowExpand)("nzAsyncData",N.nzAsyncData)("nzSearchValue",N.nzSearchValue)("nzHideUnMatched",N.nzHideUnMatched)("nzBeforeDrop",N.nzBeforeDrop)("nzShowIcon",N.nzShowIcon)("nzTreeTemplate",N.nzTreeTemplate||N.nzTreeTemplateChild)}}let U=(()=>{class ve{constructor(x){this.cdr=x,this.level=1,this.direction="ltr",this.style={}}ngOnChanges(x){this.renderIndicator(this.dropPosition,this.direction)}renderIndicator(x,N="ltr"){const $="ltr"===N?"left":"right",he={[$]:"4px",["ltr"===N?"right":"left"]:"0px"};switch(x){case-1:he.top="-3px";break;case 1:he.bottom="-3px";break;case 0:he.bottom="-3px",he[$]="28px";break;default:he.display="none"}this.style=he,this.cdr.markForCheck()}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(i.sBO))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-drop-indicator"]],hostVars:4,hostBindings:function(N,O){2&N&&(i.Akn(O.style),i.ekj("ant-tree-drop-indicator",!0))},inputs:{dropPosition:"dropPosition",level:"level",direction:"direction"},exportAs:["NzTreeDropIndicator"],features:[i.TTD],decls:0,vars:0,template:function(N,O){},encapsulation:2,changeDetection:0})}return ve})(),B=(()=>{class ve{constructor(){this.nzTreeLevel=0,this.nzIsStart=[],this.nzIsEnd=[],this.nzSelectMode=!1,this.listOfUnit=[]}ngOnChanges(x){const{nzTreeLevel:N}=x;N&&(this.listOfUnit=[...new Array(N.currentValue||0)])}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-indent"]],hostVars:5,hostBindings:function(N,O){2&N&&(i.uIk("aria-hidden",!0),i.ekj("ant-tree-indent",!O.nzSelectMode)("ant-select-tree-indent",O.nzSelectMode))},inputs:{nzTreeLevel:"nzTreeLevel",nzIsStart:"nzIsStart",nzIsEnd:"nzIsEnd",nzSelectMode:"nzSelectMode"},exportAs:["nzTreeIndent"],features:[i.TTD],decls:1,vars:1,consts:[[3,"ant-tree-indent-unit","ant-select-tree-indent-unit","ant-select-tree-indent-unit-start","ant-tree-indent-unit-start","ant-select-tree-indent-unit-end","ant-tree-indent-unit-end",4,"ngFor","ngForOf"]],template:function(N,O){1&N&&i.YNc(0,V,1,12,"span",0),2&N&&i.Q6J("ngForOf",O.listOfUnit)},dependencies:[R.sg],encapsulation:2,changeDetection:0})}return ve})(),Me=(()=>{class ve{constructor(){this.nzSelectMode=!1}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-node-checkbox","builtin",""]],hostVars:16,hostBindings:function(N,O){2&N&&i.ekj("ant-select-tree-checkbox",O.nzSelectMode)("ant-select-tree-checkbox-checked",O.nzSelectMode&&O.isChecked)("ant-select-tree-checkbox-indeterminate",O.nzSelectMode&&O.isHalfChecked)("ant-select-tree-checkbox-disabled",O.nzSelectMode&&(O.isDisabled||O.isDisableCheckbox))("ant-tree-checkbox",!O.nzSelectMode)("ant-tree-checkbox-checked",!O.nzSelectMode&&O.isChecked)("ant-tree-checkbox-indeterminate",!O.nzSelectMode&&O.isHalfChecked)("ant-tree-checkbox-disabled",!O.nzSelectMode&&(O.isDisabled||O.isDisableCheckbox))},inputs:{nzSelectMode:"nzSelectMode",isChecked:"isChecked",isHalfChecked:"isHalfChecked",isDisabled:"isDisabled",isDisableCheckbox:"isDisableCheckbox"},attrs:K,decls:1,vars:4,template:function(N,O){1&N&&i._UZ(0,"span"),2&N&&i.ekj("ant-tree-checkbox-inner",!O.nzSelectMode)("ant-select-tree-checkbox-inner",O.nzSelectMode)},encapsulation:2,changeDetection:0})}return ve})(),Ae=(()=>{class ve{constructor(){this.nzSelectMode=!1}get isShowLineIcon(){return!this.isLeaf&&!!this.nzShowLine}get isShowSwitchIcon(){return!this.isLeaf&&!this.nzShowLine}get isSwitcherOpen(){return!!this.isExpanded&&!this.isLeaf}get isSwitcherClose(){return!this.isExpanded&&!this.isLeaf}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-node-switcher"]],hostVars:16,hostBindings:function(N,O){2&N&&i.ekj("ant-select-tree-switcher",O.nzSelectMode)("ant-select-tree-switcher-noop",O.nzSelectMode&&O.isLeaf)("ant-select-tree-switcher_open",O.nzSelectMode&&O.isSwitcherOpen)("ant-select-tree-switcher_close",O.nzSelectMode&&O.isSwitcherClose)("ant-tree-switcher",!O.nzSelectMode)("ant-tree-switcher-noop",!O.nzSelectMode&&O.isLeaf)("ant-tree-switcher_open",!O.nzSelectMode&&O.isSwitcherOpen)("ant-tree-switcher_close",!O.nzSelectMode&&O.isSwitcherClose)},inputs:{nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzExpandedIcon:"nzExpandedIcon",nzSelectMode:"nzSelectMode",context:"context",isLeaf:"isLeaf",isLoading:"isLoading",isExpanded:"isExpanded"},decls:4,vars:2,consts:[[4,"ngIf"],["loadingTemplate",""],[4,"ngIf","ngIfElse"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-icon","","nzType","caret-down"],["nz-icon","","class","ant-tree-switcher-line-icon",3,"nzType",4,"ngIf"],["nz-icon","","nzType","file","class","ant-tree-switcher-line-icon",4,"ngIf"],["nz-icon","",1,"ant-tree-switcher-line-icon",3,"nzType"],["nz-icon","","nzType","file",1,"ant-tree-switcher-line-icon"],["nz-icon","","nzType","loading",1,"ant-tree-switcher-loading-icon",3,"nzSpin"]],template:function(N,O){1&N&&(i.YNc(0,re,2,2,"ng-container",0),i.YNc(1,ne,2,2,"ng-container",0),i.YNc(2,le,1,1,"ng-template",null,1,i.W1O)),2&N&&(i.Q6J("ngIf",O.isShowSwitchIcon),i.xp6(1),i.Q6J("ngIf",O.nzShowLine))},dependencies:[R.O5,ze.f,Y.Ls],encapsulation:2,changeDetection:0})}return ve})(),Le=(()=>{class ve{get canDraggable(){return!(!this.draggable||this.isDisabled)||null}get matchedValue(){return this.isMatched?this.searchValue:""}get isSwitcherOpen(){return this.isExpanded&&!this.isLeaf}get isSwitcherClose(){return!this.isExpanded&&!this.isLeaf}constructor(x){this.cdr=x,this.treeTemplate=null,this.selectMode=!1,this.showIndicator=!0}ngOnChanges(x){const{showIndicator:N,dragPosition:O}=x;(N||O)&&this.cdr.markForCheck()}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(i.sBO))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-node-title"]],hostVars:21,hostBindings:function(N,O){2&N&&(i.uIk("title",O.title)("draggable",O.canDraggable)("aria-grabbed",O.canDraggable),i.ekj("draggable",O.canDraggable)("ant-select-tree-node-content-wrapper",O.selectMode)("ant-select-tree-node-content-wrapper-open",O.selectMode&&O.isSwitcherOpen)("ant-select-tree-node-content-wrapper-close",O.selectMode&&O.isSwitcherClose)("ant-select-tree-node-selected",O.selectMode&&O.isSelected)("ant-tree-node-content-wrapper",!O.selectMode)("ant-tree-node-content-wrapper-open",!O.selectMode&&O.isSwitcherOpen)("ant-tree-node-content-wrapper-close",!O.selectMode&&O.isSwitcherClose)("ant-tree-node-selected",!O.selectMode&&O.isSelected))},inputs:{searchValue:"searchValue",treeTemplate:"treeTemplate",draggable:"draggable",showIcon:"showIcon",selectMode:"selectMode",context:"context",icon:"icon",title:"title",isLoading:"isLoading",isSelected:"isSelected",isDisabled:"isDisabled",isMatched:"isMatched",isExpanded:"isExpanded",isLeaf:"isLeaf",showIndicator:"showIndicator",dragPosition:"dragPosition"},features:[i.TTD],decls:3,vars:7,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[3,"dropPosition","level",4,"ngIf"],[3,"ant-tree-icon__open","ant-tree-icon__close","ant-tree-icon_loading","ant-select-tree-iconEle","ant-tree-iconEle",4,"ngIf"],[1,"ant-tree-title",3,"innerHTML"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"dropPosition","level"]],template:function(N,O){1&N&&(i.YNc(0,Se,0,0,"ng-template",0),i.YNc(1,oe,4,7,"ng-container",1),i.YNc(2,_e,1,2,"nz-tree-drop-indicator",2)),2&N&&(i.Q6J("ngTemplateOutlet",O.treeTemplate)("ngTemplateOutletContext",i.WLB(4,te,O.context,O.context.origin)),i.xp6(1),i.Q6J("ngIf",!O.treeTemplate),i.xp6(1),i.Q6J("ngIf",O.showIndicator))},dependencies:[R.O5,R.tP,Y.Ls,U,j.U],encapsulation:2,changeDetection:0})}return ve})(),ht=(()=>{class ve{get displayStyle(){return this.nzSearchValue&&this.nzHideUnMatched&&!this.isMatched&&!this.isExpanded&&this.canHide?"none":""}get isSwitcherOpen(){return this.isExpanded&&!this.isLeaf}get isSwitcherClose(){return!this.isExpanded&&!this.isLeaf}clickExpand(x){x.preventDefault(),!this.isLoading&&!this.isLeaf&&(this.nzAsyncData&&0===this.nzTreeNode.children.length&&!this.isExpanded&&(this.nzTreeNode.isLoading=!0),this.nzTreeNode.setExpanded(!this.isExpanded)),this.nzTreeService.setExpandedNodeList(this.nzTreeNode);const N=this.nzTreeService.formatEvent("expand",this.nzTreeNode,x);this.nzExpandChange.emit(N)}clickSelect(x){x.preventDefault(),this.isSelectable&&!this.isDisabled&&(this.nzTreeNode.isSelected=!this.nzTreeNode.isSelected),this.nzTreeService.setSelectedNodeList(this.nzTreeNode);const N=this.nzTreeService.formatEvent("click",this.nzTreeNode,x);this.nzClick.emit(N)}dblClick(x){x.preventDefault();const N=this.nzTreeService.formatEvent("dblclick",this.nzTreeNode,x);this.nzDblClick.emit(N)}contextMenu(x){x.preventDefault();const N=this.nzTreeService.formatEvent("contextmenu",this.nzTreeNode,x);this.nzContextMenu.emit(N)}clickCheckBox(x){if(x.preventDefault(),this.isDisabled||this.isDisableCheckbox)return;this.nzTreeNode.isChecked=!this.nzTreeNode.isChecked,this.nzTreeNode.isHalfChecked=!1,this.nzTreeService.setCheckedNodeList(this.nzTreeNode);const N=this.nzTreeService.formatEvent("check",this.nzTreeNode,x);this.nzCheckBoxChange.emit(N)}clearDragClass(){["drag-over-gap-top","drag-over-gap-bottom","drag-over","drop-target"].forEach(N=>{this.renderer.removeClass(this.elementRef.nativeElement,N)})}handleDragStart(x){try{x.dataTransfer.setData("text/plain",this.nzTreeNode.key)}catch{}this.nzTreeService.setSelectedNode(this.nzTreeNode),this.draggingKey=this.nzTreeNode.key;const N=this.nzTreeService.formatEvent("dragstart",this.nzTreeNode,x);this.nzOnDragStart.emit(N)}handleDragEnter(x){x.preventDefault(),this.showIndicator=this.nzTreeNode.key!==this.nzTreeService.getSelectedNode()?.key,this.renderIndicator(2),this.ngZone.run(()=>{const N=this.nzTreeService.formatEvent("dragenter",this.nzTreeNode,x);this.nzOnDragEnter.emit(N)})}handleDragOver(x){x.preventDefault();const N=this.nzTreeService.calcDropPosition(x);this.dragPos!==N&&(this.clearDragClass(),this.renderIndicator(N),0===this.dragPos&&this.isLeaf||(this.renderer.addClass(this.elementRef.nativeElement,this.dragPosClass[this.dragPos]),this.renderer.addClass(this.elementRef.nativeElement,"drop-target")));const O=this.nzTreeService.formatEvent("dragover",this.nzTreeNode,x);this.nzOnDragOver.emit(O)}handleDragLeave(x){x.preventDefault(),this.renderIndicator(2),this.clearDragClass();const N=this.nzTreeService.formatEvent("dragleave",this.nzTreeNode,x);this.nzOnDragLeave.emit(N)}handleDragDrop(x){x.preventDefault(),x.stopPropagation(),this.ngZone.run(()=>{this.showIndicator=!1,this.clearDragClass();const N=this.nzTreeService.getSelectedNode();if(!N||N&&N.key===this.nzTreeNode.key||0===this.dragPos&&this.isLeaf)return;const O=this.nzTreeService.formatEvent("drop",this.nzTreeNode,x),$=this.nzTreeService.formatEvent("dragend",this.nzTreeNode,x);this.nzBeforeDrop?this.nzBeforeDrop({dragNode:this.nzTreeService.getSelectedNode(),node:this.nzTreeNode,pos:this.dragPos}).subscribe(L=>{L&&this.nzTreeService.dropAndApply(this.nzTreeNode,this.dragPos),this.nzOnDrop.emit(O),this.nzOnDragEnd.emit($)}):this.nzTreeNode&&(this.nzTreeService.dropAndApply(this.nzTreeNode,this.dragPos),this.nzOnDrop.emit(O))})}handleDragEnd(x){x.preventDefault(),this.ngZone.run(()=>{if(this.nzBeforeDrop)this.draggingKey=null,this.markForCheck();else{this.draggingKey=null;const N=this.nzTreeService.formatEvent("dragend",this.nzTreeNode,x);this.nzOnDragEnd.emit(N)}})}handDragEvent(){this.ngZone.runOutsideAngular(()=>{if(this.nzDraggable){const x=this.elementRef.nativeElement;this.destroy$=new h.x,(0,G.R)(x,"dragstart").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragStart(N)),(0,G.R)(x,"dragenter").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragEnter(N)),(0,G.R)(x,"dragover").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragOver(N)),(0,G.R)(x,"dragleave").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragLeave(N)),(0,G.R)(x,"drop").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragDrop(N)),(0,G.R)(x,"dragend").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragEnd(N))}else this.destroy$.next(!0),this.destroy$.complete()})}markForCheck(){this.cdr.markForCheck()}constructor(x,N,O,$,L,he){this.nzTreeService=x,this.ngZone=N,this.renderer=O,this.elementRef=$,this.cdr=L,this.noAnimation=he,this.icon="",this.title="",this.isLoading=!1,this.isSelected=!1,this.isDisabled=!1,this.isMatched=!1,this.isStart=[],this.isEnd=[],this.nzHideUnMatched=!1,this.nzNoAnimation=!1,this.nzSelectMode=!1,this.nzShowIcon=!1,this.nzTreeTemplate=null,this.nzSearchValue="",this.nzDraggable=!1,this.nzClick=new i.vpe,this.nzDblClick=new i.vpe,this.nzContextMenu=new i.vpe,this.nzCheckBoxChange=new i.vpe,this.nzExpandChange=new i.vpe,this.nzOnDragStart=new i.vpe,this.nzOnDragEnter=new i.vpe,this.nzOnDragOver=new i.vpe,this.nzOnDragLeave=new i.vpe,this.nzOnDrop=new i.vpe,this.nzOnDragEnd=new i.vpe,this.destroy$=new h.x,this.dragPos=2,this.dragPosClass={0:"drag-over",1:"drag-over-gap-bottom","-1":"drag-over-gap-top"},this.draggingKey=null,this.showIndicator=!1}ngOnInit(){this.nzTreeNode.component=this,this.ngZone.runOutsideAngular(()=>{(0,G.R)(this.elementRef.nativeElement,"mousedown").pipe((0,v.R)(this.destroy$)).subscribe(x=>{this.nzSelectMode&&x.preventDefault()})})}ngOnChanges(x){const{nzDraggable:N}=x;N&&this.handDragEvent()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}renderIndicator(x){this.ngZone.run(()=>{this.showIndicator=2!==x,!(this.nzTreeNode.key===this.nzTreeService.getSelectedNode()?.key||0===x&&this.isLeaf)&&(this.dragPos=x,this.cdr.markForCheck())})}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(b.kW),i.Y36(i.R0b),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(A.P,9))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-node","builtin",""]],hostVars:36,hostBindings:function(N,O){2&N&&(i.Udp("display",O.displayStyle),i.ekj("ant-select-tree-treenode",O.nzSelectMode)("ant-select-tree-treenode-disabled",O.nzSelectMode&&O.isDisabled)("ant-select-tree-treenode-switcher-open",O.nzSelectMode&&O.isSwitcherOpen)("ant-select-tree-treenode-switcher-close",O.nzSelectMode&&O.isSwitcherClose)("ant-select-tree-treenode-checkbox-checked",O.nzSelectMode&&O.isChecked)("ant-select-tree-treenode-checkbox-indeterminate",O.nzSelectMode&&O.isHalfChecked)("ant-select-tree-treenode-selected",O.nzSelectMode&&O.isSelected)("ant-select-tree-treenode-loading",O.nzSelectMode&&O.isLoading)("ant-tree-treenode",!O.nzSelectMode)("ant-tree-treenode-disabled",!O.nzSelectMode&&O.isDisabled)("ant-tree-treenode-switcher-open",!O.nzSelectMode&&O.isSwitcherOpen)("ant-tree-treenode-switcher-close",!O.nzSelectMode&&O.isSwitcherClose)("ant-tree-treenode-checkbox-checked",!O.nzSelectMode&&O.isChecked)("ant-tree-treenode-checkbox-indeterminate",!O.nzSelectMode&&O.isHalfChecked)("ant-tree-treenode-selected",!O.nzSelectMode&&O.isSelected)("ant-tree-treenode-loading",!O.nzSelectMode&&O.isLoading)("dragging",O.draggingKey===O.nzTreeNode.key))},inputs:{icon:"icon",title:"title",isLoading:"isLoading",isSelected:"isSelected",isDisabled:"isDisabled",isMatched:"isMatched",isExpanded:"isExpanded",isLeaf:"isLeaf",isChecked:"isChecked",isHalfChecked:"isHalfChecked",isDisableCheckbox:"isDisableCheckbox",isSelectable:"isSelectable",canHide:"canHide",isStart:"isStart",isEnd:"isEnd",nzTreeNode:"nzTreeNode",nzShowLine:"nzShowLine",nzShowExpand:"nzShowExpand",nzCheckable:"nzCheckable",nzAsyncData:"nzAsyncData",nzHideUnMatched:"nzHideUnMatched",nzNoAnimation:"nzNoAnimation",nzSelectMode:"nzSelectMode",nzShowIcon:"nzShowIcon",nzExpandedIcon:"nzExpandedIcon",nzTreeTemplate:"nzTreeTemplate",nzBeforeDrop:"nzBeforeDrop",nzSearchValue:"nzSearchValue",nzDraggable:"nzDraggable"},outputs:{nzClick:"nzClick",nzDblClick:"nzDblClick",nzContextMenu:"nzContextMenu",nzCheckBoxChange:"nzCheckBoxChange",nzExpandChange:"nzExpandChange",nzOnDragStart:"nzOnDragStart",nzOnDragEnter:"nzOnDragEnter",nzOnDragOver:"nzOnDragOver",nzOnDragLeave:"nzOnDragLeave",nzOnDrop:"nzOnDrop",nzOnDragEnd:"nzOnDragEnd"},exportAs:["nzTreeBuiltinNode"],features:[i.TTD],attrs:K,decls:4,vars:22,consts:[[3,"nzTreeLevel","nzSelectMode","nzIsStart","nzIsEnd"],[3,"nzShowExpand","nzShowLine","nzExpandedIcon","nzSelectMode","context","isLeaf","isExpanded","isLoading","click",4,"ngIf"],["builtin","",3,"nzSelectMode","isChecked","isHalfChecked","isDisabled","isDisableCheckbox","click",4,"ngIf"],[3,"icon","title","isLoading","isSelected","isDisabled","isMatched","isExpanded","isLeaf","searchValue","treeTemplate","draggable","showIcon","selectMode","context","showIndicator","dragPosition","dblclick","click","contextmenu"],[3,"nzShowExpand","nzShowLine","nzExpandedIcon","nzSelectMode","context","isLeaf","isExpanded","isLoading","click"],["builtin","",3,"nzSelectMode","isChecked","isHalfChecked","isDisabled","isDisableCheckbox","click"]],template:function(N,O){1&N&&(i._UZ(0,"nz-tree-indent",0),i.YNc(1,Q,1,8,"nz-tree-node-switcher",1),i.YNc(2,He,1,5,"nz-tree-node-checkbox",2),i.TgZ(3,"nz-tree-node-title",3),i.NdJ("dblclick",function(L){return O.dblClick(L)})("click",function(L){return O.clickSelect(L)})("contextmenu",function(L){return O.contextMenu(L)}),i.qZA()),2&N&&(i.Q6J("nzTreeLevel",O.nzTreeNode.level)("nzSelectMode",O.nzSelectMode)("nzIsStart",O.isStart)("nzIsEnd",O.isEnd),i.xp6(1),i.Q6J("ngIf",O.nzShowExpand),i.xp6(1),i.Q6J("ngIf",O.nzCheckable),i.xp6(1),i.Q6J("icon",O.icon)("title",O.title)("isLoading",O.isLoading)("isSelected",O.isSelected)("isDisabled",O.isDisabled)("isMatched",O.isMatched)("isExpanded",O.isExpanded)("isLeaf",O.isLeaf)("searchValue",O.nzSearchValue)("treeTemplate",O.nzTreeTemplate)("draggable",O.nzDraggable)("showIcon",O.nzShowIcon)("selectMode",O.nzSelectMode)("context",O.nzTreeNode)("showIndicator",O.showIndicator)("dragPosition",O.dragPos))},dependencies:[R.O5,B,Ae,Me,Le],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowLine",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowExpand",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckable",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzAsyncData",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzHideUnMatched",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzNoAnimation",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzSelectMode",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowIcon",void 0),ve})(),Ot=(()=>{class ve extends b.kW{constructor(){super()}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac})}return ve})();function Lt(ve,nt){return ve||nt}let qt=(()=>{class ve extends b.fP{writeValue(x){this.handleNzData(x)}registerOnChange(x){this.onChange=x}registerOnTouched(x){this.onTouched=x}renderTreeProperties(x){let N=!1,O=!1;const{nzData:$,nzExpandedKeys:L,nzSelectedKeys:he,nzCheckedKeys:Ce,nzCheckStrictly:Dt,nzExpandAll:Yt,nzMultiple:rn,nzSearchValue:hn}=x;Yt&&(N=!0,O=this.nzExpandAll),rn&&(this.nzTreeService.isMultiple=this.nzMultiple),Dt&&(this.nzTreeService.isCheckStrictly=this.nzCheckStrictly),$&&this.handleNzData(this.nzData),Ce&&this.handleCheckedKeys(this.nzCheckedKeys),Dt&&this.handleCheckedKeys(null),(L||Yt)&&(N=!0,this.handleExpandedKeys(O||this.nzExpandedKeys)),he&&this.handleSelectedKeys(this.nzSelectedKeys,this.nzMultiple),hn&&(hn.firstChange&&!this.nzSearchValue||(N=!1,this.handleSearchValue(hn.currentValue,this.nzSearchFunc),this.nzSearchValueChange.emit(this.nzTreeService.formatEvent("search",null,null))));const yn=this.getExpandedNodeList().map(En=>En.key);this.handleFlattenNodes(this.nzTreeService.rootNodes,N?O||this.nzExpandedKeys:yn)}trackByFlattenNode(x,N){return N.key}handleNzData(x){if(Array.isArray(x)){const N=this.coerceTreeNodes(x);this.nzTreeService.initTree(N)}}handleFlattenNodes(x,N=[]){this.nzTreeService.flattenTreeData(x,N)}handleCheckedKeys(x){this.nzTreeService.conductCheck(x,this.nzCheckStrictly)}handleExpandedKeys(x=[]){this.nzTreeService.conductExpandedKeys(x)}handleSelectedKeys(x,N){this.nzTreeService.conductSelectedKeys(x,N)}handleSearchValue(x,N){(0,b.oH)(this.nzTreeService.rootNodes,!0).map(L=>L.data).forEach(L=>{L.isMatched=(L=>N?N(L.origin):!(!x||!L.title.toLowerCase().includes(x.toLowerCase())))(L),L.canHide=!L.isMatched,L.isMatched?this.nzTreeService.expandNodeAllParentBySearch(L):(L.setExpanded(!1),this.nzTreeService.setExpandedNodeList(L)),this.nzTreeService.setMatchedNodeList(L)})}eventTriggerChanged(x){const N=x.node;switch(x.eventName){case"expand":this.renderTree(),this.nzExpandChange.emit(x);break;case"click":this.nzClick.emit(x);break;case"dblclick":this.nzDblClick.emit(x);break;case"contextmenu":this.nzContextMenu.emit(x);break;case"check":this.nzTreeService.setCheckedNodeList(N),this.nzCheckStrictly||this.nzTreeService.conduct(N);const O=this.nzTreeService.formatEvent("check",N,x.event);this.nzCheckBoxChange.emit(O);break;case"dragstart":N.isExpanded&&(N.setExpanded(!N.isExpanded),this.renderTree()),this.nzOnDragStart.emit(x);break;case"dragenter":const $=this.nzTreeService.getSelectedNode();$&&$.key!==N.key&&!N.isExpanded&&!N.isLeaf&&(N.setExpanded(!0),this.renderTree()),this.nzOnDragEnter.emit(x);break;case"dragover":this.nzOnDragOver.emit(x);break;case"dragleave":this.nzOnDragLeave.emit(x);break;case"dragend":this.nzOnDragEnd.emit(x);break;case"drop":this.renderTree(),this.nzOnDrop.emit(x)}}renderTree(){this.handleFlattenNodes(this.nzTreeService.rootNodes,this.getExpandedNodeList().map(x=>x.key)),this.cdr.markForCheck()}constructor(x,N,O,$,L){super(x),this.nzConfigService=N,this.cdr=O,this.directionality=$,this.noAnimation=L,this._nzModuleName="tree",this.nzShowIcon=!1,this.nzHideUnMatched=!1,this.nzBlockNode=!1,this.nzExpandAll=!1,this.nzSelectMode=!1,this.nzCheckStrictly=!1,this.nzShowExpand=!0,this.nzShowLine=!1,this.nzCheckable=!1,this.nzAsyncData=!1,this.nzDraggable=!1,this.nzMultiple=!1,this.nzVirtualItemSize=28,this.nzVirtualMaxBufferPx=500,this.nzVirtualMinBufferPx=28,this.nzVirtualHeight=null,this.nzData=[],this.nzExpandedKeys=[],this.nzSelectedKeys=[],this.nzCheckedKeys=[],this.nzSearchValue="",this.nzFlattenNodes=[],this.beforeInit=!0,this.dir="ltr",this.nzExpandedKeysChange=new i.vpe,this.nzSelectedKeysChange=new i.vpe,this.nzCheckedKeysChange=new i.vpe,this.nzSearchValueChange=new i.vpe,this.nzClick=new i.vpe,this.nzDblClick=new i.vpe,this.nzContextMenu=new i.vpe,this.nzCheckBoxChange=new i.vpe,this.nzExpandChange=new i.vpe,this.nzOnDragStart=new i.vpe,this.nzOnDragEnter=new i.vpe,this.nzOnDragOver=new i.vpe,this.nzOnDragLeave=new i.vpe,this.nzOnDrop=new i.vpe,this.nzOnDragEnd=new i.vpe,this.HIDDEN_STYLE={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},this.HIDDEN_NODE_STYLE={position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"},this.destroy$=new h.x,this.onChange=()=>null,this.onTouched=()=>null}ngOnInit(){this.nzTreeService.flattenNodes$.pipe((0,v.R)(this.destroy$)).subscribe(x=>{this.nzFlattenNodes=this.nzVirtualHeight&&this.nzHideUnMatched&&this.nzSearchValue?.length>0?x.filter(N=>!N.canHide):x,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,v.R)(this.destroy$)).subscribe(x=>{this.dir=x,this.cdr.detectChanges()})}ngOnChanges(x){this.renderTreeProperties(x)}ngAfterViewInit(){this.beforeInit=!1}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(b.kW),i.Y36(f.jY),i.Y36(i.sBO),i.Y36(P.Is,8),i.Y36(A.P,9))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree"]],contentQueries:function(N,O,$){if(1&N&&i.Suo($,Re,7),2&N){let L;i.iGM(L=i.CRH())&&(O.nzTreeTemplateChild=L.first)}},viewQuery:function(N,O){if(1&N&&i.Gf(W.N7,5,W.N7),2&N){let $;i.iGM($=i.CRH())&&(O.cdkVirtualScrollViewport=$.first)}},hostVars:20,hostBindings:function(N,O){2&N&&i.ekj("ant-select-tree",O.nzSelectMode)("ant-select-tree-show-line",O.nzSelectMode&&O.nzShowLine)("ant-select-tree-icon-hide",O.nzSelectMode&&!O.nzShowIcon)("ant-select-tree-block-node",O.nzSelectMode&&O.nzBlockNode)("ant-tree",!O.nzSelectMode)("ant-tree-rtl","rtl"===O.dir)("ant-tree-show-line",!O.nzSelectMode&&O.nzShowLine)("ant-tree-icon-hide",!O.nzSelectMode&&!O.nzShowIcon)("ant-tree-block-node",!O.nzSelectMode&&O.nzBlockNode)("draggable-tree",O.nzDraggable)},inputs:{nzShowIcon:"nzShowIcon",nzHideUnMatched:"nzHideUnMatched",nzBlockNode:"nzBlockNode",nzExpandAll:"nzExpandAll",nzSelectMode:"nzSelectMode",nzCheckStrictly:"nzCheckStrictly",nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzCheckable:"nzCheckable",nzAsyncData:"nzAsyncData",nzDraggable:"nzDraggable",nzMultiple:"nzMultiple",nzExpandedIcon:"nzExpandedIcon",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualHeight:"nzVirtualHeight",nzTreeTemplate:"nzTreeTemplate",nzBeforeDrop:"nzBeforeDrop",nzData:"nzData",nzExpandedKeys:"nzExpandedKeys",nzSelectedKeys:"nzSelectedKeys",nzCheckedKeys:"nzCheckedKeys",nzSearchValue:"nzSearchValue",nzSearchFunc:"nzSearchFunc"},outputs:{nzExpandedKeysChange:"nzExpandedKeysChange",nzSelectedKeysChange:"nzSelectedKeysChange",nzCheckedKeysChange:"nzCheckedKeysChange",nzSearchValueChange:"nzSearchValueChange",nzClick:"nzClick",nzDblClick:"nzDblClick",nzContextMenu:"nzContextMenu",nzCheckBoxChange:"nzCheckBoxChange",nzExpandChange:"nzExpandChange",nzOnDragStart:"nzOnDragStart",nzOnDragEnter:"nzOnDragEnter",nzOnDragOver:"nzOnDragOver",nzOnDragLeave:"nzOnDragLeave",nzOnDrop:"nzOnDrop",nzOnDragEnd:"nzOnDragEnd"},exportAs:["nzTree"],features:[i._Bn([Ot,{provide:b.kW,useFactory:Lt,deps:[[new i.tp0,new i.FiY,b.g2],Ot]},{provide:l.JU,useExisting:(0,i.Gpc)(()=>ve),multi:!0}]),i.qOj,i.TTD],decls:10,vars:6,consts:[[3,"ngStyle"],[1,"ant-tree-treenode",3,"ngStyle"],[1,"ant-tree-indent"],[1,"ant-tree-indent-unit"],[1,"ant-tree-list",2,"position","relative"],[3,"ant-select-tree-list-holder-inner","ant-tree-list-holder-inner","itemSize","minBufferPx","maxBufferPx","height",4,"ngIf"],[3,"ant-select-tree-list-holder-inner","ant-tree-list-holder-inner","nzNoAnimation",4,"ngIf"],["nodeTemplate",""],[3,"itemSize","minBufferPx","maxBufferPx"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzNoAnimation"],[4,"ngFor","ngForOf","ngForTrackBy"],["builtin","",3,"icon","title","isLoading","isSelected","isDisabled","isMatched","isExpanded","isLeaf","isStart","isEnd","isChecked","isHalfChecked","isDisableCheckbox","isSelectable","canHide","nzTreeNode","nzSelectMode","nzShowLine","nzExpandedIcon","nzDraggable","nzCheckable","nzShowExpand","nzAsyncData","nzSearchValue","nzHideUnMatched","nzBeforeDrop","nzShowIcon","nzTreeTemplate","nzExpandChange","nzClick","nzDblClick","nzContextMenu","nzCheckBoxChange","nzOnDragStart","nzOnDragEnter","nzOnDragOver","nzOnDragLeave","nzOnDragEnd","nzOnDrop"]],template:function(N,O){1&N&&(i.TgZ(0,"div"),i._UZ(1,"input",0),i.qZA(),i.TgZ(2,"div",1)(3,"div",2),i._UZ(4,"div",3),i.qZA()(),i.TgZ(5,"div",4),i.YNc(6,$e,2,11,"cdk-virtual-scroll-viewport",5),i.YNc(7,we,2,9,"div",6),i.qZA(),i.YNc(8,de,1,28,"ng-template",null,7,i.W1O)),2&N&&(i.xp6(1),i.Q6J("ngStyle",O.HIDDEN_STYLE),i.xp6(1),i.Q6J("ngStyle",O.HIDDEN_NODE_STYLE),i.xp6(3),i.ekj("ant-select-tree-list",O.nzSelectMode),i.xp6(1),i.Q6J("ngIf",O.nzVirtualHeight),i.xp6(1),i.Q6J("ngIf",!O.nzVirtualHeight))},dependencies:[R.sg,R.O5,R.tP,R.PC,A.P,W.xd,W.x0,W.N7,ht],encapsulation:2,data:{animation:[m.lx]},changeDetection:0})}return(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzShowIcon",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzHideUnMatched",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzBlockNode",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzExpandAll",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzSelectMode",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckStrictly",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowExpand",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowLine",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckable",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzAsyncData",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzDraggable",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzMultiple",void 0),ve})(),en=(()=>{class ve{static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275mod=i.oAB({type:ve});static#n=this.\u0275inj=i.cJS({imports:[P.vT,R.ez,ze.T,Y.PV,A.g,j.C,W.Cl]})}return ve})();var Vt=o(60804);const cn=["nzTreeTemplate"],ft=["treeRef"];function gt(ve,nt){if(1&ve&&(i.TgZ(0,"span",12),i._UZ(1,"nz-embed-empty",13),i.qZA()),2&ve){const x=i.oxw(2);i.xp6(1),i.Q6J("nzComponentName","tree-select")("specificContent",x.nzNotFoundContent)}}const Ie=function(){return[]};function Ct(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"div",8)(1,"nz-tree",9,10),i.NdJ("nzExpandChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.onExpandedKeysChange(O))})("nzClick",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.nzTreeClick.emit(O))})("nzCheckedKeysChange",function(){i.CHM(x);const O=i.oxw();return i.KtG(O.updateSelectedNodes())})("nzSelectedKeysChange",function(){i.CHM(x);const O=i.oxw();return i.KtG(O.updateSelectedNodes())})("nzCheckBoxChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.nzTreeCheckBoxChange.emit(O))})("nzSearchValueChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.setSearchValues(O))}),i.qZA(),i.YNc(3,gt,2,2,"span",11),i.qZA()}if(2&ve){const x=i.oxw();i.ekj("ant-select-dropdown-placement-bottomLeft","bottom"===x.dropDownPosition)("ant-select-dropdown-placement-topLeft","top"===x.dropDownPosition)("ant-tree-select-dropdown-rtl","rtl"===x.dir),i.Q6J("@slideMotion","enter")("ngClass",x.dropdownClassName)("@.disabled",!(null==x.noAnimation||!x.noAnimation.nzNoAnimation))("nzNoAnimation",null==x.noAnimation?null:x.noAnimation.nzNoAnimation)("dir",x.dir)("ngStyle",x.nzDropdownStyle),i.xp6(1),i.Q6J("hidden",x.isNotFound)("nzData",x.nzNodes)("nzMultiple",x.nzMultiple)("nzSearchValue",x.inputValue)("nzHideUnMatched",x.nzHideUnMatched)("nzShowIcon",x.nzShowIcon)("nzCheckable",x.nzCheckable)("nzAsyncData",x.nzAsyncData)("nzShowExpand",x.nzShowExpand)("nzShowLine",x.nzShowLine)("nzExpandedIcon",x.nzExpandedIcon)("nzExpandAll",x.nzDefaultExpandAll)("nzExpandedKeys",x.expandedKeys)("nzCheckedKeys",x.nzCheckable?x.value:i.DdM(34,Ie))("nzSelectedKeys",x.nzCheckable?i.DdM(35,Ie):x.value)("nzTreeTemplate",x.treeTemplate)("nzCheckStrictly",x.nzCheckStrictly)("nzVirtualItemSize",x.nzVirtualItemSize)("nzVirtualMaxBufferPx",x.nzVirtualMaxBufferPx)("nzVirtualMinBufferPx",x.nzVirtualMinBufferPx)("nzVirtualHeight",x.nzVirtualHeight),i.xp6(2),i.Q6J("ngIf",0===x.nzNodes.length||x.isNotFound)}}function Nt(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-select-item",16),i.NdJ("delete",function(){const $=i.CHM(x).$implicit,L=i.oxw(2);return i.KtG(L.removeSelected($,!0))}),i.qZA()}if(2&ve){const x=nt.$implicit,N=i.oxw(2);i.Q6J("deletable",!0)("disabled",x.isDisabled||N.nzDisabled)("label",N.nzDisplayWith(x))}}function kt(ve,nt){if(1&ve&&(i._UZ(0,"nz-select-item",17),i.ALo(1,"slice")),2&ve){const x=i.oxw(2);i.Q6J("contentTemplateOutlet",x.nzMaxTagPlaceholder)("contentTemplateOutletContext",i.xi3(1,5,x.selectedNodes,x.nzMaxTagCount))("deletable",!1)("disabled",!1)("label","+ "+(x.selectedNodes.length-x.nzMaxTagCount)+" ...")}}function St(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,Nt,1,3,"nz-select-item",14),i.ALo(2,"slice"),i.YNc(3,kt,2,8,"nz-select-item",15),i.BQk()),2&ve){const x=i.oxw();i.xp6(1),i.Q6J("ngForOf",i.Dn7(2,3,x.selectedNodes,0,x.nzMaxTagCount))("ngForTrackBy",x.trackValue),i.xp6(2),i.Q6J("ngIf",x.selectedNodes.length>x.nzMaxTagCount)}}function qe(ve,nt){if(1&ve&&i._UZ(0,"nz-select-placeholder",18),2&ve){const x=i.oxw();i.Udp("display",x.placeHolderDisplay),i.Q6J("placeholder",x.nzPlaceHolder)}}function Fe(ve,nt){if(1&ve&&i._UZ(0,"nz-select-item",19),2&ve){const x=i.oxw();i.Q6J("deletable",!1)("disabled",!1)("label",x.nzDisplayWith(x.selectedNodes[0]))}}function fe(ve,nt){1&ve&&i._UZ(0,"nz-select-arrow")}function Xe(ve,nt){if(1&ve&&i._UZ(0,"nz-form-item-feedback-icon",23),2&ve){const x=i.oxw(3);i.Q6J("status",x.status)}}function ge(ve,nt){if(1&ve&&i.YNc(0,Xe,1,1,"nz-form-item-feedback-icon",22),2&ve){const x=i.oxw(2);i.Q6J("ngIf",x.hasFeedback&&!!x.status)}}function je(ve,nt){if(1&ve&&(i.TgZ(0,"nz-select-arrow",20),i.YNc(1,ge,1,1,"ng-template",null,21,i.W1O),i.qZA()),2&ve){const x=i.MAs(2),N=i.oxw();i.Q6J("showArrow",!N.isMultiple)("feedbackIcon",x)}}function Ye(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-select-clear",24),i.NdJ("clear",function(){i.CHM(x);const O=i.oxw();return i.KtG(O.onClearSelection())}),i.qZA()}}let We=(()=>{class ve extends b.kW{static#e=this.\u0275fac=function(){let x;return function(O){return(x||(x=i.n5z(ve)))(O||ve)}}();static#t=this.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac})}return ve})();function wt(ve){return ve.get(We)}const be="ant-select-dropdown ant-select-tree-dropdown",Qe=[C.yW.bottomLeft,C.yW.bottomRight,C.yW.topRight,C.yW.topLeft];let Ke=(()=>{class ve extends b.fP{set nzExpandedKeys(x){this.expandedKeys=x}get nzExpandedKeys(){return this.expandedKeys}get treeTemplate(){return this.nzTreeTemplate||this.nzTreeTemplateChild}get placeHolderDisplay(){return this.inputValue||this.isComposing||this.selectedNodes.length?"none":"block"}get isMultiple(){return this.nzMultiple||this.nzCheckable}constructor(x,N,O,$,L,he,Ce,Dt,Yt,rn){super(x),this.nzConfigService=N,this.renderer=O,this.cdr=$,this.elementRef=L,this.directionality=he,this.focusMonitor=Ce,this.noAnimation=Dt,this.nzFormStatusService=Yt,this.nzFormNoStatusService=rn,this._nzModuleName="treeSelect",this.nzId=null,this.nzAllowClear=!0,this.nzShowExpand=!0,this.nzShowLine=!1,this.nzDropdownMatchSelectWidth=!0,this.nzCheckable=!1,this.nzHideUnMatched=!1,this.nzShowIcon=!1,this.nzShowSearch=!1,this.nzDisabled=!1,this.nzAsyncData=!1,this.nzMultiple=!1,this.nzDefaultExpandAll=!1,this.nzCheckStrictly=!1,this.nzVirtualItemSize=28,this.nzVirtualMaxBufferPx=500,this.nzVirtualMinBufferPx=28,this.nzVirtualHeight=null,this.nzNodes=[],this.nzOpen=!1,this.nzSize="default",this.nzPlaceHolder="",this.nzDropdownStyle=null,this.nzBackdrop=!1,this.nzStatus="",this.nzPlacement="",this.nzDisplayWith=hn=>hn.title,this.nzMaxTagPlaceholder=null,this.nzOpenChange=new i.vpe,this.nzCleared=new i.vpe,this.nzRemoved=new i.vpe,this.nzExpandChange=new i.vpe,this.nzTreeClick=new i.vpe,this.nzTreeCheckBoxChange=new i.vpe,this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1,this.dropdownClassName=be,this.isComposing=!1,this.isDestroy=!0,this.isNotFound=!1,this.focused=!1,this.inputValue="",this.dropDownPosition="bottom",this.selectedNodes=[],this.expandedKeys=[],this.value=[],this.dir="ltr",this.positions=[],this.destroy$=new h.x,this.isNzDisableFirstChange=!0,this.onChange=hn=>{},this.onTouched=()=>{},this.renderer.addClass(this.elementRef.nativeElement,"ant-select"),this.renderer.addClass(this.elementRef.nativeElement,"ant-tree-select")}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,z.x)((x,N)=>x.status===N.status&&x.hasFeedback===N.hasFeedback),(0,M.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,E.of)(!1)),(0,p.U)(([{status:x,hasFeedback:N},O])=>({status:O?"":x,hasFeedback:N})),(0,v.R)(this.destroy$)).subscribe(({status:x,hasFeedback:N})=>{this.setStatusStyles(x,N)}),this.isDestroy=!1,this.subscribeSelectionChange(),this.directionality.change?.pipe((0,v.R)(this.destroy$)).subscribe(x=>{this.dir=x,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.focusMonitor.monitor(this.elementRef,!0).pipe((0,v.R)(this.destroy$)).subscribe(x=>{x?(this.focused=!0,this.cdr.markForCheck()):(this.focused=!1,this.cdr.markForCheck(),Promise.resolve().then(()=>{this.onTouched()}))})}ngOnDestroy(){this.isDestroy=!0,this.closeDropDown(),this.destroy$.next(),this.destroy$.complete()}isComposingChange(x){this.isComposing=x}setDisabledState(x){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||x,this.closeDropDown(),this.isNzDisableFirstChange=!1}setStatusStyles(x,N){this.status=x,this.hasFeedback=N,this.cdr.markForCheck(),this.statusCls=(0,D.Zu)(this.prefixCls,x,N),Object.keys(this.statusCls).forEach(O=>{this.statusCls[O]?this.renderer.addClass(this.elementRef.nativeElement,O):this.renderer.removeClass(this.elementRef.nativeElement,O)})}ngOnChanges(x){const{nzNodes:N,nzDropdownClassName:O,nzStatus:$,nzPlacement:L}=x;if(N&&this.updateSelectedNodes(!0),O){const he=this.nzDropdownClassName&&this.nzDropdownClassName.trim();this.dropdownClassName=he?`${be} ${he}`:be}$&&this.setStatusStyles(this.nzStatus,this.hasFeedback),L&&this.nzPlacement&&C.yW[this.nzPlacement]&&(this.positions=[C.yW[this.nzPlacement]])}writeValue(x){(0,D.DX)(x)?(this.value=this.isMultiple&&Array.isArray(x)?x:[x],this.updateSelectedNodes(!0)):(this.value=[],this.selectedNodes.forEach(N=>{this.removeSelected(N,!1)}),this.selectedNodes=[]),this.cdr.markForCheck()}registerOnChange(x){this.onChange=x}registerOnTouched(x){this.onTouched=x}onKeydown(x){if(!this.nzDisabled)switch(x.keyCode){case n.hY:break;case n.Mf:this.closeDropDown();break;default:this.nzOpen||this.openDropdown()}}trigger(){this.nzDisabled||!this.nzDisabled&&this.nzOpen?this.closeDropDown():this.openDropdown()}openDropdown(){this.nzDisabled||(this.nzOpen=!0,this.nzOpenChange.emit(this.nzOpen),this.updateCdkConnectedOverlayStatus(),(this.nzShowSearch||this.isMultiple)&&this.focusOnInput())}closeDropDown(){this.onTouched(),this.nzOpen=!1,this.inputValue="",this.isNotFound=!1,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck()}onKeyDownInput(x){this.isMultiple&&!x.target.value&&x.keyCode===n.ZH&&(x.preventDefault(),this.selectedNodes.length)&&this.removeSelected(this.selectedNodes[this.selectedNodes.length-1])}onExpandedKeysChange(x){this.nzExpandChange.emit(x),this.expandedKeys=[...x.keys]}setInputValue(x){this.inputValue=x,this.updatePosition()}removeSelected(x,N=!0){x.isSelected=!1,x.isChecked=!1,this.nzCheckable?this.nzTreeService.conduct(x,this.nzCheckStrictly):this.nzTreeService.setSelectedNodeList(x,this.nzMultiple),N&&this.nzRemoved.emit(x)}focusOnInput(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}subscribeSelectionChange(){(0,u.T)(this.nzTreeClick.pipe((0,_.b)(x=>{const N=x.node;this.nzCheckable&&!N.isDisabled&&!N.isDisableCheckbox&&(N.isChecked=!N.isChecked,N.isHalfChecked=!1,this.nzCheckStrictly||this.nzTreeService.conduct(N)),this.nzCheckable&&(N.isSelected=!1)}),(0,d.h)(x=>{const N=x.node;return this.nzCheckable?!N.isDisabled&&!N.isDisableCheckbox:!N.isDisabled&&N.isSelectable})),this.nzCheckable?this.nzTreeCheckBoxChange.asObservable():(0,E.of)(),this.nzCleared,this.nzRemoved).pipe((0,v.R)(this.destroy$)).subscribe(()=>{this.updateSelectedNodes();const x=this.selectedNodes.map(N=>N.key);this.value=[...x],(this.nzShowSearch||this.isMultiple)&&(this.inputValue="",this.isNotFound=!1),this.isMultiple?(this.onChange(x),this.focusOnInput(),this.updatePosition()):(this.closeDropDown(),this.onChange(x.length?x[0]:null))})}updateSelectedNodes(x=!1){if(x){const N=this.coerceTreeNodes(this.nzNodes);this.nzTreeService.isMultiple=this.isMultiple,this.nzTreeService.isCheckStrictly=this.nzCheckStrictly,this.nzTreeService.initTree(N),this.nzCheckable?this.nzTreeService.conductCheck(this.value,this.nzCheckStrictly):this.nzTreeService.conductSelectedKeys(this.value,this.isMultiple)}this.selectedNodes=[...this.nzCheckable?this.getCheckedNodeList():this.getSelectedNodeList()]}updatePosition(){(0,T.e)(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}onPositionChange(x){this.dropDownPosition=x.connectionPair.originY}onClearSelection(){this.selectedNodes.forEach(x=>{this.removeSelected(x,!1)}),this.nzCleared.emit()}onClickOutside(x){this.elementRef.nativeElement.contains(x.target)||this.closeDropDown()}setSearchValues(x){Promise.resolve().then(()=>{this.isNotFound=(this.nzShowSearch||this.isMultiple)&&!!this.inputValue&&0===x.matchedKeys.length})}updateCdkConnectedOverlayStatus(){(!this.nzPlacement||!Qe.includes(C.yW[this.nzPlacement]))&&(this.triggerWidth=this.cdkOverlayOrigin.elementRef.nativeElement.getBoundingClientRect().width)}trackValue(x,N){return N.key}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(We),i.Y36(f.jY),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(P.Is,8),i.Y36(S.tE),i.Y36(A.P,9),i.Y36(k.kH,8),i.Y36(k.yW,8))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-select"]],contentQueries:function(N,O,$){if(1&N&&i.Suo($,cn,7),2&N){let L;i.iGM(L=i.CRH())&&(O.nzTreeTemplateChild=L.first)}},viewQuery:function(N,O){if(1&N&&(i.Gf(y.Gt,5),i.Gf(ft,5),i.Gf(t.xu,7),i.Gf(t.pI,5)),2&N){let $;i.iGM($=i.CRH())&&(O.nzSelectSearchComponent=$.first),i.iGM($=i.CRH())&&(O.treeRef=$.first),i.iGM($=i.CRH())&&(O.cdkOverlayOrigin=$.first),i.iGM($=i.CRH())&&(O.cdkConnectedOverlay=$.first)}},hostAttrs:[1,"ant-select"],hostVars:24,hostBindings:function(N,O){1&N&&i.NdJ("click",function(){return O.trigger()})("keydown",function(L){return O.onKeydown(L)}),2&N&&i.ekj("ant-select-in-form-item",!!O.nzFormStatusService)("ant-select-lg","large"===O.nzSize)("ant-select-rtl","rtl"===O.dir)("ant-select-sm","small"===O.nzSize)("ant-select-disabled",O.nzDisabled)("ant-select-single",!O.isMultiple)("ant-select-show-arrow",!O.isMultiple)("ant-select-show-search",!O.isMultiple)("ant-select-multiple",O.isMultiple)("ant-select-allow-clear",O.nzAllowClear)("ant-select-open",O.nzOpen)("ant-select-focused",O.nzOpen||O.focused)},inputs:{nzId:"nzId",nzAllowClear:"nzAllowClear",nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzCheckable:"nzCheckable",nzHideUnMatched:"nzHideUnMatched",nzShowIcon:"nzShowIcon",nzShowSearch:"nzShowSearch",nzDisabled:"nzDisabled",nzAsyncData:"nzAsyncData",nzMultiple:"nzMultiple",nzDefaultExpandAll:"nzDefaultExpandAll",nzCheckStrictly:"nzCheckStrictly",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualHeight:"nzVirtualHeight",nzExpandedIcon:"nzExpandedIcon",nzNotFoundContent:"nzNotFoundContent",nzNodes:"nzNodes",nzOpen:"nzOpen",nzSize:"nzSize",nzPlaceHolder:"nzPlaceHolder",nzDropdownStyle:"nzDropdownStyle",nzDropdownClassName:"nzDropdownClassName",nzBackdrop:"nzBackdrop",nzStatus:"nzStatus",nzPlacement:"nzPlacement",nzExpandedKeys:"nzExpandedKeys",nzDisplayWith:"nzDisplayWith",nzMaxTagCount:"nzMaxTagCount",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzTreeTemplate:"nzTreeTemplate"},outputs:{nzOpenChange:"nzOpenChange",nzCleared:"nzCleared",nzRemoved:"nzRemoved",nzExpandChange:"nzExpandChange",nzTreeClick:"nzTreeClick",nzTreeCheckBoxChange:"nzTreeCheckBoxChange"},exportAs:["nzTreeSelect"],features:[i._Bn([We,{provide:b.g2,useFactory:wt,deps:[[new i.PiD,i.zs3]]},{provide:l.JU,useExisting:(0,i.Gpc)(()=>ve),multi:!0}]),i.qOj,i.TTD],decls:9,vars:20,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","overlayOutsideClick","detach","positionChange"],["cdkOverlayOrigin","",1,"ant-select-selector"],[4,"ngIf"],[3,"nzId","showInput","value","mirrorSync","disabled","focusTrigger","keydown","isComposingChange","valueChange"],[3,"placeholder","display",4,"ngIf"],[3,"deletable","disabled","label",4,"ngIf"],[3,"showArrow","feedbackIcon",4,"ngIf"],[3,"clear",4,"ngIf"],[3,"ngClass","nzNoAnimation","dir","ngStyle"],["nzNoAnimation","","nzSelectMode","","nzBlockNode","",3,"hidden","nzData","nzMultiple","nzSearchValue","nzHideUnMatched","nzShowIcon","nzCheckable","nzAsyncData","nzShowExpand","nzShowLine","nzExpandedIcon","nzExpandAll","nzExpandedKeys","nzCheckedKeys","nzSelectedKeys","nzTreeTemplate","nzCheckStrictly","nzVirtualItemSize","nzVirtualMaxBufferPx","nzVirtualMinBufferPx","nzVirtualHeight","nzExpandChange","nzClick","nzCheckedKeysChange","nzSelectedKeysChange","nzCheckBoxChange","nzSearchValueChange"],["treeRef",""],["class","ant-select-not-found",4,"ngIf"],[1,"ant-select-not-found"],[3,"nzComponentName","specificContent"],[3,"deletable","disabled","label","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"contentTemplateOutlet","contentTemplateOutletContext","deletable","disabled","label",4,"ngIf"],[3,"deletable","disabled","label","delete"],[3,"contentTemplateOutlet","contentTemplateOutletContext","deletable","disabled","label"],[3,"placeholder"],[3,"deletable","disabled","label"],[3,"showArrow","feedbackIcon"],["feedbackIconTpl",""],[3,"status",4,"ngIf"],[3,"status"],[3,"clear"]],template:function(N,O){1&N&&(i.YNc(0,Ct,4,36,"ng-template",0),i.NdJ("overlayOutsideClick",function(L){return O.onClickOutside(L)})("detach",function(){return O.closeDropDown()})("positionChange",function(L){return O.onPositionChange(L)}),i.TgZ(1,"div",1),i.YNc(2,St,4,7,"ng-container",2),i.TgZ(3,"nz-select-search",3),i.NdJ("keydown",function(L){return O.onKeyDownInput(L)})("isComposingChange",function(L){return O.isComposing=L})("valueChange",function(L){return O.setInputValue(L)}),i.qZA(),i.YNc(4,qe,1,3,"nz-select-placeholder",4),i.YNc(5,Fe,1,3,"nz-select-item",5),i.YNc(6,fe,1,0,"nz-select-arrow",2),i.YNc(7,je,3,2,"nz-select-arrow",6),i.YNc(8,Ye,1,0,"nz-select-clear",7),i.qZA()),2&N&&(i.Q6J("cdkConnectedOverlayHasBackdrop",O.nzBackdrop)("cdkConnectedOverlayOrigin",O.cdkOverlayOrigin)("cdkConnectedOverlayPositions",O.nzPlacement?O.positions:i.DdM(19,Ie))("cdkConnectedOverlayOpen",O.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-select-tree-dropdown")("cdkConnectedOverlayMinWidth",O.nzDropdownMatchSelectWidth?null:O.triggerWidth)("cdkConnectedOverlayWidth",O.nzDropdownMatchSelectWidth?O.triggerWidth:null),i.xp6(2),i.Q6J("ngIf",O.isMultiple),i.xp6(1),i.Q6J("nzId",O.nzId)("showInput",O.nzShowSearch)("value",O.inputValue)("mirrorSync",O.isMultiple)("disabled",O.nzDisabled)("focusTrigger",O.nzOpen),i.xp6(1),i.Q6J("ngIf",O.nzPlaceHolder&&0===O.selectedNodes.length),i.xp6(1),i.Q6J("ngIf",!O.isMultiple&&1===O.selectedNodes.length&&!O.isComposing&&""===O.inputValue),i.xp6(1),i.Q6J("ngIf",!O.isMultiple),i.xp6(1),i.Q6J("ngIf",!O.isMultiple||O.hasFeedback&&!!O.status),i.xp6(1),i.Q6J("ngIf",O.nzAllowClear&&!O.nzDisabled&&O.selectedNodes.length))},dependencies:[P.Lv,R.mk,R.sg,R.O5,R.PC,t.pI,t.xu,y.uf,y.kq,y.Go,y.Y6,y.Gt,qt,Vt.gB,C.hQ,A.P,k.w_,R.OU],encapsulation:2,data:{animation:[m.mF]}})}return(0,e.gn)([(0,D.yF)()],ve.prototype,"nzAllowClear",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowExpand",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowLine",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzDropdownMatchSelectWidth",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckable",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzHideUnMatched",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzShowIcon",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowSearch",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzDisabled",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzAsyncData",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzMultiple",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzDefaultExpandAll",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckStrictly",void 0),(0,e.gn)([(0,f.oS)()],ve.prototype,"nzSize",void 0),(0,e.gn)([(0,f.oS)()],ve.prototype,"nzBackdrop",void 0),ve})(),Ze=(()=>{class ve{static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275mod=i.oAB({type:ve});static#n=this.\u0275inj=i.cJS({imports:[P.vT,R.ez,t.U8,l.u5,y.LV,en,Y.PV,Vt.Xo,C.e4,A.g,k.mJ]})}return ve})()},41394:(tt,I,o)=>{"use strict";o.d(I,{FY:()=>x,cS:()=>N});var e=o(36028),n=o(69862),t=o(65879),i=o(22096),l=o(65592),h=o(47394),E=o(78645),u=o(92438),z=o(94664),M=o(37398),p=o(99397),v=o(59773),_=o(32181),d=o(1608),m=o(86825),f=o(96814),C=o(62831),T=o(96109),b=o(48128),D=o(90551),y=o(42840),P=o(70855),S=o(97582),A=o(27754),k=o(12131),R=o(49388),W=o(60095);const j=["file"],ze=["nz-upload-btn",""],Y=["*"];function G(O,$){}const V=function(O){return{$implicit:O}};function K(O,$){if(1&O&&(t.TgZ(0,"div",18),t.YNc(1,G,0,0,"ng-template",19),t.qZA()),2&O){const L=t.oxw(2).$implicit,he=t.MAs(5);t.ekj("ant-upload-list-item-file",!L.isUploading),t.xp6(1),t.Q6J("ngTemplateOutlet",he)("ngTemplateOutletContext",t.VKq(4,V,L))}}function ee(O,$){if(1&O&&t._UZ(0,"img",22),2&O){const L=t.oxw(3).$implicit;t.Q6J("src",L.thumbUrl||L.url,t.LSH),t.uIk("alt",L.name)}}function te(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"a",20),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handlePreview(Dt,Ce))}),t.YNc(1,ee,1,2,"img",21),t.qZA()}if(2&O){t.oxw();const L=t.MAs(5),he=t.oxw().$implicit;t.ekj("ant-upload-list-item-file",!he.isImageUrl),t.Q6J("href",he.url||he.thumbUrl,t.LSH),t.xp6(1),t.Q6J("ngIf",he.isImageUrl)("ngIfElse",L)}}function pe(O,$){}function re(O,$){if(1&O&&(t.TgZ(0,"div",23),t.YNc(1,pe,0,0,"ng-template",19),t.qZA()),2&O){const L=t.oxw(2).$implicit,he=t.MAs(5);t.xp6(1),t.Q6J("ngTemplateOutlet",he)("ngTemplateOutletContext",t.VKq(2,V,L))}}function De(O,$){}function ae(O,$){if(1&O&&t.YNc(0,De,0,0,"ng-template",19),2&O){const L=t.oxw(2).$implicit,he=t.MAs(5);t.Q6J("ngTemplateOutlet",he)("ngTemplateOutletContext",t.VKq(2,V,L))}}function ce(O,$){if(1&O&&(t.ynx(0,13),t.YNc(1,K,2,6,"div",14),t.YNc(2,te,2,5,"a",15),t.YNc(3,re,2,4,"div",16),t.BQk(),t.YNc(4,ae,1,4,"ng-template",null,17,t.W1O)),2&O){const L=t.oxw().$implicit;t.Q6J("ngSwitch",L.iconType),t.xp6(1),t.Q6J("ngSwitchCase","uploading"),t.xp6(1),t.Q6J("ngSwitchCase","thumbnail")}}function X(O,$){1&O&&(t.ynx(0),t._UZ(1,"span",29),t.BQk())}function ne(O,$){if(1&O&&(t.ynx(0),t.YNc(1,X,2,0,"ng-container",24),t.BQk()),2&O){const L=t.oxw(2).$implicit,he=t.MAs(4);t.xp6(1),t.Q6J("ngIf",L.isUploading)("ngIfElse",he)}}function le(O,$){if(1&O&&(t.ynx(0),t._uU(1),t.BQk()),2&O){const L=t.oxw(5);t.xp6(1),t.hij(" ",L.locale.uploading," ")}}function Se(O,$){if(1&O&&(t.ynx(0),t.YNc(1,le,2,1,"ng-container",24),t.BQk()),2&O){const L=t.oxw(2).$implicit,he=t.MAs(4);t.xp6(1),t.Q6J("ngIf",L.isUploading)("ngIfElse",he)}}function Ne(O,$){if(1&O&&t._UZ(0,"span",30),2&O){const L=t.oxw(2).$implicit;t.Q6J("nzType",L.isUploading?"loading":"paper-clip")}}function ke(O,$){if(1&O&&(t.ynx(0)(1,13),t.YNc(2,ne,2,2,"ng-container",27),t.YNc(3,Se,2,2,"ng-container",27),t.YNc(4,Ne,1,1,"span",28),t.BQk()()),2&O){const L=t.oxw(3);t.xp6(1),t.Q6J("ngSwitch",L.listType),t.xp6(1),t.Q6J("ngSwitchCase","picture"),t.xp6(1),t.Q6J("ngSwitchCase","picture-card")}}function oe(O,$){}function _e(O,$){if(1&O&&t._UZ(0,"span",31),2&O){const L=t.oxw().$implicit;t.Q6J("nzType",L.isImageUrl?"picture":"file")}}function Q(O,$){if(1&O&&(t.YNc(0,ke,5,3,"ng-container",24),t.YNc(1,oe,0,0,"ng-template",19,25,t.W1O),t.YNc(3,_e,1,1,"ng-template",null,26,t.W1O)),2&O){const L=$.$implicit,he=t.MAs(2),Ce=t.oxw(2);t.Q6J("ngIf",!Ce.iconRender)("ngIfElse",he),t.xp6(1),t.Q6J("ngTemplateOutlet",Ce.iconRender)("ngTemplateOutletContext",t.VKq(4,V,L))}}function He(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"button",33),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handleRemove(Dt,Ce))}),t._UZ(1,"span",34),t.qZA()}if(2&O){const L=t.oxw(3);t.uIk("title",L.locale.removeFile)}}function Re(O,$){if(1&O&&t.YNc(0,He,2,1,"button",32),2&O){const L=t.oxw(2);t.Q6J("ngIf",L.icons.showRemoveIcon)}}function lt(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"button",33),t.NdJ("click",function(){t.CHM(L);const Ce=t.oxw(2).$implicit,Dt=t.oxw();return t.KtG(Dt.handleDownload(Ce))}),t._UZ(1,"span",35),t.qZA()}if(2&O){const L=t.oxw(3);t.uIk("title",L.locale.downloadFile)}}function Pe(O,$){if(1&O&&t.YNc(0,lt,2,1,"button",32),2&O){const L=t.oxw().$implicit;t.Q6J("ngIf",L.showDownload)}}function xt(O,$){}function $e(O,$){}function ot(O,$){if(1&O&&(t.TgZ(0,"span"),t.YNc(1,xt,0,0,"ng-template",10),t.YNc(2,$e,0,0,"ng-template",10),t.qZA()),2&O){t.oxw(2);const L=t.MAs(9),he=t.MAs(7),Ce=t.oxw();t.Gre("ant-upload-list-item-card-actions ","picture"===Ce.listType?"picture":"",""),t.xp6(1),t.Q6J("ngTemplateOutlet",L),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}function mt(O,$){if(1&O&&t.YNc(0,ot,3,5,"span",36),2&O){const L=t.oxw(2);t.Q6J("ngIf","picture-card"!==L.listType)}}function we(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"a",39),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handlePreview(Dt,Ce))}),t._uU(1),t.qZA()}if(2&O){const L=t.oxw(2).$implicit;t.Q6J("href",L.url,t.LSH),t.uIk("title",L.name)("download",L.linkProps&&L.linkProps.download),t.xp6(1),t.hij(" ",L.name," ")}}function de(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"span",40),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handlePreview(Dt,Ce))}),t._uU(1),t.qZA()}if(2&O){const L=t.oxw(2).$implicit;t.uIk("title",L.name),t.xp6(1),t.hij(" ",L.name," ")}}function U(O,$){}function B(O,$){if(1&O&&(t.YNc(0,we,2,4,"a",37),t.YNc(1,de,2,2,"span",38),t.YNc(2,U,0,0,"ng-template",10)),2&O){const L=t.oxw().$implicit,he=t.MAs(11);t.Q6J("ngIf",L.url),t.xp6(1),t.Q6J("ngIf",!L.url),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}function Me(O,$){}function Ae(O,$){}const Le=function(){return{opacity:.5,"pointer-events":"none"}};function ht(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"a",44),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handlePreview(Dt,Ce))}),t._UZ(1,"span",45),t.qZA()}if(2&O){const L=t.oxw(2).$implicit,he=t.oxw();t.Q6J("href",L.url||L.thumbUrl,t.LSH)("ngStyle",L.url||L.thumbUrl?null:t.DdM(3,Le)),t.uIk("title",he.locale.previewFile)}}function Ot(O,$){}function Lt(O,$){if(1&O&&(t.ynx(0),t.YNc(1,Ot,0,0,"ng-template",10),t.BQk()),2&O){t.oxw(2);const L=t.MAs(9);t.xp6(1),t.Q6J("ngTemplateOutlet",L)}}function Wt(O,$){}function qt(O,$){if(1&O&&(t.TgZ(0,"span",41),t.YNc(1,ht,2,4,"a",42),t.YNc(2,Lt,2,1,"ng-container",43),t.YNc(3,Wt,0,0,"ng-template",10),t.qZA()),2&O){const L=t.oxw().$implicit,he=t.MAs(7),Ce=t.oxw();t.xp6(1),t.Q6J("ngIf",Ce.icons.showPreviewIcon),t.xp6(1),t.Q6J("ngIf","done"===L.status),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}function en(O,$){if(1&O&&(t.TgZ(0,"div",46),t._UZ(1,"nz-progress",47),t.qZA()),2&O){const L=t.oxw().$implicit;t.xp6(1),t.Q6J("nzPercent",L.percent)("nzShowInfo",!1)("nzStrokeWidth",2)}}function Vt(O,$){if(1&O&&(t.TgZ(0,"div")(1,"div",1),t.YNc(2,ce,6,3,"ng-template",null,2,t.W1O),t.YNc(4,Q,5,6,"ng-template",null,3,t.W1O),t.YNc(6,Re,1,1,"ng-template",null,4,t.W1O),t.YNc(8,Pe,1,1,"ng-template",null,5,t.W1O),t.YNc(10,mt,1,1,"ng-template",null,6,t.W1O),t.YNc(12,B,3,3,"ng-template",null,7,t.W1O),t.TgZ(14,"div",8)(15,"span",9),t.YNc(16,Me,0,0,"ng-template",10),t.YNc(17,Ae,0,0,"ng-template",10),t.qZA()(),t.YNc(18,qt,4,3,"span",11),t.YNc(19,en,2,3,"div",12),t.qZA()()),2&O){const L=$.$implicit,he=t.MAs(3),Ce=t.MAs(13),Dt=t.oxw();t.Gre("ant-upload-list-",Dt.listType,"-container"),t.xp6(1),t.MT6("ant-upload-list-item ant-upload-list-item-",L.status," ant-upload-list-item-list-type-",Dt.listType,""),t.Q6J("@itemState",void 0)("nzTooltipTitle","error"===L.status?L.message:null),t.uIk("data-key",L.key),t.xp6(15),t.Q6J("ngTemplateOutlet",he),t.xp6(1),t.Q6J("ngTemplateOutlet",Ce),t.xp6(1),t.Q6J("ngIf","picture-card"===Dt.listType&&!L.isUploading),t.xp6(1),t.Q6J("ngIf",L.isUploading)}}const cn=["uploadComp"],ft=["listComp"],gt=function(){return[]};function Ie(O,$){if(1&O&&t._UZ(0,"nz-upload-list",8,9),2&O){const L=t.oxw(2);t.Udp("display",L.nzShowUploadList?"":"none"),t.Q6J("locale",L.locale)("listType",L.nzListType)("items",L.nzFileList||t.DdM(13,gt))("icons",L.nzShowUploadList)("iconRender",L.nzIconRender)("previewFile",L.nzPreviewFile)("previewIsImage",L.nzPreviewIsImage)("onPreview",L.nzPreview)("onRemove",L.onRemove)("onDownload",L.nzDownload)("dir",L.dir)}}function Ct(O,$){1&O&&t.GkF(0)}function Nt(O,$){if(1&O&&(t.ynx(0),t.YNc(1,Ct,1,0,"ng-container",10),t.BQk()),2&O){const L=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",L.nzFileListRender)("ngTemplateOutletContext",t.VKq(2,V,L.nzFileList))}}function kt(O,$){if(1&O&&(t.YNc(0,Ie,2,14,"nz-upload-list",6),t.YNc(1,Nt,2,4,"ng-container",7)),2&O){const L=t.oxw();t.Q6J("ngIf",L.locale&&!L.nzFileListRender),t.xp6(1),t.Q6J("ngIf",L.nzFileListRender)}}function St(O,$){1&O&&t.Hsn(0)}function qe(O,$){}function Fe(O,$){if(1&O&&(t.TgZ(0,"div",11)(1,"div",12,13),t.YNc(3,qe,0,0,"ng-template",14),t.qZA()()),2&O){const L=t.oxw(),he=t.MAs(3);t.Udp("display",L.nzShowButton?"":"none"),t.Q6J("ngClass",L.classList),t.xp6(1),t.Q6J("options",L._btnOptions),t.xp6(2),t.Q6J("ngTemplateOutlet",he)}}function fe(O,$){}function Xe(O,$){}function ge(O,$){if(1&O){const L=t.EpF();t.ynx(0),t.TgZ(1,"div",15),t.NdJ("drop",function(Ce){t.CHM(L);const Dt=t.oxw();return t.KtG(Dt.fileDrop(Ce))})("dragover",function(Ce){t.CHM(L);const Dt=t.oxw();return t.KtG(Dt.fileDrop(Ce))})("dragleave",function(Ce){t.CHM(L);const Dt=t.oxw();return t.KtG(Dt.fileDrop(Ce))}),t.TgZ(2,"div",16,13)(4,"div",17),t.YNc(5,fe,0,0,"ng-template",14),t.qZA()()(),t.YNc(6,Xe,0,0,"ng-template",14),t.BQk()}if(2&O){const L=t.oxw(),he=t.MAs(3),Ce=t.MAs(1);t.xp6(1),t.Q6J("ngClass",L.classList),t.xp6(1),t.Q6J("options",L._btnOptions),t.xp6(3),t.Q6J("ngTemplateOutlet",he),t.xp6(1),t.Q6J("ngTemplateOutlet",Ce)}}function je(O,$){}function Ye(O,$){}function We(O,$){if(1&O&&(t.ynx(0),t.YNc(1,je,0,0,"ng-template",14),t.YNc(2,Ye,0,0,"ng-template",14),t.BQk()),2&O){t.oxw(2);const L=t.MAs(1),he=t.MAs(5);t.xp6(1),t.Q6J("ngTemplateOutlet",L),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}function wt(O,$){if(1&O&&t.YNc(0,We,3,2,"ng-container",3),2&O){const L=t.oxw(),he=t.MAs(10);t.Q6J("ngIf","picture-card"===L.nzListType)("ngIfElse",he)}}function Ee(O,$){}function be(O,$){}function Qe(O,$){if(1&O&&(t.YNc(0,Ee,0,0,"ng-template",14),t.YNc(1,be,0,0,"ng-template",14)),2&O){t.oxw();const L=t.MAs(5),he=t.MAs(1);t.Q6J("ngTemplateOutlet",L),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}let Ke=(()=>{class O{onClick(){this.options.disabled||!this.options.openFileDialogOnClick||this.file.nativeElement.click()}onFileDrop(L){if(this.options.disabled||"dragover"===L.type)L.preventDefault();else{if(this.options.directory)this.traverseFileTree(L.dataTransfer.items);else{const he=Array.prototype.slice.call(L.dataTransfer.files).filter(Ce=>this.attrAccept(Ce,this.options.accept));he.length&&this.uploadFiles(he)}L.preventDefault()}}onChange(L){if(this.options.disabled)return;const he=L.target;this.uploadFiles(he.files),he.value=""}traverseFileTree(L){const he=(Ce,Dt)=>{Ce.isFile?Ce.file(Yt=>{this.attrAccept(Yt,this.options.accept)&&this.uploadFiles([Yt])}):Ce.isDirectory&&Ce.createReader().readEntries(rn=>{for(const hn of rn)he(hn,`${Dt}${Ce.name}/`)})};for(const Ce of L)he(Ce.webkitGetAsEntry(),"")}attrAccept(L,he){if(L&&he){const Ce=Array.isArray(he)?he:he.split(","),Dt=`${L.name}`,Yt=`${L.type}`,rn=Yt.replace(/\/.*$/,"");return Ce.some(hn=>{const yn=hn.trim();return"."===yn.charAt(0)?-1!==Dt.toLowerCase().indexOf(yn.toLowerCase(),Dt.toLowerCase().length-yn.toLowerCase().length):/\/\*$/.test(yn)?rn===yn.replace(/\/.*$/,""):Yt===yn})}return!0}attachUid(L){return L.uid||(L.uid=Math.random().toString(36).substring(2)),L}uploadFiles(L){let he=(0,i.of)(Array.prototype.slice.call(L));this.options.filters&&this.options.filters.forEach(Ce=>{he=he.pipe((0,z.w)(Dt=>{const Yt=Ce.fn(Dt);return Yt instanceof l.y?Yt:(0,i.of)(Yt)}))}),he.subscribe(Ce=>{Ce.forEach(Dt=>{this.attachUid(Dt),this.upload(Dt,Ce)})},Ce=>{(0,d.ZK)("Unhandled upload filter error",Ce)})}upload(L,he){if(!this.options.beforeUpload)return this.post(L);const Ce=this.options.beforeUpload(L,he);if(Ce instanceof l.y)Ce.subscribe(Dt=>{const Yt=Object.prototype.toString.call(Dt);"[object File]"===Yt||"[object Blob]"===Yt?(this.attachUid(Dt),this.post(Dt)):"boolean"==typeof Dt&&!1!==Dt&&this.post(L)},Dt=>{(0,d.ZK)("Unhandled upload beforeUpload error",Dt)});else if(!1!==Ce)return this.post(L)}post(L){if(this.destroy)return;let Ce,he=(0,i.of)(L);const Dt=this.options,{uid:Yt}=L,{action:rn,data:hn,headers:yn,transformFile:Mn}=Dt,En={action:"string"==typeof rn?rn:"",name:Dt.name,headers:yn,file:L,postFile:L,data:hn,withCredentials:Dt.withCredentials,onProgress:Dt.onProgress?Dn=>{Dt.onProgress(Dn,L)}:void 0,onSuccess:(Dn,xn)=>{this.clean(Yt),Dt.onSuccess(Dn,L,xn)},onError:Dn=>{this.clean(Yt),Dt.onError(Dn,L)}};if("function"==typeof rn){const Dn=rn(L);Dn instanceof l.y?he=he.pipe((0,z.w)(()=>Dn),(0,M.U)(xn=>(En.action=xn,L))):En.action=Dn}if("function"==typeof Mn){const Dn=Mn(L);he=he.pipe((0,z.w)(()=>Dn instanceof l.y?Dn:(0,i.of)(Dn)),(0,p.b)(xn=>Ce=xn))}if("function"==typeof hn){const Dn=hn(L);Dn instanceof l.y?he=he.pipe((0,z.w)(()=>Dn),(0,M.U)(xn=>(En.data=xn,Ce??L))):En.data=Dn}if("function"==typeof yn){const Dn=yn(L);Dn instanceof l.y?he=he.pipe((0,z.w)(()=>Dn),(0,M.U)(xn=>(En.headers=xn,Ce??L))):En.headers=Dn}he.subscribe(Dn=>{En.postFile=Dn;const xn=(Dt.customRequest||this.xhr).call(this,En);xn instanceof h.w0||(0,d.ZK)("Must return Subscription type in '[nzCustomRequest]' property"),this.reqs[Yt]=xn,Dt.onStart(L)})}xhr(L){const he=new FormData;L.data&&Object.keys(L.data).map(Dt=>{he.append(Dt,L.data[Dt])}),he.append(L.name,L.postFile),L.headers||(L.headers={}),null!==L.headers["X-Requested-With"]?L.headers["X-Requested-With"]="XMLHttpRequest":delete L.headers["X-Requested-With"];const Ce=new n.aW("POST",L.action,he,{reportProgress:!0,withCredentials:L.withCredentials,headers:new n.WM(L.headers)});return this.http.request(Ce).subscribe(Dt=>{Dt.type===n.dt.UploadProgress?(Dt.total>0&&(Dt.percent=Dt.loaded/Dt.total*100),L.onProgress(Dt,L.file)):Dt instanceof n.Zn&&L.onSuccess(Dt.body,L.file,Dt)},Dt=>{this.abort(L.file),L.onError(Dt,L.file)})}clean(L){const he=this.reqs[L];he instanceof h.w0&&he.unsubscribe(),delete this.reqs[L]}abort(L){L?this.clean(L&&L.uid):Object.keys(this.reqs).forEach(he=>this.clean(he))}constructor(L,he,Ce){if(this.ngZone=L,this.http=he,this.elementRef=Ce,this.reqs={},this.destroy=!1,this.destroy$=new E.x,!he)throw new Error("Not found 'HttpClient', You can import 'HttpClientModule' in your root module.")}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,u.R)(this.elementRef.nativeElement,"click").pipe((0,v.R)(this.destroy$)).subscribe(()=>this.onClick()),(0,u.R)(this.elementRef.nativeElement,"keydown").pipe((0,v.R)(this.destroy$)).subscribe(L=>{this.options.disabled||("Enter"===L.key||L.keyCode===e.K5)&&this.onClick()})})}ngOnDestroy(){this.destroy=!0,this.destroy$.next(),this.abort()}static#e=this.\u0275fac=function(he){return new(he||O)(t.Y36(t.R0b),t.Y36(n.eN,8),t.Y36(t.SBq))};static#t=this.\u0275cmp=t.Xpm({type:O,selectors:[["","nz-upload-btn",""]],viewQuery:function(he,Ce){if(1&he&&t.Gf(j,7),2&he){let Dt;t.iGM(Dt=t.CRH())&&(Ce.file=Dt.first)}},hostAttrs:[1,"ant-upload"],hostVars:4,hostBindings:function(he,Ce){1&he&&t.NdJ("drop",function(Yt){return Ce.onFileDrop(Yt)})("dragover",function(Yt){return Ce.onFileDrop(Yt)}),2&he&&(t.uIk("tabindex","0")("role","button"),t.ekj("ant-upload-disabled",Ce.options.disabled))},inputs:{options:"options"},exportAs:["nzUploadBtn"],attrs:ze,ngContentSelectors:Y,decls:3,vars:4,consts:[["type","file",2,"display","none",3,"multiple","change"],["file",""]],template:function(he,Ce){1&he&&(t.F$t(),t.TgZ(0,"input",0,1),t.NdJ("change",function(Yt){return Ce.onChange(Yt)}),t.qZA(),t.Hsn(2)),2&he&&(t.Q6J("multiple",Ce.options.multiple),t.uIk("accept",Ce.options.accept)("directory",Ce.options.directory?"directory":null)("webkitdirectory",Ce.options.directory?"webkitdirectory":null))},encapsulation:2})}return O})();const Ze=O=>!!O&&0===O.indexOf("image/");let nt=(()=>{class O{get showPic(){return"picture"===this.listType||"picture-card"===this.listType}set items(L){this.list=L}genErr(L){return L.response&&"string"==typeof L.response?L.response:L.error&&L.error.statusText||this.locale.uploadError}extname(L){const he=L.split("/"),Dt=he[he.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Dt)||[""])[0]}isImageUrl(L){if(Ze(L.type))return!0;const he=L.thumbUrl||L.url||"";if(!he)return!1;const Ce=this.extname(he);return!(!/^data:image\//.test(he)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg)$/i.test(Ce))||!/^data:/.test(he)&&!Ce}getIconType(L){return this.showPic?L.isUploading||!L.thumbUrl&&!L.url?"uploading":"thumbnail":""}previewImage(L){if(!Ze(L.type)||!this.platform.isBrowser)return(0,i.of)("");const he=this.doc.createElement("canvas");he.width=200,he.height=200,he.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",this.doc.body.appendChild(he);const Ce=he.getContext("2d"),Dt=new Image,Yt=URL.createObjectURL(L);return Dt.src=Yt,(0,u.R)(Dt,"load").pipe((0,M.U)(()=>{const{width:rn,height:hn}=Dt;let yn=200,Mn=200,En=0,Dn=0;rn"u"||typeof L>"u"||!L.FileReader||!L.File||this.list.filter(he=>he.originFileObj instanceof File&&void 0===he.thumbUrl).forEach(he=>{he.thumbUrl="";const Ce=(this.previewFile?this.previewFile(he):this.previewImage(he.originFileObj)).pipe((0,v.R)(this.destroy$));this.ngZone.runOutsideAngular(()=>{Ce.subscribe(Dt=>{this.ngZone.run(()=>{he.thumbUrl=Dt,this.detectChanges()})})})})}showDownload(L){return!(!this.icons.showDownloadIcon||"done"!==L.status)}fixData(){this.list.forEach(L=>{L.isUploading="uploading"===L.status,L.message=this.genErr(L),L.linkProps="string"==typeof L.linkProps?JSON.parse(L.linkProps):L.linkProps,L.isImageUrl=this.previewIsImage?this.previewIsImage(L):this.isImageUrl(L),L.iconType=this.getIconType(L),L.showDownload=this.showDownload(L)})}handlePreview(L,he){if(this.onPreview)return he.preventDefault(),this.onPreview(L)}handleRemove(L,he){he.preventDefault(),this.onRemove&&this.onRemove(L)}handleDownload(L){"function"==typeof this.onDownload?this.onDownload(L):L.url&&window.open(L.url)}constructor(L,he,Ce,Dt){this.cdr=L,this.doc=he,this.ngZone=Ce,this.platform=Dt,this.list=[],this.locale={},this.iconRender=null,this.dir="ltr",this.destroy$=new E.x}detectChanges(){this.fixData(),this.cdr.detectChanges()}ngOnChanges(){this.fixData(),this.genThumb()}ngOnDestroy(){this.destroy$.next()}static#e=this.\u0275fac=function(he){return new(he||O)(t.Y36(t.sBO),t.Y36(f.K0),t.Y36(t.R0b),t.Y36(C.t4))};static#t=this.\u0275cmp=t.Xpm({type:O,selectors:[["nz-upload-list"]],hostAttrs:[1,"ant-upload-list"],hostVars:8,hostBindings:function(he,Ce){2&he&&t.ekj("ant-upload-list-rtl","rtl"===Ce.dir)("ant-upload-list-text","text"===Ce.listType)("ant-upload-list-picture","picture"===Ce.listType)("ant-upload-list-picture-card","picture-card"===Ce.listType)},inputs:{locale:"locale",listType:"listType",items:"items",icons:"icons",onPreview:"onPreview",onRemove:"onRemove",onDownload:"onDownload",previewFile:"previewFile",previewIsImage:"previewIsImage",iconRender:"iconRender",dir:"dir"},exportAs:["nzUploadList"],features:[t.TTD],decls:1,vars:1,consts:[[3,"class",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"],["icon",""],["iconNode",""],["removeIcon",""],["downloadIcon",""],["downloadOrDelete",""],["preview",""],[1,"ant-upload-list-item-info"],[1,"ant-upload-span"],[3,"ngTemplateOutlet"],["class","ant-upload-list-item-actions",4,"ngIf"],["class","ant-upload-list-item-progress",4,"ngIf"],[3,"ngSwitch"],["class","ant-upload-list-item-thumbnail",3,"ant-upload-list-item-file",4,"ngSwitchCase"],["class","ant-upload-list-item-thumbnail","target","_blank","rel","noopener noreferrer",3,"ant-upload-list-item-file","href","click",4,"ngSwitchCase"],["class","ant-upload-text-icon",4,"ngSwitchDefault"],["noImageThumbTpl",""],[1,"ant-upload-list-item-thumbnail"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["target","_blank","rel","noopener noreferrer",1,"ant-upload-list-item-thumbnail",3,"href","click"],["class","ant-upload-list-item-image",3,"src",4,"ngIf","ngIfElse"],[1,"ant-upload-list-item-image",3,"src"],[1,"ant-upload-text-icon"],[4,"ngIf","ngIfElse"],["customIconRender",""],["iconNodeFileIcon",""],[4,"ngSwitchCase"],["nz-icon","",3,"nzType",4,"ngSwitchDefault"],["nz-icon","","nzType","loading"],["nz-icon","",3,"nzType"],["nz-icon","","nzTheme","twotone",3,"nzType"],["type","button","nz-button","","nzType","text","nzSize","small","class","ant-upload-list-item-card-actions-btn",3,"click",4,"ngIf"],["type","button","nz-button","","nzType","text","nzSize","small",1,"ant-upload-list-item-card-actions-btn",3,"click"],["nz-icon","","nzType","delete"],["nz-icon","","nzType","download"],[3,"class",4,"ngIf"],["target","_blank","rel","noopener noreferrer","class","ant-upload-list-item-name",3,"href","click",4,"ngIf"],["class","ant-upload-list-item-name",3,"click",4,"ngIf"],["target","_blank","rel","noopener noreferrer",1,"ant-upload-list-item-name",3,"href","click"],[1,"ant-upload-list-item-name",3,"click"],[1,"ant-upload-list-item-actions"],["target","_blank","rel","noopener noreferrer",3,"href","ngStyle","click",4,"ngIf"],[4,"ngIf"],["target","_blank","rel","noopener noreferrer",3,"href","ngStyle","click"],["nz-icon","","nzType","eye"],[1,"ant-upload-list-item-progress"],["nzType","line",3,"nzPercent","nzShowInfo","nzStrokeWidth"]],template:function(he,Ce){1&he&&t.YNc(0,Vt,20,14,"div",0),2&he&&t.Q6J("ngForOf",Ce.list)},dependencies:[f.sg,f.O5,f.tP,f.PC,f.RF,f.n9,f.ED,T.SY,b.M,D.Ls,y.ix,P.w],encapsulation:2,data:{animation:[(0,m.X$)("itemState",[(0,m.eR)(":enter",[(0,m.oB)({height:"0",width:"0",opacity:0}),(0,m.jt)(150,(0,m.oB)({height:"*",width:"*",opacity:1}))]),(0,m.eR)(":leave",[(0,m.jt)(150,(0,m.oB)({height:"0",width:"0",opacity:0}))])])]},changeDetection:0})}return O})(),x=(()=>{class O{set nzShowUploadList(L){this._showUploadList="boolean"==typeof L?(0,A.sw)(L):L}get nzShowUploadList(){return this._showUploadList}zipOptions(){"boolean"==typeof this.nzShowUploadList&&this.nzShowUploadList&&(this.nzShowUploadList={showPreviewIcon:!0,showRemoveIcon:!0,showDownloadIcon:!0});const L=this.nzFilter.slice();if(this.nzMultiple&&this.nzLimit>0&&-1===L.findIndex(he=>"limit"===he.name)&&L.push({name:"limit",fn:he=>he.slice(-this.nzLimit)}),this.nzSize>0&&-1===L.findIndex(he=>"size"===he.name)&&L.push({name:"size",fn:he=>he.filter(Ce=>Ce.size/1024<=this.nzSize)}),this.nzFileType&&this.nzFileType.length>0&&-1===L.findIndex(he=>"type"===he.name)){const he=this.nzFileType.split(",");L.push({name:"type",fn:Ce=>Ce.filter(Dt=>~he.indexOf(Dt.type))})}return this._btnOptions={disabled:this.nzDisabled,accept:this.nzAccept,action:this.nzAction,directory:this.nzDirectory,openFileDialogOnClick:this.nzOpenFileDialogOnClick,beforeUpload:this.nzBeforeUpload,customRequest:this.nzCustomRequest,data:this.nzData,headers:this.nzHeaders,name:this.nzName,multiple:this.nzMultiple,withCredentials:this.nzWithCredentials,filters:L,transformFile:this.nzTransformFile,onStart:this.onStart,onProgress:this.onProgress,onSuccess:this.onSuccess,onError:this.onError},this}constructor(L,he,Ce,Dt,Yt){this.ngZone=L,this.document=he,this.cdr=Ce,this.i18n=Dt,this.directionality=Yt,this.destroy$=new E.x,this.dir="ltr",this.nzType="select",this.nzLimit=0,this.nzSize=0,this.nzDirectory=!1,this.nzOpenFileDialogOnClick=!0,this.nzFilter=[],this.nzFileList=[],this.nzDisabled=!1,this.nzListType="text",this.nzMultiple=!1,this.nzName="file",this._showUploadList=!0,this.nzShowButton=!0,this.nzWithCredentials=!1,this.nzIconRender=null,this.nzFileListRender=null,this.nzChange=new t.vpe,this.nzFileListChange=new t.vpe,this.onStart=rn=>{this.nzFileList||(this.nzFileList=[]);const hn=this.fileToObject(rn);hn.status="uploading",this.nzFileList=this.nzFileList.concat(hn),this.nzFileListChange.emit(this.nzFileList),this.nzChange.emit({file:hn,fileList:this.nzFileList,type:"start"}),this.detectChangesList()},this.onProgress=(rn,hn)=>{const Mn=this.getFileItem(hn,this.nzFileList);Mn.percent=rn.percent,this.nzChange.emit({event:rn,file:{...Mn},fileList:this.nzFileList,type:"progress"}),this.detectChangesList()},this.onSuccess=(rn,hn)=>{const yn=this.nzFileList,Mn=this.getFileItem(hn,yn);Mn.status="done",Mn.response=rn,this.nzChange.emit({file:{...Mn},fileList:yn,type:"success"}),this.detectChangesList()},this.onError=(rn,hn)=>{const yn=this.nzFileList,Mn=this.getFileItem(hn,yn);Mn.error=rn,Mn.status="error",this.nzChange.emit({file:{...Mn},fileList:yn,type:"error"}),this.detectChangesList()},this.onRemove=rn=>{this.uploadComp.abort(rn),rn.status="removed";const hn="function"==typeof this.nzRemove?this.nzRemove(rn):null==this.nzRemove||this.nzRemove;(hn instanceof l.y?hn:(0,i.of)(hn)).pipe((0,_.h)(yn=>yn)).subscribe(()=>{this.nzFileList=this.removeFileItem(rn,this.nzFileList),this.nzChange.emit({file:rn,fileList:this.nzFileList,type:"removed"}),this.nzFileListChange.emit(this.nzFileList),this.cdr.detectChanges()})},this.prefixCls="ant-upload",this.classList=[]}fileToObject(L){return{lastModified:L.lastModified,lastModifiedDate:L.lastModifiedDate,name:L.filename||L.name,size:L.size,type:L.type,uid:L.uid,response:L.response,error:L.error,percent:0,originFileObj:L}}getFileItem(L,he){return he.filter(Ce=>Ce.uid===L.uid)[0]}removeFileItem(L,he){return he.filter(Ce=>Ce.uid!==L.uid)}fileDrop(L){L.type!==this.dragState&&(this.dragState=L.type,this.setClassMap())}detectChangesList(){this.cdr.detectChanges(),this.listComp?.detectChanges()}setClassMap(){let L=[];"drag"===this.nzType?(this.nzFileList.some(he=>"uploading"===he.status)&&L.push(`${this.prefixCls}-drag-uploading`),"dragover"===this.dragState&&L.push(`${this.prefixCls}-drag-hover`)):L=[`${this.prefixCls}-select-${this.nzListType}`],this.classList=[this.prefixCls,`${this.prefixCls}-${this.nzType}`,...L,this.nzDisabled&&`${this.prefixCls}-disabled`||"","rtl"===this.dir&&`${this.prefixCls}-rtl`||""].filter(he=>!!he),this.cdr.detectChanges()}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,v.R)(this.destroy$)).subscribe(L=>{this.dir=L,this.setClassMap(),this.cdr.detectChanges()}),this.i18n.localeChange.pipe((0,v.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Upload"),this.detectChangesList()})}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>(0,u.R)(this.document.body,"drop").pipe((0,v.R)(this.destroy$)).subscribe(L=>{L.preventDefault(),L.stopPropagation()}))}ngOnChanges(){this.zipOptions().setClassMap()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(he){return new(he||O)(t.Y36(t.R0b),t.Y36(f.K0),t.Y36(t.sBO),t.Y36(k.wi),t.Y36(R.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:O,selectors:[["nz-upload"]],viewQuery:function(he,Ce){if(1&he&&(t.Gf(cn,5),t.Gf(ft,5)),2&he){let Dt;t.iGM(Dt=t.CRH())&&(Ce.uploadComp=Dt.first),t.iGM(Dt=t.CRH())&&(Ce.listComp=Dt.first)}},hostVars:2,hostBindings:function(he,Ce){2&he&&t.ekj("ant-upload-picture-card-wrapper","picture-card"===Ce.nzListType)},inputs:{nzType:"nzType",nzLimit:"nzLimit",nzSize:"nzSize",nzFileType:"nzFileType",nzAccept:"nzAccept",nzAction:"nzAction",nzDirectory:"nzDirectory",nzOpenFileDialogOnClick:"nzOpenFileDialogOnClick",nzBeforeUpload:"nzBeforeUpload",nzCustomRequest:"nzCustomRequest",nzData:"nzData",nzFilter:"nzFilter",nzFileList:"nzFileList",nzDisabled:"nzDisabled",nzHeaders:"nzHeaders",nzListType:"nzListType",nzMultiple:"nzMultiple",nzName:"nzName",nzShowUploadList:"nzShowUploadList",nzShowButton:"nzShowButton",nzWithCredentials:"nzWithCredentials",nzRemove:"nzRemove",nzPreview:"nzPreview",nzPreviewFile:"nzPreviewFile",nzPreviewIsImage:"nzPreviewIsImage",nzTransformFile:"nzTransformFile",nzDownload:"nzDownload",nzIconRender:"nzIconRender",nzFileListRender:"nzFileListRender"},outputs:{nzChange:"nzChange",nzFileListChange:"nzFileListChange"},exportAs:["nzUpload"],features:[t.TTD],ngContentSelectors:Y,decls:11,vars:2,consts:[["list",""],["con",""],["btn",""],[4,"ngIf","ngIfElse"],["select",""],["pic",""],[3,"display","locale","listType","items","icons","iconRender","previewFile","previewIsImage","onPreview","onRemove","onDownload","dir",4,"ngIf"],[4,"ngIf"],[3,"locale","listType","items","icons","iconRender","previewFile","previewIsImage","onPreview","onRemove","onDownload","dir"],["listComp",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],["nz-upload-btn","",3,"options"],["uploadComp",""],[3,"ngTemplateOutlet"],[3,"ngClass","drop","dragover","dragleave"],["nz-upload-btn","",1,"ant-upload-btn",3,"options"],[1,"ant-upload-drag-container"]],template:function(he,Ce){if(1&he&&(t.F$t(),t.YNc(0,kt,2,2,"ng-template",null,0,t.W1O),t.YNc(2,St,1,0,"ng-template",null,1,t.W1O),t.YNc(4,Fe,4,5,"ng-template",null,2,t.W1O),t.YNc(6,ge,7,4,"ng-container",3),t.YNc(7,wt,1,2,"ng-template",null,4,t.W1O),t.YNc(9,Qe,2,2,"ng-template",null,5,t.W1O)),2&he){const Dt=t.MAs(8);t.xp6(6),t.Q6J("ngIf","drag"===Ce.nzType)("ngIfElse",Dt)}},dependencies:[R.Lv,f.mk,f.O5,f.tP,Ke,nt],encapsulation:2,changeDetection:0})}return(0,S.gn)([(0,A.Rn)()],O.prototype,"nzLimit",void 0),(0,S.gn)([(0,A.Rn)()],O.prototype,"nzSize",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzDirectory",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzOpenFileDialogOnClick",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzDisabled",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzMultiple",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzShowButton",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzWithCredentials",void 0),O})(),N=(()=>{class O{static#e=this.\u0275fac=function(he){return new(he||O)};static#t=this.\u0275mod=t.oAB({type:O});static#n=this.\u0275inj=t.cJS({imports:[R.vT,f.ez,W.u5,C.ud,T.cg,b.W,k.YI,D.PV,y.sL]})}return O})()},45567:(tt,I,o)=>{"use strict";o.d(I,{fq:()=>lt,KY:()=>Re});var e=o(65879),n=o(96814),t=o(78645),i=o(47394),l=o(92438),h=o(93997),E=o(83620),u=o(99397),z=o(30889),M=o(60095);function p(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"span",3),e.NdJ("mousedown",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleMousedown(mt))}),e._uU(1),e.qZA()}if(2&Pe){const $e=e.oxw();e.Q6J("id",$e.uniqueId)("ngStyle",$e.labelStyle),e.xp6(1),e.hij(" ",$e.label," ")}}function v(Pe,xt){if(1&Pe&&(e.TgZ(0,"div",2),e._UZ(1,"div",3),e.qZA()),2&Pe){const $e=e.oxw();e.Udp("left",$e.left)("top",$e.top),e.xp6(1),e.Q6J("ngStyle",$e.pointer)}}const _=["*"];function d(Pe,xt){1&Pe&&e._UZ(0,"color-checkboard",2)}const m={};let T=(()=>{class Pe{white="transparent";size=8;grey="rgba(0,0,0,.08)";boxShadow;borderRadius;gridStyles;ngOnInit(){const $e=function C(Pe,xt,$e){const ot=`${Pe}-${xt}-${$e}`;if(m[ot])return m[ot];const mt=function f(Pe,xt,$e){if(typeof document>"u")return null;const ot=document.createElement("canvas");ot.width=2*$e,ot.height=2*$e;const mt=ot.getContext("2d");return mt?(mt.fillStyle=Pe,mt.fillRect(0,0,ot.width,ot.height),mt.fillStyle=xt,mt.fillRect(0,0,$e,$e),mt.translate($e,$e),mt.fillRect(0,0,$e,$e),ot.toDataURL()):null}(Pe,xt,$e);return mt?(m[ot]=mt,mt):null}(this.white,this.grey,this.size);this.gridStyles={borderRadius:this.borderRadius,boxShadow:this.boxShadow,background:`url(${$e}) center left`}}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-checkboard"]],inputs:{white:"white",size:"size",grey:"grey",boxShadow:"boxShadow",borderRadius:"borderRadius"},decls:1,vars:1,consts:[[1,"grid",3,"ngStyle"]],template:function(ot,mt){1&ot&&e._UZ(0,"div",0),2&ot&&e.Q6J("ngStyle",mt.gridStyles)},dependencies:[n.PC],styles:[".grid[_ngcontent-%COMP%]{inset:0;position:absolute}"],changeDetection:0})}return Pe})(),b=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez]})}return Pe})(),D=(()=>{class Pe{el;coordinatesChange=new t.x;mousechange=new t.x;mouseListening=!1;sub;mousemove($e,ot,mt,we=!1){this.mouseListening&&($e.preventDefault(),this.mousechange.next({$event:$e,x:ot,y:mt,isTouch:we}))}mouseup(){this.mouseListening=!1}mousedown($e,ot,mt,we=!1){$e.preventDefault(),this.mouseListening=!0,this.mousechange.next({$event:$e,x:ot,y:mt,isTouch:we})}constructor($e){this.el=$e}ngOnInit(){this.sub=this.mousechange.pipe((0,h.x)(($e,ot)=>$e.x===ot.x&&$e.y===ot.y)).subscribe($e=>this.handleChange($e.x,$e.y,$e.$event,$e.isTouch))}ngOnDestroy(){this.sub?.unsubscribe()}handleChange($e,ot,mt,we){const de=this.el.nativeElement.clientWidth,U=this.el.nativeElement.clientHeight,B=$e-(this.el.nativeElement.getBoundingClientRect().left+window.pageXOffset);let Me=ot-this.el.nativeElement.getBoundingClientRect().top;we||(Me-=window.pageYOffset),this.coordinatesChange.next({x:$e,y:ot,top:Me,left:B,containerWidth:de,containerHeight:U,$event:mt})}static \u0275fac=function(ot){return new(ot||Pe)(e.Y36(e.SBq))};static \u0275dir=e.lG2({type:Pe,selectors:[["","ngx-color-coordinates",""]],hostBindings:function(ot,mt){1&ot&&e.NdJ("mousemove",function(de){return mt.mousemove(de,de.pageX,de.pageY)},!1,e.Jf7)("touchmove",function(de){return mt.mousemove(de,de.touches[0].clientX,de.touches[0].clientY,!0)},!1,e.Jf7)("mouseup",function(){return mt.mouseup()},!1,e.Jf7)("touchend",function(){return mt.mouseup()},!1,e.Jf7)("mousedown",function(de){return mt.mousedown(de,de.pageX,de.pageY)})("touchstart",function(de){return mt.mousedown(de,de.touches[0].clientX,de.touches[0].clientY,!0)})},outputs:{coordinatesChange:"coordinatesChange"}})}return Pe})(),y=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({})}return Pe})(),P=(()=>{class Pe{hsl;rgb;pointer;shadow;radius;direction="horizontal";onChange=new e.vpe;gradient;pointerLeft;pointerTop;ngOnChanges(){"vertical"===this.direction?(this.pointerLeft=0,this.pointerTop=100*this.rgb.a,this.gradient={background:`linear-gradient(to bottom, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`}):(this.gradient={background:`linear-gradient(to right, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`},this.pointerLeft=100*this.rgb.a)}handleChange({top:$e,left:ot,containerHeight:mt,containerWidth:we,$event:de}){let U;if("vertical"===this.direction){let B;B=$e<0?0:$e>mt?1:Math.round(100*$e/mt)/100,this.hsl.a!==B&&(U={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:B,source:"rgb"})}else{let B;B=ot<0?0:ot>we?1:Math.round(100*ot/we)/100,this.hsl.a!==B&&(U={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:B,source:"rgb"})}U&&this.onChange.emit({data:U,$event:de})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-alpha"]],inputs:{hsl:"hsl",rgb:"rgb",pointer:"pointer",shadow:"shadow",radius:"radius",direction:"direction"},outputs:{onChange:"onChange"},features:[e.TTD],decls:7,vars:15,consts:[[1,"alpha"],[1,"alpha-checkboard"],[1,"alpha-gradient",3,"ngStyle"],["ngx-color-coordinates","",3,"coordinatesChange"],[1,"alpha-pointer"],[1,"alpha-slider",3,"ngStyle"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"color-checkboard"),e.qZA(),e._UZ(3,"div",2),e.TgZ(4,"div",3),e.NdJ("coordinatesChange",function(de){return mt.handleChange(de)}),e.TgZ(5,"div",4),e._UZ(6,"div",5),e.qZA()()()),2&ot&&(e.Udp("border-radius",mt.radius),e.xp6(3),e.Udp("box-shadow",mt.shadow)("border-radius",mt.radius),e.Q6J("ngStyle",mt.gradient),e.xp6(1),e.Gre("alpha-container color-alpha-",mt.direction,""),e.xp6(1),e.Udp("left",mt.pointerLeft,"%")("top",mt.pointerTop,"%"),e.xp6(1),e.Q6J("ngStyle",mt.pointer))},dependencies:[n.PC,T,D],styles:[".alpha[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-checkboard[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden}.alpha-gradient[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-container[_ngcontent-%COMP%]{position:relative;height:100%;margin:0 3px}.alpha-pointer[_ngcontent-%COMP%]{position:absolute}.alpha-slider[_ngcontent-%COMP%]{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}"],changeDetection:0})}return Pe})(),S=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,b,y]})}return Pe})();function A(Pe){let $e=0,ot=0;return["r","g","b","a","h","s","l","v"].forEach(mt=>{Pe[mt]&&($e+=1,isNaN(Pe[mt])||(ot+=1),("s"===mt||"l"===mt)&&/^\d+%$/.test(Pe[mt])&&(ot+=1))}),$e===ot&&Pe}function k(Pe,xt,$e){const ot=new z.C(Pe.hex?Pe.hex:Pe);$e&&ot.setAlpha(1);const mt=ot.toHsl(),we=ot.toHsv(),de=ot.toRgb(),U=ot.toHex();return 0===mt.s&&(mt.h=xt||0,we.h=xt||0),{hsl:mt,hex:"000000"===U&&0===de.a?"transparent":ot.toHexString(),rgb:de,hsv:we,oldHue:Pe.h||xt||mt.h,source:Pe.source}}function R(Pe){return new z.C(Pe).isValid}var j=function(Pe){return Pe.HEX="hex",Pe.HSL="hsl",Pe.HSV="hsv",Pe.RGB="rgb",Pe}(j||{});let ze=(()=>{class Pe{className;mode=j.HEX;color={h:250,s:.5,l:.2,a:1};colorChange=new e.vpe;onChange=new e.vpe;onChangeComplete=new e.vpe;onSwatchHover=new e.vpe;oldHue;hsl;hsv;rgb;hex;source;currentColor;changes;disableAlpha;_onChangeCompleteSubscription=new i.w0;_onSwatchHoverSubscription=new i.w0;ngOnInit(){this.changes=this.onChange.pipe((0,E.b)(100),(0,u.b)($e=>{switch(this.onChangeComplete.emit($e),this.mode){case j.HEX:this.colorChange.emit($e.color.hex);break;case j.HSL:this.colorChange.emit($e.color.hsl);break;case j.HSV:this.colorChange.emit($e.color.hsv);break;case j.RGB:this.colorChange.emit($e.color.rgb);break;default:const ot=`The mode '${this.mode}' is not supported`;if((0,e.X6Q)())throw new Error(ot);console.warn(ot)}})).subscribe(),this.setState(k(this.color,0)),this.currentColor=this.hex}ngOnChanges(){this.setState(k(this.color,this.oldHue))}ngOnDestroy(){this.changes?.unsubscribe(),this._onChangeCompleteSubscription?.unsubscribe(),this._onSwatchHoverSubscription?.unsubscribe()}setState($e){this.oldHue=$e.oldHue,this.hsl=$e.hsl,this.hsv=$e.hsv,this.rgb=$e.rgb,this.hex=$e.hex,this.source=$e.source,this.afterValidChange()}handleChange($e,ot){if(A($e)){const we=k($e,$e.h||this.oldHue,this.disableAlpha);this.setState(we),this.onChange.emit({color:we,$event:ot}),this.afterValidChange()}}afterValidChange(){}handleSwatchHover($e,ot){if(A($e)){const we=k($e,$e.h||this.oldHue);this.setState(we),this.onSwatchHover.emit({color:we,$event:ot})}}registerOnChange($e){this._onChangeCompleteSubscription.add(this.onChangeComplete.pipe((0,u.b)(ot=>$e(ot.color.hex))).subscribe())}registerOnTouched($e){this._onSwatchHoverSubscription.add(this.onSwatchHover.pipe((0,u.b)(()=>$e())).subscribe())}setDisabledState($e){}writeValue($e){this.color=$e}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-wrap"]],inputs:{className:"className",mode:"mode",color:"color"},outputs:{colorChange:"colorChange",onChange:"onChange",onChangeComplete:"onChangeComplete",onSwatchHover:"onSwatchHover"},features:[e._Bn([{provide:M.JU,useExisting:(0,e.Gpc)(()=>Pe),multi:!0}]),e.TTD],decls:0,vars:0,template:function(ot,mt){},encapsulation:2})}return Pe})(),G=0,V=(()=>{class Pe{style;label;value;arrowOffset;dragLabel;dragMax;placeholder="";onChange=new e.vpe;currentValue;blurValue;wrapStyle;inputStyle;labelStyle;focus=!1;mousemove;mouseup;uniqueId="editableInput-"+ ++G;ngOnInit(){this.wrapStyle=this.style&&this.style.wrap?this.style.wrap:{},this.inputStyle=this.style&&this.style.input?this.style.input:{},this.labelStyle=this.style&&this.style.label?this.style.label:{},this.dragLabel&&(this.labelStyle.cursor="ew-resize")}handleFocus($e){this.focus=!0}handleFocusOut($e){this.focus=!1,this.currentValue=this.blurValue}handleKeydown($e){const ot=String($e.target.value),mt=ot.indexOf("%")>-1,we=Number(ot.replace(/%/g,""));if(isNaN(we))return;const de=this.arrowOffset||1;38===$e.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:we+de},$event:$e}:{data:we+de,$event:$e}),this.currentValue=mt?`${we+de}%`:we+de),40===$e.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:we-de},$event:$e}:{data:we-de,$event:$e}),this.currentValue=mt?we-de+"%":we-de)}handleKeyup($e){40===$e.keyCode||38===$e.keyCode||`${this.currentValue}`!==$e.target.value&&this.onChange.emit(this.label?{data:{[this.label]:$e.target.value},$event:$e}:{data:$e.target.value,$event:$e})}ngOnChanges(){this.focus||(this.currentValue=String(this.value).toUpperCase()),this.blurValue=String(this.value).toUpperCase()}ngOnDestroy(){this.unsubscribe()}subscribe(){this.mousemove=(0,l.R)(document,"mousemove").subscribe($e=>this.handleDrag($e)),this.mouseup=(0,l.R)(document,"mouseup").subscribe(()=>this.unsubscribe())}unsubscribe(){this.mousemove?.unsubscribe(),this.mouseup?.unsubscribe()}handleMousedown($e){this.dragLabel&&($e.preventDefault(),this.handleDrag($e),this.subscribe())}handleDrag($e){if(this.dragLabel){const ot=Math.round(this.value+$e.movementX);ot>=0&&ot<=this.dragMax&&this.onChange.emit({data:{[this.label]:ot},$event:$e})}}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-editable-input"]],inputs:{style:"style",label:"label",value:"value",arrowOffset:"arrowOffset",dragLabel:"dragLabel",dragMax:"dragMax",placeholder:"placeholder"},outputs:{onChange:"onChange"},features:[e.TTD],decls:3,vars:6,consts:[[1,"wrap",3,"ngStyle"],["spellCheck","false",3,"ngStyle","value","placeholder","keydown","keyup","focus","focusout"],[3,"id","ngStyle","mousedown",4,"ngIf"],[3,"id","ngStyle","mousedown"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0)(1,"input",1),e.NdJ("keydown",function(de){return mt.handleKeydown(de)})("keyup",function(de){return mt.handleKeyup(de)})("focus",function(de){return mt.handleFocus(de)})("focusout",function(de){return mt.handleFocusOut(de)}),e.qZA(),e.YNc(2,p,2,3,"span",2),e.qZA()),2&ot&&(e.Q6J("ngStyle",mt.wrapStyle),e.xp6(1),e.Q6J("ngStyle",mt.inputStyle)("value",mt.currentValue)("placeholder",mt.placeholder),e.uIk("aria-labelledby",mt.uniqueId),e.xp6(1),e.Q6J("ngIf",mt.label))},dependencies:[n.O5,n.PC],styles:["[_nghost-%COMP%]{display:flex}.wrap[_ngcontent-%COMP%]{position:relative}"],changeDetection:0})}return Pe})(),K=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez]})}return Pe})(),ee=(()=>{class Pe{hsl;pointer;radius;shadow;hidePointer=!1;direction="horizontal";onChange=new e.vpe;left="0px";top="";ngOnChanges(){"horizontal"===this.direction?this.left=100*this.hsl.h/360+"%":this.top=-100*this.hsl.h/360+100+"%"}handleChange({top:$e,left:ot,containerHeight:mt,containerWidth:we,$event:de}){let U;if("vertical"===this.direction){let B;B=$e<0?359:$e>mt?0:360*(-100*$e/mt+100)/100,this.hsl.h!==B&&(U={h:B,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}else{let B;B=ot<0?0:ot>we?359:100*ot/we*360/100,this.hsl.h!==B&&(U={h:B,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}U&&this.onChange.emit({data:U,$event:de})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-hue"]],inputs:{hsl:"hsl",pointer:"pointer",radius:"radius",shadow:"shadow",hidePointer:"hidePointer",direction:"direction"},outputs:{onChange:"onChange"},features:[e.TTD],decls:3,vars:8,consts:[["ngx-color-coordinates","",1,"color-hue-container",3,"coordinatesChange"],["class","color-hue-pointer",3,"left","top",4,"ngIf"],[1,"color-hue-pointer"],[1,"color-hue-slider",3,"ngStyle"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div")(1,"div",0),e.NdJ("coordinatesChange",function(de){return mt.handleChange(de)}),e.YNc(2,v,2,5,"div",1),e.qZA()()),2&ot&&(e.Gre("color-hue color-hue-",mt.direction,""),e.Udp("border-radius",mt.radius,"px")("box-shadow",mt.shadow),e.xp6(2),e.Q6J("ngIf",!mt.hidePointer))},dependencies:[n.O5,n.PC,D],styles:[".color-hue[_ngcontent-%COMP%]{position:absolute;inset:0}.color-hue-container[_ngcontent-%COMP%]{margin:0 2px;position:relative;height:100%}.color-hue-pointer[_ngcontent-%COMP%]{position:absolute}.color-hue-slider[_ngcontent-%COMP%]{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal[_ngcontent-%COMP%]{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.color-hue-vertical[_ngcontent-%COMP%]{background:linear-gradient(to top,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}"],changeDetection:0})}return Pe})(),te=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,y]})}return Pe})(),De=(()=>{class Pe{hsl;hsv;radius;pointer;circle;onChange=new e.vpe;background;pointerTop;pointerLeft;ngOnChanges(){this.background=`hsl(${this.hsl.h}, 100%, 50%)`,this.pointerTop=-100*this.hsv.v+1+100+"%",this.pointerLeft=100*this.hsv.s+"%"}handleChange({top:$e,left:ot,containerHeight:mt,containerWidth:we,$event:de}){ot<0?ot=0:ot>we?ot=we:$e<0?$e=0:$e>mt&&($e=mt);let B=-$e/mt+1;B=B>0?B:0,B=B>1?1:B,this.onChange.emit({data:{h:this.hsl.h,s:ot/we,v:B,a:this.hsl.a,source:"hsva"},$event:de})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-saturation"]],inputs:{hsl:"hsl",hsv:"hsv",radius:"radius",pointer:"pointer",circle:"circle"},outputs:{onChange:"onChange"},features:[e.TTD],decls:5,vars:8,consts:[["ngx-color-coordinates","",1,"color-saturation",3,"coordinatesChange"],[1,"saturation-white"],[1,"saturation-black"],[1,"saturation-pointer",3,"ngStyle"],[1,"saturation-circle",3,"ngStyle"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0),e.NdJ("coordinatesChange",function(de){return mt.handleChange(de)}),e.TgZ(1,"div",1),e._UZ(2,"div",2),e.TgZ(3,"div",3),e._UZ(4,"div",4),e.qZA()()()),2&ot&&(e.Udp("background",mt.background),e.xp6(3),e.Udp("top",mt.pointerTop)("left",mt.pointerLeft),e.Q6J("ngStyle",mt.pointer),e.xp6(1),e.Q6J("ngStyle",mt.circle))},dependencies:[n.PC,D],styles:[".saturation-white[_ngcontent-%COMP%]{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;inset:0}.saturation-black[_ngcontent-%COMP%]{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;inset:0}.color-saturation[_ngcontent-%COMP%]{position:absolute;inset:0}.saturation-pointer[_ngcontent-%COMP%]{position:absolute;cursor:default}.saturation-circle[_ngcontent-%COMP%]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}"],changeDetection:0})}return Pe})(),ae=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,y]})}return Pe})(),ce=(()=>{class Pe{color;style={};focusStyle={};focus;onClick=new e.vpe;onHover=new e.vpe;divStyles={};focusStyles={};inFocus=!1;ngOnInit(){this.divStyles={background:this.color,...this.style}}currentStyles(){return this.focusStyles={...this.divStyles,...this.focusStyle},this.focus||this.inFocus?this.focusStyles:this.divStyles}handleFocusOut(){this.inFocus=!1}handleFocus(){this.inFocus=!0}handleHover($e,ot){this.onHover.emit({hex:$e,$event:ot})}handleClick($e,ot){this.onClick.emit({hex:$e,$event:ot})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-swatch"]],inputs:{color:"color",style:"style",focusStyle:"focusStyle",focus:"focus"},outputs:{onClick:"onClick",onHover:"onHover"},ngContentSelectors:_,decls:3,vars:3,consts:[["tabindex","0",1,"swatch",3,"ngStyle","click","keydown.enter","focus","blur","mouseover"],["boxShadow","inset 0 0 0 1px rgba(0,0,0,0.1)",4,"ngIf"],["boxShadow","inset 0 0 0 1px rgba(0,0,0,0.1)"]],template:function(ot,mt){1&ot&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(de){return mt.handleClick(mt.color,de)})("keydown.enter",function(de){return mt.handleClick(mt.color,de)})("focus",function(){return mt.handleFocus()})("blur",function(){return mt.handleFocusOut()})("mouseover",function(de){return mt.handleHover(mt.color,de)}),e.Hsn(1),e.YNc(2,d,1,0,"color-checkboard",1),e.qZA()),2&ot&&(e.Q6J("ngStyle",mt.currentStyles()),e.uIk("title",mt.color),e.xp6(2),e.Q6J("ngIf","transparent"===mt.color))},dependencies:[n.O5,n.PC,T],styles:[".swatch[_ngcontent-%COMP%]{outline:none;height:100%;width:100%;cursor:pointer;position:relative}"],changeDetection:0})}return Pe})(),X=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,b]})}return Pe})();const Se=function(Pe,xt){return{input:Pe,label:xt}};function Ne(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"div",8)(1,"color-editable-input",9),e.NdJ("onChange",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleChange(mt))}),e.qZA()()}if(2&Pe){const $e=e.oxw();e.xp6(1),e.Akn(e.WLB(5,Se,$e.input,$e.label)),e.Q6J("value",$e.round(100*$e.rgb.a))("dragLabel",!0)("dragMax",100)}}function ke(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"div",2)(1,"color-swatch",3),e.NdJ("onClick",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleClick(mt))})("onHover",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.onSwatchHover.emit(mt))}),e.qZA()()}if(2&Pe){const $e=xt.$implicit,ot=e.oxw();e.xp6(1),e.Akn(ot.swatchStyle),e.Q6J("color",ot.normalizeValue($e).color)("focusStyle",ot.focusStyle($e))}}function oe(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"div",12)(1,"color-alpha",13),e.NdJ("onChange",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleValueChange(mt))}),e.qZA()()}if(2&Pe){const $e=e.oxw();e.xp6(1),e.Q6J("radius",2)("rgb",$e.rgb)("hsl",$e.hsl)}}function _e(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"div",14)(1,"color-sketch-preset-colors",15),e.NdJ("onClick",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleBlockChange(mt))})("onSwatchHover",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.onSwatchHover.emit(mt))}),e.qZA()()}if(2&Pe){const $e=e.oxw();e.xp6(1),e.Q6J("colors",$e.presetColors)}}let Q=(()=>{class Pe{hsl;rgb;hex;disableAlpha=!1;onChange=new e.vpe;input={width:"100%",padding:"4px 10% 3px",border:"none",boxSizing:"border-box",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"};label={display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"};round($e){return Math.round($e)}handleChange({data:$e,$event:ot}){if($e.hex){if(R($e.hex)){const mt=new z.C($e.hex);this.onChange.emit({data:{hex:this.disableAlpha||$e.hex.length<=6?mt.toHex():mt.toHex8(),source:"hex"},$event:ot})}}else $e.r||$e.g||$e.b?this.onChange.emit({data:{r:$e.r||this.rgb.r,g:$e.g||this.rgb.g,b:$e.b||this.rgb.b,source:"rgb"},$event:ot}):$e.a?($e.a<0?$e.a=0:$e.a>100&&($e.a=100),$e.a/=100,this.disableAlpha&&($e.a=1),this.onChange.emit({data:{h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Math.round(100*$e.a)/100,source:"rgb"},$event:ot})):($e.h||$e.s||$e.l)&&this.onChange.emit({data:{h:$e.h||this.hsl.h,s:Number($e.s&&$e.s||this.hsl.s),l:Number($e.l&&$e.l||this.hsl.l),source:"hsl"},$event:ot})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-sketch-fields"]],inputs:{hsl:"hsl",rgb:"rgb",hex:"hex",disableAlpha:"disableAlpha"},outputs:{onChange:"onChange"},decls:10,vars:31,consts:[[1,"sketch-fields"],[1,"sketch-double"],["label","hex",3,"value","onChange"],[1,"sketch-single"],["label","r",3,"value","dragLabel","dragMax","onChange"],["label","g",3,"value","dragLabel","dragMax","onChange"],["label","b",3,"value","dragLabel","dragMax","onChange"],["class","sketch-alpha",4,"ngIf"],[1,"sketch-alpha"],["label","a",3,"value","dragLabel","dragMax","onChange"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0)(1,"div",1)(2,"color-editable-input",2),e.NdJ("onChange",function(de){return mt.handleChange(de)}),e.qZA()(),e.TgZ(3,"div",3)(4,"color-editable-input",4),e.NdJ("onChange",function(de){return mt.handleChange(de)}),e.qZA()(),e.TgZ(5,"div",3)(6,"color-editable-input",5),e.NdJ("onChange",function(de){return mt.handleChange(de)}),e.qZA()(),e.TgZ(7,"div",3)(8,"color-editable-input",6),e.NdJ("onChange",function(de){return mt.handleChange(de)}),e.qZA()(),e.YNc(9,Ne,2,8,"div",7),e.qZA()),2&ot&&(e.xp6(2),e.Akn(e.WLB(19,Se,mt.input,mt.label)),e.Q6J("value",mt.hex.replace("#","")),e.xp6(2),e.Akn(e.WLB(22,Se,mt.input,mt.label)),e.Q6J("value",mt.rgb.r)("dragLabel",!0)("dragMax",255),e.xp6(2),e.Akn(e.WLB(25,Se,mt.input,mt.label)),e.Q6J("value",mt.rgb.g)("dragLabel",!0)("dragMax",255),e.xp6(2),e.Akn(e.WLB(28,Se,mt.input,mt.label)),e.Q6J("value",mt.rgb.b)("dragLabel",!0)("dragMax",255),e.xp6(1),e.Q6J("ngIf",!1===mt.disableAlpha))},dependencies:[n.O5,V],styles:[".sketch-fields[_ngcontent-%COMP%]{display:flex;padding-top:4px}.sketch-double[_ngcontent-%COMP%]{flex:2 1 0%}.sketch-single[_ngcontent-%COMP%], .sketch-alpha[_ngcontent-%COMP%]{flex:1 1 0%;padding-left:6px}[dir=rtl][_nghost-%COMP%] .sketch-single[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-single[_ngcontent-%COMP%]{padding-right:6px;padding-left:0}[dir=rtl][_nghost-%COMP%] .sketch-alpha[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-alpha[_ngcontent-%COMP%]{padding-right:6px;padding-left:0}"],changeDetection:0})}return Pe})(),He=(()=>{class Pe{colors;onClick=new e.vpe;onSwatchHover=new e.vpe;swatchStyle={borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"};handleClick({hex:$e,$event:ot}){this.onClick.emit({hex:$e,$event:ot})}normalizeValue($e){return"string"==typeof $e?{color:$e}:$e}focusStyle($e){return{boxShadow:`inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px ${this.normalizeValue($e).color}`}}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-sketch-preset-colors"]],inputs:{colors:"colors"},outputs:{onClick:"onClick",onSwatchHover:"onSwatchHover"},decls:2,vars:1,consts:[[1,"sketch-swatches"],["class","sketch-wrap",4,"ngFor","ngForOf"],[1,"sketch-wrap"],[1,"swatch",3,"color","focusStyle","onClick","onHover"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0),e.YNc(1,ke,2,4,"div",1),e.qZA()),2&ot&&(e.xp6(1),e.Q6J("ngForOf",mt.colors))},dependencies:[n.sg,ce],styles:[".sketch-swatches[_ngcontent-%COMP%]{position:relative;display:flex;flex-wrap:wrap;margin:0 -10px;padding:10px 0 0 10px;border-top:1px solid rgb(238,238,238)}.sketch-wrap[_ngcontent-%COMP%]{width:16px;height:16px;margin:0 10px 10px 0}[dir=rtl][_nghost-%COMP%] .sketch-swatches[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-swatches[_ngcontent-%COMP%]{padding-right:10px;padding-left:0}[dir=rtl][_nghost-%COMP%] .sketch-wrap[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-wrap[_ngcontent-%COMP%]{margin-left:10px;margin-right:0}"],changeDetection:0})}return Pe})(),Re=(()=>{class Pe extends ze{disableAlpha=!1;presetColors=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"];width=200;activeBackground;constructor(){super()}afterValidChange(){this.activeBackground=`rgba(${this.rgb.r}, ${this.rgb.g}, ${this.rgb.b}, ${this.disableAlpha?1:this.rgb.a})`}handleValueChange({data:$e,$event:ot}){this.handleChange($e,ot)}handleBlockChange({hex:$e,$event:ot}){R($e)&&this.handleChange({hex:$e,source:"hex"},ot)}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-sketch"]],inputs:{disableAlpha:"disableAlpha",presetColors:"presetColors",width:"width"},features:[e._Bn([{provide:M.JU,useExisting:(0,e.Gpc)(()=>Pe),multi:!0},{provide:ze,useExisting:(0,e.Gpc)(()=>Pe)}]),e.qOj],decls:14,vars:16,consts:[[1,"sketch-saturation"],[3,"hsl","hsv","onChange"],[1,"sketch-controls"],[1,"sketch-sliders"],[1,"sketch-hue"],[3,"hsl","onChange"],["class","sketch-alpha",4,"ngIf"],[1,"sketch-color"],[1,"sketch-active"],[1,"sketch-fields-container"],[3,"rgb","hsl","hex","disableAlpha","onChange"],["class","sketch-swatches-container",4,"ngIf"],[1,"sketch-alpha"],[3,"radius","rgb","hsl","onChange"],[1,"sketch-swatches-container"],[3,"colors","onClick","onSwatchHover"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div")(1,"div",0)(2,"color-saturation",1),e.NdJ("onChange",function(de){return mt.handleValueChange(de)}),e.qZA()(),e.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"color-hue",5),e.NdJ("onChange",function(de){return mt.handleValueChange(de)}),e.qZA()(),e.YNc(7,oe,2,3,"div",6),e.qZA(),e.TgZ(8,"div",7),e._UZ(9,"color-checkboard")(10,"div",8),e.qZA()(),e.TgZ(11,"div",9)(12,"color-sketch-fields",10),e.NdJ("onChange",function(de){return mt.handleValueChange(de)}),e.qZA()(),e.YNc(13,_e,2,1,"div",11),e.qZA()),2&ot&&(e.Gre("sketch-picker ",mt.className,""),e.Udp("width",mt.width,"px"),e.xp6(2),e.Q6J("hsl",mt.hsl)("hsv",mt.hsv),e.xp6(4),e.Q6J("hsl",mt.hsl),e.xp6(1),e.Q6J("ngIf",!1===mt.disableAlpha),e.xp6(3),e.Udp("background",mt.activeBackground),e.xp6(2),e.Q6J("rgb",mt.rgb)("hsl",mt.hsl)("hex",mt.hex)("disableAlpha",mt.disableAlpha),e.xp6(1),e.Q6J("ngIf",mt.presetColors&&mt.presetColors.length))},dependencies:function(){return[n.O5,P,T,ee,De,Q,He]},styles:[".sketch-picker[_ngcontent-%COMP%]{padding:10px 10px 3px;box-sizing:initial;background:#fff;border-radius:4px;box-shadow:0 0 0 1px #00000026,0 8px 16px #00000026}.sketch-saturation[_ngcontent-%COMP%]{width:100%;padding-bottom:75%;position:relative;overflow:hidden}.sketch-fields-container[_ngcontent-%COMP%], .sketch-swatches-container[_ngcontent-%COMP%]{display:block}.sketch-controls[_ngcontent-%COMP%]{display:flex}.sketch-sliders[_ngcontent-%COMP%]{padding:4px 0;flex:1 1 0%}.sketch-hue[_ngcontent-%COMP%]{position:relative;height:10px;overflow:hidden}.sketch-alpha[_ngcontent-%COMP%]{position:relative;height:10px;margin-top:4px;overflow:hidden}.sketch-color[_ngcontent-%COMP%]{width:24px;height:24px;position:relative;margin-top:4px;margin-left:4px;border-radius:3px}.sketch-active[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:2px;box-shadow:#00000026 0 0 0 1px inset,#00000040 0 0 4px inset}[dir=rtl][_nghost-%COMP%] .sketch-color[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-color[_ngcontent-%COMP%]{margin-right:4px;margin-left:0}"],changeDetection:0})}return Pe})(),lt=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,S,b,K,te,ae,X]})}return Pe})()},44556:(tt,I,o)=>{"use strict";o.d(I,{MR:()=>z,cD:()=>M});var e=o(65879),n=o(96814);function t(p,v){if(1&p&&(e.ynx(0),e._UZ(1,"span",2),e.BQk()),2&p){const _=e.oxw();e.xp6(1),e.Q6J("innerHTML",_.i.text,e.oJD)}}function i(p,v){1&p&&e.GkF(0)}const l=function(p){return{$implicit:p}};var h=function(p){return p[p.ing=0]="ing",p[p.pause=1]="pause",p[p.stop=2]="stop",p[p.done=3]="done",p}(h||{});let E=(()=>{class p{constructor(_){this.ngZone=_,this.fns=[],this.commands=[],this.nextTime=0,this.ing=!1}start(){!0!==this.ing&&(this.ing=!0,this.nextTime=+new Date,this.ngZone.runOutsideAngular(()=>{this.process()}))}process(){for(;this.commands.length;)this.commands.shift()();let _=+new Date-this.nextTime;const d=1+Math.floor(_/100);_=100-_%100,this.nextTime+=100*d;for(let m=0,f=this.fns.length;m0&&this.fns[m](T),this.fns[m+1]=C%20+1}}this.ing&&setTimeout(()=>this.process(),_)}add(_,d){return this.commands.push(()=>{this.fns.push(_),this.fns.push(1e3===d?1:0),this.ing=!0}),this}remove(_){return this.commands.push(()=>{const d=this.fns.indexOf(_);-1!==d&&this.fns.splice(d,2),this.ing=this.fns.length>0}),this}static#e=this.\u0275fac=function(d){return new(d||p)(e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac})}return p})(),u=(()=>{class p{constructor(_){this.locale=_,this.demand=!1,this.leftTime=0,this.format="HH:mm:ss",this.timezone="+0000",this.formatDate=({date:d,formatStr:m,timezone:f})=>(0,n.p6)(new Date(d),m,this.locale,f||this.timezone||"+0000")}static#e=this.\u0275fac=function(d){return new(d||p)(e.LFG(e.soG))};static#t=this.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),z=(()=>{class p{set config(_){null!=_.notify&&!Array.isArray(_.notify)&&_.notify>0&&(_.notify=[_.notify]),this._config=_}get config(){return this._config}constructor(_,d,m,f,C){this.locale=_,this.timer=d,this.defCog=m,this.cdr=f,this.ngZone=C,this.frequency=1e3,this._notify={},this.status=h.ing,this.isDestroy=!1,this.i={},this.left=0,this.event=new e.vpe}begin(){this.status=h.ing,this.callEvent("start")}restart(){this.status!==h.stop&&this.destroy(),this.init(),this.callEvent("restart")}stop(){this.status!==h.stop&&(this.status=h.stop,this.destroy(),this.callEvent("stop"))}pause(){this.status===h.stop||this.status===h.pause||(this.status=h.pause,this.callEvent("pause"))}resume(){this.status===h.stop||this.status!==h.pause||(this.status=h.ing,this.callEvent("resume"))}callEvent(_){this.event.emit({action:_,left:this.left,status:this.status,text:this.i.text})}init(){const{locale:_,defCog:d}=this,m=this.config={...new u(_),...d,...this.config},f=this.frequency=~m.format.indexOf("S")?100:1e3;this.status=m.demand?h.pause:h.ing,this.getLeft();const C=this.reflow;this.reflow=(T=0,b=!1)=>C.apply(this,[T,b]),Array.isArray(m.notify)&&m.notify.forEach(T=>{if(T<1)throw new Error("The notify config must be a positive integer.");T*=1e3,this._notify[T-=T%f]=!0}),this.timer.add(this.reflow,f).start(),this.reflow(0,!0)}destroy(){return this.timer.remove(this.reflow),this}reflow(_=0,d=!1){if(this.isDestroy)return;const{status:m,config:f,_notify:C}=this;if(!d&&m!==h.ing)return;let T=this.left=this.left-this.frequency*_;T<1&&(T=0),this.i={value:T,text:f.formatDate({date:T,formatStr:f.format,timezone:f.timezone})},"function"==typeof f.prettyText&&(this.i.text=f.prettyText(this.i.text)),this.cdr.detectChanges(),(0===f.notify||C[T])&&this.ngZone.run(()=>{this.callEvent("notify")}),0===T&&this.ngZone.run(()=>{this.status=h.done,this.destroy(),this.callEvent("done")})}getLeft(){const{config:_,frequency:d}=this;let m=1e3*_.leftTime;const f=_.stopTime;!m&&f&&(m=f-(new Date).getTime()),this.left=m-m%d}ngOnInit(){this.init(),this.config.demand||this.begin()}ngOnDestroy(){this.isDestroy=!0,this.destroy()}ngOnChanges(_){_.config.firstChange||this.restart()}static#e=this.\u0275fac=function(d){return new(d||p)(e.Y36(e.soG),e.Y36(E),e.Y36(u),e.Y36(e.sBO),e.Y36(e.R0b))};static#t=this.\u0275cmp=e.Xpm({type:p,selectors:[["countdown"]],hostVars:2,hostBindings:function(d,m){2&d&&e.ekj("count-down",!0)},inputs:{config:"config",render:"render"},outputs:{event:"event"},standalone:!0,features:[e._Bn([E]),e.TTD,e.jDz],decls:2,vars:5,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(d,m){1&d&&(e.YNc(0,t,2,1,"ng-container",0),e.YNc(1,i,1,0,"ng-container",1)),2&d&&(e.Q6J("ngIf",!m.render),e.xp6(1),e.Q6J("ngTemplateOutlet",m.render)("ngTemplateOutletContext",e.VKq(3,l,m.i)))},dependencies:[n.ez,n.O5,n.tP],encapsulation:2,changeDetection:0})}return p})(),M=(()=>{class p{static#e=this.\u0275fac=function(d){return new(d||p)};static#t=this.\u0275mod=e.oAB({type:p});static#n=this.\u0275inj=e.cJS({imports:[z]})}return p})()},6595:(tt,I,o)=>{"use strict";o.d(I,{TN:()=>A,Ot:()=>S});var e=o(97582),n=o(65879),t=o(60095);function i(k,R,W){return function j(ze,Y,G){const V=`$$__${Y}`;return Object.prototype.hasOwnProperty.call(ze,V)&&console.warn(`The prop "${V}" is already exist, it will be overrided by ${k} decorator.`),Object.defineProperty(ze,V,{configurable:!0,writable:!0}),{get(){return G&&G.get?G.get.bind(this)():this[V]},set(K){G&&G.set&&G.set.bind(this)(R(K,W)),this[V]=R(K,W)}}}}function l(k,R=!1){return R&&typeof k>"u"?void 0:null!=k&&"false"!=`${k}`}function h(k=!1){return i("InputNumber",l,k)}function E(k,R=0){return isNaN(parseFloat(k))||isNaN(Number(k))?R:Number(k)}function u(k=0){return i("InputNumber",E,k)}var z=o(96814),M=o(49671),p=o(65619),v=o(88407),_=o(63020),d=o(32181);let m=(()=>{class k{constructor(W){this.doc=W,this.list={},this.cached={},this._notify=new p.X([])}fixPaths(W){return W=W||[],Array.isArray(W)||(W=[W]),W.map(j=>{const ze="string"==typeof j?{path:j}:j;return ze.type||(ze.type=ze.path.endsWith(".js")||ze.callback?"script":"style"),ze})}monitor(W){const j=this.fixPaths(W),ze=[(0,_.B)(),(0,d.h)(Y=>0!==Y.length)];return j.length>0&&ze.push((0,d.h)(Y=>Y.length===j.length&&Y.every(G=>"ok"===G.status&&j.find(V=>V.path===G.path)))),this._notify.asObservable().pipe(v.z.apply(this,ze))}clear(){this.list={},this.cached={}}load(W){var j=this;return(0,M.Z)(function*(){return W=j.fixPaths(W),Promise.all(W.map(ze=>"script"===ze.type?j.loadScript(ze.path,{callback:ze.callback}):j.loadStyle(ze.path))).then(ze=>(j._notify.next(ze),Promise.resolve(ze)))})()}loadScript(W,j){const{innerContent:ze}={...j};return new Promise(Y=>{if(!0===this.list[W])return void Y({...this.cached[W],status:"loading"});this.list[W]=!0;const G=ee=>{"ok"===ee.status&&j?.callback?window[j?.callback]=()=>{V(ee)}:V(ee)},V=ee=>{ee.type="script",this.cached[W]=ee,Y(ee),this._notify.next([ee])},K=this.doc.createElement("script");K.type="text/javascript",K.src=W,K.charset="utf-8",ze&&(K.innerHTML=ze),K.readyState?K.onreadystatechange=()=>{("loaded"===K.readyState||"complete"===K.readyState)&&(K.onreadystatechange=null,G({path:W,status:"ok"}))}:K.onload=()=>G({path:W,status:"ok"}),K.onerror=ee=>G({path:W,status:"error",error:ee}),this.doc.getElementsByTagName("head")[0].appendChild(K)})}loadStyle(W,j){const{rel:ze,innerContent:Y}={rel:"stylesheet",...j};return new Promise(G=>{if(!0===this.list[W])return void G(this.cached[W]);this.list[W]=!0;const V=this.doc.createElement("link");V.rel=ze,V.type="text/css",V.href=W,Y&&(V.innerHTML=Y),this.doc.getElementsByTagName("head")[0].appendChild(V);const K={path:W,status:"ok",type:"style"};this.cached[W]=K,G(K)})}}return k.\u0275fac=function(W){return new(W||k)(n.LFG(z.K0))},k.\u0275prov=n.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();function f(k,R){if(1&k&&n._UZ(0,"textarea",3),2&k){const W=n.oxw();n.uIk("id",W.id)("placeholder",W.placeholder)}}function C(k,R){if(1&k&&(n.TgZ(0,"div"),n.Hsn(1),n.qZA()),2&k){const W=n.oxw();n.uIk("id",W.id)}}function T(k,R){if(1&k&&(n.ynx(0),n._uU(1),n.BQk()),2&k){const W=n.oxw(2);n.xp6(1),n.Oqu(W._loading)}}function b(k,R){if(1&k&&(n.TgZ(0,"div",4),n.YNc(1,T,2,1,"ng-container",5),n.qZA()),2&k){const W=n.oxw();n.xp6(1),n.Q6J("ngIf",W._loading)("ngIfElse",W._loadingTpl)}}const D=["*"];class y{constructor(){this.baseURL="./assets/tinymce/",this.fileName="tinymce.min.js"}}const P=!("object"==typeof document&&document);let S=(()=>{class k{set disabled(W){this._disabled=W,this.setDisabled()}set loading(W){W instanceof n.Rgc?(this._loading=null,this._loadingTpl=W):this._loading=W}get instance(){return this._instance}_getWin(){return this.doc.defaultView||window}constructor(W,j,ze,Y,G){this.defConfig=W,this.lazySrv=j,this.ngZone=ze,this.doc=Y,this.cd=G,this.value="",this.load=!0,this.id=`_tinymce-${Math.random().toString(36).substring(2)}`,this.placeholder="",this.inline=!1,this._disabled=!1,this._loading=null,this._loadingTpl=null,this.delay=0,this.ready=new n.vpe}initDelay(){P||setTimeout(()=>this.init(),Math.max(0,this.delay))}init(){const W=this._getWin();if(!W.tinymce)throw new Error("tinymce js\u6587\u4ef6\u52a0\u8f7d\u5931\u8d25");const{defConfig:j,config:ze,id:Y,inline:G}=this;if(this._instance)return;if(j.baseURL){let ee=""+j.baseURL;ee.endsWith("/")&&(ee=ee.substring(0,ee.length-1)),W.tinymce.baseURL=ee}const V={...j.config,...ze},K={selector:"#"+Y,inline:G,...j.config,...ze,setup:ee=>{this._instance=ee,this.onChange&&ee.on("change keyup",()=>{this.value=ee.getContent(),this.ngZone.run(()=>this.onChange(this.value))}),"function"==typeof V.setup&&V.setup(ee)},init_instance_callback:ee=>{ee&&this.value&&ee.setContent(this.value),this.setDisabled(),"function"==typeof V.init_instance_callback&&V.init_instance_callback(ee),this.ready.emit(this._instance)}};V.auto_focus&&(K.auto_focus=Y),this.ngZone.runOutsideAngular(()=>W.tinymce.init(K)),this.load=!1,this.cd.detectChanges()}destroy(){this._instance&&(this.ngZone.runOutsideAngular(()=>{this._instance.off(),this._instance.remove("#"+this.id)}),this._instance=null)}setDisabled(){this._instance&&this.ngZone.runOutsideAngular(()=>{const W=this._disabled?"readonly":"design";"function"==typeof this._instance.setMode?this._instance.setMode(W):this._instance.mode.set(W)})}ngAfterViewInit(){if(P)return;if(this._getWin().tinymce)return void this.initDelay();const{defConfig:W}=this,Y=(W&&W.baseURL||"./assets/tinymce/")+(W&&W.fileName||"tinymce.min.js");this.lazySrv.monitor(Y).subscribe(()=>this.initDelay()),this.lazySrv.load(Y)}ngOnChanges(W){this._instance&&W.config&&(this.destroy(),this.initDelay())}ngOnDestroy(){this.destroy()}writeValue(W){this.value=W||"",this._instance&&this.ngZone.runOutsideAngular(()=>this._instance.setContent(this.value))}registerOnChange(W){this.onChange=W}registerOnTouched(W){this.onTouched=W}setDisabledState(W){this.disabled=W,this.setDisabled()}static#e=this.\u0275fac=function(j){return new(j||k)(n.Y36(y),n.Y36(m),n.Y36(n.R0b),n.Y36(z.K0),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:k,selectors:[["tinymce"]],inputs:{config:"config",placeholder:"placeholder",inline:"inline",disabled:"disabled",loading:"loading",delay:"delay"},outputs:{ready:"ready"},exportAs:["tinymce"],features:[n._Bn([{provide:t.JU,useExisting:(0,n.Gpc)(()=>k),multi:!0}]),n.TTD],ngContentSelectors:D,decls:3,vars:3,consts:[["class","tinymce-selector",4,"ngIf"],[4,"ngIf"],["class","loading",4,"ngIf"],[1,"tinymce-selector"],[1,"loading"],[4,"ngIf","ngIfElse"]],template:function(j,ze){1&j&&(n.F$t(),n.YNc(0,f,1,2,"textarea",0),n.YNc(1,C,2,1,"div",1),n.YNc(2,b,2,2,"div",2)),2&j&&(n.Q6J("ngIf",!ze.inline),n.xp6(1),n.Q6J("ngIf",ze.inline),n.xp6(1),n.Q6J("ngIf",ze.load))},dependencies:[z.O5],styles:["tinymce .tinymce-selector{display:none}\n"],encapsulation:2,changeDetection:0})}return(0,e.gn)([h()],k.prototype,"inline",void 0),(0,e.gn)([h()],k.prototype,"disabled",null),(0,e.gn)([u()],k.prototype,"delay",void 0),k})(),A=(()=>{class k{static forRoot(W){return{ngModule:k,providers:[{provide:y,useValue:W}]}}static#e=this.\u0275fac=function(j){return new(j||k)};static#t=this.\u0275mod=n.oAB({type:k});static#n=this.\u0275inj=n.cJS({imports:[z.ez]})}return k})()},71002:(tt,I,o)=>{"use strict";function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}o.d(I,{Z:()=>e})},97582:(tt,I,o)=>{"use strict";function l(pe,re,De,ae){var ne,ce=arguments.length,X=ce<3?re:null===ae?ae=Object.getOwnPropertyDescriptor(re,De):ae;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)X=Reflect.decorate(pe,re,De,ae);else for(var le=pe.length-1;le>=0;le--)(ne=pe[le])&&(X=(ce<3?ne(X):ce>3?ne(re,De,X):ne(re,De))||X);return ce>3&&X&&Object.defineProperty(re,De,X),X}function v(pe,re,De,ae){return new(De||(De=Promise))(function(X,ne){function le(ke){try{Ne(ae.next(ke))}catch(oe){ne(oe)}}function Se(ke){try{Ne(ae.throw(ke))}catch(oe){ne(oe)}}function Ne(ke){ke.done?X(ke.value):function ce(X){return X instanceof De?X:new De(function(ne){ne(X)})}(ke.value).then(le,Se)}Ne((ae=ae.apply(pe,re||[])).next())})}function y(pe){return this instanceof y?(this.v=pe,this):new y(pe)}function P(pe,re,De){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ce,ae=De.apply(pe,re||[]),X=[];return ce={},ne("next"),ne("throw"),ne("return"),ce[Symbol.asyncIterator]=function(){return this},ce;function ne(_e){ae[_e]&&(ce[_e]=function(Q){return new Promise(function(He,Re){X.push([_e,Q,He,Re])>1||le(_e,Q)})})}function le(_e,Q){try{!function Se(_e){_e.value instanceof y?Promise.resolve(_e.value.v).then(Ne,ke):oe(X[0][2],_e)}(ae[_e](Q))}catch(He){oe(X[0][3],He)}}function Ne(_e){le("next",_e)}function ke(_e){le("throw",_e)}function oe(_e,Q){_e(Q),X.shift(),X.length&&le(X[0][0],X[0][1])}}function A(pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var De,re=pe[Symbol.asyncIterator];return re?re.call(pe):(pe=function f(pe){var re="function"==typeof Symbol&&Symbol.iterator,De=re&&pe[re],ae=0;if(De)return De.call(pe);if(pe&&"number"==typeof pe.length)return{next:function(){return pe&&ae>=pe.length&&(pe=void 0),{value:pe&&pe[ae++],done:!pe}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}(pe),De={},ae("next"),ae("throw"),ae("return"),De[Symbol.asyncIterator]=function(){return this},De);function ae(X){De[X]=pe[X]&&function(ne){return new Promise(function(le,Se){!function ce(X,ne,le,Se){Promise.resolve(Se).then(function(Ne){X({value:Ne,done:le})},ne)}(le,Se,(ne=pe[X](ne)).done,ne.value)})}}}o.d(I,{FC:()=>P,KL:()=>A,gn:()=>l,mG:()=>v,qq:()=>y}),"function"==typeof SuppressedError&&SuppressedError},64775:tt=>{"use strict";tt.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},98:tt=>{"use strict";tt.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},4147:tt=>{"use strict";tt.exports=JSON.parse('{"name":"delon","version":"16.4.0","description":"Delon is a set of essential modules for NG-ALAIN.","keywords":["delon","ng-alain","alain","antd","ng-zorro-antd","angular"],"author":"cipchk ","license":"MIT","bugs":{"url":"https://github.com/ng-alain/ng-alain/issues"},"repository":{"type":"git","url":"git+https://github.com/ng-alain/delon.git"},"homepage":"https://ng-alain.com","engines":{"node":"^16.13.0 || ^18.10.0","yarn":">=1.21.1 <2","npm":"Please use yarn instead of NPM to install dependencies"},"scripts":{"ng-high-memory":"node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng","prepare":"husky install","start":"npm run site:gen && ng s -o --hmr","lint":"bash scripts/ci/lint.sh -ts -less","lint:ts":"eslint --cache . --ext .ts,.html","lint:fix":"eslint --cache . --ext .ts,.html --fix","lint:style":"npx stylelint \'packages/**/*.less\'","test":"ng test --no-progress --browsers=ChromeHeadlessCI --code-coverage --no-watch","test:cli":"bash scripts/ci/build-schematics.sh -t -clone","test:integration":"bash scripts/ci/build-schematics.sh -b -t -clone -integration","build":"bash scripts/ci/build.sh","build_artifacts":"bash scripts/ci/build-artifacts.sh","analyze":"npm run ng-high-memory build -- --source-map","analyze:view":"source-map-explorer src/dist/browser/*.js","site:gen":"node scripts/site/main init && ng-alain-plugin-theme -t=themeCss && ng-alain-plugin-theme -t=colorLess","site:build":"npm run site:gen && ng b site && npm run site:ngsw && npm run site:minify && npm run site:sitemap && npm run site:helper","site:build:ssr":"npm run site:gen && npm run ssr:prerender && npm run site:ngsw && npm run site:minify && npm run site:sitemap && npm run site:helper","site:helper":"bash scripts/ci/helper.sh","site:minify":"node scripts/build/minify.js","site:sitemap":"node scripts/build/sitemap.js","site:ngsw":"node scripts/build/ngsw.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --pkg package.json","pre-publish":"node scripts/publish/publish.js && node scripts/publish/publish-scaffold.js","publish:next":"bash scripts/publish/publish.sh -next","publish":"bash scripts/publish/publish.sh","sync-scaffold-version":"node scripts/publish/sync-scaffold-version.js","ssr":"npm run ng-high-memory run site:serve-ssr","ssr:serve":"node src/dist/server/main.js","ssr:prerender":"npm run ng-high-memory run site:prerender"},"dependencies":{"@angular/animations":"^16.2.0","@angular/common":"^16.2.0","@angular/compiler":"^16.2.0","@angular/core":"^16.2.0","@angular/forms":"^16.2.0","@angular/platform-browser":"^16.2.0","@angular/platform-browser-dynamic":"^16.2.0","@angular/router":"^16.2.0","rxjs":"~7.8.0","tslib":"^2.3.0","zone.js":"~0.13.0","@angular/service-worker":"^16.2.0","@angular/platform-server":"^16.2.0","@angular/elements":"^16.2.0","@antv/data-set":"^0.11.8","@antv/g2":"^4.2.10","echarts":"^5.4.3","@stackblitz/sdk":"^1.9.0","codesandbox":"^2.2.3","ajv":"^8.12.0","ajv-formats":"^2.1.1","extend":"^3.0.2","file-saver":"^2.0.5","ng-github-button":"^16.0.0","ng-zorro-antd":"^16.2.0","ngx-color":"~9.0.0","ngx-countdown":"^16.0.0","ngx-highlight-js":"^16.1.0","ngx-tinymce":"^16.0.0","qrious":"^4.0.2","@webcomponents/custom-elements":"^1.6.0","aos":"^3.0.0-beta.6","@ng-util/monaco-editor":"^16.0.0","@nguniversal/express-engine":"^16.2.0","express":"^4.18.2","isutf8":"^4.0.0","@github/hotkey":"^2.0.1"},"devDependencies":{"@angular-devkit/build-angular":"^16.2.0","@angular/cli":"~16.2.0","@angular/compiler-cli":"^16.2.0","@types/jasmine":"~4.3.0","jasmine-core":"~4.6.0","karma":"~6.4.0","karma-chrome-launcher":"~3.2.0","karma-coverage":"~2.2.0","karma-jasmine":"~5.1.0","karma-jasmine-html-reporter":"~2.1.0","typescript":"~5.1.3","codelyzer":"^6.0.2","jasmine-spec-reporter":"^7.0.0","protractor":"~7.0.0","ts-node":"~10.9.1","@angular/language-service":"^16.2.0","@types/jasminewd2":"~2.0.10","karma-junit-reporter":"^2.0.1","karma-spec-reporter":"0.0.36","karma-viewport":"^1.0.9","@types/aos":"^3.0.4","@types/file-saver":"^2.0.5","@types/deep-extend":"^0.6.0","@types/extend":"^3.0.1","@types/mockjs":"^1.0.7","@types/parse5":"^7.0.0","karma-summary-reporter":"^3.1.1","karma-parallel":"^0.3.1","chalk":"^5.3.0","codecov":"^3.8.3","conventional-changelog-cli":"^4.0.0","fs-extra":"^11.1.1","@types/fs-extra":"^11.0.1","husky":"^8.0.3","jsonml.js":"^0.1.0","klaw-sync":"^6.0.0","less-vars-to-js":"^1.3.0","less-plugin-clean-css":"^1.5.1","less-plugin-npm-import":"^2.1.0","mark-twain":"^2.0.3","mockjs":"^1.1.0","mustache":"^4.2.0","ng-packagr":"^16.2.1","parse5":"^7.1.2","prettier":"^3.0.2","readline-sync":"^1.4.10","stream":"0.0.2","stylelint":"^15.10.3","stylelint-config-rational-order":"^0.1.2","stylelint-config-standard":"^34.0.0","stylelint-declaration-block-no-ignored-properties":"^2.7.0","stylelint-order":"^6.0.3","source-map-explorer":"^2.5.3","xlsx":"^0.18.5","jszip":"^3.10.1","plyr":"^3.7.8","screenfull":"^6.0.2","less-bundle-promise":"^1.0.11","ng-alain-codelyzer":"^0.0.1","ng-alain-sts":"^0.0.2","ng-alain-plugin-theme":"^15.0.1","tsconfig-paths":"^4.2.0","@nguniversal/builders":"^16.2.0","@types/express":"^4.17.17","html-minifier-terser":"^7.2.0","terser":"^5.19.2","@commitlint/cli":"^17.7.1","@commitlint/config-angular":"^17.7.0","@angular-eslint/builder":"~16.1.1","@angular-eslint/eslint-plugin":"~16.1.1","@angular-eslint/eslint-plugin-template":"~16.1.1","@angular-eslint/schematics":"~16.1.1","@angular-eslint/template-parser":"~16.1.1","@typescript-eslint/eslint-plugin":"~6.4.1","@typescript-eslint/parser":"~6.4.1","eslint":"^8.48.0","eslint-config-prettier":"~9.0.0","eslint-plugin-import":"~2.28.1","eslint-plugin-jsdoc":"~46.5.0","eslint-plugin-prefer-arrow":"~1.2.3","eslint-plugin-prettier":"~5.0.0","eslint-plugin-deprecation":"~1.5.0","lint-staged":"^14.0.1","raw-loader":"^4.0.2","swagger-typescript-api":"^12.0.4","sitemap":"^7.1.1"},"lint-staged":{"(schematics|scripts|packages)/**/!(tslint-rules|testing)/!(polyfills).{html,ts}":["eslint --fix"],"packages/**/*.less":["npm run lint:style"]}}')}},tt=>{tt(tt.s=3975)}]); \ No newline at end of file + deps: ${M}}`};const i={keyword:"dependencies",type:"object",schemaType:"object",error:I.error,code(u){const[z,M]=function l({schema:u}){const z={},M={};for(const p in u)"__proto__"!==p&&((Array.isArray(u[p])?z:M)[p]=u[p]);return[z,M]}(u);h(u,z),E(u,M)}};function h(u,z=u.schema){const{gen:M,data:p,it:v}=u;if(0===Object.keys(z).length)return;const _=M.let("missing");for(const d in z){const m=z[d];if(0===m.length)continue;const f=(0,t.propertyInData)(M,p,d,v.opts.ownProperties);u.setParams({property:d,depsCount:m.length,deps:m.join(", ")}),v.allErrors?M.if(f,()=>{for(const C of m)(0,t.checkReportMissingProp)(u,C)}):(M.if(e._`${f} && (${(0,t.checkMissingProp)(u,m,_)})`),(0,t.reportMissingProp)(u,_),M.else())}}function E(u,z=u.schema){const{gen:M,data:p,keyword:v,it:_}=u,d=M.name("valid");for(const m in z)(0,n.alwaysValidSchema)(_,z[m])||(M.if((0,t.propertyInData)(M,p,m,_.opts.ownProperties),()=>{const f=u.subschema({keyword:v,schemaProp:m},d);u.mergeValidEvaluated(f,d)},()=>M.var(d,!0)),u.ok(d))}I.validatePropertyDeps=h,I.validateSchemaDeps=E,I.default=i},70486:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754);function l(h,E){const u=h.schema[E];return void 0!==u&&!(0,n.alwaysValidSchema)(h,u)}I.default={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:h})=>e.str`must match "${h.ifClause}" schema`,params:({params:h})=>e._`{failingKeyword: ${h.ifClause}}`},code(h){const{gen:E,parentSchema:u,it:z}=h;void 0===u.then&&void 0===u.else&&(0,n.checkStrictMode)(z,'"if" without "then" and "else" is ignored');const M=l(z,"then"),p=l(z,"else");if(!M&&!p)return;const v=E.let("valid",!0),_=E.name("_valid");if(function d(){const f=h.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},_);h.mergeEvaluated(f)}(),h.reset(),M&&p){const f=E.let("ifClause");h.setParams({ifClause:f}),E.if(_,m("then",f),m("else",f))}else M?E.if(_,m("then")):E.if((0,e.not)(_),m("else"));function m(f,C){return()=>{const T=h.subschema({keyword:f},_);E.assign(v,_),h.mergeValidEvaluated(T,v),C?E.assign(C,e._`${f}`):h.setParams({ifClause:f})}}h.pass(v,()=>h.error(!0))}}},69845:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(92952),n=o(45281),t=o(33013),i=o(33691),l=o(51006),h=o(91804),E=o(87110),u=o(50746),z=o(12505),M=o(57655),p=o(60603),v=o(24651),_=o(60312),d=o(19466),m=o(70486),f=o(70632);I.default=function C(T=!1){const b=[p.default,v.default,_.default,d.default,m.default,f.default,E.default,u.default,h.default,z.default,M.default];return T?b.push(n.default,i.default):b.push(e.default,t.default),b.push(l.default),b}},33013:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.validateTuple=void 0;const e=o(10117),n=o(78754),t=o(89508),i={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(h){const{schema:E,it:u}=h;if(Array.isArray(E))return l(h,"additionalItems",E);u.items=!0,!(0,n.alwaysValidSchema)(u,E)&&h.ok((0,t.validateArray)(h))}};function l(h,E,u=h.schema){const{gen:z,parentSchema:M,data:p,keyword:v,it:_}=h;(function f(C){const{opts:T,errSchemaPath:b}=_,D=u.length;T.strictTuples&&!(D===C.minItems&&(D===C.maxItems||!1===C[E]))&&(0,n.checkStrictMode)(_,`"${v}" is ${D}-tuple, but minItems or maxItems/${E} are not specified or different at path "${b}"`,T.strictTuples)})(M),_.opts.unevaluated&&u.length&&!0!==_.items&&(_.items=n.mergeEvaluated.items(z,u.length,_.items));const d=z.name("valid"),m=z.const("len",e._`${p}.length`);u.forEach((C,T)=>{(0,n.alwaysValidSchema)(_,C)||(z.if(e._`${m} > ${T}`,()=>h.subschema({keyword:v,schemaProp:T,dataProp:T},d)),h.ok(d))})}I.validateTuple=l,I.default=i},33691:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754),t=o(89508),i=o(92952);I.default={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:E}})=>e.str`must NOT have more than ${E} items`,params:({params:{len:E}})=>e._`{limit: ${E}}`},code(E){const{schema:u,parentSchema:z,it:M}=E,{prefixItems:p}=z;M.items=!0,!(0,n.alwaysValidSchema)(M,u)&&(p?(0,i.validateAdditionalItems)(E,p):E.ok((0,t.validateArray)(E)))}}},60603:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(78754);I.default={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){const{gen:i,schema:l,it:h}=t;if((0,e.alwaysValidSchema)(h,l))return void t.fail();const E=i.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},E),t.failResult(E,()=>t.reset(),()=>t.error())},error:{message:"must NOT be valid"}}},60312:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754);I.default={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:l})=>e._`{passingSchemas: ${l.passing}}`},code(l){const{gen:h,schema:E,parentSchema:u,it:z}=l;if(!Array.isArray(E))throw new Error("ajv implementation error");if(z.opts.discriminator&&u.discriminator)return;const M=E,p=h.let("valid",!1),v=h.let("passing",null),_=h.name("_valid");l.setParams({passing:v}),h.block(function d(){M.forEach((m,f)=>{let C;(0,n.alwaysValidSchema)(z,m)?h.var(_,!0):C=l.subschema({keyword:"oneOf",schemaProp:f,compositeRule:!0},_),f>0&&h.if(e._`${_} && ${p}`).assign(p,!1).assign(v,e._`[${v}, ${f}]`).else(),h.if(_,()=>{h.assign(p,!0),h.assign(v,f),C&&l.mergeEvaluated(C,e.Name)})})}),l.result(p,()=>l.reset(),()=>l.error(!0))}}},57655:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(89508),n=o(10117),t=o(78754),i=o(78754);I.default={keyword:"patternProperties",type:"object",schemaType:"object",code(h){const{gen:E,schema:u,data:z,parentSchema:M,it:p}=h,{opts:v}=p,_=(0,e.allSchemaProperties)(u),d=_.filter(y=>(0,t.alwaysValidSchema)(p,u[y]));if(0===_.length||d.length===_.length&&(!p.opts.unevaluated||!0===p.props))return;const m=v.strictSchema&&!v.allowMatchingProperties&&M.properties,f=E.name("valid");!0!==p.props&&!(p.props instanceof n.Name)&&(p.props=(0,i.evaluatedPropsToName)(E,p.props));const{props:C}=p;function b(y){for(const P in m)new RegExp(y).test(P)&&(0,t.checkStrictMode)(p,`property ${P} matches pattern ${y} (use allowMatchingProperties)`)}function D(y){E.forIn("key",z,P=>{E.if(n._`${(0,e.usePattern)(h,y)}.test(${P})`,()=>{const S=d.includes(y);S||h.subschema({keyword:"patternProperties",schemaProp:y,dataProp:P,dataPropType:i.Type.Str},f),p.opts.unevaluated&&!0!==C?E.assign(n._`${C}[${P}]`,!0):!S&&!p.allErrors&&E.if((0,n.not)(f),()=>E.break())})})}!function T(){for(const y of _)m&&b(y),p.allErrors?D(y):(E.var(f,!0),D(y),E.if(f))}()}}},45281:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(33013);I.default={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,e.validateTuple)(t,"items")}},12505:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(62175),n=o(89508),t=o(78754),i=o(50746);I.default={keyword:"properties",type:"object",schemaType:"object",code(h){const{gen:E,schema:u,parentSchema:z,data:M,it:p}=h;"all"===p.opts.removeAdditional&&void 0===z.additionalProperties&&i.default.code(new e.KeywordCxt(p,i.default,"additionalProperties"));const v=(0,n.allSchemaProperties)(u);for(const C of v)p.definedProperties.add(C);p.opts.unevaluated&&v.length&&!0!==p.props&&(p.props=t.mergeEvaluated.props(E,(0,t.toHash)(v),p.props));const _=v.filter(C=>!(0,t.alwaysValidSchema)(p,u[C]));if(0===_.length)return;const d=E.name("valid");for(const C of _)m(C)?f(C):(E.if((0,n.propertyInData)(E,M,C,p.opts.ownProperties)),f(C),p.allErrors||E.else().var(d,!0),E.endIf()),h.it.definedProperties.add(C),h.ok(d);function m(C){return p.opts.useDefaults&&!p.compositeRule&&void 0!==u[C].default}function f(C){h.subschema({keyword:"properties",schemaProp:C,dataProp:C},d)}}}},87110:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754);I.default={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:l})=>e._`{propertyName: ${l.propertyName}}`},code(l){const{gen:h,schema:E,data:u,it:z}=l;if((0,n.alwaysValidSchema)(z,E))return;const M=h.name("valid");h.forIn("key",u,p=>{l.setParams({propertyName:p}),l.subschema({keyword:"propertyNames",data:p,dataTypes:["string"],propertyName:p,compositeRule:!0},M),h.if((0,e.not)(M),()=>{l.error(!0),z.allErrors||h.break()})}),l.ok(M)}}},70632:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(78754);I.default={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:i,it:l}){void 0===i.if&&(0,e.checkStrictMode)(l,`"${t}" without "if" is ignored`)}}},89508:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.validateUnion=I.validateArray=I.usePattern=I.callValidateCode=I.schemaProperties=I.allSchemaProperties=I.noPropertyInData=I.propertyInData=I.isOwnProperty=I.hasPropFunc=I.reportMissingProp=I.checkMissingProp=I.checkReportMissingProp=void 0;const e=o(10117),n=o(78754),t=o(25631),i=o(78754);function u(b){return b.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:e._`Object.prototype.hasOwnProperty`})}function z(b,D,y){return e._`${u(b)}.call(${D}, ${y})`}function p(b,D,y,P){const S=e._`${D}${(0,e.getProperty)(y)} === undefined`;return P?(0,e.or)(S,(0,e.not)(z(b,D,y))):S}function v(b){return b?Object.keys(b).filter(D=>"__proto__"!==D):[]}I.checkReportMissingProp=function l(b,D){const{gen:y,data:P,it:S}=b;y.if(p(y,P,D,S.opts.ownProperties),()=>{b.setParams({missingProperty:e._`${D}`},!0),b.error()})},I.checkMissingProp=function h({gen:b,data:D,it:{opts:y}},P,S){return(0,e.or)(...P.map(A=>(0,e.and)(p(b,D,A,y.ownProperties),e._`${S} = ${A}`)))},I.reportMissingProp=function E(b,D){b.setParams({missingProperty:D},!0),b.error()},I.hasPropFunc=u,I.isOwnProperty=z,I.propertyInData=function M(b,D,y,P){const S=e._`${D}${(0,e.getProperty)(y)} !== undefined`;return P?e._`${S} && ${z(b,D,y)}`:S},I.noPropertyInData=p,I.allSchemaProperties=v,I.schemaProperties=function _(b,D){return v(D).filter(y=>!(0,n.alwaysValidSchema)(b,D[y]))},I.callValidateCode=function d({schemaCode:b,data:D,it:{gen:y,topSchemaRef:P,schemaPath:S,errorPath:A},it:k},R,W,j){const ze=j?e._`${b}, ${D}, ${P}${S}`:D,Y=[[t.default.instancePath,(0,e.strConcat)(t.default.instancePath,A)],[t.default.parentData,k.parentData],[t.default.parentDataProperty,k.parentDataProperty],[t.default.rootData,t.default.rootData]];k.opts.dynamicRef&&Y.push([t.default.dynamicAnchors,t.default.dynamicAnchors]);const G=e._`${ze}, ${y.object(...Y)}`;return W!==e.nil?e._`${R}.call(${W}, ${G})`:e._`${R}(${G})`};const m=e._`new RegExp`;I.usePattern=function f({gen:b,it:{opts:D}},y){const P=D.unicodeRegExp?"u":"",{regExp:S}=D.code,A=S(y,P);return b.scopeValue("pattern",{key:A.toString(),ref:A,code:e._`${"new RegExp"===S.code?m:(0,i.useFunc)(b,S)}(${y}, ${P})`})},I.validateArray=function C(b){const{gen:D,data:y,keyword:P,it:S}=b,A=D.name("valid");if(S.allErrors){const R=D.let("valid",!0);return k(()=>D.assign(R,!1)),R}return D.var(A,!0),k(()=>D.break()),A;function k(R){const W=D.const("len",e._`${y}.length`);D.forRange("i",0,W,j=>{b.subschema({keyword:P,dataProp:j,dataPropType:n.Type.Num},A),D.if((0,e.not)(A),R)})}},I.validateUnion=function T(b){const{gen:D,schema:y,keyword:P,it:S}=b;if(!Array.isArray(y))throw new Error("ajv implementation error");if(y.some(W=>(0,n.alwaysValidSchema)(S,W))&&!S.opts.unevaluated)return;const k=D.let("valid",!1),R=D.name("_valid");D.block(()=>y.forEach((W,j)=>{const ze=b.subschema({keyword:P,schemaProp:j,compositeRule:!0},R);D.assign(k,e._`${k} || ${R}`),b.mergeValidEvaluated(ze,R)||D.if((0,e.not)(k))})),b.result(k,()=>b.reset(),()=>b.error(!0))}},51141:(tt,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}}},54402:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(51141),n=o(26119);I.default=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,n.default]},26119:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.callRef=I.getValidate=void 0;const e=o(95695),n=o(89508),t=o(10117),i=o(25631),l=o(24317),h=o(78754),E={keyword:"$ref",schemaType:"string",code(M){const{gen:p,schema:v,it:_}=M,{baseId:d,schemaEnv:m,validateName:f,opts:C,self:T}=_,{root:b}=m;if(("#"===v||"#/"===v)&&d===b.baseId)return function y(){if(m===b)return z(M,f,m,m.$async);const A=p.scopeValue("root",{ref:b});return z(M,t._`${A}.validate`,b,b.$async)}();const D=l.resolveRef.call(T,b,d,v);if(void 0===D)throw new e.default(_.opts.uriResolver,d,v);return D instanceof l.SchemaEnv?function P(A){const k=u(M,A);z(M,k,A,A.$async)}(D):function S(A){const k=p.scopeValue("schema",!0===C.code.source?{ref:A,code:(0,t.stringify)(A)}:{ref:A}),R=p.name("valid"),W=M.subschema({schema:A,dataTypes:[],schemaPath:t.nil,topSchemaRef:k,errSchemaPath:v},R);M.mergeEvaluated(W),M.ok(R)}(D)}};function u(M,p){const{gen:v}=M;return p.validate?v.scopeValue("validate",{ref:p.validate}):t._`${v.scopeValue("wrapper",{ref:p})}.validate`}function z(M,p,v,_){const{gen:d,it:m}=M,{allErrors:f,schemaEnv:C,opts:T}=m,b=T.passContext?i.default.this:t.nil;function P(A){const k=t._`${A}.errors`;d.assign(i.default.vErrors,t._`${i.default.vErrors} === null ? ${k} : ${i.default.vErrors}.concat(${k})`),d.assign(i.default.errors,t._`${i.default.vErrors}.length`)}function S(A){var k;if(!m.opts.unevaluated)return;const R=null===(k=v?.validate)||void 0===k?void 0:k.evaluated;if(!0!==m.props)if(R&&!R.dynamicProps)void 0!==R.props&&(m.props=h.mergeEvaluated.props(d,R.props,m.props));else{const W=d.var("props",t._`${A}.evaluated.props`);m.props=h.mergeEvaluated.props(d,W,m.props,t.Name)}if(!0!==m.items)if(R&&!R.dynamicItems)void 0!==R.items&&(m.items=h.mergeEvaluated.items(d,R.items,m.items));else{const W=d.var("items",t._`${A}.evaluated.items`);m.items=h.mergeEvaluated.items(d,W,m.items,t.Name)}}_?function D(){if(!C.$async)throw new Error("async schema referenced by sync schema");const A=d.let("valid");d.try(()=>{d.code(t._`await ${(0,n.callValidateCode)(M,p,b)}`),S(p),f||d.assign(A,!0)},k=>{d.if(t._`!(${k} instanceof ${m.ValidationError})`,()=>d.throw(k)),P(k),f||d.assign(A,!1)}),M.ok(A)}():function y(){M.result((0,n.callValidateCode)(M,p,b),()=>S(p),()=>P(p))}()}I.getValidate=u,I.callRef=z,I.default=E},96081:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(75746),t=o(24317),i=o(78754);I.default={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:E,tagName:u}})=>E===n.DiscrError.Tag?`tag "${u}" must be string`:`value of tag "${u}" must be in oneOf`,params:({params:{discrError:E,tag:u,tagName:z}})=>e._`{error: ${E}, tag: ${z}, tagValue: ${u}}`},code(E){const{gen:u,data:z,schema:M,parentSchema:p,it:v}=E,{oneOf:_}=p;if(!v.opts.discriminator)throw new Error("discriminator: requires discriminator option");const d=M.propertyName;if("string"!=typeof d)throw new Error("discriminator: requires propertyName");if(M.mapping)throw new Error("discriminator: mapping is not supported");if(!_)throw new Error("discriminator: requires oneOf keyword");const m=u.let("valid",!1),f=u.const("tag",e._`${z}${(0,e.getProperty)(d)}`);function T(D){const y=u.name("valid"),P=E.subschema({keyword:"oneOf",schemaProp:D},y);return E.mergeEvaluated(P,e.Name),y}u.if(e._`typeof ${f} == "string"`,()=>function C(){const D=function b(){var D;const y={},P=A(p);let S=!0;for(let W=0;W<_.length;W++){let j=_[W];j?.$ref&&!(0,i.schemaHasRulesButRef)(j,v.self.RULES)&&(j=t.resolveRef.call(v.self,v.schemaEnv.root,v.baseId,j?.$ref),j instanceof t.SchemaEnv&&(j=j.schema));const ze=null===(D=j?.properties)||void 0===D?void 0:D[d];if("object"!=typeof ze)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${d}"`);S=S&&(P||A(j)),k(ze,W)}if(!S)throw new Error(`discriminator: "${d}" must be required`);return y;function A({required:W}){return Array.isArray(W)&&W.includes(d)}function k(W,j){if(W.const)R(W.const,j);else{if(!W.enum)throw new Error(`discriminator: "properties/${d}" must have "const" or "enum"`);for(const ze of W.enum)R(ze,j)}}function R(W,j){if("string"!=typeof W||W in y)throw new Error(`discriminator: "${d}" values must be unique strings`);y[W]=j}}();u.if(!1);for(const y in D)u.elseIf(e._`${f} === ${y}`),u.assign(m,T(D[y]));u.else(),E.error(!1,{discrError:n.DiscrError.Mapping,tag:f,tagName:d}),u.endIf()}(),()=>E.error(!1,{discrError:n.DiscrError.Tag,tag:f,tagName:d})),E.ok(m)}}},75746:(tt,I)=>{"use strict";var e;Object.defineProperty(I,"__esModule",{value:!0}),I.DiscrError=void 0,(e=I.DiscrError||(I.DiscrError={})).Tag="tag",e.Mapping="mapping"},8677:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(54402),n=o(81495),t=o(69845),i=o(92389),l=o(50836),h=[e.default,n.default,(0,t.default)(),i.default,l.metadataVocabulary,l.contentVocabulary];I.default=h},40229:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117);I.default={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:i})=>e.str`must match format "${i}"`,params:({schemaCode:i})=>e._`{format: ${i}}`},code(i,l){const{gen:h,data:E,$data:u,schema:z,schemaCode:M,it:p}=i,{opts:v,errSchemaPath:_,schemaEnv:d,self:m}=p;v.validateFormats&&(u?function f(){const T=h.scopeValue("formats",{ref:m.formats,code:v.code.formats}),b=h.const("fDef",e._`${T}[${M}]`),D=h.let("fType"),y=h.let("format");h.if(e._`typeof ${b} == "object" && !(${b} instanceof RegExp)`,()=>h.assign(D,e._`${b}.type || "string"`).assign(y,e._`${b}.validate`),()=>h.assign(D,e._`"string"`).assign(y,b)),i.fail$data((0,e.or)(function P(){return!1===v.strictSchema?e.nil:e._`${M} && !${y}`}(),function S(){const A=d.$async?e._`(${b}.async ? await ${y}(${E}) : ${y}(${E}))`:e._`${y}(${E})`,k=e._`(typeof ${y} == "function" ? ${A} : ${y}.test(${E}))`;return e._`${y} && ${y} !== true && ${D} === ${l} && !${k}`}()))}():function C(){const T=m.formats[z];if(!T)return void function P(){if(!1!==v.strictSchema)throw new Error(k());function k(){return`unknown format "${z}" ignored in schema at path "${_}"`}m.logger.warn(k())}();if(!0===T)return;const[b,D,y]=function S(k){const R=k instanceof RegExp?(0,e.regexpCode)(k):v.code.formats?e._`${v.code.formats}${(0,e.getProperty)(z)}`:void 0,W=h.scopeValue("formats",{key:z,ref:k,code:R});return"object"!=typeof k||k instanceof RegExp?["string",k,W]:[k.type||"string",k.validate,e._`${W}.validate`]}(T);b===l&&i.pass(function A(){if("object"==typeof T&&!(T instanceof RegExp)&&T.async){if(!d.$async)throw new Error("async format in sync schema");return e._`await ${y}(${E})`}return"function"==typeof D?e._`${y}(${E})`:e._`${y}.test(${E})`}())}())}}},92389:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const n=[o(40229).default];I.default=n},50836:(tt,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.contentVocabulary=I.metadataVocabulary=void 0,I.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],I.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},26316:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754),t=o(74747);I.default={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:h})=>e._`{allowedValue: ${h}}`},code(h){const{gen:E,data:u,$data:z,schemaCode:M,schema:p}=h;z||p&&"object"==typeof p?h.fail$data(e._`!${(0,n.useFunc)(E,t.default)}(${u}, ${M})`):h.fail(e._`${p} !== ${u}`)}}},18618:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754),t=o(74747);I.default={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:h})=>e._`{allowedValues: ${h}}`},code(h){const{gen:E,data:u,$data:z,schema:M,schemaCode:p,it:v}=h;if(!z&&0===M.length)throw new Error("enum must have non-empty array");let d;const m=()=>d??(d=(0,n.useFunc)(E,t.default));let f;if(M.length>=v.opts.loopEnum||z)f=E.let("valid"),h.block$data(f,function C(){E.assign(f,!1),E.forOf("v",p,b=>E.if(e._`${m()}(${u}, ${b})`,()=>E.assign(f,!0).break()))});else{if(!Array.isArray(M))throw new Error("ajv implementation error");const b=E.const("vSchema",p);f=(0,e.or)(...M.map((D,y)=>function T(b,D){const y=M[D];return"object"==typeof y&&null!==y?e._`${m()}(${u}, ${b}[${D}])`:e._`${u} === ${y}`}(b,y)))}h.pass(f)}}},81495:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(89587),n=o(29896),t=o(33260),i=o(50216),l=o(59726),h=o(363),E=o(70507),u=o(17143),z=o(26316),M=o(18618);I.default=[e.default,n.default,t.default,i.default,l.default,h.default,E.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},z.default,M.default]},70507:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117);I.default={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message:({keyword:i,schemaCode:l})=>e.str`must NOT have ${"maxItems"===i?"more":"fewer"} than ${l} items`,params:({schemaCode:i})=>e._`{limit: ${i}}`},code(i){const{keyword:l,data:h,schemaCode:E}=i;i.fail$data(e._`${h}.length ${"maxItems"===l?e.operators.GT:e.operators.LT} ${E}`)}}},33260:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=o(78754),t=o(81197);I.default={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message:({keyword:h,schemaCode:E})=>e.str`must NOT have ${"maxLength"===h?"more":"fewer"} than ${E} characters`,params:({schemaCode:h})=>e._`{limit: ${h}}`},code(h){const{keyword:E,data:u,schemaCode:z,it:M}=h,p="maxLength"===E?e.operators.GT:e.operators.LT,v=!1===M.opts.unicode?e._`${u}.length`:e._`${(0,n.useFunc)(h.gen,t.default)}(${u})`;h.fail$data(e._`${v} ${p} ${z}`)}}},89587:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117),n=e.operators,t={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},i={message:({keyword:h,schemaCode:E})=>e.str`must be ${t[h].okStr} ${E}`,params:({keyword:h,schemaCode:E})=>e._`{comparison: ${t[h].okStr}, limit: ${E}}`},l={keyword:Object.keys(t),type:"number",schemaType:"number",$data:!0,error:i,code(h){const{keyword:E,data:u,schemaCode:z}=h;h.fail$data(e._`${u} ${t[E].fail} ${z} || isNaN(${u})`)}};I.default=l},59726:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117);I.default={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message:({keyword:i,schemaCode:l})=>e.str`must NOT have ${"maxProperties"===i?"more":"fewer"} than ${l} properties`,params:({schemaCode:i})=>e._`{limit: ${i}}`},code(i){const{keyword:l,data:h,schemaCode:E}=i;i.fail$data(e._`Object.keys(${h}).length ${"maxProperties"===l?e.operators.GT:e.operators.LT} ${E}`)}}},29896:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(10117);I.default={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:i})=>e.str`must be multiple of ${i}`,params:({schemaCode:i})=>e._`{multipleOf: ${i}}`},code(i){const{gen:l,data:h,schemaCode:E,it:u}=i,z=u.opts.multipleOfPrecision,M=l.let("res"),p=z?e._`Math.abs(Math.round(${M}) - ${M}) > 1e-${z}`:e._`${M} !== parseInt(${M})`;i.fail$data(e._`(${E} === 0 || (${M} = ${h}/${E}, ${p}))`)}}},50216:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(89508),n=o(10117);I.default={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:l})=>n.str`must match pattern "${l}"`,params:({schemaCode:l})=>n._`{pattern: ${l}}`},code(l){const{data:h,$data:E,schema:u,schemaCode:z,it:M}=l,v=E?n._`(new RegExp(${z}, ${M.opts.unicodeRegExp?"u":""}))`:(0,e.usePattern)(l,u);l.fail$data(n._`!${v}.test(${h})`)}}},363:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(89508),n=o(10117),t=o(78754);I.default={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:h}})=>n.str`must have required property '${h}'`,params:({params:{missingProperty:h}})=>n._`{missingProperty: ${h}}`},code(h){const{gen:E,schema:u,schemaCode:z,data:M,$data:p,it:v}=h,{opts:_}=v;if(!p&&0===u.length)return;const d=u.length>=_.loopRequired;if(v.allErrors?function m(){if(d||p)h.block$data(n.nil,C);else for(const b of u)(0,e.checkReportMissingProp)(h,b)}():function f(){const b=E.let("missing");if(d||p){const D=E.let("valid",!0);h.block$data(D,()=>function T(b,D){h.setParams({missingProperty:b}),E.forOf(b,z,()=>{E.assign(D,(0,e.propertyInData)(E,M,b,_.ownProperties)),E.if((0,n.not)(D),()=>{h.error(),E.break()})},n.nil)}(b,D)),h.ok(D)}else E.if((0,e.checkMissingProp)(h,u,b)),(0,e.reportMissingProp)(h,b),E.else()}(),_.strictRequired){const b=h.parentSchema.properties,{definedProperties:D}=h.it;for(const y of u)void 0!==b?.[y]||D.has(y)||(0,t.checkStrictMode)(v,`required property "${y}" is not defined at "${v.schemaEnv.baseId+v.errSchemaPath}" (strictRequired)`,v.opts.strictRequired)}function C(){E.forOf("prop",z,b=>{h.setParams({missingProperty:b}),E.if((0,e.noPropertyInData)(E,M,b,_.ownProperties),()=>h.error())})}}}},17143:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});const e=o(84730),n=o(10117),t=o(78754),i=o(74747);I.default={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:E,j:u}})=>n.str`must NOT have duplicate items (items ## ${u} and ${E} are identical)`,params:({params:{i:E,j:u}})=>n._`{i: ${E}, j: ${u}}`},code(E){const{gen:u,data:z,$data:M,schema:p,parentSchema:v,schemaCode:_,it:d}=E;if(!M&&!p)return;const m=u.let("valid"),f=v.items?(0,e.getSchemaTypes)(v.items):[];function b(y,P){const S=u.name("item"),A=(0,e.checkDataTypes)(f,S,d.opts.strictNumbers,e.DataType.Wrong),k=u.const("indices",n._`{}`);u.for(n._`;${y}--;`,()=>{u.let(S,n._`${z}[${y}]`),u.if(A,n._`continue`),f.length>1&&u.if(n._`typeof ${S} == "string"`,n._`${S} += "_"`),u.if(n._`typeof ${k}[${S}] == "number"`,()=>{u.assign(P,n._`${k}[${S}]`),E.error(),u.assign(m,!1).break()}).code(n._`${k}[${S}] = ${y}`)})}function D(y,P){const S=(0,t.useFunc)(u,i.default),A=u.name("outer");u.label(A).for(n._`;${y}--;`,()=>u.for(n._`${P} = ${y}; ${P}--;`,()=>u.if(n._`${S}(${z}[${y}], ${z}[${P}])`,()=>{E.error(),u.assign(m,!1).break(A)})))}E.block$data(m,function C(){const y=u.let("i",n._`${z}.length`),P=u.let("j");E.setParams({i:y,j:P}),u.assign(m,!0),u.if(n._`${y} > 1`,()=>(function T(){return f.length>0&&!f.some(y=>"object"===y||"array"===y)}()?b:D)(y,P))},n._`${_} === false`),E.ok(m)}}},99402:function(tt){tt.exports=function(){"use strict";var I=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o="Expected a function",e=NaN,n="[object Symbol]",t=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,h=/^0o[0-7]+$/i,E=parseInt,z="object"==typeof self&&self&&self.Object===Object&&self,M="object"==typeof I&&I&&I.Object===Object&&I||z||Function("return this")(),p=Object.prototype.toString,v=Math.max,_=Math.min,d=function(){return M.Date.now()};function f(Le){var ht=typeof Le;return!!Le&&("object"==ht||"function"==ht)}function C(Le){if("number"==typeof Le)return Le;if("symbol"==typeof(Lt=Le)||(Wt=Lt)&&"object"==typeof Wt&&p.call(Lt)==n)return e;var Lt,Wt;if(f(Le)){var ht="function"==typeof Le.valueOf?Le.valueOf():Le;Le=f(ht)?ht+"":ht}if("string"!=typeof Le)return 0===Le?Le:+Le;Le=Le.replace(t,"");var Ot=l.test(Le);return Ot||h.test(Le)?E(Le.slice(2),Ot?2:8):i.test(Le)?e:+Le}var T=function(Le,ht,Ot){var Lt=!0,Wt=!0;if("function"!=typeof Le)throw new TypeError(o);return f(Ot)&&(Lt="leading"in Ot?!!Ot.leading:Lt,Wt="trailing"in Ot?!!Ot.trailing:Wt),function m(Le,ht,Ot){var Lt,Wt,qt,en,Vt,cn,ft=0,gt=!1,Ie=!1,Ct=!0;if("function"!=typeof Le)throw new TypeError(o);function Nt(fe){var Xe=Lt,ge=Wt;return Lt=Wt=void 0,ft=fe,en=Le.apply(ge,Xe)}function kt(fe){var Xe=fe-cn;return void 0===cn||Xe>=ht||Xe<0||Ie&&fe-ft>=qt}function St(){var Xe,ge,fe=d();if(kt(fe))return qe(fe);Vt=setTimeout(St,(ge=ht-((Xe=fe)-cn),Ie?_(ge,qt-(Xe-ft)):ge))}function qe(fe){return Vt=void 0,Ct&&Lt?Nt(fe):(Lt=Wt=void 0,en)}function Fe(){var ge,fe=d(),Xe=kt(fe);if(Lt=arguments,Wt=this,cn=fe,Xe){if(void 0===Vt)return ft=ge=cn,Vt=setTimeout(St,ht),gt?Nt(ge):en;if(Ie)return Vt=setTimeout(St,ht),Nt(cn)}return void 0===Vt&&(Vt=setTimeout(St,ht)),en}return ht=C(ht)||0,f(Ot)&&(gt=!!Ot.leading,qt=(Ie="maxWait"in Ot)?v(C(Ot.maxWait)||0,ht):qt,Ct="trailing"in Ot?!!Ot.trailing:Ct),Fe.cancel=function(){void 0!==Vt&&clearTimeout(Vt),ft=0,Lt=cn=Wt=Vt=void 0},Fe.flush=function(){return void 0===Vt?en:qe(d())},Fe}(Le,ht,{leading:Lt,maxWait:ht,trailing:Wt})},P=/^\s+|\s+$/g,S=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,k=/^0o[0-7]+$/i,R=parseInt,j="object"==typeof self&&self&&self.Object===Object&&self,ze="object"==typeof I&&I&&I.Object===Object&&I||j||Function("return this")(),Y=Object.prototype.toString,G=Math.max,V=Math.min,K=function(){return ze.Date.now()};function ee(Le){var ht=typeof Le;return!!Le&&("object"==ht||"function"==ht)}function te(Le){if("number"==typeof Le)return Le;if("symbol"==typeof(Lt=Le)||(Wt=Lt)&&"object"==typeof Wt&&"[object Symbol]"==Y.call(Lt))return NaN;var Lt,Wt;if(ee(Le)){var ht="function"==typeof Le.valueOf?Le.valueOf():Le;Le=ee(ht)?ht+"":ht}if("string"!=typeof Le)return 0===Le?Le:+Le;Le=Le.replace(P,"");var Ot=A.test(Le);return Ot||k.test(Le)?R(Le.slice(2),Ot?2:8):S.test(Le)?NaN:+Le}var pe=function(Le,ht,Ot){var Lt,Wt,qt,en,Vt,cn,ft=0,gt=!1,Ie=!1,Ct=!0;if("function"!=typeof Le)throw new TypeError("Expected a function");function Nt(fe){var Xe=Lt,ge=Wt;return Lt=Wt=void 0,ft=fe,en=Le.apply(ge,Xe)}function kt(fe){var Xe=fe-cn;return void 0===cn||Xe>=ht||Xe<0||Ie&&fe-ft>=qt}function St(){var Xe,ge,fe=K();if(kt(fe))return qe(fe);Vt=setTimeout(St,(ge=ht-((Xe=fe)-cn),Ie?V(ge,qt-(Xe-ft)):ge))}function qe(fe){return Vt=void 0,Ct&&Lt?Nt(fe):(Lt=Wt=void 0,en)}function Fe(){var ge,fe=K(),Xe=kt(fe);if(Lt=arguments,Wt=this,cn=fe,Xe){if(void 0===Vt)return ft=ge=cn,Vt=setTimeout(St,ht),gt?Nt(ge):en;if(Ie)return Vt=setTimeout(St,ht),Nt(cn)}return void 0===Vt&&(Vt=setTimeout(St,ht)),en}return ht=te(ht)||0,ee(Ot)&&(gt=!!Ot.leading,qt=(Ie="maxWait"in Ot)?G(te(Ot.maxWait)||0,ht):qt,Ct="trailing"in Ot?!!Ot.trailing:Ct),Fe.cancel=function(){void 0!==Vt&&clearTimeout(Vt),ft=0,Lt=cn=Wt=Vt=void 0},Fe.flush=function(){return void 0===Vt?en:qe(K())},Fe},re=function(){};function De(Le){Le&&Le.forEach(function(ht){var Ot=Array.prototype.slice.call(ht.addedNodes),Lt=Array.prototype.slice.call(ht.removedNodes);if(function Wt(qt){var en=void 0,Vt=void 0;for(en=0;en=en.out&&!qt.once?cn():Wt>=en.in?Lt.animated||(ft=Vt,(gt=qt.animatedClassNames)&>.forEach(function(Ie){return ft.classList.add(Ie)}),He("aos:in",Vt),Lt.options.id&&He("aos:in:"+Lt.options.id,Vt),Lt.animated=!0):Lt.animated&&!qt.once&&cn());var Lt,Wt,ft,gt,qt,en,Vt,cn})},lt=function(Le){for(var ht=0,Ot=0;Le&&!isNaN(Le.offsetLeft)&&!isNaN(Le.offsetTop);)ht+=Le.offsetLeft-("BODY"!=Le.tagName?Le.scrollLeft:0),Ot+=Le.offsetTop-("BODY"!=Le.tagName?Le.scrollTop:0),Le=Le.offsetParent;return{top:Ot,left:ht}},Pe=function(Le,ht,Ot){var Lt=Le.getAttribute("data-aos-"+ht);if(void 0!==Lt){if("true"===Lt)return!0;if("false"===Lt)return!1}return Lt||Ot},$e=function(){var Le=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(Le,function(ht){return{node:ht}})},ot=[],mt=!1,we={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50},de=function(){return document.all&&!window.atob},U=function(){var Le,ht;arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(mt=!0),mt&&(ht=we,(Le=ot).forEach(function(Ot,Lt){var Wt=Pe(Ot.node,"mirror",ht.mirror),qt=Pe(Ot.node,"once",ht.once),en=Pe(Ot.node,"id"),Vt=ht.useClassNames&&Ot.node.getAttribute("data-aos"),cn=[ht.animatedClassName].concat(Vt?Vt.split(" "):[]).filter(function(ft){return"string"==typeof ft});ht.initClassName&&Ot.node.classList.add(ht.initClassName),Ot.position={in:function(ft,gt,Ie){var Ct=window.innerHeight,Nt=Pe(ft,"anchor"),kt=Pe(ft,"anchor-placement"),St=Number(Pe(ft,"offset",kt?0:gt)),qe=kt||Ie,Fe=ft;Nt&&document.querySelectorAll(Nt)&&(Fe=document.querySelectorAll(Nt)[0]);var fe=lt(Fe).top-Ct;switch(qe){case"top-bottom":break;case"center-bottom":fe+=Fe.offsetHeight/2;break;case"bottom-bottom":fe+=Fe.offsetHeight;break;case"top-center":fe+=Ct/2;break;case"center-center":fe+=Ct/2+Fe.offsetHeight/2;break;case"bottom-center":fe+=Ct/2+Fe.offsetHeight;break;case"top-top":fe+=Ct;break;case"bottom-top":fe+=Ct+Fe.offsetHeight;break;case"center-top":fe+=Ct+Fe.offsetHeight/2}return fe+St}(Ot.node,ht.offset,ht.anchorPlacement),out:Wt&&function(ft,gt){window;var Ie=Pe(ft,"anchor"),Ct=Pe(ft,"offset",gt),Nt=ft;return Ie&&document.querySelectorAll(Ie)&&(Nt=document.querySelectorAll(Ie)[0]),lt(Nt).top+Nt.offsetHeight-Ct}(Ot.node,ht.offset)},Ot.options={once:qt,mirror:Wt,animatedClassNames:cn,id:en}}),Re(ot=Le),window.addEventListener("scroll",T(function(){Re(ot)},we.throttleDelay)))},B=function(){if(ot=$e(),Ae(we.disable)||de())return Me();U()},Me=function(){ot.forEach(function(Le,ht){Le.node.removeAttribute("data-aos"),Le.node.removeAttribute("data-aos-easing"),Le.node.removeAttribute("data-aos-duration"),Le.node.removeAttribute("data-aos-delay"),we.initClassName&&Le.node.classList.remove(we.initClassName),we.animatedClassName&&Le.node.classList.remove(we.animatedClassName)})},Ae=function(Le){return!0===Le||"mobile"===Le&&Q.mobile()||"phone"===Le&&Q.phone()||"tablet"===Le&&Q.tablet()||"function"==typeof Le&&!0===Le()};return{init:function(Le){return we=le(we,Le),ot=$e(),we.disableMutationObserver||ce_isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),we.disableMutationObserver=!0),we.disableMutationObserver||ce_ready("[data-aos]",B),Ae(we.disable)||de()?Me():(document.querySelector("body").setAttribute("data-aos-easing",we.easing),document.querySelector("body").setAttribute("data-aos-duration",we.duration),document.querySelector("body").setAttribute("data-aos-delay",we.delay),-1===["DOMContentLoaded","load"].indexOf(we.startEvent)?document.addEventListener(we.startEvent,function(){U(!0)}):window.addEventListener("load",function(){U(!0)}),"DOMContentLoaded"===we.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1&&U(!0),window.addEventListener("resize",pe(U,we.debounceDelay,!0)),window.addEventListener("orientationchange",pe(U,we.debounceDelay,!0)),ot)},refresh:U,refreshHard:B}}()},57979:(tt,I,o)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.getParameters=void 0;var e=o(17167);I.getParameters=function t(i){return function n(i){return e.compressToBase64(i).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}(JSON.stringify(i))}},28539:(tt,I,o)=>{"use strict";I.Z=void 0;var n=o(57979);I.Z=n.getParameters},48292:(tt,I,o)=>{"use strict";function e(n,t){if(null==n)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}o.d(I,{Z:()=>e})},46719:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>le});var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(Se){return function(){var Ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ke=Ne.width?String(Ne.width):Se.defaultWidth;return Se.formats[ke]||Se.formats[Se.defaultWidth]}}var u={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},M={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function _(Se){return function(Ne,ke){var _e;if("formatting"===(null!=ke&&ke.context?String(ke.context):"standalone")&&Se.formattingValues){var Q=Se.defaultFormattingWidth||Se.defaultWidth,He=null!=ke&&ke.width?String(ke.width):Q;_e=Se.formattingValues[He]||Se.formattingValues[Q]}else{var Re=Se.defaultWidth,lt=null!=ke&&ke.width?String(ke.width):Se.defaultWidth;_e=Se.values[lt]||Se.values[Re]}return _e[Se.argumentCallback?Se.argumentCallback(Ne):Ne]}}function S(Se){return function(Ne){var ke=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},oe=ke.width,Q=Ne.match(oe&&Se.matchPatterns[oe]||Se.matchPatterns[Se.defaultMatchWidth]);if(!Q)return null;var Pe,He=Q[0],Re=oe&&Se.parsePatterns[oe]||Se.parsePatterns[Se.defaultParseWidth],lt=Array.isArray(Re)?function k(Se,Ne){for(var ke=0;ke0?"in "+_e:_e+" ago":_e},formatLong:u,formatRelative:function(Ne,ke,oe,_e){return M[Ne]},localize:{ordinalNumber:function(Ne,ke){var oe=Number(Ne),_e=oe%100;if(_e>20||_e<10)switch(_e%10){case 1:return oe+"st";case 2:return oe+"nd";case 3:return oe+"rd"}return oe+"th"},era:_({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:_({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(Ne){return Ne-1}}),month:_({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:_({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:_({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function R(Se){return function(Ne){var ke=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},oe=Ne.match(Se.matchPattern);if(!oe)return null;var _e=oe[0],Q=Ne.match(Se.parsePattern);if(!Q)return null;var He=Se.valueCallback?Se.valueCallback(Q[0]):Q[0];return{value:He=ke.valueCallback?ke.valueCallback(He):He,rest:Ne.slice(_e.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(Ne){return parseInt(Ne,10)}}),era:S({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:S({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(Ne){return Ne+1}}),month:S({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:S({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:S({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},5227:(tt,I,o)=>{"use strict";o.d(I,{j:()=>n});var e={};function n(){return e}},3001:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=function(E,u){switch(E){case"P":return u.date({width:"short"});case"PP":return u.date({width:"medium"});case"PPP":return u.date({width:"long"});default:return u.date({width:"full"})}},n=function(E,u){switch(E){case"p":return u.time({width:"short"});case"pp":return u.time({width:"medium"});case"ppp":return u.time({width:"long"});default:return u.time({width:"full"})}};const l={p:n,P:function(E,u){var v,z=E.match(/(P+)(p+)?/)||[],M=z[1],p=z[2];if(!p)return e(E,u);switch(M){case"P":v=u.dateTime({width:"short"});break;case"PP":v=u.dateTime({width:"medium"});break;case"PPP":v=u.dateTime({width:"long"});break;default:v=u.dateTime({width:"full"})}return v.replace("{{date}}",e(M,u)).replace("{{time}}",n(p,u))}}},45351:(tt,I,o)=>{"use strict";function e(n){var t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),n.getTime()-t.getTime()}o.d(I,{Z:()=>e})},3606:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>E});var e=o(40581),n=o(29307),t=o(92603),i=o(62816),h=6048e5;function E(u){(0,i.Z)(1,arguments);var z=(0,e.Z)(u),M=(0,n.Z)(z).getTime()-function l(u){(0,i.Z)(1,arguments);var z=(0,t.Z)(u),M=new Date(0);return M.setUTCFullYear(z,0,4),M.setUTCHours(0,0,0,0),(0,n.Z)(M)}(z).getTime();return Math.round(M/h)+1}},92603:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(40581),n=o(62816),t=o(29307);function i(l){(0,n.Z)(1,arguments);var h=(0,e.Z)(l),E=h.getUTCFullYear(),u=new Date(0);u.setUTCFullYear(E+1,0,4),u.setUTCHours(0,0,0,0);var z=(0,t.Z)(u),M=new Date(0);M.setUTCFullYear(E,0,4),M.setUTCHours(0,0,0,0);var p=(0,t.Z)(M);return h.getTime()>=z.getTime()?E+1:h.getTime()>=p.getTime()?E:E-1}},77356:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>z});var e=o(40581),n=o(5163),t=o(93281),i=o(62816),l=o(96156),h=o(5227),u=6048e5;function z(M,p){(0,i.Z)(1,arguments);var v=(0,e.Z)(M),_=(0,n.Z)(v,p).getTime()-function E(M,p){var v,_,d,m,f,C,T,b;(0,i.Z)(1,arguments);var D=(0,h.j)(),y=(0,l.Z)(null!==(v=null!==(_=null!==(d=null!==(m=p?.firstWeekContainsDate)&&void 0!==m?m:null==p||null===(f=p.locale)||void 0===f||null===(C=f.options)||void 0===C?void 0:C.firstWeekContainsDate)&&void 0!==d?d:D.firstWeekContainsDate)&&void 0!==_?_:null===(T=D.locale)||void 0===T||null===(b=T.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==v?v:1),P=(0,t.Z)(M,p),S=new Date(0);return S.setUTCFullYear(P,0,y),S.setUTCHours(0,0,0,0),(0,n.Z)(S,p)}(v,p).getTime();return Math.round(_/u)+1}},93281:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>h});var e=o(40581),n=o(62816),t=o(5163),i=o(96156),l=o(5227);function h(E,u){var z,M,p,v,_,d,m,f;(0,n.Z)(1,arguments);var C=(0,e.Z)(E),T=C.getUTCFullYear(),b=(0,l.j)(),D=(0,i.Z)(null!==(z=null!==(M=null!==(p=null!==(v=u?.firstWeekContainsDate)&&void 0!==v?v:null==u||null===(_=u.locale)||void 0===_||null===(d=_.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==p?p:b.firstWeekContainsDate)&&void 0!==M?M:null===(m=b.locale)||void 0===m||null===(f=m.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==z?z:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(T+1,0,D),y.setUTCHours(0,0,0,0);var P=(0,t.Z)(y,u),S=new Date(0);S.setUTCFullYear(T,0,D),S.setUTCHours(0,0,0,0);var A=(0,t.Z)(S,u);return C.getTime()>=P.getTime()?T+1:C.getTime()>=A.getTime()?T:T-1}},32566:(tt,I,o)=>{"use strict";o.d(I,{Do:()=>i,Iu:()=>t,qp:()=>l});var e=["D","DD"],n=["YY","YYYY"];function t(h){return-1!==e.indexOf(h)}function i(h){return-1!==n.indexOf(h)}function l(h,E,u){if("YYYY"===h)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(E,"`) for formatting years to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===h)throw new RangeError("Use `yy` instead of `YY` (in `".concat(E,"`) for formatting years to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===h)throw new RangeError("Use `d` instead of `D` (in `".concat(E,"`) for formatting days of the month to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===h)throw new RangeError("Use `dd` instead of `DD` (in `".concat(E,"`) for formatting days of the month to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},62816:(tt,I,o)=>{"use strict";function e(n,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}o.d(I,{Z:()=>e})},588:(tt,I,o)=>{"use strict";o.d(I,{u:()=>t});var e={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(l){return l<0?Math.ceil(l):Math.floor(l)}},n="trunc";function t(i){return i?e[i]:e[n]}},29307:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var h=(0,e.Z)(i),E=h.getUTCDay(),u=(E<1?7:0)+E-1;return h.setUTCDate(h.getUTCDate()-u),h.setUTCHours(0,0,0,0),h}},5163:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(40581),n=o(62816),t=o(96156),i=o(5227);function l(h,E){var u,z,M,p,v,_,d,m;(0,n.Z)(1,arguments);var f=(0,i.j)(),C=(0,t.Z)(null!==(u=null!==(z=null!==(M=null!==(p=E?.weekStartsOn)&&void 0!==p?p:null==E||null===(v=E.locale)||void 0===v||null===(_=v.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==M?M:f.weekStartsOn)&&void 0!==z?z:null===(d=f.locale)||void 0===d||null===(m=d.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==u?u:0);if(!(C>=0&&C<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var T=(0,e.Z)(h),b=T.getUTCDay(),D=(b{"use strict";function e(n){if(null===n||!0===n||!1===n)return NaN;var t=Number(n);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}o.d(I,{Z:()=>e})},68584:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(40581),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,n.Z)(l),u=(0,e.Z)(h);return isNaN(u)?new Date(NaN):(u&&E.setDate(E.getDate()+u),E)}},640:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(40581),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,n.Z)(l).getTime(),u=(0,e.Z)(h);return new Date(E+u)}},21083:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(40581),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,n.Z)(l),u=(0,e.Z)(h);if(isNaN(u))return new Date(NaN);if(!u)return E;var z=E.getDate(),M=new Date(E.getTime());return M.setMonth(E.getMonth()+u+1,0),z>=M.getDate()?M:(E.setFullYear(M.getFullYear(),M.getMonth(),z),E)}},27163:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(640),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,e.Z)(h);return(0,n.Z)(l,1e3*E)}},22040:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96156),n=o(21083),t=o(62816);function i(l,h){(0,t.Z)(2,arguments);var E=(0,e.Z)(h);return(0,n.Z)(l,12*E)}},33865:(tt,I,o)=>{"use strict";o.d(I,{qk:()=>h,vh:()=>l,yJ:()=>i}),Math.pow(10,8);var i=6e4,l=36e5,h=1e3},61855:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(45351),n=o(79189),t=o(62816),i=864e5;function l(h,E){(0,t.Z)(2,arguments);var u=(0,n.Z)(h),z=(0,n.Z)(E),M=u.getTime()-(0,e.Z)(u),p=z.getTime()-(0,e.Z)(z);return Math.round((M-p)/i)}},80275:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i,l){(0,n.Z)(2,arguments);var h=(0,e.Z)(i),E=(0,e.Z)(l);return 12*(h.getFullYear()-E.getFullYear())+(h.getMonth()-E.getMonth())}},96086:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i,l){return(0,n.Z)(2,arguments),(0,e.Z)(i).getTime()-(0,e.Z)(l).getTime()}},13061:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(96086),n=o(62816),t=o(588);function i(l,h,E){(0,n.Z)(2,arguments);var u=(0,e.Z)(l,h)/1e3;return(0,t.u)(E?.roundingMethod)(u)}},85134:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=(0,e.Z)(i);return l.setHours(23,59,59,999),l}},92682:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=(0,e.Z)(i),h=l.getMonth();return l.setFullYear(l.getFullYear(),h+1,0),l.setHours(23,59,59,999),l}},89207:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>G});var e=o(34338),n=o(73492),t=o(40581),i=o(62816),E=o(3606),u=o(92603),z=o(77356),M=o(93281);function p(K,ee){for(var te=K<0?"-":"",pe=Math.abs(K).toString();pe.length0?pe:1-pe;return p("yy"===te?re%100:re,te.length)},__M=function(ee,te){var pe=ee.getUTCMonth();return"M"===te?String(pe+1):p(pe+1,2)},__d=function(ee,te){return p(ee.getUTCDate(),te.length)},__h=function(ee,te){return p(ee.getUTCHours()%12||12,te.length)},__H=function(ee,te){return p(ee.getUTCHours(),te.length)},__m=function(ee,te){return p(ee.getUTCMinutes(),te.length)},__s=function(ee,te){return p(ee.getUTCSeconds(),te.length)},__S=function(ee,te){var pe=te.length,re=ee.getUTCMilliseconds();return p(Math.floor(re*Math.pow(10,pe-3)),te.length)};function f(K,ee){var te=K>0?"-":"+",pe=Math.abs(K),re=Math.floor(pe/60),De=pe%60;if(0===De)return te+String(re);var ae=ee||"";return te+String(re)+ae+p(De,2)}function C(K,ee){return K%60==0?(K>0?"-":"+")+p(Math.abs(K)/60,2):T(K,ee)}function T(K,ee){var te=ee||"",pe=K>0?"-":"+",re=Math.abs(K);return pe+p(Math.floor(re/60),2)+te+p(re%60,2)}const b={G:function(ee,te,pe){var re=ee.getUTCFullYear()>0?1:0;switch(te){case"G":case"GG":case"GGG":return pe.era(re,{width:"abbreviated"});case"GGGGG":return pe.era(re,{width:"narrow"});default:return pe.era(re,{width:"wide"})}},y:function(ee,te,pe){if("yo"===te){var re=ee.getUTCFullYear();return pe.ordinalNumber(re>0?re:1-re,{unit:"year"})}return __y(ee,te)},Y:function(ee,te,pe,re){var De=(0,M.Z)(ee,re),ae=De>0?De:1-De;return"YY"===te?p(ae%100,2):"Yo"===te?pe.ordinalNumber(ae,{unit:"year"}):p(ae,te.length)},R:function(ee,te){return p((0,u.Z)(ee),te.length)},u:function(ee,te){return p(ee.getUTCFullYear(),te.length)},Q:function(ee,te,pe){var re=Math.ceil((ee.getUTCMonth()+1)/3);switch(te){case"Q":return String(re);case"QQ":return p(re,2);case"Qo":return pe.ordinalNumber(re,{unit:"quarter"});case"QQQ":return pe.quarter(re,{width:"abbreviated",context:"formatting"});case"QQQQQ":return pe.quarter(re,{width:"narrow",context:"formatting"});default:return pe.quarter(re,{width:"wide",context:"formatting"})}},q:function(ee,te,pe){var re=Math.ceil((ee.getUTCMonth()+1)/3);switch(te){case"q":return String(re);case"qq":return p(re,2);case"qo":return pe.ordinalNumber(re,{unit:"quarter"});case"qqq":return pe.quarter(re,{width:"abbreviated",context:"standalone"});case"qqqqq":return pe.quarter(re,{width:"narrow",context:"standalone"});default:return pe.quarter(re,{width:"wide",context:"standalone"})}},M:function(ee,te,pe){var re=ee.getUTCMonth();switch(te){case"M":case"MM":return __M(ee,te);case"Mo":return pe.ordinalNumber(re+1,{unit:"month"});case"MMM":return pe.month(re,{width:"abbreviated",context:"formatting"});case"MMMMM":return pe.month(re,{width:"narrow",context:"formatting"});default:return pe.month(re,{width:"wide",context:"formatting"})}},L:function(ee,te,pe){var re=ee.getUTCMonth();switch(te){case"L":return String(re+1);case"LL":return p(re+1,2);case"Lo":return pe.ordinalNumber(re+1,{unit:"month"});case"LLL":return pe.month(re,{width:"abbreviated",context:"standalone"});case"LLLLL":return pe.month(re,{width:"narrow",context:"standalone"});default:return pe.month(re,{width:"wide",context:"standalone"})}},w:function(ee,te,pe,re){var De=(0,z.Z)(ee,re);return"wo"===te?pe.ordinalNumber(De,{unit:"week"}):p(De,te.length)},I:function(ee,te,pe){var re=(0,E.Z)(ee);return"Io"===te?pe.ordinalNumber(re,{unit:"week"}):p(re,te.length)},d:function(ee,te,pe){return"do"===te?pe.ordinalNumber(ee.getUTCDate(),{unit:"date"}):__d(ee,te)},D:function(ee,te,pe){var re=function h(K){(0,i.Z)(1,arguments);var ee=(0,t.Z)(K),te=ee.getTime();ee.setUTCMonth(0,1),ee.setUTCHours(0,0,0,0);var pe=ee.getTime();return Math.floor((te-pe)/864e5)+1}(ee);return"Do"===te?pe.ordinalNumber(re,{unit:"dayOfYear"}):p(re,te.length)},E:function(ee,te,pe){var re=ee.getUTCDay();switch(te){case"E":case"EE":case"EEE":return pe.day(re,{width:"abbreviated",context:"formatting"});case"EEEEE":return pe.day(re,{width:"narrow",context:"formatting"});case"EEEEEE":return pe.day(re,{width:"short",context:"formatting"});default:return pe.day(re,{width:"wide",context:"formatting"})}},e:function(ee,te,pe,re){var De=ee.getUTCDay(),ae=(De-re.weekStartsOn+8)%7||7;switch(te){case"e":return String(ae);case"ee":return p(ae,2);case"eo":return pe.ordinalNumber(ae,{unit:"day"});case"eee":return pe.day(De,{width:"abbreviated",context:"formatting"});case"eeeee":return pe.day(De,{width:"narrow",context:"formatting"});case"eeeeee":return pe.day(De,{width:"short",context:"formatting"});default:return pe.day(De,{width:"wide",context:"formatting"})}},c:function(ee,te,pe,re){var De=ee.getUTCDay(),ae=(De-re.weekStartsOn+8)%7||7;switch(te){case"c":return String(ae);case"cc":return p(ae,te.length);case"co":return pe.ordinalNumber(ae,{unit:"day"});case"ccc":return pe.day(De,{width:"abbreviated",context:"standalone"});case"ccccc":return pe.day(De,{width:"narrow",context:"standalone"});case"cccccc":return pe.day(De,{width:"short",context:"standalone"});default:return pe.day(De,{width:"wide",context:"standalone"})}},i:function(ee,te,pe){var re=ee.getUTCDay(),De=0===re?7:re;switch(te){case"i":return String(De);case"ii":return p(De,te.length);case"io":return pe.ordinalNumber(De,{unit:"day"});case"iii":return pe.day(re,{width:"abbreviated",context:"formatting"});case"iiiii":return pe.day(re,{width:"narrow",context:"formatting"});case"iiiiii":return pe.day(re,{width:"short",context:"formatting"});default:return pe.day(re,{width:"wide",context:"formatting"})}},a:function(ee,te,pe){var De=ee.getUTCHours()/12>=1?"pm":"am";switch(te){case"a":case"aa":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"});case"aaa":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return pe.dayPeriod(De,{width:"narrow",context:"formatting"});default:return pe.dayPeriod(De,{width:"wide",context:"formatting"})}},b:function(ee,te,pe){var De,re=ee.getUTCHours();switch(De=12===re?"noon":0===re?"midnight":re/12>=1?"pm":"am",te){case"b":case"bb":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"});case"bbb":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return pe.dayPeriod(De,{width:"narrow",context:"formatting"});default:return pe.dayPeriod(De,{width:"wide",context:"formatting"})}},B:function(ee,te,pe){var De,re=ee.getUTCHours();switch(De=re>=17?"evening":re>=12?"afternoon":re>=4?"morning":"night",te){case"B":case"BB":case"BBB":return pe.dayPeriod(De,{width:"abbreviated",context:"formatting"});case"BBBBB":return pe.dayPeriod(De,{width:"narrow",context:"formatting"});default:return pe.dayPeriod(De,{width:"wide",context:"formatting"})}},h:function(ee,te,pe){if("ho"===te){var re=ee.getUTCHours()%12;return 0===re&&(re=12),pe.ordinalNumber(re,{unit:"hour"})}return __h(ee,te)},H:function(ee,te,pe){return"Ho"===te?pe.ordinalNumber(ee.getUTCHours(),{unit:"hour"}):__H(ee,te)},K:function(ee,te,pe){var re=ee.getUTCHours()%12;return"Ko"===te?pe.ordinalNumber(re,{unit:"hour"}):p(re,te.length)},k:function(ee,te,pe){var re=ee.getUTCHours();return 0===re&&(re=24),"ko"===te?pe.ordinalNumber(re,{unit:"hour"}):p(re,te.length)},m:function(ee,te,pe){return"mo"===te?pe.ordinalNumber(ee.getUTCMinutes(),{unit:"minute"}):__m(ee,te)},s:function(ee,te,pe){return"so"===te?pe.ordinalNumber(ee.getUTCSeconds(),{unit:"second"}):__s(ee,te)},S:function(ee,te){return __S(ee,te)},X:function(ee,te,pe,re){var ae=(re._originalDate||ee).getTimezoneOffset();if(0===ae)return"Z";switch(te){case"X":return C(ae);case"XXXX":case"XX":return T(ae);default:return T(ae,":")}},x:function(ee,te,pe,re){var ae=(re._originalDate||ee).getTimezoneOffset();switch(te){case"x":return C(ae);case"xxxx":case"xx":return T(ae);default:return T(ae,":")}},O:function(ee,te,pe,re){var ae=(re._originalDate||ee).getTimezoneOffset();switch(te){case"O":case"OO":case"OOO":return"GMT"+f(ae,":");default:return"GMT"+T(ae,":")}},z:function(ee,te,pe,re){var ae=(re._originalDate||ee).getTimezoneOffset();switch(te){case"z":case"zz":case"zzz":return"GMT"+f(ae,":");default:return"GMT"+T(ae,":")}},t:function(ee,te,pe,re){return p(Math.floor((re._originalDate||ee).getTime()/1e3),te.length)},T:function(ee,te,pe,re){return p((re._originalDate||ee).getTime(),te.length)}};var D=o(3001),y=o(45351),P=o(32566),S=o(96156),A=o(5227),k=o(46719),R=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j=/^'([^]*?)'?$/,ze=/''/g,Y=/[a-zA-Z]/;function G(K,ee,te){var pe,re,De,ae,ce,X,ne,le,Se,Ne,ke,oe,_e,Q,He,Re,lt,Pe;(0,i.Z)(2,arguments);var xt=String(ee),$e=(0,A.j)(),ot=null!==(pe=null!==(re=te?.locale)&&void 0!==re?re:$e.locale)&&void 0!==pe?pe:k.Z,mt=(0,S.Z)(null!==(De=null!==(ae=null!==(ce=null!==(X=te?.firstWeekContainsDate)&&void 0!==X?X:null==te||null===(ne=te.locale)||void 0===ne||null===(le=ne.options)||void 0===le?void 0:le.firstWeekContainsDate)&&void 0!==ce?ce:$e.firstWeekContainsDate)&&void 0!==ae?ae:null===(Se=$e.locale)||void 0===Se||null===(Ne=Se.options)||void 0===Ne?void 0:Ne.firstWeekContainsDate)&&void 0!==De?De:1);if(!(mt>=1&&mt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var we=(0,S.Z)(null!==(ke=null!==(oe=null!==(_e=null!==(Q=te?.weekStartsOn)&&void 0!==Q?Q:null==te||null===(He=te.locale)||void 0===He||null===(Re=He.options)||void 0===Re?void 0:Re.weekStartsOn)&&void 0!==_e?_e:$e.weekStartsOn)&&void 0!==oe?oe:null===(lt=$e.locale)||void 0===lt||null===(Pe=lt.options)||void 0===Pe?void 0:Pe.weekStartsOn)&&void 0!==ke?ke:0);if(!(we>=0&&we<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!ot.localize)throw new RangeError("locale must contain localize property");if(!ot.formatLong)throw new RangeError("locale must contain formatLong property");var de=(0,t.Z)(K);if(!(0,e.Z)(de))throw new RangeError("Invalid time value");var U=(0,y.Z)(de),B=(0,n.Z)(de,U),Me={firstWeekContainsDate:mt,weekStartsOn:we,locale:ot,_originalDate:de},Ae=xt.match(W).map(function(Le){var ht=Le[0];return"p"===ht||"P"===ht?(0,D.Z[ht])(Le,ot.formatLong):Le}).join("").match(R).map(function(Le){if("''"===Le)return"'";var ht=Le[0];if("'"===ht)return function V(K){var ee=K.match(j);return ee?ee[1].replace(ze,"'"):K}(Le);var Ot=b[ht];if(Ot)return!(null!=te&&te.useAdditionalWeekYearTokens)&&(0,P.Do)(Le)&&(0,P.qp)(Le,ee,String(K)),!(null!=te&&te.useAdditionalDayOfYearTokens)&&(0,P.Iu)(Le)&&(0,P.qp)(Le,ee,String(K)),Ot(B,Le,ot.localize,Me);if(ht.match(Y))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ht+"`");return Le}).join("");return Ae}},53770:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>T});var e=o(5227),n=o(40581),t=o(62816);function i(b,D){(0,t.Z)(2,arguments);var y=(0,n.Z)(b),P=(0,n.Z)(D),S=y.getTime()-P.getTime();return S<0?-1:S>0?1:S}var l=o(80275),h=o(80787),u=o(13061),z=o(46719),M=o(48292),v=o(45351),_=1440,d=2520,m=43200,f=86400;function T(b,D){return(0,t.Z)(1,arguments),function C(b,D,y){var P,S;(0,t.Z)(2,arguments);var A=(0,e.j)(),k=null!==(P=null!==(S=y?.locale)&&void 0!==S?S:A.locale)&&void 0!==P?P:z.Z;if(!k.formatDistance)throw new RangeError("locale must contain formatDistance property");var R=i(b,D);if(isNaN(R))throw new RangeError("Invalid time value");var j,ze,W=(0,M.Z)(function p(b){return(0,M.Z)({},b)}(y),{addSuffix:!!y?.addSuffix,comparison:R});R>0?(j=(0,n.Z)(D),ze=(0,n.Z)(b)):(j=(0,n.Z)(b),ze=(0,n.Z)(D));var K,Y=(0,u.Z)(ze,j),G=((0,v.Z)(ze)-(0,v.Z)(j))/1e3,V=Math.round((Y-G)/60);if(V<2)return null!=y&&y.includeSeconds?Y<5?k.formatDistance("lessThanXSeconds",5,W):Y<10?k.formatDistance("lessThanXSeconds",10,W):Y<20?k.formatDistance("lessThanXSeconds",20,W):Y<40?k.formatDistance("halfAMinute",0,W):k.formatDistance(Y<60?"lessThanXMinutes":"xMinutes",1,W):0===V?k.formatDistance("lessThanXMinutes",1,W):k.formatDistance("xMinutes",V,W);if(V<45)return k.formatDistance("xMinutes",V,W);if(V<90)return k.formatDistance("aboutXHours",1,W);if(V<_){var ee=Math.round(V/60);return k.formatDistance("aboutXHours",ee,W)}if(V27&&y.setDate(30),y.setMonth(y.getMonth()-S*A);var R=i(y,P)===-S;(0,h.Z)((0,n.Z)(b))&&1===A&&1===i(b,P)&&(R=!1),k=S*(A-Number(R))}return 0===k?0:k}(ze,j),K<12){var pe=Math.round(V/m);return k.formatDistance("xMonths",pe,W)}var re=K%12,De=Math.floor(K/12);return re<3?k.formatDistance("aboutXYears",De,W):re<9?k.formatDistance("overXYears",De,W):k.formatDistance("almostXYears",De+1,W)}(b,Date.now(),D)}},80787:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(40581),n=o(85134),t=o(92682),i=o(62816);function l(h){(0,i.Z)(1,arguments);var E=(0,e.Z)(h);return(0,n.Z)(E).getTime()===(0,t.Z)(E).getTime()}},34338:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(71002),n=o(62816),i=o(40581);function l(h){if((0,n.Z)(1,arguments),!function t(h){return(0,n.Z)(1,arguments),h instanceof Date||"object"===(0,e.Z)(h)&&"[object Date]"===Object.prototype.toString.call(h)}(h)&&"number"!=typeof h)return!1;var E=(0,i.Z)(h);return!isNaN(Number(E))}},80356:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>ve});var e=o(71002);function n(x,N){(null==N||N>x.length)&&(N=x.length);for(var O=0,$=new Array(N);O=x.length?{done:!0}:{done:!1,value:x[$++]}},e:function(rn){throw rn},f:L}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Dt,he=!0,Ce=!1;return{s:function(){O=O.call(x)},n:function(){var rn=O.next();return he=rn.done,rn},e:function(rn){Ce=!0,Dt=rn},f:function(){try{!he&&null!=O.return&&O.return()}finally{if(Ce)throw Dt}}}}var l=o(46719),h=o(73492),E=o(40581),u=o(48292),z=o(3001),M=o(45351),p=o(32566),v=o(96156),_=o(62816);function d(x){if(void 0===x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function m(x,N){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function($,L){return $.__proto__=L,$})(x,N)}function f(x,N){if("function"!=typeof N&&null!==N)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(N&&N.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),Object.defineProperty(x,"prototype",{writable:!1}),N&&m(x,N)}function C(x){return(C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(O){return O.__proto__||Object.getPrototypeOf(O)})(x)}function D(x){var N=function T(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var L,$=C(x);if(N){var he=C(this).constructor;L=Reflect.construct($,arguments,he)}else L=$.apply(this,arguments);return function b(x,N){if(N&&("object"===(0,e.Z)(N)||"function"==typeof N))return N;if(void 0!==N)throw new TypeError("Derived constructors may only return object or undefined");return d(x)}(this,L)}}function y(x,N){if(!(x instanceof N))throw new TypeError("Cannot call a class as a function")}function S(x){var N=function P(x,N){if("object"!==(0,e.Z)(x)||null===x)return x;var O=x[Symbol.toPrimitive];if(void 0!==O){var $=O.call(x,N||"default");if("object"!==(0,e.Z)($))return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===N?String:Number)(x)}(x,"string");return"symbol"===(0,e.Z)(N)?N:String(N)}function A(x,N){for(var O=0;O0,$=O?N:1-N;if($<=50)L=x||100;else{var he=$+50;L=x+100*Math.floor(he/100)-(x>=he%100?100:0)}return O?L:1-L}function Se(x){return x%400==0||x%4==0&&x%100!=0}var Ne=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce0}},{key:"set",value:function(L,he,Ce){var Dt=L.getUTCFullYear();if(Ce.isTwoDigitYear){var Yt=le(Ce.year,Dt);return L.setUTCFullYear(Yt,0,1),L.setUTCHours(0,0,0,0),L}return L.setUTCFullYear("era"in he&&1!==he.era?1-Ce.year:Ce.year,0,1),L.setUTCHours(0,0,0,0),L}}]),O}(G),ke=o(93281),oe=o(5163),_e=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce0}},{key:"set",value:function(L,he,Ce,Dt){var Yt=(0,ke.Z)(L,Dt);if(Ce.isTwoDigitYear){var rn=le(Ce.year,Yt);return L.setUTCFullYear(rn,0,Dt.firstWeekContainsDate),L.setUTCHours(0,0,0,0),(0,oe.Z)(L,Dt)}return L.setUTCFullYear("era"in he&&1!==he.era?1-Ce.year:Ce.year,0,Dt.firstWeekContainsDate),L.setUTCHours(0,0,0,0),(0,oe.Z)(L,Dt)}}]),O}(G),Q=o(29307),He=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=4}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(3*(Ce-1),1),L.setUTCHours(0,0,0,0),L}}]),O}(G),Pe=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=4}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(3*(Ce-1),1),L.setUTCHours(0,0,0,0),L}}]),O}(G),xt=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=11}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(Ce,1),L.setUTCHours(0,0,0,0),L}}]),O}(G),$e=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=11}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(Ce,1),L.setUTCHours(0,0,0,0),L}}]),O}(G),ot=o(77356),we=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=53}},{key:"set",value:function(L,he,Ce,Dt){return(0,oe.Z)(function mt(x,N,O){(0,_.Z)(2,arguments);var $=(0,E.Z)(x),L=(0,v.Z)(N),he=(0,ot.Z)($,O)-L;return $.setUTCDate($.getUTCDate()-7*he),$}(L,Ce,Dt),Dt)}}]),O}(G),de=o(3606),B=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=53}},{key:"set",value:function(L,he,Ce){return(0,Q.Z)(function U(x,N){(0,_.Z)(2,arguments);var O=(0,E.Z)(x),$=(0,v.Z)(N),L=(0,de.Z)(O)-$;return O.setUTCDate(O.getUTCDate()-7*L),O}(L,Ce))}}]),O}(G),Me=[31,28,31,30,31,30,31,31,30,31,30,31],Ae=[31,29,31,30,31,30,31,31,30,31,30,31],Le=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=Ae[Yt]:he>=1&&he<=Me[Yt]}},{key:"set",value:function(L,he,Ce){return L.setUTCDate(Ce),L.setUTCHours(0,0,0,0),L}}]),O}(G),ht=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=366:he>=1&&he<=365}},{key:"set",value:function(L,he,Ce){return L.setUTCMonth(0,Ce),L.setUTCHours(0,0,0,0),L}}]),O}(G),Ot=o(5227);function Lt(x,N,O){var $,L,he,Ce,Dt,Yt,rn,hn;(0,_.Z)(2,arguments);var yn=(0,Ot.j)(),Mn=(0,v.Z)(null!==($=null!==(L=null!==(he=null!==(Ce=O?.weekStartsOn)&&void 0!==Ce?Ce:null==O||null===(Dt=O.locale)||void 0===Dt||null===(Yt=Dt.options)||void 0===Yt?void 0:Yt.weekStartsOn)&&void 0!==he?he:yn.weekStartsOn)&&void 0!==L?L:null===(rn=yn.locale)||void 0===rn||null===(hn=rn.options)||void 0===hn?void 0:hn.weekStartsOn)&&void 0!==$?$:0);if(!(Mn>=0&&Mn<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var En=(0,E.Z)(x),Dn=(0,v.Z)(N),ii=((Dn%7+7)%7=0&&he<=6}},{key:"set",value:function(L,he,Ce,Dt){return(L=Lt(L,Ce,Dt)).setUTCHours(0,0,0,0),L}}]),O}(G),qt=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=6}},{key:"set",value:function(L,he,Ce,Dt){return(L=Lt(L,Ce,Dt)).setUTCHours(0,0,0,0),L}}]),O}(G),en=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=6}},{key:"set",value:function(L,he,Ce,Dt){return(L=Lt(L,Ce,Dt)).setUTCHours(0,0,0,0),L}}]),O}(G),cn=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=7}},{key:"set",value:function(L,he,Ce){return L=function Vt(x,N){(0,_.Z)(2,arguments);var O=(0,v.Z)(N);O%7==0&&(O-=7);var L=(0,E.Z)(x),Yt=((O%7+7)%7<1?7:0)+O-L.getUTCDay();return L.setUTCDate(L.getUTCDate()+Yt),L}(L,Ce),L.setUTCHours(0,0,0,0),L}}]),O}(G),ft=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=12}},{key:"set",value:function(L,he,Ce){var Dt=L.getUTCHours()>=12;return L.setUTCHours(Dt&&Ce<12?Ce+12:Dt||12!==Ce?Ce:0,0,0,0),L}}]),O}(G),Nt=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=23}},{key:"set",value:function(L,he,Ce){return L.setUTCHours(Ce,0,0,0),L}}]),O}(G),kt=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=11}},{key:"set",value:function(L,he,Ce){var Dt=L.getUTCHours()>=12;return L.setUTCHours(Dt&&Ce<12?Ce+12:Ce,0,0,0),L}}]),O}(G),St=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&he<=24}},{key:"set",value:function(L,he,Ce){return L.setUTCHours(Ce<=24?Ce%24:Ce,0,0,0),L}}]),O}(G),qe=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=59}},{key:"set",value:function(L,he,Ce){return L.setUTCMinutes(Ce,0,0),L}}]),O}(G),Fe=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=0&&he<=59}},{key:"set",value:function(L,he,Ce){return L.setUTCSeconds(Ce,0),L}}]),O}(G),fe=function(x){f(O,x);var N=D(O);function O(){var $;y(this,O);for(var L=arguments.length,he=new Array(L),Ce=0;Ce=1&&li<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var fi=(0,v.Z)(null!==(Dn=null!==(xn=null!==(Ln=null!==(ei=$?.weekStartsOn)&&void 0!==ei?ei:null==$||null===(ii=$.locale)||void 0===ii||null===(Hn=ii.options)||void 0===Hn?void 0:Hn.weekStartsOn)&&void 0!==Ln?Ln:hi.weekStartsOn)&&void 0!==xn?xn:null===(di=hi.locale)||void 0===di||null===(oi=di.options)||void 0===oi?void 0:oi.weekStartsOn)&&void 0!==Dn?Dn:0);if(!(fi>=0&&fi<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===ri)return""===ai?(0,E.Z)(O):new Date(NaN);var $i,to={firstWeekContainsDate:li,weekStartsOn:fi,locale:Ti},oo=[new Y],Zi=ri.match(Ee).map(function(ni){var Vn=ni[0];return Vn in z.Z?(0,z.Z[Vn])(ni,Ti.formatLong):ni}).join("").match(wt),Ni=[],ki=i(Zi);try{var no=function(){var Vn=$i.value;!(null!=$&&$.useAdditionalWeekYearTokens)&&(0,p.Do)(Vn)&&(0,p.qp)(Vn,ri,x),(null==$||!$.useAdditionalDayOfYearTokens)&&(0,p.Iu)(Vn)&&(0,p.qp)(Vn,ri,x);var Mt=Vn[0],gn=We[Mt];if(gn){var rt=gn.incompatibleTokens;if(Array.isArray(rt)){var zt=Ni.find(function(Xt){return rt.includes(Xt.token)||Xt.token===Mt});if(zt)throw new RangeError("The format string mustn't contain `".concat(zt.fullToken,"` and `").concat(Vn,"` at the same time"))}else if("*"===gn.incompatibleTokens&&Ni.length>0)throw new RangeError("The format string mustn't contain `".concat(Vn,"` and any other token at the same time"));Ni.push({token:Mt,fullToken:Vn});var It=gn.run(ai,Vn,Ti.match,to);if(!It)return{v:new Date(NaN)};oo.push(It.setter),ai=It.rest}else{if(Mt.match(Ze))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Mt+"`");if("''"===Vn?Vn="'":"'"===Mt&&(Vn=function nt(x){return x.match(be)[1].replace(Qe,"'")}(Vn)),0!==ai.indexOf(Vn))return{v:new Date(NaN)};ai=ai.slice(Vn.length)}};for(ki.s();!($i=ki.n()).done;){var Eo=no();if("object"===(0,e.Z)(Eo))return Eo.v}}catch(ni){ki.e(ni)}finally{ki.f()}if(ai.length>0&&Ke.test(ai))return new Date(NaN);var wi=oo.map(function(ni){return ni.priority}).sort(function(ni,Vn){return Vn-ni}).filter(function(ni,Vn,Mt){return Mt.indexOf(ni)===Vn}).map(function(ni){return oo.filter(function(Vn){return Vn.priority===ni}).sort(function(Vn,Mt){return Mt.subPriority-Vn.subPriority})}).map(function(ni){return ni[0]}),Ji=(0,E.Z)(O);if(isNaN(Ji.getTime()))return new Date(NaN);var bi,Di=(0,h.Z)(Ji,(0,M.Z)(Ji)),Wi={},Xi=i(wi);try{for(Xi.s();!(bi=Xi.n()).done;){var Ri=bi.value;if(!Ri.validate(Di,to))return new Date(NaN);var Pi=Ri.set(Di,Wi,to);Array.isArray(Pi)?(Di=Pi[0],(0,u.Z)(Wi,Pi[1])):Di=Pi}}catch(ni){Xi.e(ni)}finally{Xi.f()}return Di}},79189:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=(0,e.Z)(i);return l.setHours(0,0,0,0),l}},47680:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(40581),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=(0,e.Z)(i);return l.setDate(1),l.setHours(0,0,0,0),l}},97753:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(40581),n=o(96156),t=o(62816),i=o(5227);function l(h,E){var u,z,M,p,v,_,d,m;(0,t.Z)(1,arguments);var f=(0,i.j)(),C=(0,n.Z)(null!==(u=null!==(z=null!==(M=null!==(p=E?.weekStartsOn)&&void 0!==p?p:null==E||null===(v=E.locale)||void 0===v||null===(_=v.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==M?M:f.weekStartsOn)&&void 0!==z?z:null===(d=f.locale)||void 0===d||null===(m=d.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==u?u:0);if(!(C>=0&&C<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var T=(0,e.Z)(h),b=T.getDay(),D=(b{"use strict";o.d(I,{Z:()=>i});var e=o(640),n=o(62816),t=o(96156);function i(l,h){(0,n.Z)(2,arguments);var E=(0,t.Z)(h);return(0,e.Z)(l,-E)}},76962:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>l});var e=o(96156),n=o(68584),t=o(62816);function l(h,E){return(0,t.Z)(2,arguments),function i(h,E){(0,t.Z)(2,arguments);var u=(0,e.Z)(E);return(0,n.Z)(h,7*u)}(h,-(0,e.Z)(E))}},40581:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>t});var e=o(71002),n=o(62816);function t(i){(0,n.Z)(1,arguments);var l=Object.prototype.toString.call(i);return i instanceof Date||"object"===(0,e.Z)(i)&&"[object Date]"===l?new Date(i.getTime()):"number"==typeof i||"[object Number]"===l?new Date(i):(("string"==typeof i||"[object String]"===l)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},15377:tt=>{"use strict";var I=Object.prototype.hasOwnProperty,o=Object.prototype.toString,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,t=function(u){return"function"==typeof Array.isArray?Array.isArray(u):"[object Array]"===o.call(u)},i=function(u){if(!u||"[object Object]"!==o.call(u))return!1;var p,z=I.call(u,"constructor"),M=u.constructor&&u.constructor.prototype&&I.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!z&&!M)return!1;for(p in u);return typeof p>"u"||I.call(u,p)},l=function(u,z){e&&"__proto__"===z.name?e(u,z.name,{enumerable:!0,configurable:!0,value:z.newValue,writable:!0}):u[z.name]=z.newValue},h=function(u,z){if("__proto__"===z){if(!I.call(u,z))return;if(n)return n(u,z).value}return u[z]};tt.exports=function E(){var u,z,M,p,v,_,d=arguments[0],m=1,f=arguments.length,C=!1;for("boolean"==typeof d&&(C=d,d=arguments[1]||{},m=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});m{"use strict";tt.exports=function I(o,e){if(o===e)return!0;if(o&&e&&"object"==typeof o&&"object"==typeof e){if(o.constructor!==e.constructor)return!1;var n,t,i;if(Array.isArray(o)){if((n=o.length)!=e.length)return!1;for(t=n;0!=t--;)if(!I(o[t],e[t]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===e.toString();if((n=(i=Object.keys(o)).length)!==Object.keys(e).length)return!1;for(t=n;0!=t--;)if(!Object.prototype.hasOwnProperty.call(e,i[t]))return!1;for(t=n;0!=t--;){var l=i[t];if(!I(o[l],e[l]))return!1}return!0}return o!=o&&e!=e}},10217:function(tt,I){var o,n;void 0!==(n="function"==typeof(o=function(){"use strict";function i(M,p,v){var _=new XMLHttpRequest;_.open("GET",M),_.responseType="blob",_.onload=function(){z(_.response,p,v)},_.onerror=function(){console.error("could not download file")},_.send()}function l(M){var p=new XMLHttpRequest;p.open("HEAD",M,!1);try{p.send()}catch{}return 200<=p.status&&299>=p.status}function h(M){try{M.dispatchEvent(new MouseEvent("click"))}catch{var p=document.createEvent("MouseEvents");p.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),M.dispatchEvent(p)}}var E="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,u=E.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),z=E.saveAs||("object"!=typeof window||window!==E?function(){}:"download"in HTMLAnchorElement.prototype&&!u?function(M,p,v){var _=E.URL||E.webkitURL,d=document.createElement("a");d.download=p=p||M.name||"download",d.rel="noopener","string"==typeof M?(d.href=M,d.origin===location.origin?h(d):l(d.href)?i(M,p,v):h(d,d.target="_blank")):(d.href=_.createObjectURL(M),setTimeout(function(){_.revokeObjectURL(d.href)},4e4),setTimeout(function(){h(d)},0))}:"msSaveOrOpenBlob"in navigator?function(M,p,v){if(p=p||M.name||"download","string"!=typeof M)navigator.msSaveOrOpenBlob(function t(M,p){return typeof p>"u"?p={autoBom:!1}:"object"!=typeof p&&(console.warn("Deprecated: Expected third argument to be a object"),p={autoBom:!p}),p.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(M.type)?new Blob(["\ufeff",M],{type:M.type}):M}(M,v),p);else if(l(M))i(M,p,v);else{var _=document.createElement("a");_.href=M,_.target="_blank",setTimeout(function(){h(_)})}}:function(M,p,v,_){if((_=_||open("","_blank"))&&(_.document.title=_.document.body.innerText="downloading..."),"string"==typeof M)return i(M,p,v);var d="application/octet-stream"===M.type,m=/constructor/i.test(E.HTMLElement)||E.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||d&&m||u)&&typeof FileReader<"u"){var C=new FileReader;C.onloadend=function(){var D=C.result;D=f?D:D.replace(/^data:[^;]*;/,"data:attachment/file;"),_?_.location.href=D:location=D,_=null},C.readAsDataURL(M)}else{var T=E.URL||E.webkitURL,b=T.createObjectURL(M);_?_.location=b:location.href=b,_=null,setTimeout(function(){T.revokeObjectURL(b)},4e4)}});E.saveAs=z.saveAs=z,tt.exports=z})?o.apply(I,[]):o)&&(tt.exports=n)},37037:tt=>{"use strict";var I=tt.exports=function(n,t,i){"function"==typeof t&&(i=t,t={}),o(t,"function"==typeof(i=t.cb||i)?i:i.pre||function(){},i.post||function(){},n,"",n)};function o(n,t,i,l,h,E,u,z,M,p){if(l&&"object"==typeof l&&!Array.isArray(l)){for(var v in t(l,h,E,u,z,M,p),l){var _=l[v];if(Array.isArray(_)){if(v in I.arrayKeywords)for(var d=0;d<_.length;d++)o(n,t,i,_[d],h+"/"+v+"/"+d,E,h,v,l,d)}else if(v in I.propsKeywords){if(_&&"object"==typeof _)for(var m in _)o(n,t,i,_[m],h+"/"+v+"/"+e(m),E,h,v,l,m)}else(v in I.keywords||n.allKeys&&!(v in I.skipKeywords))&&o(n,t,i,_,h+"/"+v,E,h,v,l)}i(l,h,E,u,z,M,p)}}function e(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}I.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},I.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},I.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},I.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},17167:(tt,I,o)=>{var e,n=function(){var t=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",h={};function E(z,M){if(!h[z]){h[z]={};for(var p=0;p>>8,p[2*v+1]=d%256}return p},decompressFromUint8Array:function(z){if(null==z)return u.decompress(z);for(var M=new Array(z.length/2),p=0,v=M.length;p>=1}else{for(_=1,v=0;v>=1}0==--b&&(b=Math.pow(2,y),y++),delete m[T]}else for(_=d[T],v=0;v>=1;0==--b&&(b=Math.pow(2,y),y++),d[C]=D++,T=String(f)}if(""!==T){if(Object.prototype.hasOwnProperty.call(m,T)){if(T.charCodeAt(0)<256){for(v=0;v>=1}else{for(_=1,v=0;v>=1}0==--b&&(b=Math.pow(2,y),y++),delete m[T]}else for(_=d[T],v=0;v>=1;0==--b&&(b=Math.pow(2,y),y++)}for(_=2,v=0;v>=1;for(;;){if(S<<=1,A==M-1){P.push(p(S));break}A++}return P.join("")},decompress:function(z){return null==z?"":""==z?null:u._decompress(z.length,32768,function(M){return z.charCodeAt(M)})},_decompress:function(z,M,p){var b,D,y,P,S,A,k,v=[],d=4,m=4,f=3,C="",T=[],R={val:p(0),position:M,index:1};for(b=0;b<3;b+=1)v[b]=b;for(y=0,S=Math.pow(2,2),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;switch(y){case 0:for(y=0,S=Math.pow(2,8),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;k=t(y);break;case 1:for(y=0,S=Math.pow(2,16),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;k=t(y);break;case 2:return""}for(v[3]=k,D=k,T.push(k);;){if(R.index>z)return"";for(y=0,S=Math.pow(2,f),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;switch(k=y){case 0:for(y=0,S=Math.pow(2,8),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;v[m++]=t(y),k=m-1,d--;break;case 1:for(y=0,S=Math.pow(2,16),A=1;A!=S;)P=R.val&R.position,R.position>>=1,0==R.position&&(R.position=M,R.val=p(R.index++)),y|=(P>0?1:0)*A,A<<=1;v[m++]=t(y),k=m-1,d--;break;case 2:return T.join("")}if(0==d&&(d=Math.pow(2,f),f++),v[k])C=v[k];else{if(k!==m)return null;C=D+D.charAt(0)}T.push(C),v[m++]=D+C.charAt(0),D=C,0==--d&&(d=Math.pow(2,f),f++)}}};return u}();void 0!==(e=function(){return n}.call(I,o,I,tt))&&(tt.exports=e)},65619:(tt,I,o)=>{"use strict";o.d(I,{X:()=>n});var e=o(78645);class n extends e.x{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){const l=super._subscribe(i);return!l.closed&&i.next(this._value),l}getValue(){const{hasError:i,thrownError:l,_value:h}=this;if(i)throw l;return this._throwIfClosed(),h}next(i){super.next(this._value=i)}}},65592:(tt,I,o)=>{"use strict";o.d(I,{y:()=>u});var e=o(80305),n=o(47394),t=o(14850),i=o(88407),l=o(82653),h=o(84674),E=o(81441);let u=(()=>{class v{constructor(d){d&&(this._subscribe=d)}lift(d){const m=new v;return m.source=this,m.operator=d,m}subscribe(d,m,f){const C=function p(v){return v&&v instanceof e.Lv||function M(v){return v&&(0,h.m)(v.next)&&(0,h.m)(v.error)&&(0,h.m)(v.complete)}(v)&&(0,n.Nn)(v)}(d)?d:new e.Hp(d,m,f);return(0,E.x)(()=>{const{operator:T,source:b}=this;C.add(T?T.call(C,b):b?this._subscribe(C):this._trySubscribe(C))}),C}_trySubscribe(d){try{return this._subscribe(d)}catch(m){d.error(m)}}forEach(d,m){return new(m=z(m))((f,C)=>{const T=new e.Hp({next:b=>{try{d(b)}catch(D){C(D),T.unsubscribe()}},error:C,complete:f});this.subscribe(T)})}_subscribe(d){var m;return null===(m=this.source)||void 0===m?void 0:m.subscribe(d)}[t.L](){return this}pipe(...d){return(0,i.U)(d)(this)}toPromise(d){return new(d=z(d))((m,f)=>{let C;this.subscribe(T=>C=T,T=>f(T),()=>m(C))})}}return v.create=_=>new v(_),v})();function z(v){var _;return null!==(_=v??l.config.Promise)&&void 0!==_?_:Promise}},97328:(tt,I,o)=>{"use strict";o.d(I,{t:()=>t});var e=o(78645),n=o(84552);class t extends e.x{constructor(l=1/0,h=1/0,E=n.l){super(),this._bufferSize=l,this._windowTime=h,this._timestampProvider=E,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=h===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,h)}next(l){const{isStopped:h,_buffer:E,_infiniteTimeWindow:u,_timestampProvider:z,_windowTime:M}=this;h||(E.push(l),!u&&E.push(z.now()+M)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const h=this._innerSubscribe(l),{_infiniteTimeWindow:E,_buffer:u}=this,z=u.slice();for(let M=0;M{"use strict";o.d(I,{x:()=>E});var e=o(65592),n=o(47394);const i=(0,o(82306).d)(z=>function(){z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=o(49039),h=o(81441);let E=(()=>{class z extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const v=new u(this,this);return v.operator=p,v}_throwIfClosed(){if(this.closed)throw new i}next(p){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const v of this.currentObservers)v.next(p)}})}error(p){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:v}=this;for(;v.length;)v.shift().error(p)}})}complete(){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:p}=this;for(;p.length;)p.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}_trySubscribe(p){return this._throwIfClosed(),super._trySubscribe(p)}_subscribe(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}_innerSubscribe(p){const{hasError:v,isStopped:_,observers:d}=this;return v||_?n.Lc:(this.currentObservers=null,d.push(p),new n.w0(()=>{this.currentObservers=null,(0,l.P)(d,p)}))}_checkFinalizedStatuses(p){const{hasError:v,thrownError:_,isStopped:d}=this;v?p.error(_):d&&p.complete()}asObservable(){const p=new e.y;return p.source=this,p}}return z.create=(M,p)=>new u(M,p),z})();class u extends E{constructor(M,p){super(),this.destination=M,this.source=p}next(M){var p,v;null===(v=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===v||v.call(p,M)}error(M){var p,v;null===(v=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===v||v.call(p,M)}complete(){var M,p;null===(p=null===(M=this.destination)||void 0===M?void 0:M.complete)||void 0===p||p.call(M)}_subscribe(M){var p,v;return null!==(v=null===(p=this.source)||void 0===p?void 0:p.subscribe(M))&&void 0!==v?v:n.Lc}}},80305:(tt,I,o)=>{"use strict";o.d(I,{Hp:()=>f,Lv:()=>v});var e=o(84674),n=o(47394),t=o(82653),i=o(93894),l=o(72420);const h=z("C",void 0,void 0);function z(y,P,S){return{kind:y,value:P,error:S}}var M=o(87599),p=o(81441);class v extends n.w0{constructor(P){super(),this.isStopped=!1,P?(this.destination=P,(0,n.Nn)(P)&&P.add(this)):this.destination=D}static create(P,S,A){return new f(P,S,A)}next(P){this.isStopped?b(function u(y){return z("N",y,void 0)}(P),this):this._next(P)}error(P){this.isStopped?b(function E(y){return z("E",void 0,y)}(P),this):(this.isStopped=!0,this._error(P))}complete(){this.isStopped?b(h,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(P){this.destination.next(P)}_error(P){try{this.destination.error(P)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _=Function.prototype.bind;function d(y,P){return _.call(y,P)}class m{constructor(P){this.partialObserver=P}next(P){const{partialObserver:S}=this;if(S.next)try{S.next(P)}catch(A){C(A)}}error(P){const{partialObserver:S}=this;if(S.error)try{S.error(P)}catch(A){C(A)}else C(P)}complete(){const{partialObserver:P}=this;if(P.complete)try{P.complete()}catch(S){C(S)}}}class f extends v{constructor(P,S,A){let k;if(super(),(0,e.m)(P)||!P)k={next:P??void 0,error:S??void 0,complete:A??void 0};else{let R;this&&t.config.useDeprecatedNextContext?(R=Object.create(P),R.unsubscribe=()=>this.unsubscribe(),k={next:P.next&&d(P.next,R),error:P.error&&d(P.error,R),complete:P.complete&&d(P.complete,R)}):k=P}this.destination=new m(k)}}function C(y){t.config.useDeprecatedSynchronousErrorHandling?(0,p.O)(y):(0,i.h)(y)}function b(y,P){const{onStoppedNotification:S}=t.config;S&&M.z.setTimeout(()=>S(y,P))}const D={closed:!0,next:l.Z,error:function T(y){throw y},complete:l.Z}},47394:(tt,I,o)=>{"use strict";o.d(I,{Lc:()=>h,w0:()=>l,Nn:()=>E});var e=o(84674);const t=(0,o(82306).d)(z=>function(p){z(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((v,_)=>`${_+1}) ${v.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var i=o(49039);class l{constructor(M){this.initialTeardown=M,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let M;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const d of p)d.remove(this);else p.remove(this);const{initialTeardown:v}=this;if((0,e.m)(v))try{v()}catch(d){M=d instanceof t?d.errors:[d]}const{_finalizers:_}=this;if(_){this._finalizers=null;for(const d of _)try{u(d)}catch(m){M=M??[],m instanceof t?M=[...M,...m.errors]:M.push(m)}}if(M)throw new t(M)}}add(M){var p;if(M&&M!==this)if(this.closed)u(M);else{if(M instanceof l){if(M.closed||M._hasParent(this))return;M._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(M)}}_hasParent(M){const{_parentage:p}=this;return p===M||Array.isArray(p)&&p.includes(M)}_addParent(M){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(M),p):p?[p,M]:M}_removeParent(M){const{_parentage:p}=this;p===M?this._parentage=null:Array.isArray(p)&&(0,i.P)(p,M)}remove(M){const{_finalizers:p}=this;p&&(0,i.P)(p,M),M instanceof l&&M._removeParent(this)}}l.EMPTY=(()=>{const z=new l;return z.closed=!0,z})();const h=l.EMPTY;function E(z){return z instanceof l||z&&"closed"in z&&(0,e.m)(z.remove)&&(0,e.m)(z.add)&&(0,e.m)(z.unsubscribe)}function u(z){(0,e.m)(z)?z():z.unsubscribe()}},82653:(tt,I,o)=>{"use strict";o.d(I,{config:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},93168:(tt,I,o)=>{"use strict";o.d(I,{c:()=>h});var e=o(65592),n=o(47394),t=o(66196),i=o(8251),l=o(79360);class h extends e.y{constructor(u,z){super(),this.source=u,this.subjectFactory=z,this._subject=null,this._refCount=0,this._connection=null,(0,l.A)(u)&&(this.lift=u.lift)}_subscribe(u){return this.getSubject().subscribe(u)}getSubject(){const u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:u}=this;this._subject=this._connection=null,u?.unsubscribe()}connect(){let u=this._connection;if(!u){u=this._connection=new n.w0;const z=this.getSubject();u.add(this.source.subscribe((0,i.x)(z,void 0,()=>{this._teardown(),z.complete()},M=>{this._teardown(),z.error(M)},()=>this._teardown()))),u.closed&&(this._connection=null,u=n.w0.EMPTY)}return u}refCount(){return(0,t.x)()(this)}}},52572:(tt,I,o)=>{"use strict";o.d(I,{a:()=>M});var e=o(65592),n=o(17453),t=o(7715),i=o(42737),l=o(97400),h=o(79940),E=o(92714),u=o(8251),z=o(27103);function M(..._){const d=(0,h.yG)(_),m=(0,h.jO)(_),{args:f,keys:C}=(0,n.D)(_);if(0===f.length)return(0,t.D)([],d);const T=new e.y(function p(_,d,m=i.y){return f=>{v(d,()=>{const{length:C}=_,T=new Array(C);let b=C,D=C;for(let y=0;y{const P=(0,t.D)(_[y],d);let S=!1;P.subscribe((0,u.x)(f,A=>{T[y]=A,S||(S=!0,D--),D||f.next(m(T.slice()))},()=>{--b||f.complete()}))},f)},f)}}(f,d,C?b=>(0,E.n)(C,b):i.y));return m?T.pipe((0,l.Z)(m)):T}function v(_,d,m){_?(0,z.f)(m,_,d):d()}},35211:(tt,I,o)=>{"use strict";o.d(I,{z:()=>l});var e=o(57537),t=o(79940),i=o(7715);function l(...h){return function n(){return(0,e.J)(1)}()((0,i.D)(h,(0,t.yG)(h)))}},74911:(tt,I,o)=>{"use strict";o.d(I,{P:()=>t});var e=o(65592),n=o(54829);function t(i){return new e.y(l=>{(0,n.Xf)(i()).subscribe(l)})}},36232:(tt,I,o)=>{"use strict";o.d(I,{E:()=>n});const n=new(o(65592).y)(l=>l.complete())},7715:(tt,I,o)=>{"use strict";o.d(I,{D:()=>A});var e=o(54829),n=o(27103),t=o(79360),i=o(8251);function l(k,R=0){return(0,t.e)((W,j)=>{W.subscribe((0,i.x)(j,ze=>(0,n.f)(j,k,()=>j.next(ze),R),()=>(0,n.f)(j,k,()=>j.complete(),R),ze=>(0,n.f)(j,k,()=>j.error(ze),R)))})}function h(k,R=0){return(0,t.e)((W,j)=>{j.add(k.schedule(()=>W.subscribe(j),R))})}var z=o(65592),p=o(64971),v=o(84674);function d(k,R){if(!k)throw new Error("Iterable cannot be null");return new z.y(W=>{(0,n.f)(W,R,()=>{const j=k[Symbol.asyncIterator]();(0,n.f)(W,R,()=>{j.next().then(ze=>{ze.done?W.complete():W.next(ze.value)})},0,!0)})})}var m=o(38382),f=o(54026),C=o(64266),T=o(83664),b=o(15726),D=o(69853),y=o(50541);function A(k,R){return R?function S(k,R){if(null!=k){if((0,m.c)(k))return function E(k,R){return(0,e.Xf)(k).pipe(h(R),l(R))}(k,R);if((0,C.z)(k))return function M(k,R){return new z.y(W=>{let j=0;return R.schedule(function(){j===k.length?W.complete():(W.next(k[j++]),W.closed||this.schedule())})})}(k,R);if((0,f.t)(k))return function u(k,R){return(0,e.Xf)(k).pipe(h(R),l(R))}(k,R);if((0,b.D)(k))return d(k,R);if((0,T.T)(k))return function _(k,R){return new z.y(W=>{let j;return(0,n.f)(W,R,()=>{j=k[p.h](),(0,n.f)(W,R,()=>{let ze,Y;try{({value:ze,done:Y}=j.next())}catch(G){return void W.error(G)}Y?W.complete():W.next(ze)},0,!0)}),()=>(0,v.m)(j?.return)&&j.return()})}(k,R);if((0,y.L)(k))return function P(k,R){return d((0,y.Q)(k),R)}(k,R)}throw(0,D.z)(k)}(k,R):(0,e.Xf)(k)}},92438:(tt,I,o)=>{"use strict";o.d(I,{R:()=>M});var e=o(54829),n=o(65592),t=o(21631),i=o(64266),l=o(84674),h=o(97400);const E=["addListener","removeListener"],u=["addEventListener","removeEventListener"],z=["on","off"];function M(m,f,C,T){if((0,l.m)(C)&&(T=C,C=void 0),T)return M(m,f,C).pipe((0,h.Z)(T));const[b,D]=function d(m){return(0,l.m)(m.addEventListener)&&(0,l.m)(m.removeEventListener)}(m)?u.map(y=>P=>m[y](f,P,C)):function v(m){return(0,l.m)(m.addListener)&&(0,l.m)(m.removeListener)}(m)?E.map(p(m,f)):function _(m){return(0,l.m)(m.on)&&(0,l.m)(m.off)}(m)?z.map(p(m,f)):[];if(!b&&(0,i.z)(m))return(0,t.z)(y=>M(y,f,C))((0,e.Xf)(m));if(!b)throw new TypeError("Invalid event target");return new n.y(y=>{const P=(...S)=>y.next(1D(P)})}function p(m,f){return C=>T=>m[C](f,T)}},54829:(tt,I,o)=>{"use strict";o.d(I,{Xf:()=>_});var e=o(97582),n=o(64266),t=o(54026),i=o(65592),l=o(38382),h=o(15726),E=o(69853),u=o(83664),z=o(50541),M=o(84674),p=o(93894),v=o(14850);function _(y){if(y instanceof i.y)return y;if(null!=y){if((0,l.c)(y))return function d(y){return new i.y(P=>{const S=y[v.L]();if((0,M.m)(S.subscribe))return S.subscribe(P);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(y);if((0,n.z)(y))return function m(y){return new i.y(P=>{for(let S=0;S{y.then(S=>{P.closed||(P.next(S),P.complete())},S=>P.error(S)).then(null,p.h)})}(y);if((0,h.D)(y))return T(y);if((0,u.T)(y))return function C(y){return new i.y(P=>{for(const S of y)if(P.next(S),P.closed)return;P.complete()})}(y);if((0,z.L)(y))return function b(y){return T((0,z.Q)(y))}(y)}throw(0,E.z)(y)}function T(y){return new i.y(P=>{(function D(y,P){var S,A,k,R;return(0,e.mG)(this,void 0,void 0,function*(){try{for(S=(0,e.KL)(y);!(A=yield S.next()).done;)if(P.next(A.value),P.closed)return}catch(W){k={error:W}}finally{try{A&&!A.done&&(R=S.return)&&(yield R.call(S))}finally{if(k)throw k.error}}P.complete()})})(y,P).catch(S=>P.error(S))})}},91687:(tt,I,o)=>{"use strict";o.d(I,{F:()=>t});var e=o(16321),n=o(74825);function t(i=0,l=e.z){return i<0&&(i=0),(0,n.H)(i,i,l)}},63019:(tt,I,o)=>{"use strict";o.d(I,{T:()=>h});var e=o(57537),n=o(54829),t=o(36232),i=o(79940),l=o(7715);function h(...E){const u=(0,i.yG)(E),z=(0,i._6)(E,1/0),M=E;return M.length?1===M.length?(0,n.Xf)(M[0]):(0,e.J)(z)((0,l.D)(M,u)):t.E}},22096:(tt,I,o)=>{"use strict";o.d(I,{of:()=>t});var e=o(79940),n=o(7715);function t(...i){const l=(0,e.yG)(i);return(0,n.D)(i,l)}},58504:(tt,I,o)=>{"use strict";o.d(I,{_:()=>t});var e=o(65592),n=o(84674);function t(i,l){const h=(0,n.m)(i)?i:()=>i,E=u=>u.error(h());return new e.y(l?u=>l.schedule(E,0,u):E)}},74825:(tt,I,o)=>{"use strict";o.d(I,{H:()=>l});var e=o(65592),n=o(16321),t=o(50671);function l(h=0,E,u=n.P){let z=-1;return null!=E&&((0,t.K)(E)?u=E:z=E),new e.y(M=>{let p=function i(h){return h instanceof Date&&!isNaN(h)}(h)?+h-u.now():h;p<0&&(p=0);let v=0;return u.schedule(function(){M.closed||(M.next(v++),0<=z?this.schedule(void 0,z):M.complete())},p)})}},8251:(tt,I,o)=>{"use strict";o.d(I,{x:()=>n});var e=o(80305);function n(i,l,h,E,u){return new t(i,l,h,E,u)}class t extends e.Lv{constructor(l,h,E,u,z,M){super(l),this.onFinalize=z,this.shouldUnsubscribe=M,this._next=h?function(p){try{h(p)}catch(v){l.error(v)}}:super._next,this._error=u?function(p){try{u(p)}catch(v){l.error(v)}finally{this.unsubscribe()}}:super._error,this._complete=E?function(){try{E()}catch(p){l.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:h}=this;super.unsubscribe(),!h&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},29028:(tt,I,o)=>{"use strict";o.d(I,{e:()=>E});var e=o(16321),n=o(79360),t=o(54829),i=o(8251),h=o(74825);function E(u,z=e.z){return function l(u){return(0,n.e)((z,M)=>{let p=!1,v=null,_=null,d=!1;const m=()=>{if(_?.unsubscribe(),_=null,p){p=!1;const C=v;v=null,M.next(C)}d&&M.complete()},f=()=>{_=null,d&&M.complete()};z.subscribe((0,i.x)(M,C=>{p=!0,v=C,_||(0,t.Xf)(u(C)).subscribe(_=(0,i.x)(M,m,f))},()=>{d=!0,(!p||!_||_.closed)&&M.complete()}))})}(()=>(0,h.H)(u,z))}},26306:(tt,I,o)=>{"use strict";o.d(I,{K:()=>i});var e=o(54829),n=o(8251),t=o(79360);function i(l){return(0,t.e)((h,E)=>{let M,u=null,z=!1;u=h.subscribe((0,n.x)(E,void 0,void 0,p=>{M=(0,e.Xf)(l(p,i(l)(h))),u?(u.unsubscribe(),u=null,M.subscribe(E)):z=!0})),z&&(u.unsubscribe(),u=null,M.subscribe(E))})}},76328:(tt,I,o)=>{"use strict";o.d(I,{b:()=>t});var e=o(21631),n=o(84674);function t(i,l){return(0,n.m)(l)?(0,e.z)(i,l,1):(0,e.z)(i,1)}},76111:(tt,I,o)=>{"use strict";o.d(I,{D:()=>l});var e=o(79360),n=o(72420),t=o(8251),i=o(54829);function l(h){return(0,e.e)((E,u)=>{let z=!1,M=null,p=null;const v=()=>{if(p?.unsubscribe(),p=null,z){z=!1;const _=M;M=null,u.next(_)}};E.subscribe((0,t.x)(u,_=>{p?.unsubscribe(),z=!0,M=_,p=(0,t.x)(u,v,n.Z),(0,i.Xf)(h(_)).subscribe(p)},()=>{v(),u.complete()},void 0,()=>{M=p=null}))})}},83620:(tt,I,o)=>{"use strict";o.d(I,{b:()=>i});var e=o(16321),n=o(79360),t=o(8251);function i(l,h=e.z){return(0,n.e)((E,u)=>{let z=null,M=null,p=null;const v=()=>{if(z){z.unsubscribe(),z=null;const d=M;M=null,u.next(d)}};function _(){const d=p+l,m=h.now();if(m{M=d,p=h.now(),z||(z=h.schedule(_,l),u.add(z))},()=>{v(),u.complete()},void 0,()=>{M=z=null}))})}},43572:(tt,I,o)=>{"use strict";o.d(I,{d:()=>t});var e=o(79360),n=o(8251);function t(i){return(0,e.e)((l,h)=>{let E=!1;l.subscribe((0,n.x)(h,u=>{E=!0,h.next(u)},()=>{E||h.next(i),h.complete()}))})}},5177:(tt,I,o)=>{"use strict";o.d(I,{g:()=>_});var e=o(16321),n=o(35211),t=o(48180),i=o(79360),l=o(8251),h=o(72420),u=o(21441),z=o(21631),M=o(54829);function p(d,m){return m?f=>(0,n.z)(m.pipe((0,t.q)(1),function E(){return(0,i.e)((d,m)=>{d.subscribe((0,l.x)(m,h.Z))})}()),f.pipe(p(d))):(0,z.z)((f,C)=>(0,M.Xf)(d(f,C)).pipe((0,t.q)(1),(0,u.h)(f)))}var v=o(74825);function _(d,m=e.z){const f=(0,v.H)(d,m);return p(()=>f)}},93997:(tt,I,o)=>{"use strict";o.d(I,{x:()=>i});var e=o(42737),n=o(79360),t=o(8251);function i(h,E=e.y){return h=h??l,(0,n.e)((u,z)=>{let M,p=!0;u.subscribe((0,t.x)(z,v=>{const _=E(v);(p||!h(M,_))&&(p=!1,M=_,z.next(v))}))})}function l(h,E){return h===E}},32181:(tt,I,o)=>{"use strict";o.d(I,{h:()=>t});var e=o(79360),n=o(8251);function t(i,l){return(0,e.e)((h,E)=>{let u=0;h.subscribe((0,n.x)(E,z=>i.call(l,z,u++)&&E.next(z)))})}},64716:(tt,I,o)=>{"use strict";o.d(I,{x:()=>n});var e=o(79360);function n(t){return(0,e.e)((i,l)=>{try{i.subscribe(l)}finally{l.add(t)}})}},81374:(tt,I,o)=>{"use strict";o.d(I,{P:()=>E});var e=o(46973),n=o(32181),t=o(48180),i=o(43572),l=o(3026),h=o(42737);function E(u,z){const M=arguments.length>=2;return p=>p.pipe(u?(0,n.h)((v,_)=>u(v,_,p)):h.y,(0,t.q)(1),M?(0,i.d)(z):(0,l.T)(()=>new e.K))}},37398:(tt,I,o)=>{"use strict";o.d(I,{U:()=>t});var e=o(79360),n=o(8251);function t(i,l){return(0,e.e)((h,E)=>{let u=0;h.subscribe((0,n.x)(E,z=>{E.next(i.call(l,z,u++))}))})}},21441:(tt,I,o)=>{"use strict";o.d(I,{h:()=>n});var e=o(37398);function n(t){return(0,e.U)(()=>t)}},57537:(tt,I,o)=>{"use strict";o.d(I,{J:()=>t});var e=o(21631),n=o(42737);function t(i=1/0){return(0,e.z)(n.y,i)}},21631:(tt,I,o)=>{"use strict";o.d(I,{z:()=>u});var e=o(37398),n=o(54829),t=o(79360),i=o(27103),l=o(8251),E=o(84674);function u(z,M,p=1/0){return(0,E.m)(M)?u((v,_)=>(0,e.U)((d,m)=>M(v,d,_,m))((0,n.Xf)(z(v,_))),p):("number"==typeof M&&(p=M),(0,t.e)((v,_)=>function h(z,M,p,v,_,d,m,f){const C=[];let T=0,b=0,D=!1;const y=()=>{D&&!C.length&&!T&&M.complete()},P=A=>T{d&&M.next(A),T++;let k=!1;(0,n.Xf)(p(A,b++)).subscribe((0,l.x)(M,R=>{_?.(R),d?P(R):M.next(R)},()=>{k=!0},void 0,()=>{if(k)try{for(T--;C.length&&TS(R)):S(R)}y()}catch(R){M.error(R)}}))};return z.subscribe((0,l.x)(M,P,()=>{D=!0,y()})),()=>{f?.()}}(v,_,z,p)))}},66196:(tt,I,o)=>{"use strict";o.d(I,{x:()=>t});var e=o(79360),n=o(8251);function t(){return(0,e.e)((i,l)=>{let h=null;i._refCount++;const E=(0,n.x)(l,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount)return void(h=null);const u=i._connection,z=h;h=null,u&&(!z||u===z)&&u.unsubscribe(),l.unsubscribe()});i.subscribe(E),E.closed||(h=i.connect())})}},63020:(tt,I,o)=>{"use strict";o.d(I,{B:()=>l});var e=o(54829),n=o(78645),t=o(80305),i=o(79360);function l(E={}){const{connector:u=(()=>new n.x),resetOnError:z=!0,resetOnComplete:M=!0,resetOnRefCountZero:p=!0}=E;return v=>{let _,d,m,f=0,C=!1,T=!1;const b=()=>{d?.unsubscribe(),d=void 0},D=()=>{b(),_=m=void 0,C=T=!1},y=()=>{const P=_;D(),P?.unsubscribe()};return(0,i.e)((P,S)=>{f++,!T&&!C&&b();const A=m=m??u();S.add(()=>{f--,0===f&&!T&&!C&&(d=h(y,p))}),A.subscribe(S),!_&&f>0&&(_=new t.Hp({next:k=>A.next(k),error:k=>{T=!0,b(),d=h(D,z,k),A.error(k)},complete:()=>{C=!0,b(),d=h(D,M),A.complete()}}),(0,e.Xf)(P).subscribe(_))})(v)}}function h(E,u,...z){if(!0===u)return void E();if(!1===u)return;const M=new t.Hp({next:()=>{M.unsubscribe(),E()}});return(0,e.Xf)(u(...z)).subscribe(M)}},836:(tt,I,o)=>{"use strict";o.d(I,{T:()=>n});var e=o(32181);function n(t){return(0,e.h)((i,l)=>t<=l)}},27921:(tt,I,o)=>{"use strict";o.d(I,{O:()=>i});var e=o(35211),n=o(79940),t=o(79360);function i(...l){const h=(0,n.yG)(l);return(0,t.e)((E,u)=>{(h?(0,e.z)(l,E,h):(0,e.z)(l,E)).subscribe(u)})}},94664:(tt,I,o)=>{"use strict";o.d(I,{w:()=>i});var e=o(54829),n=o(79360),t=o(8251);function i(l,h){return(0,n.e)((E,u)=>{let z=null,M=0,p=!1;const v=()=>p&&!z&&u.complete();E.subscribe((0,t.x)(u,_=>{z?.unsubscribe();let d=0;const m=M++;(0,e.Xf)(l(_,m)).subscribe(z=(0,t.x)(u,f=>u.next(h?h(_,f,m,d++):f),()=>{z=null,v()}))},()=>{p=!0,v()}))})}},48180:(tt,I,o)=>{"use strict";o.d(I,{q:()=>i});var e=o(36232),n=o(79360),t=o(8251);function i(l){return l<=0?()=>e.E:(0,n.e)((h,E)=>{let u=0;h.subscribe((0,t.x)(E,z=>{++u<=l&&(E.next(z),l<=u&&E.complete())}))})}},59773:(tt,I,o)=>{"use strict";o.d(I,{R:()=>l});var e=o(79360),n=o(8251),t=o(54829),i=o(72420);function l(h){return(0,e.e)((E,u)=>{(0,t.Xf)(h).subscribe((0,n.x)(u,()=>u.complete(),i.Z)),!u.closed&&E.subscribe(u)})}},99397:(tt,I,o)=>{"use strict";o.d(I,{b:()=>l});var e=o(84674),n=o(79360),t=o(8251),i=o(42737);function l(h,E,u){const z=(0,e.m)(h)||E||u?{next:h,error:E,complete:u}:h;return z?(0,n.e)((M,p)=>{var v;null===(v=z.subscribe)||void 0===v||v.call(z);let _=!0;M.subscribe((0,t.x)(p,d=>{var m;null===(m=z.next)||void 0===m||m.call(z,d),p.next(d)},()=>{var d;_=!1,null===(d=z.complete)||void 0===d||d.call(z),p.complete()},d=>{var m;_=!1,null===(m=z.error)||void 0===m||m.call(z,d),p.error(d)},()=>{var d,m;_&&(null===(d=z.unsubscribe)||void 0===d||d.call(z)),null===(m=z.finalize)||void 0===m||m.call(z)}))}):i.y}},18753:(tt,I,o)=>{"use strict";o.d(I,{p:()=>E});var e=o(16321),n=o(79360),t=o(8251),i=o(54829),h=o(74825);function E(u,z=e.z,M){const p=(0,h.H)(u,z);return function l(u,z){return(0,n.e)((M,p)=>{const{leading:v=!0,trailing:_=!1}=z??{};let d=!1,m=null,f=null,C=!1;const T=()=>{f?.unsubscribe(),f=null,_&&(y(),C&&p.complete())},b=()=>{f=null,C&&p.complete()},D=P=>f=(0,i.Xf)(u(P)).subscribe((0,t.x)(p,T,b)),y=()=>{if(d){d=!1;const P=m;m=null,p.next(P),!C&&D(P)}};M.subscribe((0,t.x)(p,P=>{d=!0,m=P,(!f||f.closed)&&(v?y():D(P))},()=>{C=!0,(!(_&&d&&f)||f.closed)&&p.complete()}))})}(()=>p,M)}},3026:(tt,I,o)=>{"use strict";o.d(I,{T:()=>i});var e=o(46973),n=o(79360),t=o(8251);function i(h=l){return(0,n.e)((E,u)=>{let z=!1;E.subscribe((0,t.x)(u,M=>{z=!0,u.next(M)},()=>z?u.complete():u.error(h())))})}function l(){return new e.K}},42460:(tt,I,o)=>{"use strict";o.d(I,{M:()=>E});var e=o(79360),n=o(8251),t=o(54829),i=o(42737),l=o(72420),h=o(79940);function E(...u){const z=(0,h.jO)(u);return(0,e.e)((M,p)=>{const v=u.length,_=new Array(v);let d=u.map(()=>!1),m=!1;for(let f=0;f{_[f]=C,!m&&!d[f]&&(d[f]=!0,(m=d.every(i.y))&&(d=null))},l.Z));M.subscribe((0,n.x)(p,f=>{if(m){const C=[f,..._];p.next(z?z(...C):C)}}))})}},41954:(tt,I,o)=>{"use strict";o.d(I,{o:()=>l});var e=o(47394);class n extends e.w0{constructor(E,u){super()}schedule(E,u=0){return this}}const t={setInterval(h,E,...u){const{delegate:z}=t;return z?.setInterval?z.setInterval(h,E,...u):setInterval(h,E,...u)},clearInterval(h){const{delegate:E}=t;return(E?.clearInterval||clearInterval)(h)},delegate:void 0};var i=o(49039);class l extends n{constructor(E,u){super(E,u),this.scheduler=E,this.work=u,this.pending=!1}schedule(E,u=0){var z;if(this.closed)return this;this.state=E;const M=this.id,p=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(p,M,u)),this.pending=!0,this.delay=u,this.id=null!==(z=this.id)&&void 0!==z?z:this.requestAsyncId(p,this.id,u),this}requestAsyncId(E,u,z=0){return t.setInterval(E.flush.bind(E,this),z)}recycleAsyncId(E,u,z=0){if(null!=z&&this.delay===z&&!1===this.pending)return u;null!=u&&t.clearInterval(u)}execute(E,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const z=this._execute(E,u);if(z)return z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,u){let M,z=!1;try{this.work(E)}catch(p){z=!0,M=p||new Error("Scheduled action threw falsy error")}if(z)return this.unsubscribe(),M}unsubscribe(){if(!this.closed){const{id:E,scheduler:u}=this,{actions:z}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,i.P)(z,this),null!=E&&(this.id=this.recycleAsyncId(u,E,null)),this.delay=null,super.unsubscribe()}}}},2631:(tt,I,o)=>{"use strict";o.d(I,{v:()=>t});var e=o(84552);class n{constructor(l,h=n.now){this.schedulerActionCtor=l,this.now=h}schedule(l,h=0,E){return new this.schedulerActionCtor(this,l).schedule(E,h)}}n.now=e.l.now;class t extends n{constructor(l,h=n.now){super(l,h),this.actions=[],this._active=!1}flush(l){const{actions:h}=this;if(this._active)return void h.push(l);let E;this._active=!0;do{if(E=l.execute(l.state,l.delay))break}while(l=h.shift());if(this._active=!1,E){for(;l=h.shift();)l.unsubscribe();throw E}}}},80927:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>E});var e=o(41954),n=o(47394);const t={schedule(z){let M=requestAnimationFrame,p=cancelAnimationFrame;const{delegate:v}=t;v&&(M=v.requestAnimationFrame,p=v.cancelAnimationFrame);const _=M(d=>{p=void 0,z(d)});return new n.w0(()=>p?.(_))},requestAnimationFrame(...z){const{delegate:M}=t;return(M?.requestAnimationFrame||requestAnimationFrame)(...z)},cancelAnimationFrame(...z){const{delegate:M}=t;return(M?.cancelAnimationFrame||cancelAnimationFrame)(...z)},delegate:void 0};var l=o(2631);const E=new class h extends l.v{flush(M){this._active=!0;const p=this._scheduled;this._scheduled=void 0;const{actions:v}=this;let _;M=M||v.shift();do{if(_=M.execute(M.state,M.delay))break}while((M=v[0])&&M.id===p&&v.shift());if(this._active=!1,_){for(;(M=v[0])&&M.id===p&&v.shift();)M.unsubscribe();throw _}}}(class i extends e.o{constructor(M,p){super(M,p),this.scheduler=M,this.work=p}requestAsyncId(M,p,v=0){return null!==v&&v>0?super.requestAsyncId(M,p,v):(M.actions.push(this),M._scheduled||(M._scheduled=t.requestAnimationFrame(()=>M.flush(void 0))))}recycleAsyncId(M,p,v=0){var _;if(null!=v?v>0:this.delay>0)return super.recycleAsyncId(M,p,v);const{actions:d}=M;null!=p&&(null===(_=d[d.length-1])||void 0===_?void 0:_.id)!==p&&(t.cancelAnimationFrame(p),M._scheduled=void 0)}})},76410:(tt,I,o)=>{"use strict";o.d(I,{E:()=>d});var e=o(41954);let t,n=1;const i={};function l(f){return f in i&&(delete i[f],!0)}const h={setImmediate(f){const C=n++;return i[C]=!0,t||(t=Promise.resolve()),t.then(()=>l(C)&&f()),C},clearImmediate(f){l(f)}},{setImmediate:u,clearImmediate:z}=h,M={setImmediate(...f){const{delegate:C}=M;return(C?.setImmediate||u)(...f)},clearImmediate(f){const{delegate:C}=M;return(C?.clearImmediate||z)(f)},delegate:void 0};var v=o(2631);const d=new class _ extends v.v{flush(C){this._active=!0;const T=this._scheduled;this._scheduled=void 0;const{actions:b}=this;let D;C=C||b.shift();do{if(D=C.execute(C.state,C.delay))break}while((C=b[0])&&C.id===T&&b.shift());if(this._active=!1,D){for(;(C=b[0])&&C.id===T&&b.shift();)C.unsubscribe();throw D}}}(class p extends e.o{constructor(C,T){super(C,T),this.scheduler=C,this.work=T}requestAsyncId(C,T,b=0){return null!==b&&b>0?super.requestAsyncId(C,T,b):(C.actions.push(this),C._scheduled||(C._scheduled=M.setImmediate(C.flush.bind(C,void 0))))}recycleAsyncId(C,T,b=0){var D;if(null!=b?b>0:this.delay>0)return super.recycleAsyncId(C,T,b);const{actions:y}=C;null!=T&&(null===(D=y[y.length-1])||void 0===D?void 0:D.id)!==T&&(M.clearImmediate(T),C._scheduled===T&&(C._scheduled=void 0))}})},16321:(tt,I,o)=>{"use strict";o.d(I,{P:()=>i,z:()=>t});var e=o(41954);const t=new(o(2631).v)(e.o),i=t},84552:(tt,I,o)=>{"use strict";o.d(I,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},87599:(tt,I,o)=>{"use strict";o.d(I,{z:()=>e});const e={setTimeout(n,t,...i){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(n,t,...i):setTimeout(n,t,...i)},clearTimeout(n){const{delegate:t}=e;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0}},64971:(tt,I,o)=>{"use strict";o.d(I,{h:()=>n});const n=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},14850:(tt,I,o)=>{"use strict";o.d(I,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},46973:(tt,I,o)=>{"use strict";o.d(I,{K:()=>n});const n=(0,o(82306).d)(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})},79940:(tt,I,o)=>{"use strict";o.d(I,{_6:()=>h,jO:()=>i,yG:()=>l});var e=o(84674),n=o(50671);function t(E){return E[E.length-1]}function i(E){return(0,e.m)(t(E))?E.pop():void 0}function l(E){return(0,n.K)(t(E))?E.pop():void 0}function h(E,u){return"number"==typeof t(E)?E.pop():u}},17453:(tt,I,o)=>{"use strict";o.d(I,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:n,prototype:t,keys:i}=Object;function l(E){if(1===E.length){const u=E[0];if(e(u))return{args:u,keys:null};if(function h(E){return E&&"object"==typeof E&&n(E)===t}(u)){const z=i(u);return{args:z.map(M=>u[M]),keys:z}}}return{args:E,keys:null}}},49039:(tt,I,o)=>{"use strict";function e(n,t){if(n){const i=n.indexOf(t);0<=i&&n.splice(i,1)}}o.d(I,{P:()=>e})},82306:(tt,I,o)=>{"use strict";function e(n){const i=n(l=>{Error.call(l),l.stack=(new Error).stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}o.d(I,{d:()=>e})},92714:(tt,I,o)=>{"use strict";function e(n,t){return n.reduce((i,l,h)=>(i[l]=t[h],i),{})}o.d(I,{n:()=>e})},81441:(tt,I,o)=>{"use strict";o.d(I,{O:()=>i,x:()=>t});var e=o(82653);let n=null;function t(l){if(e.config.useDeprecatedSynchronousErrorHandling){const h=!n;if(h&&(n={errorThrown:!1,error:null}),l(),h){const{errorThrown:E,error:u}=n;if(n=null,E)throw u}}else l()}function i(l){e.config.useDeprecatedSynchronousErrorHandling&&n&&(n.errorThrown=!0,n.error=l)}},27103:(tt,I,o)=>{"use strict";function e(n,t,i,l=0,h=!1){const E=t.schedule(function(){i(),h?n.add(this.schedule(null,l)):this.unsubscribe()},l);if(n.add(E),!h)return E}o.d(I,{f:()=>e})},42737:(tt,I,o)=>{"use strict";function e(n){return n}o.d(I,{y:()=>e})},64266:(tt,I,o)=>{"use strict";o.d(I,{z:()=>e});const e=n=>n&&"number"==typeof n.length&&"function"!=typeof n},15726:(tt,I,o)=>{"use strict";o.d(I,{D:()=>n});var e=o(84674);function n(t){return Symbol.asyncIterator&&(0,e.m)(t?.[Symbol.asyncIterator])}},84674:(tt,I,o)=>{"use strict";function e(n){return"function"==typeof n}o.d(I,{m:()=>e})},38382:(tt,I,o)=>{"use strict";o.d(I,{c:()=>t});var e=o(14850),n=o(84674);function t(i){return(0,n.m)(i[e.L])}},83664:(tt,I,o)=>{"use strict";o.d(I,{T:()=>t});var e=o(64971),n=o(84674);function t(i){return(0,n.m)(i?.[e.h])}},2664:(tt,I,o)=>{"use strict";o.d(I,{b:()=>t});var e=o(65592),n=o(84674);function t(i){return!!i&&(i instanceof e.y||(0,n.m)(i.lift)&&(0,n.m)(i.subscribe))}},54026:(tt,I,o)=>{"use strict";o.d(I,{t:()=>n});var e=o(84674);function n(t){return(0,e.m)(t?.then)}},50541:(tt,I,o)=>{"use strict";o.d(I,{L:()=>i,Q:()=>t});var e=o(97582),n=o(84674);function t(l){return(0,e.FC)(this,arguments,function*(){const E=l.getReader();try{for(;;){const{value:u,done:z}=yield(0,e.qq)(E.read());if(z)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(u)}}finally{E.releaseLock()}})}function i(l){return(0,n.m)(l?.getReader)}},50671:(tt,I,o)=>{"use strict";o.d(I,{K:()=>n});var e=o(84674);function n(t){return t&&(0,e.m)(t.schedule)}},79360:(tt,I,o)=>{"use strict";o.d(I,{A:()=>n,e:()=>t});var e=o(84674);function n(i){return(0,e.m)(i?.lift)}function t(i){return l=>{if(n(l))return l.lift(function(h){try{return i(h,this)}catch(E){this.error(E)}});throw new TypeError("Unable to lift unknown Observable type")}}},97400:(tt,I,o)=>{"use strict";o.d(I,{Z:()=>i});var e=o(37398);const{isArray:n}=Array;function i(l){return(0,e.U)(h=>function t(l,h){return n(h)?l(...h):l(h)}(l,h))}},72420:(tt,I,o)=>{"use strict";function e(){}o.d(I,{Z:()=>e})},88407:(tt,I,o)=>{"use strict";o.d(I,{U:()=>t,z:()=>n});var e=o(42737);function n(...i){return t(i)}function t(i){return 0===i.length?e.y:1===i.length?i[0]:function(h){return i.reduce((E,u)=>u(E),h)}}},93894:(tt,I,o)=>{"use strict";o.d(I,{h:()=>t});var e=o(82653),n=o(87599);function t(i){n.z.setTimeout(()=>{const{onUnhandledError:l}=e.config;if(!l)throw i;l(i)})}},69853:(tt,I,o)=>{"use strict";function e(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(I,{z:()=>e})},96064:function(tt,I){!function(o){"use strict";function e(){for(var Ee=arguments.length,be=Array(Ee),Qe=0;Qe1){be[0]=be[0].slice(0,-1);for(var Ke=be.length-1,Ze=1;Ze= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=Math.floor,W=String.fromCharCode;function j(Ee){throw new RangeError(A[Ee])}function Y(Ee,be){var Qe=Ee.split("@"),Ke="";return Qe.length>1&&(Ke=Qe[0]+"@",Ee=Qe[1]),Ke+function ze(Ee,be){for(var Qe=[],Ke=Ee.length;Ke--;)Qe[Ke]=be(Ee[Ke]);return Qe}((Ee=Ee.replace(S,".")).split("."),be).join(".")}function G(Ee){for(var be=[],Qe=0,Ke=Ee.length;Qe=55296&&Ze<=56319&&Qe>1,be+=R(be/Qe);be>455;Ze+=_)be=R(be/35);return R(Ze+36*be/(be+38))},pe=function(be){var Qe=[],Ke=be.length,Ze=0,ve=128,nt=72,x=be.lastIndexOf("-");x<0&&(x=0);for(var N=0;N=128&&j("not-basic"),Qe.push(be.charCodeAt(N));for(var O=x>0?x+1:0;O=Ke&&j("invalid-input");var Ce=K(be.charCodeAt(O++));(Ce>=_||Ce>R((v-Ze)/L))&&j("overflow"),Ze+=Ce*L;var Dt=he<=nt?1:he>=nt+26?26:he-nt;if(CeR(v/Yt)&&j("overflow"),L*=Yt}var rn=Qe.length+1;nt=te(Ze-$,rn,0==$),R(Ze/rn)>v-ve&&j("overflow"),ve+=R(Ze/rn),Ze%=rn,Qe.splice(Ze++,0,ve)}return String.fromCodePoint.apply(String,Qe)},re=function(be){var Qe=[],Ke=(be=G(be)).length,Ze=128,ve=0,nt=72,x=!0,N=!1,O=void 0;try{for(var L,$=be[Symbol.iterator]();!(x=(L=$.next()).done);x=!0){var he=L.value;he<128&&Qe.push(W(he))}}catch(fi){N=!0,O=fi}finally{try{!x&&$.return&&$.return()}finally{if(N)throw O}}var Ce=Qe.length,Dt=Ce;for(Ce&&Qe.push("-");Dt=Ze&&DnR((v-ve)/xn)&&j("overflow"),ve+=(Yt-Ze)*xn,Ze=Yt;var Ln=!0,ei=!1,ii=void 0;try{for(var di,Hn=be[Symbol.iterator]();!(Ln=(di=Hn.next()).done);Ln=!0){var oi=di.value;if(oiv&&j("overflow"),oi==Ze){for(var ai=ve,ri=_;;ri+=_){var hi=ri<=nt?1:ri>=nt+26?26:ri-nt;if(ai>6|192).toString(16).toUpperCase()+"%"+(63&be|128).toString(16).toUpperCase():"%"+(be>>12|224).toString(16).toUpperCase()+"%"+(be>>6&63|128).toString(16).toUpperCase()+"%"+(63&be|128).toString(16).toUpperCase()}function le(Ee){for(var be="",Qe=0,Ke=Ee.length;Qe=194&&Ze<224){if(Ke-Qe>=6){var ve=parseInt(Ee.substr(Qe+4,2),16);be+=String.fromCharCode((31&Ze)<<6|63&ve)}else be+=Ee.substr(Qe,6);Qe+=6}else if(Ze>=224){if(Ke-Qe>=9){var nt=parseInt(Ee.substr(Qe+4,2),16),x=parseInt(Ee.substr(Qe+7,2),16);be+=String.fromCharCode((15&Ze)<<12|(63&nt)<<6|63&x)}else be+=Ee.substr(Qe,9);Qe+=9}else be+=Ee.substr(Qe,3),Qe+=3}return be}function Se(Ee,be){function Qe(Ke){var Ze=le(Ke);return Ze.match(be.UNRESERVED)?Ze:Ke}return Ee.scheme&&(Ee.scheme=String(Ee.scheme).replace(be.PCT_ENCODED,Qe).toLowerCase().replace(be.NOT_SCHEME,"")),void 0!==Ee.userinfo&&(Ee.userinfo=String(Ee.userinfo).replace(be.PCT_ENCODED,Qe).replace(be.NOT_USERINFO,ne).replace(be.PCT_ENCODED,i)),void 0!==Ee.host&&(Ee.host=String(Ee.host).replace(be.PCT_ENCODED,Qe).toLowerCase().replace(be.NOT_HOST,ne).replace(be.PCT_ENCODED,i)),void 0!==Ee.path&&(Ee.path=String(Ee.path).replace(be.PCT_ENCODED,Qe).replace(Ee.scheme?be.NOT_PATH:be.NOT_PATH_NOSCHEME,ne).replace(be.PCT_ENCODED,i)),void 0!==Ee.query&&(Ee.query=String(Ee.query).replace(be.PCT_ENCODED,Qe).replace(be.NOT_QUERY,ne).replace(be.PCT_ENCODED,i)),void 0!==Ee.fragment&&(Ee.fragment=String(Ee.fragment).replace(be.PCT_ENCODED,Qe).replace(be.NOT_FRAGMENT,ne).replace(be.PCT_ENCODED,i)),Ee}function Ne(Ee){return Ee.replace(/^0*(.*)/,"$1")||"0"}function ke(Ee,be){var Qe=Ee.match(be.IPV4ADDRESS)||[],Ze=M(Qe,2)[1];return Ze?Ze.split(".").map(Ne).join("."):Ee}function oe(Ee,be){var Qe=Ee.match(be.IPV6ADDRESS)||[],Ke=M(Qe,3),Ze=Ke[1],ve=Ke[2];if(Ze){for(var nt=Ze.toLowerCase().split("::").reverse(),x=M(nt,2),N=x[0],O=x[1],$=O?O.split(":").map(Ne):[],L=N.split(":").map(Ne),he=be.IPV4ADDRESS.test(L[L.length-1]),Ce=he?7:8,Dt=L.length-Ce,Yt=Array(Ce),rn=0;rn1){var En=Yt.slice(0,yn.index),Dn=Yt.slice(yn.index+yn.length);Mn=En.join(":")+"::"+Dn.join(":")}else Mn=Yt.join(":");return ve&&(Mn+="%"+ve),Mn}return Ee}var _e=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Q=void 0==="".match(/(){0}/)[1];function He(Ee){var be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe={},Ke=!1!==be.iri?z:u;"suffix"===be.reference&&(Ee=(be.scheme?be.scheme+":":"")+"//"+Ee);var Ze=Ee.match(_e);if(Ze){Q?(Qe.scheme=Ze[1],Qe.userinfo=Ze[3],Qe.host=Ze[4],Qe.port=parseInt(Ze[5],10),Qe.path=Ze[6]||"",Qe.query=Ze[7],Qe.fragment=Ze[8],isNaN(Qe.port)&&(Qe.port=Ze[5])):(Qe.scheme=Ze[1]||void 0,Qe.userinfo=-1!==Ee.indexOf("@")?Ze[3]:void 0,Qe.host=-1!==Ee.indexOf("//")?Ze[4]:void 0,Qe.port=parseInt(Ze[5],10),Qe.path=Ze[6]||"",Qe.query=-1!==Ee.indexOf("?")?Ze[7]:void 0,Qe.fragment=-1!==Ee.indexOf("#")?Ze[8]:void 0,isNaN(Qe.port)&&(Qe.port=Ee.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?Ze[4]:void 0)),Qe.host&&(Qe.host=oe(ke(Qe.host,Ke),Ke)),Qe.reference=void 0!==Qe.scheme||void 0!==Qe.userinfo||void 0!==Qe.host||void 0!==Qe.port||Qe.path||void 0!==Qe.query?void 0===Qe.scheme?"relative":void 0===Qe.fragment?"absolute":"uri":"same-document",be.reference&&"suffix"!==be.reference&&be.reference!==Qe.reference&&(Qe.error=Qe.error||"URI is not a "+be.reference+" reference.");var ve=X[(be.scheme||Qe.scheme||"").toLowerCase()];if(be.unicodeSupport||ve&&ve.unicodeSupport)Se(Qe,Ke);else{if(Qe.host&&(be.domainHost||ve&&ve.domainHost))try{Qe.host=ce.toASCII(Qe.host.replace(Ke.PCT_ENCODED,le).toLowerCase())}catch(nt){Qe.error=Qe.error||"Host's domain name can not be converted to ASCII via punycode: "+nt}Se(Qe,u)}ve&&ve.parse&&ve.parse(Qe,be)}else Qe.error=Qe.error||"URI can not be parsed.";return Qe}var lt=/^\.\.?\//,Pe=/^\/\.(\/|$)/,xt=/^\/\.\.(\/|$)/,$e=/^\/?(?:.|\n)*?(?=\/|$)/;function ot(Ee){for(var be=[];Ee.length;)if(Ee.match(lt))Ee=Ee.replace(lt,"");else if(Ee.match(Pe))Ee=Ee.replace(Pe,"/");else if(Ee.match(xt))Ee=Ee.replace(xt,"/"),be.pop();else if("."===Ee||".."===Ee)Ee="";else{var Qe=Ee.match($e);if(!Qe)throw new Error("Unexpected dot segment condition");var Ke=Qe[0];Ee=Ee.slice(Ke.length),be.push(Ke)}return be.join("")}function mt(Ee){var be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qe=be.iri?z:u,Ke=[],Ze=X[(be.scheme||Ee.scheme||"").toLowerCase()];if(Ze&&Ze.serialize&&Ze.serialize(Ee,be),Ee.host&&!Qe.IPV6ADDRESS.test(Ee.host)&&(be.domainHost||Ze&&Ze.domainHost))try{Ee.host=be.iri?ce.toUnicode(Ee.host):ce.toASCII(Ee.host.replace(Qe.PCT_ENCODED,le).toLowerCase())}catch(x){Ee.error=Ee.error||"Host's domain name can not be converted to "+(be.iri?"Unicode":"ASCII")+" via punycode: "+x}Se(Ee,Qe),"suffix"!==be.reference&&Ee.scheme&&(Ke.push(Ee.scheme),Ke.push(":"));var ve=function Re(Ee,be){var Qe=!1!==be.iri?z:u,Ke=[];return void 0!==Ee.userinfo&&(Ke.push(Ee.userinfo),Ke.push("@")),void 0!==Ee.host&&Ke.push(oe(ke(String(Ee.host),Qe),Qe).replace(Qe.IPV6ADDRESS,function(Ze,ve,nt){return"["+ve+(nt?"%25"+nt:"")+"]"})),("number"==typeof Ee.port||"string"==typeof Ee.port)&&(Ke.push(":"),Ke.push(String(Ee.port))),Ke.length?Ke.join(""):void 0}(Ee,be);if(void 0!==ve&&("suffix"!==be.reference&&Ke.push("//"),Ke.push(ve),Ee.path&&"/"!==Ee.path.charAt(0)&&Ke.push("/")),void 0!==Ee.path){var nt=Ee.path;!be.absolutePath&&(!Ze||!Ze.absolutePath)&&(nt=ot(nt)),void 0===ve&&(nt=nt.replace(/^\/\//,"/%2F")),Ke.push(nt)}return void 0!==Ee.query&&(Ke.push("?"),Ke.push(Ee.query)),void 0!==Ee.fragment&&(Ke.push("#"),Ke.push(Ee.fragment)),Ke.join("")}function we(Ee,be){var Qe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Ze={};return arguments[3]||(Ee=He(mt(Ee,Qe),Qe),be=He(mt(be,Qe),Qe)),!(Qe=Qe||{}).tolerant&&be.scheme?(Ze.scheme=be.scheme,Ze.userinfo=be.userinfo,Ze.host=be.host,Ze.port=be.port,Ze.path=ot(be.path||""),Ze.query=be.query):(void 0!==be.userinfo||void 0!==be.host||void 0!==be.port?(Ze.userinfo=be.userinfo,Ze.host=be.host,Ze.port=be.port,Ze.path=ot(be.path||""),Ze.query=be.query):(be.path?("/"===be.path.charAt(0)?Ze.path=ot(be.path):(Ze.path=void 0===Ee.userinfo&&void 0===Ee.host&&void 0===Ee.port||Ee.path?Ee.path?Ee.path.slice(0,Ee.path.lastIndexOf("/")+1)+be.path:be.path:"/"+be.path,Ze.path=ot(Ze.path)),Ze.query=be.query):(Ze.path=Ee.path,Ze.query=void 0!==be.query?be.query:Ee.query),Ze.userinfo=Ee.userinfo,Ze.host=Ee.host,Ze.port=Ee.port),Ze.scheme=Ee.scheme),Ze.fragment=be.fragment,Ze}function Ae(Ee,be){return Ee&&Ee.toString().replace(be&&be.iri?z.PCT_ENCODED:u.PCT_ENCODED,le)}var Le={scheme:"http",domainHost:!0,parse:function(be,Qe){return be.host||(be.error=be.error||"HTTP URIs must have a host."),be},serialize:function(be,Qe){var Ke="https"===String(be.scheme).toLowerCase();return(be.port===(Ke?443:80)||""===be.port)&&(be.port=void 0),be.path||(be.path="/"),be}},ht={scheme:"https",domainHost:Le.domainHost,parse:Le.parse,serialize:Le.serialize};function Ot(Ee){return"boolean"==typeof Ee.secure?Ee.secure:"wss"===String(Ee.scheme).toLowerCase()}var Lt={scheme:"ws",domainHost:!0,parse:function(be,Qe){var Ke=be;return Ke.secure=Ot(Ke),Ke.resourceName=(Ke.path||"/")+(Ke.query?"?"+Ke.query:""),Ke.path=void 0,Ke.query=void 0,Ke},serialize:function(be,Qe){if((be.port===(Ot(be)?443:80)||""===be.port)&&(be.port=void 0),"boolean"==typeof be.secure&&(be.scheme=be.secure?"wss":"ws",be.secure=void 0),be.resourceName){var Ke=be.resourceName.split("?"),Ze=M(Ke,2),ve=Ze[0],nt=Ze[1];be.path=ve&&"/"!==ve?ve:void 0,be.query=nt,be.resourceName=void 0}return be.fragment=void 0,be}},Wt={scheme:"wss",domainHost:Lt.domainHost,parse:Lt.parse,serialize:Lt.serialize},qt={},Vt="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",cn="[0-9A-Fa-f]",ft=n(n("%[EFef]"+cn+"%"+cn+cn+"%"+cn+cn)+"|"+n("%[89A-Fa-f]"+cn+"%"+cn+cn)+"|"+n("%"+cn+cn)),Ct=e("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),kt=new RegExp(Vt,"g"),St=new RegExp(ft,"g"),qe=new RegExp(e("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Ct),"g"),Fe=new RegExp(e("[^]",Vt,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),fe=Fe;function Xe(Ee){var be=le(Ee);return be.match(kt)?be:Ee}var ge={scheme:"mailto",parse:function(be,Qe){var Ke=be,Ze=Ke.to=Ke.path?Ke.path.split(","):[];if(Ke.path=void 0,Ke.query){for(var ve=!1,nt={},x=Ke.query.split("&"),N=0,O=x.length;N{"use strict";o.d(I,{Z:()=>e});const e="import { MockStatusError, MockRequest } from '@delon/mock';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n// import * as Mock from 'mockjs';\n\nconst r = (min: number, max: number): number => Math.floor(Math.random() * (max - min + 1) + min);\n\nexport const USERS = {\n // \u652f\u6301\u503c\u4e3a Object \u548c Array\n 'GET /users': (req: MockRequest) => {\n const total = req.queryString.total || 100;\n const res: NzSafeAny = {\n list: [],\n total\n };\n for (let i = 0; i < +req.queryString.ps; i++) {\n res.list.push({\n id: i + 1,\n type: r(1, 3),\n picture: {\n thumbnail: `https://randomuser.me/api/portraits/thumb/${r(0, 1) === 0 ? 'men' : 'women'}/${r(1, 50)}.jpg`\n },\n name: {\n last: `last-${r(1, 10)}`,\n first: `first-${r(10, 20)}`\n },\n nat: ['CH', 'US', 'DE'][i % 3],\n gender: ['male', 'female'][i % 2],\n email: `aaa${r(1, 10)}@qq.com`,\n phone: `phone-${r(1000, 100000)}`,\n price: r(10, 10000000),\n total: r(10, 10000000),\n website: `https://${r(10, 10000000)}.com/`,\n disabled: r(1, 100) > 50,\n registered: new Date()\n });\n }\n return res;\n },\n 'GET /user/check/': () => false,\n 'GET /user/check/:name': (req: MockRequest) => req.params.name === 'cipchk',\n // GET POST \u53ef\u7701\u7565\n // '/users/1': Mock.mock({ id: 1, 'rank|3': '\u2605\u2605\u2605' }),\n // \u53d1\u9001 Status \u9519\u8bef\n '/500': () => {\n throw new MockStatusError(500);\n },\n '/404': () => {\n throw new MockStatusError(404);\n },\n '/user/:id': (req: MockRequest) => {\n return { id: req.params.id, name: 'detail' };\n },\n '/user/:id/edit': (req: MockRequest) => {\n return { id: req.params.id, name: 'edit' };\n },\n '/user/:id/upload': (req: MockRequest) => {\n return { id: req.params.id, name: 'upload' };\n }\n};\n"},59344:tt=>{function I(e,n,t,i,l,h,E){try{var u=e[h](E),z=u.value}catch(M){return void t(M)}u.done?n(z):Promise.resolve(z).then(i,l)}tt.exports=function o(e){return function(){var n=this,t=arguments;return new Promise(function(i,l){var h=e.apply(n,t);function E(z){I(h,i,l,E,u,"next",z)}function u(z){I(h,i,l,E,u,"throw",z)}E(void 0)})}},tt.exports.__esModule=!0,tt.exports.default=tt.exports},49671:(tt,I,o)=>{"use strict";function e(t,i,l,h,E,u,z){try{var M=t[u](z),p=M.value}catch(v){return void l(v)}M.done?i(p):Promise.resolve(p).then(h,E)}function n(t){return function(){var i=this,l=arguments;return new Promise(function(h,E){var u=t.apply(i,l);function z(p){e(u,h,E,z,M,"next",p)}function M(p){e(u,h,E,z,M,"throw",p)}z(void 0)})}}o.d(I,{Z:()=>n})},86825:(tt,I,o)=>{"use strict";o.d(I,{EY:()=>f,IO:()=>m,LC:()=>n,SB:()=>z,X$:()=>i,ZE:()=>T,ZN:()=>C,_j:()=>e,eR:()=>p,jt:()=>l,k1:()=>b,l3:()=>t,oB:()=>u,vP:()=>E});class e{}class n{}const t="*";function i(D,y){return{type:7,name:D,definitions:y,options:{}}}function l(D,y=null){return{type:4,styles:y,timings:D}}function E(D,y=null){return{type:2,steps:D,options:y}}function u(D){return{type:6,styles:D,offset:null}}function z(D,y,P){return{type:0,name:D,styles:y,options:P}}function p(D,y,P=null){return{type:1,expr:D,animation:y,options:P}}function m(D,y,P=null){return{type:11,selector:D,animation:y,options:P}}function f(D,y){return{type:12,timings:D,animation:y}}class C{constructor(y=0,P=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=y+P}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(y=>y()),this._onDoneFns=[])}onStart(y){this._originalOnStartFns.push(y),this._onStartFns.push(y)}onDone(y){this._originalOnDoneFns.push(y),this._onDoneFns.push(y)}onDestroy(y){this._onDestroyFns.push(y)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(y=>y()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(y=>y()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(y){this._position=this.totalTime?y*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(y){const P="start"==y?this._onStartFns:this._onDoneFns;P.forEach(S=>S()),P.length=0}}class T{constructor(y){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=y;let P=0,S=0,A=0;const k=this.players.length;0==k?queueMicrotask(()=>this._onFinish()):this.players.forEach(R=>{R.onDone(()=>{++P==k&&this._onFinish()}),R.onDestroy(()=>{++S==k&&this._onDestroy()}),R.onStart(()=>{++A==k&&this._onStart()})}),this.totalTime=this.players.reduce((R,W)=>Math.max(R,W.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(y=>y()),this._onDoneFns=[])}init(){this.players.forEach(y=>y.init())}onStart(y){this._onStartFns.push(y)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(y=>y()),this._onStartFns=[])}onDone(y){this._onDoneFns.push(y)}onDestroy(y){this._onDestroyFns.push(y)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(y=>y.play())}pause(){this.players.forEach(y=>y.pause())}restart(){this.players.forEach(y=>y.restart())}finish(){this._onFinish(),this.players.forEach(y=>y.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(y=>y.destroy()),this._onDestroyFns.forEach(y=>y()),this._onDestroyFns=[])}reset(){this.players.forEach(y=>y.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(y){const P=y*this.totalTime;this.players.forEach(S=>{const A=S.totalTime?Math.min(1,P/S.totalTime):1;S.setPosition(A)})}getPosition(){const y=this.players.reduce((P,S)=>null===P||S.totalTime>P.totalTime?S:P,null);return null!=y?y.getPosition():0}beforeDestroy(){this.players.forEach(y=>{y.beforeDestroy&&y.beforeDestroy()})}triggerCallback(y){const P="start"==y?this._onStartFns:this._onDoneFns;P.forEach(S=>S()),P.length=0}}const b="!"},4300:(tt,I,o)=>{"use strict";o.d(I,{Em:()=>K,X6:()=>ot,kH:()=>cn,mK:()=>He,qV:()=>Q,rt:()=>Nt,tE:()=>Vt,yG:()=>mt});var e=o(96814),n=o(65879),t=o(62831),i=o(78645),l=o(47394),h=o(65619),E=o(22096),u=o(36028),z=o(99397),M=o(83620),p=o(32181),v=o(37398),_=o(48180),d=o(836),m=o(93997),f=o(59773),C=o(42495),T=o(17131),b=o(71088);class G{constructor(St){this._items=St,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new i.x,this._typeaheadSubscription=l.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=qe=>qe.disabled,this._pressedLetters=[],this.tabOut=new i.x,this.change=new i.x,St instanceof n.n_E&&(this._itemChangesSubscription=St.changes.subscribe(qe=>{if(this._activeItem){const fe=qe.toArray().indexOf(this._activeItem);fe>-1&&fe!==this._activeItemIndex&&(this._activeItemIndex=fe)}}))}skipPredicate(St){return this._skipPredicateFn=St,this}withWrap(St=!0){return this._wrap=St,this}withVerticalOrientation(St=!0){return this._vertical=St,this}withHorizontalOrientation(St){return this._horizontal=St,this}withAllowedModifierKeys(St){return this._allowedModifierKeys=St,this}withTypeAhead(St=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,z.b)(qe=>this._pressedLetters.push(qe)),(0,M.b)(St),(0,p.h)(()=>this._pressedLetters.length>0),(0,v.U)(()=>this._pressedLetters.join(""))).subscribe(qe=>{const Fe=this._getItemsArray();for(let fe=1;fe!St[Xe]||this._allowedModifierKeys.indexOf(Xe)>-1);switch(qe){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&fe){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&fe){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&fe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&fe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&fe){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&fe){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&fe){const Xe=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Xe>0?Xe:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&fe){const Xe=this._activeItemIndex+this._pageUpAndDown.delta,ge=this._getItemsArray().length;this._setActiveItemByIndex(Xe=u.A&&qe<=u.Z||qe>=u.xE&&qe<=u.aO)&&this._letterKeyStream.next(String.fromCharCode(qe))))}this._pressedLetters=[],St.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(St){const qe=this._getItemsArray(),Fe="number"==typeof St?St:qe.indexOf(St);this._activeItem=qe[Fe]??null,this._activeItemIndex=Fe}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(St){this._wrap?this._setActiveInWrapMode(St):this._setActiveInDefaultMode(St)}_setActiveInWrapMode(St){const qe=this._getItemsArray();for(let Fe=1;Fe<=qe.length;Fe++){const fe=(this._activeItemIndex+St*Fe+qe.length)%qe.length;if(!this._skipPredicateFn(qe[fe]))return void this.setActiveItem(fe)}}_setActiveInDefaultMode(St){this._setActiveItemByIndex(this._activeItemIndex+St,St)}_setActiveItemByIndex(St,qe){const Fe=this._getItemsArray();if(Fe[St]){for(;this._skipPredicateFn(Fe[St]);)if(!Fe[St+=qe])return;this.setActiveItem(St)}}_getItemsArray(){return this._items instanceof n.n_E?this._items.toArray():this._items}}class K extends G{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(St){return this._origin=St,this}setActiveItem(St){super.setActiveItem(St),this.activeItem&&this.activeItem.focus(this._origin)}}let te=(()=>{class kt{constructor(qe){this._platform=qe}isDisabled(qe){return qe.hasAttribute("disabled")}isVisible(qe){return function re(kt){return!!(kt.offsetWidth||kt.offsetHeight||"function"==typeof kt.getClientRects&&kt.getClientRects().length)}(qe)&&"visible"===getComputedStyle(qe).visibility}isTabbable(qe){if(!this._platform.isBrowser)return!1;const Fe=function pe(kt){try{return kt.frameElement}catch{return null}}(function oe(kt){return kt.ownerDocument&&kt.ownerDocument.defaultView||window}(qe));if(Fe&&(-1===Se(Fe)||!this.isVisible(Fe)))return!1;let fe=qe.nodeName.toLowerCase(),Xe=Se(qe);return qe.hasAttribute("contenteditable")?-1!==Xe:!("iframe"===fe||"object"===fe||this._platform.WEBKIT&&this._platform.IOS&&!function Ne(kt){let St=kt.nodeName.toLowerCase(),qe="input"===St&&kt.type;return"text"===qe||"password"===qe||"select"===St||"textarea"===St}(qe))&&("audio"===fe?!!qe.hasAttribute("controls")&&-1!==Xe:"video"===fe?-1!==Xe&&(null!==Xe||this._platform.FIREFOX||qe.hasAttribute("controls")):qe.tabIndex>=0)}isFocusable(qe,Fe){return function ke(kt){return!function ae(kt){return function X(kt){return"input"==kt.nodeName.toLowerCase()}(kt)&&"hidden"==kt.type}(kt)&&(function De(kt){let St=kt.nodeName.toLowerCase();return"input"===St||"select"===St||"button"===St||"textarea"===St}(kt)||function ce(kt){return function ne(kt){return"a"==kt.nodeName.toLowerCase()}(kt)&&kt.hasAttribute("href")}(kt)||kt.hasAttribute("contenteditable")||le(kt))}(qe)&&!this.isDisabled(qe)&&(Fe?.ignoreVisibility||this.isVisible(qe))}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(t.t4))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();function le(kt){if(!kt.hasAttribute("tabindex")||void 0===kt.tabIndex)return!1;let St=kt.getAttribute("tabindex");return!(!St||isNaN(parseInt(St,10)))}function Se(kt){if(!le(kt))return null;const St=parseInt(kt.getAttribute("tabindex")||"",10);return isNaN(St)?-1:St}class _e{get enabled(){return this._enabled}set enabled(St){this._enabled=St,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(St,this._startAnchor),this._toggleAnchorTabIndex(St,this._endAnchor))}constructor(St,qe,Fe,fe,Xe=!1){this._element=St,this._checker=qe,this._ngZone=Fe,this._document=fe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Xe||this.attachAnchors()}destroy(){const St=this._startAnchor,qe=this._endAnchor;St&&(St.removeEventListener("focus",this.startAnchorListener),St.remove()),qe&&(qe.removeEventListener("focus",this.endAnchorListener),qe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(St){return new Promise(qe=>{this._executeOnStable(()=>qe(this.focusInitialElement(St)))})}focusFirstTabbableElementWhenReady(St){return new Promise(qe=>{this._executeOnStable(()=>qe(this.focusFirstTabbableElement(St)))})}focusLastTabbableElementWhenReady(St){return new Promise(qe=>{this._executeOnStable(()=>qe(this.focusLastTabbableElement(St)))})}_getRegionBoundary(St){const qe=this._element.querySelectorAll(`[cdk-focus-region-${St}], [cdkFocusRegion${St}], [cdk-focus-${St}]`);return"start"==St?qe.length?qe[0]:this._getFirstTabbableElement(this._element):qe.length?qe[qe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(St){const qe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(qe){if(!this._checker.isFocusable(qe)){const Fe=this._getFirstTabbableElement(qe);return Fe?.focus(St),!!Fe}return qe.focus(St),!0}return this.focusFirstTabbableElement(St)}focusFirstTabbableElement(St){const qe=this._getRegionBoundary("start");return qe&&qe.focus(St),!!qe}focusLastTabbableElement(St){const qe=this._getRegionBoundary("end");return qe&&qe.focus(St),!!qe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(St){if(this._checker.isFocusable(St)&&this._checker.isTabbable(St))return St;const qe=St.children;for(let Fe=0;Fe=0;Fe--){const fe=qe[Fe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(qe[Fe]):null;if(fe)return fe}return null}_createAnchor(){const St=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,St),St.classList.add("cdk-visually-hidden"),St.classList.add("cdk-focus-trap-anchor"),St.setAttribute("aria-hidden","true"),St}_toggleAnchorTabIndex(St,qe){St?qe.setAttribute("tabindex","0"):qe.removeAttribute("tabindex")}toggleAnchors(St){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(St,this._startAnchor),this._toggleAnchorTabIndex(St,this._endAnchor))}_executeOnStable(St){this._ngZone.isStable?St():this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(St)}}let Q=(()=>{class kt{constructor(qe,Fe,fe){this._checker=qe,this._ngZone=Fe,this._document=fe}create(qe,Fe=!1){return new _e(qe,this._checker,this._ngZone,this._document,Fe)}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(te),n.LFG(n.R0b),n.LFG(e.K0))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),He=(()=>{class kt{get enabled(){return this.focusTrap.enabled}set enabled(qe){this.focusTrap.enabled=(0,C.Ig)(qe)}get autoCapture(){return this._autoCapture}set autoCapture(qe){this._autoCapture=(0,C.Ig)(qe)}constructor(qe,Fe,fe){this._elementRef=qe,this._focusTrapFactory=Fe,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(qe){const Fe=qe.autoCapture;Fe&&!Fe.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,t.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.Y36(n.SBq),n.Y36(Q),n.Y36(e.K0))};static#t=this.\u0275dir=n.lG2({type:kt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[n.TTD]})}return kt})();function ot(kt){return 0===kt.buttons||0===kt.offsetX&&0===kt.offsetY}function mt(kt){const St=kt.touches&&kt.touches[0]||kt.changedTouches&&kt.changedTouches[0];return!(!St||-1!==St.identifier||null!=St.radiusX&&1!==St.radiusX||null!=St.radiusY&&1!==St.radiusY)}const we=new n.OlP("cdk-input-modality-detector-options"),de={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},B=(0,t.i$)({passive:!0,capture:!0});let Me=(()=>{class kt{get mostRecentModality(){return this._modality.value}constructor(qe,Fe,fe,Xe){this._platform=qe,this._mostRecentTarget=null,this._modality=new h.X(null),this._lastTouchMs=0,this._onKeydown=ge=>{this._options?.ignoreKeys?.some(je=>je===ge.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,t.sA)(ge))},this._onMousedown=ge=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ot(ge)?"keyboard":"mouse"),this._mostRecentTarget=(0,t.sA)(ge))},this._onTouchstart=ge=>{mt(ge)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,t.sA)(ge))},this._options={...de,...Xe},this.modalityDetected=this._modality.pipe((0,d.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,m.x)()),qe.isBrowser&&Fe.runOutsideAngular(()=>{fe.addEventListener("keydown",this._onKeydown,B),fe.addEventListener("mousedown",this._onMousedown,B),fe.addEventListener("touchstart",this._onTouchstart,B)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,B),document.removeEventListener("mousedown",this._onMousedown,B),document.removeEventListener("touchstart",this._onTouchstart,B))}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(t.t4),n.LFG(n.R0b),n.LFG(e.K0),n.LFG(we,8))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();const qt=new n.OlP("cdk-focus-monitor-default-options"),en=(0,t.i$)({passive:!0,capture:!0});let Vt=(()=>{class kt{constructor(qe,Fe,fe,Xe,ge){this._ngZone=qe,this._platform=Fe,this._inputModalityDetector=fe,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new i.x,this._rootNodeFocusAndBlurListener=je=>{for(let We=(0,t.sA)(je);We;We=We.parentElement)"focus"===je.type?this._onFocus(je,We):this._onBlur(je,We)},this._document=Xe,this._detectionMode=ge?.detectionMode||0}monitor(qe,Fe=!1){const fe=(0,C.fI)(qe);if(!this._platform.isBrowser||1!==fe.nodeType)return(0,E.of)();const Xe=(0,t.kV)(fe)||this._getDocument(),ge=this._elementInfo.get(fe);if(ge)return Fe&&(ge.checkChildren=!0),ge.subject;const je={checkChildren:Fe,subject:new i.x,rootNode:Xe};return this._elementInfo.set(fe,je),this._registerGlobalListeners(je),je.subject}stopMonitoring(qe){const Fe=(0,C.fI)(qe),fe=this._elementInfo.get(Fe);fe&&(fe.subject.complete(),this._setClasses(Fe),this._elementInfo.delete(Fe),this._removeGlobalListeners(fe))}focusVia(qe,Fe,fe){const Xe=(0,C.fI)(qe);Xe===this._getDocument().activeElement?this._getClosestElementsInfo(Xe).forEach(([je,Ye])=>this._originChanged(je,Fe,Ye)):(this._setOrigin(Fe),"function"==typeof Xe.focus&&Xe.focus(fe))}ngOnDestroy(){this._elementInfo.forEach((qe,Fe)=>this.stopMonitoring(Fe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(qe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(qe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:qe&&this._isLastInteractionFromInputLabel(qe)?"mouse":"program"}_shouldBeAttributedToTouch(qe){return 1===this._detectionMode||!!qe?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(qe,Fe){qe.classList.toggle("cdk-focused",!!Fe),qe.classList.toggle("cdk-touch-focused","touch"===Fe),qe.classList.toggle("cdk-keyboard-focused","keyboard"===Fe),qe.classList.toggle("cdk-mouse-focused","mouse"===Fe),qe.classList.toggle("cdk-program-focused","program"===Fe)}_setOrigin(qe,Fe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=qe,this._originFromTouchInteraction="touch"===qe&&Fe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(qe,Fe){const fe=this._elementInfo.get(Fe),Xe=(0,t.sA)(qe);!fe||!fe.checkChildren&&Fe!==Xe||this._originChanged(Fe,this._getFocusOrigin(Xe),fe)}_onBlur(qe,Fe){const fe=this._elementInfo.get(Fe);!fe||fe.checkChildren&&qe.relatedTarget instanceof Node&&Fe.contains(qe.relatedTarget)||(this._setClasses(Fe),this._emitOrigin(fe,null))}_emitOrigin(qe,Fe){qe.subject.observers.length&&this._ngZone.run(()=>qe.subject.next(Fe))}_registerGlobalListeners(qe){if(!this._platform.isBrowser)return;const Fe=qe.rootNode,fe=this._rootNodeFocusListenerCount.get(Fe)||0;fe||this._ngZone.runOutsideAngular(()=>{Fe.addEventListener("focus",this._rootNodeFocusAndBlurListener,en),Fe.addEventListener("blur",this._rootNodeFocusAndBlurListener,en)}),this._rootNodeFocusListenerCount.set(Fe,fe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,f.R)(this._stopInputModalityDetector)).subscribe(Xe=>{this._setOrigin(Xe,!0)}))}_removeGlobalListeners(qe){const Fe=qe.rootNode;if(this._rootNodeFocusListenerCount.has(Fe)){const fe=this._rootNodeFocusListenerCount.get(Fe);fe>1?this._rootNodeFocusListenerCount.set(Fe,fe-1):(Fe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,en),Fe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,en),this._rootNodeFocusListenerCount.delete(Fe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(qe,Fe,fe){this._setClasses(qe,Fe),this._emitOrigin(fe,Fe),this._lastFocusOrigin=Fe}_getClosestElementsInfo(qe){const Fe=[];return this._elementInfo.forEach((fe,Xe)=>{(Xe===qe||fe.checkChildren&&Xe.contains(qe))&&Fe.push([Xe,fe])}),Fe}_isLastInteractionFromInputLabel(qe){const{_mostRecentTarget:Fe,mostRecentModality:fe}=this._inputModalityDetector;if("mouse"!==fe||!Fe||Fe===qe||"INPUT"!==qe.nodeName&&"TEXTAREA"!==qe.nodeName||qe.disabled)return!1;const Xe=qe.labels;if(Xe)for(let ge=0;ge{class kt{constructor(qe,Fe){this._elementRef=qe,this._focusMonitor=Fe,this._focusOrigin=null,this.cdkFocusChange=new n.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const qe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(qe,1===qe.nodeType&&qe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Fe=>{this._focusOrigin=Fe,this.cdkFocusChange.emit(Fe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.Y36(n.SBq),n.Y36(Vt))};static#t=this.\u0275dir=n.lG2({type:kt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return kt})();const ft="cdk-high-contrast-black-on-white",gt="cdk-high-contrast-white-on-black",Ie="cdk-high-contrast-active";let Ct=(()=>{class kt{constructor(qe,Fe){this._platform=qe,this._document=Fe,this._breakpointSubscription=(0,n.f3M)(b.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const qe=this._document.createElement("div");qe.style.backgroundColor="rgb(1,2,3)",qe.style.position="absolute",this._document.body.appendChild(qe);const Fe=this._document.defaultView||window,fe=Fe&&Fe.getComputedStyle?Fe.getComputedStyle(qe):null,Xe=(fe&&fe.backgroundColor||"").replace(/ /g,"");switch(qe.remove(),Xe){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const qe=this._document.body.classList;qe.remove(Ie,ft,gt),this._hasCheckedHighContrastMode=!0;const Fe=this.getHighContrastMode();1===Fe?qe.add(Ie,ft):2===Fe&&qe.add(Ie,gt)}}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(t.t4),n.LFG(e.K0))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),Nt=(()=>{class kt{constructor(qe){qe._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Fe){return new(Fe||kt)(n.LFG(Ct))};static#t=this.\u0275mod=n.oAB({type:kt});static#n=this.\u0275inj=n.cJS({imports:[T.Q8]})}return kt})()},49388:(tt,I,o)=>{"use strict";o.d(I,{Is:()=>E,Lv:()=>u,vT:()=>z});var e=o(65879),n=o(96814);const t=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function i(){return(0,e.f3M)(n.K0)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function h(M){const p=M?.toLowerCase()||"";return"auto"===p&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===p?"rtl":"ltr"}let E=(()=>{class M{constructor(v){this.value="ltr",this.change=new e.vpe,v&&(this.value=h((v.body?v.body.dir:null)||(v.documentElement?v.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(_){return new(_||M)(e.LFG(t,8))};static#t=this.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),u=(()=>{class M{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new e.vpe}get dir(){return this._dir}set dir(v){const _=this._dir;this._dir=h(v),this._rawDir=v,_!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(_){return new(_||M)};static#t=this.\u0275dir=e.lG2({type:M,selectors:[["","dir",""]],hostVars:1,hostBindings:function(_,d){2&_&&e.uIk("dir",d._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[e._Bn([{provide:E,useExisting:M}])]})}return M})(),z=(()=>{class M{static#e=this.\u0275fac=function(_){return new(_||M)};static#t=this.\u0275mod=e.oAB({type:M});static#n=this.\u0275inj=e.cJS({})}return M})()},42495:(tt,I,o)=>{"use strict";o.d(I,{Eq:()=>l,HM:()=>h,Ig:()=>n,fI:()=>E,su:()=>t,t6:()=>i});var e=o(65879);function n(z){return null!=z&&"false"!=`${z}`}function t(z,M=0){return i(z)?Number(z):M}function i(z){return!isNaN(parseFloat(z))&&!isNaN(Number(z))}function l(z){return Array.isArray(z)?z:[z]}function h(z){return null==z?"":"string"==typeof z?z:`${z}px`}function E(z){return z instanceof e.SBq?z.nativeElement:z}},34423:(tt,I,o)=>{"use strict";o.d(I,{Bh:()=>ht,Zt:()=>ft,_t:()=>St,v0:()=>B});var e=o(65879),n=o(96814),t=o(205),i=o(62831),l=o(42495),h=o(4300),E=o(78645),u=o(47394),z=o(91687),M=o(80927),p=o(65592),v=o(63019),_=o(59773),d=o(37398),m=o(48180),f=o(27921),C=o(99397),T=o(94664),b=o(49388);function D(qe,Fe,fe){for(let Xe in Fe)if(Fe.hasOwnProperty(Xe)){const ge=Fe[Xe];ge?qe.setProperty(Xe,ge,fe?.has(Xe)?"important":""):qe.removeProperty(Xe)}return qe}function y(qe,Fe){const fe=Fe?"":"none";D(qe.style,{"touch-action":Fe?"":"none","-webkit-user-drag":Fe?"":"none","-webkit-tap-highlight-color":Fe?"":"transparent","user-select":fe,"-ms-user-select":fe,"-webkit-user-select":fe,"-moz-user-select":fe})}function P(qe,Fe,fe){D(qe.style,{position:Fe?"":"fixed",top:Fe?"":"0",opacity:Fe?"":"0",left:Fe?"":"-999em"},fe)}function S(qe,Fe){return Fe&&"none"!=Fe?qe+" "+Fe:qe}function A(qe){const Fe=qe.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(qe)*Fe}function R(qe,Fe){return qe.getPropertyValue(Fe).split(",").map(Xe=>Xe.trim())}function W(qe){const Fe=qe.getBoundingClientRect();return{top:Fe.top,right:Fe.right,bottom:Fe.bottom,left:Fe.left,width:Fe.width,height:Fe.height,x:Fe.x,y:Fe.y}}function j(qe,Fe,fe){const{top:Xe,bottom:ge,left:je,right:Ye}=qe;return fe>=Xe&&fe<=ge&&Fe>=je&&Fe<=Ye}function ze(qe,Fe,fe){qe.top+=Fe,qe.bottom=qe.top+qe.height,qe.left+=fe,qe.right=qe.left+qe.width}function Y(qe,Fe,fe,Xe){const{top:ge,right:je,bottom:Ye,left:We,width:wt,height:Ee}=qe,be=wt*Fe,Qe=Ee*Fe;return Xe>ge-Qe&&XeWe-be&&fe{this.positions.set(fe,{scrollPosition:{top:fe.scrollTop,left:fe.scrollLeft},clientRect:W(fe)})})}handleScroll(Fe){const fe=(0,i.sA)(Fe),Xe=this.positions.get(fe);if(!Xe)return null;const ge=Xe.scrollPosition;let je,Ye;if(fe===this._document){const Ee=this.getViewportScrollPosition();je=Ee.top,Ye=Ee.left}else je=fe.scrollTop,Ye=fe.scrollLeft;const We=ge.top-je,wt=ge.left-Ye;return this.positions.forEach((Ee,be)=>{Ee.clientRect&&fe!==be&&fe.contains(be)&&ze(Ee.clientRect,We,wt)}),ge.top=je,ge.left=Ye,{top:We,left:wt}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function V(qe){const Fe=qe.cloneNode(!0),fe=Fe.querySelectorAll("[id]"),Xe=qe.nodeName.toLowerCase();Fe.removeAttribute("id");for(let ge=0;gey(Xe,fe)))}constructor(Fe,fe,Xe,ge,je,Ye){this._config=fe,this._document=Xe,this._ngZone=ge,this._viewportRuler=je,this._dragDropRegistry=Ye,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new E.x,this._pointerMoveSubscription=u.w0.EMPTY,this._pointerUpSubscription=u.w0.EMPTY,this._scrollSubscription=u.w0.EMPTY,this._resizeSubscription=u.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new E.x,this.started=new E.x,this.released=new E.x,this.ended=new E.x,this.entered=new E.x,this.exited=new E.x,this.dropped=new E.x,this.moved=this._moveEvents,this._pointerDown=We=>{if(this.beforeStarted.next(),this._handles.length){const wt=this._getTargetHandle(We);wt&&!this._disabledHandles.has(wt)&&!this.disabled&&this._initializeDragSequence(wt,We)}else this.disabled||this._initializeDragSequence(this._rootElement,We)},this._pointerMove=We=>{const wt=this._getPointerPositionOnPage(We);if(!this._hasStartedDragging){if(Math.abs(wt.x-this._pickupPositionOnPage.x)+Math.abs(wt.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Ze=Date.now()>=this._dragStartTime+this._getDragStartDelay(We),ve=this._dropContainer;if(!Ze)return void this._endDragSequence(We);(!ve||!ve.isDragging()&&!ve.isReceiving())&&(We.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(We)))}return}We.preventDefault();const Ee=this._getConstrainedPointerPosition(wt);if(this._hasMoved=!0,this._lastKnownPointerPosition=wt,this._updatePointerDirectionDelta(Ee),this._dropContainer)this._updateActiveDropContainer(Ee,wt);else{const be=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,Qe=this._activeTransform;Qe.x=Ee.x-be.x+this._passiveTransform.x,Qe.y=Ee.y-be.y+this._passiveTransform.y,this._applyRootElementTransform(Qe.x,Qe.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Ee,event:We,distance:this._getDragDistance(Ee),delta:this._pointerDirectionDelta})})},this._pointerUp=We=>{this._endDragSequence(We)},this._nativeDragStart=We=>{if(this._handles.length){const wt=this._getTargetHandle(We);wt&&!this._disabledHandles.has(wt)&&!this.disabled&&We.preventDefault()}else this.disabled||We.preventDefault()},this.withRootElement(Fe).withParent(fe.parentDragRef||null),this._parentPositions=new G(Xe),Ye.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(Fe){this._handles=Fe.map(Xe=>(0,l.fI)(Xe)),this._handles.forEach(Xe=>y(Xe,this.disabled)),this._toggleNativeDragInteractions();const fe=new Set;return this._disabledHandles.forEach(Xe=>{this._handles.indexOf(Xe)>-1&&fe.add(Xe)}),this._disabledHandles=fe,this}withPreviewTemplate(Fe){return this._previewTemplate=Fe,this}withPlaceholderTemplate(Fe){return this._placeholderTemplate=Fe,this}withRootElement(Fe){const fe=(0,l.fI)(Fe);return fe!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{fe.addEventListener("mousedown",this._pointerDown,De),fe.addEventListener("touchstart",this._pointerDown,re),fe.addEventListener("dragstart",this._nativeDragStart,De)}),this._initialTransform=void 0,this._rootElement=fe),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(Fe){return this._boundaryElement=Fe?(0,l.fI)(Fe):null,this._resizeSubscription.unsubscribe(),Fe&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(Fe){return this._parentDragRef=Fe,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(Fe){!this._disabledHandles.has(Fe)&&this._handles.indexOf(Fe)>-1&&(this._disabledHandles.add(Fe),y(Fe,!0))}enableHandle(Fe){this._disabledHandles.has(Fe)&&(this._disabledHandles.delete(Fe),y(Fe,this.disabled))}withDirection(Fe){return this._direction=Fe,this}_withDropContainer(Fe){this._dropContainer=Fe}getFreeDragPosition(){const Fe=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:Fe.x,y:Fe.y}}setFreeDragPosition(Fe){return this._activeTransform={x:0,y:0},this._passiveTransform.x=Fe.x,this._passiveTransform.y=Fe.y,this._dropContainer||this._applyRootElementTransform(Fe.x,Fe.y),this}withPreviewContainer(Fe){return this._previewContainer=Fe,this}_sortFromLastPointerPosition(){const Fe=this._lastKnownPointerPosition;Fe&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(Fe),Fe)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(Fe){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:Fe}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(Fe),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const fe=this._getPointerPositionOnPage(Fe);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(fe),dropPoint:fe,event:Fe})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(Fe){Se(Fe)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const fe=this._dropContainer;if(fe){const Xe=this._rootElement,ge=Xe.parentNode,je=this._placeholder=this._createPlaceholderElement(),Ye=this._anchor=this._anchor||this._document.createComment(""),We=this._getShadowRoot();ge.insertBefore(Ye,Xe),this._initialTransform=Xe.style.transform||"",this._preview=this._createPreviewElement(),P(Xe,!1,ce),this._document.body.appendChild(ge.replaceChild(je,Xe)),this._getPreviewInsertionPoint(ge,We).appendChild(this._preview),this.started.next({source:this,event:Fe}),fe.start(),this._initialContainer=fe,this._initialIndex=fe.getItemIndex(this)}else this.started.next({source:this,event:Fe}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(fe?fe.getScrollableParents():[])}_initializeDragSequence(Fe,fe){this._parentDragRef&&fe.stopPropagation();const Xe=this.isDragging(),ge=Se(fe),je=!ge&&0!==fe.button,Ye=this._rootElement,We=(0,i.sA)(fe),wt=!ge&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Ee=ge?(0,h.yG)(fe):(0,h.X6)(fe);if(We&&We.draggable&&"mousedown"===fe.type&&fe.preventDefault(),Xe||je||wt||Ee)return;if(this._handles.length){const Ke=Ye.style;this._rootElementTapHighlight=Ke.webkitTapHighlightColor||"",Ke.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Ke=>this._updateOnScroll(Ke)),this._boundaryElement&&(this._boundaryRect=W(this._boundaryElement));const be=this._previewTemplate;this._pickupPositionInElement=be&&be.template&&!be.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,Fe,fe);const Qe=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(fe);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Qe.x,y:Qe.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,fe)}_cleanupDragArtifacts(Fe){P(this._rootElement,!0,ce),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const fe=this._dropContainer,Xe=fe.getItemIndex(this),ge=this._getPointerPositionOnPage(Fe),je=this._getDragDistance(ge),Ye=fe._isOverContainer(ge.x,ge.y);this.ended.next({source:this,distance:je,dropPoint:ge,event:Fe}),this.dropped.next({item:this,currentIndex:Xe,previousIndex:this._initialIndex,container:fe,previousContainer:this._initialContainer,isPointerOverContainer:Ye,distance:je,dropPoint:ge,event:Fe}),fe.drop(this,Xe,this._initialIndex,this._initialContainer,Ye,je,ge,Fe),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:Fe,y:fe},{x:Xe,y:ge}){let je=this._initialContainer._getSiblingContainerFromPosition(this,Fe,fe);!je&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(Fe,fe)&&(je=this._initialContainer),je&&je!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=je,this._dropContainer.enter(this,Fe,fe,je===this._initialContainer&&je.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:je,currentIndex:je.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(Xe,ge),this._dropContainer._sortItem(this,Fe,fe,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(Fe,fe):this._applyPreviewTransform(Fe-this._pickupPositionInElement.x,fe-this._pickupPositionInElement.y))}_createPreviewElement(){const Fe=this._previewTemplate,fe=this.previewClass,Xe=Fe?Fe.template:null;let ge;if(Xe&&Fe){const je=Fe.matchSize?this._initialClientRect:null,Ye=Fe.viewContainer.createEmbeddedView(Xe,Fe.context);Ye.detectChanges(),ge=Ne(Ye,this._document),this._previewRef=Ye,Fe.matchSize?ke(ge,je):ge.style.transform=ne(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else ge=V(this._rootElement),ke(ge,this._initialClientRect),this._initialTransform&&(ge.style.transform=this._initialTransform);return D(ge.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},ce),y(ge,!1),ge.classList.add("cdk-drag-preview"),ge.setAttribute("dir",this._direction),fe&&(Array.isArray(fe)?fe.forEach(je=>ge.classList.add(je)):ge.classList.add(fe)),ge}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const Fe=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(Fe.left,Fe.top);const fe=function k(qe){const Fe=getComputedStyle(qe),fe=R(Fe,"transition-property"),Xe=fe.find(We=>"transform"===We||"all"===We);if(!Xe)return 0;const ge=fe.indexOf(Xe),je=R(Fe,"transition-duration"),Ye=R(Fe,"transition-delay");return A(je[ge])+A(Ye[ge])}(this._preview);return 0===fe?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(Xe=>{const ge=Ye=>{(!Ye||(0,i.sA)(Ye)===this._preview&&"transform"===Ye.propertyName)&&(this._preview?.removeEventListener("transitionend",ge),Xe(),clearTimeout(je))},je=setTimeout(ge,1.5*fe);this._preview.addEventListener("transitionend",ge)}))}_createPlaceholderElement(){const Fe=this._placeholderTemplate,fe=Fe?Fe.template:null;let Xe;return fe?(this._placeholderRef=Fe.viewContainer.createEmbeddedView(fe,Fe.context),this._placeholderRef.detectChanges(),Xe=Ne(this._placeholderRef,this._document)):Xe=V(this._rootElement),Xe.style.pointerEvents="none",Xe.classList.add("cdk-drag-placeholder"),Xe}_getPointerPositionInElement(Fe,fe,Xe){const ge=fe===this._rootElement?null:fe,je=ge?ge.getBoundingClientRect():Fe,Ye=Se(Xe)?Xe.targetTouches[0]:Xe,We=this._getViewportScrollPosition();return{x:je.left-Fe.left+(Ye.pageX-je.left-We.left),y:je.top-Fe.top+(Ye.pageY-je.top-We.top)}}_getPointerPositionOnPage(Fe){const fe=this._getViewportScrollPosition(),Xe=Se(Fe)?Fe.touches[0]||Fe.changedTouches[0]||{pageX:0,pageY:0}:Fe,ge=Xe.pageX-fe.left,je=Xe.pageY-fe.top;if(this._ownerSVGElement){const Ye=this._ownerSVGElement.getScreenCTM();if(Ye){const We=this._ownerSVGElement.createSVGPoint();return We.x=ge,We.y=je,We.matrixTransform(Ye.inverse())}}return{x:ge,y:je}}_getConstrainedPointerPosition(Fe){const fe=this._dropContainer?this._dropContainer.lockAxis:null;let{x:Xe,y:ge}=this.constrainPosition?this.constrainPosition(Fe,this,this._initialClientRect,this._pickupPositionInElement):Fe;if("x"===this.lockAxis||"x"===fe?ge=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===fe)&&(Xe=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:je,y:Ye}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,We=this._boundaryRect,{width:wt,height:Ee}=this._getPreviewRect(),be=We.top+Ye,Qe=We.bottom-(Ee-Ye);Xe=le(Xe,We.left+je,We.right-(wt-je)),ge=le(ge,be,Qe)}return{x:Xe,y:ge}}_updatePointerDirectionDelta(Fe){const{x:fe,y:Xe}=Fe,ge=this._pointerDirectionDelta,je=this._pointerPositionAtLastDirectionChange,Ye=Math.abs(fe-je.x),We=Math.abs(Xe-je.y);return Ye>this._config.pointerDirectionChangeThreshold&&(ge.x=fe>je.x?1:-1,je.x=fe),We>this._config.pointerDirectionChangeThreshold&&(ge.y=Xe>je.y?1:-1,je.y=Xe),ge}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const Fe=this._handles.length>0||!this.isDragging();Fe!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=Fe,y(this._rootElement,Fe))}_removeRootElementListeners(Fe){Fe.removeEventListener("mousedown",this._pointerDown,De),Fe.removeEventListener("touchstart",this._pointerDown,re),Fe.removeEventListener("dragstart",this._nativeDragStart,De)}_applyRootElementTransform(Fe,fe){const Xe=ne(Fe,fe),ge=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=ge.transform&&"none"!=ge.transform?ge.transform:""),ge.transform=S(Xe,this._initialTransform)}_applyPreviewTransform(Fe,fe){const Xe=this._previewTemplate?.template?void 0:this._initialTransform,ge=ne(Fe,fe);this._preview.style.transform=S(ge,Xe)}_getDragDistance(Fe){const fe=this._pickupPositionOnPage;return fe?{x:Fe.x-fe.x,y:Fe.y-fe.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:Fe,y:fe}=this._passiveTransform;if(0===Fe&&0===fe||this.isDragging()||!this._boundaryElement)return;const Xe=this._rootElement.getBoundingClientRect(),ge=this._boundaryElement.getBoundingClientRect();if(0===ge.width&&0===ge.height||0===Xe.width&&0===Xe.height)return;const je=ge.left-Xe.left,Ye=Xe.right-ge.right,We=ge.top-Xe.top,wt=Xe.bottom-ge.bottom;ge.width>Xe.width?(je>0&&(Fe+=je),Ye>0&&(Fe-=Ye)):Fe=0,ge.height>Xe.height?(We>0&&(fe+=We),wt>0&&(fe-=wt)):fe=0,(Fe!==this._passiveTransform.x||fe!==this._passiveTransform.y)&&this.setFreeDragPosition({y:fe,x:Fe})}_getDragStartDelay(Fe){const fe=this.dragStartDelay;return"number"==typeof fe?fe:Se(Fe)?fe.touch:fe?fe.mouse:0}_updateOnScroll(Fe){const fe=this._parentPositions.handleScroll(Fe);if(fe){const Xe=(0,i.sA)(Fe);this._boundaryRect&&Xe!==this._boundaryElement&&Xe.contains(this._boundaryElement)&&ze(this._boundaryRect,fe.top,fe.left),this._pickupPositionOnPage.x+=fe.left,this._pickupPositionOnPage.y+=fe.top,this._dropContainer||(this._activeTransform.x-=fe.left,this._activeTransform.y-=fe.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,i.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(Fe,fe){const Xe=this._previewContainer||"global";if("parent"===Xe)return Fe;if("global"===Xe){const ge=this._document;return fe||ge.fullscreenElement||ge.webkitFullscreenElement||ge.mozFullScreenElement||ge.msFullscreenElement||ge.body}return(0,l.fI)(Xe)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(Fe){return this._handles.find(fe=>Fe.target&&(Fe.target===fe||fe.contains(Fe.target)))}}function ne(qe,Fe){return`translate3d(${Math.round(qe)}px, ${Math.round(Fe)}px, 0)`}function le(qe,Fe,fe){return Math.max(Fe,Math.min(fe,qe))}function Se(qe){return"t"===qe.type[0]}function Ne(qe,Fe){const fe=qe.rootNodes;if(1===fe.length&&fe[0].nodeType===Fe.ELEMENT_NODE)return fe[0];const Xe=Fe.createElement("div");return fe.forEach(ge=>Xe.appendChild(ge)),Xe}function ke(qe,Fe){qe.style.width=`${Fe.width}px`,qe.style.height=`${Fe.height}px`,qe.style.transform=ne(Fe.left,Fe.top)}function He(qe,Fe){return Math.max(0,Math.min(Fe,qe))}class Re{constructor(Fe,fe){this._element=Fe,this._dragDropRegistry=fe,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(Fe){this.withItems(Fe)}sort(Fe,fe,Xe,ge){const je=this._itemPositions,Ye=this._getItemIndexFromPointerPosition(Fe,fe,Xe,ge);if(-1===Ye&&je.length>0)return null;const We="horizontal"===this.orientation,wt=je.findIndex(x=>x.drag===Fe),Ee=je[Ye],Qe=Ee.clientRect,Ke=wt>Ye?1:-1,Ze=this._getItemOffsetPx(je[wt].clientRect,Qe,Ke),ve=this._getSiblingOffsetPx(wt,je,Ke),nt=je.slice();return function oe(qe,Fe,fe){const Xe=He(Fe,qe.length-1),ge=He(fe,qe.length-1);if(Xe===ge)return;const je=qe[Xe],Ye=ge{if(nt[N]===x)return;const O=x.drag===Fe,$=O?Ze:ve,L=O?Fe.getPlaceholderElement():x.drag.getRootElement();x.offset+=$,We?(L.style.transform=S(`translate3d(${Math.round(x.offset)}px, 0, 0)`,x.initialTransform),ze(x.clientRect,0,$)):(L.style.transform=S(`translate3d(0, ${Math.round(x.offset)}px, 0)`,x.initialTransform),ze(x.clientRect,$,0))}),this._previousSwap.overlaps=j(Qe,fe,Xe),this._previousSwap.drag=Ee.drag,this._previousSwap.delta=We?ge.x:ge.y,{previousIndex:wt,currentIndex:Ye}}enter(Fe,fe,Xe,ge){const je=null==ge||ge<0?this._getItemIndexFromPointerPosition(Fe,fe,Xe):ge,Ye=this._activeDraggables,We=Ye.indexOf(Fe),wt=Fe.getPlaceholderElement();let Ee=Ye[je];if(Ee===Fe&&(Ee=Ye[je+1]),!Ee&&(null==je||-1===je||je-1&&Ye.splice(We,1),Ee&&!this._dragDropRegistry.isDragging(Ee)){const be=Ee.getRootElement();be.parentElement.insertBefore(wt,be),Ye.splice(je,0,Fe)}else(0,l.fI)(this._element).appendChild(wt),Ye.push(Fe);wt.style.transform="",this._cacheItemPositions()}withItems(Fe){this._activeDraggables=Fe.slice(),this._cacheItemPositions()}withSortPredicate(Fe){this._sortPredicate=Fe}reset(){this._activeDraggables.forEach(Fe=>{const fe=Fe.getRootElement();if(fe){const Xe=this._itemPositions.find(ge=>ge.drag===Fe)?.initialTransform;fe.style.transform=Xe||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(Fe){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(Xe=>Xe.drag===Fe)}updateOnScroll(Fe,fe){this._itemPositions.forEach(({clientRect:Xe})=>{ze(Xe,Fe,fe)}),this._itemPositions.forEach(({drag:Xe})=>{this._dragDropRegistry.isDragging(Xe)&&Xe._sortFromLastPointerPosition()})}_cacheItemPositions(){const Fe="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(fe=>{const Xe=fe.getVisibleElement();return{drag:fe,offset:0,initialTransform:Xe.style.transform||"",clientRect:W(Xe)}}).sort((fe,Xe)=>Fe?fe.clientRect.left-Xe.clientRect.left:fe.clientRect.top-Xe.clientRect.top)}_getItemOffsetPx(Fe,fe,Xe){const ge="horizontal"===this.orientation;let je=ge?fe.left-Fe.left:fe.top-Fe.top;return-1===Xe&&(je+=ge?fe.width-Fe.width:fe.height-Fe.height),je}_getSiblingOffsetPx(Fe,fe,Xe){const ge="horizontal"===this.orientation,je=fe[Fe].clientRect,Ye=fe[Fe+-1*Xe];let We=je[ge?"width":"height"]*Xe;if(Ye){const wt=ge?"left":"top",Ee=ge?"right":"bottom";-1===Xe?We-=Ye.clientRect[wt]-je[Ee]:We+=je[wt]-Ye.clientRect[Ee]}return We}_shouldEnterAsFirstChild(Fe,fe){if(!this._activeDraggables.length)return!1;const Xe=this._itemPositions,ge="horizontal"===this.orientation;if(Xe[0].drag!==this._activeDraggables[0]){const Ye=Xe[Xe.length-1].clientRect;return ge?Fe>=Ye.right:fe>=Ye.bottom}{const Ye=Xe[0].clientRect;return ge?Fe<=Ye.left:fe<=Ye.top}}_getItemIndexFromPointerPosition(Fe,fe,Xe,ge){const je="horizontal"===this.orientation,Ye=this._itemPositions.findIndex(({drag:We,clientRect:wt})=>We!==Fe&&((!ge||We!==this._previousSwap.drag||!this._previousSwap.overlaps||(je?ge.x:ge.y)!==this._previousSwap.delta)&&(je?fe>=Math.floor(wt.left)&&fe=Math.floor(wt.top)&&Xe!0,this.sortPredicate=()=>!0,this.beforeStarted=new E.x,this.entered=new E.x,this.exited=new E.x,this.dropped=new E.x,this.sorted=new E.x,this.receivingStarted=new E.x,this.receivingStopped=new E.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=u.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new E.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,z.F)(0,M.Z).pipe((0,_.R)(this._stopScrollTimers)).subscribe(()=>{const Ye=this._scrollNode,We=this.autoScrollStep;1===this._verticalScrollDirection?Ye.scrollBy(0,-We):2===this._verticalScrollDirection&&Ye.scrollBy(0,We),1===this._horizontalScrollDirection?Ye.scrollBy(-We,0):2===this._horizontalScrollDirection&&Ye.scrollBy(We,0)})},this.element=(0,l.fI)(Fe),this._document=Xe,this.withScrollableParents([this.element]),fe.registerDropContainer(this),this._parentPositions=new G(Xe),this._sortStrategy=new Re(this.element,fe),this._sortStrategy.withSortPredicate((Ye,We)=>this.sortPredicate(Ye,We,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(Fe,fe,Xe,ge){this._draggingStarted(),null==ge&&this.sortingDisabled&&(ge=this._draggables.indexOf(Fe)),this._sortStrategy.enter(Fe,fe,Xe,ge),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:Fe,container:this,currentIndex:this.getItemIndex(Fe)})}exit(Fe){this._reset(),this.exited.next({item:Fe,container:this})}drop(Fe,fe,Xe,ge,je,Ye,We,wt={}){this._reset(),this.dropped.next({item:Fe,currentIndex:fe,previousIndex:Xe,container:this,previousContainer:ge,isPointerOverContainer:je,distance:Ye,dropPoint:We,event:wt})}withItems(Fe){const fe=this._draggables;return this._draggables=Fe,Fe.forEach(Xe=>Xe._withDropContainer(this)),this.isDragging()&&(fe.filter(ge=>ge.isDragging()).every(ge=>-1===Fe.indexOf(ge))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(Fe){return this._sortStrategy.direction=Fe,this}connectedTo(Fe){return this._siblings=Fe.slice(),this}withOrientation(Fe){return this._sortStrategy.orientation=Fe,this}withScrollableParents(Fe){const fe=(0,l.fI)(this.element);return this._scrollableElements=-1===Fe.indexOf(fe)?[fe,...Fe]:Fe.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(Fe){return this._isDragging?this._sortStrategy.getItemIndex(Fe):this._draggables.indexOf(Fe)}isReceiving(){return this._activeSiblings.size>0}_sortItem(Fe,fe,Xe,ge){if(this.sortingDisabled||!this._clientRect||!Y(this._clientRect,.05,fe,Xe))return;const je=this._sortStrategy.sort(Fe,fe,Xe,ge);je&&this.sorted.next({previousIndex:je.previousIndex,currentIndex:je.currentIndex,container:this,item:Fe})}_startScrollingIfNecessary(Fe,fe){if(this.autoScrollDisabled)return;let Xe,ge=0,je=0;if(this._parentPositions.positions.forEach((Ye,We)=>{We===this._document||!Ye.clientRect||Xe||Y(Ye.clientRect,.05,Fe,fe)&&([ge,je]=function mt(qe,Fe,fe,Xe){const ge=$e(Fe,Xe),je=ot(Fe,fe);let Ye=0,We=0;if(ge){const wt=qe.scrollTop;1===ge?wt>0&&(Ye=1):qe.scrollHeight-wt>qe.clientHeight&&(Ye=2)}if(je){const wt=qe.scrollLeft;1===je?wt>0&&(We=1):qe.scrollWidth-wt>qe.clientWidth&&(We=2)}return[Ye,We]}(We,Ye.clientRect,Fe,fe),(ge||je)&&(Xe=We))}),!ge&&!je){const{width:Ye,height:We}=this._viewportRuler.getViewportSize(),wt={width:Ye,height:We,top:0,right:Ye,bottom:We,left:0};ge=$e(wt,fe),je=ot(wt,Fe),Xe=window}Xe&&(ge!==this._verticalScrollDirection||je!==this._horizontalScrollDirection||Xe!==this._scrollNode)&&(this._verticalScrollDirection=ge,this._horizontalScrollDirection=je,this._scrollNode=Xe,(ge||je)&&Xe?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const Fe=(0,l.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=Fe.msScrollSnapType||Fe.scrollSnapType||"",Fe.scrollSnapType=Fe.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const Fe=(0,l.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(Fe).clientRect}_reset(){this._isDragging=!1;const Fe=(0,l.fI)(this.element).style;Fe.scrollSnapType=Fe.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(fe=>fe._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(Fe,fe){return null!=this._clientRect&&j(this._clientRect,Fe,fe)}_getSiblingContainerFromPosition(Fe,fe,Xe){return this._siblings.find(ge=>ge._canReceive(Fe,fe,Xe))}_canReceive(Fe,fe,Xe){if(!this._clientRect||!j(this._clientRect,fe,Xe)||!this.enterPredicate(Fe,this))return!1;const ge=this._getShadowRoot().elementFromPoint(fe,Xe);if(!ge)return!1;const je=(0,l.fI)(this.element);return ge===je||je.contains(ge)}_startReceiving(Fe,fe){const Xe=this._activeSiblings;!Xe.has(Fe)&&fe.every(ge=>this.enterPredicate(ge,this)||this._draggables.indexOf(ge)>-1)&&(Xe.add(Fe),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:Fe,receiver:this,items:fe}))}_stopReceiving(Fe){this._activeSiblings.delete(Fe),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:Fe,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Fe=>{if(this.isDragging()){const fe=this._parentPositions.handleScroll(Fe);fe&&this._sortStrategy.updateOnScroll(fe.top,fe.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const Fe=(0,i.kV)((0,l.fI)(this.element));this._cachedShadowRoot=Fe||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const Fe=this._sortStrategy.getActiveItemsSnapshot().filter(fe=>fe.isDragging());this._siblings.forEach(fe=>fe._startReceiving(this,Fe))}}function $e(qe,Fe){const{top:fe,bottom:Xe,height:ge}=qe,je=.05*ge;return Fe>=fe-je&&Fe<=fe+je?1:Fe>=Xe-je&&Fe<=Xe+je?2:0}function ot(qe,Fe){const{left:fe,right:Xe,width:ge}=qe,je=.05*ge;return Fe>=fe-je&&Fe<=fe+je?1:Fe>=Xe-je&&Fe<=Xe+je?2:0}const we=(0,i.i$)({passive:!1,capture:!0});let de=(()=>{class qe{constructor(fe,Xe){this._ngZone=fe,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=ge=>ge.isDragging(),this.pointerMove=new E.x,this.pointerUp=new E.x,this.scroll=new E.x,this._preventDefaultWhileDragging=ge=>{this._activeDragInstances.length>0&&ge.preventDefault()},this._persistentTouchmoveListener=ge=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&ge.preventDefault(),this.pointerMove.next(ge))},this._document=Xe}registerDropContainer(fe){this._dropInstances.has(fe)||this._dropInstances.add(fe)}registerDragItem(fe){this._dragInstances.add(fe),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,we)})}removeDropContainer(fe){this._dropInstances.delete(fe)}removeDragItem(fe){this._dragInstances.delete(fe),this.stopDragging(fe),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,we)}startDragging(fe,Xe){if(!(this._activeDragInstances.indexOf(fe)>-1)&&(this._activeDragInstances.push(fe),1===this._activeDragInstances.length)){const ge=Xe.type.startsWith("touch");this._globalListeners.set(ge?"touchend":"mouseup",{handler:je=>this.pointerUp.next(je),options:!0}).set("scroll",{handler:je=>this.scroll.next(je),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:we}),ge||this._globalListeners.set("mousemove",{handler:je=>this.pointerMove.next(je),options:we}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((je,Ye)=>{this._document.addEventListener(Ye,je.handler,je.options)})})}}stopDragging(fe){const Xe=this._activeDragInstances.indexOf(fe);Xe>-1&&(this._activeDragInstances.splice(Xe,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(fe){return this._activeDragInstances.indexOf(fe)>-1}scrolled(fe){const Xe=[this.scroll];return fe&&fe!==this._document&&Xe.push(new p.y(ge=>this._ngZone.runOutsideAngular(()=>{const Ye=We=>{this._activeDragInstances.length&&ge.next(We)};return fe.addEventListener("scroll",Ye,!0),()=>{fe.removeEventListener("scroll",Ye,!0)}}))),(0,v.T)(...Xe)}ngOnDestroy(){this._dragInstances.forEach(fe=>this.removeDragItem(fe)),this._dropInstances.forEach(fe=>this.removeDropContainer(fe)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((fe,Xe)=>{this._document.removeEventListener(Xe,fe.handler,fe.options)}),this._globalListeners.clear()}static#e=this.\u0275fac=function(Xe){return new(Xe||qe)(e.LFG(e.R0b),e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();const U={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let B=(()=>{class qe{constructor(fe,Xe,ge,je){this._document=fe,this._ngZone=Xe,this._viewportRuler=ge,this._dragDropRegistry=je}createDrag(fe,Xe=U){return new X(fe,Xe,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(fe){return new xt(fe,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#e=this.\u0275fac=function(Xe){return new(Xe||qe)(e.LFG(n.K0),e.LFG(e.R0b),e.LFG(t.rL),e.LFG(de))};static#t=this.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();const Me=new e.OlP("CDK_DRAG_PARENT"),Le=new e.OlP("CdkDragHandle");let ht=(()=>{class qe{get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,l.Ig)(fe),this._stateChanges.next(this)}constructor(fe,Xe){this.element=fe,this._stateChanges=new E.x,this._disabled=!1,this._parentDrag=Xe}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(Xe){return new(Xe||qe)(e.Y36(e.SBq),e.Y36(Me,12))};static#t=this.\u0275dir=e.lG2({type:qe,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[e._Bn([{provide:Le,useExisting:qe}])]})}return qe})();const Ot=new e.OlP("CdkDragPlaceholder"),Wt=new e.OlP("CdkDragPreview"),en=new e.OlP("CDK_DRAG_CONFIG"),cn=new e.OlP("CdkDropList");let ft=(()=>{class qe{static#e=this._dragInstances=[];get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(fe){this._disabled=(0,l.Ig)(fe),this._dragRef.disabled=this._disabled}constructor(fe,Xe,ge,je,Ye,We,wt,Ee,be,Qe,Ke){this.element=fe,this.dropContainer=Xe,this._ngZone=je,this._viewContainerRef=Ye,this._dir=wt,this._changeDetectorRef=be,this._selfHandle=Qe,this._parentDrag=Ke,this._destroyed=new E.x,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new p.y(Ze=>{const ve=this._dragRef.moved.pipe((0,d.U)(nt=>({source:this,pointerPosition:nt.pointerPosition,event:nt.event,delta:nt.delta,distance:nt.distance}))).subscribe(Ze);return()=>{ve.unsubscribe()}}),this._dragRef=Ee.createDrag(fe,{dragStartThreshold:We&&null!=We.dragStartThreshold?We.dragStartThreshold:5,pointerDirectionChangeThreshold:We&&null!=We.pointerDirectionChangeThreshold?We.pointerDirectionChangeThreshold:5,zIndex:We?.zIndex}),this._dragRef.data=this,qe._dragInstances.push(this),We&&this._assignDefaults(We),Xe&&(this._dragRef._withDropContainer(Xe._dropListRef),Xe.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(fe){this._dragRef.setFreeDragPosition(fe)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,m.q)(1),(0,_.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(fe){const Xe=fe.rootElementSelector,ge=fe.freeDragPosition;Xe&&!Xe.firstChange&&this._updateRootElement(),ge&&!ge.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const fe=qe._dragInstances.indexOf(this);fe>-1&&qe._dragInstances.splice(fe,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const fe=this.element.nativeElement;let Xe=fe;this.rootElementSelector&&(Xe=void 0!==fe.closest?fe.closest(this.rootElementSelector):fe.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(Xe||fe)}_getBoundaryElement(){const fe=this.boundaryElement;return fe?"string"==typeof fe?this.element.nativeElement.closest(fe):(0,l.fI)(fe):null}_syncInputs(fe){fe.beforeStarted.subscribe(()=>{if(!fe.isDragging()){const Xe=this._dir,ge=this.dragStartDelay,je=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,Ye=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;fe.disabled=this.disabled,fe.lockAxis=this.lockAxis,fe.dragStartDelay="object"==typeof ge&&ge?ge:(0,l.su)(ge),fe.constrainPosition=this.constrainPosition,fe.previewClass=this.previewClass,fe.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(je).withPreviewTemplate(Ye).withPreviewContainer(this.previewContainer||"global"),Xe&&fe.withDirection(Xe.value)}}),fe.beforeStarted.pipe((0,m.q)(1)).subscribe(()=>{if(this._parentDrag)return void fe.withParent(this._parentDrag._dragRef);let Xe=this.element.nativeElement.parentElement;for(;Xe;){if(Xe.classList.contains("cdk-drag")){fe.withParent(qe._dragInstances.find(ge=>ge.element.nativeElement===Xe)?._dragRef||null);break}Xe=Xe.parentElement}})}_handleEvents(fe){fe.started.subscribe(Xe=>{this.started.emit({source:this,event:Xe.event}),this._changeDetectorRef.markForCheck()}),fe.released.subscribe(Xe=>{this.released.emit({source:this,event:Xe.event})}),fe.ended.subscribe(Xe=>{this.ended.emit({source:this,distance:Xe.distance,dropPoint:Xe.dropPoint,event:Xe.event}),this._changeDetectorRef.markForCheck()}),fe.entered.subscribe(Xe=>{this.entered.emit({container:Xe.container.data,item:this,currentIndex:Xe.currentIndex})}),fe.exited.subscribe(Xe=>{this.exited.emit({container:Xe.container.data,item:this})}),fe.dropped.subscribe(Xe=>{this.dropped.emit({previousIndex:Xe.previousIndex,currentIndex:Xe.currentIndex,previousContainer:Xe.previousContainer.data,container:Xe.container.data,isPointerOverContainer:Xe.isPointerOverContainer,item:this,distance:Xe.distance,dropPoint:Xe.dropPoint,event:Xe.event})})}_assignDefaults(fe){const{lockAxis:Xe,dragStartDelay:ge,constrainPosition:je,previewClass:Ye,boundaryElement:We,draggingDisabled:wt,rootElementSelector:Ee,previewContainer:be}=fe;this.disabled=wt??!1,this.dragStartDelay=ge||0,Xe&&(this.lockAxis=Xe),je&&(this.constrainPosition=je),Ye&&(this.previewClass=Ye),We&&(this.boundaryElement=We),Ee&&(this.rootElementSelector=Ee),be&&(this.previewContainer=be)}_setupHandlesListener(){this._handles.changes.pipe((0,f.O)(this._handles),(0,C.b)(fe=>{const Xe=fe.filter(ge=>ge._parentDrag===this).map(ge=>ge.element);this._selfHandle&&this.rootElementSelector&&Xe.push(this.element),this._dragRef.withHandles(Xe)}),(0,T.w)(fe=>(0,v.T)(...fe.map(Xe=>Xe._stateChanges.pipe((0,f.O)(Xe))))),(0,_.R)(this._destroyed)).subscribe(fe=>{const Xe=this._dragRef,ge=fe.element.nativeElement;fe.disabled?Xe.disableHandle(ge):Xe.enableHandle(ge)})}static#t=this.\u0275fac=function(Xe){return new(Xe||qe)(e.Y36(e.SBq),e.Y36(cn,12),e.Y36(n.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(en,8),e.Y36(b.Is,8),e.Y36(B),e.Y36(e.sBO),e.Y36(Le,10),e.Y36(Me,12))};static#n=this.\u0275dir=e.lG2({type:qe,selectors:[["","cdkDrag",""]],contentQueries:function(Xe,ge,je){if(1&Xe&&(e.Suo(je,Wt,5),e.Suo(je,Ot,5),e.Suo(je,Le,5)),2&Xe){let Ye;e.iGM(Ye=e.CRH())&&(ge._previewTemplate=Ye.first),e.iGM(Ye=e.CRH())&&(ge._placeholderTemplate=Ye.first),e.iGM(Ye=e.CRH())&&(ge._handles=Ye)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(Xe,ge){2&Xe&&e.ekj("cdk-drag-disabled",ge.disabled)("cdk-drag-dragging",ge._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[e._Bn([{provide:Me,useExisting:qe}]),e.TTD]})}return qe})(),St=(()=>{class qe{static#e=this.\u0275fac=function(Xe){return new(Xe||qe)};static#t=this.\u0275mod=e.oAB({type:qe});static#n=this.\u0275inj=e.cJS({providers:[B],imports:[t.ZD]})}return qe})()},36028:(tt,I,o)=>{"use strict";o.d(I,{A:()=>ae,JH:()=>D,JU:()=>h,K5:()=>l,Ku:()=>_,LH:()=>T,L_:()=>v,MW:()=>ht,Mf:()=>t,SV:()=>b,Sd:()=>f,VM:()=>d,Vb:()=>hi,Z:()=>Le,ZH:()=>n,aO:()=>ee,b2:()=>ri,hY:()=>p,jx:()=>E,oh:()=>C,uR:()=>m,xE:()=>k,zL:()=>u});const n=8,t=9,l=13,h=16,E=17,u=18,p=27,v=32,_=33,d=34,m=35,f=36,C=37,T=38,b=39,D=40,k=48,ee=57,ae=65,Le=90,ht=91,ri=224;function hi(Ti,...li){return li.length?li.some(fi=>Ti[fi]):Ti.altKey||Ti.shiftKey||Ti.ctrlKey||Ti.metaKey}},71088:(tt,I,o)=>{"use strict";o.d(I,{Yg:()=>D,vx:()=>C,xu:()=>d});var e=o(65879),n=o(42495),t=o(78645),i=o(52572),l=o(35211),h=o(65592),E=o(48180),u=o(836),z=o(83620),M=o(37398),p=o(27921),v=o(59773),_=o(62831);let d=(()=>{class S{static#e=this.\u0275fac=function(R){return new(R||S)};static#t=this.\u0275mod=e.oAB({type:S});static#n=this.\u0275inj=e.cJS({})}return S})();const m=new Set;let f,C=(()=>{class S{constructor(k,R){this._platform=k,this._nonce=R,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):b}matchMedia(k){return(this._platform.WEBKIT||this._platform.BLINK)&&function T(S,A){if(!m.has(S))try{f||(f=document.createElement("style"),A&&(f.nonce=A),f.setAttribute("type","text/css"),document.head.appendChild(f)),f.sheet&&(f.sheet.insertRule(`@media ${S} {body{ }}`,0),m.add(S))}catch(k){console.error(k)}}(k,this._nonce),this._matchMedia(k)}static#e=this.\u0275fac=function(R){return new(R||S)(e.LFG(_.t4),e.LFG(e.Ojb,8))};static#t=this.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();function b(S){return{matches:"all"===S||""===S,media:S,addListener:()=>{},removeListener:()=>{}}}let D=(()=>{class S{constructor(k,R){this._mediaMatcher=k,this._zone=R,this._queries=new Map,this._destroySubject=new t.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(k){return y((0,n.Eq)(k)).some(W=>this._registerQuery(W).mql.matches)}observe(k){const W=y((0,n.Eq)(k)).map(ze=>this._registerQuery(ze).observable);let j=(0,i.a)(W);return j=(0,l.z)(j.pipe((0,E.q)(1)),j.pipe((0,u.T)(1),(0,z.b)(0))),j.pipe((0,M.U)(ze=>{const Y={matches:!1,breakpoints:{}};return ze.forEach(({matches:G,query:V})=>{Y.matches=Y.matches||G,Y.breakpoints[V]=G}),Y}))}_registerQuery(k){if(this._queries.has(k))return this._queries.get(k);const R=this._mediaMatcher.matchMedia(k),j={observable:new h.y(ze=>{const Y=G=>this._zone.run(()=>ze.next(G));return R.addListener(Y),()=>{R.removeListener(Y)}}).pipe((0,p.O)(R),(0,M.U)(({matches:ze})=>({query:k,matches:ze})),(0,v.R)(this._destroySubject)),mql:R};return this._queries.set(k,j),j}static#e=this.\u0275fac=function(R){return new(R||S)(e.LFG(C),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();function y(S){return S.map(A=>A.split(",")).reduce((A,k)=>A.concat(k)).map(A=>A.trim())}},17131:(tt,I,o)=>{"use strict";o.d(I,{Q8:()=>z,wD:()=>u});var e=o(42495),n=o(65879),t=o(65592),i=o(78645),l=o(83620);let h=(()=>{class M{create(v){return typeof MutationObserver>"u"?null:new MutationObserver(v)}static#e=this.\u0275fac=function(_){return new(_||M)};static#t=this.\u0275prov=n.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),E=(()=>{class M{constructor(v){this._mutationObserverFactory=v,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((v,_)=>this._cleanupObserver(_))}observe(v){const _=(0,e.fI)(v);return new t.y(d=>{const f=this._observeElement(_).subscribe(d);return()=>{f.unsubscribe(),this._unobserveElement(_)}})}_observeElement(v){if(this._observedElements.has(v))this._observedElements.get(v).count++;else{const _=new i.x,d=this._mutationObserverFactory.create(m=>_.next(m));d&&d.observe(v,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(v,{observer:d,stream:_,count:1})}return this._observedElements.get(v).stream}_unobserveElement(v){this._observedElements.has(v)&&(this._observedElements.get(v).count--,this._observedElements.get(v).count||this._cleanupObserver(v))}_cleanupObserver(v){if(this._observedElements.has(v)){const{observer:_,stream:d}=this._observedElements.get(v);_&&_.disconnect(),d.complete(),this._observedElements.delete(v)}}static#e=this.\u0275fac=function(_){return new(_||M)(n.LFG(h))};static#t=this.\u0275prov=n.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),u=(()=>{class M{get disabled(){return this._disabled}set disabled(v){this._disabled=(0,e.Ig)(v),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(v){this._debounce=(0,e.su)(v),this._subscribe()}constructor(v,_,d){this._contentObserver=v,this._elementRef=_,this._ngZone=d,this.event=new n.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const v=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?v.pipe((0,l.b)(this.debounce)):v).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(_){return new(_||M)(n.Y36(E),n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275dir=n.lG2({type:M,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return M})(),z=(()=>{class M{static#e=this.\u0275fac=function(_){return new(_||M)};static#t=this.\u0275mod=n.oAB({type:M});static#n=this.\u0275inj=n.cJS({providers:[h]})}return M})()},33651:(tt,I,o)=>{"use strict";o.d(I,{pI:()=>xt,xu:()=>Pe,tR:()=>j,aV:()=>He,X_:()=>W,Vs:()=>ee,U8:()=>mt,Iu:()=>re});var e=o(205),n=o(96814),t=o(65879),i=o(42495),l=o(62831),h=o(32181),E=o(48180),u=o(59773),z=o(79360),M=o(8251),v=o(49388),_=o(68484),d=o(78645),m=o(47394),f=o(63019),C=o(36028);const T=(0,l.Mq)();class b{constructor(U,B){this._viewportRuler=U,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=B}attach(){}enable(){if(this._canBeEnabled()){const U=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=U.style.left||"",this._previousHTMLStyles.top=U.style.top||"",U.style.left=(0,i.HM)(-this._previousScrollPosition.left),U.style.top=(0,i.HM)(-this._previousScrollPosition.top),U.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const U=this._document.documentElement,Me=U.style,Ae=this._document.body.style,Le=Me.scrollBehavior||"",ht=Ae.scrollBehavior||"";this._isEnabled=!1,Me.left=this._previousHTMLStyles.left,Me.top=this._previousHTMLStyles.top,U.classList.remove("cdk-global-scrollblock"),T&&(Me.scrollBehavior=Ae.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),T&&(Me.scrollBehavior=Le,Ae.scrollBehavior=ht)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const B=this._document.body,Me=this._viewportRuler.getViewportSize();return B.scrollHeight>Me.height||B.scrollWidth>Me.width}}class y{constructor(U,B,Me,Ae){this._scrollDispatcher=U,this._ngZone=B,this._viewportRuler=Me,this._config=Ae,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(U){this._overlayRef=U}enable(){if(this._scrollSubscription)return;const U=this._scrollDispatcher.scrolled(0).pipe((0,h.h)(B=>!B||!this._overlayRef.overlayElement.contains(B.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=U.subscribe(()=>{const B=this._viewportRuler.getViewportScrollPosition().top;Math.abs(B-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=U.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class P{enable(){}disable(){}attach(){}}function S(de,U){return U.some(B=>de.bottomB.bottom||de.rightB.right)}function A(de,U){return U.some(B=>de.topB.bottom||de.leftB.right)}class k{constructor(U,B,Me,Ae){this._scrollDispatcher=U,this._viewportRuler=B,this._ngZone=Me,this._config=Ae,this._scrollSubscription=null}attach(U){this._overlayRef=U}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const B=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Me,height:Ae}=this._viewportRuler.getViewportSize();S(B,[{width:Me,height:Ae,bottom:Ae,right:Me,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let R=(()=>{class de{constructor(B,Me,Ae,Le){this._scrollDispatcher=B,this._viewportRuler=Me,this._ngZone=Ae,this.noop=()=>new P,this.close=ht=>new y(this._scrollDispatcher,this._ngZone,this._viewportRuler,ht),this.block=()=>new b(this._viewportRuler,this._document),this.reposition=ht=>new k(this._scrollDispatcher,this._viewportRuler,this._ngZone,ht),this._document=Le}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(e.mF),t.LFG(e.rL),t.LFG(t.R0b),t.LFG(n.K0))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();class W{constructor(U){if(this.scrollStrategy=new P,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,U){const B=Object.keys(U);for(const Me of B)void 0!==U[Me]&&(this[Me]=U[Me])}}}class j{constructor(U,B,Me,Ae,Le){this.offsetX=Me,this.offsetY=Ae,this.panelClass=Le,this.originX=U.originX,this.originY=U.originY,this.overlayX=B.overlayX,this.overlayY=B.overlayY}}class Y{constructor(U,B){this.connectionPair=U,this.scrollableViewProperties=B}}let K=(()=>{class de{constructor(B){this._attachedOverlays=[],this._document=B}ngOnDestroy(){this.detach()}add(B){this.remove(B),this._attachedOverlays.push(B)}remove(B){const Me=this._attachedOverlays.indexOf(B);Me>-1&&this._attachedOverlays.splice(Me,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(n.K0))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),ee=(()=>{class de extends K{constructor(B,Me){super(B),this._ngZone=Me,this._keydownListener=Ae=>{const Le=this._attachedOverlays;for(let ht=Le.length-1;ht>-1;ht--)if(Le[ht]._keydownEvents.observers.length>0){const Ot=Le[ht]._keydownEvents;this._ngZone?this._ngZone.run(()=>Ot.next(Ae)):Ot.next(Ae);break}}}add(B){super.add(B),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(n.K0),t.LFG(t.R0b,8))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),te=(()=>{class de extends K{constructor(B,Me,Ae){super(B),this._platform=Me,this._ngZone=Ae,this._cursorStyleIsSet=!1,this._pointerDownListener=Le=>{this._pointerDownEventTarget=(0,l.sA)(Le)},this._clickListener=Le=>{const ht=(0,l.sA)(Le),Ot="click"===Le.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ht;this._pointerDownEventTarget=null;const Lt=this._attachedOverlays.slice();for(let Wt=Lt.length-1;Wt>-1;Wt--){const qt=Lt[Wt];if(qt._outsidePointerEvents.observers.length<1||!qt.hasAttached())continue;if(qt.overlayElement.contains(ht)||qt.overlayElement.contains(Ot))break;const en=qt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>en.next(Le)):en.next(Le)}}}add(B){if(super.add(B),!this._isAttached){const Me=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Me)):this._addEventListeners(Me),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Me.style.cursor,Me.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const B=this._document.body;B.removeEventListener("pointerdown",this._pointerDownListener,!0),B.removeEventListener("click",this._clickListener,!0),B.removeEventListener("auxclick",this._clickListener,!0),B.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(B.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(B){B.addEventListener("pointerdown",this._pointerDownListener,!0),B.addEventListener("click",this._clickListener,!0),B.addEventListener("auxclick",this._clickListener,!0),B.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(n.K0),t.LFG(l.t4),t.LFG(t.R0b,8))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),pe=(()=>{class de{constructor(B,Me){this._platform=Me,this._document=B}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const B="cdk-overlay-container";if(this._platform.isBrowser||(0,l.Oy)()){const Ae=this._document.querySelectorAll(`.${B}[platform="server"], .${B}[platform="test"]`);for(let Le=0;Lethis._backdropClick.next(en),this._backdropTransitionendHandler=en=>{this._disposeBackdrop(en.target)},this._keydownEvents=new d.x,this._outsidePointerEvents=new d.x,Ae.scrollStrategy&&(this._scrollStrategy=Ae.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ae.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(U){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const B=this._portalOutlet.attach(U);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof B?.onDestroy&&B.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),B}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const U=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),U}dispose(){const U=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,U&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(U){U!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=U,this.hasAttached()&&(U.attach(this),this.updatePosition()))}updateSize(U){this._config={...this._config,...U},this._updateElementSize()}setDirection(U){this._config={...this._config,direction:U},this._updateElementDirection()}addPanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!0)}removePanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!1)}getDirection(){const U=this._config.direction;return U?"string"==typeof U?U:U.value:"ltr"}updateScrollStrategy(U){U!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=U,this.hasAttached()&&(U.attach(this),U.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const U=this._pane.style;U.width=(0,i.HM)(this._config.width),U.height=(0,i.HM)(this._config.height),U.minWidth=(0,i.HM)(this._config.minWidth),U.minHeight=(0,i.HM)(this._config.minHeight),U.maxWidth=(0,i.HM)(this._config.maxWidth),U.maxHeight=(0,i.HM)(this._config.maxHeight)}_togglePointerEvents(U){this._pane.style.pointerEvents=U?"":"none"}_attachBackdrop(){const U="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(U)})}):this._backdropElement.classList.add(U)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const U=this._backdropElement;if(U){if(this._animationsDisabled)return void this._disposeBackdrop(U);U.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{U.addEventListener("transitionend",this._backdropTransitionendHandler)}),U.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(U)},500))}}_toggleClasses(U,B,Me){const Ae=(0,i.Eq)(B||[]).filter(Le=>!!Le);Ae.length&&(Me?U.classList.add(...Ae):U.classList.remove(...Ae))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const U=this._ngZone.onStable.pipe((0,u.R)((0,f.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),U.unsubscribe())})})}_disposeScrollStrategy(){const U=this._scrollStrategy;U&&(U.disable(),U.detach&&U.detach())}_disposeBackdrop(U){U&&(U.removeEventListener("click",this._backdropClickHandler),U.removeEventListener("transitionend",this._backdropTransitionendHandler),U.remove(),this._backdropElement===U&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const De="cdk-overlay-connected-position-bounding-box",ae=/([A-Za-z%]+)$/;class ce{get positions(){return this._preferredPositions}constructor(U,B,Me,Ae,Le){this._viewportRuler=B,this._document=Me,this._platform=Ae,this._overlayContainer=Le,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new d.x,this._resizeSubscription=m.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(U)}attach(U){this._validatePositions(),U.hostElement.classList.add(De),this._overlayRef=U,this._boundingBox=U.hostElement,this._pane=U.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const U=this._originRect,B=this._overlayRect,Me=this._viewportRect,Ae=this._containerRect,Le=[];let ht;for(let Ot of this._preferredPositions){let Lt=this._getOriginPoint(U,Ae,Ot),Wt=this._getOverlayPoint(Lt,B,Ot),qt=this._getOverlayFit(Wt,B,Me,Ot);if(qt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ot,Lt);this._canFitWithFlexibleDimensions(qt,Wt,Me)?Le.push({position:Ot,origin:Lt,overlayRect:B,boundingBoxRect:this._calculateBoundingBoxRect(Lt,Ot)}):(!ht||ht.overlayFit.visibleAreaLt&&(Lt=qt,Ot=Wt)}return this._isPushed=!1,void this._applyPosition(Ot.position,Ot.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ht.position,ht.originPoint);this._applyPosition(ht.position,ht.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&X(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(De),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const U=this._lastPosition;if(U){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const B=this._getOriginPoint(this._originRect,this._containerRect,U);this._applyPosition(U,B)}else this.apply()}withScrollableContainers(U){return this._scrollables=U,this}withPositions(U){return this._preferredPositions=U,-1===U.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(U){return this._viewportMargin=U,this}withFlexibleDimensions(U=!0){return this._hasFlexibleDimensions=U,this}withGrowAfterOpen(U=!0){return this._growAfterOpen=U,this}withPush(U=!0){return this._canPush=U,this}withLockedPosition(U=!0){return this._positionLocked=U,this}setOrigin(U){return this._origin=U,this}withDefaultOffsetX(U){return this._offsetX=U,this}withDefaultOffsetY(U){return this._offsetY=U,this}withTransformOriginOn(U){return this._transformOriginSelector=U,this}_getOriginPoint(U,B,Me){let Ae,Le;if("center"==Me.originX)Ae=U.left+U.width/2;else{const ht=this._isRtl()?U.right:U.left,Ot=this._isRtl()?U.left:U.right;Ae="start"==Me.originX?ht:Ot}return B.left<0&&(Ae-=B.left),Le="center"==Me.originY?U.top+U.height/2:"top"==Me.originY?U.top:U.bottom,B.top<0&&(Le-=B.top),{x:Ae,y:Le}}_getOverlayPoint(U,B,Me){let Ae,Le;return Ae="center"==Me.overlayX?-B.width/2:"start"===Me.overlayX?this._isRtl()?-B.width:0:this._isRtl()?0:-B.width,Le="center"==Me.overlayY?-B.height/2:"top"==Me.overlayY?0:-B.height,{x:U.x+Ae,y:U.y+Le}}_getOverlayFit(U,B,Me,Ae){const Le=le(B);let{x:ht,y:Ot}=U,Lt=this._getOffset(Ae,"x"),Wt=this._getOffset(Ae,"y");Lt&&(ht+=Lt),Wt&&(Ot+=Wt);let Vt=0-Ot,cn=Ot+Le.height-Me.height,ft=this._subtractOverflows(Le.width,0-ht,ht+Le.width-Me.width),gt=this._subtractOverflows(Le.height,Vt,cn),Ie=ft*gt;return{visibleArea:Ie,isCompletelyWithinViewport:Le.width*Le.height===Ie,fitsInViewportVertically:gt===Le.height,fitsInViewportHorizontally:ft==Le.width}}_canFitWithFlexibleDimensions(U,B,Me){if(this._hasFlexibleDimensions){const Ae=Me.bottom-B.y,Le=Me.right-B.x,ht=ne(this._overlayRef.getConfig().minHeight),Ot=ne(this._overlayRef.getConfig().minWidth);return(U.fitsInViewportVertically||null!=ht&&ht<=Ae)&&(U.fitsInViewportHorizontally||null!=Ot&&Ot<=Le)}return!1}_pushOverlayOnScreen(U,B,Me){if(this._previousPushAmount&&this._positionLocked)return{x:U.x+this._previousPushAmount.x,y:U.y+this._previousPushAmount.y};const Ae=le(B),Le=this._viewportRect,ht=Math.max(U.x+Ae.width-Le.width,0),Ot=Math.max(U.y+Ae.height-Le.height,0),Lt=Math.max(Le.top-Me.top-U.y,0),Wt=Math.max(Le.left-Me.left-U.x,0);let qt=0,en=0;return qt=Ae.width<=Le.width?Wt||-ht:U.xft&&!this._isInitialRender&&!this._growAfterOpen&&(ht=U.y-ft/2)}if("end"===B.overlayX&&!Ae||"start"===B.overlayX&&Ae)Vt=Me.width-U.x+this._viewportMargin,qt=U.x-this._viewportMargin;else if("start"===B.overlayX&&!Ae||"end"===B.overlayX&&Ae)en=U.x,qt=Me.right-U.x;else{const cn=Math.min(Me.right-U.x+Me.left,U.x),ft=this._lastBoundingBoxSize.width;qt=2*cn,en=U.x-cn,qt>ft&&!this._isInitialRender&&!this._growAfterOpen&&(en=U.x-ft/2)}return{top:ht,left:en,bottom:Ot,right:Vt,width:qt,height:Le}}_setBoundingBoxStyles(U,B){const Me=this._calculateBoundingBoxRect(U,B);!this._isInitialRender&&!this._growAfterOpen&&(Me.height=Math.min(Me.height,this._lastBoundingBoxSize.height),Me.width=Math.min(Me.width,this._lastBoundingBoxSize.width));const Ae={};if(this._hasExactPosition())Ae.top=Ae.left="0",Ae.bottom=Ae.right=Ae.maxHeight=Ae.maxWidth="",Ae.width=Ae.height="100%";else{const Le=this._overlayRef.getConfig().maxHeight,ht=this._overlayRef.getConfig().maxWidth;Ae.height=(0,i.HM)(Me.height),Ae.top=(0,i.HM)(Me.top),Ae.bottom=(0,i.HM)(Me.bottom),Ae.width=(0,i.HM)(Me.width),Ae.left=(0,i.HM)(Me.left),Ae.right=(0,i.HM)(Me.right),Ae.alignItems="center"===B.overlayX?"center":"end"===B.overlayX?"flex-end":"flex-start",Ae.justifyContent="center"===B.overlayY?"center":"bottom"===B.overlayY?"flex-end":"flex-start",Le&&(Ae.maxHeight=(0,i.HM)(Le)),ht&&(Ae.maxWidth=(0,i.HM)(ht))}this._lastBoundingBoxSize=Me,X(this._boundingBox.style,Ae)}_resetBoundingBoxStyles(){X(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){X(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(U,B){const Me={},Ae=this._hasExactPosition(),Le=this._hasFlexibleDimensions,ht=this._overlayRef.getConfig();if(Ae){const qt=this._viewportRuler.getViewportScrollPosition();X(Me,this._getExactOverlayY(B,U,qt)),X(Me,this._getExactOverlayX(B,U,qt))}else Me.position="static";let Ot="",Lt=this._getOffset(B,"x"),Wt=this._getOffset(B,"y");Lt&&(Ot+=`translateX(${Lt}px) `),Wt&&(Ot+=`translateY(${Wt}px)`),Me.transform=Ot.trim(),ht.maxHeight&&(Ae?Me.maxHeight=(0,i.HM)(ht.maxHeight):Le&&(Me.maxHeight="")),ht.maxWidth&&(Ae?Me.maxWidth=(0,i.HM)(ht.maxWidth):Le&&(Me.maxWidth="")),X(this._pane.style,Me)}_getExactOverlayY(U,B,Me){let Ae={top:"",bottom:""},Le=this._getOverlayPoint(B,this._overlayRect,U);return this._isPushed&&(Le=this._pushOverlayOnScreen(Le,this._overlayRect,Me)),"bottom"===U.overlayY?Ae.bottom=this._document.documentElement.clientHeight-(Le.y+this._overlayRect.height)+"px":Ae.top=(0,i.HM)(Le.y),Ae}_getExactOverlayX(U,B,Me){let ht,Ae={left:"",right:""},Le=this._getOverlayPoint(B,this._overlayRect,U);return this._isPushed&&(Le=this._pushOverlayOnScreen(Le,this._overlayRect,Me)),ht=this._isRtl()?"end"===U.overlayX?"left":"right":"end"===U.overlayX?"right":"left","right"===ht?Ae.right=this._document.documentElement.clientWidth-(Le.x+this._overlayRect.width)+"px":Ae.left=(0,i.HM)(Le.x),Ae}_getScrollVisibility(){const U=this._getOriginRect(),B=this._pane.getBoundingClientRect(),Me=this._scrollables.map(Ae=>Ae.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:A(U,Me),isOriginOutsideView:S(U,Me),isOverlayClipped:A(B,Me),isOverlayOutsideView:S(B,Me)}}_subtractOverflows(U,...B){return B.reduce((Me,Ae)=>Me-Math.max(Ae,0),U)}_getNarrowedViewportRect(){const U=this._document.documentElement.clientWidth,B=this._document.documentElement.clientHeight,Me=this._viewportRuler.getViewportScrollPosition();return{top:Me.top+this._viewportMargin,left:Me.left+this._viewportMargin,right:Me.left+U-this._viewportMargin,bottom:Me.top+B-this._viewportMargin,width:U-2*this._viewportMargin,height:B-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(U,B){return"x"===B?null==U.offsetX?this._offsetX:U.offsetX:null==U.offsetY?this._offsetY:U.offsetY}_validatePositions(){}_addPanelClasses(U){this._pane&&(0,i.Eq)(U).forEach(B=>{""!==B&&-1===this._appliedPanelClasses.indexOf(B)&&(this._appliedPanelClasses.push(B),this._pane.classList.add(B))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(U=>{this._pane.classList.remove(U)}),this._appliedPanelClasses=[])}_getOriginRect(){const U=this._origin;if(U instanceof t.SBq)return U.nativeElement.getBoundingClientRect();if(U instanceof Element)return U.getBoundingClientRect();const B=U.width||0,Me=U.height||0;return{top:U.y,bottom:U.y+Me,left:U.x,right:U.x+B,height:Me,width:B}}}function X(de,U){for(let B in U)U.hasOwnProperty(B)&&(de[B]=U[B]);return de}function ne(de){if("number"!=typeof de&&null!=de){const[U,B]=de.split(ae);return B&&"px"!==B?null:parseFloat(U)}return de||null}function le(de){return{top:Math.floor(de.top),right:Math.floor(de.right),bottom:Math.floor(de.bottom),left:Math.floor(de.left),width:Math.floor(de.width),height:Math.floor(de.height)}}const ke="cdk-global-overlay-wrapper";class oe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(U){const B=U.getConfig();this._overlayRef=U,this._width&&!B.width&&U.updateSize({width:this._width}),this._height&&!B.height&&U.updateSize({height:this._height}),U.hostElement.classList.add(ke),this._isDisposed=!1}top(U=""){return this._bottomOffset="",this._topOffset=U,this._alignItems="flex-start",this}left(U=""){return this._xOffset=U,this._xPosition="left",this}bottom(U=""){return this._topOffset="",this._bottomOffset=U,this._alignItems="flex-end",this}right(U=""){return this._xOffset=U,this._xPosition="right",this}start(U=""){return this._xOffset=U,this._xPosition="start",this}end(U=""){return this._xOffset=U,this._xPosition="end",this}width(U=""){return this._overlayRef?this._overlayRef.updateSize({width:U}):this._width=U,this}height(U=""){return this._overlayRef?this._overlayRef.updateSize({height:U}):this._height=U,this}centerHorizontally(U=""){return this.left(U),this._xPosition="center",this}centerVertically(U=""){return this.top(U),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const U=this._overlayRef.overlayElement.style,B=this._overlayRef.hostElement.style,Me=this._overlayRef.getConfig(),{width:Ae,height:Le,maxWidth:ht,maxHeight:Ot}=Me,Lt=!("100%"!==Ae&&"100vw"!==Ae||ht&&"100%"!==ht&&"100vw"!==ht),Wt=!("100%"!==Le&&"100vh"!==Le||Ot&&"100%"!==Ot&&"100vh"!==Ot),qt=this._xPosition,en=this._xOffset,Vt="rtl"===this._overlayRef.getConfig().direction;let cn="",ft="",gt="";Lt?gt="flex-start":"center"===qt?(gt="center",Vt?ft=en:cn=en):Vt?"left"===qt||"end"===qt?(gt="flex-end",cn=en):("right"===qt||"start"===qt)&&(gt="flex-start",ft=en):"left"===qt||"start"===qt?(gt="flex-start",cn=en):("right"===qt||"end"===qt)&&(gt="flex-end",ft=en),U.position=this._cssPosition,U.marginLeft=Lt?"0":cn,U.marginTop=Wt?"0":this._topOffset,U.marginBottom=this._bottomOffset,U.marginRight=Lt?"0":ft,B.justifyContent=gt,B.alignItems=Wt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const U=this._overlayRef.overlayElement.style,B=this._overlayRef.hostElement,Me=B.style;B.classList.remove(ke),Me.justifyContent=Me.alignItems=U.marginTop=U.marginBottom=U.marginLeft=U.marginRight=U.position="",this._overlayRef=null,this._isDisposed=!0}}let _e=(()=>{class de{constructor(B,Me,Ae,Le){this._viewportRuler=B,this._document=Me,this._platform=Ae,this._overlayContainer=Le}global(){return new oe}flexibleConnectedTo(B){return new ce(B,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(e.rL),t.LFG(n.K0),t.LFG(l.t4),t.LFG(pe))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),Q=0,He=(()=>{class de{constructor(B,Me,Ae,Le,ht,Ot,Lt,Wt,qt,en,Vt,cn){this.scrollStrategies=B,this._overlayContainer=Me,this._componentFactoryResolver=Ae,this._positionBuilder=Le,this._keyboardDispatcher=ht,this._injector=Ot,this._ngZone=Lt,this._document=Wt,this._directionality=qt,this._location=en,this._outsideClickDispatcher=Vt,this._animationsModuleType=cn}create(B){const Me=this._createHostElement(),Ae=this._createPaneElement(Me),Le=this._createPortalOutlet(Ae),ht=new W(B);return ht.direction=ht.direction||this._directionality.value,new re(Le,Me,Ae,ht,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(B){const Me=this._document.createElement("div");return Me.id="cdk-overlay-"+Q++,Me.classList.add("cdk-overlay-pane"),B.appendChild(Me),Me}_createHostElement(){const B=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(B),B}_createPortalOutlet(B){return this._appRef||(this._appRef=this._injector.get(t.z2F)),new _.u0(B,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.LFG(R),t.LFG(pe),t.LFG(t._Vd),t.LFG(_e),t.LFG(ee),t.LFG(t.zs3),t.LFG(t.R0b),t.LFG(n.K0),t.LFG(v.Is),t.LFG(n.Ye),t.LFG(te),t.LFG(t.QbO,8))};static#t=this.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();const Re=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],lt=new t.OlP("cdk-connected-overlay-scroll-strategy");let Pe=(()=>{class de{constructor(B){this.elementRef=B}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:de,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return de})(),xt=(()=>{class de{get offsetX(){return this._offsetX}set offsetX(B){this._offsetX=B,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(B){this._offsetY=B,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(B){this._hasBackdrop=(0,i.Ig)(B)}get lockPosition(){return this._lockPosition}set lockPosition(B){this._lockPosition=(0,i.Ig)(B)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(B){this._flexibleDimensions=(0,i.Ig)(B)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(B){this._growAfterOpen=(0,i.Ig)(B)}get push(){return this._push}set push(B){this._push=(0,i.Ig)(B)}constructor(B,Me,Ae,Le,ht){this._overlay=B,this._dir=ht,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=m.w0.EMPTY,this._attachSubscription=m.w0.EMPTY,this._detachSubscription=m.w0.EMPTY,this._positionSubscription=m.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new t.vpe,this.positionChange=new t.vpe,this.attach=new t.vpe,this.detach=new t.vpe,this.overlayKeydown=new t.vpe,this.overlayOutsideClick=new t.vpe,this._templatePortal=new _.UE(Me,Ae),this._scrollStrategyFactory=Le,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(B){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),B.origin&&this.open&&this._position.apply()),B.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Re);const B=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=B.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=B.detachments().subscribe(()=>this.detach.emit()),B.keydownEvents().subscribe(Me=>{this.overlayKeydown.next(Me),Me.keyCode===C.hY&&!this.disableClose&&!(0,C.Vb)(Me)&&(Me.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Me=>{this.overlayOutsideClick.next(Me)})}_buildConfig(){const B=this._position=this.positionStrategy||this._createPositionStrategy(),Me=new W({direction:this._dir,positionStrategy:B,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Me.width=this.width),(this.height||0===this.height)&&(Me.height=this.height),(this.minWidth||0===this.minWidth)&&(Me.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Me.minHeight=this.minHeight),this.backdropClass&&(Me.backdropClass=this.backdropClass),this.panelClass&&(Me.panelClass=this.panelClass),Me}_updatePositionStrategy(B){const Me=this.positions.map(Ae=>({originX:Ae.originX,originY:Ae.originY,overlayX:Ae.overlayX,overlayY:Ae.overlayY,offsetX:Ae.offsetX||this.offsetX,offsetY:Ae.offsetY||this.offsetY,panelClass:Ae.panelClass||void 0}));return B.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Me).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const B=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(B),B}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Pe?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(B=>{this.backdropClick.emit(B)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function p(de,U=!1){return(0,z.e)((B,Me)=>{let Ae=0;B.subscribe((0,M.x)(Me,Le=>{const ht=de(Le,Ae++);(ht||U)&&Me.next(Le),!ht&&Me.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(B=>{this.positionChange.emit(B),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.Y36(He),t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(lt),t.Y36(v.Is,8))};static#t=this.\u0275dir=t.lG2({type:de,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[t.TTD]})}return de})();const ot={provide:lt,deps:[He],useFactory:function $e(de){return()=>de.scrollStrategies.reposition()}};let mt=(()=>{class de{static#e=this.\u0275fac=function(Me){return new(Me||de)};static#t=this.\u0275mod=t.oAB({type:de});static#n=this.\u0275inj=t.cJS({providers:[He,ot],imports:[v.vT,_.eL,e.Cl,e.Cl]})}return de})()},62831:(tt,I,o)=>{"use strict";o.d(I,{Mq:()=>d,Oy:()=>y,_i:()=>m,ht:()=>b,i$:()=>p,kV:()=>T,sA:()=>D,t4:()=>i,ud:()=>l});var e=o(65879),n=o(96814);let t;try{t=typeof Intl<"u"&&Intl.v8BreakIterator}catch{t=!1}let z,v,_,f,i=(()=>{class P{constructor(A){this._platformId=A,this.isBrowser=this._platformId?(0,n.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!t)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(k){return new(k||P)(e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),l=(()=>{class P{static#e=this.\u0275fac=function(k){return new(k||P)};static#t=this.\u0275mod=e.oAB({type:P});static#n=this.\u0275inj=e.cJS({})}return P})();function p(P){return function M(){if(null==z&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>z=!0}))}finally{z=z||!1}return z}()?P:!!P.capture}function d(){if(null==_){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return _=!1,_;if("scrollBehavior"in document.documentElement.style)_=!0;else{const P=Element.prototype.scrollTo;_=!!P&&!/\{\s*\[native code\]\s*\}/.test(P.toString())}}return _}function m(){if("object"!=typeof document||!document)return 0;if(null==v){const P=document.createElement("div"),S=P.style;P.dir="rtl",S.width="1px",S.overflow="auto",S.visibility="hidden",S.pointerEvents="none",S.position="absolute";const A=document.createElement("div"),k=A.style;k.width="2px",k.height="1px",P.appendChild(A),document.body.appendChild(P),v=0,0===P.scrollLeft&&(P.scrollLeft=1,v=0===P.scrollLeft?1:2),P.remove()}return v}function T(P){if(function C(){if(null==f){const P=typeof document<"u"?document.head:null;f=!(!P||!P.createShadowRoot&&!P.attachShadow)}return f}()){const S=P.getRootNode?P.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&S instanceof ShadowRoot)return S}return null}function b(){let P=typeof document<"u"&&document?document.activeElement:null;for(;P&&P.shadowRoot;){const S=P.shadowRoot.activeElement;if(S===P)break;P=S}return P}function D(P){return P.composedPath?P.composedPath()[0]:P.target}function y(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},68484:(tt,I,o)=>{"use strict";o.d(I,{C5:()=>M,Pl:()=>b,UE:()=>p,eL:()=>y,en:()=>_,u0:()=>m});var e=o(65879),n=o(96814);class z{attach(A){return this._attachedHost=A,A.attach(this)}detach(){let A=this._attachedHost;null!=A&&(this._attachedHost=null,A.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(A){this._attachedHost=A}}class M extends z{constructor(A,k,R,W,j){super(),this.component=A,this.viewContainerRef=k,this.injector=R,this.componentFactoryResolver=W,this.projectableNodes=j}}class p extends z{constructor(A,k,R,W){super(),this.templateRef=A,this.viewContainerRef=k,this.context=R,this.injector=W}get origin(){return this.templateRef.elementRef}attach(A,k=this.context){return this.context=k,super.attach(A)}detach(){return this.context=void 0,super.detach()}}class v extends z{constructor(A){super(),this.element=A instanceof e.SBq?A.nativeElement:A}}class _{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(A){return A instanceof M?(this._attachedPortal=A,this.attachComponentPortal(A)):A instanceof p?(this._attachedPortal=A,this.attachTemplatePortal(A)):this.attachDomPortal&&A instanceof v?(this._attachedPortal=A,this.attachDomPortal(A)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(A){this._disposeFn=A}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class m extends _{constructor(A,k,R,W,j){super(),this.outletElement=A,this._componentFactoryResolver=k,this._appRef=R,this._defaultInjector=W,this.attachDomPortal=ze=>{const Y=ze.element,G=this._document.createComment("dom-portal");Y.parentNode.insertBefore(G,Y),this.outletElement.appendChild(Y),this._attachedPortal=ze,super.setDisposeFn(()=>{G.parentNode&&G.parentNode.replaceChild(Y,G)})},this._document=j}attachComponentPortal(A){const R=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let W;return A.viewContainerRef?(W=A.viewContainerRef.createComponent(R,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>W.destroy())):(W=R.create(A.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(W.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(W.hostView),W.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(W)),this._attachedPortal=A,W}attachTemplatePortal(A){let k=A.viewContainerRef,R=k.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return R.rootNodes.forEach(W=>this.outletElement.appendChild(W)),R.detectChanges(),this.setDisposeFn(()=>{let W=k.indexOf(R);-1!==W&&k.remove(W)}),this._attachedPortal=A,R}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let b=(()=>{class S extends _{constructor(k,R,W){super(),this._componentFactoryResolver=k,this._viewContainerRef=R,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=j=>{const ze=j.element,Y=this._document.createComment("dom-portal");j.setAttachedHost(this),ze.parentNode.insertBefore(Y,ze),this._getRootNode().appendChild(ze),this._attachedPortal=j,super.setDisposeFn(()=>{Y.parentNode&&Y.parentNode.replaceChild(ze,Y)})},this._document=W}get portal(){return this._attachedPortal}set portal(k){this.hasAttached()&&!k&&!this._isInitialized||(this.hasAttached()&&super.detach(),k&&super.attach(k),this._attachedPortal=k||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(k){k.setAttachedHost(this);const R=null!=k.viewContainerRef?k.viewContainerRef:this._viewContainerRef,j=(k.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(k.component),ze=R.createComponent(j,R.length,k.injector||R.injector,k.projectableNodes||void 0);return R!==this._viewContainerRef&&this._getRootNode().appendChild(ze.hostView.rootNodes[0]),super.setDisposeFn(()=>ze.destroy()),this._attachedPortal=k,this._attachedRef=ze,this.attached.emit(ze),ze}attachTemplatePortal(k){k.setAttachedHost(this);const R=this._viewContainerRef.createEmbeddedView(k.templateRef,k.context,{injector:k.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=k,this._attachedRef=R,this.attached.emit(R),R}_getRootNode(){const k=this._viewContainerRef.element.nativeElement;return k.nodeType===k.ELEMENT_NODE?k:k.parentNode}static#e=this.\u0275fac=function(R){return new(R||S)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(n.K0))};static#t=this.\u0275dir=e.lG2({type:S,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]})}return S})(),y=(()=>{class S{static#e=this.\u0275fac=function(R){return new(R||S)};static#t=this.\u0275mod=e.oAB({type:S});static#n=this.\u0275inj=e.cJS({})}return S})()},205:(tt,I,o)=>{"use strict";o.d(I,{xd:()=>X,ZD:()=>ot,x0:()=>Pe,N7:()=>Re,mF:()=>le,Cl:()=>mt,rL:()=>ke});var e=o(42495),n=o(65879),t=o(78645),i=o(22096),l=o(65592),h=o(92438),E=o(80927),u=o(76410),z=o(47394),M=o(2664),p=o(93997),v=o(29028),_=o(32181),d=o(59773),m=o(27921),f=o(79360),C=o(8251),b=o(94664),D=o(97328),y=o(63020),S=o(62831),A=o(96814),k=o(49388),R=o(93168);class W{}class ze extends W{constructor(de){super(),this._data=de}connect(){return(0,M.b)(this._data)?this._data:(0,i.of)(this._data)}disconnect(){}}class G{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(de,U,B,Me,Ae){de.forEachOperation((Le,ht,Ot)=>{let Lt,Wt;null==Le.previousIndex?(Lt=this._insertView(()=>B(Le,ht,Ot),Ot,U,Me(Le)),Wt=Lt?1:0):null==Ot?(this._detachAndCacheView(ht,U),Wt=3):(Lt=this._moveView(ht,Ot,U,Me(Le)),Wt=2),Ae&&Ae({context:Lt?.context,operation:Wt,record:Le})})}detach(){for(const de of this._viewCache)de.destroy();this._viewCache=[]}_insertView(de,U,B,Me){const Ae=this._insertViewFromCache(U,B);if(Ae)return void(Ae.context.$implicit=Me);const Le=de();return B.createEmbeddedView(Le.templateRef,Le.context,Le.index)}_detachAndCacheView(de,U){const B=U.detach(de);this._maybeCacheView(B,U)}_moveView(de,U,B,Me){const Ae=B.get(de);return B.move(Ae,U),Ae.context.$implicit=Me,Ae}_maybeCacheView(de,U){if(this._viewCache.length0?Ae/this._itemSize:0;if(U.end>Me){const Ot=Math.ceil(B/this._itemSize),Lt=Math.max(0,Math.min(Le,Me-Ot));Le!=Lt&&(Le=Lt,Ae=Lt*this._itemSize,U.start=Math.floor(Le)),U.end=Math.max(0,Math.min(Me,U.start+Ot))}const ht=Ae-U.start*this._itemSize;if(ht0&&(U.end=Math.min(Me,U.end+Lt),U.start=Math.max(0,Math.floor(Le-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(U),this._viewport.setRenderedContentOffset(this._itemSize*U.start),this._scrolledIndexChange.next(Math.floor(Le))}}function ce(we){return we._scrollStrategy}let X=(()=>{class we{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new ae(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(U){this._itemSize=(0,e.su)(U)}get minBufferPx(){return this._minBufferPx}set minBufferPx(U){this._minBufferPx=(0,e.su)(U)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(U){this._maxBufferPx=(0,e.su)(U)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static#e=this.\u0275fac=function(B){return new(B||we)};static#t=this.\u0275dir=n.lG2({type:we,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[n._Bn([{provide:De,useFactory:ce,deps:[(0,n.Gpc)(()=>we)]}]),n.TTD]})}return we})(),le=(()=>{class we{constructor(U,B,Me){this._ngZone=U,this._platform=B,this._scrolled=new t.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Me}register(U){this.scrollContainers.has(U)||this.scrollContainers.set(U,U.elementScrolled().subscribe(()=>this._scrolled.next(U)))}deregister(U){const B=this.scrollContainers.get(U);B&&(B.unsubscribe(),this.scrollContainers.delete(U))}scrolled(U=20){return this._platform.isBrowser?new l.y(B=>{this._globalSubscription||this._addGlobalListener();const Me=U>0?this._scrolled.pipe((0,v.e)(U)).subscribe(B):this._scrolled.subscribe(B);return this._scrolledCount++,()=>{Me.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,i.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((U,B)=>this.deregister(B)),this._scrolled.complete()}ancestorScrolled(U,B){const Me=this.getAncestorScrollContainers(U);return this.scrolled(B).pipe((0,_.h)(Ae=>!Ae||Me.indexOf(Ae)>-1))}getAncestorScrollContainers(U){const B=[];return this.scrollContainers.forEach((Me,Ae)=>{this._scrollableContainsElement(Ae,U)&&B.push(Ae)}),B}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(U,B){let Me=(0,e.fI)(B),Ae=U.getElementRef().nativeElement;do{if(Me==Ae)return!0}while(Me=Me.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const U=this._getWindow();return(0,h.R)(U.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(B){return new(B||we)(n.LFG(n.R0b),n.LFG(S.t4),n.LFG(A.K0,8))};static#t=this.\u0275prov=n.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Se=(()=>{class we{constructor(U,B,Me,Ae){this.elementRef=U,this.scrollDispatcher=B,this.ngZone=Me,this.dir=Ae,this._destroyed=new t.x,this._elementScrolled=new l.y(Le=>this.ngZone.runOutsideAngular(()=>(0,h.R)(this.elementRef.nativeElement,"scroll").pipe((0,d.R)(this._destroyed)).subscribe(Le)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(U){const B=this.elementRef.nativeElement,Me=this.dir&&"rtl"==this.dir.value;null==U.left&&(U.left=Me?U.end:U.start),null==U.right&&(U.right=Me?U.start:U.end),null!=U.bottom&&(U.top=B.scrollHeight-B.clientHeight-U.bottom),Me&&0!=(0,S._i)()?(null!=U.left&&(U.right=B.scrollWidth-B.clientWidth-U.left),2==(0,S._i)()?U.left=U.right:1==(0,S._i)()&&(U.left=U.right?-U.right:U.right)):null!=U.right&&(U.left=B.scrollWidth-B.clientWidth-U.right),this._applyScrollToOptions(U)}_applyScrollToOptions(U){const B=this.elementRef.nativeElement;(0,S.Mq)()?B.scrollTo(U):(null!=U.top&&(B.scrollTop=U.top),null!=U.left&&(B.scrollLeft=U.left))}measureScrollOffset(U){const B="left",Ae=this.elementRef.nativeElement;if("top"==U)return Ae.scrollTop;if("bottom"==U)return Ae.scrollHeight-Ae.clientHeight-Ae.scrollTop;const Le=this.dir&&"rtl"==this.dir.value;return"start"==U?U=Le?"right":B:"end"==U&&(U=Le?B:"right"),Le&&2==(0,S._i)()?U==B?Ae.scrollWidth-Ae.clientWidth-Ae.scrollLeft:Ae.scrollLeft:Le&&1==(0,S._i)()?U==B?Ae.scrollLeft+Ae.scrollWidth-Ae.clientWidth:-Ae.scrollLeft:U==B?Ae.scrollLeft:Ae.scrollWidth-Ae.clientWidth-Ae.scrollLeft}static#e=this.\u0275fac=function(B){return new(B||we)(n.Y36(n.SBq),n.Y36(le),n.Y36(n.R0b),n.Y36(k.Is,8))};static#t=this.\u0275dir=n.lG2({type:we,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return we})(),ke=(()=>{class we{constructor(U,B,Me){this._platform=U,this._change=new t.x,this._changeListener=Ae=>{this._change.next(Ae)},this._document=Me,B.runOutsideAngular(()=>{if(U.isBrowser){const Ae=this._getWindow();Ae.addEventListener("resize",this._changeListener),Ae.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const U=this._getWindow();U.removeEventListener("resize",this._changeListener),U.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const U={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),U}getViewportRect(){const U=this.getViewportScrollPosition(),{width:B,height:Me}=this.getViewportSize();return{top:U.top,left:U.left,bottom:U.top+Me,right:U.left+B,height:Me,width:B}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const U=this._document,B=this._getWindow(),Me=U.documentElement,Ae=Me.getBoundingClientRect();return{top:-Ae.top||U.body.scrollTop||B.scrollY||Me.scrollTop||0,left:-Ae.left||U.body.scrollLeft||B.scrollX||Me.scrollLeft||0}}change(U=20){return U>0?this._change.pipe((0,v.e)(U)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const U=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:U.innerWidth,height:U.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(B){return new(B||we)(n.LFG(S.t4),n.LFG(n.R0b),n.LFG(A.K0,8))};static#t=this.\u0275prov=n.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();const oe=new n.OlP("VIRTUAL_SCROLLABLE");let _e=(()=>{class we extends Se{constructor(U,B,Me,Ae){super(U,B,Me,Ae)}measureViewportSize(U){const B=this.elementRef.nativeElement;return"horizontal"===U?B.clientWidth:B.clientHeight}static#e=this.\u0275fac=function(B){return new(B||we)(n.Y36(n.SBq),n.Y36(le),n.Y36(n.R0b),n.Y36(k.Is,8))};static#t=this.\u0275dir=n.lG2({type:we,features:[n.qOj]})}return we})();const He=typeof requestAnimationFrame<"u"?E.Z:u.E;let Re=(()=>{class we extends _e{get orientation(){return this._orientation}set orientation(U){this._orientation!==U&&(this._orientation=U,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(U){this._appendOnly=(0,e.Ig)(U)}constructor(U,B,Me,Ae,Le,ht,Ot,Lt){super(U,ht,Me,Le),this.elementRef=U,this._changeDetectorRef=B,this._scrollStrategy=Ae,this.scrollable=Lt,this._platform=(0,n.f3M)(S.t4),this._detachedSubject=new t.x,this._renderedRangeSubject=new t.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new l.y(Wt=>this._scrollStrategy.scrolledIndexChange.subscribe(qt=>Promise.resolve().then(()=>this.ngZone.run(()=>Wt.next(qt))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=z.w0.EMPTY,this._viewportChanges=Ot.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,m.O)(null),(0,v.e)(0,He),(0,d.R)(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(U){this.ngZone.runOutsideAngular(()=>{this._forOf=U,this._forOf.dataStream.pipe((0,d.R)(this._detachedSubject)).subscribe(B=>{const Me=B.length;Me!==this._dataLength&&(this._dataLength=Me,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(U){return this.getElementRef().nativeElement.getBoundingClientRect()[U]}setTotalContentSize(U){this._totalContentSize!==U&&(this._totalContentSize=U,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(U){(function Q(we,de){return we.start==de.start&&we.end==de.end})(this._renderedRange,U)||(this.appendOnly&&(U={start:0,end:Math.max(this._renderedRange.end,U.end)}),this._renderedRangeSubject.next(this._renderedRange=U),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(U,B="to-start"){U=this.appendOnly&&"to-start"===B?0:U;const Ae="horizontal"==this.orientation,Le=Ae?"X":"Y";let Ot=`translate${Le}(${Number((Ae&&this.dir&&"rtl"==this.dir.value?-1:1)*U)}px)`;this._renderedContentOffset=U,"to-end"===B&&(Ot+=` translate${Le}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=Ot&&(this._renderedContentTransform=Ot,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(U,B="auto"){const Me={behavior:B};"horizontal"===this.orientation?Me.start=U:Me.top=U,this.scrollable.scrollTo(Me)}scrollToIndex(U,B="auto"){this._scrollStrategy.scrollToIndex(U,B)}measureScrollOffset(U){let B;return B=this.scrollable==this?Me=>super.measureScrollOffset(Me):Me=>this.scrollable.measureScrollOffset(Me),Math.max(0,B(U??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(U){let B;const Le="rtl"==this.dir?.value;B="start"==U?Le?"right":"left":"end"==U?Le?"left":"right":U||("horizontal"===this.orientation?"left":"top");const ht=this.scrollable.measureBoundingClientRectWithScrollOffset(B);return this.elementRef.nativeElement.getBoundingClientRect()[B]-ht}measureRenderedContentSize(){const U=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?U.offsetWidth:U.offsetHeight}measureRangeSize(U){return this._forOf?this._forOf.measureRangeSize(U,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(U){U&&this._runAfterChangeDetection.push(U),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const U=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const B of U)B()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}static#e=this.\u0275fac=function(B){return new(B||we)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(De,8),n.Y36(k.Is,8),n.Y36(le),n.Y36(ke),n.Y36(oe,8))};static#t=this.\u0275cmp=n.Xpm({type:we,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(B,Me){if(1&B&&n.Gf(pe,7),2&B){let Ae;n.iGM(Ae=n.CRH())&&(Me._contentWrapper=Ae.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(B,Me){2&B&&n.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Me.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Me.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[n._Bn([{provide:Se,useFactory:(U,B)=>U||B,deps:[[new n.FiY,new n.tBr(oe)],we]}]),n.qOj,n.jDz],ngContentSelectors:re,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(B,Me){1&B&&(n.F$t(),n.TgZ(0,"div",0,1),n.Hsn(2),n.qZA(),n._UZ(3,"div",2)),2&B&&(n.xp6(3),n.Udp("width",Me._totalContentWidth)("height",Me._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0})}return we})();function lt(we,de,U){if(!U.getBoundingClientRect)return 0;const Me=U.getBoundingClientRect();return"horizontal"===we?"start"===de?Me.left:Me.right:"start"===de?Me.top:Me.bottom}let Pe=(()=>{class we{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(U){this._cdkVirtualForOf=U,function j(we){return we&&"function"==typeof we.connect&&!(we instanceof R.c)}(U)?this._dataSourceChanges.next(U):this._dataSourceChanges.next(new ze((0,M.b)(U)?U:Array.from(U||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(U){this._needsUpdate=!0,this._cdkVirtualForTrackBy=U?(B,Me)=>U(B+(this._renderedRange?this._renderedRange.start:0),Me):void 0}set cdkVirtualForTemplate(U){U&&(this._needsUpdate=!0,this._template=U)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(U){this._viewRepeater.viewCacheSize=(0,e.su)(U)}constructor(U,B,Me,Ae,Le,ht){this._viewContainerRef=U,this._template=B,this._differs=Me,this._viewRepeater=Ae,this._viewport=Le,this.viewChange=new t.x,this._dataSourceChanges=new t.x,this.dataStream=this._dataSourceChanges.pipe((0,m.O)(null),function T(){return(0,f.e)((we,de)=>{let U,B=!1;we.subscribe((0,C.x)(de,Me=>{const Ae=U;U=Me,B&&de.next([Ae,Me]),B=!0}))})}(),(0,b.w)(([Ot,Lt])=>this._changeDataSource(Ot,Lt)),function P(we,de,U){let B,Me=!1;return we&&"object"==typeof we?({bufferSize:B=1/0,windowTime:de=1/0,refCount:Me=!1,scheduler:U}=we):B=we??1/0,(0,y.B)({connector:()=>new D.t(B,de,U),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Me})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new t.x,this.dataStream.subscribe(Ot=>{this._data=Ot,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,d.R)(this._destroyed)).subscribe(Ot=>{this._renderedRange=Ot,this.viewChange.observers.length&&ht.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(U,B){if(U.start>=U.end)return 0;const Me=U.start-this._renderedRange.start,Ae=U.end-U.start;let Le,ht;for(let Ot=0;Ot-1;Ot--){const Lt=this._viewContainerRef.get(Ot+Me);if(Lt&&Lt.rootNodes.length){ht=Lt.rootNodes[Lt.rootNodes.length-1];break}}return Le&&ht?lt(B,"end",ht)-lt(B,"start",Le):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const U=this._differ.diff(this._renderedItems);U?this._applyChanges(U):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((U,B)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(U,B):B)),this._needsUpdate=!0)}_changeDataSource(U,B){return U&&U.disconnect(this),this._needsUpdate=!0,B?B.connect(this):(0,i.of)()}_updateContext(){const U=this._data.length;let B=this._viewContainerRef.length;for(;B--;){const Me=this._viewContainerRef.get(B);Me.context.index=this._renderedRange.start+B,Me.context.count=U,this._updateComputedContextProperties(Me.context),Me.detectChanges()}}_applyChanges(U){this._viewRepeater.applyChanges(U,this._viewContainerRef,(Ae,Le,ht)=>this._getEmbeddedViewArgs(Ae,ht),Ae=>Ae.item),U.forEachIdentityChange(Ae=>{this._viewContainerRef.get(Ae.currentIndex).context.$implicit=Ae.item});const B=this._data.length;let Me=this._viewContainerRef.length;for(;Me--;){const Ae=this._viewContainerRef.get(Me);Ae.context.index=this._renderedRange.start+Me,Ae.context.count=B,this._updateComputedContextProperties(Ae.context)}}_updateComputedContextProperties(U){U.first=0===U.index,U.last=U.index===U.count-1,U.even=U.index%2==0,U.odd=!U.even}_getEmbeddedViewArgs(U,B){return{templateRef:this._template,context:{$implicit:U.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:B}}static#e=this.\u0275fac=function(B){return new(B||we)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4),n.Y36(te),n.Y36(Re,4),n.Y36(n.R0b))};static#t=this.\u0275dir=n.lG2({type:we,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[n._Bn([{provide:te,useClass:G}])]})}return we})(),ot=(()=>{class we{static#e=this.\u0275fac=function(B){return new(B||we)};static#t=this.\u0275mod=n.oAB({type:we});static#n=this.\u0275inj=n.cJS({})}return we})(),mt=(()=>{class we{static#e=this.\u0275fac=function(B){return new(B||we)};static#t=this.\u0275mod=n.oAB({type:we});static#n=this.\u0275inj=n.cJS({imports:[k.vT,ot,k.vT,ot]})}return we})()},96814:(tt,I,o)=>{"use strict";o.d(I,{Do:()=>f,ED:()=>oo,EM:()=>Hi,H9:()=>Rt,HT:()=>i,JF:()=>po,JJ:()=>at,K0:()=>h,Mx:()=>En,NF:()=>Do,O5:()=>ri,OU:()=>mn,Ov:()=>bi,PC:()=>$i,PM:()=>Yo,RF:()=>fi,S$:()=>_,Tn:()=>R,Ts:()=>Fn,V_:()=>u,Ye:()=>C,b0:()=>m,bD:()=>Ai,ez:()=>kn,gd:()=>Vn,mk:()=>Ln,n9:()=>to,ol:()=>G,p6:()=>Me,q:()=>t,qS:()=>Mn,sg:()=>di,tP:()=>no,uf:()=>$,w_:()=>l,x:()=>k});var e=o(65879);let n=null;function t(){return n}function i(me){n||(n=me)}class l{}const h=new e.OlP("DocumentToken");let E=(()=>{class me{historyGo(Ue){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:function(){return(0,e.f3M)(z)},providedIn:"platform"})}return me})();const u=new e.OlP("Location Initialized");let z=(()=>{class me extends E{constructor(){super(),this._doc=(0,e.f3M)(h),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return t().getBaseHref(this._doc)}onPopState(Ue){const ct=t().getGlobalEventTarget(this._doc,"window");return ct.addEventListener("popstate",Ue,!1),()=>ct.removeEventListener("popstate",Ue)}onHashChange(Ue){const ct=t().getGlobalEventTarget(this._doc,"window");return ct.addEventListener("hashchange",Ue,!1),()=>ct.removeEventListener("hashchange",Ue)}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(Ue){this._location.pathname=Ue}pushState(Ue,ct,Ht){this._history.pushState(Ue,ct,Ht)}replaceState(Ue,ct,Ht){this._history.replaceState(Ue,ct,Ht)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ue=0){this._history.go(Ue)}getState(){return this._history.state}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:function(){return new me},providedIn:"platform"})}return me})();function M(me,vt){if(0==me.length)return vt;if(0==vt.length)return me;let Ue=0;return me.endsWith("/")&&Ue++,vt.startsWith("/")&&Ue++,2==Ue?me+vt.substring(1):1==Ue?me+vt:me+"/"+vt}function p(me){const vt=me.match(/#|\?|$/),Ue=vt&&vt.index||me.length;return me.slice(0,Ue-("/"===me[Ue-1]?1:0))+me.slice(Ue)}function v(me){return me&&"?"!==me[0]?"?"+me:me}let _=(()=>{class me{historyGo(Ue){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:function(){return(0,e.f3M)(m)},providedIn:"root"})}return me})();const d=new e.OlP("appBaseHref");let m=(()=>{class me extends _{constructor(Ue,ct){super(),this._platformLocation=Ue,this._removeListenerFns=[],this._baseHref=ct??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(h).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ue){this._removeListenerFns.push(this._platformLocation.onPopState(Ue),this._platformLocation.onHashChange(Ue))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ue){return M(this._baseHref,Ue)}path(Ue=!1){const ct=this._platformLocation.pathname+v(this._platformLocation.search),Ht=this._platformLocation.hash;return Ht&&Ue?`${ct}${Ht}`:ct}pushState(Ue,ct,Ht,sn){const an=this.prepareExternalUrl(Ht+v(sn));this._platformLocation.pushState(Ue,ct,an)}replaceState(Ue,ct,Ht,sn){const an=this.prepareExternalUrl(Ht+v(sn));this._platformLocation.replaceState(Ue,ct,an)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ue=0){this._platformLocation.historyGo?.(Ue)}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.LFG(E),e.LFG(d,8))};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),f=(()=>{class me extends _{constructor(Ue,ct){super(),this._platformLocation=Ue,this._baseHref="",this._removeListenerFns=[],null!=ct&&(this._baseHref=ct)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ue){this._removeListenerFns.push(this._platformLocation.onPopState(Ue),this._platformLocation.onHashChange(Ue))}getBaseHref(){return this._baseHref}path(Ue=!1){let ct=this._platformLocation.hash;return null==ct&&(ct="#"),ct.length>0?ct.substring(1):ct}prepareExternalUrl(Ue){const ct=M(this._baseHref,Ue);return ct.length>0?"#"+ct:ct}pushState(Ue,ct,Ht,sn){let an=this.prepareExternalUrl(Ht+v(sn));0==an.length&&(an=this._platformLocation.pathname),this._platformLocation.pushState(Ue,ct,an)}replaceState(Ue,ct,Ht,sn){let an=this.prepareExternalUrl(Ht+v(sn));0==an.length&&(an=this._platformLocation.pathname),this._platformLocation.replaceState(Ue,ct,an)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ue=0){this._platformLocation.historyGo?.(Ue)}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.LFG(E),e.LFG(d,8))};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac})}return me})(),C=(()=>{class me{constructor(Ue){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Ue;const ct=this._locationStrategy.getBaseHref();this._basePath=function y(me){if(new RegExp("^(https?:)?//").test(me)){const[,Ue]=me.split(/\/\/[^\/]+/);return Ue}return me}(p(D(ct))),this._locationStrategy.onPopState(Ht=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ht.state,type:Ht.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ue=!1){return this.normalize(this._locationStrategy.path(Ue))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ue,ct=""){return this.path()==this.normalize(Ue+v(ct))}normalize(Ue){return me.stripTrailingSlash(function b(me,vt){if(!me||!vt.startsWith(me))return vt;const Ue=vt.substring(me.length);return""===Ue||["/",";","?","#"].includes(Ue[0])?Ue:vt}(this._basePath,D(Ue)))}prepareExternalUrl(Ue){return Ue&&"/"!==Ue[0]&&(Ue="/"+Ue),this._locationStrategy.prepareExternalUrl(Ue)}go(Ue,ct="",Ht=null){this._locationStrategy.pushState(Ht,"",Ue,ct),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ue+v(ct)),Ht)}replaceState(Ue,ct="",Ht=null){this._locationStrategy.replaceState(Ht,"",Ue,ct),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ue+v(ct)),Ht)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ue=0){this._locationStrategy.historyGo?.(Ue)}onUrlChange(Ue){return this._urlChangeListeners.push(Ue),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ct=>{this._notifyUrlChangeListeners(ct.url,ct.state)})),()=>{const ct=this._urlChangeListeners.indexOf(Ue);this._urlChangeListeners.splice(ct,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ue="",ct){this._urlChangeListeners.forEach(Ht=>Ht(Ue,ct))}subscribe(Ue,ct,Ht){return this._subject.subscribe({next:Ue,error:ct,complete:Ht})}static#e=this.normalizeQueryParams=v;static#t=this.joinWithSlash=M;static#n=this.stripTrailingSlash=p;static#i=this.\u0275fac=function(ct){return new(ct||me)(e.LFG(_))};static#o=this.\u0275prov=e.Yz7({token:me,factory:function(){return function T(){return new C((0,e.LFG)(_))}()},providedIn:"root"})}return me})();function D(me){return me.replace(/\/index.html$/,"")}const P={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var S=function(me){return me[me.Decimal=0]="Decimal",me[me.Percent=1]="Percent",me[me.Currency=2]="Currency",me[me.Scientific=3]="Scientific",me}(S||{}),k=function(me){return me[me.Format=0]="Format",me[me.Standalone=1]="Standalone",me}(k||{}),R=function(me){return me[me.Narrow=0]="Narrow",me[me.Abbreviated=1]="Abbreviated",me[me.Wide=2]="Wide",me[me.Short=3]="Short",me}(R||{}),W=function(me){return me[me.Short=0]="Short",me[me.Medium=1]="Medium",me[me.Long=2]="Long",me[me.Full=3]="Full",me}(W||{}),j=function(me){return me[me.Decimal=0]="Decimal",me[me.Group=1]="Group",me[me.List=2]="List",me[me.PercentSign=3]="PercentSign",me[me.PlusSign=4]="PlusSign",me[me.MinusSign=5]="MinusSign",me[me.Exponential=6]="Exponential",me[me.SuperscriptingExponent=7]="SuperscriptingExponent",me[me.PerMille=8]="PerMille",me[me.Infinity=9]="Infinity",me[me.NaN=10]="NaN",me[me.TimeSeparator=11]="TimeSeparator",me[me.CurrencyDecimal=12]="CurrencyDecimal",me[me.CurrencyGroup=13]="CurrencyGroup",me}(j||{});function G(me,vt,Ue){const ct=(0,e.cg1)(me),sn=Re([ct[e.wAp.DayPeriodsFormat],ct[e.wAp.DayPeriodsStandalone]],vt);return Re(sn,Ue)}function re(me,vt){return Re((0,e.cg1)(me)[e.wAp.DateFormat],vt)}function De(me,vt){return Re((0,e.cg1)(me)[e.wAp.TimeFormat],vt)}function ae(me,vt){return Re((0,e.cg1)(me)[e.wAp.DateTimeFormat],vt)}function ce(me,vt){const Ue=(0,e.cg1)(me),ct=Ue[e.wAp.NumberSymbols][vt];if(typeof ct>"u"){if(vt===j.CurrencyDecimal)return Ue[e.wAp.NumberSymbols][j.Decimal];if(vt===j.CurrencyGroup)return Ue[e.wAp.NumberSymbols][j.Group]}return ct}function X(me,vt){return(0,e.cg1)(me)[e.wAp.NumberFormats][vt]}function oe(me){if(!me[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${me[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Re(me,vt){for(let Ue=vt;Ue>-1;Ue--)if(typeof me[Ue]<"u")return me[Ue];throw new Error("Locale data API: locale data undefined")}function lt(me){const[vt,Ue]=me.split(":");return{hours:+vt,minutes:+Ue}}const ot=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,mt={},we=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var de=function(me){return me[me.Short=0]="Short",me[me.ShortGMT=1]="ShortGMT",me[me.Long=2]="Long",me[me.Extended=3]="Extended",me}(de||{}),U=function(me){return me[me.FullYear=0]="FullYear",me[me.Month=1]="Month",me[me.Date=2]="Date",me[me.Hours=3]="Hours",me[me.Minutes=4]="Minutes",me[me.Seconds=5]="Seconds",me[me.FractionalSeconds=6]="FractionalSeconds",me[me.Day=7]="Day",me}(U||{}),B=function(me){return me[me.DayPeriods=0]="DayPeriods",me[me.Days=1]="Days",me[me.Months=2]="Months",me[me.Eras=3]="Eras",me}(B||{});function Me(me,vt,Ue,ct){let Ht=function ge(me){if(Ye(me))return me;if("number"==typeof me&&!isNaN(me))return new Date(me);if("string"==typeof me){if(me=me.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(me)){const[Ht,sn=1,an=1]=me.split("-").map(An=>+An);return Ae(Ht,sn-1,an)}const Ue=parseFloat(me);if(!isNaN(me-Ue))return new Date(Ue);let ct;if(ct=me.match(ot))return function je(me){const vt=new Date(0);let Ue=0,ct=0;const Ht=me[8]?vt.setUTCFullYear:vt.setFullYear,sn=me[8]?vt.setUTCHours:vt.setHours;me[9]&&(Ue=Number(me[9]+me[10]),ct=Number(me[9]+me[11])),Ht.call(vt,Number(me[1]),Number(me[2])-1,Number(me[3]));const an=Number(me[4]||0)-Ue,An=Number(me[5]||0)-ct,Ii=Number(me[6]||0),Oi=Math.floor(1e3*parseFloat("0."+(me[7]||0)));return sn.call(vt,an,An,Ii,Oi),vt}(ct)}const vt=new Date(me);if(!Ye(vt))throw new Error(`Unable to convert "${me}" into a date`);return vt}(me);vt=Le(Ue,vt)||vt;let An,an=[];for(;vt;){if(An=we.exec(vt),!An){an.push(vt);break}{an=an.concat(An.slice(1));const ui=an.pop();if(!ui)break;vt=ui}}let Ii=Ht.getTimezoneOffset();ct&&(Ii=Fe(ct,Ii),Ht=function Xe(me,vt,Ue){const ct=Ue?-1:1,Ht=me.getTimezoneOffset();return function fe(me,vt){return(me=new Date(me.getTime())).setMinutes(me.getMinutes()+vt),me}(me,ct*(Fe(vt,Ht)-Ht))}(Ht,ct,!0));let Oi="";return an.forEach(ui=>{const Gn=function qe(me){if(St[me])return St[me];let vt;switch(me){case"G":case"GG":case"GGG":vt=en(B.Eras,R.Abbreviated);break;case"GGGG":vt=en(B.Eras,R.Wide);break;case"GGGGG":vt=en(B.Eras,R.Narrow);break;case"y":vt=Wt(U.FullYear,1,0,!1,!0);break;case"yy":vt=Wt(U.FullYear,2,0,!0,!0);break;case"yyy":vt=Wt(U.FullYear,3,0,!1,!0);break;case"yyyy":vt=Wt(U.FullYear,4,0,!1,!0);break;case"Y":vt=kt(1);break;case"YY":vt=kt(2,!0);break;case"YYY":vt=kt(3);break;case"YYYY":vt=kt(4);break;case"M":case"L":vt=Wt(U.Month,1,1);break;case"MM":case"LL":vt=Wt(U.Month,2,1);break;case"MMM":vt=en(B.Months,R.Abbreviated);break;case"MMMM":vt=en(B.Months,R.Wide);break;case"MMMMM":vt=en(B.Months,R.Narrow);break;case"LLL":vt=en(B.Months,R.Abbreviated,k.Standalone);break;case"LLLL":vt=en(B.Months,R.Wide,k.Standalone);break;case"LLLLL":vt=en(B.Months,R.Narrow,k.Standalone);break;case"w":vt=Nt(1);break;case"ww":vt=Nt(2);break;case"W":vt=Nt(1,!0);break;case"d":vt=Wt(U.Date,1);break;case"dd":vt=Wt(U.Date,2);break;case"c":case"cc":vt=Wt(U.Day,1);break;case"ccc":vt=en(B.Days,R.Abbreviated,k.Standalone);break;case"cccc":vt=en(B.Days,R.Wide,k.Standalone);break;case"ccccc":vt=en(B.Days,R.Narrow,k.Standalone);break;case"cccccc":vt=en(B.Days,R.Short,k.Standalone);break;case"E":case"EE":case"EEE":vt=en(B.Days,R.Abbreviated);break;case"EEEE":vt=en(B.Days,R.Wide);break;case"EEEEE":vt=en(B.Days,R.Narrow);break;case"EEEEEE":vt=en(B.Days,R.Short);break;case"a":case"aa":case"aaa":vt=en(B.DayPeriods,R.Abbreviated);break;case"aaaa":vt=en(B.DayPeriods,R.Wide);break;case"aaaaa":vt=en(B.DayPeriods,R.Narrow);break;case"b":case"bb":case"bbb":vt=en(B.DayPeriods,R.Abbreviated,k.Standalone,!0);break;case"bbbb":vt=en(B.DayPeriods,R.Wide,k.Standalone,!0);break;case"bbbbb":vt=en(B.DayPeriods,R.Narrow,k.Standalone,!0);break;case"B":case"BB":case"BBB":vt=en(B.DayPeriods,R.Abbreviated,k.Format,!0);break;case"BBBB":vt=en(B.DayPeriods,R.Wide,k.Format,!0);break;case"BBBBB":vt=en(B.DayPeriods,R.Narrow,k.Format,!0);break;case"h":vt=Wt(U.Hours,1,-12);break;case"hh":vt=Wt(U.Hours,2,-12);break;case"H":vt=Wt(U.Hours,1);break;case"HH":vt=Wt(U.Hours,2);break;case"m":vt=Wt(U.Minutes,1);break;case"mm":vt=Wt(U.Minutes,2);break;case"s":vt=Wt(U.Seconds,1);break;case"ss":vt=Wt(U.Seconds,2);break;case"S":vt=Wt(U.FractionalSeconds,1);break;case"SS":vt=Wt(U.FractionalSeconds,2);break;case"SSS":vt=Wt(U.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":vt=cn(de.Short);break;case"ZZZZZ":vt=cn(de.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":vt=cn(de.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":vt=cn(de.Long);break;default:return null}return St[me]=vt,vt}(ui);Oi+=Gn?Gn(Ht,Ue,Ii):"''"===ui?"'":ui.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Oi}function Ae(me,vt,Ue){const ct=new Date(0);return ct.setFullYear(me,vt,Ue),ct.setHours(0,0,0),ct}function Le(me,vt){const Ue=function Y(me){return(0,e.cg1)(me)[e.wAp.LocaleId]}(me);if(mt[Ue]=mt[Ue]||{},mt[Ue][vt])return mt[Ue][vt];let ct="";switch(vt){case"shortDate":ct=re(me,W.Short);break;case"mediumDate":ct=re(me,W.Medium);break;case"longDate":ct=re(me,W.Long);break;case"fullDate":ct=re(me,W.Full);break;case"shortTime":ct=De(me,W.Short);break;case"mediumTime":ct=De(me,W.Medium);break;case"longTime":ct=De(me,W.Long);break;case"fullTime":ct=De(me,W.Full);break;case"short":const Ht=Le(me,"shortTime"),sn=Le(me,"shortDate");ct=ht(ae(me,W.Short),[Ht,sn]);break;case"medium":const an=Le(me,"mediumTime"),An=Le(me,"mediumDate");ct=ht(ae(me,W.Medium),[an,An]);break;case"long":const Ii=Le(me,"longTime"),Oi=Le(me,"longDate");ct=ht(ae(me,W.Long),[Ii,Oi]);break;case"full":const ui=Le(me,"fullTime"),Gn=Le(me,"fullDate");ct=ht(ae(me,W.Full),[ui,Gn])}return ct&&(mt[Ue][vt]=ct),ct}function ht(me,vt){return vt&&(me=me.replace(/\{([^}]+)}/g,function(Ue,ct){return null!=vt&&ct in vt?vt[ct]:Ue})),me}function Ot(me,vt,Ue="-",ct,Ht){let sn="";(me<0||Ht&&me<=0)&&(Ht?me=1-me:(me=-me,sn=Ue));let an=String(me);for(;an.length0||An>-Ue)&&(An+=Ue),me===U.Hours)0===An&&-12===Ue&&(An=12);else if(me===U.FractionalSeconds)return function Lt(me,vt){return Ot(me,3).substring(0,vt)}(An,vt);const Ii=ce(an,j.MinusSign);return Ot(An,vt,Ii,ct,Ht)}}function en(me,vt,Ue=k.Format,ct=!1){return function(Ht,sn){return function Vt(me,vt,Ue,ct,Ht,sn){switch(Ue){case B.Months:return function K(me,vt,Ue){const ct=(0,e.cg1)(me),sn=Re([ct[e.wAp.MonthsFormat],ct[e.wAp.MonthsStandalone]],vt);return Re(sn,Ue)}(vt,Ht,ct)[me.getMonth()];case B.Days:return function V(me,vt,Ue){const ct=(0,e.cg1)(me),sn=Re([ct[e.wAp.DaysFormat],ct[e.wAp.DaysStandalone]],vt);return Re(sn,Ue)}(vt,Ht,ct)[me.getDay()];case B.DayPeriods:const an=me.getHours(),An=me.getMinutes();if(sn){const Oi=function _e(me){const vt=(0,e.cg1)(me);return oe(vt),(vt[e.wAp.ExtraData][2]||[]).map(ct=>"string"==typeof ct?lt(ct):[lt(ct[0]),lt(ct[1])])}(vt),ui=function Q(me,vt,Ue){const ct=(0,e.cg1)(me);oe(ct);const sn=Re([ct[e.wAp.ExtraData][0],ct[e.wAp.ExtraData][1]],vt)||[];return Re(sn,Ue)||[]}(vt,Ht,ct),Gn=Oi.findIndex(eo=>{if(Array.isArray(eo)){const[Bn,Ki]=eo,Ho=an>=Bn.hours&&An>=Bn.minutes,ts=an0?Math.floor(Ht/60):Math.ceil(Ht/60);switch(me){case de.Short:return(Ht>=0?"+":"")+Ot(an,2,sn)+Ot(Math.abs(Ht%60),2,sn);case de.ShortGMT:return"GMT"+(Ht>=0?"+":"")+Ot(an,1,sn);case de.Long:return"GMT"+(Ht>=0?"+":"")+Ot(an,2,sn)+":"+Ot(Math.abs(Ht%60),2,sn);case de.Extended:return 0===ct?"Z":(Ht>=0?"+":"")+Ot(an,2,sn)+":"+Ot(Math.abs(Ht%60),2,sn);default:throw new Error(`Unknown zone width "${me}"`)}}}const ft=0,gt=4;function Ct(me){return Ae(me.getFullYear(),me.getMonth(),me.getDate()+(gt-me.getDay()))}function Nt(me,vt=!1){return function(Ue,ct){let Ht;if(vt){const sn=new Date(Ue.getFullYear(),Ue.getMonth(),1).getDay()-1,an=Ue.getDate();Ht=1+Math.floor((an+sn)/7)}else{const sn=Ct(Ue),an=function Ie(me){const vt=Ae(me,ft,1).getDay();return Ae(me,0,1+(vt<=gt?gt:gt+7)-vt)}(sn.getFullYear()),An=sn.getTime()-an.getTime();Ht=1+Math.round(An/6048e5)}return Ot(Ht,me,ce(ct,j.MinusSign))}}function kt(me,vt=!1){return function(Ue,ct){return Ot(Ct(Ue).getFullYear(),me,ce(ct,j.MinusSign),vt)}}const St={};function Fe(me,vt){me=me.replace(/:/g,"");const Ue=Date.parse("Jan 01, 1970 00:00:00 "+me)/6e4;return isNaN(Ue)?vt:Ue}function Ye(me){return me instanceof Date&&!isNaN(me.valueOf())}const We=/^(\d+)?\.((\d+)(-(\d+))?)?$/,wt=22,Ee=".",be="0",Qe=";",Ke=",",Ze="#";function x(me,vt,Ue,ct,Ht,sn,an=!1){let An="",Ii=!1;if(isFinite(me)){let Oi=function Ce(me){let ct,Ht,sn,an,An,vt=Math.abs(me)+"",Ue=0;for((Ht=vt.indexOf(Ee))>-1&&(vt=vt.replace(Ee,"")),(sn=vt.search(/e/i))>0?(Ht<0&&(Ht=sn),Ht+=+vt.slice(sn+1),vt=vt.substring(0,sn)):Ht<0&&(Ht=vt.length),sn=0;vt.charAt(sn)===be;sn++);if(sn===(An=vt.length))ct=[0],Ht=1;else{for(An--;vt.charAt(An)===be;)An--;for(Ht-=sn,ct=[],an=0;sn<=An;sn++,an++)ct[an]=Number(vt.charAt(sn))}return Ht>wt&&(ct=ct.splice(0,wt-1),Ue=Ht-1,Ht=1),{digits:ct,exponent:Ue,integerLen:Ht}}(me);an&&(Oi=function he(me){if(0===me.digits[0])return me;const vt=me.digits.length-me.integerLen;return me.exponent?me.exponent+=2:(0===vt?me.digits.push(0,0):1===vt&&me.digits.push(0),me.integerLen+=2),me}(Oi));let ui=vt.minInt,Gn=vt.minFrac,eo=vt.maxFrac;if(sn){const jo=sn.match(We);if(null===jo)throw new Error(`${sn} is not a valid digit info`);const _o=jo[1],pi=jo[3],ws=jo[5];null!=_o&&(ui=Yt(_o)),null!=pi&&(Gn=Yt(pi)),null!=ws?eo=Yt(ws):null!=pi&&Gn>eo&&(eo=Gn)}!function Dt(me,vt,Ue){if(vt>Ue)throw new Error(`The minimum number of digits after fraction (${vt}) is higher than the maximum (${Ue}).`);let ct=me.digits,Ht=ct.length-me.integerLen;const sn=Math.min(Math.max(vt,Ht),Ue);let an=sn+me.integerLen,An=ct[an];if(an>0){ct.splice(Math.max(me.integerLen,an));for(let Gn=an;Gn=5)if(an-1<0){for(let Gn=0;Gn>an;Gn--)ct.unshift(0),me.integerLen++;ct.unshift(1),me.integerLen++}else ct[an-1]++;for(;Ht=Oi?Ki.pop():Ii=!1),eo>=10?1:0},0);ui&&(ct.unshift(ui),me.integerLen++)}(Oi,Gn,eo);let Bn=Oi.digits,Ki=Oi.integerLen;const Ho=Oi.exponent;let ts=[];for(Ii=Bn.every(jo=>!jo);Ki0?ts=Bn.splice(Ki,Bn.length):(ts=Bn,Bn=[0]);const fs=[];for(Bn.length>=vt.lgSize&&fs.unshift(Bn.splice(-vt.lgSize,Bn.length).join(""));Bn.length>vt.gSize;)fs.unshift(Bn.splice(-vt.gSize,Bn.length).join(""));Bn.length&&fs.unshift(Bn.join("")),An=fs.join(ce(Ue,ct)),ts.length&&(An+=ce(Ue,Ht)+ts.join("")),Ho&&(An+=ce(Ue,j.Exponential)+"+"+Ho)}else An=ce(Ue,j.Infinity);return An=me<0&&!Ii?vt.negPre+An+vt.negSuf:vt.posPre+An+vt.posSuf,An}function $(me,vt,Ue){return x(me,L(X(vt,S.Decimal),ce(vt,j.MinusSign)),vt,j.Group,j.Decimal,Ue)}function L(me,vt="-"){const Ue={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ct=me.split(Qe),Ht=ct[0],sn=ct[1],an=-1!==Ht.indexOf(Ee)?Ht.split(Ee):[Ht.substring(0,Ht.lastIndexOf(be)+1),Ht.substring(Ht.lastIndexOf(be)+1)],An=an[0],Ii=an[1]||"";Ue.posPre=An.substring(0,An.indexOf(Ze));for(let ui=0;ui{class me{constructor(Ue,ct,Ht,sn){this._iterableDiffers=Ue,this._keyValueDiffers=ct,this._ngEl=Ht,this._renderer=sn,this.initialClasses=xn,this.stateMap=new Map}set klass(Ue){this.initialClasses=null!=Ue?Ue.trim().split(Dn):xn}set ngClass(Ue){this.rawClass="string"==typeof Ue?Ue.trim().split(Dn):Ue}ngDoCheck(){for(const ct of this.initialClasses)this._updateState(ct,!0);const Ue=this.rawClass;if(Array.isArray(Ue)||Ue instanceof Set)for(const ct of Ue)this._updateState(ct,!0);else if(null!=Ue)for(const ct of Object.keys(Ue))this._updateState(ct,!!Ue[ct]);this._applyStateDiff()}_updateState(Ue,ct){const Ht=this.stateMap.get(Ue);void 0!==Ht?(Ht.enabled!==ct&&(Ht.changed=!0,Ht.enabled=ct),Ht.touched=!0):this.stateMap.set(Ue,{enabled:ct,changed:!0,touched:!0})}_applyStateDiff(){for(const Ue of this.stateMap){const ct=Ue[0],Ht=Ue[1];Ht.changed?(this._toggleClass(ct,Ht.enabled),Ht.changed=!1):Ht.touched||(Ht.enabled&&this._toggleClass(ct,!1),this.stateMap.delete(ct)),Ht.touched=!1}}_toggleClass(Ue,ct){(Ue=Ue.trim()).length>0&&Ue.split(Dn).forEach(Ht=>{ct?this._renderer.addClass(this._ngEl.nativeElement,Ht):this._renderer.removeClass(this._ngEl.nativeElement,Ht)})}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return me})();class Hn{constructor(vt,Ue,ct,Ht){this.$implicit=vt,this.ngForOf=Ue,this.index=ct,this.count=Ht}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let di=(()=>{class me{set ngForOf(Ue){this._ngForOf=Ue,this._ngForOfDirty=!0}set ngForTrackBy(Ue){this._trackByFn=Ue}get ngForTrackBy(){return this._trackByFn}constructor(Ue,ct,Ht){this._viewContainer=Ue,this._template=ct,this._differs=Ht,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Ue){Ue&&(this._template=Ue)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ue=this._ngForOf;!this._differ&&Ue&&(this._differ=this._differs.find(Ue).create(this.ngForTrackBy))}if(this._differ){const Ue=this._differ.diff(this._ngForOf);Ue&&this._applyChanges(Ue)}}_applyChanges(Ue){const ct=this._viewContainer;Ue.forEachOperation((Ht,sn,an)=>{if(null==Ht.previousIndex)ct.createEmbeddedView(this._template,new Hn(Ht.item,this._ngForOf,-1,-1),null===an?void 0:an);else if(null==an)ct.remove(null===sn?void 0:sn);else if(null!==sn){const An=ct.get(sn);ct.move(An,an),oi(An,Ht)}});for(let Ht=0,sn=ct.length;Ht{oi(ct.get(Ht.currentIndex),Ht)})}static ngTemplateContextGuard(Ue,ct){return!0}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return me})();function oi(me,vt){me.context.$implicit=vt.item}let ri=(()=>{class me{constructor(Ue,ct){this._viewContainer=Ue,this._context=new hi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ct}set ngIf(Ue){this._context.$implicit=this._context.ngIf=Ue,this._updateView()}set ngIfThen(Ue){Ti("ngIfThen",Ue),this._thenTemplateRef=Ue,this._thenViewRef=null,this._updateView()}set ngIfElse(Ue){Ti("ngIfElse",Ue),this._elseTemplateRef=Ue,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Ue,ct){return!0}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b),e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return me})();class hi{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(me,vt){if(vt&&!vt.createEmbeddedView)throw new Error(`${me} must be a TemplateRef, but received '${(0,e.AaK)(vt)}'.`)}class li{constructor(vt,Ue){this._viewContainerRef=vt,this._templateRef=Ue,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(vt){vt&&!this._created?this.create():!vt&&this._created&&this.destroy()}}let fi=(()=>{class me{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Ue){this._ngSwitch=Ue,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ue){this._defaultViews.push(Ue)}_matchCase(Ue){const ct=Ue==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ct,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ct}_updateDefaultCases(Ue){if(this._defaultViews.length>0&&Ue!==this._defaultUsed){this._defaultUsed=Ue;for(const ct of this._defaultViews)ct.enforceState(Ue)}}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return me})(),to=(()=>{class me{constructor(Ue,ct,Ht){this.ngSwitch=Ht,Ht._addCase(),this._view=new li(Ue,ct)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(fi,9))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return me})(),oo=(()=>{class me{constructor(Ue,ct,Ht){Ht._addDefault(new li(Ue,ct))}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(fi,9))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return me})(),$i=(()=>{class me{constructor(Ue,ct,Ht){this._ngEl=Ue,this._differs=ct,this._renderer=Ht,this._ngStyle=null,this._differ=null}set ngStyle(Ue){this._ngStyle=Ue,!this._differ&&Ue&&(this._differ=this._differs.find(Ue).create())}ngDoCheck(){if(this._differ){const Ue=this._differ.diff(this._ngStyle);Ue&&this._applyChanges(Ue)}}_setStyle(Ue,ct){const[Ht,sn]=Ue.split("."),an=-1===Ht.indexOf("-")?void 0:e.JOm.DashCase;null!=ct?this._renderer.setStyle(this._ngEl.nativeElement,Ht,sn?`${ct}${sn}`:ct,an):this._renderer.removeStyle(this._ngEl.nativeElement,Ht,an)}_applyChanges(Ue){Ue.forEachRemovedItem(ct=>this._setStyle(ct.key,null)),Ue.forEachAddedItem(ct=>this._setStyle(ct.key,ct.currentValue)),Ue.forEachChangedItem(ct=>this._setStyle(ct.key,ct.currentValue))}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return me})(),no=(()=>{class me{constructor(Ue){this._viewContainerRef=Ue,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Ue){if(Ue.ngTemplateOutlet||Ue.ngTemplateOutletInjector){const ct=this._viewContainerRef;if(this._viewRef&&ct.remove(ct.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Ht,ngTemplateOutletContext:sn,ngTemplateOutletInjector:an}=this;this._viewRef=ct.createEmbeddedView(Ht,sn,an?{injector:an}:void 0)}else this._viewRef=null}else this._viewRef&&Ue.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]})}return me})();function wi(me,vt){return new e.vHH(2100,!1)}class Ji{createSubscription(vt,Ue){return(0,e.rg0)(()=>vt.subscribe({next:Ue,error:ct=>{throw ct}}))}dispose(vt){(0,e.rg0)(()=>vt.unsubscribe())}}class Di{createSubscription(vt,Ue){return vt.then(Ue,ct=>{throw ct})}dispose(vt){}}const Wi=new Di,Xi=new Ji;let bi=(()=>{class me{constructor(Ue){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Ue}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ue){return this._obj?Ue!==this._obj?(this._dispose(),this.transform(Ue)):this._latestValue:(Ue&&this._subscribe(Ue),this._latestValue)}_subscribe(Ue){this._obj=Ue,this._strategy=this._selectStrategy(Ue),this._subscription=this._strategy.createSubscription(Ue,ct=>this._updateLatestValue(Ue,ct))}_selectStrategy(Ue){if((0,e.QGY)(Ue))return Wi;if((0,e.F4k)(Ue))return Xi;throw wi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ue,ct){Ue===this._obj&&(this._latestValue=ct,this._ref.markForCheck())}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.sBO,16))};static#t=this.\u0275pipe=e.Yjl({name:"async",type:me,pure:!1,standalone:!0})}return me})(),Vn=(()=>{class me{transform(Ue){if(null==Ue)return null;if("string"!=typeof Ue)throw wi();return Ue.toUpperCase()}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275pipe=e.Yjl({name:"uppercase",type:me,pure:!0,standalone:!0})}return me})(),Fn=(()=>{class me{transform(Ue){return JSON.stringify(Ue,null,2)}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275pipe=e.Yjl({name:"json",type:me,pure:!1,standalone:!0})}return me})(),at=(()=>{class me{constructor(Ue){this._locale=Ue}transform(Ue,ct,Ht){if(!Kt(Ue))return null;Ht=Ht||this._locale;try{return $(ln(Ue),Ht,ct)}catch(sn){throw wi()}}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.soG,16))};static#t=this.\u0275pipe=e.Yjl({name:"number",type:me,pure:!0,standalone:!0})}return me})(),Rt=(()=>{class me{constructor(Ue,ct="USD"){this._locale=Ue,this._defaultCurrencyCode=ct}transform(Ue,ct=this._defaultCurrencyCode,Ht="symbol",sn,an){if(!Kt(Ue))return null;an=an||this._locale,"boolean"==typeof Ht&&(Ht=Ht?"symbol":"code");let An=ct||this._defaultCurrencyCode;"code"!==Ht&&(An="symbol"===Ht||"symbol-narrow"===Ht?function Pe(me,vt,Ue="en"){const ct=function Ne(me){return(0,e.cg1)(me)[e.wAp.Currencies]}(Ue)[me]||P[me]||[],Ht=ct[1];return"narrow"===vt&&"string"==typeof Ht?Ht:ct[0]||me}(An,"symbol"===Ht?"wide":"narrow",an):Ht);try{return function N(me,vt,Ue,ct,Ht){const an=L(X(vt,S.Currency),ce(vt,j.MinusSign));return an.minFrac=function $e(me){let vt;const Ue=P[me];return Ue&&(vt=Ue[2]),"number"==typeof vt?vt:2}(ct),an.maxFrac=an.minFrac,x(me,an,vt,j.CurrencyGroup,j.CurrencyDecimal,Ht).replace("\xa4",Ue).replace("\xa4","").trim()}(ln(Ue),an,An,ct,sn)}catch(Ii){throw wi()}}static#e=this.\u0275fac=function(ct){return new(ct||me)(e.Y36(e.soG,16),e.Y36(e.EJc,16))};static#t=this.\u0275pipe=e.Yjl({name:"currency",type:me,pure:!0,standalone:!0})}return me})();function Kt(me){return!(null==me||""===me||me!=me)}function ln(me){if("string"==typeof me&&!isNaN(Number(me)-parseFloat(me)))return Number(me);if("number"!=typeof me)throw new Error(`${me} is not a number`);return me}let mn=(()=>{class me{transform(Ue,ct,Ht){if(null==Ue)return null;if(!this.supports(Ue))throw wi();return Ue.slice(ct,Ht)}supports(Ue){return"string"==typeof Ue||Array.isArray(Ue)}static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275pipe=e.Yjl({name:"slice",type:me,pure:!1,standalone:!0})}return me})(),kn=(()=>{class me{static#e=this.\u0275fac=function(ct){return new(ct||me)};static#t=this.\u0275mod=e.oAB({type:me});static#n=this.\u0275inj=e.cJS({})}return me})();const Ai="browser",so="server";function Do(me){return me===Ai}function Yo(me){return me===so}let Hi=(()=>{class me{static#e=this.\u0275prov=(0,e.Yz7)({token:me,providedIn:"root",factory:()=>new bo((0,e.LFG)(h),window)})}return me})();class bo{constructor(vt,Ue){this.document=vt,this.window=Ue,this.offset=()=>[0,0]}setOffset(vt){this.offset=Array.isArray(vt)?()=>vt:vt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(vt){this.supportsScrolling()&&this.window.scrollTo(vt[0],vt[1])}scrollToAnchor(vt){if(!this.supportsScrolling())return;const Ue=function qo(me,vt){const Ue=me.getElementById(vt)||me.getElementsByName(vt)[0];if(Ue)return Ue;if("function"==typeof me.createTreeWalker&&me.body&&"function"==typeof me.body.attachShadow){const ct=me.createTreeWalker(me.body,NodeFilter.SHOW_ELEMENT);let Ht=ct.currentNode;for(;Ht;){const sn=Ht.shadowRoot;if(sn){const an=sn.getElementById(vt)||sn.querySelector(`[name="${vt}"]`);if(an)return an}Ht=ct.nextNode()}}return null}(this.document,vt);Ue&&(this.scrollToElement(Ue),Ue.focus())}setHistoryScrollRestoration(vt){this.supportsScrolling()&&(this.window.history.scrollRestoration=vt)}scrollToElement(vt){const Ue=vt.getBoundingClientRect(),ct=Ue.left+this.window.pageXOffset,Ht=Ue.top+this.window.pageYOffset,sn=this.offset();this.window.scrollTo(ct-sn[0],Ht-sn[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class po{}},69862:(tt,I,o)=>{"use strict";o.d(I,{JF:()=>We,LE:()=>y,QO:()=>G,TP:()=>oe,UA:()=>ee,WM:()=>_,Xk:()=>P,Zn:()=>K,aW:()=>ze,dt:()=>Y,eN:()=>pe,jN:()=>v});var e=o(65879),n=o(22096),t=o(7715),i=o(65592),l=o(76328),h=o(32181),E=o(37398),u=o(64716),z=o(94664),M=o(96814);class p{}class v{}class _{constructor(N){this.normalizedNames=new Map,this.lazyUpdate=null,N?"string"==typeof N?this.lazyInit=()=>{this.headers=new Map,N.split("\n").forEach(O=>{const $=O.indexOf(":");if($>0){const L=O.slice(0,$),he=L.toLowerCase(),Ce=O.slice($+1).trim();this.maybeSetNormalizedName(L,he),this.headers.has(he)?this.headers.get(he).push(Ce):this.headers.set(he,[Ce])}})}:typeof Headers<"u"&&N instanceof Headers?(this.headers=new Map,N.forEach((O,$)=>{this.setHeaderEntries($,O)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(N).forEach(([O,$])=>{this.setHeaderEntries(O,$)})}:this.headers=new Map}has(N){return this.init(),this.headers.has(N.toLowerCase())}get(N){this.init();const O=this.headers.get(N.toLowerCase());return O&&O.length>0?O[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(N){return this.init(),this.headers.get(N.toLowerCase())||null}append(N,O){return this.clone({name:N,value:O,op:"a"})}set(N,O){return this.clone({name:N,value:O,op:"s"})}delete(N,O){return this.clone({name:N,value:O,op:"d"})}maybeSetNormalizedName(N,O){this.normalizedNames.has(O)||this.normalizedNames.set(O,N)}init(){this.lazyInit&&(this.lazyInit instanceof _?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(N=>this.applyUpdate(N)),this.lazyUpdate=null))}copyFrom(N){N.init(),Array.from(N.headers.keys()).forEach(O=>{this.headers.set(O,N.headers.get(O)),this.normalizedNames.set(O,N.normalizedNames.get(O))})}clone(N){const O=new _;return O.lazyInit=this.lazyInit&&this.lazyInit instanceof _?this.lazyInit:this,O.lazyUpdate=(this.lazyUpdate||[]).concat([N]),O}applyUpdate(N){const O=N.name.toLowerCase();switch(N.op){case"a":case"s":let $=N.value;if("string"==typeof $&&($=[$]),0===$.length)return;this.maybeSetNormalizedName(N.name,O);const L=("a"===N.op?this.headers.get(O):void 0)||[];L.push(...$),this.headers.set(O,L);break;case"d":const he=N.value;if(he){let Ce=this.headers.get(O);if(!Ce)return;Ce=Ce.filter(Dt=>-1===he.indexOf(Dt)),0===Ce.length?(this.headers.delete(O),this.normalizedNames.delete(O)):this.headers.set(O,Ce)}else this.headers.delete(O),this.normalizedNames.delete(O)}}setHeaderEntries(N,O){const $=(Array.isArray(O)?O:[O]).map(he=>he.toString()),L=N.toLowerCase();this.headers.set(L,$),this.maybeSetNormalizedName(N,L)}forEach(N){this.init(),Array.from(this.normalizedNames.keys()).forEach(O=>N(this.normalizedNames.get(O),this.headers.get(O)))}}class m{encodeKey(N){return b(N)}encodeValue(N){return b(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}const C=/%(\d[a-f0-9])/gi,T={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function b(x){return encodeURIComponent(x).replace(C,(N,O)=>T[O]??N)}function D(x){return`${x}`}class y{constructor(N={}){if(this.updates=null,this.cloneFrom=null,this.encoder=N.encoder||new m,N.fromString){if(N.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function f(x,N){const O=new Map;return x.length>0&&x.replace(/^\?/,"").split("&").forEach(L=>{const he=L.indexOf("="),[Ce,Dt]=-1==he?[N.decodeKey(L),""]:[N.decodeKey(L.slice(0,he)),N.decodeValue(L.slice(he+1))],Yt=O.get(Ce)||[];Yt.push(Dt),O.set(Ce,Yt)}),O}(N.fromString,this.encoder)}else N.fromObject?(this.map=new Map,Object.keys(N.fromObject).forEach(O=>{const $=N.fromObject[O],L=Array.isArray($)?$.map(D):[D($)];this.map.set(O,L)})):this.map=null}has(N){return this.init(),this.map.has(N)}get(N){this.init();const O=this.map.get(N);return O?O[0]:null}getAll(N){return this.init(),this.map.get(N)||null}keys(){return this.init(),Array.from(this.map.keys())}append(N,O){return this.clone({param:N,value:O,op:"a"})}appendAll(N){const O=[];return Object.keys(N).forEach($=>{const L=N[$];Array.isArray(L)?L.forEach(he=>{O.push({param:$,value:he,op:"a"})}):O.push({param:$,value:L,op:"a"})}),this.clone(O)}set(N,O){return this.clone({param:N,value:O,op:"s"})}delete(N,O){return this.clone({param:N,value:O,op:"d"})}toString(){return this.init(),this.keys().map(N=>{const O=this.encoder.encodeKey(N);return this.map.get(N).map($=>O+"="+this.encoder.encodeValue($)).join("&")}).filter(N=>""!==N).join("&")}clone(N){const O=new y({encoder:this.encoder});return O.cloneFrom=this.cloneFrom||this,O.updates=(this.updates||[]).concat(N),O}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(N=>this.map.set(N,this.cloneFrom.map.get(N))),this.updates.forEach(N=>{switch(N.op){case"a":case"s":const O=("a"===N.op?this.map.get(N.param):void 0)||[];O.push(D(N.value)),this.map.set(N.param,O);break;case"d":if(void 0===N.value){this.map.delete(N.param);break}{let $=this.map.get(N.param)||[];const L=$.indexOf(D(N.value));-1!==L&&$.splice(L,1),$.length>0?this.map.set(N.param,$):this.map.delete(N.param)}}}),this.cloneFrom=this.updates=null)}}class P{constructor(N){this.defaultValue=N}}class S{constructor(){this.map=new Map}set(N,O){return this.map.set(N,O),this}get(N){return this.map.has(N)||this.map.set(N,N.defaultValue()),this.map.get(N)}delete(N){return this.map.delete(N),this}has(N){return this.map.has(N)}keys(){return this.map.keys()}}function k(x){return typeof ArrayBuffer<"u"&&x instanceof ArrayBuffer}function R(x){return typeof Blob<"u"&&x instanceof Blob}function W(x){return typeof FormData<"u"&&x instanceof FormData}class ze{constructor(N,O,$,L){let he;if(this.url=O,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=N.toUpperCase(),function A(x){switch(x){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||L?(this.body=void 0!==$?$:null,he=L):he=$,he&&(this.reportProgress=!!he.reportProgress,this.withCredentials=!!he.withCredentials,he.responseType&&(this.responseType=he.responseType),he.headers&&(this.headers=he.headers),he.context&&(this.context=he.context),he.params&&(this.params=he.params)),this.headers||(this.headers=new _),this.context||(this.context=new S),this.params){const Ce=this.params.toString();if(0===Ce.length)this.urlWithParams=O;else{const Dt=O.indexOf("?");this.urlWithParams=O+(-1===Dt?"?":Dtyn.set(Mn,N.setHeaders[Mn]),Yt)),N.setParams&&(rn=Object.keys(N.setParams).reduce((yn,Mn)=>yn.set(Mn,N.setParams[Mn]),rn)),new ze(O,$,he,{params:rn,headers:Yt,context:hn,reportProgress:Dt,responseType:L,withCredentials:Ce})}}var Y=function(x){return x[x.Sent=0]="Sent",x[x.UploadProgress=1]="UploadProgress",x[x.ResponseHeader=2]="ResponseHeader",x[x.DownloadProgress=3]="DownloadProgress",x[x.Response=4]="Response",x[x.User=5]="User",x}(Y||{});class G{constructor(N,O=200,$="OK"){this.headers=N.headers||new _,this.status=void 0!==N.status?N.status:O,this.statusText=N.statusText||$,this.url=N.url||null,this.ok=this.status>=200&&this.status<300}}class V extends G{constructor(N={}){super(N),this.type=Y.ResponseHeader}clone(N={}){return new V({headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class K extends G{constructor(N={}){super(N),this.type=Y.Response,this.body=void 0!==N.body?N.body:null}clone(N={}){return new K({body:void 0!==N.body?N.body:this.body,headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class ee extends G{constructor(N){super(N,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${N.url||"(unknown url)"}`:`Http failure response for ${N.url||"(unknown url)"}: ${N.status} ${N.statusText}`,this.error=N.error||null}}function te(x,N){return{body:N,headers:x.headers,context:x.context,observe:x.observe,params:x.params,reportProgress:x.reportProgress,responseType:x.responseType,withCredentials:x.withCredentials}}let pe=(()=>{class x{constructor(O){this.handler=O}request(O,$,L={}){let he;if(O instanceof ze)he=O;else{let Yt,rn;Yt=L.headers instanceof _?L.headers:new _(L.headers),L.params&&(rn=L.params instanceof y?L.params:new y({fromObject:L.params})),he=new ze(O,$,void 0!==L.body?L.body:null,{headers:Yt,context:L.context,params:rn,reportProgress:L.reportProgress,responseType:L.responseType||"json",withCredentials:L.withCredentials})}const Ce=(0,n.of)(he).pipe((0,l.b)(Yt=>this.handler.handle(Yt)));if(O instanceof ze||"events"===L.observe)return Ce;const Dt=Ce.pipe((0,h.h)(Yt=>Yt instanceof K));switch(L.observe||"body"){case"body":switch(he.responseType){case"arraybuffer":return Dt.pipe((0,E.U)(Yt=>{if(null!==Yt.body&&!(Yt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Yt.body}));case"blob":return Dt.pipe((0,E.U)(Yt=>{if(null!==Yt.body&&!(Yt.body instanceof Blob))throw new Error("Response is not a Blob.");return Yt.body}));case"text":return Dt.pipe((0,E.U)(Yt=>{if(null!==Yt.body&&"string"!=typeof Yt.body)throw new Error("Response is not a string.");return Yt.body}));default:return Dt.pipe((0,E.U)(Yt=>Yt.body))}case"response":return Dt;default:throw new Error(`Unreachable: unhandled observe type ${L.observe}}`)}}delete(O,$={}){return this.request("DELETE",O,$)}get(O,$={}){return this.request("GET",O,$)}head(O,$={}){return this.request("HEAD",O,$)}jsonp(O,$){return this.request("JSONP",O,{params:(new y).append($,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(O,$={}){return this.request("OPTIONS",O,$)}patch(O,$,L={}){return this.request("PATCH",O,te(L,$))}post(O,$,L={}){return this.request("POST",O,te(L,$))}put(O,$,L={}){return this.request("PUT",O,te(L,$))}static#e=this.\u0275fac=function($){return new($||x)(e.LFG(p))};static#t=this.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac})}return x})();function Se(x,N){return N(x)}function Ne(x,N){return(O,$)=>N.intercept(O,{handle:L=>x(L,$)})}const oe=new e.OlP(""),_e=new e.OlP(""),Q=new e.OlP("");function He(){let x=null;return(N,O)=>{null===x&&(x=((0,e.f3M)(oe,{optional:!0})??[]).reduceRight(Ne,Se));const $=(0,e.f3M)(e.HDt),L=$.add();return x(N,O).pipe((0,u.x)(()=>$.remove(L)))}}let Re=(()=>{class x extends p{constructor(O,$){super(),this.backend=O,this.injector=$,this.chain=null,this.pendingTasks=(0,e.f3M)(e.HDt)}handle(O){if(null===this.chain){const L=Array.from(new Set([...this.injector.get(_e),...this.injector.get(Q,[])]));this.chain=L.reduceRight((he,Ce)=>function ke(x,N,O){return($,L)=>O.runInContext(()=>N($,he=>x(he,L)))}(he,Ce,this.injector),Se)}const $=this.pendingTasks.add();return this.chain(O,L=>this.backend.handle(L)).pipe((0,u.x)(()=>this.pendingTasks.remove($)))}static#e=this.\u0275fac=function($){return new($||x)(e.LFG(v),e.LFG(e.lqb))};static#t=this.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac})}return x})();const Ae=/^\)\]\}',?\n/;let ht=(()=>{class x{constructor(O){this.xhrFactory=O}handle(O){if("JSONP"===O.method)throw new e.vHH(-2800,!1);const $=this.xhrFactory;return($.\u0275loadImpl?(0,t.D)($.\u0275loadImpl()):(0,n.of)(null)).pipe((0,z.w)(()=>new i.y(he=>{const Ce=$.build();if(Ce.open(O.method,O.urlWithParams),O.withCredentials&&(Ce.withCredentials=!0),O.headers.forEach((xn,Ln)=>Ce.setRequestHeader(xn,Ln.join(","))),O.headers.has("Accept")||Ce.setRequestHeader("Accept","application/json, text/plain, */*"),!O.headers.has("Content-Type")){const xn=O.detectContentTypeHeader();null!==xn&&Ce.setRequestHeader("Content-Type",xn)}if(O.responseType){const xn=O.responseType.toLowerCase();Ce.responseType="json"!==xn?xn:"text"}const Dt=O.serializeBody();let Yt=null;const rn=()=>{if(null!==Yt)return Yt;const xn=Ce.statusText||"OK",Ln=new _(Ce.getAllResponseHeaders()),ei=function Le(x){return"responseURL"in x&&x.responseURL?x.responseURL:/^X-Request-URL:/m.test(x.getAllResponseHeaders())?x.getResponseHeader("X-Request-URL"):null}(Ce)||O.url;return Yt=new V({headers:Ln,status:Ce.status,statusText:xn,url:ei}),Yt},hn=()=>{let{headers:xn,status:Ln,statusText:ei,url:ii}=rn(),Hn=null;204!==Ln&&(Hn=typeof Ce.response>"u"?Ce.responseText:Ce.response),0===Ln&&(Ln=Hn?200:0);let di=Ln>=200&&Ln<300;if("json"===O.responseType&&"string"==typeof Hn){const oi=Hn;Hn=Hn.replace(Ae,"");try{Hn=""!==Hn?JSON.parse(Hn):null}catch(ai){Hn=oi,di&&(di=!1,Hn={error:ai,text:Hn})}}di?(he.next(new K({body:Hn,headers:xn,status:Ln,statusText:ei,url:ii||void 0})),he.complete()):he.error(new ee({error:Hn,headers:xn,status:Ln,statusText:ei,url:ii||void 0}))},yn=xn=>{const{url:Ln}=rn(),ei=new ee({error:xn,status:Ce.status||0,statusText:Ce.statusText||"Unknown Error",url:Ln||void 0});he.error(ei)};let Mn=!1;const En=xn=>{Mn||(he.next(rn()),Mn=!0);let Ln={type:Y.DownloadProgress,loaded:xn.loaded};xn.lengthComputable&&(Ln.total=xn.total),"text"===O.responseType&&Ce.responseText&&(Ln.partialText=Ce.responseText),he.next(Ln)},Dn=xn=>{let Ln={type:Y.UploadProgress,loaded:xn.loaded};xn.lengthComputable&&(Ln.total=xn.total),he.next(Ln)};return Ce.addEventListener("load",hn),Ce.addEventListener("error",yn),Ce.addEventListener("timeout",yn),Ce.addEventListener("abort",yn),O.reportProgress&&(Ce.addEventListener("progress",En),null!==Dt&&Ce.upload&&Ce.upload.addEventListener("progress",Dn)),Ce.send(Dt),he.next({type:Y.Sent}),()=>{Ce.removeEventListener("error",yn),Ce.removeEventListener("abort",yn),Ce.removeEventListener("load",hn),Ce.removeEventListener("timeout",yn),O.reportProgress&&(Ce.removeEventListener("progress",En),null!==Dt&&Ce.upload&&Ce.upload.removeEventListener("progress",Dn)),Ce.readyState!==Ce.DONE&&Ce.abort()}})))}static#e=this.\u0275fac=function($){return new($||x)(e.LFG(M.JF))};static#t=this.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac})}return x})();const Ot=new e.OlP("XSRF_ENABLED"),Wt=new e.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),en=new e.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Vt{}let cn=(()=>{class x{constructor(O,$,L){this.doc=O,this.platform=$,this.cookieName=L,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const O=this.doc.cookie||"";return O!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,M.Mx)(O,this.cookieName),this.lastCookieString=O),this.lastToken}static#e=this.\u0275fac=function($){return new($||x)(e.LFG(M.K0),e.LFG(e.Lbi),e.LFG(Wt))};static#t=this.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac})}return x})();function ft(x,N){const O=x.url.toLowerCase();if(!(0,e.f3M)(Ot)||"GET"===x.method||"HEAD"===x.method||O.startsWith("http://")||O.startsWith("https://"))return N(x);const $=(0,e.f3M)(Vt).getToken(),L=(0,e.f3M)(en);return null!=$&&!x.headers.has(L)&&(x=x.clone({headers:x.headers.set(L,$)})),N(x)}var Ie=function(x){return x[x.Interceptors=0]="Interceptors",x[x.LegacyInterceptors=1]="LegacyInterceptors",x[x.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",x[x.NoXsrfProtection=3]="NoXsrfProtection",x[x.JsonpSupport=4]="JsonpSupport",x[x.RequestsMadeViaParent=5]="RequestsMadeViaParent",x[x.Fetch=6]="Fetch",x}(Ie||{});function Nt(...x){const N=[pe,ht,Re,{provide:p,useExisting:Re},{provide:v,useExisting:ht},{provide:_e,useValue:ft,multi:!0},{provide:Ot,useValue:!0},{provide:Vt,useClass:cn}];for(const O of x)N.push(...O.\u0275providers);return(0,e.MR2)(N)}const St=new e.OlP("LEGACY_INTERCEPTOR_FN");function qe(){return function Ct(x,N){return{\u0275kind:x,\u0275providers:N}}(Ie.LegacyInterceptors,[{provide:St,useFactory:He},{provide:_e,useExisting:St,multi:!0}])}let We=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=e.oAB({type:x});static#n=this.\u0275inj=e.cJS({providers:[Nt(qe())]})}return x})()},65879:(tt,I,o)=>{"use strict";o.d(I,{$8M:()=>ye,$WT:()=>zt,$Z:()=>d2,AFp:()=>Zd,ALo:()=>Z4,AaK:()=>v,Akn:()=>lr,AsE:()=>ap,B6R:()=>Di,BQk:()=>Du,CHM:()=>Ms,CRH:()=>pg,Ckj:()=>Uh,DdM:()=>F4,DjV:()=>Um,Dn7:()=>Q4,DyG:()=>Uo,EJc:()=>M5,EiD:()=>Hh,EpF:()=>nm,F$t:()=>lm,F4k:()=>im,FYo:()=>r1,FiY:()=>os,G48:()=>r7,Gf:()=>ug,GfV:()=>a1,GkF:()=>Z1,Gpc:()=>m,Gre:()=>Hm,HDt:()=>Rg,HTZ:()=>U4,Hsn:()=>cm,Ikx:()=>lp,JOm:()=>pc,JVY:()=>Wf,JZr:()=>D,Jf7:()=>T1,KtG:()=>Dr,L6k:()=>jf,LAX:()=>Zf,LFG:()=>be,LMc:()=>R7,LSH:()=>Bd,Lbi:()=>Jd,Lck:()=>mv,MAs:()=>q2,MGl:()=>bu,MMx:()=>w4,MR2:()=>Ud,MT6:()=>Vm,NdJ:()=>G1,O4$:()=>Ja,Ojb:()=>y0,OlP:()=>Bi,Oqu:()=>rp,P3R:()=>Yh,PXZ:()=>G5,PiD:()=>Jr,Q6J:()=>W1,QGY:()=>J1,QbO:()=>v0,Qsj:()=>N0,R0b:()=>Go,RDi:()=>Bf,Rgc:()=>qc,SBq:()=>Cl,Sil:()=>b5,Suo:()=>hg,TTD:()=>ui,TgZ:()=>Tu,Tol:()=>Em,Udp:()=>ip,VKq:()=>B4,VuI:()=>N7,W1O:()=>_g,WD2:()=>Oi,WFA:()=>Q1,WLB:()=>H4,X6Q:()=>s7,XFs:()=>de,Xpm:()=>Ji,Xq5:()=>L2,Xts:()=>gl,Y36:()=>El,YKP:()=>S4,YNc:()=>G2,Yjl:()=>Vn,Yz7:()=>oe,Z0I:()=>Re,ZZ4:()=>Up,_Bn:()=>x4,_UZ:()=>K1,_Vd:()=>yl,_c5:()=>T7,_uU:()=>Pm,aQg:()=>Yp,c2e:()=>kg,cJS:()=>Q,cQ8:()=>q1,cg1:()=>dp,d8E:()=>cp,dDg:()=>j5,dqk:()=>ht,dwT:()=>m_,eBb:()=>Kf,eFA:()=>jg,eJc:()=>bp,ekj:()=>op,eoX:()=>Ug,evT:()=>M1,f3M:()=>Ke,g9A:()=>qh,gHi:()=>zl,gM2:()=>X4,h0i:()=>ka,hGG:()=>M7,hij:()=>Ou,iGM:()=>dg,ifc:()=>he,ip1:()=>Ng,jDz:()=>P4,kEZ:()=>V4,kL8:()=>Xm,kcU:()=>Qa,ktI:()=>Tl,lG2:()=>ni,lcZ:()=>J4,lqb:()=>rr,lri:()=>Hg,mCW:()=>fl,n5z:()=>ic,n_E:()=>Nu,oAB:()=>bi,oJD:()=>Vh,oxw:()=>am,pB0:()=>Jf,q3G:()=>Qr,qFp:()=>L7,qLn:()=>Nr,qOj:()=>L1,qZA:()=>Mu,qzn:()=>ba,rWj:()=>Vg,rg0:()=>Ht,s9C:()=>X1,sBO:()=>a7,s_b:()=>Lu,soG:()=>Bu,tBr:()=>sr,tb:()=>Rp,tp0:()=>mr,uIk:()=>B1,vHH:()=>y,vpe:()=>ar,wAp:()=>Ll,xi3:()=>G4,xp6:()=>l2,ynx:()=>Eu,z2F:()=>Vl,z3N:()=>gr,zSh:()=>$d,zs3:()=>Xs});var e=o(78645),n=o(47394),t=o(65592),i=o(63019),l=o(65619),h=o(22096),E=o(63020),u=o(94664),z=o(93997);function M(s){for(let r in s)if(s[r]===M)return r;throw Error("Could not find renamed property on target object.")}function p(s,r){for(const a in r)r.hasOwnProperty(a)&&!s.hasOwnProperty(a)&&(s[a]=r[a])}function v(s){if("string"==typeof s)return s;if(Array.isArray(s))return"["+s.map(v).join(", ")+"]";if(null==s)return""+s;if(s.overriddenName)return`${s.overriddenName}`;if(s.name)return`${s.name}`;const r=s.toString();if(null==r)return""+r;const a=r.indexOf("\n");return-1===a?r:r.substring(0,a)}function _(s,r){return null==s||""===s?null===r?"":r:null==r||""===r?s:s+" "+r}const d=M({__forward_ref__:M});function m(s){return s.__forward_ref__=m,s.toString=function(){return v(this())},s}function f(s){return C(s)?s():s}function C(s){return"function"==typeof s&&s.hasOwnProperty(d)&&s.__forward_ref__===m}function T(s){return s&&!!s.\u0275providers}const D="https://g.co/ng/security#xss";class y extends Error{constructor(r,a){super(function P(s,r){return`NG0${Math.abs(s)}${r?": "+r:""}`}(r,a)),this.code=r}}function S(s){return"string"==typeof s?s:null==s?"":String(s)}function j(s,r){throw new y(-201,!1)}function ne(s,r){null==s&&function le(s,r,a,c){throw new Error(`ASSERTION ERROR: ${s}`+(null==c?"":` [Expected=> ${a} ${c} ${r} <=Actual]`))}(r,s,null,"!=")}function oe(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function Q(s){return{providers:s.providers||[],imports:s.imports||[]}}function He(s){return lt(s,$e)||lt(s,mt)}function Re(s){return null!==He(s)}function lt(s,r){return s.hasOwnProperty(r)?s[r]:null}function xt(s){return s&&(s.hasOwnProperty(ot)||s.hasOwnProperty(we))?s[ot]:null}const $e=M({\u0275prov:M}),ot=M({\u0275inj:M}),mt=M({ngInjectableDef:M}),we=M({ngInjectorDef:M});var de=function(s){return s[s.Default=0]="Default",s[s.Host=1]="Host",s[s.Self=2]="Self",s[s.SkipSelf=4]="SkipSelf",s[s.Optional=8]="Optional",s}(de||{});let U;function B(){return U}function Me(s){const r=U;return U=s,r}function Ae(s,r,a){const c=He(s);return c&&"root"==c.providedIn?void 0===c.value?c.value=c.factory():c.value:a&de.Optional?null:void 0!==r?r:void j(v(s))}const ht=globalThis,St={},qe="__NG_DI_FLAG__",Fe="ngTempTokenPath",Xe=/\n/gm,je="__source";let Ye;function wt(s){const r=Ye;return Ye=s,r}function Ee(s,r=de.Default){if(void 0===Ye)throw new y(-203,!1);return null===Ye?Ae(s,void 0,r):Ye.get(s,r&de.Optional?null:void 0,r)}function be(s,r=de.Default){return(B()||Ee)(f(s),r)}function Ke(s,r=de.Default){return be(s,Ze(r))}function Ze(s){return typeof s>"u"||"number"==typeof s?s:0|(s.optional&&8)|(s.host&&1)|(s.self&&2)|(s.skipSelf&&4)}function ve(s){const r=[];for(let a=0;ar){H=w-1;break}}}for(;ww?"":g[At+1].toLowerCase();const Gt=8&c?Zt:null;if(Gt&&-1!==xn(Gt,Ge,0)||2&c&&Ge!==Zt){if(li(c))return!1;H=!0}}}}else{if(!H&&!li(c)&&!li(Te))return!1;if(H&&li(Te))continue;H=!1,c=Te|1&c}}return li(c)||H}function li(s){return 0==(1&s)}function fi(s,r,a,c){if(null===r)return-1;let g=0;if(c||!a){let w=!1;for(;g-1)for(a++;a0?'="'+se+'"':"")+"]"}else 8&c?g+="."+H:4&c&&(g+=" "+H);else""!==g&&!li(H)&&(r+=$i(w,g),g=""),c=H,w=w||!li(c);a++}return""!==g&&(r+=$i(w,g)),r}function Ji(s){return $(()=>{const r=Xt(s),a={...r,decls:s.decls,vars:s.vars,template:s.template,consts:s.consts||null,ngContentSelectors:s.ngContentSelectors,onPush:s.changeDetection===L.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&s.dependencies||null,getStandaloneInjector:null,signals:s.signals??!1,data:s.data||{},encapsulation:s.encapsulation||he.Emulated,styles:s.styles||Dt,_:null,schemas:s.schemas||null,tView:null,id:""};_n(a);const c=s.dependencies;return a.directiveDefs=Fn(c,!1),a.pipeDefs=Fn(c,!0),a.id=function mi(s){let r=0;const a=[s.selectors,s.ngContentSelectors,s.hostVars,s.hostAttrs,s.consts,s.vars,s.decls,s.encapsulation,s.standalone,s.signals,s.exportAs,JSON.stringify(s.inputs),JSON.stringify(s.outputs),Object.getOwnPropertyNames(s.type.prototype),!!s.contentQueries,!!s.viewQuery].join("|");for(const g of a)r=Math.imul(31,r)+g.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(a),a})}function Di(s,r,a){const c=s.\u0275cmp;c.directiveDefs=Fn(r,!1),c.pipeDefs=Fn(a,!0)}function Wi(s){return Mt(s)||gn(s)}function Xi(s){return null!==s}function bi(s){return $(()=>({type:s.type,bootstrap:s.bootstrap||Dt,declarations:s.declarations||Dt,imports:s.imports||Dt,exports:s.exports||Dt,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function Pi(s,r){if(null==s)return Ce;const a={};for(const c in s)if(s.hasOwnProperty(c)){let g=s[c],w=g;Array.isArray(g)&&(w=g[1],g=g[0]),a[g]=c,r&&(r[g]=w)}return a}function ni(s){return $(()=>{const r=Xt(s);return _n(r),r})}function Vn(s){return{type:s.type,name:s.name,factory:null,pure:!1!==s.pure,standalone:!0===s.standalone,onDestroy:s.type.prototype.ngOnDestroy||null}}function Mt(s){return s[Yt]||null}function gn(s){return s[rn]||null}function rt(s){return s[hn]||null}function zt(s){const r=Mt(s)||gn(s)||rt(s);return null!==r&&r.standalone}function It(s,r){const a=s[yn]||null;if(!a&&!0===r)throw new Error(`Type ${v(s)} does not have '\u0275mod' property.`);return a}function Xt(s){const r={};return{type:s.type,providersResolver:null,factory:null,hostBindings:s.hostBindings||null,hostVars:s.hostVars||0,hostAttrs:s.hostAttrs||null,contentQueries:s.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:s.inputs||Ce,exportAs:s.exportAs||null,standalone:!0===s.standalone,signals:!0===s.signals,selectors:s.selectors||Dt,viewQuery:s.viewQuery||null,features:s.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Pi(s.inputs,r),outputs:Pi(s.outputs)}}function _n(s){s.features?.forEach(r=>r(s))}function Fn(s,r){if(!s)return null;const a=r?rt:Wi;return()=>("function"==typeof s?s():s).map(c=>a(c)).filter(Xi)}const bt=0,at=1,Je=2,Rt=3,Kt=4,ln=5,mn=6,Kn=7,kn=8,Ai=9,so=10,Nn=11,Ro=12,Do=13,Yo=14,xi=15,wo=16,Xo=17,Hi=18,bo=19,qo=20,Po=21,po=22,zo=23,Io=24,Xn=25,Vi=1,us=2,Si=7,xo=9,Ci=11;function io(s){return Array.isArray(s)&&"object"==typeof s[Vi]}function it(s){return Array.isArray(s)&&!0===s[Vi]}function Qt(s){return 0!=(4&s.flags)}function Z(s){return s.componentOffset>-1}function dt(s){return 1==(1&s.flags)}function _t(s){return!!s.template}function jt(s){return 0!=(512&s[Je])}function Ao(s,r){return s.hasOwnProperty(Mn)?s[Mn]:null}let Gi=null,Os=!1;function ro(s){const r=Gi;return Gi=s,r}const Zs={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function er(s){if(!es(s)||s.dirty){if(!s.producerMustRecompute(s)&&!wn(s))return void(s.dirty=!1);s.producerRecomputeValue(s),s.dirty=!1}}function zr(s){s.dirty=!0,function Bs(s){if(void 0===s.liveConsumerNode)return;const r=Os;Os=!0;try{for(const a of s.liveConsumerNode)a.dirty||zr(a)}finally{Os=r}}(s),s.consumerMarkedDirty?.(s)}function Ut(s){return s&&(s.nextProducerIndex=0),ro(s)}function ys(s,r){if(ro(r),s&&void 0!==s.producerNode&&void 0!==s.producerIndexOfThis&&void 0!==s.producerLastReadVersion){if(es(s))for(let a=s.nextProducerIndex;as.nextProducerIndex;)s.producerNode.pop(),s.producerLastReadVersion.pop(),s.producerIndexOfThis.pop()}}function wn(s){Cs(s);for(let r=0;r0}function Cs(s){s.producerNode??=[],s.producerIndexOfThis??=[],s.producerLastReadVersion??=[]}let tr=null;function Ht(s){const r=ro(null);try{return s()}finally{ro(r)}}const an=()=>{},An=(()=>({...Zs,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:s=>{s.schedule(s.ref)},hasRun:!1,cleanupFn:an}))();class Oi{constructor(r,a,c){this.previousValue=r,this.currentValue=a,this.firstChange=c}isFirstChange(){return this.firstChange}}function ui(){return Gn}function Gn(s){return s.type.prototype.ngOnChanges&&(s.setInput=Bn),eo}function eo(){const s=Ho(this),r=s?.current;if(r){const a=s.previous;if(a===Ce)s.previous=r;else for(let c in r)a[c]=r[c];s.current=null,this.ngOnChanges(r)}}function Bn(s,r,a,c){const g=this.declaredInputs[a],w=Ho(s)||function ts(s,r){return s[Ki]=r}(s,{previous:Ce,current:null}),H=w.current||(w.current={}),se=w.previous,Te=se[g];H[g]=new Oi(Te&&Te.currentValue,r,se===Ce),s[c]=r}ui.ngInherit=!0;const Ki="__ngSimpleChanges__";function Ho(s){return s[Ki]||null}const _o=function(s,r,a){},pi="svg";function Li(s){for(;Array.isArray(s);)s=s[bt];return s}function ur(s,r){return Li(r[s])}function Ko(s,r){return Li(r[s.index])}function Vr(s,r){return s.data[r]}function hr(s,r){return s[r]}function Zo(s,r){const a=r[s];return io(a)?a:a[bt]}function Ps(s,r){return null==r?null:s[r]}function ao(s){s[Xo]=0}function Ba(s){1024&s[Je]||(s[Je]|=1024,Va(s,1))}function Ha(s){1024&s[Je]&&(s[Je]&=-1025,Va(s,-1))}function Va(s,r){let a=s[Rt];if(null===a)return;a[ln]+=r;let c=a;for(a=a[Rt];null!==a&&(1===r&&1===c[ln]||-1===r&&0===c[ln]);)a[ln]+=r,c=a,a=a[Rt]}function Ua(s,r){if(256==(256&s[Je]))throw new y(911,!1);null===s[Po]&&(s[Po]=[]),s[Po].push(r)}const Jn={lFrame:ir(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ca(){return Jn.bindingsEnabled}function Ts(){return null!==Jn.skipHydrationRootTNode}function dn(){return Jn.lFrame.lView}function gi(){return Jn.lFrame.tView}function Ms(s){return Jn.lFrame.contextLView=s,s[kn]}function Dr(s){return Jn.lFrame.contextLView=null,s}function vo(){let s=Yr();for(;null!==s&&64===s.type;)s=s.parent;return s}function Yr(){return Jn.lFrame.currentTNode}function ns(s,r){const a=Jn.lFrame;a.currentTNode=s,a.isParent=r}function br(){return Jn.lFrame.isParent}function xr(){Jn.lFrame.isParent=!1}function So(){const s=Jn.lFrame;let r=s.bindingRootIndex;return-1===r&&(r=s.bindingRootIndex=s.tView.bindingStartIndex),r}function $s(){return Jn.lFrame.bindingIndex}function ue(){return Jn.lFrame.bindingIndex++}function xe(s){const r=Jn.lFrame,a=r.bindingIndex;return r.bindingIndex=r.bindingIndex+s,a}function et(s,r){const a=Jn.lFrame;a.bindingIndex=a.bindingRootIndex=s,Ft(r)}function Ft(s){Jn.lFrame.currentDirectiveIndex=s}function on(s){const r=Jn.lFrame.currentDirectiveIndex;return-1===r?null:s[r]}function tn(){return Jn.lFrame.currentQueryIndex}function bn(s){Jn.lFrame.currentQueryIndex=s}function ti(s){const r=s[at];return 2===r.type?r.declTNode:1===r.type?s[mn]:null}function Fi(s,r,a){if(a&de.SkipSelf){let g=r,w=s;for(;!(g=g.parent,null!==g||a&de.Host||(g=ti(w),null===g||(w=w[Yo],10&g.type))););if(null===g)return!1;r=g,s=w}const c=Jn.lFrame=Vo();return c.currentTNode=r,c.lView=s,!0}function vi(s){const r=Vo(),a=s[at];Jn.lFrame=r,r.currentTNode=a.firstChild,r.lView=s,r.tView=a,r.contextLView=s,r.bindingIndex=a.bindingStartIndex,r.inI18n=!1}function Vo(){const s=Jn.lFrame,r=null===s?null:s.child;return null===r?ir(s):r}function ir(s){const r={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:s,child:null,inI18n:!1};return null!==s&&(s.child=r),r}function Gs(){const s=Jn.lFrame;return Jn.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const ms=Gs;function Is(){const s=Gs();s.isParent=!0,s.tView=null,s.selectedIndex=-1,s.contextLView=null,s.elementDepthCount=0,s.currentDirectiveIndex=-1,s.currentNamespace=null,s.bindingRootIndex=-1,s.bindingIndex=-1,s.currentQueryIndex=0}function Jo(){return Jn.lFrame.selectedIndex}function Ws(s){Jn.lFrame.selectedIndex=s}function lo(){const s=Jn.lFrame;return Vr(s.tView,s.selectedIndex)}function Ja(){Jn.lFrame.currentNamespace=pi}function Qa(){!function id(){Jn.lFrame.currentNamespace=null}()}let Xa=!0;function $r(){return Xa}function or(s){Xa=s}function Wr(s,r){for(let a=r.directiveStart,c=r.directiveEnd;a=c)break}else r[Te]<0&&(s[Xo]+=65536),(se>13>16&&(3&s[Je])===r&&(s[Je]+=8192,el(se,w)):el(se,w)}const pr=-1;class Sr{constructor(r,a,c){this.factory=r,this.resolving=!1,this.canSeeViewProviders=a,this.injectImpl=c}}function nl(s){return s!==pr}function Kr(s){return 32767&s}function Zr(s,r){let a=function ad(s){return s>>16}(s),c=r;for(;a>0;)c=c[Yo],a--;return c}let pa=!0;function fa(s){const r=pa;return pa=s,r}const Ql=255,Xl=5;let ld=0;const As={};function ma(s,r){const a=ql(s,r);if(-1!==a)return a;const c=r[at];c.firstCreatePass&&(s.injectorIndex=r.length,il(c.data,s),il(r,null),il(c.blueprint,null));const g=wr(s,r),w=s.injectorIndex;if(nl(g)){const H=Kr(g),se=Zr(g,r),Te=se[at].data;for(let Ge=0;Ge<8;Ge++)r[w+Ge]=se[H+Ge]|Te[H+Ge]}return r[w+8]=g,w}function il(s,r){s.push(0,0,0,0,0,0,0,0,r)}function ql(s,r){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===r[s.injectorIndex+8]?-1:s.injectorIndex}function wr(s,r){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let a=0,c=null,g=r;for(;null!==g;){if(c=sc(g),null===c)return pr;if(a++,g=g[Yo],-1!==c.injectorIndex)return c.injectorIndex|a<<16}return pr}function ga(s,r,a){!function cd(s,r,a){let c;"string"==typeof a?c=a.charCodeAt(0)||0:a.hasOwnProperty(En)&&(c=a[En]),null==c&&(c=a[En]=ld++);const g=c&Ql;r.data[s+(g>>Xl)]|=1<=0?r&Ql:fd:r}(a);if("function"==typeof w){if(!Fi(r,s,c))return c&de.Host?dd(g,0,c):ud(r,a,c,g);try{let H;if(H=w(c),null!=H||c&de.Optional)return H;j()}finally{ms()}}else if("number"==typeof w){let H=null,se=ql(s,r),Te=pr,Ge=c&de.Host?r[xi][mn]:null;for((-1===se||c&de.SkipSelf)&&(Te=-1===se?wr(s,r):r[se+8],Te!==pr&&nc(c,!1)?(H=r[at],se=Kr(Te),r=Zr(Te,r)):se=-1);-1!==se;){const yt=r[at];if(va(w,se,yt.data)){const At=sl(se,r,a,H,c,Ge);if(At!==As)return At}Te=r[se+8],Te!==pr&&nc(c,r[at].data[se+8]===Ge)&&va(w,se,r)?(H=yt,se=Kr(Te),r=Zr(Te,r)):se=-1}}return g}function sl(s,r,a,c,g,w){const H=r[at],se=H.data[s+8],yt=_a(se,H,a,null==c?Z(se)&&pa:c!=H&&0!=(3&se.type),g&de.Host&&w===se);return null!==yt?Pr(r,H,yt,se):As}function _a(s,r,a,c,g){const w=s.providerIndexes,H=r.data,se=1048575&w,Te=s.directiveStart,yt=w>>20,Zt=g?se+yt:s.directiveEnd;for(let Gt=c?se:se+yt;Gt=Te&&un.type===a)return Gt}if(g){const Gt=H[Te];if(Gt&&_t(Gt)&&Gt.type===a)return Te}return null}function Pr(s,r,a,c){let g=s[a];const w=r.data;if(function Or(s){return s instanceof Sr}(g)){const H=g;H.resolving&&function k(s,r){const a=r?`. Dependency path: ${r.join(" > ")} > ${s}`:"";throw new y(-200,`Circular dependency in DI detected for ${s}${a}`)}(function A(s){return"function"==typeof s?s.name||s.toString():"object"==typeof s&&null!=s&&"function"==typeof s.type?s.type.name||s.type.toString():S(s)}(w[a]));const se=fa(H.canSeeViewProviders);H.resolving=!0;const Ge=H.injectImpl?Me(H.injectImpl):null;Fi(s,c,de.Default);try{g=s[a]=H.factory(void 0,w,s,c),r.firstCreatePass&&a>=c.directiveStart&&function qa(s,r,a){const{ngOnChanges:c,ngOnInit:g,ngDoCheck:w}=r.type.prototype;if(c){const H=Gn(r);(a.preOrderHooks??=[]).push(s,H),(a.preOrderCheckHooks??=[]).push(s,H)}g&&(a.preOrderHooks??=[]).push(0-s,g),w&&((a.preOrderHooks??=[]).push(s,w),(a.preOrderCheckHooks??=[]).push(s,w))}(a,w[a],r)}finally{null!==Ge&&Me(Ge),fa(se),H.resolving=!1,ms()}}return g}function va(s,r,a){return!!(a[r+(s>>Xl)]&1<{const r=s.prototype.constructor,a=r[Mn]||rl(r),c=Object.prototype;let g=Object.getPrototypeOf(s.prototype).constructor;for(;g&&g!==c;){const w=g[Mn]||rl(g);if(w&&w!==a)return w;g=Object.getPrototypeOf(g)}return w=>new w})}function rl(s){return C(s)?()=>{const r=rl(f(s));return r&&r()}:Ao(s)}function sc(s){const r=s[at],a=r.type;return 2===a?r.declTNode:1===a?s[mn]:null}function ye(s){return function ol(s,r){if("class"===r)return s.classes;if("style"===r)return s.styles;const a=s.attrs;if(a){const c=a.length;let g=0;for(;g{const c=function pt(s){return function(...a){if(s){const c=s(...a);for(const g in c)this[g]=c[g]}}}(r);function g(...w){if(this instanceof g)return c.apply(this,w),this;const H=new g(...w);return se.annotation=H,se;function se(Te,Ge,yt){const At=Te.hasOwnProperty(F)?Te[F]:Object.defineProperty(Te,F,{value:[]})[F];for(;At.length<=yt;)At.push(null);return(At[yt]=At[yt]||[]).push(H),Te}}return a&&(g.prototype=Object.create(a.prototype)),g.prototype.ngMetadataName=s,g.annotationCls=g,g})}const Uo=Function;function Mo(s,r){s.forEach(a=>Array.isArray(a)?Mo(a,r):r(a))}function js(s,r,a){r>=s.length?s.push(a):s.splice(r,0,a)}function Ds(s,r){return r>=s.length-1?s.pop():s.splice(r,1)[0]}function as(s,r){const a=[];for(let c=0;c=0?s[1|c]=a:(c=~c,function fr(s,r,a,c){let g=s.length;if(g==r)s.push(a,c);else if(1===g)s.push(c,s[0]),s[0]=a;else{for(g--,s.push(s[g-1],s[g]);g>r;)s[g]=s[g-2],g--;s[r]=a,s[r+1]=c}}(s,c,r,a)),c}function Rn(s,r){const a=$n(s,r);if(a>=0)return s[1|a]}function $n(s,r){return function Ei(s,r,a){let c=0,g=s.length>>a;for(;g!==c;){const w=c+(g-c>>1),H=s[w<r?g=w:c=w+1}return~(g<({token:s})),-1),os=nt(Pt("Optional"),8),Jr=nt(Pt("Self"),2),mr=nt(Pt("SkipSelf"),4);function uc(s){return 128==(128&s.flags)}var pc=function(s){return s[s.Important=1]="Important",s[s.DashCase=2]="DashCase",s}(pc||{});const af=/^>|^->||--!>|)/g,lf="\u200b$1\u200b";const yd=new Map;let cf=0;const zd="__ngContext__";function cs(s,r){io(r)?(s[zd]=r[bo],function uf(s){yd.set(s[bo],s)}(r)):s[zd]=r}let Td;function fc(s,r){return Td(s,r)}function ul(s){const r=s[Rt];return it(r)?r[Rt]:r}function gh(s){return vh(s[Ro])}function _h(s){return vh(s[Kt])}function vh(s){for(;null!==s&&!it(s);)s=s[Kt];return s}function Ma(s,r,a,c,g){if(null!=c){let w,H=!1;it(c)?w=c:io(c)&&(H=!0,c=c[bt]);const se=Li(c);0===s&&null!==a?null==g?xd(r,a,se):Gr(r,a,se,g||null,!0):1===s&&null!==a?Gr(r,a,se,g||null,!0):2===s?function Cc(s,r,a){const c=vc(s,r);c&&function wf(s,r,a,c){s.removeChild(r,a,c)}(s,c,r,a)}(r,se,H):3===s&&r.destroyNode(se),null!=w&&function Af(s,r,a,c,g){const w=a[Si];w!==Li(a)&&Ma(r,s,c,w,g);for(let se=Ci;ser.replace(ah,lf))}(r))}function gc(s,r,a){return s.createElement(r,a)}function Ch(s,r){const a=s[xo],c=a.indexOf(r);Ha(r),a.splice(c,1)}function _c(s,r){if(s.length<=Ci)return;const a=Ci+r,c=s[a];if(c){const g=c[wo];null!==g&&g!==s&&Ch(g,c),r>0&&(s[a-1][Kt]=c[Kt]);const w=Ds(s,Ci+r);!function Tf(s,r){pl(s,r,r[Nn],2,null,null),r[bt]=null,r[mn]=null}(c[at],c);const H=w[Hi];null!==H&&H.detachView(w[at]),c[Rt]=null,c[Kt]=null,c[Je]&=-129}return c}function Ed(s,r){if(!(256&r[Je])){const a=r[Nn];r[zo]&&pn(r[zo]),r[Io]&&pn(r[Io]),a.destroyNode&&pl(s,r,a,3,null,null),function Df(s){let r=s[Ro];if(!r)return Dd(s[at],s);for(;r;){let a=null;if(io(r))a=r[Ro];else{const c=r[Ci];c&&(a=c)}if(!a){for(;r&&!r[Kt]&&r!==s;)io(r)&&Dd(r[at],r),r=r[Rt];null===r&&(r=s),io(r)&&Dd(r[at],r),a=r&&r[Kt]}r=a}}(r)}}function Dd(s,r){if(!(256&r[Je])){r[Je]&=-129,r[Je]|=256,function Of(s,r){let a;if(null!=s&&null!=(a=s.destroyHooks))for(let c=0;c=0?c[H]():c[-H].unsubscribe(),w+=2}else a[w].call(c[a[w+1]]);null!==c&&(r[Kn]=null);const g=r[Po];if(null!==g){r[Po]=null;for(let w=0;w-1){const{encapsulation:w}=s.data[c.directiveStart+g];if(w===he.None||w===he.Emulated)return null}return Ko(c,a)}}(s,r.parent,a)}function Gr(s,r,a,c,g){s.insertBefore(r,a,c,g)}function xd(s,r,a){s.appendChild(r,a)}function Th(s,r,a,c,g){null!==c?Gr(s,r,a,c,g):xd(s,r,a)}function vc(s,r){return s.parentNode(r)}function Mh(s,r,a){return Dh(s,r,a)}let Sd,zc,Id,Tc,Dh=function Eh(s,r,a){return 40&s.type?Ko(s,a):null};function yc(s,r,a,c){const g=bd(s,c,r),w=r[Nn],se=Mh(c.parent||r[mn],c,r);if(null!=g)if(Array.isArray(a))for(let Te=0;Tes,createScript:s=>s,createScriptURL:s=>s})}catch{}return zc}()?.createHTML(s)||s}function Bf(s){Id=s}function Da(){if(void 0!==Id)return Id;if(typeof document<"u")return document;throw new y(210,!1)}function Ad(){if(void 0===Tc&&(Tc=null,ht.trustedTypes))try{Tc=ht.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Tc}function Ih(s){return Ad()?.createHTML(s)||s}function Ah(s){return Ad()?.createScriptURL(s)||s}class Ar{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${D})`}}class Hf extends Ar{getTypeName(){return"HTML"}}class Vf extends Ar{getTypeName(){return"Style"}}class Nh extends Ar{getTypeName(){return"Script"}}class Uf extends Ar{getTypeName(){return"URL"}}class Yf extends Ar{getTypeName(){return"ResourceURL"}}function gr(s){return s instanceof Ar?s.changingThisBreaksApplicationSecurity:s}function ba(s,r){const a=function $f(s){return s instanceof Ar&&s.getTypeName()||null}(s);if(null!=a&&a!==r){if("ResourceURL"===a&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${a} (see ${D})`)}return a===r}function Wf(s){return new Hf(s)}function jf(s){return new Vf(s)}function Kf(s){return new Nh(s)}function Zf(s){return new Uf(s)}function Jf(s){return new Yf(s)}class Gf{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const a=(new window.DOMParser).parseFromString(Ea(r),"text/html").body;return null===a?this.inertDocumentHelper.getInertBodyElement(r):(a.removeChild(a.firstChild),a)}catch{return null}}}class Qf{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const a=this.inertDocument.createElement("template");return a.innerHTML=Ea(r),a}}const qf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fl(s){return(s=String(s)).match(qf)?s:"unsafe:"+s}function _r(s){const r={};for(const a of s.split(","))r[a]=!0;return r}function xa(...s){const r={};for(const a of s)for(const c in a)a.hasOwnProperty(c)&&(r[c]=!0);return r}const Rh=_r("area,br,col,hr,img,wbr"),kd=_r("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Lh=_r("rp,rt"),Rd=xa(Rh,xa(kd,_r("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),xa(Lh,_r("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),xa(Lh,kd)),Ld=_r("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fh=xa(Ld,_r("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),_r("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),e0=_r("script,style,template");class t0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let a=r.firstChild,c=!0;for(;a;)if(a.nodeType===Node.ELEMENT_NODE?c=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,c&&a.firstChild)a=a.firstChild;else for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let g=this.checkClobberedElement(a,a.nextSibling);if(g){a=g;break}a=this.checkClobberedElement(a,a.parentNode)}return this.buf.join("")}startElement(r){const a=r.nodeName.toLowerCase();if(!Rd.hasOwnProperty(a))return this.sanitizedSomething=!0,!e0.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);const c=r.attributes;for(let g=0;g"),!0}endElement(r){const a=r.nodeName.toLowerCase();Rd.hasOwnProperty(a)&&!Rh.hasOwnProperty(a)&&(this.buf.push(""))}chars(r){this.buf.push(Bh(r))}checkClobberedElement(r,a){if(a&&(r.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return a}}const n0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o0=/([^\#-~ |!])/g;function Bh(s){return s.replace(/&/g,"&").replace(n0,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(o0,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let Mc;function Hh(s,r){let a=null;try{Mc=Mc||function kh(s){const r=new Qf(s);return function Xf(){try{return!!(new window.DOMParser).parseFromString(Ea(""),"text/html")}catch{return!1}}()?new Gf(r):r}(s);let c=r?String(r):"";a=Mc.getInertBodyElement(c);let g=5,w=c;do{if(0===g)throw new Error("Failed to sanitize html because the input is unstable");g--,c=w,w=a.innerHTML,a=Mc.getInertBodyElement(c)}while(c!==w);return Ea((new t0).sanitizeChildren(Fd(a)||a))}finally{if(a){const c=Fd(a)||a;for(;c.firstChild;)c.removeChild(c.firstChild)}}}function Fd(s){return"content"in s&&function s0(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var Qr=function(s){return s[s.NONE=0]="NONE",s[s.HTML=1]="HTML",s[s.STYLE=2]="STYLE",s[s.SCRIPT=3]="SCRIPT",s[s.URL=4]="URL",s[s.RESOURCE_URL=5]="RESOURCE_URL",s}(Qr||{});function Vh(s){const r=ml();return r?Ih(r.sanitize(Qr.HTML,s)||""):ba(s,"HTML")?Ih(gr(s)):Hh(Da(),S(s))}function Uh(s){const r=ml();return r?r.sanitize(Qr.STYLE,s)||"":ba(s,"Style")?gr(s):S(s)}function Bd(s){const r=ml();return r?r.sanitize(Qr.URL,s)||"":ba(s,"URL")?gr(s):fl(S(s))}function Hd(s){const r=ml();if(r)return Ah(r.sanitize(Qr.RESOURCE_URL,s)||"");if(ba(s,"ResourceURL"))return Ah(gr(s));throw new y(904,!1)}function Yh(s,r,a){return function c0(s,r){return"src"===r&&("embed"===s||"frame"===s||"iframe"===s||"media"===s||"script"===s)||"href"===r&&("base"===s||"link"===s)?Hd:Bd}(r,a)(s)}function ml(){const s=dn();return s&&s[so].sanitizer}class Bi{constructor(r,a){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof a?this.__NG_ELEMENT_ID__=a:void 0!==a&&(this.\u0275prov=oe({token:this,providedIn:a.providedIn||"root",factory:a.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const gl=new Bi("ENVIRONMENT_INITIALIZER"),$h=new Bi("INJECTOR",-1),Wh=new Bi("INJECTOR_DEF_TYPES");class Vd{get(r,a=St){if(a===St){const c=new Error(`NullInjectorError: No provider for ${v(r)}!`);throw c.name="NullInjectorError",c}return a}}function Ud(s){return{\u0275providers:s}}function d0(...s){return{\u0275providers:jh(0,s),\u0275fromNgModule:!0}}function jh(s,...r){const a=[],c=new Set;let g;const w=H=>{a.push(H)};return Mo(r,H=>{const se=H;Ec(se,w,[],c)&&(g||=[],g.push(se))}),void 0!==g&&Kh(g,w),a}function Kh(s,r){for(let a=0;a{r(w,c)})}}function Ec(s,r,a,c){if(!(s=f(s)))return!1;let g=null,w=xt(s);const H=!w&&Mt(s);if(w||H){if(H&&!H.standalone)return!1;g=s}else{const Te=s.ngModule;if(w=xt(Te),!w)return!1;g=Te}const se=c.has(g);if(H){if(se)return!1;if(c.add(g),H.dependencies){const Te="function"==typeof H.dependencies?H.dependencies():H.dependencies;for(const Ge of Te)Ec(Ge,r,a,c)}}else{if(!w)return!1;{if(null!=w.imports&&!se){let Ge;c.add(g);try{Mo(w.imports,yt=>{Ec(yt,r,a,c)&&(Ge||=[],Ge.push(yt))})}finally{}void 0!==Ge&&Kh(Ge,r)}if(!se){const Ge=Ao(g)||(()=>new g);r({provide:g,useFactory:Ge,deps:Dt},g),r({provide:Wh,useValue:g,multi:!0},g),r({provide:gl,useValue:()=>be(g),multi:!0},g)}const Te=w.providers;if(null!=Te&&!se){const Ge=s;Yd(Te,yt=>{r(yt,Ge)})}}}return g!==s&&void 0!==s.providers}function Yd(s,r){for(let a of s)T(a)&&(a=a.\u0275providers),Array.isArray(a)?Yd(a,r):r(a)}const u0=M({provide:String,useValue:M});function Dc(s){return null!==s&&"object"==typeof s&&u0 in s}function Xr(s){return"function"==typeof s}const $d=new Bi("Set Injector scope."),bc={},h0={};let Wd;function xc(){return void 0===Wd&&(Wd=new Vd),Wd}class rr{}class Sc extends rr{get destroyed(){return this._destroyed}constructor(r,a,c,g){super(),this.parent=a,this.source=c,this.scopes=g,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Kd(r,H=>this.processProvider(H)),this.records.set($h,Sa(void 0,this)),g.has("environment")&&this.records.set(rr,Sa(void 0,this));const w=this.records.get($d);null!=w&&"string"==typeof w.value&&this.scopes.add(w.value),this.injectorDefTypes=new Set(this.get(Wh.multi,Dt,de.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const a of this._ngOnDestroyHooks)a.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const a of r)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const a=wt(this),c=Me(void 0);try{return r()}finally{wt(a),Me(c)}}get(r,a=St,c=de.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Dn))return r[Dn](this);c=Ze(c);const w=wt(this),H=Me(void 0);try{if(!(c&de.SkipSelf)){let Te=this.records.get(r);if(void 0===Te){const Ge=function g0(s){return"function"==typeof s||"object"==typeof s&&s instanceof Bi}(r)&&He(r);Te=Ge&&this.injectableDefInScope(Ge)?Sa(jd(r),bc):null,this.records.set(r,Te)}if(null!=Te)return this.hydrate(r,Te)}return(c&de.Self?xc():this.parent).get(r,a=c&de.Optional&&a===St?null:a)}catch(se){if("NullInjectorError"===se.name){if((se[Fe]=se[Fe]||[]).unshift(v(r)),w)throw se;return function N(s,r,a,c){const g=s[Fe];throw r[je]&&g.unshift(r[je]),s.message=function O(s,r,a,c=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let g=v(r);if(Array.isArray(r))g=r.map(v).join(" -> ");else if("object"==typeof r){let w=[];for(let H in r)if(r.hasOwnProperty(H)){let se=r[H];w.push(H+":"+("string"==typeof se?JSON.stringify(se):v(se)))}g=`{${w.join(", ")}}`}return`${a}${c?"("+c+")":""}[${g}]: ${s.replace(Xe,"\n ")}`}("\n"+s.message,g,a,c),s.ngTokenPath=g,s[Fe]=null,s}(se,r,"R3InjectorError",this.source)}throw se}finally{Me(H),wt(w)}}resolveInjectorInitializers(){const r=wt(this),a=Me(void 0);try{const g=this.get(gl.multi,Dt,de.Self);for(const w of g)w()}finally{wt(r),Me(a)}}toString(){const r=[],a=this.records;for(const c of a.keys())r.push(v(c));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(r){let a=Xr(r=f(r))?r:f(r&&r.provide);const c=function p0(s){return Dc(s)?Sa(void 0,s.useValue):Sa(Xh(s),bc)}(r);if(Xr(r)||!0!==r.multi)this.records.get(a);else{let g=this.records.get(a);g||(g=Sa(void 0,bc,!0),g.factory=()=>ve(g.multi),this.records.set(a,g)),a=r,g.multi.push(r)}this.records.set(a,c)}hydrate(r,a){return a.value===bc&&(a.value=h0,a.value=a.factory()),"object"==typeof a.value&&a.value&&function m0(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}injectableDefInScope(r){if(!r.providedIn)return!1;const a=f(r.providedIn);return"string"==typeof a?"any"===a||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(r){const a=this._onDestroyHooks.indexOf(r);-1!==a&&this._onDestroyHooks.splice(a,1)}}function jd(s){const r=He(s),a=null!==r?r.factory:Ao(s);if(null!==a)return a;if(s instanceof Bi)throw new y(204,!1);if(s instanceof Function)return function Qh(s){const r=s.length;if(r>0)throw as(r,"?"),new y(204,!1);const a=function Pe(s){return s&&(s[$e]||s[mt])||null}(s);return null!==a?()=>a.factory(s):()=>new s}(s);throw new y(204,!1)}function Xh(s,r,a){let c;if(Xr(s)){const g=f(s);return Ao(g)||jd(g)}if(Dc(s))c=()=>f(s.useValue);else if(function Jh(s){return!(!s||!s.useFactory)}(s))c=()=>s.useFactory(...ve(s.deps||[]));else if(function Zh(s){return!(!s||!s.useExisting)}(s))c=()=>be(f(s.useExisting));else{const g=f(s&&(s.useClass||s.provide));if(!function f0(s){return!!s.deps}(s))return Ao(g)||jd(g);c=()=>new g(...ve(s.deps))}return c}function Sa(s,r,a=!1){return{factory:s,value:r,multi:a?[]:void 0}}function Kd(s,r){for(const a of s)Array.isArray(a)?Kd(a,r):a&&T(a)?Kd(a.\u0275providers,r):r(a)}const Zd=new Bi("AppId",{providedIn:"root",factory:()=>_0}),_0="ng",qh=new Bi("Platform Initializer"),Jd=new Bi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),v0=new Bi("AnimationModuleType"),y0=new Bi("CSP nonce",{providedIn:"root",factory:()=>Da().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let e1=(s,r,a)=>null;function nu(s,r,a=!1){return e1(s,r,a)}class O0{}class n1{}class s1{resolveComponentFactory(r){throw function w0(s){const r=Error(`No component factory found for ${v(s)}.`);return r.ngComponent=s,r}(r)}}let yl=(()=>{class s{static#e=this.NULL=new s1}return s})();function I0(){return wa(vo(),dn())}function wa(s,r){return new Cl(Ko(s,r))}let Cl=(()=>{class s{constructor(a){this.nativeElement=a}static#e=this.__NG_ELEMENT_ID__=I0}return s})();function A0(s){return s instanceof Cl?s.nativeElement:s}class r1{}let N0=(()=>{class s{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function k0(){const s=dn(),a=Zo(vo().index,s);return(io(a)?a:s)[Nn]}()}return s})(),R0=(()=>{class s{static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:()=>null})}return s})();class a1{constructor(r){this.full=r,this.major=r.split(".")[0],this.minor=r.split(".")[1],this.patch=r.split(".").slice(2).join(".")}}const l1=new a1("16.2.10"),ru={};function zl(s){if(!B()&&!function We(){return Ye}())throw new y(-203,!1)}function p1(s,r=null,a=null,c){const g=f1(s,r,a,c);return g.resolveInjectorInitializers(),g}function f1(s,r=null,a=null,c,g=new Set){const w=[a||Dt,d0(s)];return c=c||("object"==typeof s?void 0:v(s)),new Sc(w,r||xc(),c||null,g)}let Xs=(()=>{class s{static#e=this.THROW_IF_NOT_FOUND=St;static#t=this.NULL=new Vd;static create(a,c){if(Array.isArray(a))return p1({name:""},c,a,"");{const g=a.name??"";return p1({name:g},a.parent,a.providers,g)}}static#n=this.\u0275prov=oe({token:s,providedIn:"any",factory:()=>be($h)});static#i=this.__NG_ELEMENT_ID__=-1}return s})();function au(s){return s.ngOriginalError}class Nr{constructor(){this._console=console}handleError(r){const a=this._findOriginalError(r);this._console.error("ERROR",r),a&&this._console.error("ORIGINAL ERROR",a)}_findOriginalError(r){let a=r&&au(r);for(;a&&au(a);)a=au(a);return a||null}}let Tl=(()=>{class s{static#e=this.__NG_ELEMENT_ID__=Y0;static#t=this.__NG_ENV_ID__=a=>a}return s})();class U0 extends Tl{constructor(r){super(),this._lView=r}onDestroy(r){return Ua(this._lView,r),()=>function Ya(s,r){if(null===s[Po])return;const a=s[Po].indexOf(r);-1!==a&&s[Po].splice(a,1)}(this._lView,r)}}function Y0(){return new U0(dn())}function lu(s){return r=>{setTimeout(s,void 0,r)}}const ar=class $0 extends e.x{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,a,c){let g=r,w=a||(()=>null),H=c;if(r&&"object"==typeof r){const Te=r;g=Te.next?.bind(Te),w=Te.error?.bind(Te),H=Te.complete?.bind(Te)}this.__isAsync&&(w=lu(w),g&&(g=lu(g)),H&&(H=lu(H)));const se=super.subscribe({next:g,error:w,complete:H});return r instanceof n.w0&&r.add(se),se}};function g1(...s){}class Go{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:c=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ar(!1),this.onMicrotaskEmpty=new ar(!1),this.onStable=new ar(!1),this.onError=new ar(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();const g=this;g._nesting=0,g._outer=g._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(g._inner=g._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(g._inner=g._inner.fork(Zone.longStackTraceZoneSpec)),g.shouldCoalesceEventChangeDetection=!c&&a,g.shouldCoalesceRunChangeDetection=c,g.lastRequestAnimationFrameId=-1,g.nativeRequestAnimationFrame=function W0(){const s="function"==typeof ht.requestAnimationFrame;let r=ht[s?"requestAnimationFrame":"setTimeout"],a=ht[s?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&a){const c=r[Zone.__symbol__("OriginalDelegate")];c&&(r=c);const g=a[Zone.__symbol__("OriginalDelegate")];g&&(a=g)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:a}}().nativeRequestAnimationFrame,function K0(s){const r=()=>{!function j0(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(ht,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,cu(s),s.isCheckStableRunning=!0,kc(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),cu(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(a,c,g,w,H,se)=>{if(function J0(s){return!(!Array.isArray(s)||1!==s.length)&&!0===s[0].data?.__ignore_ng_zone__}(se))return a.invokeTask(g,w,H,se);try{return v1(s),a.invokeTask(g,w,H,se)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||s.shouldCoalesceRunChangeDetection)&&r(),y1(s)}},onInvoke:(a,c,g,w,H,se,Te)=>{try{return v1(s),a.invoke(g,w,H,se,Te)}finally{s.shouldCoalesceRunChangeDetection&&r(),y1(s)}},onHasTask:(a,c,g,w)=>{a.hasTask(g,w),c===g&&("microTask"==w.change?(s._hasPendingMicrotasks=w.microTask,cu(s),kc(s)):"macroTask"==w.change&&(s.hasPendingMacrotasks=w.macroTask))},onHandleError:(a,c,g,w)=>(a.handleError(g,w),s.runOutsideAngular(()=>s.onError.emit(w)),!1)})}(g)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Go.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(Go.isInAngularZone())throw new y(909,!1)}run(r,a,c){return this._inner.run(r,a,c)}runTask(r,a,c,g){const w=this._inner,H=w.scheduleEventTask("NgZoneEvent: "+g,r,_1,g1,g1);try{return w.runTask(H,a,c)}finally{w.cancelTask(H)}}runGuarded(r,a,c){return this._inner.runGuarded(r,a,c)}runOutsideAngular(r){return this._outer.run(r)}}const _1={};function kc(s){if(0==s._nesting&&!s.hasPendingMicrotasks&&!s.isStable)try{s._nesting++,s.onMicrotaskEmpty.emit(null)}finally{if(s._nesting--,!s.hasPendingMicrotasks)try{s.runOutsideAngular(()=>s.onStable.emit(null))}finally{s.isStable=!0}}}function cu(s){s.hasPendingMicrotasks=!!(s._hasPendingMicrotasks||(s.shouldCoalesceEventChangeDetection||s.shouldCoalesceRunChangeDetection)&&-1!==s.lastRequestAnimationFrameId)}function v1(s){s._nesting++,s.isStable&&(s.isStable=!1,s.onUnstable.emit(null))}function y1(s){s._nesting--,kc(s)}class Z0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ar,this.onMicrotaskEmpty=new ar,this.onStable=new ar,this.onError=new ar}run(r,a,c){return r.apply(a,c)}runGuarded(r,a,c){return r.apply(a,c)}runOutsideAngular(r){return r()}runTask(r,a,c,g){return r.apply(a,c)}}const C1=new Bi("",{providedIn:"root",factory:z1});function z1(){const s=Ke(Go);let r=!0;const a=new t.y(g=>{r=s.isStable&&!s.hasPendingMacrotasks&&!s.hasPendingMicrotasks,s.runOutsideAngular(()=>{g.next(r),g.complete()})}),c=new t.y(g=>{let w;s.runOutsideAngular(()=>{w=s.onStable.subscribe(()=>{Go.assertNotInAngularZone(),queueMicrotask(()=>{!r&&!s.hasPendingMacrotasks&&!s.hasPendingMicrotasks&&(r=!0,g.next(!0))})})});const H=s.onUnstable.subscribe(()=>{Go.assertInAngularZone(),r&&(r=!1,s.runOutsideAngular(()=>{g.next(!1)}))});return()=>{w.unsubscribe(),H.unsubscribe()}});return(0,i.T)(a,c.pipe((0,E.B)()))}function T1(s){return s.ownerDocument.defaultView}function M1(s){return s.ownerDocument}function kr(s){return s instanceof Function?s():s}let D1=(()=>{class s{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:()=>new s})}return s})();function Rc(s){for(;s;){s[Je]|=64;const r=ul(s);if(jt(s)&&!r)return s;s=r}return null}const q0=new Bi("",{providedIn:"root",factory:()=>!1});let uu=null;function o2(s,r){return s[r]??a2()}function s2(s,r){const a=a2();a.producerNode?.length&&(s[r]=uu,a.lView=s,uu=r2())}const q3={...Zs,consumerIsAlwaysLive:!0,consumerMarkedDirty:s=>{Rc(s.lView)},lView:null};function r2(){return Object.create(q3)}function a2(){return uu??=r2(),uu}const ci={};function l2(s){c2(gi(),dn(),Jo()+s,!1)}function c2(s,r,a,c){if(!c)if(3==(3&r[Je])){const w=s.preOrderCheckHooks;null!==w&&da(r,w,a)}else{const w=s.preOrderHooks;null!==w&&jr(r,w,0,a)}Ws(a)}function El(s,r=de.Default){const a=dn();return null===a?be(s,r):ec(vo(),a,f(s),r)}function d2(){throw new Error("invalid")}function hu(s,r,a,c,g,w,H,se,Te,Ge,yt){const At=r.blueprint.slice();return At[bt]=g,At[Je]=140|c,(null!==Ge||s&&2048&s[Je])&&(At[Je]|=2048),ao(At),At[Rt]=At[Yo]=s,At[kn]=a,At[so]=H||s&&s[so],At[Nn]=se||s&&s[Nn],At[Ai]=Te||s&&s[Ai]||null,At[mn]=w,At[bo]=function df(){return cf++}(),At[po]=yt,At[qo]=Ge,At[xi]=2==r.type?s[xi]:At,At}function Dl(s,r,a,c,g){let w=s.data[r];if(null===w)w=function b1(s,r,a,c,g){const w=Yr(),H=br(),Te=s.data[r]=function a6(s,r,a,c,g,w){let H=r?r.injectorIndex:-1,se=0;return Ts()&&(se|=128),{type:a,index:c,insertBeforeIndex:null,injectorIndex:H,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:se,providerIndexes:0,value:g,attrs:w,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:r,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,H?w:w&&w.parent,a,r,c,g);return null===s.firstChild&&(s.firstChild=Te),null!==w&&(H?null==w.child&&null!==Te.parent&&(w.child=Te):null===w.next&&(w.next=Te,Te.prev=w)),Te}(s,r,a,c,g),function ie(){return Jn.lFrame.inI18n}()&&(w.flags|=32);else if(64&w.type){w.type=a,w.value=c,w.attrs=g;const H=function nr(){const s=Jn.lFrame,r=s.currentTNode;return s.isParent?r:r.parent}();w.injectorIndex=null===H?-1:H.injectorIndex}return ns(w,!0),w}function Lc(s,r,a,c){if(0===a)return-1;const g=r.length;for(let w=0;wXn&&c2(s,r,Xn,!1),_o(se?2:0,g);const Ge=se?w:null,yt=Ut(Ge);try{null!==Ge&&(Ge.dirty=!1),a(c,g)}finally{ys(Ge,yt)}}finally{se&&null===r[zo]&&s2(r,zo),Ws(H),_o(se?3:1,g)}}function x1(s,r,a){if(Qt(r)){const c=ro(null);try{const w=r.directiveEnd;for(let H=r.directiveStart;Hnull;function f2(s,r,a,c){for(let g in s)if(s.hasOwnProperty(g)){a=null===a?{}:a;const w=s[g];null===c?m2(a,r,g,w):c.hasOwnProperty(g)&&m2(a,r,c[g],w)}return a}function m2(s,r,a,c){s.hasOwnProperty(a)?s[a].push(r,c):s[a]=[r,c]}function Ks(s,r,a,c,g,w,H,se){const Te=Ko(r,a);let yt,Ge=r.inputs;!se&&null!=Ge&&(yt=Ge[c])?(k1(s,a,yt,c,g),Z(r)&&function d6(s,r){const a=Zo(r,s);16&a[Je]||(a[Je]|=64)}(a,r.index)):3&r.type&&(c=function c6(s){return"class"===s?"className":"for"===s?"htmlFor":"formaction"===s?"formAction":"innerHtml"===s?"innerHTML":"readonly"===s?"readOnly":"tabindex"===s?"tabIndex":s}(c),g=null!=H?H(g,r.value||"",c):g,w.setProperty(Te,c,g))}function P1(s,r,a,c){if(ca()){const g=null===c?null:{"":-1},w=function g6(s,r){const a=s.directiveRegistry;let c=null,g=null;if(a)for(let w=0;w0;){const a=s[--r];if("number"==typeof a&&a<0)return a}return 0})(H)!=se&&H.push(se),H.push(a,c,w)}}(s,r,c,Lc(s,a,g.hostVars,ci),g)}function vr(s,r,a,c,g,w){const H=Ko(s,r);!function A1(s,r,a,c,g,w,H){if(null==w)s.removeAttribute(r,g,a);else{const se=null==H?S(w):H(w,c||"",g);s.setAttribute(r,g,se,a)}}(r[Nn],H,w,s.value,a,c,g)}function T6(s,r,a,c,g,w){const H=w[r];if(null!==H)for(let se=0;se{class s{constructor(){this.all=new Set,this.queue=new Map}create(a,c,g){const w=typeof Zone>"u"?null:Zone.current,H=function sn(s,r,a){const c=Object.create(An);a&&(c.consumerAllowSignalWrites=!0),c.fn=s,c.schedule=r;const g=H=>{c.cleanupFn=H};return c.ref={notify:()=>zr(c),run:()=>{if(c.dirty=!1,c.hasRun&&!wn(c))return;c.hasRun=!0;const H=Ut(c);try{c.cleanupFn(),c.cleanupFn=an,c.fn(g)}finally{ys(c,H)}},cleanup:()=>c.cleanupFn()},c.ref}(a,Ge=>{this.all.has(Ge)&&this.queue.set(Ge,w)},g);let se;this.all.add(H),H.notify();const Te=()=>{H.cleanup(),se?.(),this.all.delete(H),this.queue.delete(H)};return se=c?.onDestroy(Te),{destroy:Te}}flush(){if(0!==this.queue.size)for(const[a,c]of this.queue)this.queue.delete(a),c?c.run(()=>a.run()):a.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:()=>new s})}return s})();function fu(s,r,a){let c=a?s.styles:null,g=a?s.classes:null,w=0;if(null!==r)for(let H=0;H0){S2(s,1);const g=a.components;null!==g&&w2(s,g,1)}}function w2(s,r,a){for(let c=0;c-1&&(_c(r,c),Ds(a,c))}this._attachedToViewContainer=!1}Ed(this._lView[at],this._lView)}onDestroy(r){Ua(this._lView,r)}markForCheck(){Rc(this._cdRefInjectingView||this._lView)}detach(){this._lView[Je]&=-129}reattach(){this._lView[Je]|=128}detectChanges(){mu(this._lView[at],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ef(s,r){pl(s,r,r[Nn],2,null,null)}(this._lView[at],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=r}}class P6 extends Bc{constructor(r){super(r),this._view=r}detectChanges(){const r=this._view;mu(r[at],r,r[kn],!1)}checkNoChanges(){}get context(){return null}}class P2 extends yl{constructor(r){super(),this.ngModule=r}resolveComponentFactory(r){const a=Mt(r);return new Hc(a,this.ngModule)}}function I2(s){const r=[];for(let a in s)s.hasOwnProperty(a)&&r.push({propName:s[a],templateName:a});return r}class A6{constructor(r,a){this.injector=r,this.parentInjector=a}get(r,a,c){c=Ze(c);const g=this.injector.get(r,ru,c);return g!==ru||a===ru?g:this.parentInjector.get(r,a,c)}}class Hc extends n1{get inputs(){const r=this.componentDef,a=r.inputTransforms,c=I2(r.inputs);if(null!==a)for(const g of c)a.hasOwnProperty(g.propName)&&(g.transform=a[g.propName]);return c}get outputs(){return I2(this.componentDef.outputs)}constructor(r,a){super(),this.componentDef=r,this.ngModule=a,this.componentType=r.type,this.selector=function Eo(s){return s.map(no).join(",")}(r.selectors),this.ngContentSelectors=r.ngContentSelectors?r.ngContentSelectors:[],this.isBoundToModule=!!a}create(r,a,c,g){let w=(g=g||this.ngModule)instanceof rr?g:g?.injector;w&&null!==this.componentDef.getStandaloneInjector&&(w=this.componentDef.getStandaloneInjector(w)||w);const H=w?new A6(r,w):r,se=H.get(r1,null);if(null===se)throw new y(407,!1);const At={rendererFactory:se,sanitizer:H.get(R0,null),effectManager:H.get(D2,null),afterRenderEventManager:H.get(D1,null)},Zt=se.createRenderer(null,this.componentDef),Gt=this.componentDef.selectors[0][0]||"div",un=c?function n6(s,r,a,c){const w=c.get(q0,!1)||a===he.ShadowDom,H=s.selectRootElement(r,w);return function i6(s){p2(s)}(H),H}(Zt,c,this.componentDef.encapsulation,H):gc(Zt,Gt,function I6(s){const r=s.toLowerCase();return"svg"===r?pi:"math"===r?"math":null}(Gt)),Wn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let fn=null;null!==un&&(fn=nu(un,H,!0));const si=w1(0,null,null,1,0,null,null,null,null,null,null),yi=hu(null,si,null,Wn,null,null,At,Zt,H,null,fn);let Qi,Ls;vi(yi);try{const Lr=this.componentDef;let Ul,Wp=null;Lr.findHostDirectiveDefs?(Ul=[],Wp=new Map,Lr.findHostDirectiveDefs(Lr,Ul,Wp),Ul.push(Lr)):Ul=[Lr];const F7=function k6(s,r){const a=s[at],c=Xn;return s[c]=r,Dl(a,c,2,"#host",null)}(yi,un),B7=function R6(s,r,a,c,g,w,H){const se=g[at];!function L6(s,r,a,c){for(const g of s)r.mergedAttrs=Hn(r.mergedAttrs,g.hostAttrs);null!==r.mergedAttrs&&(fu(r,r.mergedAttrs,!0),null!==a&&Ph(c,a,r))}(c,s,r,H);let Te=null;null!==r&&(Te=nu(r,g[Ai]));const Ge=w.rendererFactory.createRenderer(r,a);let yt=16;a.signals?yt=4096:a.onPush&&(yt=64);const At=hu(g,h2(a),null,yt,g[s.index],s,w,Ge,null,null,Te);return se.firstCreatePass&&I1(se,s,c.length-1),pu(g,At),g[s.index]=At}(F7,un,Lr,Ul,yi,At,Zt);Ls=Vr(si,Xn),un&&function B6(s,r,a,c){if(c)Ln(s,a,["ng-version",l1.full]);else{const{attrs:g,classes:w}=function wi(s){const r=[],a=[];let c=1,g=2;for(;c0&&wh(s,a,w.join(" "))}}(Zt,Lr,un,c),void 0!==a&&function H6(s,r,a){const c=s.projection=[];for(let g=0;g=0;c--){const g=s[c];g.hostVars=r+=g.hostVars,g.hostAttrs=Hn(g.hostAttrs,a=Hn(a,g.hostAttrs))}}(c)}function gu(s){return s===Ce?{}:s===Dt?[]:s}function Y6(s,r){const a=s.viewQuery;s.viewQuery=a?(c,g)=>{r(c,g),a(c,g)}:r}function $6(s,r){const a=s.contentQueries;s.contentQueries=a?(c,g,w)=>{r(c,g,w),a(c,g,w)}:r}function W6(s,r){const a=s.hostBindings;s.hostBindings=a?(c,g)=>{r(c,g),a(c,g)}:r}function L2(s){const r=s.inputConfig,a={};for(const c in r)if(r.hasOwnProperty(c)){const g=r[c];Array.isArray(g)&&g[2]&&(a[c]=g[2])}s.inputTransforms=a}function _u(s){return!!F1(s)&&(Array.isArray(s)||!(s instanceof Map)&&Symbol.iterator in s)}function F1(s){return null!==s&&("function"==typeof s||"object"==typeof s)}function yr(s,r,a){return s[r]=a}function Vc(s,r){return s[r]}function _s(s,r,a){return!Object.is(s[r],a)&&(s[r]=a,!0)}function Ia(s,r,a,c){const g=_s(s,r,a);return _s(s,r+1,c)||g}function vu(s,r,a,c,g){const w=Ia(s,r,a,c);return _s(s,r+2,g)||w}function qs(s,r,a,c,g,w){const H=Ia(s,r,a,c);return Ia(s,r+2,g,w)||H}function B1(s,r,a,c){const g=dn();return _s(g,ue(),r)&&(gi(),vr(lo(),g,s,r,a,c)),B1}function xl(s,r,a,c){return _s(s,ue(),a)?r+S(a)+c:ci}function Sl(s,r,a,c,g,w){const se=Ia(s,$s(),a,g);return xe(2),se?r+S(a)+c+S(g)+w:ci}function G2(s,r,a,c,g,w,H,se){const Te=dn(),Ge=gi(),yt=s+Xn,At=Ge.firstCreatePass?function _8(s,r,a,c,g,w,H,se,Te){const Ge=r.consts,yt=Dl(r,s,4,H||null,Ps(Ge,se));P1(r,a,yt,Ps(Ge,Te)),Wr(r,yt);const At=yt.tView=w1(2,yt,c,g,w,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ge,null);return null!==r.queries&&(r.queries.template(r,yt),At.queries=r.queries.embeddedTView(yt)),yt}(yt,Ge,Te,r,a,c,g,w,H):Ge.data[yt];ns(At,!1);const Zt=Q2(Ge,Te,At,s);$r()&&yc(Ge,Te,Zt,At),cs(Zt,Te),pu(Te,Te[yt]=y2(Zt,Te,Zt,At)),dt(At)&&S1(Ge,Te,At),null!=H&&O1(Te,At,se)}let Q2=function X2(s,r,a,c){return or(!0),r[Nn].createComment("")};function q2(s){return hr(function ja(){return Jn.lFrame.contextLView}(),Xn+s)}function W1(s,r,a){const c=dn();return _s(c,ue(),r)&&Ks(gi(),lo(),c,s,r,c[Nn],a,!1),W1}function j1(s,r,a,c,g){const H=g?"class":"style";k1(s,a,r.inputs[H],H,c)}function Tu(s,r,a,c){const g=dn(),w=gi(),H=Xn+s,se=g[Nn],Te=w.firstCreatePass?function z8(s,r,a,c,g,w){const H=r.consts,Te=Dl(r,s,2,c,Ps(H,g));return P1(r,a,Te,Ps(H,w)),null!==Te.attrs&&fu(Te,Te.attrs,!1),null!==Te.mergedAttrs&&fu(Te,Te.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,Te),Te}(H,w,g,r,a,c):w.data[H],Ge=em(w,g,Te,se,r,s);g[H]=Ge;const yt=dt(Te);return ns(Te,!0),Ph(se,Ge,Te),32!=(32&Te.flags)&&$r()&&yc(w,g,Ge,Te),0===function aa(){return Jn.lFrame.elementDepthCount}()&&cs(Ge,g),function Wl(){Jn.lFrame.elementDepthCount++}(),yt&&(S1(w,g,Te),x1(w,Te,g)),null!==c&&O1(g,Te),Tu}function Mu(){let s=vo();br()?xr():(s=s.parent,ns(s,!1));const r=s;(function $a(s){return Jn.skipHydrationRootTNode===s})(r)&&function Er(){Jn.skipHydrationRootTNode=null}(),function la(){Jn.lFrame.elementDepthCount--}();const a=gi();return a.firstCreatePass&&(Wr(a,s),Qt(s)&&a.queries.elementEnd(s)),null!=r.classesWithoutHost&&function tl(s){return 0!=(8&s.flags)}(r)&&j1(a,r,dn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function ju(s){return 0!=(16&s.flags)}(r)&&j1(a,r,dn(),r.stylesWithoutHost,!1),Mu}function K1(s,r,a,c){return Tu(s,r,a,c),Mu(),K1}let em=(s,r,a,c,g,w)=>(or(!0),gc(c,g,function Jl(){return Jn.lFrame.currentNamespace}()));function Eu(s,r,a){const c=dn(),g=gi(),w=s+Xn,H=g.firstCreatePass?function E8(s,r,a,c,g){const w=r.consts,H=Ps(w,c),se=Dl(r,s,8,"ng-container",H);return null!==H&&fu(se,H,!0),P1(r,a,se,Ps(w,g)),null!==r.queries&&r.queries.elementStart(r,se),se}(w,g,c,r,a):g.data[w];ns(H,!0);const se=tm(g,c,H,s);return c[w]=se,$r()&&yc(g,c,se,H),cs(se,c),dt(H)&&(S1(g,c,H),x1(g,H,c)),null!=a&&O1(c,H),Eu}function Du(){let s=vo();const r=gi();return br()?xr():(s=s.parent,ns(s,!1)),r.firstCreatePass&&(Wr(r,s),Qt(s)&&r.queries.elementEnd(s)),Du}function Z1(s,r,a){return Eu(s,r,a),Du(),Z1}let tm=(s,r,a,c)=>(or(!0),Md(r[Nn],""));function nm(){return dn()}function J1(s){return!!s&&"function"==typeof s.then}function im(s){return!!s&&"function"==typeof s.subscribe}function G1(s,r,a,c){const g=dn(),w=gi(),H=vo();return om(w,g,g[Nn],H,s,r,c),G1}function Q1(s,r){const a=vo(),c=dn(),g=gi();return om(g,c,M2(on(g.data),a,c),a,s,r),Q1}function om(s,r,a,c,g,w,H){const se=dt(c),Ge=s.firstCreatePass&&T2(s),yt=r[kn],At=z2(r);let Zt=!0;if(3&c.type||H){const vn=Ko(c,r),Sn=H?H(vn):vn,Wn=At.length,fn=H?yi=>H(Li(yi[c.index])):c.index;let si=null;if(!H&&se&&(si=function x8(s,r,a,c){const g=s.cleanup;if(null!=g)for(let w=0;wTe?se[Te]:null}"string"==typeof H&&(w+=2)}return null}(s,r,g,c.index)),null!==si)(si.__ngLastListenerFn__||si).__ngNextListenerFn__=w,si.__ngLastListenerFn__=w,Zt=!1;else{w=rm(c,r,yt,w,!1);const yi=a.listen(Sn,g,w);At.push(w,yi),Ge&&Ge.push(g,fn,Wn,Wn+1)}}else w=rm(c,r,yt,w,!1);const Gt=c.outputs;let un;if(Zt&&null!==Gt&&(un=Gt[g])){const vn=un.length;if(vn)for(let Sn=0;Sn-1?Zo(s.index,r):r);let Te=sm(r,a,c,H),Ge=w.__ngNextListenerFn__;for(;Ge;)Te=sm(r,a,Ge,H)&&Te,Ge=Ge.__ngNextListenerFn__;return g&&!1===Te&&H.preventDefault(),Te}}function am(s=1){return function Za(s){return(Jn.lFrame.contextLView=function Zl(s,r){for(;s>0;)r=r[Yo],s--;return r}(s,Jn.lFrame.contextLView))[kn]}(s)}function S8(s,r){let a=null;const c=function oo(s){const r=s.attrs;if(null!=r){const a=r.indexOf(5);if(!(1&a))return r[a+1]}return null}(s);for(let g=0;g>17&32767}function ep(s){return 2|s}function Aa(s){return(131068&s)>>2}function tp(s,r){return-131069&s|r<<2}function np(s){return 1|s}function _m(s,r,a,c,g){const w=s[a+1],H=null===r;let se=c?ea(w):Aa(w),Te=!1;for(;0!==se&&(!1===Te||H);){const yt=s[se+1];N8(s[se],r)&&(Te=!0,s[se+1]=c?np(yt):ep(yt)),se=c?ea(yt):Aa(yt)}Te&&(s[a+1]=c?ep(w):np(w))}function N8(s,r){return null===s||null==r||(Array.isArray(s)?s[1]:s)===r||!(!Array.isArray(s)||"string"!=typeof r)&&$n(s,r)>=0}const Qo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vm(s){return s.substring(Qo.key,Qo.keyEnd)}function k8(s){return s.substring(Qo.value,Qo.valueEnd)}function ym(s,r){const a=Qo.textEnd;return a===r?-1:(r=Qo.keyEnd=function F8(s,r,a){for(;r32;)r++;return r}(s,Qo.key=r,a),kl(s,r,a))}function Cm(s,r){const a=Qo.textEnd;let c=Qo.key=kl(s,r,a);return a===c?-1:(c=Qo.keyEnd=function B8(s,r,a){let c;for(;r=65&&(-33&c)<=90||c>=48&&c<=57);)r++;return r}(s,c,a),c=Tm(s,c,a),c=Qo.value=kl(s,c,a),c=Qo.valueEnd=function H8(s,r,a){let c=-1,g=-1,w=-1,H=r,se=H;for(;H32&&(se=H),w=g,g=c,c=-33&Te}return se}(s,c,a),Tm(s,c,a))}function zm(s){Qo.key=0,Qo.keyEnd=0,Qo.value=0,Qo.valueEnd=0,Qo.textEnd=s.length}function kl(s,r,a){for(;r=0;a=Cm(r,a))xm(s,vm(r),k8(r))}function Em(s){dr(K8,Cr,s,!0)}function Cr(s,r){for(let a=function R8(s){return zm(s),ym(s,kl(s,0,Qo.textEnd))}(r);a>=0;a=ym(r,a))ls(s,vm(r),!0)}function cr(s,r,a,c){const g=dn(),w=gi(),H=xe(2);w.firstUpdatePass&&bm(w,s,H,c),r!==ci&&_s(g,H,r)&&Sm(w,w.data[Jo()],g,g[Nn],s,g[H+1]=function J8(s,r){return null==s||""===s||("string"==typeof r?s+=r:"object"==typeof s&&(s=v(gr(s)))),s}(r,a),c,H)}function dr(s,r,a,c){const g=gi(),w=xe(2);g.firstUpdatePass&&bm(g,null,w,c);const H=dn();if(a!==ci&&_s(H,w,a)){const se=g.data[Jo()];if(wm(se,c)&&!Dm(g,w)){let Te=c?se.classesWithoutHost:se.stylesWithoutHost;null!==Te&&(a=_(Te,a||"")),j1(g,se,H,a,c)}else!function Z8(s,r,a,c,g,w,H,se){g===ci&&(g=Dt);let Te=0,Ge=0,yt=0=s.expandoStartIndex}function bm(s,r,a,c){const g=s.data;if(null===g[a+1]){const w=g[Jo()],H=Dm(s,a);wm(w,c)&&null===r&&!H&&(r=!1),r=function U8(s,r,a,c){const g=on(s);let w=c?r.residualClasses:r.residualStyles;if(null===g)0===(c?r.classBindings:r.styleBindings)&&(a=Wc(a=sp(null,s,r,a,c),r.attrs,c),w=null);else{const H=r.directiveStylingLast;if(-1===H||s[H]!==g)if(a=sp(g,s,r,a,c),null===w){let Te=function Y8(s,r,a){const c=a?r.classBindings:r.styleBindings;if(0!==Aa(c))return s[ea(c)]}(s,r,c);void 0!==Te&&Array.isArray(Te)&&(Te=sp(null,s,r,Te[1],c),Te=Wc(Te,r.attrs,c),function $8(s,r,a,c){s[ea(a?r.classBindings:r.styleBindings)]=c}(s,r,c,Te))}else w=function W8(s,r,a){let c;const g=r.directiveEnd;for(let w=1+r.directiveStylingLast;w0)&&(Ge=!0)):yt=a,g)if(0!==Te){const Zt=ea(s[se+1]);s[c+1]=xu(Zt,se),0!==Zt&&(s[Zt+1]=tp(s[Zt+1],c)),s[se+1]=function w8(s,r){return 131071&s|r<<17}(s[se+1],c)}else s[c+1]=xu(se,0),0!==se&&(s[se+1]=tp(s[se+1],c)),se=c;else s[c+1]=xu(Te,0),0===se?se=c:s[Te+1]=tp(s[Te+1],c),Te=c;Ge&&(s[c+1]=ep(s[c+1])),_m(s,yt,c,!0),_m(s,yt,c,!1),function A8(s,r,a,c,g){const w=g?s.residualClasses:s.residualStyles;null!=w&&"string"==typeof r&&$n(w,r)>=0&&(a[c+1]=np(a[c+1]))}(r,yt,s,c,w),H=xu(se,Te),w?r.classBindings=H:r.styleBindings=H}(g,w,r,a,H,c)}}function sp(s,r,a,c,g){let w=null;const H=a.directiveEnd;let se=a.directiveStylingLast;for(-1===se?se=a.directiveStart:se++;se0;){const Te=s[g],Ge=Array.isArray(Te),yt=Ge?Te[1]:Te,At=null===yt;let Zt=a[g+1];Zt===ci&&(Zt=At?Dt:void 0);let Gt=At?Rn(Zt,c):yt===c?Zt:void 0;if(Ge&&!Su(Gt)&&(Gt=Rn(Te,c)),Su(Gt)&&(se=Gt,H))return se;const un=s[g+1];g=H?ea(un):Aa(un)}if(null!==r){let Te=w?r.residualClasses:r.residualStyles;null!=Te&&(se=Rn(Te,c))}return se}function Su(s){return void 0!==s}function wm(s,r){return 0!=(s.flags&(r?8:16))}function Pm(s,r=""){const a=dn(),c=gi(),g=s+Xn,w=c.firstCreatePass?Dl(c,g,1,r,null):c.data[g],H=Im(c,a,w,r,s);a[g]=H,$r()&&yc(c,a,H,w),ns(w,!1)}let Im=(s,r,a,c,g)=>(or(!0),function mc(s,r){return s.createText(r)}(r[Nn],c));function rp(s){return Ou("",s,""),rp}function Ou(s,r,a){const c=dn(),g=xl(c,s,r,a);return g!==ci&&Rr(c,Jo(),g),Ou}function ap(s,r,a,c,g){const w=dn(),H=Sl(w,s,r,a,c,g);return H!==ci&&Rr(w,Jo(),H),ap}function Hm(s,r,a){dr(ls,Cr,xl(dn(),s,r,a),!0)}function Vm(s,r,a,c,g){dr(ls,Cr,Sl(dn(),s,r,a,c,g),!0)}function Um(s,r,a,c,g,w,H,se,Te){dr(ls,Cr,function wl(s,r,a,c,g,w,H,se,Te,Ge){const At=qs(s,$s(),a,g,H,Te);return xe(4),At?r+S(a)+c+S(g)+w+S(H)+se+S(Te)+Ge:ci}(dn(),s,r,a,c,g,w,H,se,Te),!0)}function lp(s,r,a){const c=dn();return _s(c,ue(),r)&&Ks(gi(),lo(),c,s,r,c[Nn],a,!0),lp}function cp(s,r,a){const c=dn();if(_s(c,ue(),r)){const w=gi(),H=lo();Ks(w,H,c,s,r,M2(on(w.data),H,c),a,!0)}return cp}const Na=void 0;var f_=["en",[["a","p"],["AM","PM"],Na],[["AM","PM"],Na,Na],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Na,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Na,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Na,"{1} 'at' {0}",Na],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function p_(s){const a=Math.floor(Math.abs(s)),c=s.toString().replace(/^[^.]*\.?/,"").length;return 1===a&&0===c?1:5}];let Rl={};function m_(s,r,a){"string"!=typeof r&&(a=r,r=s[Ll.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Rl[r]=s,a&&(Rl[r][Ll.ExtraData]=a)}function dp(s){const r=function g_(s){return s.toLowerCase().replace(/_/g,"-")}(s);let a=qm(r);if(a)return a;const c=r.split("-")[0];if(a=qm(c),a)return a;if("en"===c)return f_;throw new y(701,!1)}function Xm(s){return dp(s)[Ll.PluralCase]}function qm(s){return s in Rl||(Rl[s]=ht.ng&&ht.ng.common&&ht.ng.common.locales&&ht.ng.common.locales[s]),Rl[s]}var Ll=function(s){return s[s.LocaleId=0]="LocaleId",s[s.DayPeriodsFormat=1]="DayPeriodsFormat",s[s.DayPeriodsStandalone=2]="DayPeriodsStandalone",s[s.DaysFormat=3]="DaysFormat",s[s.DaysStandalone=4]="DaysStandalone",s[s.MonthsFormat=5]="MonthsFormat",s[s.MonthsStandalone=6]="MonthsStandalone",s[s.Eras=7]="Eras",s[s.FirstDayOfWeek=8]="FirstDayOfWeek",s[s.WeekendRange=9]="WeekendRange",s[s.DateFormat=10]="DateFormat",s[s.TimeFormat=11]="TimeFormat",s[s.DateTimeFormat=12]="DateTimeFormat",s[s.NumberSymbols=13]="NumberSymbols",s[s.NumberFormats=14]="NumberFormats",s[s.CurrencyCode=15]="CurrencyCode",s[s.CurrencySymbol=16]="CurrencySymbol",s[s.CurrencyName=17]="CurrencyName",s[s.Currencies=18]="Currencies",s[s.Directionality=19]="Directionality",s[s.PluralCase=20]="PluralCase",s[s.ExtraData=21]="ExtraData",s}(Ll||{});const Fl="en-US";let e4=Fl;function pp(s,r,a,c,g){if(s=f(s),Array.isArray(s))for(let w=0;w>20;if(Xr(s)||!s.multi){const Gt=new Sr(Ge,g,El),un=mp(Te,r,g?yt:yt+Zt,At);-1===un?(ga(ma(se,H),w,Te),fp(w,s,r.length),r.push(Te),se.directiveStart++,se.directiveEnd++,g&&(se.providerIndexes+=1048576),a.push(Gt),H.push(Gt)):(a[un]=Gt,H[un]=Gt)}else{const Gt=mp(Te,r,yt+Zt,At),un=mp(Te,r,yt,yt+Zt),Sn=un>=0&&a[un];if(g&&!Sn||!g&&!(Gt>=0&&a[Gt])){ga(ma(se,H),w,Te);const Wn=function fv(s,r,a,c,g){const w=new Sr(s,a,El);return w.multi=[],w.index=r,w.componentProviders=0,b4(w,g,c&&!a),w}(g?pv:hv,a.length,g,c,Ge);!g&&Sn&&(a[un].providerFactory=Wn),fp(w,s,r.length,0),r.push(Te),se.directiveStart++,se.directiveEnd++,g&&(se.providerIndexes+=1048576),a.push(Wn),H.push(Wn)}else fp(w,s,Gt>-1?Gt:un,b4(a[g?un:Gt],Ge,!g&&c));!g&&c&&Sn&&a[un].componentProviders++}}}function fp(s,r,a,c){const g=Xr(r),w=function Gh(s){return!!s.useClass}(r);if(g||w){const Te=(w?f(r.useClass):r).prototype.ngOnDestroy;if(Te){const Ge=s.destroyHooks||(s.destroyHooks=[]);if(!g&&r.multi){const yt=Ge.indexOf(a);-1===yt?Ge.push(a,[c,Te]):Ge[yt+1].push(c,Te)}else Ge.push(a,Te)}}}function b4(s,r,a){return a&&s.componentProviders++,s.multi.push(r)-1}function mp(s,r,a,c){for(let g=a;g{a.providersResolver=(c,g)=>function uv(s,r,a){const c=gi();if(c.firstCreatePass){const g=_t(s);pp(a,c.data,c.blueprint,g,!0),pp(r,c.data,c.blueprint,g,!1)}}(c,g?g(s):s,r)}}class ka{}class S4{}function mv(s,r){return new _p(s,r??null,[])}class _p extends ka{constructor(r,a,c){super(),this._parent=a,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new P2(this);const g=It(r);this._bootstrapComponents=kr(g.bootstrap),this._r3Injector=f1(r,a,[{provide:ka,useValue:this},{provide:yl,useValue:this.componentFactoryResolver},...c],v(r),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(r)}get injector(){return this._r3Injector}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(a=>a()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class vp extends S4{constructor(r){super(),this.moduleType=r}create(r){return new _p(this.moduleType,r,[])}}class O4 extends ka{constructor(r){super(),this.componentFactoryResolver=new P2(this),this.instance=null;const a=new Sc([...r.providers,{provide:ka,useValue:this},{provide:yl,useValue:this.componentFactoryResolver}],r.parent||xc(),r.debugName,new Set(["environment"]));this.injector=a,r.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function w4(s,r,a=null){return new O4({providers:s,parent:r,debugName:a,runEnvironmentInitializers:!0}).injector}let _v=(()=>{class s{constructor(a){this._injector=a,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){const c=jh(0,a.type),g=c.length>0?w4([c],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,g)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=oe({token:s,providedIn:"environment",factory:()=>new s(be(rr))})}return s})();function P4(s){s.getStandaloneInjector=r=>r.get(_v).getOrCreateStandaloneInjector(s)}function F4(s,r,a){const c=So()+s,g=dn();return g[c]===ci?yr(g,c,a?r.call(a):r()):Vc(g,c)}function B4(s,r,a,c){return Y4(dn(),So(),s,r,a,c)}function H4(s,r,a,c,g){return $4(dn(),So(),s,r,a,c,g)}function V4(s,r,a,c,g,w){return W4(dn(),So(),s,r,a,c,g,w)}function U4(s,r,a,c,g,w,H,se,Te){const Ge=So()+s,yt=dn(),At=qs(yt,Ge,a,c,g,w);return Ia(yt,Ge+4,H,se)||At?yr(yt,Ge+6,Te?r.call(Te,a,c,g,w,H,se):r(a,c,g,w,H,se)):Vc(yt,Ge+6)}function Qc(s,r){const a=s[r];return a===ci?void 0:a}function Y4(s,r,a,c,g,w){const H=r+a;return _s(s,H,g)?yr(s,H+1,w?c.call(w,g):c(g)):Qc(s,H+1)}function $4(s,r,a,c,g,w,H){const se=r+a;return Ia(s,se,g,w)?yr(s,se+2,H?c.call(H,g,w):c(g,w)):Qc(s,se+2)}function W4(s,r,a,c,g,w,H,se){const Te=r+a;return vu(s,Te,g,w,H)?yr(s,Te+3,se?c.call(se,g,w,H):c(g,w,H)):Qc(s,Te+3)}function Z4(s,r){const a=gi();let c;const g=s+Xn;a.firstCreatePass?(c=function Pv(s,r){if(r)for(let a=r.length-1;a>=0;a--){const c=r[a];if(s===c.name)return c}}(r,a.pipeRegistry),a.data[g]=c,c.onDestroy&&(a.destroyHooks??=[]).push(g,c.onDestroy)):c=a.data[g];const w=c.factory||(c.factory=Ao(c.type)),se=Me(El);try{const Te=fa(!1),Ge=w();return fa(Te),function C8(s,r,a,c){a>=s.data.length&&(s.data[a]=null,s.blueprint[a]=null),r[a]=c}(a,dn(),g,Ge),Ge}finally{Me(se)}}function J4(s,r,a){const c=s+Xn,g=dn(),w=hr(g,c);return Xc(g,c)?Y4(g,So(),r,w.transform,a,w):w.transform(a)}function G4(s,r,a,c){const g=s+Xn,w=dn(),H=hr(w,g);return Xc(w,g)?$4(w,So(),r,H.transform,a,c,H):H.transform(a,c)}function Q4(s,r,a,c,g){const w=s+Xn,H=dn(),se=hr(H,w);return Xc(H,w)?W4(H,So(),r,se.transform,a,c,g,se):se.transform(a,c,g)}function X4(s,r,a,c,g,w){const H=s+Xn,se=dn(),Te=hr(se,H);return Xc(se,H)?function j4(s,r,a,c,g,w,H,se,Te){const Ge=r+a;return qs(s,Ge,g,w,H,se)?yr(s,Ge+4,Te?c.call(Te,g,w,H,se):c(g,w,H,se)):Qc(s,Ge+4)}(se,So(),r,Te.transform,a,c,g,w,Te):Te.transform(a,c,g,w)}function Xc(s,r){return s[at].data[r].pure}function Av(){return this._results[Symbol.iterator]()}class Nu{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ar)}constructor(r=!1){this._emitDistinctChangesOnly=r,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const a=Nu.prototype;a[Symbol.iterator]||(a[Symbol.iterator]=Av)}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,a){return this._results.reduce(r,a)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,a){const c=this;c.dirty=!1;const g=function Co(s){return s.flat(Number.POSITIVE_INFINITY)}(r);(this._changesDetected=!function Ir(s,r,a){if(s.length!==r.length)return!1;for(let c=0;c0&&(a[g-1][Kt]=r),c{class s{static#e=this.__NG_ELEMENT_ID__=Fv}return s})();const Rv=qc,Lv=class extends Rv{constructor(r,a,c){super(),this._declarationLView=r,this._declarationTContainer=a,this.elementRef=c}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,a){return this.createEmbeddedViewImpl(r,a)}createEmbeddedViewImpl(r,a,c){const g=function Nv(s,r,a,c){const g=r.tView,se=hu(s,g,a,4096&s[Je]?4096:16,null,r,null,null,null,c?.injector??null,c?.hydrationInfo??null);se[wo]=s[r.index];const Ge=s[Hi];return null!==Ge&&(se[Hi]=Ge.createEmbeddedView(g)),R1(g,se,a),se}(this._declarationLView,this._declarationTContainer,r,{injector:a,hydrationInfo:c});return new Bc(g)}};function Fv(){return ku(vo(),dn())}function ku(s,r){return 4&s.type?new Lv(r,s,wa(s,r)):null}let Lu=(()=>{class s{static#e=this.__NG_ELEMENT_ID__=$v}return s})();function $v(){return sg(vo(),dn())}const Wv=Lu,ig=class extends Wv{constructor(r,a,c){super(),this._lContainer=r,this._hostTNode=a,this._hostLView=c}get element(){return wa(this._hostTNode,this._hostLView)}get injector(){return new is(this._hostTNode,this._hostLView)}get parentInjector(){const r=wr(this._hostTNode,this._hostLView);if(nl(r)){const a=Zr(r,this._hostLView),c=Kr(r);return new is(a[at].data[c+8],a)}return new is(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const a=og(this._lContainer);return null!==a&&a[r]||null}get length(){return this._lContainer.length-Ci}createEmbeddedView(r,a,c){let g,w;"number"==typeof c?g=c:null!=c&&(g=c.index,w=c.injector);const se=r.createEmbeddedViewImpl(a||{},w,null);return this.insertImpl(se,g,false),se}createComponent(r,a,c,g,w){const H=r&&!function yo(s){return"function"==typeof s}(r);let se;if(H)se=a;else{const vn=a||{};se=vn.index,c=vn.injector,g=vn.projectableNodes,w=vn.environmentInjector||vn.ngModuleRef}const Te=H?r:new Hc(Mt(r)),Ge=c||this.parentInjector;if(!w&&null==Te.ngModule){const Sn=(H?Ge:this.parentInjector).get(rr,null);Sn&&(w=Sn)}Mt(Te.componentType??{});const Gt=Te.create(Ge,g,null,w);return this.insertImpl(Gt.hostView,se,false),Gt}insert(r,a){return this.insertImpl(r,a,!1)}insertImpl(r,a,c){const g=r._lView;if(function Fa(s){return it(s[Rt])}(g)){const Te=this.indexOf(r);if(-1!==Te)this.detach(Te);else{const Ge=g[Rt],yt=new ig(Ge,Ge[mn],Ge[Rt]);yt.detach(yt.indexOf(r))}}const H=this._adjustIndex(a),se=this._lContainer;return kv(se,g,H,!c),r.attachToViewContainerRef(),js(Cp(se),H,r),r}move(r,a){return this.insert(r,a)}indexOf(r){const a=og(this._lContainer);return null!==a?a.indexOf(r):-1}remove(r){const a=this._adjustIndex(r,-1),c=_c(this._lContainer,a);c&&(Ds(Cp(this._lContainer),a),Ed(c[at],c))}detach(r){const a=this._adjustIndex(r,-1),c=_c(this._lContainer,a);return c&&null!=Ds(Cp(this._lContainer),a)?new Bc(c):null}_adjustIndex(r,a=0){return r??this.length+a}};function og(s){return s[8]}function Cp(s){return s[8]||(s[8]=[])}function sg(s,r){let a;const c=r[s.index];return it(c)?a=c:(a=y2(c,r,null,s),r[s.index]=a,pu(r,a)),rg(a,r,s,c),new ig(a,s,r)}let rg=function ag(s,r,a,c){if(s[Si])return;let g;g=8&a.type?Li(c):function jv(s,r){const a=s[Nn],c=a.createComment(""),g=Ko(r,s);return Gr(a,vc(a,g),c,function Pf(s,r){return s.nextSibling(r)}(a,g),!1),c}(r,a),s[Si]=g};class zp{constructor(r){this.queryList=r,this.matches=null}clone(){return new zp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Tp{constructor(r=[]){this.queries=r}createEmbeddedView(r){const a=r.queries;if(null!==a){const c=null!==r.contentQueries?r.contentQueries[0]:a.length,g=[];for(let w=0;w0)c.push(H[se/2]);else{const Ge=w[se+1],yt=r[-Te];for(let At=Ci;At{class s{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,c)=>{this.resolve=a,this.reject=c}),this.appInits=Ke(Ng,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const a=[];for(const g of this.appInits){const w=g();if(J1(w))a.push(w);else if(im(w)){const H=new Promise((se,Te)=>{w.subscribe({complete:se,error:Te})});a.push(H)}}const c=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{c()}).catch(g=>{this.reject(g)}),0===a.length&&c(),this.initialized=!0}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),kg=(()=>{class s{log(a){console.log(a)}warn(a){console.warn(a)}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"platform"})}return s})();const Bu=new Bi("LocaleId",{providedIn:"root",factory:()=>Ke(Bu,de.Optional|de.SkipSelf)||function T5(){return typeof $localize<"u"&&$localize.locale||Fl}()}),M5=new Bi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Rg=(()=>{class s{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new l.X(!1)}add(){this.hasPendingTasks.next(!0);const a=this.taskId++;return this.pendingTasks.add(a),a}remove(a){this.pendingTasks.delete(a),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();class D5{constructor(r,a){this.ngModuleFactory=r,this.componentFactories=a}}let b5=(()=>{class s{compileModuleSync(a){return new vp(a)}compileModuleAsync(a){return Promise.resolve(this.compileModuleSync(a))}compileModuleAndAllComponentsSync(a){const c=this.compileModuleSync(a),w=kr(It(a).declarations).reduce((H,se)=>{const Te=Mt(se);return Te&&H.push(new Hc(Te)),H},[]);return new D5(c,w)}compileModuleAndAllComponentsAsync(a){return Promise.resolve(this.compileModuleAndAllComponentsSync(a))}clearCache(){}clearCacheFor(a){}getModuleId(a){}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();const Hg=new Bi(""),Vg=new Bi("");let Np,j5=(()=>{class s{constructor(a,c,g){this._ngZone=a,this.registry=c,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Np||(function K5(s){Np=s}(g),g.addToWindow(c)),this._watchAngularEvents(),a.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Go.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let a=this._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb(this._didWork)}this._didWork=!1});else{let a=this.getPendingTasks();this._callbacks=this._callbacks.filter(c=>!c.updateCb||!c.updateCb(a)||(clearTimeout(c.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(a=>({source:a.source,creationLocation:a.creationLocation,data:a.data})):[]}addCallback(a,c,g){let w=-1;c&&c>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(H=>H.timeoutId!==w),a(this._didWork,this.getPendingTasks())},c)),this._callbacks.push({doneCb:a,timeoutId:w,updateCb:g})}whenStable(a,c,g){if(g&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(a,c,g),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(a){this.registry.registerApplication(a,this)}unregisterApplication(a){this.registry.unregisterApplication(a)}findProviders(a,c,g){return[]}static#e=this.\u0275fac=function(c){return new(c||s)(be(Go),be(Ug),be(Vg))};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac})}return s})(),Ug=(()=>{class s{constructor(){this._applications=new Map}registerApplication(a,c){this._applications.set(a,c)}unregisterApplication(a){this._applications.delete(a)}unregisterAllApplications(){this._applications.clear()}getTestability(a){return this._applications.get(a)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(a,c=!0){return Np?.findTestabilityInTree(this,a,c)??null}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"platform"})}return s})(),ta=null;const Yg=new Bi("AllowMultipleToken"),kp=new Bi("PlatformDestroyListeners"),Rp=new Bi("appBootstrapListener");class G5{constructor(r,a){this.name=r,this.token=a}}function jg(s,r,a=[]){const c=`Platform: ${r}`,g=new Bi(c);return(w=[])=>{let H=Lp();if(!H||H.injector.get(Yg,!1)){const se=[...a,...w,{provide:g,useValue:!0}];s?s(se):function Q5(s){if(ta&&!ta.get(Yg,!1))throw new y(400,!1);(function $g(){!function ia(s){tr=s}(()=>{throw new y(600,!1)})})(),ta=s;const r=s.get(Zg);(function Wg(s){s.get(qh,null)?.forEach(a=>a())})(s)}(function Kg(s=[],r){return Xs.create({name:r,providers:[{provide:$d,useValue:"platform"},{provide:kp,useValue:new Set([()=>ta=null])},...s]})}(se,c))}return function q5(s){const r=Lp();if(!r)throw new y(401,!1);return r}()}}function Lp(){return ta?.get(Zg)??null}let Zg=(()=>{class s{constructor(a){this._injector=a,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(a,c){const g=function e7(s="zone.js",r){return"noop"===s?new Z0:"zone.js"===s?new Go(r):s}(c?.ngZone,function Jg(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:s?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:s?.runCoalescing??!1}}({eventCoalescing:c?.ngZoneEventCoalescing,runCoalescing:c?.ngZoneRunCoalescing}));return g.run(()=>{const w=function gv(s,r,a){return new _p(s,r,a)}(a.moduleType,this.injector,function e3(s){return[{provide:Go,useFactory:s},{provide:gl,multi:!0,useFactory:()=>{const r=Ke(n7,{optional:!0});return()=>r.initialize()}},{provide:qg,useFactory:t7},{provide:C1,useFactory:z1}]}(()=>g)),H=w.injector.get(Nr,null);return g.runOutsideAngular(()=>{const se=g.onError.subscribe({next:Te=>{H.handleError(Te)}});w.onDestroy(()=>{Vu(this._modules,w),se.unsubscribe()})}),function Gg(s,r,a){try{const c=a();return J1(c)?c.catch(g=>{throw r.runOutsideAngular(()=>s.handleError(g)),g}):c}catch(c){throw r.runOutsideAngular(()=>s.handleError(c)),c}}(H,g,()=>{const se=w.injector.get(Pp);return se.runInitializers(),se.donePromise.then(()=>(function t4(s){ne(s,"Expected localeId to be defined"),"string"==typeof s&&(e4=s.toLowerCase().replace(/_/g,"-"))}(w.injector.get(Bu,Fl)||Fl),this._moduleDoBootstrap(w),w))})})}bootstrapModule(a,c=[]){const g=Qg({},c);return function Z5(s,r,a){const c=new vp(a);return Promise.resolve(c)}(0,0,a).then(w=>this.bootstrapModuleFactory(w,g))}_moduleDoBootstrap(a){const c=a.injector.get(Vl);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(g=>c.bootstrap(g));else{if(!a.instance.ngDoBootstrap)throw new y(-403,!1);a.instance.ngDoBootstrap(c)}this._modules.push(a)}onDestroy(a){this._destroyListeners.push(a)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(c=>c.destroy()),this._destroyListeners.forEach(c=>c());const a=this._injector.get(kp,null);a&&(a.forEach(c=>c()),a.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(c){return new(c||s)(be(Xs))};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"platform"})}return s})();function Qg(s,r){return Array.isArray(r)?r.reduce(Qg,s):{...s,...r}}let Vl=(()=>{class s{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ke(qg),this.zoneIsStable=Ke(C1),this.componentTypes=[],this.components=[],this.isStable=Ke(Rg).hasPendingTasks.pipe((0,u.w)(a=>a?(0,h.of)(!1):this.zoneIsStable),(0,z.x)(),(0,E.B)()),this._injector=Ke(rr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(a,c){const g=a instanceof n1;if(!this._injector.get(Pp).done)throw!g&&zt(a),new y(405,!1);let H;H=g?a:this._injector.get(yl).resolveComponentFactory(a),this.componentTypes.push(H.componentType);const se=function J5(s){return s.isBoundToModule}(H)?void 0:this._injector.get(ka),Ge=H.create(Xs.NULL,[],c||H.selector,se),yt=Ge.location.nativeElement,At=Ge.injector.get(Hg,null);return At?.registerApplication(yt),Ge.onDestroy(()=>{this.detachView(Ge.hostView),Vu(this.components,Ge),At?.unregisterApplication(yt)}),this._loadComponent(Ge),Ge}tick(){if(this._runningTick)throw new y(101,!1);try{this._runningTick=!0;for(let a of this._views)a.detectChanges()}catch(a){this.internalErrorHandler(a)}finally{this._runningTick=!1}}attachView(a){const c=a;this._views.push(c),c.attachToAppRef(this)}detachView(a){const c=a;Vu(this._views,c),c.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a);const c=this._injector.get(Rp,[]);c.push(...this._bootstrapListeners),c.forEach(g=>g(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>Vu(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new y(406,!1);const a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function Vu(s,r){const a=s.indexOf(r);a>-1&&s.splice(a,1)}const qg=new Bi("",{providedIn:"root",factory:()=>Ke(Nr).handleError.bind(void 0)});function t7(){const s=Ke(Go),r=Ke(Nr);return a=>s.runOutsideAngular(()=>r.handleError(a))}let n7=(()=>{class s{constructor(){this.zone=Ke(Go),this.applicationRef=Ke(Vl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(c){return new(c||s)};static#t=this.\u0275prov=oe({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function s7(){return!1}function r7(){}let a7=(()=>{class s{static#e=this.__NG_ELEMENT_ID__=l7}return s})();function l7(s){return function c7(s,r,a){if(Z(s)&&!a){const c=Zo(s.index,r);return new Bc(c,c)}return 47&s.type?new Bc(r[xi],r):null}(vo(),dn(),16==(16&s))}class s3{constructor(){}supports(r){return _u(r)}create(r){return new m7(r)}}const f7=(s,r)=>r;class m7{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||f7}forEachItem(r){let a;for(a=this._itHead;null!==a;a=a._next)r(a)}forEachOperation(r){let a=this._itHead,c=this._removalsHead,g=0,w=null;for(;a||c;){const H=!c||a&&a.currentIndex{H=this._trackByFn(g,se),null!==a&&Object.is(a.trackById,H)?(c&&(a=this._verifyReinsertion(a,se,H,g)),Object.is(a.item,se)||this._addIdentityChange(a,se)):(a=this._mismatch(a,se,H,g),c=!0),a=a._next,g++}),this.length=g;return this._truncate(a),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,a,c,g){let w;return null===r?w=this._itTail:(w=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._reinsertAfter(r,w,g)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(c,g))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._moveAfter(r,w,g)):r=this._addAfter(new g7(a,c),w,g),r}_verifyReinsertion(r,a,c,g){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);return null!==w?r=this._reinsertAfter(w,r._prev,g):r.currentIndex!=g&&(r.currentIndex=g,this._addToMoves(r,g)),r}_truncate(r){for(;null!==r;){const a=r._next;this._addToRemovals(this._unlink(r)),r=a}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(r,a,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const g=r._prevRemoved,w=r._nextRemoved;return null===g?this._removalsHead=w:g._nextRemoved=w,null===w?this._removalsTail=g:w._prevRemoved=g,this._insertAfter(r,a,c),this._addToMoves(r,c),r}_moveAfter(r,a,c){return this._unlink(r),this._insertAfter(r,a,c),this._addToMoves(r,c),r}_addAfter(r,a,c){return this._insertAfter(r,a,c),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,a,c){const g=null===a?this._itHead:a._next;return r._next=g,r._prev=a,null===g?this._itTail=r:g._prev=r,null===a?this._itHead=r:a._next=r,null===this._linkedRecords&&(this._linkedRecords=new r3),this._linkedRecords.put(r),r.currentIndex=c,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const a=r._prev,c=r._next;return null===a?this._itHead=c:a._next=c,null===c?this._itTail=a:c._prev=a,r}_addToMoves(r,a){return r.previousIndex===a||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new r3),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,a){return r.item=a,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class g7{constructor(r,a){this.item=r,this.trackById=a,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class _7{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,a){let c;for(c=this._head;null!==c;c=c._nextDup)if((null===a||a<=c.currentIndex)&&Object.is(c.trackById,r))return c;return null}remove(r){const a=r._prevDup,c=r._nextDup;return null===a?this._head=c:a._nextDup=c,null===c?this._tail=a:c._prevDup=a,null===this._head}}class r3{constructor(){this.map=new Map}put(r){const a=r.trackById;let c=this.map.get(a);c||(c=new _7,this.map.set(a,c)),c.add(r)}get(r,a){const g=this.map.get(r);return g?g.get(r,a):null}remove(r){const a=r.trackById;return this.map.get(a).remove(r)&&this.map.delete(a),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function a3(s,r,a){const c=s.previousIndex;if(null===c)return c;let g=0;return a&&c{if(a&&a.key===g)this._maybeAddToChanges(a,c),this._appendAfter=a,a=a._next;else{const w=this._getOrCreateRecordForKey(g,c);a=this._insertBeforeOrAppend(a,w)}}),a){a._prev&&(a._prev._next=null),this._removalsHead=a;for(let c=a;null!==c;c=c._nextRemoved)c===this._mapHead&&(this._mapHead=null),this._records.delete(c.key),c._nextRemoved=c._next,c.previousValue=c.currentValue,c.currentValue=null,c._prev=null,c._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,a){if(r){const c=r._prev;return a._next=r,a._prev=c,r._prev=a,c&&(c._next=a),r===this._mapHead&&(this._mapHead=a),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=a,a._prev=this._appendAfter):this._mapHead=a,this._appendAfter=a,null}_getOrCreateRecordForKey(r,a){if(this._records.has(r)){const g=this._records.get(r);this._maybeAddToChanges(g,a);const w=g._prev,H=g._next;return w&&(w._next=H),H&&(H._prev=w),g._next=null,g._prev=null,g}const c=new y7(r);return this._records.set(r,c),c.currentValue=a,this._addToAdditions(c),c}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,a){Object.is(a,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=a,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,a){r instanceof Map?r.forEach(a):Object.keys(r).forEach(c=>a(r[c],c))}}class y7{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function c3(){return new Up([new s3])}let Up=(()=>{class s{static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:c3});constructor(a){this.factories=a}static create(a,c){if(null!=c){const g=c.factories.slice();a=a.concat(g)}return new s(a)}static extend(a){return{provide:s,useFactory:c=>s.create(a,c||c3()),deps:[[s,new mr,new os]]}}find(a){const c=this.factories.find(g=>g.supports(a));if(null!=c)return c;throw new y(901,!1)}}return s})();function d3(){return new Yp([new l3])}let Yp=(()=>{class s{static#e=this.\u0275prov=oe({token:s,providedIn:"root",factory:d3});constructor(a){this.factories=a}static create(a,c){if(c){const g=c.factories.slice();a=a.concat(g)}return new s(a)}static extend(a){return{provide:s,useFactory:c=>s.create(a,c||d3()),deps:[[s,new mr,new os]]}}find(a){const c=this.factories.find(g=>g.supports(a));if(c)return c;throw new y(901,!1)}}return s})();const T7=jg(null,"core",[]);let M7=(()=>{class s{constructor(a){}static#e=this.\u0275fac=function(c){return new(c||s)(be(Vl))};static#t=this.\u0275mod=bi({type:s});static#n=this.\u0275inj=Q({})}return s})();function N7(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}function R7(s,r){const a=Mt(s),c=r.elementInjector||xc();return new Hc(a).create(c,r.projectableNodes,r.hostElement,r.environmentInjector)}function L7(s){const r=Mt(s);if(!r)return null;const a=new Hc(r);return{get selector(){return a.selector},get type(){return a.componentType},get inputs(){return a.inputs},get outputs(){return a.outputs},get ngContentSelectors(){return a.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}},71993:(tt,I,o)=>{"use strict";o.d(I,{sL:()=>i});var e=o(65879),n=o(65592),t=o(59773);function i(we){we||((0,e.gHi)(i),we=(0,e.f3M)(e.ktI));const de=new n.y(U=>we.onDestroy(U.next.bind(U)));return U=>U.pipe((0,t.R)(de))}},19288:(tt,I,o)=>{"use strict";o.r(I),o.d(I,{NgElement:()=>y,VERSION:()=>S,createCustomElement:()=>P});var e=o(65879),n=o(97328),t=o(63019),i=o(94664),l=o(37398);const h={schedule(A,k){const R=setTimeout(A,k);return()=>clearTimeout(R)},scheduleBeforeRender(A){if(typeof window>"u")return h.schedule(A,0);if(typeof window.requestAnimationFrame>"u")return h.schedule(A,16);const k=window.requestAnimationFrame(A);return()=>window.cancelAnimationFrame(k)}};let p;function C(A,k,R){let W=R;return function u(A){return!!A&&A.nodeType===Node.ELEMENT_NODE}(A)&&k.some((j,ze)=>!("*"===j||!function v(A,k){if(!p){const R=Element.prototype;p=R.matches||R.matchesSelector||R.mozMatchesSelector||R.msMatchesSelector||R.oMatchesSelector||R.webkitMatchesSelector}return A.nodeType===Node.ELEMENT_NODE&&p.call(A,k)}(A,j)||(W=ze,0))),W}class b{constructor(k,R){this.componentFactory=R.get(e._Vd).resolveComponentFactory(k)}create(k){return new D(this.componentFactory,k)}}class D{constructor(k,R){this.componentFactory=k,this.injector=R,this.eventEmitters=new n.t(1),this.events=this.eventEmitters.pipe((0,i.w)(W=>(0,t.T)(...W))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:W})=>W)),this.ngZone=this.injector.get(e.R0b),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(k){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(k)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=h.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(k){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(k):this.componentRef.instance[k])}setInputValue(k,R,W){this.runInZone(()=>{W&&(R=W.call(this.componentRef?.instance,R)),null!==this.componentRef?function _(A,k){return A===k||A!=A&&k!=k}(R,this.getInputValue(k))&&(void 0!==R||!this.unchangedInputs.has(k))||(this.recordInputChange(k,R),this.unchangedInputs.delete(k),this.hasInputChanges=!0,this.componentRef.instance[k]=R,this.scheduleDetectChanges()):this.initialInputValues.set(k,R)})}initializeComponent(k){const R=e.zs3.create({providers:[],parent:this.injector}),W=function f(A,k){const R=A.childNodes,W=k.map(()=>[]);let j=-1;k.some((ze,Y)=>"*"===ze&&(j=Y,!0));for(let ze=0,Y=R.length;ze{this.initialInputValues.has(k)&&this.setInputValue(k,this.initialInputValues.get(k),R)}),this.initialInputValues.clear()}initializeOutputs(k){const R=this.componentFactory.outputs.map(({propName:W,templateName:j})=>k.instance[W].pipe((0,l.U)(Y=>({name:j,value:Y}))));this.eventEmitters.next(R)}callNgOnChanges(k){if(!this.implementsOnChanges||null===this.inputChanges)return;const R=this.inputChanges;this.inputChanges=null,k.instance.ngOnChanges(R)}markViewForCheck(k){this.hasInputChanges&&(this.hasInputChanges=!1,k.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=h.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(k,R){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const W=this.inputChanges[k];if(W)return void(W.currentValue=R);const j=this.unchangedInputs.has(k),ze=j?void 0:this.getInputValue(k);this.inputChanges[k]=new e.WD2(ze,R,j)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(k){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(k):k()}}class y extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function P(A,k){const R=function m(A,k){return k.get(e._Vd).resolveComponentFactory(A).inputs}(A,k.injector),W=k.strategyFactory||new b(A,k.injector),j=function d(A){const k={};return A.forEach(({propName:R,templateName:W,transform:j})=>{k[function E(A){return A.replace(/[A-Z]/g,k=>`-${k.toLowerCase()}`)}(W)]=[R,j]}),k}(R);class ze extends y{static#e=this.observedAttributes=Object.keys(j);get ngElementStrategy(){if(!this._ngElementStrategy){const G=this._ngElementStrategy=W.create(this.injector||k.injector);R.forEach(({propName:V,transform:K})=>{if(!this.hasOwnProperty(V))return;const ee=this[V];delete this[V],G.setInputValue(V,ee,K)})}return this._ngElementStrategy}constructor(G){super(),this.injector=G}attributeChangedCallback(G,V,K,ee){const[te,pe]=j[G];this.ngElementStrategy.setInputValue(te,K,pe)}connectedCallback(){let G=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),G=!0),this.ngElementStrategy.connect(this),G||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(G=>{const V=new CustomEvent(G.name,{detail:G.value});this.dispatchEvent(V)})}}return R.forEach(({propName:Y,transform:G})=>{Object.defineProperty(ze.prototype,Y,{get(){return this.ngElementStrategy.getInputValue(Y)},set(V){this.ngElementStrategy.setInputValue(Y,V,G)},configurable:!0,enumerable:!0})}),ze}const S=new e.GfV("16.2.10")},60095:(tt,I,o)=>{"use strict";o.d(I,{TO:()=>be,ve:()=>D,Wl:()=>C,Fj:()=>y,NI:()=>Ni,oH:()=>bt,u:()=>Ai,cw:()=>Qe,sg:()=>Je,u5:()=>vs,nD:()=>Qt,JU:()=>m,a5:()=>ot,JJ:()=>U,JL:()=>B,F:()=>to,On:()=>Pi,c5:()=>dt,UX:()=>$o,Q7:()=>To,kI:()=>W,_Y:()=>ni});var e=o(65879),n=o(96814),t=o(7715),i=o(65592),l=o(17453),h=o(54829),E=o(79940),u=o(8251),z=o(97400),M=o(92714),v=o(37398);let _=(()=>{class st{constructor(Ve,Et){this._renderer=Ve,this._elementRef=Et,this.onChange=$t=>{},this.onTouched=()=>{}}setProperty(Ve,Et){this._renderer.setProperty(this._elementRef.nativeElement,Ve,Et)}registerOnTouched(Ve){this.onTouched=Ve}registerOnChange(Ve){this.onChange=Ve}setDisabledState(Ve){this.setProperty("disabled",Ve)}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:st})}return st})(),d=(()=>{class st extends _{static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,features:[e.qOj]})}return st})();const m=new e.OlP("NgValueAccessor"),f={provide:m,useExisting:(0,e.Gpc)(()=>C),multi:!0};let C=(()=>{class st extends d{writeValue(Ve){this.setProperty("checked",Ve)}static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Et,$t){1&Et&&e.NdJ("change",function(jn){return $t.onChange(jn.target.checked)})("blur",function(){return $t.onTouched()})},features:[e._Bn([f]),e.qOj]})}return st})();const T={provide:m,useExisting:(0,e.Gpc)(()=>y),multi:!0},D=new e.OlP("CompositionEventMode");let y=(()=>{class st extends _{constructor(Ve,Et,$t){super(Ve,Et),this._compositionMode=$t,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function b(){const st=(0,n.q)()?(0,n.q)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(Ve){this.setProperty("value",Ve??"")}_handleInput(Ve){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ve)}_compositionStart(){this._composing=!0}_compositionEnd(Ve){this._composing=!1,this._compositionMode&&this.onChange(Ve)}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(D,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Et,$t){1&Et&&e.NdJ("input",function(jn){return $t._handleInput(jn.target.value)})("blur",function(){return $t.onTouched()})("compositionstart",function(){return $t._compositionStart()})("compositionend",function(jn){return $t._compositionEnd(jn.target.value)})},features:[e._Bn([T]),e.qOj]})}return st})();function P(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function S(st){return null!=st&&"number"==typeof st.length}const A=new e.OlP("NgValidators"),k=new e.OlP("NgAsyncValidators"),R=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class W{static min(ut){return function j(st){return ut=>{if(P(ut.value)||P(st))return null;const Ve=parseFloat(ut.value);return!isNaN(Ve)&&Ve{if(P(ut.value)||P(st))return null;const Ve=parseFloat(ut.value);return!isNaN(Ve)&&Ve>st?{max:{max:st,actual:ut.value}}:null}}(ut)}static required(ut){return Y(ut)}static requiredTrue(ut){return function G(st){return!0===st.value?null:{required:!0}}(ut)}static email(ut){return function V(st){return P(st.value)||R.test(st.value)?null:{email:!0}}(ut)}static minLength(ut){return function K(st){return ut=>P(ut.value)||!S(ut.value)?null:ut.value.lengthS(ut.value)&&ut.value.length>st?{maxlength:{requiredLength:st,actualLength:ut.value.length}}:null}function te(st){if(!st)return pe;let ut,Ve;return"string"==typeof st?(Ve="","^"!==st.charAt(0)&&(Ve+="^"),Ve+=st,"$"!==st.charAt(st.length-1)&&(Ve+="$"),ut=new RegExp(Ve)):(Ve=st.toString(),ut=st),Et=>{if(P(Et.value))return null;const $t=Et.value;return ut.test($t)?null:{pattern:{requiredPattern:Ve,actualValue:$t}}}}function pe(st){return null}function re(st){return null!=st}function De(st){return(0,e.QGY)(st)?(0,t.D)(st):st}function ae(st){let ut={};return st.forEach(Ve=>{ut=null!=Ve?{...ut,...Ve}:ut}),0===Object.keys(ut).length?null:ut}function ce(st,ut){return ut.map(Ve=>Ve(st))}function ne(st){return st.map(ut=>function X(st){return!st.validate}(ut)?ut:Ve=>ut.validate(Ve))}function le(st){if(!st)return null;const ut=st.filter(re);return 0==ut.length?null:function(Ve){return ae(ce(Ve,ut))}}function Se(st){return null!=st?le(ne(st)):null}function Ne(st){if(!st)return null;const ut=st.filter(re);return 0==ut.length?null:function(Ve){return function p(...st){const ut=(0,E.jO)(st),{args:Ve,keys:Et}=(0,l.D)(st),$t=new i.y(In=>{const{length:jn}=Ve;if(!jn)return void In.complete();const ho=new Array(jn);let Wo=jn,Fo=jn;for(let Ao=0;Ao{go||(go=!0,Fo--),ho[Ao]=Ss},()=>Wo--,void 0,()=>{(!Wo||!go)&&(Fo||In.next(Et?(0,M.n)(Et,ho):ho),In.complete())}))}});return ut?$t.pipe((0,z.Z)(ut)):$t}(ce(Ve,ut).map(De)).pipe((0,v.U)(ae))}}function ke(st){return null!=st?Ne(ne(st)):null}function oe(st,ut){return null===st?[ut]:Array.isArray(st)?[...st,ut]:[st,ut]}function _e(st){return st._rawValidators}function Q(st){return st._rawAsyncValidators}function He(st){return st?Array.isArray(st)?st:[st]:[]}function Re(st,ut){return Array.isArray(st)?st.includes(ut):st===ut}function lt(st,ut){const Ve=He(ut);return He(st).forEach($t=>{Re(Ve,$t)||Ve.push($t)}),Ve}function Pe(st,ut){return He(ut).filter(Ve=>!Re(st,Ve))}class xt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ut){this._rawValidators=ut||[],this._composedValidatorFn=Se(this._rawValidators)}_setAsyncValidators(ut){this._rawAsyncValidators=ut||[],this._composedAsyncValidatorFn=ke(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ut){this._onDestroyCallbacks.push(ut)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ut=>ut()),this._onDestroyCallbacks=[]}reset(ut=void 0){this.control&&this.control.reset(ut)}hasError(ut,Ve){return!!this.control&&this.control.hasError(ut,Ve)}getError(ut,Ve){return this.control?this.control.getError(ut,Ve):null}}class $e extends xt{get formDirective(){return null}get path(){return null}}class ot extends xt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class mt{constructor(ut){this._cd=ut}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let U=(()=>{class st extends mt{constructor(Ve){super(Ve)}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(ot,2))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Et,$t){2&Et&&e.ekj("ng-untouched",$t.isUntouched)("ng-touched",$t.isTouched)("ng-pristine",$t.isPristine)("ng-dirty",$t.isDirty)("ng-valid",$t.isValid)("ng-invalid",$t.isInvalid)("ng-pending",$t.isPending)},features:[e.qOj]})}return st})(),B=(()=>{class st extends mt{constructor(Ve){super(Ve)}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36($e,10))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Et,$t){2&Et&&e.ekj("ng-untouched",$t.isUntouched)("ng-touched",$t.isTouched)("ng-pristine",$t.isPristine)("ng-dirty",$t.isDirty)("ng-valid",$t.isValid)("ng-invalid",$t.isInvalid)("ng-pending",$t.isPending)("ng-submitted",$t.isSubmitted)},features:[e.qOj]})}return st})();const St="VALID",qe="INVALID",Fe="PENDING",fe="DISABLED";function Xe(st){return(We(st)?st.validators:st)||null}function je(st,ut){return(We(ut)?ut.asyncValidators:st)||null}function We(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}class be{constructor(ut,Ve){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ut),this._assignAsyncValidators(Ve)}get validator(){return this._composedValidatorFn}set validator(ut){this._rawValidators=this._composedValidatorFn=ut}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ut){this._rawAsyncValidators=this._composedAsyncValidatorFn=ut}get parent(){return this._parent}get valid(){return this.status===St}get invalid(){return this.status===qe}get pending(){return this.status==Fe}get disabled(){return this.status===fe}get enabled(){return this.status!==fe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ut){this._assignValidators(ut)}setAsyncValidators(ut){this._assignAsyncValidators(ut)}addValidators(ut){this.setValidators(lt(ut,this._rawValidators))}addAsyncValidators(ut){this.setAsyncValidators(lt(ut,this._rawAsyncValidators))}removeValidators(ut){this.setValidators(Pe(ut,this._rawValidators))}removeAsyncValidators(ut){this.setAsyncValidators(Pe(ut,this._rawAsyncValidators))}hasValidator(ut){return Re(this._rawValidators,ut)}hasAsyncValidator(ut){return Re(this._rawAsyncValidators,ut)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ut={}){this.touched=!0,this._parent&&!ut.onlySelf&&this._parent.markAsTouched(ut)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ut=>ut.markAllAsTouched())}markAsUntouched(ut={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ve=>{Ve.markAsUntouched({onlySelf:!0})}),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut)}markAsDirty(ut={}){this.pristine=!1,this._parent&&!ut.onlySelf&&this._parent.markAsDirty(ut)}markAsPristine(ut={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ve=>{Ve.markAsPristine({onlySelf:!0})}),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut)}markAsPending(ut={}){this.status=Fe,!1!==ut.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ut.onlySelf&&this._parent.markAsPending(ut)}disable(ut={}){const Ve=this._parentMarkedDirty(ut.onlySelf);this.status=fe,this.errors=null,this._forEachChild(Et=>{Et.disable({...ut,onlySelf:!0})}),this._updateValue(),!1!==ut.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ut,skipPristineCheck:Ve}),this._onDisabledChange.forEach(Et=>Et(!0))}enable(ut={}){const Ve=this._parentMarkedDirty(ut.onlySelf);this.status=St,this._forEachChild(Et=>{Et.enable({...ut,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent}),this._updateAncestors({...ut,skipPristineCheck:Ve}),this._onDisabledChange.forEach(Et=>Et(!1))}_updateAncestors(ut){this._parent&&!ut.onlySelf&&(this._parent.updateValueAndValidity(ut),ut.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ut){this._parent=ut}getRawValue(){return this.value}updateValueAndValidity(ut={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===St||this.status===Fe)&&this._runAsyncValidator(ut.emitEvent)),!1!==ut.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ut.onlySelf&&this._parent.updateValueAndValidity(ut)}_updateTreeValidity(ut={emitEvent:!0}){this._forEachChild(Ve=>Ve._updateTreeValidity(ut)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fe:St}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ut){if(this.asyncValidator){this.status=Fe,this._hasOwnPendingAsyncValidator=!0;const Ve=De(this.asyncValidator(this));this._asyncValidationSubscription=Ve.subscribe(Et=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Et,{emitEvent:ut})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ut,Ve={}){this.errors=ut,this._updateControlsErrors(!1!==Ve.emitEvent)}get(ut){let Ve=ut;return null==Ve||(Array.isArray(Ve)||(Ve=Ve.split(".")),0===Ve.length)?null:Ve.reduce((Et,$t)=>Et&&Et._find($t),this)}getError(ut,Ve){const Et=Ve?this.get(Ve):this;return Et&&Et.errors?Et.errors[ut]:null}hasError(ut,Ve){return!!this.getError(ut,Ve)}get root(){let ut=this;for(;ut._parent;)ut=ut._parent;return ut}_updateControlsErrors(ut){this.status=this._calculateStatus(),ut&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ut)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?fe:this.errors?qe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fe)?Fe:this._anyControlsHaveStatus(qe)?qe:St}_anyControlsHaveStatus(ut){return this._anyControls(Ve=>Ve.status===ut)}_anyControlsDirty(){return this._anyControls(ut=>ut.dirty)}_anyControlsTouched(){return this._anyControls(ut=>ut.touched)}_updatePristine(ut={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut)}_updateTouched(ut={}){this.touched=this._anyControlsTouched(),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut)}_registerOnCollectionChange(ut){this._onCollectionChange=ut}_setUpdateStrategy(ut){We(ut)&&null!=ut.updateOn&&(this._updateOn=ut.updateOn)}_parentMarkedDirty(ut){return!ut&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ut){return null}_assignValidators(ut){this._rawValidators=Array.isArray(ut)?ut.slice():ut,this._composedValidatorFn=function ge(st){return Array.isArray(st)?Se(st):st||null}(this._rawValidators)}_assignAsyncValidators(ut){this._rawAsyncValidators=Array.isArray(ut)?ut.slice():ut,this._composedAsyncValidatorFn=function Ye(st){return Array.isArray(st)?ke(st):st||null}(this._rawAsyncValidators)}}class Qe extends be{constructor(ut,Ve,Et){super(Xe(Ve),je(Et,Ve)),this.controls=ut,this._initObservables(),this._setUpdateStrategy(Ve),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ut,Ve){return this.controls[ut]?this.controls[ut]:(this.controls[ut]=Ve,Ve.setParent(this),Ve._registerOnCollectionChange(this._onCollectionChange),Ve)}addControl(ut,Ve,Et={}){this.registerControl(ut,Ve),this.updateValueAndValidity({emitEvent:Et.emitEvent}),this._onCollectionChange()}removeControl(ut,Ve={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}setControl(ut,Ve,Et={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],Ve&&this.registerControl(ut,Ve),this.updateValueAndValidity({emitEvent:Et.emitEvent}),this._onCollectionChange()}contains(ut){return this.controls.hasOwnProperty(ut)&&this.controls[ut].enabled}setValue(ut,Ve={}){(function Ee(st,ut,Ve){st._forEachChild((Et,$t)=>{if(void 0===Ve[$t])throw new e.vHH(1002,"")})})(this,0,ut),Object.keys(ut).forEach(Et=>{(function wt(st,ut,Ve){const Et=st.controls;if(!(ut?Object.keys(Et):Et).length)throw new e.vHH(1e3,"");if(!Et[Ve])throw new e.vHH(1001,"")})(this,!0,Et),this.controls[Et].setValue(ut[Et],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){null!=ut&&(Object.keys(ut).forEach(Et=>{const $t=this.controls[Et];$t&&$t.patchValue(ut[Et],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve))}reset(ut={},Ve={}){this._forEachChild((Et,$t)=>{Et.reset(ut?ut[$t]:null,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this._updatePristine(Ve),this._updateTouched(Ve),this.updateValueAndValidity(Ve)}getRawValue(){return this._reduceChildren({},(ut,Ve,Et)=>(ut[Et]=Ve.getRawValue(),ut))}_syncPendingControls(){let ut=this._reduceChildren(!1,(Ve,Et)=>!!Et._syncPendingControls()||Ve);return ut&&this.updateValueAndValidity({onlySelf:!0}),ut}_forEachChild(ut){Object.keys(this.controls).forEach(Ve=>{const Et=this.controls[Ve];Et&&ut(Et,Ve)})}_setUpControls(){this._forEachChild(ut=>{ut.setParent(this),ut._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ut){for(const[Ve,Et]of Object.entries(this.controls))if(this.contains(Ve)&&ut(Et))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ve,Et,$t)=>((Et.enabled||this.disabled)&&(Ve[$t]=Et.value),Ve))}_reduceChildren(ut,Ve){let Et=ut;return this._forEachChild(($t,In)=>{Et=Ve(Et,$t,In)}),Et}_allControlsDisabled(){for(const ut of Object.keys(this.controls))if(this.controls[ut].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ut){return this.controls.hasOwnProperty(ut)?this.controls[ut]:null}}const x=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>N}),N="always";function O(st,ut){return[...ut.path,st]}function $(st,ut,Ve=N){Dt(st,ut),ut.valueAccessor.writeValue(st.value),(st.disabled||"always"===Ve)&&ut.valueAccessor.setDisabledState?.(st.disabled),function rn(st,ut){ut.valueAccessor.registerOnChange(Ve=>{st._pendingValue=Ve,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&yn(st,ut)})}(st,ut),function Mn(st,ut){const Ve=(Et,$t)=>{ut.valueAccessor.writeValue(Et),$t&&ut.viewToModelUpdate(Et)};st.registerOnChange(Ve),ut._registerOnDestroy(()=>{st._unregisterOnChange(Ve)})}(st,ut),function hn(st,ut){ut.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&yn(st,ut),"submit"!==st.updateOn&&st.markAsTouched()})}(st,ut),function Ce(st,ut){if(ut.valueAccessor.setDisabledState){const Ve=Et=>{ut.valueAccessor.setDisabledState(Et)};st.registerOnDisabledChange(Ve),ut._registerOnDestroy(()=>{st._unregisterOnDisabledChange(Ve)})}}(st,ut)}function L(st,ut,Ve=!0){const Et=()=>{};ut.valueAccessor&&(ut.valueAccessor.registerOnChange(Et),ut.valueAccessor.registerOnTouched(Et)),Yt(st,ut),st&&(ut._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function he(st,ut){st.forEach(Ve=>{Ve.registerOnValidatorChange&&Ve.registerOnValidatorChange(ut)})}function Dt(st,ut){const Ve=_e(st);null!==ut.validator?st.setValidators(oe(Ve,ut.validator)):"function"==typeof Ve&&st.setValidators([Ve]);const Et=Q(st);null!==ut.asyncValidator?st.setAsyncValidators(oe(Et,ut.asyncValidator)):"function"==typeof Et&&st.setAsyncValidators([Et]);const $t=()=>st.updateValueAndValidity();he(ut._rawValidators,$t),he(ut._rawAsyncValidators,$t)}function Yt(st,ut){let Ve=!1;if(null!==st){if(null!==ut.validator){const $t=_e(st);if(Array.isArray($t)&&$t.length>0){const In=$t.filter(jn=>jn!==ut.validator);In.length!==$t.length&&(Ve=!0,st.setValidators(In))}}if(null!==ut.asyncValidator){const $t=Q(st);if(Array.isArray($t)&&$t.length>0){const In=$t.filter(jn=>jn!==ut.asyncValidator);In.length!==$t.length&&(Ve=!0,st.setAsyncValidators(In))}}}const Et=()=>{};return he(ut._rawValidators,Et),he(ut._rawAsyncValidators,Et),Ve}function yn(st,ut){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),ut.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function En(st,ut){Dt(st,ut)}function di(st,ut){if(!st.hasOwnProperty("model"))return!1;const Ve=st.model;return!!Ve.isFirstChange()||!Object.is(ut,Ve.currentValue)}function ai(st,ut){st._syncPendingControls(),ut.forEach(Ve=>{const Et=Ve.control;"submit"===Et.updateOn&&Et._pendingChange&&(Ve.viewToModelUpdate(Et._pendingValue),Et._pendingChange=!1)})}function ri(st,ut){if(!ut)return null;let Ve,Et,$t;return Array.isArray(ut),ut.forEach(In=>{In.constructor===y?Ve=In:function oi(st){return Object.getPrototypeOf(st.constructor)===d}(In)?Et=In:$t=In}),$t||Et||Ve||null}const li={provide:$e,useExisting:(0,e.Gpc)(()=>to)},fi=(()=>Promise.resolve())();let to=(()=>{class st extends $e{constructor(Ve,Et,$t){super(),this.callSetDisabledState=$t,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Qe({},Se(Ve),ke(Et))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ve){fi.then(()=>{const Et=this._findContainer(Ve.path);Ve.control=Et.registerControl(Ve.name,Ve.control),$(Ve.control,Ve,this.callSetDisabledState),Ve.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ve)})}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){fi.then(()=>{const Et=this._findContainer(Ve.path);Et&&Et.removeControl(Ve.name),this._directives.delete(Ve)})}addFormGroup(Ve){fi.then(()=>{const Et=this._findContainer(Ve.path),$t=new Qe({});En($t,Ve),Et.registerControl(Ve.name,$t),$t.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ve){fi.then(()=>{const Et=this._findContainer(Ve.path);Et&&Et.removeControl(Ve.name)})}getFormGroup(Ve){return this.form.get(Ve.path)}updateModel(Ve,Et){fi.then(()=>{this.form.get(Ve.path).setValue(Et)})}setValue(Ve){this.control.setValue(Ve)}onSubmit(Ve){return this.submitted=!0,ai(this.form,this._directives),this.ngSubmit.emit(Ve),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ve){return Ve.pop(),Ve.length?this.form.get(Ve):this.form}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(A,10),e.Y36(k,10),e.Y36(x,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Et,$t){1&Et&&e.NdJ("submit",function(jn){return $t.onSubmit(jn)})("reset",function(){return $t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([li]),e.qOj]})}return st})();function oo(st,ut){const Ve=st.indexOf(ut);Ve>-1&&st.splice(Ve,1)}function Zi(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const Ni=class extends be{constructor(ut=null,Ve,Et){super(Xe(Ve),je(Et,Ve)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ut),this._setUpdateStrategy(Ve),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),We(Ve)&&(Ve.nonNullable||Ve.initialValueIsDefault)&&(this.defaultValue=Zi(ut)?ut.value:ut)}setValue(ut,Ve={}){this.value=this._pendingValue=ut,this._onChange.length&&!1!==Ve.emitModelToViewChange&&this._onChange.forEach(Et=>Et(this.value,!1!==Ve.emitViewToModelChange)),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){this.setValue(ut,Ve)}reset(ut=this.defaultValue,Ve={}){this._applyFormState(ut),this.markAsPristine(Ve),this.markAsUntouched(Ve),this.setValue(this.value,Ve),this._pendingChange=!1}_updateValue(){}_anyControls(ut){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ut){this._onChange.push(ut)}_unregisterOnChange(ut){oo(this._onChange,ut)}registerOnDisabledChange(ut){this._onDisabledChange.push(ut)}_unregisterOnDisabledChange(ut){oo(this._onDisabledChange,ut)}_forEachChild(ut){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ut){Zi(ut)?(this.value=this._pendingValue=ut.value,ut.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ut}},bi={provide:ot,useExisting:(0,e.Gpc)(()=>Pi)},Ri=(()=>Promise.resolve())();let Pi=(()=>{class st extends ot{constructor(Ve,Et,$t,In,jn,ho){super(),this._changeDetectorRef=jn,this.callSetDisabledState=ho,this.control=new Ni,this._registered=!1,this.name="",this.update=new e.vpe,this._parent=Ve,this._setValidators(Et),this._setAsyncValidators($t),this.valueAccessor=ri(0,In)}ngOnChanges(Ve){if(this._checkForErrors(),!this._registered||"name"in Ve){if(this._registered&&(this._checkName(),this.formDirective)){const Et=Ve.name.previousValue;this.formDirective.removeControl({name:Et,path:this._getPath(Et)})}this._setUpControl()}"isDisabled"in Ve&&this._updateDisabled(Ve),di(Ve,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){$(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ve){Ri.then(()=>{this.control.setValue(Ve,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ve){const Et=Ve.isDisabled.currentValue,$t=0!==Et&&(0,e.VuI)(Et);Ri.then(()=>{$t&&!this.control.disabled?this.control.disable():!$t&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ve){return this._parent?O(Ve,this._parent):[Ve]}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36($e,9),e.Y36(A,10),e.Y36(k,10),e.Y36(m,10),e.Y36(e.sBO,8),e.Y36(x,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([bi]),e.qOj,e.TTD]})}return st})(),ni=(()=>{class st{static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return st})(),zt=(()=>{class st{static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275mod=e.oAB({type:st});static#n=this.\u0275inj=e.cJS({})}return st})();const On=new e.OlP("NgModelWithFormControlWarning"),mi={provide:ot,useExisting:(0,e.Gpc)(()=>bt)};let bt=(()=>{class st extends ot{set isDisabled(Ve){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ve,Et,$t,In,jn){super(),this._ngModelWarningConfig=In,this.callSetDisabledState=jn,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(Ve),this._setAsyncValidators(Et),this.valueAccessor=ri(0,$t)}ngOnChanges(Ve){if(this._isControlChanged(Ve)){const Et=Ve.form.previousValue;Et&&L(Et,this,!1),$(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}di(Ve,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&L(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}_isControlChanged(Ve){return Ve.hasOwnProperty("form")}static#t=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(A,10),e.Y36(k,10),e.Y36(m,10),e.Y36(On,8),e.Y36(x,8))};static#n=this.\u0275dir=e.lG2({type:st,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([mi]),e.qOj,e.TTD]})}return st})();const at={provide:$e,useExisting:(0,e.Gpc)(()=>Je)};let Je=(()=>{class st extends $e{constructor(Ve,Et,$t){super(),this.callSetDisabledState=$t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(Ve),this._setAsyncValidators(Et)}ngOnChanges(Ve){this._checkFormPresent(),Ve.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Yt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ve){const Et=this.form.get(Ve.path);return $(Et,Ve,this.callSetDisabledState),Et.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ve),Et}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){L(Ve.control||null,Ve,!1),function hi(st,ut){const Ve=st.indexOf(ut);Ve>-1&&st.splice(Ve,1)}(this.directives,Ve)}addFormGroup(Ve){this._setUpFormContainer(Ve)}removeFormGroup(Ve){this._cleanUpFormContainer(Ve)}getFormGroup(Ve){return this.form.get(Ve.path)}addFormArray(Ve){this._setUpFormContainer(Ve)}removeFormArray(Ve){this._cleanUpFormContainer(Ve)}getFormArray(Ve){return this.form.get(Ve.path)}updateModel(Ve,Et){this.form.get(Ve.path).setValue(Et)}onSubmit(Ve){return this.submitted=!0,ai(this.form,this.directives),this.ngSubmit.emit(Ve),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ve=>{const Et=Ve.control,$t=this.form.get(Ve.path);Et!==$t&&(L(Et||null,Ve),(st=>st instanceof Ni)($t)&&($($t,Ve,this.callSetDisabledState),Ve.control=$t))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ve){const Et=this.form.get(Ve.path);En(Et,Ve),Et.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ve){if(this.form){const Et=this.form.get(Ve.path);Et&&function Dn(st,ut){return Yt(st,ut)}(Et,Ve)&&Et.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Dt(this.form,this),this._oldForm&&Yt(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Et){return new(Et||st)(e.Y36(A,10),e.Y36(k,10),e.Y36(x,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","formGroup",""]],hostBindings:function(Et,$t){1&Et&&e.NdJ("submit",function(jn){return $t.onSubmit(jn)})("reset",function(){return $t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([at]),e.qOj,e.TTD]})}return st})();const kn={provide:ot,useExisting:(0,e.Gpc)(()=>Ai)};let Ai=(()=>{class st extends ot{set isDisabled(Ve){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ve,Et,$t,In,jn){super(),this._ngModelWarningConfig=jn,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=Ve,this._setValidators(Et),this._setAsyncValidators($t),this.valueAccessor=ri(0,In)}ngOnChanges(Ve){this._added||this._setUpControl(),di(Ve,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}get path(){return O(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(Et){return new(Et||st)(e.Y36($e,13),e.Y36(A,10),e.Y36(k,10),e.Y36(m,10),e.Y36(On,8))};static#n=this.\u0275dir=e.lG2({type:st,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([kn]),e.qOj,e.TTD]})}return st})();let zo=(()=>{class st{constructor(){this._validator=pe}ngOnChanges(Ve){if(this.inputName in Ve){const Et=this.normalizeInput(Ve[this.inputName].currentValue);this._enabled=this.enabled(Et),this._validator=this._enabled?this.createValidator(Et):pe,this._onChange&&this._onChange()}}validate(Ve){return this._validator(Ve)}registerOnValidatorChange(Ve){this._onChange=Ve}enabled(Ve){return null!=Ve}static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275dir=e.lG2({type:st,features:[e.TTD]})}return st})();const us={provide:A,useExisting:(0,e.Gpc)(()=>To),multi:!0};let To=(()=>{class st extends zo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=Ve=>Y}enabled(Ve){return Ve}static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Et,$t){2&Et&&e.uIk("required",$t._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([us]),e.qOj]})}return st})();const it={provide:A,useExisting:(0,e.Gpc)(()=>Qt),multi:!0};let Qt=(()=>{class st extends zo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Ve=>function Po(st){return"number"==typeof st?st:parseInt(st,10)}(Ve),this.createValidator=Ve=>ee(Ve)}static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Et,$t){2&Et&&e.uIk("maxlength",$t._enabled?$t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[e._Bn([it]),e.qOj]})}return st})();const Z={provide:A,useExisting:(0,e.Gpc)(()=>dt),multi:!0};let dt=(()=>{class st extends zo{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=Ve=>Ve,this.createValidator=Ve=>te(Ve)}static#e=this.\u0275fac=function(){let Ve;return function($t){return(Ve||(Ve=e.n5z(st)))($t||st)}}();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Et,$t){2&Et&&e.uIk("pattern",$t._enabled?$t.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([Z]),e.qOj]})}return st})(),Pn=(()=>{class st{static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275mod=e.oAB({type:st});static#n=this.\u0275inj=e.cJS({imports:[zt]})}return st})(),vs=(()=>{class st{static withConfig(Ve){return{ngModule:st,providers:[{provide:x,useValue:Ve.callSetDisabledState??N}]}}static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275mod=e.oAB({type:st});static#n=this.\u0275inj=e.cJS({imports:[Pn]})}return st})(),$o=(()=>{class st{static withConfig(Ve){return{ngModule:st,providers:[{provide:On,useValue:Ve.warnOnNgModelWithFormControl??"always"},{provide:x,useValue:Ve.callSetDisabledState??N}]}}static#e=this.\u0275fac=function(Et){return new(Et||st)};static#t=this.\u0275mod=e.oAB({type:st});static#n=this.\u0275inj=e.cJS({imports:[Pn]})}return st})()},6593:(tt,I,o)=>{"use strict";o.d(I,{Dx:()=>ot,H7:()=>ft,b2:()=>Re,q6:()=>oe,se:()=>R});var e=o(65879),n=o(96814);class t extends n.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class i extends t{static makeCurrent(){(0,n.HT)(new i)}onAndCancel(je,Ye,We){return je.addEventListener(Ye,We),()=>{je.removeEventListener(Ye,We)}}dispatchEvent(je,Ye){je.dispatchEvent(Ye)}remove(je){je.parentNode&&je.parentNode.removeChild(je)}createElement(je,Ye){return(Ye=Ye||this.getDefaultDocument()).createElement(je)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(je){return je.nodeType===Node.ELEMENT_NODE}isShadowRoot(je){return je instanceof DocumentFragment}getGlobalEventTarget(je,Ye){return"window"===Ye?window:"document"===Ye?je:"body"===Ye?je.body:null}getBaseHref(je){const Ye=function h(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==Ye?null:function u(ge){E=E||document.createElement("a"),E.setAttribute("href",ge);const je=E.pathname;return"/"===je.charAt(0)?je:`/${je}`}(Ye)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(je){return(0,n.Mx)(document.cookie,je)}}let E,l=null,M=(()=>{class ge{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(We){return new(We||ge)};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const p=new e.OlP("EventManagerPlugins");let v=(()=>{class ge{constructor(Ye,We){this._zone=We,this._eventNameToPlugin=new Map,Ye.forEach(wt=>{wt.manager=this}),this._plugins=Ye.slice().reverse()}addEventListener(Ye,We,wt){return this._findPluginFor(We).addEventListener(Ye,We,wt)}getZone(){return this._zone}_findPluginFor(Ye){let We=this._eventNameToPlugin.get(Ye);if(We)return We;if(We=this._plugins.find(Ee=>Ee.supports(Ye)),!We)throw new e.vHH(5101,!1);return this._eventNameToPlugin.set(Ye,We),We}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(p),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();class _{constructor(je){this._doc=je}}const d="ng-app-id";let m=(()=>{class ge{constructor(Ye,We,wt,Ee={}){this.doc=Ye,this.appId=We,this.nonce=wt,this.platformId=Ee,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,n.PM)(Ee),this.resetHostNodes()}addStyles(Ye){for(const We of Ye)1===this.changeUsageCount(We,1)&&this.onStyleAdded(We)}removeStyles(Ye){for(const We of Ye)this.changeUsageCount(We,-1)<=0&&this.onStyleRemoved(We)}ngOnDestroy(){const Ye=this.styleNodesInDOM;Ye&&(Ye.forEach(We=>We.remove()),Ye.clear());for(const We of this.getAllStyles())this.onStyleRemoved(We);this.resetHostNodes()}addHost(Ye){this.hostNodes.add(Ye);for(const We of this.getAllStyles())this.addStyleToHost(Ye,We)}removeHost(Ye){this.hostNodes.delete(Ye)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ye){for(const We of this.hostNodes)this.addStyleToHost(We,Ye)}onStyleRemoved(Ye){const We=this.styleRef;We.get(Ye)?.elements?.forEach(wt=>wt.remove()),We.delete(Ye)}collectServerRenderedStyles(){const Ye=this.doc.head?.querySelectorAll(`style[${d}="${this.appId}"]`);if(Ye?.length){const We=new Map;return Ye.forEach(wt=>{null!=wt.textContent&&We.set(wt.textContent,wt)}),We}return null}changeUsageCount(Ye,We){const wt=this.styleRef;if(wt.has(Ye)){const Ee=wt.get(Ye);return Ee.usage+=We,Ee.usage}return wt.set(Ye,{usage:We,elements:[]}),We}getStyleElement(Ye,We){const wt=this.styleNodesInDOM,Ee=wt?.get(We);if(Ee?.parentNode===Ye)return wt.delete(We),Ee.removeAttribute(d),Ee;{const be=this.doc.createElement("style");return this.nonce&&be.setAttribute("nonce",this.nonce),be.textContent=We,this.platformIsServer&&be.setAttribute(d,this.appId),be}}addStyleToHost(Ye,We){const wt=this.getStyleElement(Ye,We);Ye.appendChild(wt);const Ee=this.styleRef,be=Ee.get(We)?.elements;be?be.push(wt):Ee.set(We,{elements:[wt],usage:1})}resetHostNodes(){const Ye=this.hostNodes;Ye.clear(),Ye.add(this.doc.head)}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0),e.LFG(e.AFp),e.LFG(e.Ojb,8),e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const f={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/MathML/"},C=/%COMP%/g,T="%COMP%",b=`_nghost-${T}`,D=`_ngcontent-${T}`,P=new e.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function k(ge,je){return je.map(Ye=>Ye.replace(C,ge))}let R=(()=>{class ge{constructor(Ye,We,wt,Ee,be,Qe,Ke,Ze=null){this.eventManager=Ye,this.sharedStylesHost=We,this.appId=wt,this.removeStylesOnCompDestroy=Ee,this.doc=be,this.platformId=Qe,this.ngZone=Ke,this.nonce=Ze,this.rendererByCompId=new Map,this.platformIsServer=(0,n.PM)(Qe),this.defaultRenderer=new W(Ye,be,Ke,this.platformIsServer)}createRenderer(Ye,We){if(!Ye||!We)return this.defaultRenderer;this.platformIsServer&&We.encapsulation===e.ifc.ShadowDom&&(We={...We,encapsulation:e.ifc.Emulated});const wt=this.getOrCreateRenderer(Ye,We);return wt instanceof K?wt.applyToHost(Ye):wt instanceof V&&wt.applyStyles(),wt}getOrCreateRenderer(Ye,We){const wt=this.rendererByCompId;let Ee=wt.get(We.id);if(!Ee){const be=this.doc,Qe=this.ngZone,Ke=this.eventManager,Ze=this.sharedStylesHost,ve=this.removeStylesOnCompDestroy,nt=this.platformIsServer;switch(We.encapsulation){case e.ifc.Emulated:Ee=new K(Ke,Ze,We,this.appId,ve,be,Qe,nt);break;case e.ifc.ShadowDom:return new G(Ke,Ze,Ye,We,be,Qe,this.nonce,nt);default:Ee=new V(Ke,Ze,We,ve,be,Qe,nt)}wt.set(We.id,Ee)}return Ee}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(v),e.LFG(m),e.LFG(e.AFp),e.LFG(P),e.LFG(n.K0),e.LFG(e.Lbi),e.LFG(e.R0b),e.LFG(e.Ojb))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();class W{constructor(je,Ye,We,wt){this.eventManager=je,this.doc=Ye,this.ngZone=We,this.platformIsServer=wt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(je,Ye){return Ye?this.doc.createElementNS(f[Ye]||Ye,je):this.doc.createElement(je)}createComment(je){return this.doc.createComment(je)}createText(je){return this.doc.createTextNode(je)}appendChild(je,Ye){(Y(je)?je.content:je).appendChild(Ye)}insertBefore(je,Ye,We){je&&(Y(je)?je.content:je).insertBefore(Ye,We)}removeChild(je,Ye){je&&je.removeChild(Ye)}selectRootElement(je,Ye){let We="string"==typeof je?this.doc.querySelector(je):je;if(!We)throw new e.vHH(-5104,!1);return Ye||(We.textContent=""),We}parentNode(je){return je.parentNode}nextSibling(je){return je.nextSibling}setAttribute(je,Ye,We,wt){if(wt){Ye=wt+":"+Ye;const Ee=f[wt];Ee?je.setAttributeNS(Ee,Ye,We):je.setAttribute(Ye,We)}else je.setAttribute(Ye,We)}removeAttribute(je,Ye,We){if(We){const wt=f[We];wt?je.removeAttributeNS(wt,Ye):je.removeAttribute(`${We}:${Ye}`)}else je.removeAttribute(Ye)}addClass(je,Ye){je.classList.add(Ye)}removeClass(je,Ye){je.classList.remove(Ye)}setStyle(je,Ye,We,wt){wt&(e.JOm.DashCase|e.JOm.Important)?je.style.setProperty(Ye,We,wt&e.JOm.Important?"important":""):je.style[Ye]=We}removeStyle(je,Ye,We){We&e.JOm.DashCase?je.style.removeProperty(Ye):je.style[Ye]=""}setProperty(je,Ye,We){je[Ye]=We}setValue(je,Ye){je.nodeValue=Ye}listen(je,Ye,We){if("string"==typeof je&&!(je=(0,n.q)().getGlobalEventTarget(this.doc,je)))throw new Error(`Unsupported event target ${je} for event ${Ye}`);return this.eventManager.addEventListener(je,Ye,this.decoratePreventDefault(We))}decoratePreventDefault(je){return Ye=>{if("__ngUnwrap__"===Ye)return je;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>je(Ye)):je(Ye))&&Ye.preventDefault()}}}function Y(ge){return"TEMPLATE"===ge.tagName&&void 0!==ge.content}class G extends W{constructor(je,Ye,We,wt,Ee,be,Qe,Ke){super(je,Ee,be,Ke),this.sharedStylesHost=Ye,this.hostEl=We,this.shadowRoot=We.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ze=k(wt.id,wt.styles);for(const ve of Ze){const nt=document.createElement("style");Qe&&nt.setAttribute("nonce",Qe),nt.textContent=ve,this.shadowRoot.appendChild(nt)}}nodeOrShadowRoot(je){return je===this.hostEl?this.shadowRoot:je}appendChild(je,Ye){return super.appendChild(this.nodeOrShadowRoot(je),Ye)}insertBefore(je,Ye,We){return super.insertBefore(this.nodeOrShadowRoot(je),Ye,We)}removeChild(je,Ye){return super.removeChild(this.nodeOrShadowRoot(je),Ye)}parentNode(je){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(je)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class V extends W{constructor(je,Ye,We,wt,Ee,be,Qe,Ke){super(je,Ee,be,Qe),this.sharedStylesHost=Ye,this.removeStylesOnCompDestroy=wt,this.styles=Ke?k(Ke,We.styles):We.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class K extends V{constructor(je,Ye,We,wt,Ee,be,Qe,Ke){const Ze=wt+"-"+We.id;super(je,Ye,We,Ee,be,Qe,Ke,Ze),this.contentAttr=function S(ge){return D.replace(C,ge)}(Ze),this.hostAttr=function A(ge){return b.replace(C,ge)}(Ze)}applyToHost(je){this.applyStyles(),this.setAttribute(je,this.hostAttr,"")}createElement(je,Ye){const We=super.createElement(je,Ye);return super.setAttribute(We,this.contentAttr,""),We}}let ee=(()=>{class ge extends _{constructor(Ye){super(Ye)}supports(Ye){return!0}addEventListener(Ye,We,wt){return Ye.addEventListener(We,wt,!1),()=>this.removeEventListener(Ye,We,wt)}removeEventListener(Ye,We,wt){return Ye.removeEventListener(We,wt)}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const te=["alt","control","meta","shift"],pe={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},re={alt:ge=>ge.altKey,control:ge=>ge.ctrlKey,meta:ge=>ge.metaKey,shift:ge=>ge.shiftKey};let De=(()=>{class ge extends _{constructor(Ye){super(Ye)}supports(Ye){return null!=ge.parseEventName(Ye)}addEventListener(Ye,We,wt){const Ee=ge.parseEventName(We),be=ge.eventCallback(Ee.fullKey,wt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.q)().onAndCancel(Ye,Ee.domEventName,be))}static parseEventName(Ye){const We=Ye.toLowerCase().split("."),wt=We.shift();if(0===We.length||"keydown"!==wt&&"keyup"!==wt)return null;const Ee=ge._normalizeKey(We.pop());let be="",Qe=We.indexOf("code");if(Qe>-1&&(We.splice(Qe,1),be="code."),te.forEach(Ze=>{const ve=We.indexOf(Ze);ve>-1&&(We.splice(ve,1),be+=Ze+".")}),be+=Ee,0!=We.length||0===Ee.length)return null;const Ke={};return Ke.domEventName=wt,Ke.fullKey=be,Ke}static matchEventFullKeyCode(Ye,We){let wt=pe[Ye.key]||Ye.key,Ee="";return We.indexOf("code.")>-1&&(wt=Ye.code,Ee="code."),!(null==wt||!wt)&&(wt=wt.toLowerCase()," "===wt?wt="space":"."===wt&&(wt="dot"),te.forEach(be=>{be!==wt&&(0,re[be])(Ye)&&(Ee+=be+".")}),Ee+=wt,Ee===We)}static eventCallback(Ye,We,wt){return Ee=>{ge.matchEventFullKeyCode(Ee,Ye)&&wt.runGuarded(()=>We(Ee))}}static _normalizeKey(Ye){return"esc"===Ye?"escape":Ye}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const oe=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:n.bD},{provide:e.g9A,useValue:function le(){i.makeCurrent()},multi:!0},{provide:n.K0,useFactory:function Ne(){return(0,e.RDi)(document),document},deps:[]}]),_e=new e.OlP(""),Q=[{provide:e.rWj,useClass:class z{addToWindow(je){e.dqk.getAngularTestability=(We,wt=!0)=>{const Ee=je.findTestabilityInTree(We,wt);if(null==Ee)throw new e.vHH(5103,!1);return Ee},e.dqk.getAllAngularTestabilities=()=>je.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>je.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(We=>{const wt=e.dqk.getAllAngularTestabilities();let Ee=wt.length,be=!1;const Qe=function(Ke){be=be||Ke,Ee--,0==Ee&&We(be)};wt.forEach(Ke=>{Ke.whenStable(Qe)})})}findTestabilityInTree(je,Ye,We){return null==Ye?null:je.getTestability(Ye)??(We?(0,n.q)().isShadowRoot(Ye)?this.findTestabilityInTree(je,Ye.host,!0):this.findTestabilityInTree(je,Ye.parentElement,!0):null)}},deps:[]},{provide:e.lri,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]},{provide:e.dDg,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]}],He=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function Se(){return new e.qLn},deps:[]},{provide:p,useClass:ee,multi:!0,deps:[n.K0,e.R0b,e.Lbi]},{provide:p,useClass:De,multi:!0,deps:[n.K0]},R,m,v,{provide:e.FYo,useExisting:R},{provide:n.JF,useClass:M,deps:[]},[]];let Re=(()=>{class ge{constructor(Ye){}static withServerTransition(Ye){return{ngModule:ge,providers:[{provide:e.AFp,useValue:Ye.appId}]}}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(_e,12))};static#t=this.\u0275mod=e.oAB({type:ge});static#n=this.\u0275inj=e.cJS({providers:[...He,...Q],imports:[n.ez,e.hGG]})}return ge})(),ot=(()=>{class ge{constructor(Ye){this._doc=Ye}getTitle(){return this._doc.title}setTitle(Ye){this._doc.title=Ye||""}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:function(We){let wt=null;return wt=We?new We:function $e(){return new ot((0,e.LFG)(n.K0))}(),wt},providedIn:"root"})}return ge})();typeof window<"u"&&window;let ft=(()=>{class ge{static#e=this.\u0275fac=function(We){return new(We||ge)};static#t=this.\u0275prov=e.Yz7({token:ge,factory:function(We){let wt=null;return wt=We?new(We||ge):e.LFG(Ie),wt},providedIn:"root"})}return ge})(),Ie=(()=>{class ge extends ft{constructor(Ye){super(),this._doc=Ye}sanitize(Ye,We){if(null==We)return null;switch(Ye){case e.q3G.NONE:return We;case e.q3G.HTML:return(0,e.qzn)(We,"HTML")?(0,e.z3N)(We):(0,e.EiD)(this._doc,String(We)).toString();case e.q3G.STYLE:return(0,e.qzn)(We,"Style")?(0,e.z3N)(We):We;case e.q3G.SCRIPT:if((0,e.qzn)(We,"Script"))return(0,e.z3N)(We);throw new e.vHH(5200,!1);case e.q3G.URL:return(0,e.qzn)(We,"URL")?(0,e.z3N)(We):(0,e.mCW)(String(We));case e.q3G.RESOURCE_URL:if((0,e.qzn)(We,"ResourceURL"))return(0,e.z3N)(We);throw new e.vHH(5201,!1);default:throw new e.vHH(5202,!1)}}bypassSecurityTrustHtml(Ye){return(0,e.JVY)(Ye)}bypassSecurityTrustStyle(Ye){return(0,e.L6k)(Ye)}bypassSecurityTrustScript(Ye){return(0,e.eBb)(Ye)}bypassSecurityTrustUrl(Ye){return(0,e.LAX)(Ye)}bypassSecurityTrustResourceUrl(Ye){return(0,e.pB0)(Ye)}static#e=this.\u0275fac=function(We){return new(We||ge)(e.LFG(n.K0))};static#t=this.\u0275prov=e.Yz7({token:ge,factory:function(We){let wt=null;return wt=We?new We:function gt(ge){return new Ie(ge.get(n.K0))}(e.LFG(e.zs3)),wt},providedIn:"root"})}return ge})()},52787:(tt,I,o)=>{"use strict";o.d(I,{gz:()=>It,gk:()=>ai,m2:()=>oi,Q3:()=>hi,OD:()=>di,eC:()=>ne,cx:()=>Gn,GH:()=>Ni,xV:()=>Zi,F0:()=>pi,rH:()=>Js,Od:()=>ur,Bz:()=>Ms,lC:()=>Rt});var e=o(65879),n=o(2664),t=o(7715),i=o(22096),l=o(65619),h=o(52572),E=o(46973),u=o(35211),z=o(74911),M=o(88407),p=o(58504),v=o(36232),_=o(93168),d=o(78645),m=o(47394),f=o(96814),C=o(37398),T=o(94664),b=o(48180),D=o(27921),y=o(32181),P=o(21631),S=o(81374),A=o(76328),k=o(99397),R=o(26306),W=o(79360),j=o(8251);var G=o(43572);function V(ue){return ue<=0?()=>v.E:(0,W.e)((xe,ie)=>{let Oe=[];xe.subscribe((0,j.x)(ie,et=>{Oe.push(et),ue{for(const et of Oe)ie.next(et);ie.complete()},void 0,()=>{Oe=null}))})}var K=o(3026),ee=o(42737),pe=o(21441),re=o(64716),De=o(66196),ae=o(59773),ce=o(57537),X=o(6593);const ne="primary",le=Symbol("RouteTitle");class Se{constructor(xe){this.params=xe||{}}has(xe){return Object.prototype.hasOwnProperty.call(this.params,xe)}get(xe){if(this.has(xe)){const ie=this.params[xe];return Array.isArray(ie)?ie[0]:ie}return null}getAll(xe){if(this.has(xe)){const ie=this.params[xe];return Array.isArray(ie)?ie:[ie]}return[]}get keys(){return Object.keys(this.params)}}function Ne(ue){return new Se(ue)}function ke(ue,xe,ie){const Oe=ie.path.split("/");if(Oe.length>ue.length||"full"===ie.pathMatch&&(xe.hasChildren()||Oe.lengthOe[Tt]===et)}return ue===xe}function He(ue){return ue.length>0?ue[ue.length-1]:null}function Re(ue){return(0,n.b)(ue)?ue:(0,e.QGY)(ue)?(0,t.D)(Promise.resolve(ue)):(0,i.of)(ue)}const lt={exact:function ot(ue,xe,ie){if(!ht(ue.segments,xe.segments)||!U(ue.segments,xe.segments,ie)||ue.numberOfChildren!==xe.numberOfChildren)return!1;for(const Oe in xe.children)if(!ue.children[Oe]||!ot(ue.children[Oe],xe.children[Oe],ie))return!1;return!0},subset:we},Pe={exact:function $e(ue,xe){return _e(ue,xe)},subset:function mt(ue,xe){return Object.keys(xe).length<=Object.keys(ue).length&&Object.keys(xe).every(ie=>Q(ue[ie],xe[ie]))},ignored:()=>!0};function xt(ue,xe,ie){return lt[ie.paths](ue.root,xe.root,ie.matrixParams)&&Pe[ie.queryParams](ue.queryParams,xe.queryParams)&&!("exact"===ie.fragment&&ue.fragment!==xe.fragment)}function we(ue,xe,ie){return de(ue,xe,xe.segments,ie)}function de(ue,xe,ie,Oe){if(ue.segments.length>ie.length){const et=ue.segments.slice(0,ie.length);return!(!ht(et,ie)||xe.hasChildren()||!U(et,ie,Oe))}if(ue.segments.length===ie.length){if(!ht(ue.segments,ie)||!U(ue.segments,ie,Oe))return!1;for(const et in xe.children)if(!ue.children[et]||!we(ue.children[et],xe.children[et],Oe))return!1;return!0}{const et=ie.slice(0,ue.segments.length),Tt=ie.slice(ue.segments.length);return!!(ht(ue.segments,et)&&U(ue.segments,et,Oe)&&ue.children[ne])&&de(ue.children[ne],xe,Tt,Oe)}}function U(ue,xe,ie){return xe.every((Oe,et)=>Pe[ie](ue[et].parameters,Oe.parameters))}class B{constructor(xe=new Me([],{}),ie={},Oe=null){this.root=xe,this.queryParams=ie,this.fragment=Oe}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return qt.serialize(this)}}class Me{constructor(xe,ie){this.segments=xe,this.children=ie,this.parent=null,Object.values(ie).forEach(Oe=>Oe.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return en(this)}}class Ae{constructor(xe,ie){this.path=xe,this.parameters=ie}get parameterMap(){return this._parameterMap||(this._parameterMap=Ne(this.parameters)),this._parameterMap}toString(){return kt(this)}}function ht(ue,xe){return ue.length===xe.length&&ue.every((ie,Oe)=>ie.path===xe[Oe].path)}let Lt=(()=>{class ue{static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:function(){return new Wt},providedIn:"root"})}return ue})();class Wt{parse(xe){const ie=new Ee(xe);return new B(ie.parseRootSegment(),ie.parseQueryParams(),ie.parseFragment())}serialize(xe){const ie=`/${Vt(xe.root,!0)}`,Oe=function qe(ue){const xe=Object.keys(ue).map(ie=>{const Oe=ue[ie];return Array.isArray(Oe)?Oe.map(et=>`${ft(ie)}=${ft(et)}`).join("&"):`${ft(ie)}=${ft(Oe)}`}).filter(ie=>!!ie);return xe.length?`?${xe.join("&")}`:""}(xe.queryParams);return`${ie}${Oe}${"string"==typeof xe.fragment?`#${function gt(ue){return encodeURI(ue)}(xe.fragment)}`:""}`}}const qt=new Wt;function en(ue){return ue.segments.map(xe=>kt(xe)).join("/")}function Vt(ue,xe){if(!ue.hasChildren())return en(ue);if(xe){const ie=ue.children[ne]?Vt(ue.children[ne],!1):"",Oe=[];return Object.entries(ue.children).forEach(([et,Tt])=>{et!==ne&&Oe.push(`${et}:${Vt(Tt,!1)}`)}),Oe.length>0?`${ie}(${Oe.join("//")})`:ie}{const ie=function Ot(ue,xe){let ie=[];return Object.entries(ue.children).forEach(([Oe,et])=>{Oe===ne&&(ie=ie.concat(xe(et,Oe)))}),Object.entries(ue.children).forEach(([Oe,et])=>{Oe!==ne&&(ie=ie.concat(xe(et,Oe)))}),ie}(ue,(Oe,et)=>et===ne?[Vt(ue.children[ne],!1)]:[`${et}:${Vt(Oe,!1)}`]);return 1===Object.keys(ue.children).length&&null!=ue.children[ne]?`${en(ue)}/${ie[0]}`:`${en(ue)}/(${ie.join("//")})`}}function cn(ue){return encodeURIComponent(ue).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ft(ue){return cn(ue).replace(/%3B/gi,";")}function Ie(ue){return cn(ue).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ct(ue){return decodeURIComponent(ue)}function Nt(ue){return Ct(ue.replace(/\+/g,"%20"))}function kt(ue){return`${Ie(ue.path)}${function St(ue){return Object.keys(ue).map(xe=>`;${Ie(xe)}=${Ie(ue[xe])}`).join("")}(ue.parameters)}`}const Fe=/^[^\/()?;#]+/;function fe(ue){const xe=ue.match(Fe);return xe?xe[0]:""}const Xe=/^[^\/()?;=#]+/,je=/^[^=?&#]+/,We=/^[^&#]+/;class Ee{constructor(xe){this.url=xe,this.remaining=xe}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Me([],{}):new Me([],this.parseChildren())}parseQueryParams(){const xe={};if(this.consumeOptional("?"))do{this.parseQueryParam(xe)}while(this.consumeOptional("&"));return xe}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const xe=[];for(this.peekStartsWith("(")||xe.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),xe.push(this.parseSegment());let ie={};this.peekStartsWith("/(")&&(this.capture("/"),ie=this.parseParens(!0));let Oe={};return this.peekStartsWith("(")&&(Oe=this.parseParens(!1)),(xe.length>0||Object.keys(ie).length>0)&&(Oe[ne]=new Me(xe,ie)),Oe}parseSegment(){const xe=fe(this.remaining);if(""===xe&&this.peekStartsWith(";"))throw new e.vHH(4009,!1);return this.capture(xe),new Ae(Ct(xe),this.parseMatrixParams())}parseMatrixParams(){const xe={};for(;this.consumeOptional(";");)this.parseParam(xe);return xe}parseParam(xe){const ie=function ge(ue){const xe=ue.match(Xe);return xe?xe[0]:""}(this.remaining);if(!ie)return;this.capture(ie);let Oe="";if(this.consumeOptional("=")){const et=fe(this.remaining);et&&(Oe=et,this.capture(Oe))}xe[Ct(ie)]=Ct(Oe)}parseQueryParam(xe){const ie=function Ye(ue){const xe=ue.match(je);return xe?xe[0]:""}(this.remaining);if(!ie)return;this.capture(ie);let Oe="";if(this.consumeOptional("=")){const Ft=function wt(ue){const xe=ue.match(We);return xe?xe[0]:""}(this.remaining);Ft&&(Oe=Ft,this.capture(Oe))}const et=Nt(ie),Tt=Nt(Oe);if(xe.hasOwnProperty(et)){let Ft=xe[et];Array.isArray(Ft)||(Ft=[Ft],xe[et]=Ft),Ft.push(Tt)}else xe[et]=Tt}parseParens(xe){const ie={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Oe=fe(this.remaining),et=this.remaining[Oe.length];if("/"!==et&&")"!==et&&";"!==et)throw new e.vHH(4010,!1);let Tt;Oe.indexOf(":")>-1?(Tt=Oe.slice(0,Oe.indexOf(":")),this.capture(Tt),this.capture(":")):xe&&(Tt=ne);const Ft=this.parseChildren();ie[Tt]=1===Object.keys(Ft).length?Ft[ne]:new Me([],Ft),this.consumeOptional("//")}return ie}peekStartsWith(xe){return this.remaining.startsWith(xe)}consumeOptional(xe){return!!this.peekStartsWith(xe)&&(this.remaining=this.remaining.substring(xe.length),!0)}capture(xe){if(!this.consumeOptional(xe))throw new e.vHH(4011,!1)}}function be(ue){return ue.segments.length>0?new Me([],{[ne]:ue}):ue}function Qe(ue){const xe={};for(const Oe of Object.keys(ue.children)){const Tt=Qe(ue.children[Oe]);if(Oe===ne&&0===Tt.segments.length&&Tt.hasChildren())for(const[Ft,on]of Object.entries(Tt.children))xe[Ft]=on;else(Tt.segments.length>0||Tt.hasChildren())&&(xe[Oe]=Tt)}return function Ke(ue){if(1===ue.numberOfChildren&&ue.children[ne]){const xe=ue.children[ne];return new Me(ue.segments.concat(xe.segments),xe.children)}return ue}(new Me(ue.segments,xe))}function Ze(ue){return ue instanceof B}function nt(ue){let xe;const et=be(function ie(Tt){const Ft={};for(const tn of Tt.children){const bn=ie(tn);Ft[tn.outlet]=bn}const on=new Me(Tt.url,Ft);return Tt===ue&&(xe=on),on}(ue.root));return xe??et}function x(ue,xe,ie,Oe){let et=ue;for(;et.parent;)et=et.parent;if(0===xe.length)return $(et,et,et,ie,Oe);const Tt=function Ce(ue){if("string"==typeof ue[0]&&1===ue.length&&"/"===ue[0])return new he(!0,0,ue);let xe=0,ie=!1;const Oe=ue.reduce((et,Tt,Ft)=>{if("object"==typeof Tt&&null!=Tt){if(Tt.outlets){const on={};return Object.entries(Tt.outlets).forEach(([tn,bn])=>{on[tn]="string"==typeof bn?bn.split("/"):bn}),[...et,{outlets:on}]}if(Tt.segmentPath)return[...et,Tt.segmentPath]}return"string"!=typeof Tt?[...et,Tt]:0===Ft?(Tt.split("/").forEach((on,tn)=>{0==tn&&"."===on||(0==tn&&""===on?ie=!0:".."===on?xe++:""!=on&&et.push(on))}),et):[...et,Tt]},[]);return new he(ie,xe,Oe)}(xe);if(Tt.toRoot())return $(et,et,new Me([],{}),ie,Oe);const Ft=function Yt(ue,xe,ie){if(ue.isAbsolute)return new Dt(xe,!0,0);if(!ie)return new Dt(xe,!1,NaN);if(null===ie.parent)return new Dt(ie,!0,0);const Oe=N(ue.commands[0])?0:1;return function rn(ue,xe,ie){let Oe=ue,et=xe,Tt=ie;for(;Tt>et;){if(Tt-=et,Oe=Oe.parent,!Oe)throw new e.vHH(4005,!1);et=Oe.segments.length}return new Dt(Oe,!1,et-Tt)}(ie,ie.segments.length-1+Oe,ue.numberOfDoubleDots)}(Tt,et,ue),on=Ft.processChildren?Mn(Ft.segmentGroup,Ft.index,Tt.commands):yn(Ft.segmentGroup,Ft.index,Tt.commands);return $(et,Ft.segmentGroup,on,ie,Oe)}function N(ue){return"object"==typeof ue&&null!=ue&&!ue.outlets&&!ue.segmentPath}function O(ue){return"object"==typeof ue&&null!=ue&&ue.outlets}function $(ue,xe,ie,Oe,et){let Ft,Tt={};Oe&&Object.entries(Oe).forEach(([tn,bn])=>{Tt[tn]=Array.isArray(bn)?bn.map(ti=>`${ti}`):`${bn}`}),Ft=ue===xe?ie:L(ue,xe,ie);const on=be(Qe(Ft));return new B(on,Tt,et)}function L(ue,xe,ie){const Oe={};return Object.entries(ue.children).forEach(([et,Tt])=>{Oe[et]=Tt===xe?ie:L(Tt,xe,ie)}),new Me(ue.segments,Oe)}class he{constructor(xe,ie,Oe){if(this.isAbsolute=xe,this.numberOfDoubleDots=ie,this.commands=Oe,xe&&Oe.length>0&&N(Oe[0]))throw new e.vHH(4003,!1);const et=Oe.find(O);if(et&&et!==He(Oe))throw new e.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Dt{constructor(xe,ie,Oe){this.segmentGroup=xe,this.processChildren=ie,this.index=Oe}}function yn(ue,xe,ie){if(ue||(ue=new Me([],{})),0===ue.segments.length&&ue.hasChildren())return Mn(ue,xe,ie);const Oe=function En(ue,xe,ie){let Oe=0,et=xe;const Tt={match:!1,pathIndex:0,commandIndex:0};for(;et=ie.length)return Tt;const Ft=ue.segments[et],on=ie[Oe];if(O(on))break;const tn=`${on}`,bn=Oe0&&void 0===tn)break;if(tn&&bn&&"object"==typeof bn&&void 0===bn.outlets){if(!ei(tn,bn,Ft))return Tt;Oe+=2}else{if(!ei(tn,{},Ft))return Tt;Oe++}et++}return{match:!0,pathIndex:et,commandIndex:Oe}}(ue,xe,ie),et=ie.slice(Oe.commandIndex);if(Oe.match&&Oe.pathIndexTt!==ne)&&ue.children[ne]&&1===ue.numberOfChildren&&0===ue.children[ne].segments.length){const Tt=Mn(ue.children[ne],xe,ie);return new Me(ue.segments,Tt.children)}return Object.entries(Oe).forEach(([Tt,Ft])=>{"string"==typeof Ft&&(Ft=[Ft]),null!==Ft&&(et[Tt]=yn(ue.children[Tt],xe,Ft))}),Object.entries(ue.children).forEach(([Tt,Ft])=>{void 0===Oe[Tt]&&(et[Tt]=Ft)}),new Me(ue.segments,et)}}function Dn(ue,xe,ie){const Oe=ue.segments.slice(0,xe);let et=0;for(;et{"string"==typeof Oe&&(Oe=[Oe]),null!==Oe&&(xe[ie]=Dn(new Me([],{}),0,Oe))}),xe}function Ln(ue){const xe={};return Object.entries(ue).forEach(([ie,Oe])=>xe[ie]=`${Oe}`),xe}function ei(ue,xe,ie){return ue==ie.path&&_e(xe,ie.parameters)}const ii="imperative";class Hn{constructor(xe,ie){this.id=xe,this.url=ie}}class di extends Hn{constructor(xe,ie,Oe="imperative",et=null){super(xe,ie),this.type=0,this.navigationTrigger=Oe,this.restoredState=et}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class oi extends Hn{constructor(xe,ie,Oe){super(xe,ie),this.urlAfterRedirects=Oe,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ai extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.reason=Oe,this.code=et,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ri extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.reason=Oe,this.code=et,this.type=16}}class hi extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.error=Oe,this.target=et,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ti extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class li extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fi extends Hn{constructor(xe,ie,Oe,et,Tt){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.shouldActivate=Tt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class to extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oo extends Hn{constructor(xe,ie,Oe,et){super(xe,ie),this.urlAfterRedirects=Oe,this.state=et,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zi{constructor(xe){this.route=xe,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ni{constructor(xe){this.route=xe,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ki{constructor(xe){this.snapshot=xe,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $i{constructor(xe){this.snapshot=xe,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class no{constructor(xe){this.snapshot=xe,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Eo{constructor(xe){this.snapshot=xe,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wi{constructor(xe,ie,Oe){this.routerEvent=xe,this.position=ie,this.anchor=Oe,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ji{}class Di{constructor(xe){this.url=xe}}class Xi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new bi,this.attachRef=null}}let bi=(()=>{class ue{constructor(){this.contexts=new Map}onChildOutletCreated(ie,Oe){const et=this.getOrCreateContext(ie);et.outlet=Oe,this.contexts.set(ie,et)}onChildOutletDestroyed(ie){const Oe=this.getContext(ie);Oe&&(Oe.outlet=null,Oe.attachRef=null)}onOutletDeactivated(){const ie=this.contexts;return this.contexts=new Map,ie}onOutletReAttached(ie){this.contexts=ie}getOrCreateContext(ie){let Oe=this.getContext(ie);return Oe||(Oe=new Xi,this.contexts.set(ie,Oe)),Oe}getContext(ie){return this.contexts.get(ie)||null}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();class Ri{constructor(xe){this._root=xe}get root(){return this._root.value}parent(xe){const ie=this.pathFromRoot(xe);return ie.length>1?ie[ie.length-2]:null}children(xe){const ie=Pi(xe,this._root);return ie?ie.children.map(Oe=>Oe.value):[]}firstChild(xe){const ie=Pi(xe,this._root);return ie&&ie.children.length>0?ie.children[0].value:null}siblings(xe){const ie=ni(xe,this._root);return ie.length<2?[]:ie[ie.length-2].children.map(et=>et.value).filter(et=>et!==xe)}pathFromRoot(xe){return ni(xe,this._root).map(ie=>ie.value)}}function Pi(ue,xe){if(ue===xe.value)return xe;for(const ie of xe.children){const Oe=Pi(ue,ie);if(Oe)return Oe}return null}function ni(ue,xe){if(ue===xe.value)return[xe];for(const ie of xe.children){const Oe=ni(ue,ie);if(Oe.length)return Oe.unshift(xe),Oe}return[]}class Vn{constructor(xe,ie){this.value=xe,this.children=ie}toString(){return`TreeNode(${this.value})`}}function Mt(ue){const xe={};return ue&&ue.children.forEach(ie=>xe[ie.value.outlet]=ie),xe}class gn extends Ri{constructor(xe,ie){super(xe),this.snapshot=ie,mi(this,xe)}toString(){return this.snapshot.toString()}}function rt(ue,xe){const ie=function zt(ue,xe){const Ft=new Fn([],{},{},"",{},ne,xe,null,{});return new On("",new Vn(Ft,[]))}(0,xe),Oe=new l.X([new Ae("",{})]),et=new l.X({}),Tt=new l.X({}),Ft=new l.X({}),on=new l.X(""),tn=new It(Oe,et,Ft,on,Tt,ne,xe,ie.root);return tn.snapshot=ie.root,new gn(new Vn(tn,[]),ie)}class It{constructor(xe,ie,Oe,et,Tt,Ft,on,tn){this.urlSubject=xe,this.paramsSubject=ie,this.queryParamsSubject=Oe,this.fragmentSubject=et,this.dataSubject=Tt,this.outlet=Ft,this.component=on,this._futureSnapshot=tn,this.title=this.dataSubject?.pipe((0,C.U)(bn=>bn[le]))??(0,i.of)(void 0),this.url=xe,this.params=ie,this.queryParams=Oe,this.fragment=et,this.data=Tt}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._paramMap=this.params.pipe((0,C.U)(xe=>Ne(xe)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,C.U)(xe=>Ne(xe)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xt(ue,xe="emptyOnly"){const ie=ue.pathFromRoot;let Oe=0;if("always"!==xe)for(Oe=ie.length-1;Oe>=1;){const et=ie[Oe],Tt=ie[Oe-1];if(et.routeConfig&&""===et.routeConfig.path)Oe--;else{if(Tt.component)break;Oe--}}return function _n(ue){return ue.reduce((xe,ie)=>({params:{...xe.params,...ie.params},data:{...xe.data,...ie.data},resolve:{...ie.data,...xe.resolve,...ie.routeConfig?.data,...ie._resolvedData}}),{params:{},data:{},resolve:{}})}(ie.slice(Oe))}class Fn{get title(){return this.data?.[le]}constructor(xe,ie,Oe,et,Tt,Ft,on,tn,bn){this.url=xe,this.params=ie,this.queryParams=Oe,this.fragment=et,this.data=Tt,this.outlet=Ft,this.component=on,this.routeConfig=tn,this._resolve=bn}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._paramMap=Ne(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Oe=>Oe.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class On extends Ri{constructor(xe,ie){super(ie),this.url=xe,mi(this,ie)}toString(){return bt(this._root)}}function mi(ue,xe){xe.value._routerState=ue,xe.children.forEach(ie=>mi(ue,ie))}function bt(ue){const xe=ue.children.length>0?` { ${ue.children.map(bt).join(", ")} } `:"";return`${ue.value}${xe}`}function at(ue){if(ue.snapshot){const xe=ue.snapshot,ie=ue._futureSnapshot;ue.snapshot=ie,_e(xe.queryParams,ie.queryParams)||ue.queryParamsSubject.next(ie.queryParams),xe.fragment!==ie.fragment&&ue.fragmentSubject.next(ie.fragment),_e(xe.params,ie.params)||ue.paramsSubject.next(ie.params),function oe(ue,xe){if(ue.length!==xe.length)return!1;for(let ie=0;ie_e(ie.parameters,xe[Oe].parameters))}(ue.url,xe.url);return ie&&!(!ue.parent!=!xe.parent)&&(!ue.parent||Je(ue.parent,xe.parent))}let Rt=(()=>{class ue{constructor(){this.activated=null,this._activatedRoute=null,this.name=ne,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(bi),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb),this.inputBinder=(0,e.f3M)(ln,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(ie){if(ie.name){const{firstChange:Oe,previousValue:et}=ie.name;if(Oe)return;this.isTrackedInParentContexts(et)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(et)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(ie){return this.parentContexts.getContext(ie)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ie=this.parentContexts.getContext(this.name);ie?.route&&(ie.attachRef?this.attach(ie.attachRef,ie.route):this.activateWith(ie.route,ie.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,!1);this.location.detach();const ie=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ie.instance),ie}attach(ie,Oe){this.activated=ie,this._activatedRoute=Oe,this.location.insert(ie.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ie.instance)}deactivate(){if(this.activated){const ie=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ie)}}activateWith(ie,Oe){if(this.isActivated)throw new e.vHH(4013,!1);this._activatedRoute=ie;const et=this.location,Ft=ie.snapshot.component,on=this.parentContexts.getOrCreateContext(this.name).children,tn=new Kt(ie,on,et.injector);this.activated=et.createComponent(Ft,{index:et.length,injector:tn,environmentInjector:Oe??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275dir=e.lG2({type:ue,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]})}return ue})();class Kt{constructor(xe,ie,Oe){this.route=xe,this.childContexts=ie,this.parent=Oe}get(xe,ie){return xe===It?this.route:xe===bi?this.childContexts:this.parent.get(xe,ie)}}const ln=new e.OlP("");let mn=(()=>{class ue{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(ie){this.unsubscribeFromRouteData(ie),this.subscribeToRouteData(ie)}unsubscribeFromRouteData(ie){this.outletDataSubscriptions.get(ie)?.unsubscribe(),this.outletDataSubscriptions.delete(ie)}subscribeToRouteData(ie){const{activatedRoute:Oe}=ie,et=(0,h.a)([Oe.queryParams,Oe.params,Oe.data]).pipe((0,T.w)(([Tt,Ft,on],tn)=>(on={...Tt,...Ft,...on},0===tn?(0,i.of)(on):Promise.resolve(on)))).subscribe(Tt=>{if(!ie.isActivated||!ie.activatedComponentRef||ie.activatedRoute!==Oe||null===Oe.component)return void this.unsubscribeFromRouteData(ie);const Ft=(0,e.qFp)(Oe.component);if(Ft)for(const{templateName:on}of Ft.inputs)ie.activatedComponentRef.setInput(on,Tt[on]);else this.unsubscribeFromRouteData(ie)});this.outletDataSubscriptions.set(ie,et)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac})}return ue})();function kn(ue,xe,ie){if(ie&&ue.shouldReuseRoute(xe.value,ie.value.snapshot)){const Oe=ie.value;Oe._futureSnapshot=xe.value;const et=function Ai(ue,xe,ie){return xe.children.map(Oe=>{for(const et of ie.children)if(ue.shouldReuseRoute(Oe.value,et.value.snapshot))return kn(ue,Oe,et);return kn(ue,Oe)})}(ue,xe,ie);return new Vn(Oe,et)}{if(ue.shouldAttach(xe.value)){const Tt=ue.retrieve(xe.value);if(null!==Tt){const Ft=Tt.route;return Ft.value._futureSnapshot=xe.value,Ft.children=xe.children.map(on=>kn(ue,on)),Ft}}const Oe=function so(ue){return new It(new l.X(ue.url),new l.X(ue.params),new l.X(ue.queryParams),new l.X(ue.fragment),new l.X(ue.data),ue.outlet,ue.component,ue)}(xe.value),et=xe.children.map(Tt=>kn(ue,Tt));return new Vn(Oe,et)}}const Nn="ngNavigationCancelingError";function Ro(ue,xe){const{redirectTo:ie,navigationBehaviorOptions:Oe}=Ze(xe)?{redirectTo:xe,navigationBehaviorOptions:void 0}:xe,et=Do(!1,0,xe);return et.url=ie,et.navigationBehaviorOptions=Oe,et}function Do(ue,xe,ie){const Oe=new Error("NavigationCancelingError: "+(ue||""));return Oe[Nn]=!0,Oe.cancellationCode=xe,ie&&(Oe.url=ie),Oe}function xi(ue){return ue&&ue[Nn]}let wo=(()=>{class ue{static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275cmp=e.Xpm({type:ue,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(Oe,et){1&Oe&&e._UZ(0,"router-outlet")},dependencies:[Rt],encapsulation:2})}return ue})();function ds(ue){const xe=ue.children&&ue.children.map(ds),ie=xe?{...ue,children:xe}:{...ue};return!ie.component&&!ie.loadComponent&&(xe||ie.loadChildren)&&ie.outlet&&ie.outlet!==ne&&(ie.component=wo),ie}function Vi(ue){return ue.outlet||ne}function Si(ue){if(!ue)return null;if(ue.routeConfig?._injector)return ue.routeConfig._injector;for(let xe=ue.parent;xe;xe=xe.parent){const ie=xe.routeConfig;if(ie?._loadedInjector)return ie._loadedInjector;if(ie?._injector)return ie._injector}return null}class Ui{constructor(xe,ie,Oe,et,Tt){this.routeReuseStrategy=xe,this.futureState=ie,this.currState=Oe,this.forwardEvent=et,this.inputBindingEnabled=Tt}activate(xe){const ie=this.futureState._root,Oe=this.currState?this.currState._root:null;this.deactivateChildRoutes(ie,Oe,xe),at(this.futureState.root),this.activateChildRoutes(ie,Oe,xe)}deactivateChildRoutes(xe,ie,Oe){const et=Mt(ie);xe.children.forEach(Tt=>{const Ft=Tt.value.outlet;this.deactivateRoutes(Tt,et[Ft],Oe),delete et[Ft]}),Object.values(et).forEach(Tt=>{this.deactivateRouteAndItsChildren(Tt,Oe)})}deactivateRoutes(xe,ie,Oe){const et=xe.value,Tt=ie?ie.value:null;if(et===Tt)if(et.component){const Ft=Oe.getContext(et.outlet);Ft&&this.deactivateChildRoutes(xe,ie,Ft.children)}else this.deactivateChildRoutes(xe,ie,Oe);else Tt&&this.deactivateRouteAndItsChildren(ie,Oe)}deactivateRouteAndItsChildren(xe,ie){xe.value.component&&this.routeReuseStrategy.shouldDetach(xe.value.snapshot)?this.detachAndStoreRouteSubtree(xe,ie):this.deactivateRouteAndOutlet(xe,ie)}detachAndStoreRouteSubtree(xe,ie){const Oe=ie.getContext(xe.value.outlet),et=Oe&&xe.value.component?Oe.children:ie,Tt=Mt(xe);for(const Ft of Object.keys(Tt))this.deactivateRouteAndItsChildren(Tt[Ft],et);if(Oe&&Oe.outlet){const Ft=Oe.outlet.detach(),on=Oe.children.onOutletDeactivated();this.routeReuseStrategy.store(xe.value.snapshot,{componentRef:Ft,route:xe,contexts:on})}}deactivateRouteAndOutlet(xe,ie){const Oe=ie.getContext(xe.value.outlet),et=Oe&&xe.value.component?Oe.children:ie,Tt=Mt(xe);for(const Ft of Object.keys(Tt))this.deactivateRouteAndItsChildren(Tt[Ft],et);Oe&&(Oe.outlet&&(Oe.outlet.deactivate(),Oe.children.onOutletDeactivated()),Oe.attachRef=null,Oe.route=null)}activateChildRoutes(xe,ie,Oe){const et=Mt(ie);xe.children.forEach(Tt=>{this.activateRoutes(Tt,et[Tt.value.outlet],Oe),this.forwardEvent(new Eo(Tt.value.snapshot))}),xe.children.length&&this.forwardEvent(new $i(xe.value.snapshot))}activateRoutes(xe,ie,Oe){const et=xe.value,Tt=ie?ie.value:null;if(at(et),et===Tt)if(et.component){const Ft=Oe.getOrCreateContext(et.outlet);this.activateChildRoutes(xe,ie,Ft.children)}else this.activateChildRoutes(xe,ie,Oe);else if(et.component){const Ft=Oe.getOrCreateContext(et.outlet);if(this.routeReuseStrategy.shouldAttach(et.snapshot)){const on=this.routeReuseStrategy.retrieve(et.snapshot);this.routeReuseStrategy.store(et.snapshot,null),Ft.children.onOutletReAttached(on.contexts),Ft.attachRef=on.componentRef,Ft.route=on.route.value,Ft.outlet&&Ft.outlet.attach(on.componentRef,on.route.value),at(on.route.value),this.activateChildRoutes(xe,null,Ft.children)}else{const on=Si(et.snapshot);Ft.attachRef=null,Ft.route=et,Ft.injector=on,Ft.outlet&&Ft.outlet.activateWith(et,Ft.injector),this.activateChildRoutes(xe,null,Ft.children)}}else this.activateChildRoutes(xe,null,Oe)}}class Ci{constructor(xe){this.path=xe,this.route=this.path[this.path.length-1]}}class ss{constructor(xe,ie){this.component=xe,this.route=ie}}function io(ue,xe,ie){const Oe=ue._root;return Z(Oe,xe?xe._root:null,ie,[Oe.value])}function Qt(ue,xe){const ie=Symbol(),Oe=xe.get(ue,ie);return Oe===ie?"function"!=typeof ue||(0,e.Z0I)(ue)?xe.get(ue):ue:Oe}function Z(ue,xe,ie,Oe,et={canDeactivateChecks:[],canActivateChecks:[]}){const Tt=Mt(xe);return ue.children.forEach(Ft=>{(function dt(ue,xe,ie,Oe,et={canDeactivateChecks:[],canActivateChecks:[]}){const Tt=ue.value,Ft=xe?xe.value:null,on=ie?ie.getContext(ue.value.outlet):null;if(Ft&&Tt.routeConfig===Ft.routeConfig){const tn=function _t(ue,xe,ie){if("function"==typeof ie)return ie(ue,xe);switch(ie){case"pathParamsChange":return!ht(ue.url,xe.url);case"pathParamsOrQueryParamsChange":return!ht(ue.url,xe.url)||!_e(ue.queryParams,xe.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Je(ue,xe)||!_e(ue.queryParams,xe.queryParams);default:return!Je(ue,xe)}}(Ft,Tt,Tt.routeConfig.runGuardsAndResolvers);tn?et.canActivateChecks.push(new Ci(Oe)):(Tt.data=Ft.data,Tt._resolvedData=Ft._resolvedData),Z(ue,xe,Tt.component?on?on.children:null:ie,Oe,et),tn&&on&&on.outlet&&on.outlet.isActivated&&et.canDeactivateChecks.push(new ss(on.outlet.component,Ft))}else Ft&&jt(xe,on,et),et.canActivateChecks.push(new Ci(Oe)),Z(ue,null,Tt.component?on?on.children:null:ie,Oe,et)})(Ft,Tt[Ft.value.outlet],ie,Oe.concat([Ft.value]),et),delete Tt[Ft.value.outlet]}),Object.entries(Tt).forEach(([Ft,on])=>jt(on,ie.getContext(Ft),et)),et}function jt(ue,xe,ie){const Oe=Mt(ue),et=ue.value;Object.entries(Oe).forEach(([Tt,Ft])=>{jt(Ft,et.component?xe?xe.children.getContext(Tt):null:xe,ie)}),ie.canDeactivateChecks.push(new ss(et.component&&xe&&xe.outlet&&xe.outlet.isActivated?xe.outlet.component:null,et))}function Cn(ue){return"function"==typeof ue}function _i(ue){return ue instanceof E.K||"EmptyError"===ue?.name}const vs=Symbol("INITIAL_VALUE");function $o(){return(0,T.w)(ue=>(0,h.a)(ue.map(xe=>xe.pipe((0,b.q)(1),(0,D.O)(vs)))).pipe((0,C.U)(xe=>{for(const ie of xe)if(!0!==ie){if(ie===vs)return vs;if(!1===ie||ie instanceof B)return ie}return!0}),(0,y.h)(xe=>xe!==vs),(0,b.q)(1)))}function Fo(ue){return(0,M.z)((0,k.b)(xe=>{if(Ze(xe))throw Ro(0,xe)}),(0,C.U)(xe=>!0===xe))}class go{constructor(xe){this.segmentGroup=xe||null}}class Ss{constructor(xe){this.urlTree=xe}}function Bo(ue){return(0,p._)(new go(ue))}function Gi(ue){return(0,p._)(new Ss(ue))}class Zs{constructor(xe,ie){this.urlSerializer=xe,this.urlTree=ie}noMatchError(xe){return new e.vHH(4002,!1)}lineralizeSegments(xe,ie){let Oe=[],et=ie.root;for(;;){if(Oe=Oe.concat(et.segments),0===et.numberOfChildren)return(0,i.of)(Oe);if(et.numberOfChildren>1||!et.children[ne])return(0,p._)(new e.vHH(4e3,!1));et=et.children[ne]}}applyRedirectCommands(xe,ie,Oe){return this.applyRedirectCreateUrlTree(ie,this.urlSerializer.parse(ie),xe,Oe)}applyRedirectCreateUrlTree(xe,ie,Oe,et){const Tt=this.createSegmentGroup(xe,ie.root,Oe,et);return new B(Tt,this.createQueryParams(ie.queryParams,this.urlTree.queryParams),ie.fragment)}createQueryParams(xe,ie){const Oe={};return Object.entries(xe).forEach(([et,Tt])=>{if("string"==typeof Tt&&Tt.startsWith(":")){const on=Tt.substring(1);Oe[et]=ie[on]}else Oe[et]=Tt}),Oe}createSegmentGroup(xe,ie,Oe,et){const Tt=this.createSegments(xe,ie.segments,Oe,et);let Ft={};return Object.entries(ie.children).forEach(([on,tn])=>{Ft[on]=this.createSegmentGroup(xe,tn,Oe,et)}),new Me(Tt,Ft)}createSegments(xe,ie,Oe,et){return ie.map(Tt=>Tt.path.startsWith(":")?this.findPosParam(xe,Tt,et):this.findOrReturn(Tt,Oe))}findPosParam(xe,ie,Oe){const et=Oe[ie.path.substring(1)];if(!et)throw new e.vHH(4001,!1);return et}findOrReturn(xe,ie){let Oe=0;for(const et of ie){if(et.path===xe.path)return ie.splice(Oe),et;Oe++}return xe}}const Fs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function er(ue,xe,ie,Oe,et){const Tt=Bs(ue,xe,ie);return Tt.matched?(Oe=function Xo(ue,xe){return ue.providers&&!ue._injector&&(ue._injector=(0,e.MMx)(ue.providers,xe,`Route: ${ue.path}`)),ue._injector??xe}(xe,Oe),function Ao(ue,xe,ie,Oe){const et=xe.canMatch;if(!et||0===et.length)return(0,i.of)(!0);const Tt=et.map(Ft=>{const on=Qt(Ft,ue);return Re(function ji(ue){return ue&&Cn(ue.canMatch)}(on)?on.canMatch(xe,ie):ue.runInContext(()=>on(xe,ie)))});return(0,i.of)(Tt).pipe($o(),Fo())}(Oe,xe,ie).pipe((0,C.U)(Ft=>!0===Ft?Tt:{...Fs}))):(0,i.of)(Tt)}function Bs(ue,xe,ie){if(""===xe.path)return"full"===xe.pathMatch&&(ue.hasChildren()||ie.length>0)?{...Fs}:{matched:!0,consumedSegments:[],remainingSegments:ie,parameters:{},positionalParamSegments:{}};const et=(xe.matcher||ke)(ie,ue,xe);if(!et)return{...Fs};const Tt={};Object.entries(et.posParams??{}).forEach(([on,tn])=>{Tt[on]=tn.path});const Ft=et.consumed.length>0?{...Tt,...et.consumed[et.consumed.length-1].parameters}:Tt;return{matched:!0,consumedSegments:et.consumed,remainingSegments:ie.slice(et.consumed.length),parameters:Ft,positionalParamSegments:et.posParams??{}}}function No(ue,xe,ie,Oe){return ie.length>0&&function ys(ue,xe,ie){return ie.some(Oe=>pn(ue,xe,Oe)&&Vi(Oe)!==ne)}(ue,ie,Oe)?{segmentGroup:new Me(xe,Ut(Oe,new Me(ie,ue.children))),slicedSegments:[]}:0===ie.length&&function wn(ue,xe,ie){return ie.some(Oe=>pn(ue,xe,Oe))}(ue,ie,Oe)?{segmentGroup:new Me(ue.segments,zr(ue,0,ie,Oe,ue.children)),slicedSegments:ie}:{segmentGroup:new Me(ue.segments,ue.children),slicedSegments:ie}}function zr(ue,xe,ie,Oe,et){const Tt={};for(const Ft of Oe)if(pn(ue,ie,Ft)&&!et[Vi(Ft)]){const on=new Me([],{});Tt[Vi(Ft)]=on}return{...et,...Tt}}function Ut(ue,xe){const ie={};ie[ne]=xe;for(const Oe of ue)if(""===Oe.path&&Vi(Oe)!==ne){const et=new Me([],{});ie[Vi(Oe)]=et}return ie}function pn(ue,xe,ie){return(!(ue.hasChildren()||xe.length>0)||"full"!==ie.pathMatch)&&""===ie.path}class Cs{constructor(xe,ie,Oe,et,Tt,Ft,on){this.injector=xe,this.configLoader=ie,this.rootComponentType=Oe,this.config=et,this.urlTree=Tt,this.paramsInheritanceStrategy=Ft,this.urlSerializer=on,this.allowRedirects=!0,this.applyRedirects=new Zs(this.urlSerializer,this.urlTree)}noMatchError(xe){return new e.vHH(4002,!1)}recognize(){const xe=No(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,xe,ne).pipe((0,R.K)(ie=>{if(ie instanceof Ss)return this.allowRedirects=!1,this.urlTree=ie.urlTree,this.match(ie.urlTree);throw ie instanceof go?this.noMatchError(ie):ie}),(0,C.U)(ie=>{const Oe=new Fn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ne,this.rootComponentType,null,{}),et=new Vn(Oe,ie),Tt=new On("",et),Ft=function ve(ue,xe,ie=null,Oe=null){return x(nt(ue),xe,ie,Oe)}(Oe,[],this.urlTree.queryParams,this.urlTree.fragment);return Ft.queryParams=this.urlTree.queryParams,Tt.url=this.urlSerializer.serialize(Ft),this.inheritParamsAndData(Tt._root),{state:Tt,tree:Ft}}))}match(xe){return this.processSegmentGroup(this.injector,this.config,xe.root,ne).pipe((0,R.K)(Oe=>{throw Oe instanceof go?this.noMatchError(Oe):Oe}))}inheritParamsAndData(xe){const ie=xe.value,Oe=Xt(ie,this.paramsInheritanceStrategy);ie.params=Object.freeze(Oe.params),ie.data=Object.freeze(Oe.data),xe.children.forEach(et=>this.inheritParamsAndData(et))}processSegmentGroup(xe,ie,Oe,et){return 0===Oe.segments.length&&Oe.hasChildren()?this.processChildren(xe,ie,Oe):this.processSegment(xe,ie,Oe,Oe.segments,et,!0)}processChildren(xe,ie,Oe){const et=[];for(const Tt of Object.keys(Oe.children))"primary"===Tt?et.unshift(Tt):et.push(Tt);return(0,t.D)(et).pipe((0,A.b)(Tt=>{const Ft=Oe.children[Tt],on=function us(ue,xe){const ie=ue.filter(Oe=>Vi(Oe)===xe);return ie.push(...ue.filter(Oe=>Vi(Oe)!==xe)),ie}(ie,Tt);return this.processSegmentGroup(xe,on,Ft,Tt)}),function Y(ue,xe){return(0,W.e)(function ze(ue,xe,ie,Oe,et){return(Tt,Ft)=>{let on=ie,tn=xe,bn=0;Tt.subscribe((0,j.x)(Ft,ti=>{const Fi=bn++;tn=on?ue(tn,ti,Fi):(on=!0,ti),Oe&&Ft.next(tn)},et&&(()=>{on&&Ft.next(tn),Ft.complete()})))}}(ue,xe,arguments.length>=2,!0))}((Tt,Ft)=>(Tt.push(...Ft),Tt)),(0,G.d)(null),function te(ue,xe){const ie=arguments.length>=2;return Oe=>Oe.pipe(ue?(0,y.h)((et,Tt)=>ue(et,Tt,Oe)):ee.y,V(1),ie?(0,G.d)(xe):(0,K.T)(()=>new E.K))}(),(0,P.z)(Tt=>{if(null===Tt)return Bo(Oe);const Ft=Tr(Tt);return function Fr(ue){ue.sort((xe,ie)=>xe.value.outlet===ne?-1:ie.value.outlet===ne?1:xe.value.outlet.localeCompare(ie.value.outlet))}(Ft),(0,i.of)(Ft)}))}processSegment(xe,ie,Oe,et,Tt,Ft){return(0,t.D)(ie).pipe((0,A.b)(on=>this.processSegmentAgainstRoute(on._injector??xe,ie,on,Oe,et,Tt,Ft).pipe((0,R.K)(tn=>{if(tn instanceof go)return(0,i.of)(null);throw tn}))),(0,S.P)(on=>!!on),(0,R.K)(on=>{if(_i(on))return function ps(ue,xe,ie){return 0===xe.length&&!ue.children[ie]}(Oe,et,Tt)?(0,i.of)([]):Bo(Oe);throw on}))}processSegmentAgainstRoute(xe,ie,Oe,et,Tt,Ft,on){return function hs(ue,xe,ie,Oe){return!!(Vi(ue)===Oe||Oe!==ne&&pn(xe,ie,ue))&&("**"===ue.path||Bs(xe,ue,ie).matched)}(Oe,et,Tt,Ft)?void 0===Oe.redirectTo?this.matchSegmentAgainstRoute(xe,et,Oe,Tt,Ft,on):on&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(xe,et,ie,Oe,Tt,Ft):Bo(et):Bo(et)}expandSegmentAgainstRouteUsingRedirect(xe,ie,Oe,et,Tt,Ft){return"**"===et.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(xe,Oe,et,Ft):this.expandRegularSegmentAgainstRouteUsingRedirect(xe,ie,Oe,et,Tt,Ft)}expandWildCardWithParamsAgainstRouteUsingRedirect(xe,ie,Oe,et){const Tt=this.applyRedirects.applyRedirectCommands([],Oe.redirectTo,{});return Oe.redirectTo.startsWith("/")?Gi(Tt):this.applyRedirects.lineralizeSegments(Oe,Tt).pipe((0,P.z)(Ft=>{const on=new Me(Ft,{});return this.processSegment(xe,ie,on,Ft,et,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(xe,ie,Oe,et,Tt,Ft){const{matched:on,consumedSegments:tn,remainingSegments:bn,positionalParamSegments:ti}=Bs(ie,et,Tt);if(!on)return Bo(ie);const Fi=this.applyRedirects.applyRedirectCommands(tn,et.redirectTo,ti);return et.redirectTo.startsWith("/")?Gi(Fi):this.applyRedirects.lineralizeSegments(et,Fi).pipe((0,P.z)(vi=>this.processSegment(xe,Oe,ie,vi.concat(bn),Ft,!1)))}matchSegmentAgainstRoute(xe,ie,Oe,et,Tt,Ft){let on;if("**"===Oe.path){const tn=et.length>0?He(et).parameters:{},bn=new Fn(et,tn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Br(Oe),Vi(Oe),Oe.component??Oe._loadedComponent??null,Oe,Hs(Oe));on=(0,i.of)({snapshot:bn,consumedSegments:[],remainingSegments:[]}),ie.children={}}else on=er(ie,Oe,et,xe).pipe((0,C.U)(({matched:tn,consumedSegments:bn,remainingSegments:ti,parameters:Fi})=>tn?{snapshot:new Fn(bn,Fi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Br(Oe),Vi(Oe),Oe.component??Oe._loadedComponent??null,Oe,Hs(Oe)),consumedSegments:bn,remainingSegments:ti}:null));return on.pipe((0,T.w)(tn=>null===tn?Bo(ie):this.getChildConfig(xe=Oe._injector??xe,Oe,et).pipe((0,T.w)(({routes:bn})=>{const ti=Oe._loadedInjector??xe,{snapshot:Fi,consumedSegments:vi,remainingSegments:Vo}=tn,{segmentGroup:ir,slicedSegments:Gs}=No(ie,vi,Vo,bn);if(0===Gs.length&&ir.hasChildren())return this.processChildren(ti,bn,ir).pipe((0,C.U)(Is=>null===Is?null:[new Vn(Fi,Is)]));if(0===bn.length&&0===Gs.length)return(0,i.of)([new Vn(Fi,[])]);const ms=Vi(Oe)===Tt;return this.processSegment(ti,bn,ir,Gs,ms?ne:Tt,!0).pipe((0,C.U)(Is=>[new Vn(Fi,Is)]))}))))}getChildConfig(xe,ie,Oe){return ie.children?(0,i.of)({routes:ie.children,injector:xe}):ie.loadChildren?void 0!==ie._loadedRoutes?(0,i.of)({routes:ie._loadedRoutes,injector:ie._loadedInjector}):function Wo(ue,xe,ie,Oe){const et=xe.canLoad;if(void 0===et||0===et.length)return(0,i.of)(!0);const Tt=et.map(Ft=>{const on=Qt(Ft,ue);return Re(function Mi(ue){return ue&&Cn(ue.canLoad)}(on)?on.canLoad(xe,ie):ue.runInContext(()=>on(xe,ie)))});return(0,i.of)(Tt).pipe($o(),Fo())}(xe,ie,Oe).pipe((0,P.z)(et=>et?this.configLoader.loadChildren(xe,ie).pipe((0,k.b)(Tt=>{ie._loadedRoutes=Tt.routes,ie._loadedInjector=Tt.injector})):function ro(ue){return(0,p._)(Do(!1,3))}())):(0,i.of)({routes:[],injector:xe})}}function na(ue){const xe=ue.value.routeConfig;return xe&&""===xe.path}function Tr(ue){const xe=[],ie=new Set;for(const Oe of ue){if(!na(Oe)){xe.push(Oe);continue}const et=xe.find(Tt=>Oe.value.routeConfig===Tt.value.routeConfig);void 0!==et?(et.children.push(...Oe.children),ie.add(et)):xe.push(Oe)}for(const Oe of ie){const et=Tr(Oe.children);xe.push(new Vn(Oe.value,et))}return xe.filter(Oe=>!ie.has(Oe))}function Br(ue){return ue.data||{}}function Hs(ue){return ue.resolve||{}}function Hr(ue){return"string"==typeof ue.title||null===ue.title}function zs(ue){return(0,T.w)(xe=>{const ie=ue(xe);return ie?(0,t.D)(ie).pipe((0,C.U)(()=>xe)):(0,i.of)(xe)})}const Ys=new e.OlP("ROUTES");let me=(()=>{class ue{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(ie){if(this.componentLoaders.get(ie))return this.componentLoaders.get(ie);if(ie._loadedComponent)return(0,i.of)(ie._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ie);const Oe=Re(ie.loadComponent()).pipe((0,C.U)(ct),(0,k.b)(Tt=>{this.onLoadEndListener&&this.onLoadEndListener(ie),ie._loadedComponent=Tt}),(0,re.x)(()=>{this.componentLoaders.delete(ie)})),et=new _.c(Oe,()=>new d.x).pipe((0,De.x)());return this.componentLoaders.set(ie,et),et}loadChildren(ie,Oe){if(this.childrenLoaders.get(Oe))return this.childrenLoaders.get(Oe);if(Oe._loadedRoutes)return(0,i.of)({routes:Oe._loadedRoutes,injector:Oe._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Oe);const Tt=function vt(ue,xe,ie,Oe){return Re(ue.loadChildren()).pipe((0,C.U)(ct),(0,P.z)(et=>et instanceof e.YKP||Array.isArray(et)?(0,i.of)(et):(0,t.D)(xe.compileModuleAsync(et))),(0,C.U)(et=>{Oe&&Oe(ue);let Tt,Ft,on=!1;return Array.isArray(et)?(Ft=et,!0):(Tt=et.create(ie).injector,Ft=Tt.get(Ys,[],{optional:!0,self:!0}).flat()),{routes:Ft.map(ds),injector:Tt}}))}(Oe,this.compiler,ie,this.onLoadEndListener).pipe((0,re.x)(()=>{this.childrenLoaders.delete(Oe)})),Ft=new _.c(Tt,()=>new d.x).pipe((0,De.x)());return this.childrenLoaders.set(Oe,Ft),Ft}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function ct(ue){return function Ue(ue){return ue&&"object"==typeof ue&&"default"in ue}(ue)?ue.default:ue}let Ht=(()=>{class ue{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new d.x,this.transitionAbortSubject=new d.x,this.configLoader=(0,e.f3M)(me),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(Lt),this.rootContexts=(0,e.f3M)(bi),this.inputBindingEnabled=null!==(0,e.f3M)(ln,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,i.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=et=>this.events.next(new Ni(et)),this.configLoader.onLoadStartListener=et=>this.events.next(new Zi(et))}complete(){this.transitions?.complete()}handleNavigationRequest(ie){const Oe=++this.navigationId;this.transitions?.next({...this.transitions.value,...ie,id:Oe})}setupNavigations(ie,Oe,et){return this.transitions=new l.X({id:0,currentUrlTree:Oe,currentRawUrl:Oe,currentBrowserUrl:Oe,extractedUrl:ie.urlHandlingStrategy.extract(Oe),urlAfterRedirects:ie.urlHandlingStrategy.extract(Oe),rawUrl:Oe,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ii,restoredState:null,currentSnapshot:et.snapshot,targetSnapshot:null,currentRouterState:et,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,y.h)(Tt=>0!==Tt.id),(0,C.U)(Tt=>({...Tt,extractedUrl:ie.urlHandlingStrategy.extract(Tt.rawUrl)})),(0,T.w)(Tt=>{this.currentTransition=Tt;let Ft=!1,on=!1;return(0,i.of)(Tt).pipe((0,k.b)(tn=>{this.currentNavigation={id:tn.id,initialUrl:tn.rawUrl,extractedUrl:tn.extractedUrl,trigger:tn.source,extras:tn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,T.w)(tn=>{const bn=tn.currentBrowserUrl.toString(),ti=!ie.navigated||tn.extractedUrl.toString()!==bn||bn!==tn.currentUrlTree.toString();if(!ti&&"reload"!==(tn.extras.onSameUrlNavigation??ie.onSameUrlNavigation)){const vi="";return this.events.next(new ri(tn.id,this.urlSerializer.serialize(tn.rawUrl),vi,0)),tn.resolve(null),v.E}if(ie.urlHandlingStrategy.shouldProcessUrl(tn.rawUrl))return(0,i.of)(tn).pipe((0,T.w)(vi=>{const Vo=this.transitions?.getValue();return this.events.next(new di(vi.id,this.urlSerializer.serialize(vi.extractedUrl),vi.source,vi.restoredState)),Vo!==this.transitions?.getValue()?v.E:Promise.resolve(vi)}),function La(ue,xe,ie,Oe,et,Tt){return(0,P.z)(Ft=>function es(ue,xe,ie,Oe,et,Tt,Ft="emptyOnly"){return new Cs(ue,xe,ie,Oe,et,Ft,Tt).recognize()}(ue,xe,ie,Oe,Ft.extractedUrl,et,Tt).pipe((0,C.U)(({state:on,tree:tn})=>({...Ft,targetSnapshot:on,urlAfterRedirects:tn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,ie.config,this.urlSerializer,ie.paramsInheritanceStrategy),(0,k.b)(vi=>{Tt.targetSnapshot=vi.targetSnapshot,Tt.urlAfterRedirects=vi.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:vi.urlAfterRedirects};const Vo=new Ti(vi.id,this.urlSerializer.serialize(vi.extractedUrl),this.urlSerializer.serialize(vi.urlAfterRedirects),vi.targetSnapshot);this.events.next(Vo)}));if(ti&&ie.urlHandlingStrategy.shouldProcessUrl(tn.currentRawUrl)){const{id:vi,extractedUrl:Vo,source:ir,restoredState:Gs,extras:ms}=tn,Is=new di(vi,this.urlSerializer.serialize(Vo),ir,Gs);this.events.next(Is);const Za=rt(0,this.rootComponentType).snapshot;return this.currentTransition=Tt={...tn,targetSnapshot:Za,urlAfterRedirects:Vo,extras:{...ms,skipLocationChange:!1,replaceUrl:!1}},(0,i.of)(Tt)}{const vi="";return this.events.next(new ri(tn.id,this.urlSerializer.serialize(tn.extractedUrl),vi,1)),tn.resolve(null),v.E}}),(0,k.b)(tn=>{const bn=new li(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot);this.events.next(bn)}),(0,C.U)(tn=>(this.currentTransition=Tt={...tn,guards:io(tn.targetSnapshot,tn.currentSnapshot,this.rootContexts)},Tt)),function st(ue,xe){return(0,P.z)(ie=>{const{targetSnapshot:Oe,currentSnapshot:et,guards:{canActivateChecks:Tt,canDeactivateChecks:Ft}}=ie;return 0===Ft.length&&0===Tt.length?(0,i.of)({...ie,guardsResult:!0}):function ut(ue,xe,ie,Oe){return(0,t.D)(ue).pipe((0,P.z)(et=>function ho(ue,xe,ie,Oe,et){const Tt=xe&&xe.routeConfig?xe.routeConfig.canDeactivate:null;if(!Tt||0===Tt.length)return(0,i.of)(!0);const Ft=Tt.map(on=>{const tn=Si(xe)??et,bn=Qt(on,tn);return Re(function mo(ue){return ue&&Cn(ue.canDeactivate)}(bn)?bn.canDeactivate(ue,xe,ie,Oe):tn.runInContext(()=>bn(ue,xe,ie,Oe))).pipe((0,S.P)())});return(0,i.of)(Ft).pipe($o())}(et.component,et.route,ie,xe,Oe)),(0,S.P)(et=>!0!==et,!0))}(Ft,Oe,et,ue).pipe((0,P.z)(on=>on&&function Pn(ue){return"boolean"==typeof ue}(on)?function Ve(ue,xe,ie,Oe){return(0,t.D)(xe).pipe((0,A.b)(et=>(0,u.z)(function $t(ue,xe){return null!==ue&&xe&&xe(new ki(ue)),(0,i.of)(!0)}(et.route.parent,Oe),function Et(ue,xe){return null!==ue&&xe&&xe(new no(ue)),(0,i.of)(!0)}(et.route,Oe),function jn(ue,xe,ie){const Oe=xe[xe.length-1],Tt=xe.slice(0,xe.length-1).reverse().map(Ft=>function it(ue){const xe=ue.routeConfig?ue.routeConfig.canActivateChild:null;return xe&&0!==xe.length?{node:ue,guards:xe}:null}(Ft)).filter(Ft=>null!==Ft).map(Ft=>(0,z.P)(()=>{const on=Ft.guards.map(tn=>{const bn=Si(Ft.node)??ie,ti=Qt(tn,bn);return Re(function qi(ue){return ue&&Cn(ue.canActivateChild)}(ti)?ti.canActivateChild(Oe,ue):bn.runInContext(()=>ti(Oe,ue))).pipe((0,S.P)())});return(0,i.of)(on).pipe($o())}));return(0,i.of)(Tt).pipe($o())}(ue,et.path,ie),function In(ue,xe,ie){const Oe=xe.routeConfig?xe.routeConfig.canActivate:null;if(!Oe||0===Oe.length)return(0,i.of)(!0);const et=Oe.map(Tt=>(0,z.P)(()=>{const Ft=Si(xe)??ie,on=Qt(Tt,Ft);return Re(function fo(ue){return ue&&Cn(ue.canActivate)}(on)?on.canActivate(xe,ue):Ft.runInContext(()=>on(xe,ue))).pipe((0,S.P)())}));return(0,i.of)(et).pipe($o())}(ue,et.route,ie))),(0,S.P)(et=>!0!==et,!0))}(Oe,Tt,ue,xe):(0,i.of)(on)),(0,C.U)(on=>({...ie,guardsResult:on})))})}(this.environmentInjector,tn=>this.events.next(tn)),(0,k.b)(tn=>{if(Tt.guardsResult=tn.guardsResult,Ze(tn.guardsResult))throw Ro(0,tn.guardsResult);const bn=new fi(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot,!!tn.guardsResult);this.events.next(bn)}),(0,y.h)(tn=>!!tn.guardsResult||(this.cancelNavigationTransition(tn,"",3),!1)),zs(tn=>{if(tn.guards.canActivateChecks.length)return(0,i.of)(tn).pipe((0,k.b)(bn=>{const ti=new to(bn.id,this.urlSerializer.serialize(bn.extractedUrl),this.urlSerializer.serialize(bn.urlAfterRedirects),bn.targetSnapshot);this.events.next(ti)}),(0,T.w)(bn=>{let ti=!1;return(0,i.of)(bn).pipe(function tr(ue,xe){return(0,P.z)(ie=>{const{targetSnapshot:Oe,guards:{canActivateChecks:et}}=ie;if(!et.length)return(0,i.of)(ie);let Tt=0;return(0,t.D)(et).pipe((0,A.b)(Ft=>function Vs(ue,xe,ie,Oe){const et=ue.routeConfig,Tt=ue._resolve;return void 0!==et?.title&&!Hr(et)&&(Tt[le]=et.title),function ia(ue,xe,ie,Oe){const et=function Us(ue){return[...Object.keys(ue),...Object.getOwnPropertySymbols(ue)]}(ue);if(0===et.length)return(0,i.of)({});const Tt={};return(0,t.D)(et).pipe((0,P.z)(Ft=>function oa(ue,xe,ie,Oe){const et=Si(xe)??Oe,Tt=Qt(ue,et);return Re(Tt.resolve?Tt.resolve(xe,ie):et.runInContext(()=>Tt(xe,ie)))}(ue[Ft],xe,ie,Oe).pipe((0,S.P)(),(0,k.b)(on=>{Tt[Ft]=on}))),V(1),(0,pe.h)(Tt),(0,R.K)(Ft=>_i(Ft)?v.E:(0,p._)(Ft)))}(Tt,ue,xe,Oe).pipe((0,C.U)(Ft=>(ue._resolvedData=Ft,ue.data=Xt(ue,ie).resolve,et&&Hr(et)&&(ue.data[le]=et.title),null)))}(Ft.route,Oe,ue,xe)),(0,k.b)(()=>Tt++),V(1),(0,P.z)(Ft=>Tt===et.length?(0,i.of)(ie):v.E))})}(ie.paramsInheritanceStrategy,this.environmentInjector),(0,k.b)({next:()=>ti=!0,complete:()=>{ti||this.cancelNavigationTransition(bn,"",2)}}))}),(0,k.b)(bn=>{const ti=new oo(bn.id,this.urlSerializer.serialize(bn.extractedUrl),this.urlSerializer.serialize(bn.urlAfterRedirects),bn.targetSnapshot);this.events.next(ti)}))}),zs(tn=>{const bn=ti=>{const Fi=[];ti.routeConfig?.loadComponent&&!ti.routeConfig._loadedComponent&&Fi.push(this.configLoader.loadComponent(ti.routeConfig).pipe((0,k.b)(vi=>{ti.component=vi}),(0,C.U)(()=>{})));for(const vi of ti.children)Fi.push(...bn(vi));return Fi};return(0,h.a)(bn(tn.targetSnapshot.root)).pipe((0,G.d)(),(0,b.q)(1))}),zs(()=>this.afterPreactivation()),(0,C.U)(tn=>{const bn=function Kn(ue,xe,ie){const Oe=kn(ue,xe._root,ie?ie._root:void 0);return new gn(Oe,xe)}(ie.routeReuseStrategy,tn.targetSnapshot,tn.currentRouterState);return this.currentTransition=Tt={...tn,targetRouterState:bn},Tt}),(0,k.b)(()=>{this.events.next(new Ji)}),((ue,xe,ie,Oe)=>(0,C.U)(et=>(new Ui(xe,et.targetRouterState,et.currentRouterState,ie,Oe).activate(ue),et)))(this.rootContexts,ie.routeReuseStrategy,tn=>this.events.next(tn),this.inputBindingEnabled),(0,b.q)(1),(0,k.b)({next:tn=>{Ft=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new oi(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects))),ie.titleStrategy?.updateTitle(tn.targetRouterState.snapshot),tn.resolve(!0)},complete:()=>{Ft=!0}}),(0,ae.R)(this.transitionAbortSubject.pipe((0,k.b)(tn=>{throw tn}))),(0,re.x)(()=>{Ft||on||this.cancelNavigationTransition(Tt,"",1),this.currentNavigation?.id===Tt.id&&(this.currentNavigation=null)}),(0,R.K)(tn=>{if(on=!0,xi(tn))this.events.next(new ai(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),tn.message,tn.cancellationCode)),function Yo(ue){return xi(ue)&&Ze(ue.url)}(tn)?this.events.next(new Di(tn.url)):Tt.resolve(!1);else{this.events.next(new hi(Tt.id,this.urlSerializer.serialize(Tt.extractedUrl),tn,Tt.targetSnapshot??void 0));try{Tt.resolve(ie.errorHandler(tn))}catch(bn){Tt.reject(bn)}}return v.E}))}))}cancelNavigationTransition(ie,Oe,et){const Tt=new ai(ie.id,this.urlSerializer.serialize(ie.extractedUrl),Oe,et);this.events.next(Tt),ie.resolve(!1)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function sn(ue){return ue!==ii}let an=(()=>{class ue{buildTitle(ie){let Oe,et=ie.root;for(;void 0!==et;)Oe=this.getResolvedTitleForRoute(et)??Oe,et=et.children.find(Tt=>Tt.outlet===ne);return Oe}getResolvedTitleForRoute(ie){return ie.data[le]}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:function(){return(0,e.f3M)(An)},providedIn:"root"})}return ue})(),An=(()=>{class ue extends an{constructor(ie){super(),this.title=ie}updateTitle(ie){const Oe=this.buildTitle(ie);void 0!==Oe&&this.title.setTitle(Oe)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.LFG(X.Dx))};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})(),Ii=(()=>{class ue{static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:function(){return(0,e.f3M)(ui)},providedIn:"root"})}return ue})();class Oi{shouldDetach(xe){return!1}store(xe,ie){}shouldAttach(xe){return!1}retrieve(xe){return null}shouldReuseRoute(xe,ie){return xe.routeConfig===ie.routeConfig}}let ui=(()=>{class ue extends Oi{static#e=this.\u0275fac=function(){let ie;return function(et){return(ie||(ie=e.n5z(ue)))(et||ue)}}();static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();const Gn=new e.OlP("",{providedIn:"root",factory:()=>({})});let eo=(()=>{class ue{static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:function(){return(0,e.f3M)(Bn)},providedIn:"root"})}return ue})(),Bn=(()=>{class ue{shouldProcessUrl(ie){return!0}extract(ie){return ie}merge(ie,Oe){return ie}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();var Ki=function(ue){return ue[ue.COMPLETE=0]="COMPLETE",ue[ue.FAILED=1]="FAILED",ue[ue.REDIRECTING=2]="REDIRECTING",ue}(Ki||{});function Ho(ue,xe){ue.events.pipe((0,y.h)(ie=>ie instanceof oi||ie instanceof ai||ie instanceof hi||ie instanceof ri),(0,C.U)(ie=>ie instanceof oi||ie instanceof ri?Ki.COMPLETE:ie instanceof ai&&(0===ie.code||1===ie.code)?Ki.REDIRECTING:Ki.FAILED),(0,y.h)(ie=>ie!==Ki.REDIRECTING),(0,b.q)(1)).subscribe(()=>{xe()})}function ts(ue){throw ue}function fs(ue,xe,ie){return xe.parse("/")}const jo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_o={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let pi=(()=>{class ue{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,e.f3M)(e.c2e),this.isNgZoneEnabled=!1,this._events=new d.x,this.options=(0,e.f3M)(Gn,{optional:!0})||{},this.pendingTasks=(0,e.f3M)(e.HDt),this.errorHandler=this.options.errorHandler||ts,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||fs,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,e.f3M)(eo),this.routeReuseStrategy=(0,e.f3M)(Ii),this.titleStrategy=(0,e.f3M)(an),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,e.f3M)(Ys,{optional:!0})?.flat()??[],this.navigationTransitions=(0,e.f3M)(Ht),this.urlSerializer=(0,e.f3M)(Lt),this.location=(0,e.f3M)(f.Ye),this.componentInputBindingEnabled=!!(0,e.f3M)(ln,{optional:!0}),this.eventsSubscription=new m.w0,this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new B,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=rt(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(ie=>{this.lastSuccessfulId=ie.id,this.currentPageId=this.browserPageId},ie=>{this.console.warn(`Unhandled Navigation Error: ${ie}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const ie=this.navigationTransitions.events.subscribe(Oe=>{try{const{currentTransition:et}=this.navigationTransitions;if(null===et)return void(Li(Oe)&&this._events.next(Oe));if(Oe instanceof di)sn(et.source)&&(this.browserUrlTree=et.extractedUrl);else if(Oe instanceof ri)this.rawUrlTree=et.rawUrl;else if(Oe instanceof Ti){if("eager"===this.urlUpdateStrategy){if(!et.extras.skipLocationChange){const Tt=this.urlHandlingStrategy.merge(et.urlAfterRedirects,et.rawUrl);this.setBrowserUrl(Tt,et)}this.browserUrlTree=et.urlAfterRedirects}}else if(Oe instanceof Ji)this.currentUrlTree=et.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(et.urlAfterRedirects,et.rawUrl),this.routerState=et.targetRouterState,"deferred"===this.urlUpdateStrategy&&(et.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,et),this.browserUrlTree=et.urlAfterRedirects);else if(Oe instanceof ai)0!==Oe.code&&1!==Oe.code&&(this.navigated=!0),(3===Oe.code||2===Oe.code)&&this.restoreHistory(et);else if(Oe instanceof Di){const Tt=this.urlHandlingStrategy.merge(Oe.url,et.currentRawUrl),Ft={skipLocationChange:et.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||sn(et.source)};this.scheduleNavigation(Tt,ii,null,Ft,{resolve:et.resolve,reject:et.reject,promise:et.promise})}Oe instanceof hi&&this.restoreHistory(et,!0),Oe instanceof oi&&(this.navigated=!0),Li(Oe)&&this._events.next(Oe)}catch(et){this.navigationTransitions.transitionAbortSubject.next(et)}});this.eventsSubscription.add(ie)}resetRootComponentType(ie){this.routerState.root.component=ie,this.navigationTransitions.rootComponentType=ie}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const ie=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ii,ie)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(ie=>{const Oe="popstate"===ie.type?"popstate":"hashchange";"popstate"===Oe&&setTimeout(()=>{this.navigateToSyncWithBrowser(ie.url,Oe,ie.state)},0)}))}navigateToSyncWithBrowser(ie,Oe,et){const Tt={replaceUrl:!0},Ft=et?.navigationId?et:null;if(et){const tn={...et};delete tn.navigationId,delete tn.\u0275routerPageId,0!==Object.keys(tn).length&&(Tt.state=tn)}const on=this.parseUrl(ie);this.scheduleNavigation(on,Oe,Ft,Tt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(ie){this.config=ie.map(ds),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(ie,Oe={}){const{relativeTo:et,queryParams:Tt,fragment:Ft,queryParamsHandling:on,preserveFragment:tn}=Oe,bn=tn?this.currentUrlTree.fragment:Ft;let Fi,ti=null;switch(on){case"merge":ti={...this.currentUrlTree.queryParams,...Tt};break;case"preserve":ti=this.currentUrlTree.queryParams;break;default:ti=Tt||null}null!==ti&&(ti=this.removeEmptyProps(ti));try{Fi=nt(et?et.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof ie[0]||!ie[0].startsWith("/"))&&(ie=[]),Fi=this.currentUrlTree.root}return x(Fi,ie,ti,bn??null)}navigateByUrl(ie,Oe={skipLocationChange:!1}){const et=Ze(ie)?ie:this.parseUrl(ie),Tt=this.urlHandlingStrategy.merge(et,this.rawUrlTree);return this.scheduleNavigation(Tt,ii,null,Oe)}navigate(ie,Oe={skipLocationChange:!1}){return function ws(ue){for(let xe=0;xe{const Tt=ie[et];return null!=Tt&&(Oe[et]=Tt),Oe},{})}scheduleNavigation(ie,Oe,et,Tt,Ft){if(this.disposed)return Promise.resolve(!1);let on,tn,bn;Ft?(on=Ft.resolve,tn=Ft.reject,bn=Ft.promise):bn=new Promise((Fi,vi)=>{on=Fi,tn=vi});const ti=this.pendingTasks.add();return Ho(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ti))}),this.navigationTransitions.handleNavigationRequest({source:Oe,restoredState:et,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:ie,extras:Tt,resolve:on,reject:tn,promise:bn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),bn.catch(Fi=>Promise.reject(Fi))}setBrowserUrl(ie,Oe){const et=this.urlSerializer.serialize(ie);if(this.location.isCurrentPathEqualTo(et)||Oe.extras.replaceUrl){const Ft={...Oe.extras.state,...this.generateNgRouterState(Oe.id,this.browserPageId)};this.location.replaceState(et,"",Ft)}else{const Tt={...Oe.extras.state,...this.generateNgRouterState(Oe.id,this.browserPageId+1)};this.location.go(et,"",Tt)}}restoreHistory(ie,Oe=!1){if("computed"===this.canceledNavigationResolution){const Tt=this.currentPageId-this.browserPageId;0!==Tt?this.location.historyGo(Tt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===Tt&&(this.resetState(ie),this.browserUrlTree=ie.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Oe&&this.resetState(ie),this.resetUrlToCurrentUrlTree())}resetState(ie){this.routerState=ie.currentRouterState,this.currentUrlTree=ie.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ie.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ie,Oe){return"computed"===this.canceledNavigationResolution?{navigationId:ie,\u0275routerPageId:Oe}:{navigationId:ie}}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function Li(ue){return!(ue instanceof Ji||ue instanceof Di)}let Js=(()=>{class ue{constructor(ie,Oe,et,Tt,Ft,on){this.router=ie,this.route=Oe,this.tabIndexAttribute=et,this.renderer=Tt,this.el=Ft,this.locationStrategy=on,this.href=null,this.commands=null,this.onChanges=new d.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const tn=Ft.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===tn||"area"===tn,this.isAnchorElement?this.subscription=ie.events.subscribe(bn=>{bn instanceof oi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ie){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ie)}ngOnChanges(ie){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ie){null!=ie?(this.commands=Array.isArray(ie)?ie:[ie],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ie,Oe,et,Tt,Ft){return!!(null===this.urlTree||this.isAnchorElement&&(0!==ie||Oe||et||Tt||Ft||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const ie=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ie)}applyAttributeValue(ie,Oe){const et=this.renderer,Tt=this.el.nativeElement;null!==Oe?et.setAttribute(Tt,ie,Oe):et.removeAttribute(Tt,ie)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.Y36(pi),e.Y36(It),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(f.S$))};static#t=this.\u0275dir=e.lG2({type:ue,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Oe,et){1&Oe&&e.NdJ("click",function(Ft){return et.onClick(Ft.button,Ft.ctrlKey,Ft.shiftKey,Ft.altKey,Ft.metaKey)}),2&Oe&&e.uIk("target",et.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",e.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",e.VuI],replaceUrl:["replaceUrl","replaceUrl",e.VuI],routerLink:"routerLink"},standalone:!0,features:[e.Xq5,e.TTD]})}return ue})(),ur=(()=>{class ue{get isActive(){return this._isActive}constructor(ie,Oe,et,Tt,Ft){this.router=ie,this.element=Oe,this.renderer=et,this.cdr=Tt,this.link=Ft,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=ie.events.subscribe(on=>{on instanceof oi&&this.update()})}ngAfterContentInit(){(0,i.of)(this.links.changes,(0,i.of)(null)).pipe((0,ce.J)()).subscribe(ie=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ie=[...this.links.toArray(),this.link].filter(Oe=>!!Oe).map(Oe=>Oe.onChanges);this.linkInputChangesSubscription=(0,t.D)(ie).pipe((0,ce.J)()).subscribe(Oe=>{this._isActive!==this.isLinkActive(this.router)(Oe)&&this.update()})}set routerLinkActive(ie){const Oe=Array.isArray(ie)?ie:ie.split(" ");this.classes=Oe.filter(et=>!!et)}ngOnChanges(ie){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const ie=this.hasActiveLinks();this._isActive!==ie&&(this._isActive=ie,this.cdr.markForCheck(),this.classes.forEach(Oe=>{ie?this.renderer.addClass(this.element.nativeElement,Oe):this.renderer.removeClass(this.element.nativeElement,Oe)}),ie&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(ie))})}isLinkActive(ie){const Oe=function Ko(ue){return!!ue.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return et=>!!et.urlTree&&ie.isActive(et.urlTree,Oe)}hasActiveLinks(){const ie=this.isLinkActive(this.router);return this.link&&ie(this.link)||this.links.some(ie)}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.Y36(pi),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(Js,8))};static#t=this.\u0275dir=e.lG2({type:ue,selectors:[["","routerLinkActive",""]],contentQueries:function(Oe,et,Tt){if(1&Oe&&e.Suo(Tt,Js,5),2&Oe){let Ft;e.iGM(Ft=e.CRH())&&(et.links=Ft)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]})}return ue})();class sa{}let Zo=(()=>{class ue{constructor(ie,Oe,et,Tt,Ft){this.router=ie,this.injector=et,this.preloadingStrategy=Tt,this.loader=Ft}setUpPreloading(){this.subscription=this.router.events.pipe((0,y.h)(ie=>ie instanceof oi),(0,A.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ie,Oe){const et=[];for(const Tt of Oe){Tt.providers&&!Tt._injector&&(Tt._injector=(0,e.MMx)(Tt.providers,ie,`Route: ${Tt.path}`));const Ft=Tt._injector??ie,on=Tt._loadedInjector??Ft;(Tt.loadChildren&&!Tt._loadedRoutes&&void 0===Tt.canLoad||Tt.loadComponent&&!Tt._loadedComponent)&&et.push(this.preloadConfig(Ft,Tt)),(Tt.children||Tt._loadedRoutes)&&et.push(this.processRoutes(on,Tt.children??Tt._loadedRoutes))}return(0,t.D)(et).pipe((0,ce.J)())}preloadConfig(ie,Oe){return this.preloadingStrategy.preload(Oe,()=>{let et;et=Oe.loadChildren&&void 0===Oe.canLoad?this.loader.loadChildren(ie,Oe):(0,i.of)(null);const Tt=et.pipe((0,P.z)(Ft=>null===Ft?(0,i.of)(void 0):(Oe._loadedRoutes=Ft.routes,Oe._loadedInjector=Ft.injector,this.processRoutes(Ft.injector??ie,Ft.routes))));if(Oe.loadComponent&&!Oe._loadedComponent){const Ft=this.loader.loadComponent(Oe);return(0,t.D)([Tt,Ft]).pipe((0,ce.J)())}return Tt})}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.LFG(pi),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(sa),e.LFG(me))};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();const Ur=new e.OlP("");let ra=(()=>{class ue{constructor(ie,Oe,et,Tt,Ft={}){this.urlSerializer=ie,this.transitions=Oe,this.viewportScroller=et,this.zone=Tt,this.options=Ft,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ft.scrollPositionRestoration=Ft.scrollPositionRestoration||"disabled",Ft.anchorScrolling=Ft.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(ie=>{ie instanceof di?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ie.navigationTrigger,this.restoredId=ie.restoredState?ie.restoredState.navigationId:0):ie instanceof oi?(this.lastId=ie.id,this.scheduleScrollEvent(ie,this.urlSerializer.parse(ie.urlAfterRedirects).fragment)):ie instanceof ri&&0===ie.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ie,this.urlSerializer.parse(ie.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ie=>{ie instanceof wi&&(ie.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ie.position):ie.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ie.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ie,Oe){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new wi(ie,"popstate"===this.lastSource?this.store[this.restoredId]:null,Oe))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Oe){e.$Z()};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac})}return ue})();function ao(ue,xe){return{\u0275kind:ue,\u0275providers:xe}}function Ya(){const ue=(0,e.f3M)(e.zs3);return xe=>{const ie=ue.get(e.z2F);if(xe!==ie.components[0])return;const Oe=ue.get(pi),et=ue.get(Jn);1===ue.get(Mr)&&Oe.initialNavigation(),ue.get(la,null,e.XFs.Optional)?.setUpPreloading(),ue.get(Ur,null,e.XFs.Optional)?.init(),Oe.resetRootComponentType(ie.componentTypes[0]),et.closed||(et.next(),et.complete(),et.unsubscribe())}}const Jn=new e.OlP("",{factory:()=>new d.x}),Mr=new e.OlP("",{providedIn:"root",factory:()=>1}),la=new e.OlP("");function ca(ue){return ao(0,[{provide:la,useExisting:Zo},{provide:sa,useExisting:ue}])}const Er=new e.OlP("ROUTER_FORROOT_GUARD"),dn=[f.Ye,{provide:Lt,useClass:Wt},pi,bi,{provide:It,useFactory:function Ps(ue){return ue.routerState.root},deps:[pi]},me,[]];function gi(){return new e.PXZ("Router",pi)}let Ms=(()=>{class ue{constructor(ie){}static forRoot(ie,Oe){return{ngModule:ue,providers:[dn,[],{provide:Ys,multi:!0,useValue:ie},{provide:Er,useFactory:nr,deps:[[pi,new e.FiY,new e.tp0]]},{provide:Gn,useValue:Oe||{}},Oe?.useHash?{provide:f.S$,useClass:f.Do}:{provide:f.S$,useClass:f.b0},{provide:Ur,useFactory:()=>{const ue=(0,e.f3M)(f.EM),xe=(0,e.f3M)(e.R0b),ie=(0,e.f3M)(Gn),Oe=(0,e.f3M)(Ht),et=(0,e.f3M)(Lt);return ie.scrollOffset&&ue.setOffset(ie.scrollOffset),new ra(et,Oe,ue,xe,ie)}},Oe?.preloadingStrategy?ca(Oe.preloadingStrategy).\u0275providers:[],{provide:e.PXZ,multi:!0,useFactory:gi},Oe?.initialNavigation?ns(Oe):[],Oe?.bindToComponentInputs?ao(8,[mn,{provide:ln,useExisting:mn}]).\u0275providers:[],[{provide:br,useFactory:Ya},{provide:e.tb,multi:!0,useExisting:br}]]}}static forChild(ie){return{ngModule:ue,providers:[{provide:Ys,multi:!0,useValue:ie}]}}static#e=this.\u0275fac=function(Oe){return new(Oe||ue)(e.LFG(Er,8))};static#t=this.\u0275mod=e.oAB({type:ue});static#n=this.\u0275inj=e.cJS({})}return ue})();function nr(ue){return"guarded"}function ns(ue){return["disabled"===ue.initialNavigation?ao(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const xe=(0,e.f3M)(pi);return()=>{xe.setUpLocationChangeListener()}}},{provide:Mr,useValue:2}]).\u0275providers:[],"enabledBlocking"===ue.initialNavigation?ao(2,[{provide:Mr,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:xe=>{const ie=xe.get(f.V_,Promise.resolve());return()=>ie.then(()=>new Promise(Oe=>{const et=xe.get(pi),Tt=xe.get(Jn);Ho(et,()=>{Oe(!0)}),xe.get(Ht).afterPreactivation=()=>(Oe(!0),Tt.closed?(0,i.of)(void 0):Tt),et.initialNavigation()}))}}]).\u0275providers:[]]}const br=new e.OlP("")},14715:(tt,I,o)=>{"use strict";o.d(I,{BOg:()=>Dt,BXH:()=>hi,BXO:()=>Zd,Dfz:()=>Dc,ECR:()=>V0,Ej7:()=>Si,FsU:()=>P0,Hkd:()=>Ke,Idu:()=>Oi,ItN:()=>mr,Kw4:()=>zo,LBP:()=>Xu,LJh:()=>aa,M4u:()=>xa,M8e:()=>zs,Mwl:()=>Bs,NFG:()=>So,OYp:()=>li,OeK:()=>Et,P0d:()=>Uo,Q2k:()=>qa,RIp:()=>hs,RU0:()=>Ut,RYI:()=>ti,RZ3:()=>Ar,Rfq:()=>Ce,SFb:()=>Ga,TSL:()=>l1,U2Q:()=>Dn,UKj:()=>On,UTl:()=>Pt,UY$:()=>Nh,V65:()=>_e,VWu:()=>Fo,WH2:()=>Ws,XuQ:()=>x,Xwh:()=>zl,Z5F:()=>Ii,_ry:()=>cl,aIM:()=>qr,bBn:()=>L,cLx:()=>wc,cN2:()=>Qh,d2H:()=>Ns,d_$:()=>kc,eFY:()=>ah,eLU:()=>Pi,fhO:()=>d1,gvV:()=>as,iUK:()=>ao,irO:()=>oc,kR2:()=>sf,khz:()=>Qp,mqL:()=>ga,nZ9:()=>Qs,np6:()=>fl,nrZ:()=>F,qtR:()=>iu,rHg:()=>kd,rMt:()=>Wo,rk5:()=>Ja,s4U:()=>tl,sZJ:()=>xd,s_U:()=>s1,ssy:()=>Us,u8X:()=>cd,uIz:()=>_1,uYj:()=>Hd,ud1:()=>We,v6v:()=>Gh,vEg:()=>Gi,vkb:()=>jt,w1L:()=>Nd,wJM:()=>qi,x0x:()=>Hi,yQU:()=>hn,yhW:()=>ze,zdJ:()=>fc});const ze={name:"appstore",theme:"outline",icon:''},_e={name:"bars",theme:"outline",icon:''},We={name:"calendar",theme:"outline",icon:''},Ke={name:"caret-down",theme:"fill",icon:''},x={name:"caret-down",theme:"outline",icon:''},L={name:"caret-up",theme:"fill",icon:''},Ce={name:"check-circle",theme:"fill",icon:''},Dt={name:"caret-up",theme:"outline",icon:''},hn={name:"check-circle",theme:"outline",icon:''},Dn={name:"check",theme:"outline",icon:''},hi={name:"close-circle",theme:"fill",icon:''},li={name:"close-circle",theme:"outline",icon:''},Pi={name:"close",theme:"outline",icon:''},On={name:"clock-circle",theme:"outline",icon:''},Hi={name:"copy",theme:"outline",icon:''},zo={name:"copyright",theme:"outline",icon:''},Si={name:"dashboard",theme:"outline",icon:''},jt={name:"delete",theme:"outline",icon:''},qi={name:"dingding",theme:"outline",icon:''},Et={name:"bell",theme:"outline",icon:''},Wo={name:"double-right",theme:"outline",icon:''},Fo={name:"double-left",theme:"outline",icon:''},Gi={name:"down",theme:"outline",icon:''},Bs={name:"download",theme:"outline",icon:''},Ut={name:"ellipsis",theme:"outline",icon:''},hs={name:"edit",theme:"outline",icon:''},Us={name:"exclamation-circle",theme:"outline",icon:''},zs={name:"exclamation-circle",theme:"fill",icon:''},Ii={name:"eye",theme:"outline",icon:''},Oi={name:"facebook",theme:"outline",icon:''},ao={name:"file",theme:"fill",icon:''},aa={name:"file",theme:"outline",icon:''},So={name:"filter",theme:"fill",icon:''},ti={name:"folder",theme:"outline",icon:''},Ws={name:"form",theme:"outline",icon:''},Ja={name:"fullscreen",theme:"outline",icon:''},Ga={name:"fullscreen-exit",theme:"outline",icon:''},qa={name:"folder-open",theme:"outline",icon:''},tl={name:"github",theme:"outline",icon:''},cd={name:"global",theme:"outline",icon:''},ga={name:"heart",theme:"outline",icon:''},oc={name:"inbox",theme:"outline",icon:''},F={name:"info-circle",theme:"outline",icon:''},Pt={name:"info-circle",theme:"fill",icon:''},Uo={name:"layout",theme:"outline",icon:''},as={name:"left",theme:"outline",icon:''},Ns={name:"loading",theme:"outline",icon:''},Qs={name:"lock",theme:"outline",icon:''},mr={name:"logout",theme:"outline",icon:''},Qp={name:"menu",theme:"outline",icon:''},Xu={name:"menu-fold",theme:"outline",icon:''},cl={name:"menu-unfold",theme:"outline",icon:''},sf={name:"code-sandbox",theme:"outline",icon:''},ah={name:"paper-clip",theme:"outline",icon:''},fc={name:"plus",theme:"outline",icon:''},xd={name:"question-circle",theme:"outline",icon:''},Nd={name:"rotate-right",theme:"outline",icon:''},Ar={name:"rocket",theme:"outline",icon:''},Nh={name:"rotate-left",theme:"outline",icon:''},fl={name:"right",theme:"outline",icon:''},xa={name:"setting",theme:"outline",icon:''},kd={name:"search",theme:"outline",icon:''},Hd={name:"skin",theme:"outline",icon:''},Dc={name:"star",theme:"outline",icon:''},Gh={name:"star",theme:"fill",icon:''},Qh={name:"swap-right",theme:"outline",icon:''},Zd={name:"snippets",theme:"outline",icon:''},wc={name:"thunderbolt",theme:"fill",icon:''},qr={name:"tool",theme:"outline",icon:''},iu={name:"twitter",theme:"outline",icon:''},P0={name:"up",theme:"outline",icon:''},s1={name:"upload",theme:"outline",icon:''},l1={name:"vertical-align-top",theme:"outline",icon:''},zl={name:"vertical-left",theme:"outline",icon:''},d1={name:"vertical-right",theme:"outline",icon:''},V0={name:"user",theme:"outline",icon:''},_1={name:"zoom-in",theme:"outline",icon:''},kc={name:"zoom-out",theme:"outline",icon:''}},83991:(tt,I,o)=>{"use strict";o.d(I,{M:()=>z,l:()=>M});var e=o(65879),n=o(96814),t=o(65619),i=o(69862);const l=function(p){return{display:p}},h=["*"];let E=(()=>{class p{get notify(){return this._notify.asObservable()}constructor(_){this.http=_,this.cached={},this._notify=new t.X(null)}req(_,d){const m=`https://api.github.com/repos/${_}/${d}`;null==this.cached[m]?(this.cached[m]={},this.http.get(m).subscribe(f=>{this.cached[m]=f,this._notify.next(this.cached[m])})):this._notify.next(this.cached[m])}static#e=this.\u0275fac=function(d){return new(d||p)(e.LFG(i.eN))};static#t=this.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const u=!("object"==typeof document&&document);let z=(()=>{class p{get repo_url(){return`//github.com/${this.namespace}/${this.repo}/`}get count_url(){return`//github.com/${this.namespace}/${this.repo}/${this.typeToPath[this.type]||this.type}/`}constructor(_,d){this.srv=_,this.cdr=d,this.typeToLabel={stargazers:"Star",subscribers:"Watch",forks:"Fork"},this.typeToPath={forks:"network"},this.count=0,this.type="stargazers",this.size="default",this.showZero=!1}setCount(_){this.count=_?_[`${this.type}_count`]:0,this.cdr.detectChanges()}ngOnInit(){this.notify$=this.srv.notify.subscribe(_=>this.setCount(_))}ngOnChanges(){u||this.srv.req(this.namespace,this.repo)}ngOnDestroy(){this.notify$?.unsubscribe()}static#e=this.\u0275fac=function(d){return new(d||p)(e.Y36(E),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:p,selectors:[["github-button"]],hostVars:2,hostBindings:function(d,m){2&d&&e.ekj("github-btn-large","large"===m.size)},inputs:{type:"type",size:"size",namespace:"namespace",repo:"repo",showZero:"showZero"},standalone:!0,features:[e.TTD,e.jDz],ngContentSelectors:h,decls:7,vars:7,consts:[["target","_blank",1,"gh-btn",3,"href"],["aria-hidden","true",1,"gh-ico"],[1,"gh-text"],["target","_blank",1,"gh-count",3,"href","ngStyle"]],template:function(d,m){1&d&&(e.F$t(),e.TgZ(0,"a",0),e._UZ(1,"span",1),e.TgZ(2,"span",2),e._uU(3),e.qZA()(),e.TgZ(4,"a",3),e._uU(5),e.qZA(),e.Hsn(6)),2&d&&(e.Q6J("href",m.repo_url,e.LSH),e.xp6(3),e.Oqu(m.typeToLabel[m.type]),e.xp6(1),e.Q6J("href",m.count_url,e.LSH)("ngStyle",e.VKq(5,l,m.showZero||m.count>0?"block":"none")),e.xp6(1),e.hij(" ",m.count," "))},dependencies:[n.ez,n.PC],styles:['[_nghost-%COMP%]{font:700 11px/14px Helvetica Neue,Helvetica,Arial,sans-serif;height:20px;overflow:hidden}[_nghost-%COMP%]:after, [_nghost-%COMP%]:before{content:" ";display:table}[_nghost-%COMP%]:after{clear:both;visibility:hidden;font-size:0;height:0}[_nghost-%COMP%] .gh-btn, [_nghost-%COMP%] .gh-count, [_nghost-%COMP%] .gh-ico{float:left}[_nghost-%COMP%] .gh-btn, [_nghost-%COMP%] .gh-count{padding:2px 5px 2px 4px;color:#333;text-decoration:none;white-space:nowrap;cursor:pointer;border-radius:3px}[_nghost-%COMP%] .gh-btn{background-color:#eee;background-image:linear-gradient(to bottom,#fcfcfc 0,#eee 100%);background-repeat:no-repeat;border:1px solid #d5d5d5}[_nghost-%COMP%] .gh-btn:hover, [_nghost-%COMP%] .gh-btn:focus{text-decoration:none;background-color:#ddd;background-image:linear-gradient(to bottom,#eee 0,#ddd 100%);border-color:#ccc}[_nghost-%COMP%] .gh-btn:active{background-image:none;background-color:#dcdcdc;border-color:#b5b5b5;box-shadow:inset 0 2px 4px #00000026}[_nghost-%COMP%] .gh-ico{width:14px;height:14px;margin-right:4px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMTIgMTIgNDAgNDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMTIgMTIgNDAgNDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiMzMzMzMzMiIGQ9Ik0zMiAxMy40Yy0xMC41IDAtMTkgOC41LTE5IDE5YzAgOC40IDUuNSAxNS41IDEzIDE4YzEgMC4yIDEuMy0wLjQgMS4zLTAuOWMwLTAuNSAwLTEuNyAwLTMuMiBjLTUuMyAxLjEtNi40LTIuNi02LjQtMi42QzIwIDQxLjYgMTguOCA0MSAxOC44IDQxYy0xLjctMS4yIDAuMS0xLjEgMC4xLTEuMWMxLjkgMC4xIDIuOSAyIDIuOSAyYzEuNyAyLjkgNC41IDIuMSA1LjUgMS42IGMwLjItMS4yIDAuNy0yLjEgMS4yLTIuNmMtNC4yLTAuNS04LjctMi4xLTguNy05LjRjMC0yLjEgMC43LTMuNyAyLTUuMWMtMC4yLTAuNS0wLjgtMi40IDAuMi01YzAgMCAxLjYtMC41IDUuMiAyIGMxLjUtMC40IDMuMS0wLjcgNC44LTAuN2MxLjYgMCAzLjMgMC4yIDQuNyAwLjdjMy42LTIuNCA1LjItMiA1LjItMmMxIDIuNiAwLjQgNC42IDAuMiA1YzEuMiAxLjMgMiAzIDIgNS4xYzAgNy4zLTQuNSA4LjktOC43IDkuNCBjMC43IDAuNiAxLjMgMS43IDEuMyAzLjVjMCAyLjYgMCA0LjYgMCA1LjJjMCAwLjUgMC40IDEuMSAxLjMgMC45YzcuNS0yLjYgMTMtOS43IDEzLTE4LjFDNTEgMjEuOSA0Mi41IDEzLjQgMzIgMTMuNHoiLz48L3N2Zz4=);background-size:100% 100%;background-repeat:no-repeat}[_nghost-%COMP%] .gh-count{position:relative;display:none;margin-left:4px;background-color:#fafafa;border:1px solid #d4d4d4}[_nghost-%COMP%] .gh-count:hover, [_nghost-%COMP%] .gh-count:focus{color:#4183c4}[_nghost-%COMP%] .gh-count:before, [_nghost-%COMP%] .gh-count:after{content:"";position:absolute;display:inline-block;width:0;height:0;border-color:transparent;border-style:solid}[_nghost-%COMP%] .gh-count:before{top:50%;left:-3px;margin-top:-4px;border-width:4px 4px 4px 0;border-right-color:#fafafa}[_nghost-%COMP%] .gh-count:after{top:50%;left:-4px;z-index:-1;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#d4d4d4}.github-btn-large[_nghost-%COMP%]{height:30px}.github-btn-large[_nghost-%COMP%] .gh-btn, .github-btn-large[_nghost-%COMP%] .gh-count{padding:3px 10px 3px 8px;font-size:16px;line-height:22px;border-radius:4px}.github-btn-large[_nghost-%COMP%] .gh-ico{width:20px;height:20px}.github-btn-large[_nghost-%COMP%] .gh-count{margin-left:6px}.github-btn-large[_nghost-%COMP%] .gh-count:before{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0}.github-btn-large[_nghost-%COMP%] .gh-count:after{left:-6px;margin-top:-7px;border-width:7px 7px 7px 0}'],changeDetection:0})}return p})(),M=(()=>{class p{static#e=this.\u0275fac=function(d){return new(d||p)};static#t=this.\u0275mod=e.oAB({type:p});static#n=this.\u0275inj=e.cJS({imports:[z]})}return p})()},23771:(tt,I,o)=>{"use strict";o.d(I,{$:()=>R,j:()=>W});var e=o(97582),n=o(96814),t=o(65879),i=o(47394),l=o(97328),h=o(78645),E=o(63019),u=o(92438),z=o(59773),M=o(37398),p=o(18753),v=o(83064),_=o(27754),d=o(99087),m=o(62831),f=o(28802),C=o(49388);const T=["fixedEl"],b=["*"];var D=function(j){return j.resize="resize",j.scroll="scroll",j.touchstart="touchstart",j.touchmove="touchmove",j.touchend="touchend",j.pageshow="pageshow",j.load="LOAD",j}(D||{});function P(j){return function y(j){return typeof window<"u"&&j===window}(j)?{top:0,left:0,bottom:0}:j.getBoundingClientRect()}const A="ant-affix";let R=(()=>{class j{get target(){const Y=this.nzTarget;return("string"==typeof Y?this.document.querySelector(Y):Y)||window}constructor(Y,G,V,K,ee,te,pe,re,De,ae){this.nzConfigService=V,this.scrollSrv=K,this.ngZone=ee,this.platform=te,this.renderer=pe,this.nzResizeObserver=re,this.cdr=De,this.directionality=ae,this._nzModuleName="affix",this.nzChange=new t.vpe,this.dir="ltr",this.positionChangeSubscription=i.w0.EMPTY,this.offsetChanged$=new l.t(1),this.destroy$=new h.x,this.placeholderNode=Y.nativeElement,this.document=G}ngOnInit(){this.directionality.change?.pipe((0,z.R)(this.destroy$)).subscribe(Y=>{this.dir=Y,this.registerListeners(),this.updatePosition({}),this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(Y){const{nzOffsetBottom:G,nzOffsetTop:V,nzTarget:K}=Y;(G||V)&&this.offsetChanged$.next(),K&&this.registerListeners()}ngAfterViewInit(){this.registerListeners()}ngOnDestroy(){this.removeListeners()}registerListeners(){if(!this.platform.isBrowser)return;this.removeListeners();const Y=this.target===window?this.document.body:this.target;this.positionChangeSubscription=this.ngZone.runOutsideAngular(()=>(0,E.T)(...Object.keys(D).map(G=>(0,u.R)(this.target,G)),this.offsetChanged$.pipe((0,M.U)(()=>({}))),this.nzResizeObserver.observe(Y)).pipe((0,p.p)(20,void 0,{trailing:!0}),(0,z.R)(this.destroy$)).subscribe(G=>this.updatePosition(G))),this.timeout=setTimeout(()=>this.updatePosition({}))}removeListeners(){clearTimeout(this.timeout),this.positionChangeSubscription.unsubscribe(),this.destroy$.next(!0),this.destroy$.complete()}getOffset(Y,G){const V=Y.getBoundingClientRect(),K=P(G),ee=this.scrollSrv.getScroll(G,!0),te=this.scrollSrv.getScroll(G,!1),pe=this.document.body;return{top:V.top-K.top+ee-(pe.clientTop||0),left:V.left-K.left+te-(pe.clientLeft||0),width:V.width,height:V.height}}setAffixStyle(Y,G){const V=this.affixStyle,K=this.target===window;if("scroll"===Y.type&&V&&G&&K||(0,_.wU)(V,G))return;const ee=!!G,te=this.fixedEl.nativeElement;this.renderer.setStyle(te,"cssText",(0,_.GM)(G)),this.affixStyle=G,ee?te.classList.add(A):te.classList.remove(A),this.updateRtlClass(),(G&&!V||!G&&V)&&this.nzChange.emit(ee)}setPlaceholderStyle(Y){(0,_.wU)(Y,this.placeholderStyle)||(this.renderer.setStyle(this.placeholderNode,"cssText",(0,_.GM)(Y)),this.placeholderStyle=Y)}syncPlaceholderStyle(Y){if(!this.affixStyle)return;this.renderer.setStyle(this.placeholderNode,"cssText",""),this.placeholderStyle=void 0;const G={width:this.placeholderNode.offsetWidth,height:this.fixedEl.nativeElement.offsetHeight};this.setAffixStyle(Y,{...this.affixStyle,...G}),this.setPlaceholderStyle(G)}updatePosition(Y){if(!this.platform.isBrowser)return;const G=this.target;let V=this.nzOffsetTop;const K=this.scrollSrv.getScroll(G,!0),ee=this.getOffset(this.placeholderNode,G),te=this.fixedEl.nativeElement,pe={width:te.offsetWidth,height:te.offsetHeight},re={top:!1,bottom:!1};"number"!=typeof V&&"number"!=typeof this.nzOffsetBottom?(re.top=!0,V=0):(re.top="number"==typeof V,re.bottom="number"==typeof this.nzOffsetBottom);const De=P(G),ae=G.innerHeight||G.clientHeight;if(K>=ee.top-V&&re.top){const ce=ee.width;this.setAffixStyle(Y,{position:"fixed",top:De.top+V,left:De.left+ee.left,width:ce}),this.setPlaceholderStyle({width:ce,height:pe.height})}else if(K<=ee.top+pe.height+this.nzOffsetBottom-ae&&re.bottom){const ce=G===window?0:window.innerHeight-De.bottom,X=ee.width;this.setAffixStyle(Y,{position:"fixed",bottom:ce+this.nzOffsetBottom,left:De.left+ee.left,width:X}),this.setPlaceholderStyle({width:X,height:ee.height})}else Y.type===D.resize&&this.affixStyle&&"fixed"===this.affixStyle.position&&this.placeholderNode.offsetWidth?this.setAffixStyle(Y,{...this.affixStyle,width:this.placeholderNode.offsetWidth}):this.setAffixStyle(Y),this.setPlaceholderStyle();"resize"===Y.type&&this.syncPlaceholderStyle(Y)}updateRtlClass(){const Y=this.fixedEl.nativeElement;"rtl"===this.dir&&Y.classList.contains(A)?Y.classList.add(`${A}-rtl`):Y.classList.remove(`${A}-rtl`)}static#e=this.\u0275fac=function(G){return new(G||j)(t.Y36(t.SBq),t.Y36(n.K0),t.Y36(v.jY),t.Y36(d.MF),t.Y36(t.R0b),t.Y36(m.t4),t.Y36(t.Qsj),t.Y36(f.D3),t.Y36(t.sBO),t.Y36(C.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:j,selectors:[["nz-affix"]],viewQuery:function(G,V){if(1&G&&t.Gf(T,7),2&G){let K;t.iGM(K=t.CRH())&&(V.fixedEl=K.first)}},inputs:{nzTarget:"nzTarget",nzOffsetTop:"nzOffsetTop",nzOffsetBottom:"nzOffsetBottom"},outputs:{nzChange:"nzChange"},exportAs:["nzAffix"],features:[t.TTD],ngContentSelectors:b,decls:3,vars:0,consts:[["fixedEl",""]],template:function(G,V){1&G&&(t.F$t(),t.TgZ(0,"div",null,0),t.Hsn(2),t.qZA())},encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,v.oS)(),(0,_.Rn)(void 0)],j.prototype,"nzOffsetTop",void 0),(0,e.gn)([(0,v.oS)(),(0,_.Rn)(void 0)],j.prototype,"nzOffsetBottom",void 0),j})(),W=(()=>{class j{static#e=this.\u0275fac=function(G){return new(G||j)};static#t=this.\u0275mod=t.oAB({type:j});static#n=this.\u0275inj=t.cJS({imports:[C.vT,n.ez,m.ud]})}return j})()},93903:(tt,I,o)=>{"use strict";o.d(I,{L:()=>Y,r:()=>ze});var e=o(97582),n=o(65879),t=o(78645),i=o(59773),l=o(64194),h=o(83064),E=o(27754),u=o(49388),z=o(96814),M=o(90551),p=o(8324);function v(G,V){1&G&&n.GkF(0)}function _(G,V){if(1&G&&(n.ynx(0),n.YNc(1,v,1,0,"ng-container",9),n.BQk()),2&G){const K=n.oxw(3);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzIcon)}}function d(G,V){if(1&G&&n._UZ(0,"span",10),2&G){const K=n.oxw(3);n.Q6J("nzType",K.nzIconType||K.inferredIconType)("nzTheme",K.iconTheme)}}function m(G,V){if(1&G&&(n.TgZ(0,"div",6),n.YNc(1,_,2,1,"ng-container",7),n.YNc(2,d,1,2,"ng-template",null,8,n.W1O),n.qZA()),2&G){const K=n.MAs(3),ee=n.oxw(2);n.xp6(1),n.Q6J("ngIf",ee.nzIcon)("ngIfElse",K)}}function f(G,V){if(1&G&&(n.ynx(0),n._uU(1),n.BQk()),2&G){const K=n.oxw(4);n.xp6(1),n.Oqu(K.nzMessage)}}function C(G,V){if(1&G&&(n.TgZ(0,"span",14),n.YNc(1,f,2,1,"ng-container",9),n.qZA()),2&G){const K=n.oxw(3);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzMessage)}}function T(G,V){if(1&G&&(n.ynx(0),n._uU(1),n.BQk()),2&G){const K=n.oxw(4);n.xp6(1),n.Oqu(K.nzDescription)}}function b(G,V){if(1&G&&(n.TgZ(0,"span",15),n.YNc(1,T,2,1,"ng-container",9),n.qZA()),2&G){const K=n.oxw(3);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzDescription)}}function D(G,V){if(1&G&&(n.TgZ(0,"div",11),n.YNc(1,C,2,1,"span",12),n.YNc(2,b,2,1,"span",13),n.qZA()),2&G){const K=n.oxw(2);n.xp6(1),n.Q6J("ngIf",K.nzMessage),n.xp6(1),n.Q6J("ngIf",K.nzDescription)}}function y(G,V){if(1&G&&(n.ynx(0),n._uU(1),n.BQk()),2&G){const K=n.oxw(3);n.xp6(1),n.Oqu(K.nzAction)}}function P(G,V){if(1&G&&(n.TgZ(0,"div",16),n.YNc(1,y,2,1,"ng-container",9),n.qZA()),2&G){const K=n.oxw(2);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzAction)}}function S(G,V){1&G&&n._UZ(0,"span",19)}function A(G,V){if(1&G&&(n.ynx(0),n.TgZ(1,"span",20),n._uU(2),n.qZA(),n.BQk()),2&G){const K=n.oxw(4);n.xp6(2),n.Oqu(K.nzCloseText)}}function k(G,V){if(1&G&&(n.ynx(0),n.YNc(1,A,3,1,"ng-container",9),n.BQk()),2&G){const K=n.oxw(3);n.xp6(1),n.Q6J("nzStringTemplateOutlet",K.nzCloseText)}}function R(G,V){if(1&G){const K=n.EpF();n.TgZ(0,"button",17),n.NdJ("click",function(){n.CHM(K);const te=n.oxw(2);return n.KtG(te.closeAlert())}),n.YNc(1,S,1,0,"ng-template",null,18,n.W1O),n.YNc(3,k,2,1,"ng-container",7),n.qZA()}if(2&G){const K=n.MAs(2),ee=n.oxw(2);n.xp6(3),n.Q6J("ngIf",ee.nzCloseText)("ngIfElse",K)}}function W(G,V){if(1&G){const K=n.EpF();n.TgZ(0,"div",1),n.NdJ("@slideAlertMotion.done",function(){n.CHM(K);const te=n.oxw();return n.KtG(te.onFadeAnimationDone())}),n.YNc(1,m,4,2,"div",2),n.YNc(2,D,3,2,"div",3),n.YNc(3,P,2,1,"div",4),n.YNc(4,R,4,2,"button",5),n.qZA()}if(2&G){const K=n.oxw();n.ekj("ant-alert-rtl","rtl"===K.dir)("ant-alert-success","success"===K.nzType)("ant-alert-info","info"===K.nzType)("ant-alert-warning","warning"===K.nzType)("ant-alert-error","error"===K.nzType)("ant-alert-no-icon",!K.nzShowIcon)("ant-alert-banner",K.nzBanner)("ant-alert-closable",K.nzCloseable)("ant-alert-with-description",!!K.nzDescription),n.Q6J("@.disabled",K.nzNoAnimation)("@slideAlertMotion",void 0),n.xp6(1),n.Q6J("ngIf",K.nzShowIcon),n.xp6(1),n.Q6J("ngIf",K.nzMessage||K.nzDescription),n.xp6(1),n.Q6J("ngIf",K.nzAction),n.xp6(1),n.Q6J("ngIf",K.nzCloseable||K.nzCloseText)}}const j="alert";let ze=(()=>{class G{constructor(K,ee,te){this.nzConfigService=K,this.cdr=ee,this.directionality=te,this._nzModuleName=j,this.nzAction=null,this.nzCloseText=null,this.nzIconType=null,this.nzMessage=null,this.nzDescription=null,this.nzType="info",this.nzCloseable=!1,this.nzShowIcon=!1,this.nzBanner=!1,this.nzNoAnimation=!1,this.nzIcon=null,this.nzOnClose=new n.vpe,this.closed=!1,this.iconTheme="fill",this.inferredIconType="info-circle",this.dir="ltr",this.isTypeSet=!1,this.isShowIconSet=!1,this.destroy$=new t.x,this.nzConfigService.getConfigChangeEventForComponent(j).pipe((0,i.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(K=>{this.dir=K,this.cdr.detectChanges()}),this.dir=this.directionality.value}closeAlert(){this.closed=!0}onFadeAnimationDone(){this.closed&&this.nzOnClose.emit(!0)}ngOnChanges(K){const{nzShowIcon:ee,nzDescription:te,nzType:pe,nzBanner:re}=K;if(ee&&(this.isShowIconSet=!0),pe)switch(this.isTypeSet=!0,this.nzType){case"error":this.inferredIconType="close-circle";break;case"success":this.inferredIconType="check-circle";break;case"info":this.inferredIconType="info-circle";break;case"warning":this.inferredIconType="exclamation-circle"}te&&(this.iconTheme=this.nzDescription?"outline":"fill"),re&&(this.isTypeSet||(this.nzType="warning"),this.isShowIconSet||(this.nzShowIcon=!0))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(ee){return new(ee||G)(n.Y36(h.jY),n.Y36(n.sBO),n.Y36(u.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:G,selectors:[["nz-alert"]],inputs:{nzAction:"nzAction",nzCloseText:"nzCloseText",nzIconType:"nzIconType",nzMessage:"nzMessage",nzDescription:"nzDescription",nzType:"nzType",nzCloseable:"nzCloseable",nzShowIcon:"nzShowIcon",nzBanner:"nzBanner",nzNoAnimation:"nzNoAnimation",nzIcon:"nzIcon"},outputs:{nzOnClose:"nzOnClose"},exportAs:["nzAlert"],features:[n.TTD],decls:1,vars:1,consts:[["class","ant-alert",3,"ant-alert-rtl","ant-alert-success","ant-alert-info","ant-alert-warning","ant-alert-error","ant-alert-no-icon","ant-alert-banner","ant-alert-closable","ant-alert-with-description",4,"ngIf"],[1,"ant-alert"],["class","ant-alert-icon",4,"ngIf"],["class","ant-alert-content",4,"ngIf"],["class","ant-alert-action",4,"ngIf"],["type","button","tabindex","0","class","ant-alert-close-icon",3,"click",4,"ngIf"],[1,"ant-alert-icon"],[4,"ngIf","ngIfElse"],["iconDefaultTemplate",""],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"],[1,"ant-alert-content"],["class","ant-alert-message",4,"ngIf"],["class","ant-alert-description",4,"ngIf"],[1,"ant-alert-message"],[1,"ant-alert-description"],[1,"ant-alert-action"],["type","button","tabindex","0",1,"ant-alert-close-icon",3,"click"],["closeDefaultTemplate",""],["nz-icon","","nzType","close"],[1,"ant-alert-close-text"]],template:function(ee,te){1&ee&&n.YNc(0,W,5,24,"div",0),2&ee&&n.Q6J("ngIf",!te.closed)},dependencies:[z.O5,M.Ls,p.f],encapsulation:2,data:{animation:[l.Rq]},changeDetection:0})}return(0,e.gn)([(0,h.oS)(),(0,E.yF)()],G.prototype,"nzCloseable",void 0),(0,e.gn)([(0,h.oS)(),(0,E.yF)()],G.prototype,"nzShowIcon",void 0),(0,e.gn)([(0,E.yF)()],G.prototype,"nzBanner",void 0),(0,e.gn)([(0,E.yF)()],G.prototype,"nzNoAnimation",void 0),G})(),Y=(()=>{class G{static#e=this.\u0275fac=function(ee){return new(ee||G)};static#t=this.\u0275mod=n.oAB({type:G});static#n=this.\u0275inj=n.cJS({imports:[u.vT,z.ez,M.PV,p.T]})}return G})()},29094:(tt,I,o)=>{"use strict";o.d(I,{Fp:()=>j,IT:()=>W,on:()=>ze});var e=o(65879),n=o(97582),t=o(62831),i=o(96814),l=o(78645),h=o(92438),E=o(18753),u=o(59773),z=o(83064),M=o(27754),p=o(99087),v=o(23771),_=o(49388);const d=["ink"];function m(Y,G){}function f(Y,G){if(1&Y&&(e.TgZ(0,"nz-affix",2),e.YNc(1,m,0,0,"ng-template",3),e.qZA()),2&Y){const V=e.oxw(),K=e.MAs(2);e.Q6J("nzOffsetTop",V.nzOffsetTop)("nzTarget",V.container),e.xp6(1),e.Q6J("ngTemplateOutlet",K)}}const C=function(Y){return{"ant-anchor-fixed":Y}};function T(Y,G){if(1&Y&&(e.TgZ(0,"div",4)(1,"div",5)(2,"div",6),e._UZ(3,"div",7,8),e.qZA(),e.Hsn(5),e.qZA()()),2&Y){const V=e.oxw();e.Q6J("ngStyle",V.wrapperStyle),e.xp6(1),e.Q6J("ngClass",e.VKq(2,C,!V.nzAffix&&!V.nzShowInkInFixed))}}const b=["*"],D=["nzTemplate"],y=["linkTitle"];function P(Y,G){if(1&Y&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&Y){const V=e.oxw();e.xp6(1),e.Oqu(V.titleStr)}}function S(Y,G){if(!Y||!Y.getClientRects().length)return 0;const V=Y.getBoundingClientRect();return V.width||V.height?G===window?V.top-Y.ownerDocument.documentElement.clientTop:V.top-G.getBoundingClientRect().top:V.top}const k=/#([^#]+)$/,R=(0,t.i$)({passive:!0});let W=(()=>{class Y{constructor(V,K,ee,te,pe,re,De){this.doc=V,this.nzConfigService=K,this.scrollSrv=ee,this.cdr=te,this.platform=pe,this.zone=re,this.renderer=De,this._nzModuleName="anchor",this.nzAffix=!0,this.nzShowInkInFixed=!1,this.nzBounds=5,this.nzOffsetTop=void 0,this.nzTargetOffset=void 0,this.nzClick=new e.vpe,this.nzChange=new e.vpe,this.nzScroll=new e.vpe,this.visible=!1,this.wrapperStyle={"max-height":"100vh"},this.links=[],this.animating=!1,this.destroy$=new l.x,this.handleScrollTimeoutID=-1}registerLink(V){this.links.push(V)}unregisterLink(V){this.links.splice(this.links.indexOf(V),1)}getContainer(){return this.container||window}ngAfterViewInit(){this.registerScrollEvent()}ngOnDestroy(){clearTimeout(this.handleScrollTimeoutID),this.destroy$.next(!0),this.destroy$.complete()}registerScrollEvent(){this.platform.isBrowser&&(this.destroy$.next(!0),this.zone.runOutsideAngular(()=>{(0,h.R)(this.getContainer(),"scroll",R).pipe((0,E.p)(50),(0,u.R)(this.destroy$)).subscribe(()=>this.handleScroll())}),this.handleScrollTimeoutID=setTimeout(()=>this.handleScroll()))}handleScroll(){if(typeof document>"u"||this.animating)return;const V=[],ee=(this.nzTargetOffset?this.nzTargetOffset:this.nzOffsetTop||0)+this.nzBounds;if(this.links.forEach(te=>{const pe=k.exec(te.nzHref.toString());if(!pe)return;const re=this.doc.getElementById(pe[1]);if(re){const De=S(re,this.getContainer());Dere.top>pe.top?re:pe);this.handleActive(te.comp)}else this.clearActive(),this.cdr.detectChanges();this.setVisible()}clearActive(){this.links.forEach(V=>{V.unsetActive()})}setActive(V){const K=this.activeLink,ee=this.nzCurrentAnchor&&this.links.find(pe=>pe.nzHref===this.nzCurrentAnchor)||V;if(!ee)return;ee.setActive();const te=ee.getLinkTitleElement();this.ink.nativeElement.style.top=te.offsetTop+te.clientHeight/2-4.5+"px",this.activeLink=(V||ee).nzHref,K!==this.activeLink&&this.nzChange.emit(this.activeLink)}handleActive(V){this.clearActive(),this.setActive(V),this.visible=!0,this.setVisible(),this.nzScroll.emit(V)}setVisible(){const K="visible";this.ink&&(this.visible?this.renderer.addClass(this.ink.nativeElement,K):this.renderer.removeClass(this.ink.nativeElement,K))}handleScrollTo(V){const K=this.doc.querySelector(V.nzHref);if(!K)return;this.animating=!0;let pe=this.scrollSrv.getScroll(this.getContainer())+S(K,this.getContainer());pe-=void 0!==this.nzTargetOffset?this.nzTargetOffset:this.nzOffsetTop||0,this.scrollSrv.scrollTo(this.getContainer(),pe,{callback:()=>{this.animating=!1,this.handleActive(V)}}),this.nzClick.emit(V.nzHref)}ngOnChanges(V){const{nzOffsetTop:K,nzContainer:ee,nzCurrentAnchor:te}=V;if(K&&(this.wrapperStyle={"max-height":`calc(100vh - ${this.nzOffsetTop}px)`}),ee){const pe=this.nzContainer;this.container="string"==typeof pe?this.doc.querySelector(pe):pe,this.registerScrollEvent()}te&&this.setActive()}static#e=this.\u0275fac=function(K){return new(K||Y)(e.Y36(i.K0),e.Y36(z.jY),e.Y36(p.MF),e.Y36(e.sBO),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-anchor"]],viewQuery:function(K,ee){if(1&K&&e.Gf(d,5),2&K){let te;e.iGM(te=e.CRH())&&(ee.ink=te.first)}},inputs:{nzAffix:"nzAffix",nzShowInkInFixed:"nzShowInkInFixed",nzBounds:"nzBounds",nzOffsetTop:"nzOffsetTop",nzTargetOffset:"nzTargetOffset",nzContainer:"nzContainer",nzCurrentAnchor:"nzCurrentAnchor"},outputs:{nzClick:"nzClick",nzChange:"nzChange",nzScroll:"nzScroll"},exportAs:["nzAnchor"],features:[e.TTD],ngContentSelectors:b,decls:3,vars:2,consts:[[3,"nzOffsetTop","nzTarget",4,"ngIf","ngIfElse"],["content",""],[3,"nzOffsetTop","nzTarget"],[3,"ngTemplateOutlet"],[1,"ant-anchor-wrapper",3,"ngStyle"],[1,"ant-anchor",3,"ngClass"],[1,"ant-anchor-ink"],[1,"ant-anchor-ink-ball"],["ink",""]],template:function(K,ee){if(1&K&&(e.F$t(),e.YNc(0,f,2,3,"nz-affix",0),e.YNc(1,T,6,4,"ng-template",null,1,e.W1O)),2&K){const te=e.MAs(2);e.Q6J("ngIf",ee.nzAffix)("ngIfElse",te)}},dependencies:[i.mk,i.O5,i.tP,i.PC,v.$],encapsulation:2,changeDetection:0})}return(0,n.gn)([(0,M.yF)()],Y.prototype,"nzAffix",void 0),(0,n.gn)([(0,z.oS)(),(0,M.yF)()],Y.prototype,"nzShowInkInFixed",void 0),(0,n.gn)([(0,z.oS)(),(0,M.Rn)()],Y.prototype,"nzBounds",void 0),(0,n.gn)([(0,M.Rn)(void 0),(0,z.oS)()],Y.prototype,"nzOffsetTop",void 0),(0,n.gn)([(0,M.Rn)(void 0),(0,z.oS)()],Y.prototype,"nzTargetOffset",void 0),Y})(),j=(()=>{class Y{set nzTitle(V){V instanceof e.Rgc?(this.titleStr=null,this.titleTpl=V):this.titleStr=V}constructor(V,K,ee,te){this.elementRef=V,this.anchorComp=K,this.platform=ee,this.renderer=te,this.nzHref="#",this.titleStr=""}ngOnInit(){this.anchorComp.registerLink(this)}getLinkTitleElement(){return this.linkTitle.nativeElement}setActive(){this.renderer.addClass(this.elementRef.nativeElement,"ant-anchor-link-active")}unsetActive(){this.renderer.removeClass(this.elementRef.nativeElement,"ant-anchor-link-active")}goToClick(V){V.preventDefault(),V.stopPropagation(),this.platform.isBrowser&&this.anchorComp.handleScrollTo(this)}ngOnDestroy(){this.anchorComp.unregisterLink(this)}static#e=this.\u0275fac=function(K){return new(K||Y)(e.Y36(e.SBq),e.Y36(W),e.Y36(t.t4),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-link"]],contentQueries:function(K,ee,te){if(1&K&&e.Suo(te,D,5),2&K){let pe;e.iGM(pe=e.CRH())&&(ee.nzTemplate=pe.first)}},viewQuery:function(K,ee){if(1&K&&e.Gf(y,5),2&K){let te;e.iGM(te=e.CRH())&&(ee.linkTitle=te.first)}},hostAttrs:[1,"ant-anchor-link"],inputs:{nzHref:"nzHref",nzTarget:"nzTarget",nzTitle:"nzTitle"},exportAs:["nzLink"],ngContentSelectors:b,decls:4,vars:5,consts:[[1,"ant-anchor-link-title",3,"href","title","target","click"],["linkTitle",""],[4,"ngIf","ngIfElse"]],template:function(K,ee){1&K&&(e.F$t(),e.TgZ(0,"a",0,1),e.NdJ("click",function(pe){return ee.goToClick(pe)}),e.YNc(2,P,2,1,"span",2),e.qZA(),e.Hsn(3)),2&K&&(e.Q6J("href",ee.nzHref,e.LSH)("title",ee.titleStr)("target",ee.nzTarget),e.xp6(2),e.Q6J("ngIf",ee.titleStr)("ngIfElse",ee.titleTpl||ee.nzTemplate))},dependencies:[i.O5],encapsulation:2,changeDetection:0})}return Y})(),ze=(()=>{class Y{static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275mod=e.oAB({type:Y});static#n=this.\u0275inj=e.cJS({imports:[_.vT,i.ez,v.j,t.ud]})}return Y})()},95717:(tt,I,o)=>{"use strict";o.d(I,{NB:()=>ae,Pf:()=>ne,gi:()=>le,ic:()=>Se});var e=o(49388),n=o(33651),t=o(96814),i=o(65879),l=o(331),h=o(8324),E=o(20824),u=o(97582),z=o(78645),M=o(92438),p=o(47394),v=o(74911),_=o(63019),d=o(32181),m=o(59773),f=o(99397),C=o(5177),T=o(48180),b=o(94664),D=o(27754),y=o(36028),P=o(68484),S=o(60095),A=o(64194);function k(Ne,ke){if(1&Ne&&(i.ynx(0),i._uU(1),i.BQk()),2&Ne){const oe=i.oxw();i.xp6(1),i.Oqu(oe.nzLabel)}}const R=[[["nz-auto-option"]]],W=["nz-auto-option"],j=["*"],ze=["panel"],Y=["content"];function G(Ne,ke){}function V(Ne,ke){1&Ne&&i.YNc(0,G,0,0,"ng-template")}function K(Ne,ke){1&Ne&&i.Hsn(0)}function ee(Ne,ke){if(1&Ne&&(i.TgZ(0,"nz-auto-option",8),i._uU(1),i.qZA()),2&Ne){const oe=ke.$implicit;i.Q6J("nzValue",oe)("nzLabel",oe&&oe.label?oe.label:oe),i.xp6(1),i.hij(" ",oe&&oe.label?oe.label:oe," ")}}function te(Ne,ke){if(1&Ne&&i.YNc(0,ee,2,3,"nz-auto-option",7),2&Ne){const oe=i.oxw(2);i.Q6J("ngForOf",oe.nzDataSource)}}function pe(Ne,ke){if(1&Ne){const oe=i.EpF();i.TgZ(0,"div",0,1),i.NdJ("@slideMotion.done",function(Q){i.CHM(oe);const He=i.oxw();return i.KtG(He.onAnimationEvent(Q))}),i.TgZ(2,"div",2)(3,"div",3),i.YNc(4,V,1,0,null,4),i.qZA()()(),i.YNc(5,K,1,0,"ng-template",null,5,i.W1O),i.YNc(7,te,1,1,"ng-template",null,6,i.W1O)}if(2&Ne){const oe=i.MAs(6),_e=i.MAs(8),Q=i.oxw();i.ekj("ant-select-dropdown-hidden",!Q.showPanel)("ant-select-dropdown-rtl","rtl"===Q.dir),i.Q6J("ngClass",Q.nzOverlayClassName)("ngStyle",Q.nzOverlayStyle)("nzNoAnimation",null==Q.noAnimation?null:Q.noAnimation.nzNoAnimation)("@slideMotion",void 0)("@.disabled",!(null==Q.noAnimation||!Q.noAnimation.nzNoAnimation)),i.xp6(4),i.Q6J("ngTemplateOutlet",Q.nzDataSource?_e:oe)}}let re=(()=>{class Ne{constructor(){}static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275cmp=i.Xpm({type:Ne,selectors:[["nz-auto-optgroup"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzAutoOptgroup"],ngContentSelectors:W,decls:3,vars:1,consts:[[1,"ant-select-item","ant-select-item-group"],[4,"nzStringTemplateOutlet"]],template:function(_e,Q){1&_e&&(i.F$t(R),i.TgZ(0,"div",0),i.YNc(1,k,2,1,"ng-container",1),i.qZA(),i.Hsn(2)),2&_e&&(i.xp6(1),i.Q6J("nzStringTemplateOutlet",Q.nzLabel))},dependencies:[h.f],encapsulation:2,changeDetection:0})}return Ne})();class De{constructor(ke,oe=!1){this.source=ke,this.isUserInput=oe}}let ae=(()=>{class Ne{constructor(oe,_e,Q,He){this.ngZone=oe,this.changeDetectorRef=_e,this.element=Q,this.nzAutocompleteOptgroupComponent=He,this.nzDisabled=!1,this.selectionChange=new i.vpe,this.mouseEntered=new i.vpe,this.active=!1,this.selected=!1,this.destroy$=new z.x}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,M.R)(this.element.nativeElement,"mouseenter").pipe((0,d.h)(()=>this.mouseEntered.observers.length>0),(0,m.R)(this.destroy$)).subscribe(()=>{this.ngZone.run(()=>this.mouseEntered.emit(this))}),(0,M.R)(this.element.nativeElement,"mousedown").pipe((0,m.R)(this.destroy$)).subscribe(oe=>oe.preventDefault())})}ngOnDestroy(){this.destroy$.next()}select(oe=!0){this.selected=!0,this.changeDetectorRef.markForCheck(),oe&&this.emitSelectionChangeEvent()}deselect(){this.selected=!1,this.changeDetectorRef.markForCheck(),this.emitSelectionChangeEvent()}getLabel(){return this.nzLabel||this.nzValue.toString()}setActiveStyles(){this.active||(this.active=!0,this.changeDetectorRef.markForCheck())}setInactiveStyles(){this.active&&(this.active=!1,this.changeDetectorRef.markForCheck())}scrollIntoViewIfNeeded(){(0,D.zT)(this.element.nativeElement)}selectViaInteraction(){this.nzDisabled||(this.selected=!this.selected,this.selected?this.setActiveStyles():this.setInactiveStyles(),this.emitSelectionChangeEvent(!0),this.changeDetectorRef.markForCheck())}emitSelectionChangeEvent(oe=!1){this.selectionChange.emit(new De(this,oe))}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(re,8))};static#t=this.\u0275cmp=i.Xpm({type:Ne,selectors:[["nz-auto-option"]],hostAttrs:["role","menuitem",1,"ant-select-item","ant-select-item-option"],hostVars:10,hostBindings:function(_e,Q){1&_e&&i.NdJ("click",function(){return Q.selectViaInteraction()}),2&_e&&(i.uIk("aria-selected",Q.selected.toString())("aria-disabled",Q.nzDisabled.toString()),i.ekj("ant-select-item-option-grouped",Q.nzAutocompleteOptgroupComponent)("ant-select-item-option-selected",Q.selected)("ant-select-item-option-active",Q.active)("ant-select-item-option-disabled",Q.nzDisabled))},inputs:{nzValue:"nzValue",nzLabel:"nzLabel",nzDisabled:"nzDisabled"},outputs:{selectionChange:"selectionChange",mouseEntered:"mouseEntered"},exportAs:["nzAutoOption"],ngContentSelectors:j,decls:2,vars:0,consts:[[1,"ant-select-item-option-content"]],template:function(_e,Q){1&_e&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},encapsulation:2,changeDetection:0})}return(0,u.gn)([(0,D.yF)()],Ne.prototype,"nzDisabled",void 0),Ne})();const ce={provide:S.JU,useExisting:(0,i.Gpc)(()=>ne),multi:!0};let ne=(()=>{class Ne{get activeOption(){return this.nzAutocomplete&&this.nzAutocomplete.options.length?this.nzAutocomplete.activeItem:null}constructor(oe,_e,Q,He,Re,lt){this.ngZone=oe,this.elementRef=_e,this.overlay=Q,this.viewContainerRef=He,this.nzInputGroupWhitSuffixOrPrefixDirective=Re,this.document=lt,this.onChange=()=>{},this.onTouched=()=>{},this.panelOpen=!1,this.destroy$=new z.x,this.overlayRef=null,this.portal=null,this.previousValue=null}ngAfterViewInit(){this.nzAutocomplete&&this.nzAutocomplete.animationStateChange.pipe((0,m.R)(this.destroy$)).subscribe(oe=>{"void"===oe.toState&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.destroyPanel()}writeValue(oe){this.ngZone.runOutsideAngular(()=>Promise.resolve(null).then(()=>this.setTriggerValue(oe)))}registerOnChange(oe){this.onChange=oe}registerOnTouched(oe){this.onTouched=oe}setDisabledState(oe){this.elementRef.nativeElement.disabled=oe,this.closePanel()}openPanel(){this.previousValue=this.elementRef.nativeElement.value,this.attachOverlay(),this.updateStatus()}closePanel(){this.panelOpen&&(this.nzAutocomplete.isOpen=this.panelOpen=!1,this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.selectionChangeSubscription.unsubscribe(),this.overlayOutsideClickSubscription.unsubscribe(),this.optionsChangeSubscription.unsubscribe(),this.portal=null))}handleKeydown(oe){const _e=oe.keyCode,Q=_e===y.LH||_e===y.JH;_e===y.hY&&oe.preventDefault(),!this.panelOpen||_e!==y.hY&&_e!==y.Mf?this.panelOpen&&_e===y.K5?this.nzAutocomplete.showPanel&&(oe.preventDefault(),this.activeOption?this.activeOption.selectViaInteraction():this.closePanel()):this.panelOpen&&Q&&this.nzAutocomplete.showPanel&&(oe.stopPropagation(),oe.preventDefault(),_e===y.LH?this.nzAutocomplete.setPreviousItemActive():this.nzAutocomplete.setNextItemActive(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded(),this.doBackfill()):(this.activeOption&&this.activeOption.getLabel()!==this.previousValue&&this.setTriggerValue(this.previousValue),this.closePanel())}handleInput(oe){const _e=oe.target,Q=this.document;let He=_e.value;"number"===_e.type&&(He=""===He?null:parseFloat(He)),this.previousValue!==He&&(this.previousValue=He,this.onChange(He),this.canOpen()&&Q.activeElement===oe.target&&this.openPanel())}handleFocus(){this.canOpen()&&this.openPanel()}handleBlur(){this.onTouched()}subscribeOptionsChange(){return this.nzAutocomplete.options.changes.pipe((0,f.b)(()=>this.positionStrategy.reapplyLastPosition()),(0,C.g)(0)).subscribe(()=>{this.resetActiveItem(),this.panelOpen&&this.overlayRef.updatePosition()})}subscribeSelectionChange(){return this.nzAutocomplete.selectionChange.subscribe(oe=>{this.setValueAndClose(oe)})}subscribeOverlayOutsideClick(){return this.overlayRef.outsidePointerEvents().pipe((0,d.h)(oe=>!this.elementRef.nativeElement.contains(oe.target))).subscribe(()=>{this.closePanel()})}attachOverlay(){if(!this.nzAutocomplete)throw function X(){return Error("Attempting to open an undefined instance of `nz-autocomplete`. Make sure that the id passed to the `nzAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}();!this.portal&&this.nzAutocomplete.template&&(this.portal=new P.UE(this.nzAutocomplete.template,this.viewContainerRef)),this.overlayRef||(this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.selectionChangeSubscription=this.subscribeSelectionChange(),this.optionsChangeSubscription=this.subscribeOptionsChange(),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick(),this.overlayRef.detachments().pipe((0,m.R)(this.destroy$)).subscribe(()=>{this.closePanel()})),this.nzAutocomplete.isOpen=this.panelOpen=!0}updateStatus(){this.overlayRef&&this.overlayRef.updateSize({width:this.nzAutocomplete.nzWidth||this.getHostWidth()}),this.nzAutocomplete.setVisibility(),this.resetActiveItem(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded()}destroyPanel(){this.overlayRef&&this.closePanel()}getOverlayConfig(){return new n.X_({positionStrategy:this.getOverlayPosition(),disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:this.nzAutocomplete.nzWidth||this.getHostWidth()})}getConnectedElement(){return this.nzInputGroupWhitSuffixOrPrefixDirective?this.nzInputGroupWhitSuffixOrPrefixDirective.elementRef:this.elementRef}getHostWidth(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width}getOverlayPosition(){const oe=[new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new n.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions(oe).withTransformOriginOn(".ant-select-dropdown"),this.positionStrategy}resetActiveItem(){const oe=this.nzAutocomplete.getOptionIndex(this.previousValue);this.nzAutocomplete.clearSelectedOptions(null,!0),-1!==oe?(this.nzAutocomplete.setActiveItem(oe),this.nzAutocomplete.activeItem.select(!1)):this.nzAutocomplete.setActiveItem(this.nzAutocomplete.nzDefaultActiveFirstOption?0:-1)}setValueAndClose(oe){const _e=oe.nzValue;this.setTriggerValue(oe.getLabel()),this.onChange(_e),this.elementRef.nativeElement.focus(),this.closePanel()}setTriggerValue(oe){const _e=this.nzAutocomplete.getOption(oe),Q=_e?_e.getLabel():oe;this.elementRef.nativeElement.value=Q??"",this.nzAutocomplete.nzBackfill||(this.previousValue=Q)}doBackfill(){this.nzAutocomplete.nzBackfill&&this.nzAutocomplete.activeItem&&this.setTriggerValue(this.nzAutocomplete.activeItem.getLabel())}canOpen(){const oe=this.elementRef.nativeElement;return!oe.readOnly&&!oe.disabled}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(n.aV),i.Y36(i.s_b),i.Y36(E.ke,8),i.Y36(t.K0,8))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["input","nzAutocomplete",""],["textarea","nzAutocomplete",""]],hostAttrs:["autocomplete","off","aria-autocomplete","list"],hostBindings:function(_e,Q){1&_e&&i.NdJ("focusin",function(){return Q.handleFocus()})("blur",function(){return Q.handleBlur()})("input",function(Re){return Q.handleInput(Re)})("keydown",function(Re){return Q.handleKeydown(Re)})},inputs:{nzAutocomplete:"nzAutocomplete"},exportAs:["nzAutocompleteTrigger"],features:[i._Bn([ce])]})}return Ne})(),le=(()=>{class Ne{get options(){return this.nzDataSource?this.fromDataSourceOptions:this.fromContentOptions}constructor(oe,_e,Q,He){this.changeDetectorRef=oe,this.ngZone=_e,this.directionality=Q,this.noAnimation=He,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzDefaultActiveFirstOption=!0,this.nzBackfill=!1,this.compareWith=(Re,lt)=>Re===lt,this.selectionChange=new i.vpe,this.showPanel=!0,this.isOpen=!1,this.activeItem=null,this.dir="ltr",this.destroy$=new z.x,this.animationStateChange=new i.vpe,this.activeItemIndex=-1,this.selectionChangeSubscription=p.w0.EMPTY,this.optionMouseEnterSubscription=p.w0.EMPTY,this.dataSourceChangeSubscription=p.w0.EMPTY,this.optionSelectionChanges=(0,v.P)(()=>this.options?(0,_.T)(...this.options.map(Re=>Re.selectionChange)):this.ngZone.onStable.asObservable().pipe((0,T.q)(1),(0,b.w)(()=>this.optionSelectionChanges))),this.optionMouseEnter=(0,v.P)(()=>this.options?(0,_.T)(...this.options.map(Re=>Re.mouseEntered)):this.ngZone.onStable.asObservable().pipe((0,T.q)(1),(0,b.w)(()=>this.optionMouseEnter)))}ngOnInit(){this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(oe=>{this.dir=oe,this.changeDetectorRef.detectChanges()}),this.dir=this.directionality.value}onAnimationEvent(oe){this.animationStateChange.emit(oe)}ngAfterContentInit(){this.nzDataSource||this.optionsInit()}ngAfterViewInit(){this.nzDataSource&&this.optionsInit()}ngOnDestroy(){this.dataSourceChangeSubscription.unsubscribe(),this.selectionChangeSubscription.unsubscribe(),this.optionMouseEnterSubscription.unsubscribe(),this.dataSourceChangeSubscription=this.selectionChangeSubscription=this.optionMouseEnterSubscription=null,this.destroy$.next(),this.destroy$.complete()}setVisibility(){this.showPanel=!!this.options.length,this.changeDetectorRef.markForCheck()}setActiveItem(oe){const _e=this.options.get(oe);_e&&!_e.active?(this.activeItem=_e,this.activeItemIndex=oe,this.clearSelectedOptions(this.activeItem),this.activeItem.setActiveStyles()):(this.activeItem=null,this.activeItemIndex=-1,this.clearSelectedOptions()),this.changeDetectorRef.markForCheck()}setNextItemActive(){this.setActiveItem(this.activeItemIndex+1<=this.options.length-1?this.activeItemIndex+1:0)}setPreviousItemActive(){this.setActiveItem(this.activeItemIndex-1<0?this.options.length-1:this.activeItemIndex-1)}getOptionIndex(oe){return this.options.reduce((_e,Q,He)=>-1===_e?this.compareWith(oe,Q.nzValue)?He:-1:_e,-1)}getOption(oe){return this.options.find(_e=>this.compareWith(oe,_e.nzValue))||null}optionsInit(){this.setVisibility(),this.subscribeOptionChanges(),this.dataSourceChangeSubscription=(this.nzDataSource?this.fromDataSourceOptions.changes:this.fromContentOptions.changes).subscribe(_e=>{!_e.dirty&&this.isOpen&&setTimeout(()=>this.setVisibility()),this.subscribeOptionChanges()})}clearSelectedOptions(oe,_e=!1){this.options.forEach(Q=>{Q!==oe&&(_e&&Q.deselect(),Q.setInactiveStyles())})}subscribeOptionChanges(){this.selectionChangeSubscription.unsubscribe(),this.selectionChangeSubscription=this.optionSelectionChanges.pipe((0,d.h)(oe=>oe.isUserInput)).subscribe(oe=>{oe.source.select(),oe.source.setActiveStyles(),this.activeItem=oe.source,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(oe.source,!0),this.selectionChange.emit(oe.source)}),this.optionMouseEnterSubscription.unsubscribe(),this.optionMouseEnterSubscription=this.optionMouseEnter.subscribe(oe=>{oe.setActiveStyles(),this.activeItem=oe,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(oe)})}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(e.Is,8),i.Y36(l.P,9))};static#t=this.\u0275cmp=i.Xpm({type:Ne,selectors:[["nz-autocomplete"]],contentQueries:function(_e,Q,He){if(1&_e&&i.Suo(He,ae,5),2&_e){let Re;i.iGM(Re=i.CRH())&&(Q.fromContentOptions=Re)}},viewQuery:function(_e,Q){if(1&_e&&(i.Gf(i.Rgc,5),i.Gf(ze,5),i.Gf(Y,5),i.Gf(ae,5)),2&_e){let He;i.iGM(He=i.CRH())&&(Q.template=He.first),i.iGM(He=i.CRH())&&(Q.panel=He.first),i.iGM(He=i.CRH())&&(Q.content=He.first),i.iGM(He=i.CRH())&&(Q.fromDataSourceOptions=He)}},inputs:{nzWidth:"nzWidth",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzDefaultActiveFirstOption:"nzDefaultActiveFirstOption",nzBackfill:"nzBackfill",compareWith:"compareWith",nzDataSource:"nzDataSource"},outputs:{selectionChange:"selectionChange"},exportAs:["nzAutocomplete"],ngContentSelectors:j,decls:1,vars:0,consts:[[1,"ant-select-dropdown","ant-select-dropdown-placement-bottomLeft",3,"ngClass","ngStyle","nzNoAnimation"],["panel",""],[2,"max-height","256px","overflow-y","auto","overflow-anchor","none"],[2,"display","flex","flex-direction","column"],[4,"ngTemplateOutlet"],["contentTemplate",""],["optionsTemplate",""],[3,"nzValue","nzLabel",4,"ngFor","ngForOf"],[3,"nzValue","nzLabel"]],template:function(_e,Q){1&_e&&(i.F$t(),i.YNc(0,pe,9,10,"ng-template"))},dependencies:[t.mk,t.sg,t.tP,t.PC,l.P,ae],encapsulation:2,data:{animation:[A.mF]},changeDetection:0})}return(0,u.gn)([(0,D.yF)()],Ne.prototype,"nzDefaultActiveFirstOption",void 0),(0,u.gn)([(0,D.yF)()],Ne.prototype,"nzBackfill",void 0),Ne})(),Se=(()=>{class Ne{static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[e.vT,t.ez,n.U8,h.T,l.g,E.o7]})}return Ne})()},96928:(tt,I,o)=>{"use strict";o.d(I,{Dz:()=>m,Rt:()=>C});var e=o(97582),n=o(65879),t=o(83064),i=o(27754),l=o(62831),h=o(96814),E=o(90551),u=o(49388);const z=["textEl"];function M(T,b){if(1&T&&n._UZ(0,"span",3),2&T){const D=n.oxw();n.Q6J("nzType",D.nzIcon)}}function p(T,b){if(1&T){const D=n.EpF();n.TgZ(0,"img",4),n.NdJ("error",function(P){n.CHM(D);const S=n.oxw();return n.KtG(S.imgError(P))}),n.qZA()}if(2&T){const D=n.oxw();n.Q6J("src",D.nzSrc,n.LSH),n.uIk("srcset",D.nzSrcSet)("alt",D.nzAlt)}}function v(T,b){if(1&T&&(n.TgZ(0,"span",5,6),n._uU(2),n.qZA()),2&T){const D=n.oxw();n.xp6(2),n.Oqu(D.nzText)}}let m=(()=>{class T{constructor(D,y,P,S,A){this.nzConfigService=D,this.elementRef=y,this.cdr=P,this.platform=S,this.ngZone=A,this._nzModuleName="avatar",this.nzShape="circle",this.nzSize="default",this.nzGap=4,this.nzError=new n.vpe,this.hasText=!1,this.hasSrc=!0,this.hasIcon=!1,this.classMap={},this.customSize=null,this.el=this.elementRef.nativeElement}imgError(D){this.nzError.emit(D),D.defaultPrevented||(this.hasSrc=!1,this.hasIcon=!1,this.hasText=!1,this.nzIcon?this.hasIcon=!0:this.nzText&&(this.hasText=!0),this.cdr.detectChanges(),this.setSizeStyle(),this.notifyCalc())}ngOnChanges(){this.hasText=!this.nzSrc&&!!this.nzText,this.hasIcon=!this.nzSrc&&!!this.nzIcon,this.hasSrc=!!this.nzSrc,this.setSizeStyle(),this.notifyCalc()}calcStringSize(){if(!this.hasText)return;const D=this.textEl.nativeElement,y=D.offsetWidth,P=this.el.getBoundingClientRect().width,S=2*this.nzGap{setTimeout(()=>{this.calcStringSize()})})}setSizeStyle(){this.customSize="number"==typeof this.nzSize?`${this.nzSize}px`:null,this.cdr.markForCheck()}static#e=this.\u0275fac=function(y){return new(y||T)(n.Y36(t.jY),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(l.t4),n.Y36(n.R0b))};static#t=this.\u0275cmp=n.Xpm({type:T,selectors:[["nz-avatar"]],viewQuery:function(y,P){if(1&y&&n.Gf(z,5),2&y){let S;n.iGM(S=n.CRH())&&(P.textEl=S.first)}},hostAttrs:[1,"ant-avatar"],hostVars:20,hostBindings:function(y,P){2&y&&(n.Udp("width",P.customSize)("height",P.customSize)("line-height",P.customSize)("font-size",P.hasIcon&&P.customSize?P.nzSize/2:null,"px"),n.ekj("ant-avatar-lg","large"===P.nzSize)("ant-avatar-sm","small"===P.nzSize)("ant-avatar-square","square"===P.nzShape)("ant-avatar-circle","circle"===P.nzShape)("ant-avatar-icon",P.nzIcon)("ant-avatar-image",P.hasSrc))},inputs:{nzShape:"nzShape",nzSize:"nzSize",nzGap:"nzGap",nzText:"nzText",nzSrc:"nzSrc",nzSrcSet:"nzSrcSet",nzAlt:"nzAlt",nzIcon:"nzIcon"},outputs:{nzError:"nzError"},exportAs:["nzAvatar"],features:[n.TTD],decls:3,vars:3,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[3,"src","error",4,"ngIf"],["class","ant-avatar-string",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"src","error"],[1,"ant-avatar-string"],["textEl",""]],template:function(y,P){1&y&&(n.YNc(0,M,1,1,"span",0),n.YNc(1,p,1,3,"img",1),n.YNc(2,v,3,1,"span",2)),2&y&&(n.Q6J("ngIf",P.nzIcon&&P.hasIcon),n.xp6(1),n.Q6J("ngIf",P.nzSrc&&P.hasSrc),n.xp6(1),n.Q6J("ngIf",P.nzText&&P.hasText))},dependencies:[h.O5,E.Ls],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,t.oS)()],T.prototype,"nzShape",void 0),(0,e.gn)([(0,t.oS)()],T.prototype,"nzSize",void 0),(0,e.gn)([(0,t.oS)(),(0,i.Rn)()],T.prototype,"nzGap",void 0),T})(),C=(()=>{class T{static#e=this.\u0275fac=function(y){return new(y||T)};static#t=this.\u0275mod=n.oAB({type:T});static#n=this.\u0275inj=n.cJS({imports:[u.vT,h.ez,E.PV,l.ud]})}return T})()},47532:(tt,I,o)=>{"use strict";o.d(I,{j:()=>S,o:()=>P});var e=o(97582),n=o(62831),t=o(96814),i=o(65879),l=o(92438),h=o(78645),E=o(47394),u=o(59773),z=o(83620),M=o(64194),p=o(83064),v=o(99087),_=o(27754),d=o(49388),m=o(90551);const f=["backTop"];function C(A,k){1&A&&(i.TgZ(0,"div",5)(1,"div",6),i._UZ(2,"span",7),i.qZA()())}function T(A,k){}function b(A,k){if(1&A&&(i.TgZ(0,"div",1,2),i.YNc(2,C,3,0,"ng-template",null,3,i.W1O),i.YNc(4,T,0,0,"ng-template",4),i.qZA()),2&A){const R=i.MAs(3),W=i.oxw();i.ekj("ant-back-top-rtl","rtl"===W.dir),i.Q6J("@fadeMotion",void 0),i.xp6(4),i.Q6J("ngTemplateOutlet",W.nzTemplate||R)}}const y=(0,n.i$)({passive:!0});let P=(()=>{class A{set backTop(R){R&&(this.backTopClickSubscription.unsubscribe(),this.backTopClickSubscription=this.zone.runOutsideAngular(()=>(0,l.R)(R.nativeElement,"click").pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.scrollSrv.scrollTo(this.getTarget(),0,{duration:this.nzDuration}),this.nzClick.observers.length&&this.zone.run(()=>this.nzClick.emit(!0))})))}constructor(R,W,j,ze,Y,G,V,K,ee){this.doc=R,this.nzConfigService=W,this.scrollSrv=j,this.platform=ze,this.cd=Y,this.zone=G,this.cdr=V,this.destroy$=K,this.directionality=ee,this._nzModuleName="backTop",this.scrollListenerDestroy$=new h.x,this.target=null,this.visible=!1,this.dir="ltr",this.nzVisibilityHeight=400,this.nzDuration=450,this.nzClick=new i.vpe,this.backTopClickSubscription=E.w0.EMPTY,this.dir=this.directionality.value}ngOnInit(){this.registerScrollEvent(),this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(R=>{this.dir=R,this.cdr.detectChanges()}),this.dir=this.directionality.value}getTarget(){return this.target||window}handleScroll(){this.visible!==this.scrollSrv.getScroll(this.getTarget())>this.nzVisibilityHeight&&(this.visible=!this.visible,this.cd.detectChanges())}registerScrollEvent(){this.platform.isBrowser&&(this.scrollListenerDestroy$.next(!0),this.handleScroll(),this.zone.runOutsideAngular(()=>{(0,l.R)(this.getTarget(),"scroll",y).pipe((0,z.b)(50),(0,u.R)(this.scrollListenerDestroy$)).subscribe(()=>this.handleScroll())}))}ngOnDestroy(){this.scrollListenerDestroy$.next(!0),this.scrollListenerDestroy$.complete()}ngOnChanges(R){const{nzTarget:W}=R;W&&(this.target="string"==typeof this.nzTarget?this.doc.querySelector(this.nzTarget):this.nzTarget,this.registerScrollEvent())}static#e=this.\u0275fac=function(W){return new(W||A)(i.Y36(t.K0),i.Y36(p.jY),i.Y36(v.MF),i.Y36(n.t4),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(v.kn),i.Y36(d.Is,8))};static#t=this.\u0275cmp=i.Xpm({type:A,selectors:[["nz-back-top"]],viewQuery:function(W,j){if(1&W&&i.Gf(f,5),2&W){let ze;i.iGM(ze=i.CRH())&&(j.backTop=ze.first)}},inputs:{nzTemplate:"nzTemplate",nzVisibilityHeight:"nzVisibilityHeight",nzTarget:"nzTarget",nzDuration:"nzDuration"},outputs:{nzClick:"nzClick"},exportAs:["nzBackTop"],features:[i._Bn([v.kn]),i.TTD],decls:1,vars:1,consts:[["class","ant-back-top",3,"ant-back-top-rtl",4,"ngIf"],[1,"ant-back-top"],["backTop",""],["defaultContent",""],[3,"ngTemplateOutlet"],[1,"ant-back-top-content"],[1,"ant-back-top-icon"],["nz-icon","","nzType","vertical-align-top"]],template:function(W,j){1&W&&i.YNc(0,b,5,4,"div",0),2&W&&i.Q6J("ngIf",j.visible)},dependencies:[t.O5,t.tP,m.Ls],encapsulation:2,data:{animation:[M.MC]},changeDetection:0})}return(0,e.gn)([(0,p.oS)(),(0,_.Rn)()],A.prototype,"nzVisibilityHeight",void 0),(0,e.gn)([(0,_.Rn)()],A.prototype,"nzDuration",void 0),A})(),S=(()=>{class A{static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275mod=i.oAB({type:A});static#n=this.\u0275inj=i.cJS({imports:[d.vT,t.ez,n.ud,m.PV]})}return A})()},33640:(tt,I,o)=>{"use strict";o.d(I,{mS:()=>ze,x7:()=>W});var e=o(97582),n=o(65879),t=o(78645),i=o(59773),l=o(64194),h=o(83064),E=o(27754),u=o(49388),z=o(331),M=o(96814),p=o(8324),v=o(17131);function _(Y,G){if(1&Y&&(n.TgZ(0,"p",6),n._uU(1),n.qZA()),2&Y){const V=G.$implicit,K=n.oxw(2).index,ee=n.oxw(2);n.ekj("current",V===ee.countArray[K]),n.xp6(1),n.hij(" ",V," ")}}function d(Y,G){if(1&Y&&(n.ynx(0),n.YNc(1,_,2,3,"p",5),n.BQk()),2&Y){const V=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",V.countSingleArray)}}function m(Y,G){if(1&Y&&(n.TgZ(0,"span",3),n.YNc(1,d,2,1,"ng-container",4),n.qZA()),2&Y){const V=G.index,K=n.oxw(2);n.Udp("transform","translateY("+100*-K.countArray[V]+"%)"),n.Q6J("nzNoAnimation",K.noAnimation),n.xp6(1),n.Q6J("ngIf",!K.nzDot&&void 0!==K.countArray[V])}}function f(Y,G){if(1&Y&&(n.ynx(0),n.YNc(1,m,2,4,"span",2),n.BQk()),2&Y){const V=n.oxw();n.xp6(1),n.Q6J("ngForOf",V.maxNumberArray)}}function C(Y,G){if(1&Y&&n._uU(0),2&Y){const V=n.oxw();n.hij("",V.nzOverflowCount,"+")}}function T(Y,G){if(1&Y&&(n.ynx(0),n._uU(1),n.BQk()),2&Y){const V=n.oxw(2);n.xp6(1),n.Oqu(V.nzText)}}function b(Y,G){if(1&Y&&(n.ynx(0),n._UZ(1,"span",2),n.TgZ(2,"span",3),n.YNc(3,T,2,1,"ng-container",1),n.qZA(),n.BQk()),2&Y){const V=n.oxw();n.xp6(1),n.Gre("ant-badge-status-dot ant-badge-status-",V.nzStatus||V.presetColor,""),n.Udp("background",!V.presetColor&&V.nzColor),n.Q6J("ngStyle",V.nzStyle),n.xp6(2),n.Q6J("nzStringTemplateOutlet",V.nzText)}}function D(Y,G){if(1&Y&&n._UZ(0,"nz-badge-sup",5),2&Y){const V=n.oxw(2);n.Q6J("nzOffset",V.nzOffset)("nzSize",V.nzSize)("nzTitle",V.nzTitle)("nzStyle",V.nzStyle)("nzDot",V.nzDot)("nzOverflowCount",V.nzOverflowCount)("disableAnimation",!!(V.nzStandalone||V.nzStatus||V.nzColor||null!=V.noAnimation&&V.noAnimation.nzNoAnimation))("nzCount",V.nzCount)("noAnimation",!(null==V.noAnimation||!V.noAnimation.nzNoAnimation))}}function y(Y,G){if(1&Y&&(n.ynx(0),n.YNc(1,D,1,9,"nz-badge-sup",4),n.BQk()),2&Y){const V=n.oxw();n.xp6(1),n.Q6J("ngIf",V.showSup)}}const P=["*"],A=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];let k=(()=>{class Y{constructor(){this.nzStyle=null,this.nzDot=!1,this.nzOverflowCount=99,this.disableAnimation=!1,this.noAnimation=!1,this.nzSize="default",this.maxNumberArray=[],this.countArray=[],this.count=0,this.countSingleArray=[0,1,2,3,4,5,6,7,8,9]}generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("")}ngOnInit(){this.generateMaxNumberArray()}ngOnChanges(V){const{nzOverflowCount:K,nzCount:ee}=V;ee&&"number"==typeof ee.currentValue&&(this.count=Math.max(0,ee.currentValue),this.countArray=this.count.toString().split("").map(te=>+te)),K&&this.generateMaxNumberArray()}static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275cmp=n.Xpm({type:Y,selectors:[["nz-badge-sup"]],hostAttrs:[1,"ant-scroll-number"],hostVars:17,hostBindings:function(K,ee){2&K&&(n.uIk("title",null===ee.nzTitle?"":ee.nzTitle||ee.nzCount),n.d8E("@.disabled",ee.disableAnimation)("@zoomBadgeMotion",void 0),n.Akn(ee.nzStyle),n.Udp("right",ee.nzOffset&&ee.nzOffset[0]?-ee.nzOffset[0]:null,"px")("margin-top",ee.nzOffset&&ee.nzOffset[1]?ee.nzOffset[1]:null,"px"),n.ekj("ant-badge-count",!ee.nzDot)("ant-badge-count-sm","small"===ee.nzSize)("ant-badge-dot",ee.nzDot)("ant-badge-multiple-words",ee.countArray.length>=2))},inputs:{nzOffset:"nzOffset",nzTitle:"nzTitle",nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",disableAnimation:"disableAnimation",nzCount:"nzCount",noAnimation:"noAnimation",nzSize:"nzSize"},exportAs:["nzBadgeSup"],features:[n.TTD],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overflowTemplate",""],["class","ant-scroll-number-only",3,"nzNoAnimation","transform",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[4,"ngIf"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(K,ee){if(1&K&&(n.YNc(0,f,2,1,"ng-container",0),n.YNc(1,C,1,1,"ng-template",null,1,n.W1O)),2&K){const te=n.MAs(2);n.Q6J("ngIf",ee.count<=ee.nzOverflowCount)("ngIfElse",te)}},dependencies:[M.sg,M.O5,z.P],encapsulation:2,data:{animation:[l.Ev]},changeDetection:0})}return Y})(),W=(()=>{class Y{constructor(V,K,ee,te,pe,re){this.nzConfigService=V,this.renderer=K,this.cdr=ee,this.elementRef=te,this.directionality=pe,this.noAnimation=re,this._nzModuleName="badge",this.showSup=!1,this.presetColor=null,this.dir="ltr",this.destroy$=new t.x,this.nzShowZero=!1,this.nzShowDot=!0,this.nzStandalone=!1,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null,this.nzText=null,this.nzSize="default"}ngOnInit(){this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(V=>{this.dir=V,this.prepareBadgeForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareBadgeForRtl()}ngOnChanges(V){const{nzColor:K,nzShowDot:ee,nzDot:te,nzCount:pe,nzShowZero:re}=V;K&&(this.presetColor=this.nzColor&&-1!==A.indexOf(this.nzColor)?this.nzColor:null),(ee||te||pe||re)&&(this.showSup=this.nzShowDot&&this.nzDot||"number"==typeof this.nzCount&&this.nzCount>0||"number"==typeof this.nzCount&&this.nzCount<=0&&this.nzShowZero)}prepareBadgeForRtl(){this.isRtlLayout?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-rtl")}get isRtlLayout(){return"rtl"===this.dir}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(K){return new(K||Y)(n.Y36(h.jY),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(u.Is,8),n.Y36(z.P,9))};static#t=this.\u0275cmp=n.Xpm({type:Y,selectors:[["nz-badge"]],hostAttrs:[1,"ant-badge"],hostVars:4,hostBindings:function(K,ee){2&K&&n.ekj("ant-badge-status",ee.nzStatus)("ant-badge-not-a-wrapper",!!(ee.nzStandalone||ee.nzStatus||ee.nzColor))},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzStandalone:"nzStandalone",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset",nzSize:"nzSize"},exportAs:["nzBadge"],features:[n.TTD],ngContentSelectors:P,decls:3,vars:2,consts:[[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation",4,"ngIf"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation"]],template:function(K,ee){1&K&&(n.F$t(),n.YNc(0,b,4,7,"ng-container",0),n.Hsn(1),n.YNc(2,y,2,1,"ng-container",1)),2&K&&(n.Q6J("ngIf",ee.nzStatus||ee.nzColor),n.xp6(2),n.Q6J("nzStringTemplateOutlet",ee.nzCount))},dependencies:[M.O5,M.PC,p.f,k],encapsulation:2,data:{animation:[l.Ev]},changeDetection:0})}return(0,e.gn)([(0,E.yF)()],Y.prototype,"nzShowZero",void 0),(0,e.gn)([(0,E.yF)()],Y.prototype,"nzShowDot",void 0),(0,e.gn)([(0,E.yF)()],Y.prototype,"nzStandalone",void 0),(0,e.gn)([(0,E.yF)()],Y.prototype,"nzDot",void 0),(0,e.gn)([(0,h.oS)()],Y.prototype,"nzOverflowCount",void 0),(0,e.gn)([(0,h.oS)()],Y.prototype,"nzColor",void 0),Y})(),ze=(()=>{class Y{static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275mod=n.oAB({type:Y});static#n=this.\u0275inj=n.cJS({imports:[u.vT,M.ez,v.Q8,p.T,z.g]})}return Y})()},3626:(tt,I,o)=>{"use strict";o.d(I,{Dg:()=>j,MO:()=>W,lt:()=>ze});var e=o(65879),n=o(96814),t=o(8324),i=o(62787),l=o(90551),h=o(97582),E=o(52787),u=o(78645),z=o(59773),M=o(32181),p=o(27921),v=o(1608),_=o(27754),d=o(49388),m=o(33651),f=o(85448);const C=["*"];function T(Y,G){}function b(Y,G){if(1&Y&&(e.ynx(0),e.TgZ(1,"span",3),e.YNc(2,T,0,0,"ng-template",4),e._UZ(3,"span",5),e.qZA(),e.BQk()),2&Y){const V=e.oxw(),K=e.MAs(2);e.xp6(1),e.Q6J("nzDropdownMenu",V.nzOverlay),e.xp6(1),e.Q6J("ngTemplateOutlet",K)}}function D(Y,G){1&Y&&(e.TgZ(0,"span",6),e.Hsn(1),e.qZA())}function y(Y,G){if(1&Y&&(e.ynx(0),e._uU(1),e.BQk()),2&Y){const V=e.oxw(2);e.xp6(1),e.hij(" ",V.nzBreadCrumbComponent.nzSeparator," ")}}function P(Y,G){if(1&Y&&(e.TgZ(0,"nz-breadcrumb-separator"),e.YNc(1,y,2,1,"ng-container",7),e.qZA()),2&Y){const V=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",V.nzBreadCrumbComponent.nzSeparator)}}function S(Y,G){if(1&Y){const V=e.EpF();e.TgZ(0,"nz-breadcrumb-item")(1,"a",2),e.NdJ("click",function(ee){const pe=e.CHM(V).$implicit,re=e.oxw(2);return e.KtG(re.navigate(pe.url,ee))}),e._uU(2),e.qZA()()}if(2&Y){const V=G.$implicit;e.xp6(1),e.uIk("href",V.url,e.LSH),e.xp6(1),e.Oqu(V.label)}}function A(Y,G){if(1&Y&&(e.ynx(0),e.YNc(1,S,3,2,"nz-breadcrumb-item",1),e.BQk()),2&Y){const V=e.oxw();e.xp6(1),e.Q6J("ngForOf",V.breadcrumbs)}}class k{}let R=(()=>{class Y{static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-breadcrumb-separator"]],hostAttrs:[1,"ant-breadcrumb-separator"],exportAs:["nzBreadcrumbSeparator"],ngContentSelectors:C,decls:1,vars:0,template:function(K,ee){1&K&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return Y})(),W=(()=>{class Y{constructor(V){this.nzBreadCrumbComponent=V}static#e=this.\u0275fac=function(K){return new(K||Y)(e.Y36(k))};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:C,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["noMenuTpl",""],[4,"ngIf"],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nz-icon","","nzType","down"],[1,"ant-breadcrumb-link"],[4,"nzStringTemplateOutlet"]],template:function(K,ee){if(1&K&&(e.F$t(),e.YNc(0,b,4,2,"ng-container",0),e.YNc(1,D,2,0,"ng-template",null,1,e.W1O),e.YNc(3,P,2,1,"nz-breadcrumb-separator",2)),2&K){const te=e.MAs(2);e.Q6J("ngIf",!!ee.nzOverlay)("ngIfElse",te),e.xp6(3),e.Q6J("ngIf",ee.nzBreadCrumbComponent.nzSeparator)}},dependencies:[n.O5,n.tP,t.f,i.cm,l.Ls,R],encapsulation:2,changeDetection:0})}return Y})(),j=(()=>{class Y{constructor(V,K,ee,te,pe){this.injector=V,this.cdr=K,this.elementRef=ee,this.renderer=te,this.directionality=pe,this.nzAutoGenerate=!1,this.nzSeparator="/",this.nzRouteLabel="breadcrumb",this.nzRouteLabelFn=re=>re,this.breadcrumbs=[],this.dir="ltr",this.destroy$=new u.x}ngOnInit(){this.nzAutoGenerate&&this.registerRouterChange(),this.directionality.change?.pipe((0,z.R)(this.destroy$)).subscribe(V=>{this.dir=V,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigate(V,K){K.preventDefault(),this.injector.get(E.F0).navigateByUrl(V)}registerRouterChange(){try{const V=this.injector.get(E.F0),K=this.injector.get(E.gz);V.events.pipe((0,M.h)(ee=>ee instanceof E.m2),(0,z.R)(this.destroy$),(0,p.O)(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(K.root),this.cdr.markForCheck()})}catch{throw new Error(`${v.Bq} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(V,K="",ee=[]){const te=V.children;if(0===te.length)return ee;for(const pe of te)if(pe.outlet===E.eC){const re=pe.snapshot.url.map(ce=>ce.path).filter(ce=>ce).join("/"),De=re?`${K}/${re}`:K,ae=this.nzRouteLabelFn(pe.snapshot.data[this.nzRouteLabel]);return re&&ae&&ee.push({label:ae,params:pe.snapshot.params,url:De}),this.getBreadcrumbs(pe,De,ee)}return ee}prepareComponentForRtl(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl")}static#e=this.\u0275fac=function(K){return new(K||Y)(e.Y36(e.zs3),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(d.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:Y,selectors:[["nz-breadcrumb"]],hostAttrs:[1,"ant-breadcrumb"],inputs:{nzAutoGenerate:"nzAutoGenerate",nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel",nzRouteLabelFn:"nzRouteLabelFn"},exportAs:["nzBreadcrumb"],features:[e._Bn([{provide:k,useExisting:Y}])],ngContentSelectors:C,decls:2,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"click"]],template:function(K,ee){1&K&&(e.F$t(),e.Hsn(0),e.YNc(1,A,2,1,"ng-container",0)),2&K&&(e.xp6(1),e.Q6J("ngIf",ee.nzAutoGenerate&&ee.breadcrumbs.length))},dependencies:[n.sg,n.O5,W],encapsulation:2,changeDetection:0})}return(0,h.gn)([(0,_.yF)()],Y.prototype,"nzAutoGenerate",void 0),Y})(),ze=(()=>{class Y{static#e=this.\u0275fac=function(K){return new(K||Y)};static#t=this.\u0275mod=e.oAB({type:Y});static#n=this.\u0275inj=e.cJS({imports:[n.ez,t.T,m.U8,f.e4,i.b1,l.PV,d.vT]})}return Y})()},42840:(tt,I,o)=>{"use strict";o.d(I,{fY:()=>D,ix:()=>b,sL:()=>y});var e=o(97582),n=o(65879),t=o(78645),i=o(92438),l=o(59773),h=o(27921),E=o(32181),u=o(83064),z=o(27754),M=o(90551),p=o(49388),v=o(96814),_=o(70855),d=o(41958);const m=["nz-button",""];function f(P,S){1&P&&n._UZ(0,"span",1)}const C=["*"],T="button";let b=(()=>{class P{insertSpan(A,k){A.forEach(R=>{if("#text"===R.nodeName){const W=k.createElement("span"),j=k.parentNode(R);k.insertBefore(j,W,R),k.appendChild(W,R)}})}get iconOnly(){const A=Array.from(this.elementRef?.nativeElement?.childNodes||[]),k=A.every(j=>"#text"!==j.nodeName),R=0==A.filter(j=>!("#comment"===j.nodeName||j?.attributes?.getNamedItem("nz-icon"))).length;return!!this.nzIconDirectiveElement&&R&&k}constructor(A,k,R,W,j,ze){this.ngZone=A,this.elementRef=k,this.cdr=R,this.renderer=W,this.nzConfigService=j,this.directionality=ze,this._nzModuleName=T,this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new t.x,this.loading$=new t.x,this.nzConfigService.getConfigChangeEventForComponent(T).pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(A=>{this.dir=A,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,i.R)(this.elementRef.nativeElement,"click",{capture:!0}).pipe((0,l.R)(this.destroy$)).subscribe(A=>{(this.disabled&&"A"===A.target?.tagName||this.nzLoading)&&(A.preventDefault(),A.stopImmediatePropagation())})})}ngOnChanges(A){const{nzLoading:k}=A;k&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe((0,h.O)(this.nzLoading),(0,E.h)(()=>!!this.nzIconDirectiveElement),(0,l.R)(this.destroy$)).subscribe(A=>{const k=this.nzIconDirectiveElement.nativeElement;A?this.renderer.setStyle(k,"display","none"):this.renderer.removeStyle(k,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(k){return new(k||P)(n.Y36(n.R0b),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.Qsj),n.Y36(u.jY),n.Y36(p.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:P,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(k,R,W){if(1&k&&n.Suo(W,M.Ls,5,n.SBq),2&k){let j;n.iGM(j=n.CRH())&&(R.nzIconDirectiveElement=j.first)}},hostAttrs:[1,"ant-btn"],hostVars:32,hostBindings:function(k,R){2&k&&(n.uIk("tabindex",R.disabled?-1:null===R.tabIndex?null:R.tabIndex)("disabled",R.disabled||null),n.ekj("ant-btn-primary","primary"===R.nzType)("ant-btn-dashed","dashed"===R.nzType)("ant-btn-link","link"===R.nzType)("ant-btn-text","text"===R.nzType)("ant-btn-circle","circle"===R.nzShape)("ant-btn-round","round"===R.nzShape)("ant-btn-lg","large"===R.nzSize)("ant-btn-sm","small"===R.nzSize)("ant-btn-dangerous",R.nzDanger)("ant-btn-loading",R.nzLoading)("ant-btn-background-ghost",R.nzGhost)("ant-btn-block",R.nzBlock)("ant-input-search-button",R.nzSearch)("ant-btn-rtl","rtl"===R.dir)("ant-btn-icon-only",R.iconOnly))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[n.TTD],attrs:m,ngContentSelectors:C,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(k,R){1&k&&(n.F$t(),n.YNc(0,f,1,0,"span",0),n.Hsn(1)),2&k&&n.Q6J("ngIf",R.nzLoading)},dependencies:[v.O5,M.Ls,_.w],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,z.yF)()],P.prototype,"nzBlock",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"nzGhost",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"nzSearch",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"nzLoading",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"nzDanger",void 0),(0,e.gn)([(0,z.yF)()],P.prototype,"disabled",void 0),(0,e.gn)([(0,u.oS)()],P.prototype,"nzSize",void 0),P})(),D=(()=>{class P{constructor(A){this.directionality=A,this.nzSize="default",this.dir="ltr",this.destroy$=new t.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(A=>{this.dir=A})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(k){return new(k||P)(n.Y36(p.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:P,selectors:[["nz-button-group"]],hostAttrs:[1,"ant-btn-group"],hostVars:6,hostBindings:function(k,R){2&k&&n.ekj("ant-btn-group-lg","large"===R.nzSize)("ant-btn-group-sm","small"===R.nzSize)("ant-btn-group-rtl","rtl"===R.dir)},inputs:{nzSize:"nzSize"},exportAs:["nzButtonGroup"],ngContentSelectors:C,decls:1,vars:0,template:function(k,R){1&k&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return P})(),y=(()=>{class P{static#e=this.\u0275fac=function(k){return new(k||P)};static#t=this.\u0275mod=n.oAB({type:P});static#n=this.\u0275inj=n.cJS({imports:[p.vT,v.ez,d.vG,M.PV,_.a,_.a,d.vG]})}return P})()},82962:(tt,I,o)=>{"use strict";o.d(I,{bd:()=>ae,vh:()=>X});var e=o(97582),n=o(65879),t=o(27754),i=o(78645),l=o(59773),h=o(83064),E=o(49388),u=o(96814),z=o(8324);function M(ne,le){1&ne&&n.Hsn(0)}const p=["*"];function v(ne,le){1&ne&&(n.TgZ(0,"div",4),n._UZ(1,"div",5),n.qZA()),2&ne&&n.Q6J("ngClass",le.$implicit)}function _(ne,le){if(1&ne&&(n.TgZ(0,"div",2),n.YNc(1,v,2,1,"div",3),n.qZA()),2&ne){const Se=le.$implicit;n.xp6(1),n.Q6J("ngForOf",Se)}}function d(ne,le){if(1&ne&&(n.ynx(0),n._uU(1),n.BQk()),2&ne){const Se=n.oxw(3);n.xp6(1),n.Oqu(Se.nzTitle)}}function m(ne,le){if(1&ne&&(n.TgZ(0,"div",11),n.YNc(1,d,2,1,"ng-container",12),n.qZA()),2&ne){const Se=n.oxw(2);n.xp6(1),n.Q6J("nzStringTemplateOutlet",Se.nzTitle)}}function f(ne,le){if(1&ne&&(n.ynx(0),n._uU(1),n.BQk()),2&ne){const Se=n.oxw(3);n.xp6(1),n.Oqu(Se.nzExtra)}}function C(ne,le){if(1&ne&&(n.TgZ(0,"div",13),n.YNc(1,f,2,1,"ng-container",12),n.qZA()),2&ne){const Se=n.oxw(2);n.xp6(1),n.Q6J("nzStringTemplateOutlet",Se.nzExtra)}}function T(ne,le){}function b(ne,le){if(1&ne&&(n.ynx(0),n.YNc(1,T,0,0,"ng-template",14),n.BQk()),2&ne){const Se=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",Se.listOfNzCardTabComponent.template)}}function D(ne,le){if(1&ne&&(n.TgZ(0,"div",6)(1,"div",7),n.YNc(2,m,2,1,"div",8),n.YNc(3,C,2,1,"div",9),n.qZA(),n.YNc(4,b,2,1,"ng-container",10),n.qZA()),2&ne){const Se=n.oxw();n.xp6(2),n.Q6J("ngIf",Se.nzTitle),n.xp6(1),n.Q6J("ngIf",Se.nzExtra),n.xp6(1),n.Q6J("ngIf",Se.listOfNzCardTabComponent)}}function y(ne,le){}function P(ne,le){if(1&ne&&(n.TgZ(0,"div",15),n.YNc(1,y,0,0,"ng-template",14),n.qZA()),2&ne){const Se=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",Se.nzCover)}}function S(ne,le){1&ne&&(n.ynx(0),n.Hsn(1),n.BQk())}function A(ne,le){1&ne&&n._UZ(0,"nz-card-loading")}function k(ne,le){}function R(ne,le){if(1&ne&&(n.TgZ(0,"li")(1,"span"),n.YNc(2,k,0,0,"ng-template",14),n.qZA()()),2&ne){const Se=le.$implicit,Ne=n.oxw(2);n.Udp("width",100/Ne.nzActions.length,"%"),n.xp6(2),n.Q6J("ngTemplateOutlet",Se)}}function W(ne,le){if(1&ne&&(n.TgZ(0,"ul",16),n.YNc(1,R,3,3,"li",17),n.qZA()),2&ne){const Se=n.oxw();n.xp6(1),n.Q6J("ngForOf",Se.nzActions)}}let te=(()=>{class ne{constructor(){this.nzHoverable=!0}static#e=this.\u0275fac=function(Ne){return new(Ne||ne)};static#t=this.\u0275dir=n.lG2({type:ne,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(Ne,ke){2&Ne&&n.ekj("ant-card-hoverable",ke.nzHoverable)},inputs:{nzHoverable:"nzHoverable"},exportAs:["nzCardGrid"]})}return(0,e.gn)([(0,t.yF)()],ne.prototype,"nzHoverable",void 0),ne})(),pe=(()=>{class ne{static#e=this.\u0275fac=function(Ne){return new(Ne||ne)};static#t=this.\u0275cmp=n.Xpm({type:ne,selectors:[["nz-card-tab"]],viewQuery:function(Ne,ke){if(1&Ne&&n.Gf(n.Rgc,7),2&Ne){let oe;n.iGM(oe=n.CRH())&&(ke.template=oe.first)}},exportAs:["nzCardTab"],ngContentSelectors:p,decls:1,vars:0,template:function(Ne,ke){1&Ne&&(n.F$t(),n.YNc(0,M,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return ne})(),re=(()=>{class ne{constructor(){this.listOfLoading=[["ant-col-22"],["ant-col-8","ant-col-15"],["ant-col-6","ant-col-18"],["ant-col-13","ant-col-9"],["ant-col-4","ant-col-3","ant-col-16"],["ant-col-8","ant-col-6","ant-col-8"]]}static#e=this.\u0275fac=function(Ne){return new(Ne||ne)};static#t=this.\u0275cmp=n.Xpm({type:ne,selectors:[["nz-card-loading"]],hostAttrs:[1,"ant-card-loading-content"],exportAs:["nzCardLoading"],decls:2,vars:1,consts:[[1,"ant-card-loading-content"],["class","ant-row","style","margin-left: -4px; margin-right: -4px;",4,"ngFor","ngForOf"],[1,"ant-row",2,"margin-left","-4px","margin-right","-4px"],["style","padding-left: 4px; padding-right: 4px;",3,"ngClass",4,"ngFor","ngForOf"],[2,"padding-left","4px","padding-right","4px",3,"ngClass"],[1,"ant-card-loading-block"]],template:function(Ne,ke){1&Ne&&(n.TgZ(0,"div",0),n.YNc(1,_,2,1,"div",1),n.qZA()),2&Ne&&(n.xp6(1),n.Q6J("ngForOf",ke.listOfLoading))},dependencies:[u.mk,u.sg],encapsulation:2,changeDetection:0})}return ne})(),ae=(()=>{class ne{constructor(Se,Ne,ke){this.nzConfigService=Se,this.cdr=Ne,this.directionality=ke,this._nzModuleName="card",this.nzBordered=!0,this.nzBorderless=!1,this.nzLoading=!1,this.nzHoverable=!1,this.nzBodyStyle=null,this.nzActions=[],this.nzType=null,this.nzSize="default",this.dir="ltr",this.destroy$=new i.x,this.nzConfigService.getConfigChangeEventForComponent("card").pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(Se=>{this.dir=Se,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(Ne){return new(Ne||ne)(n.Y36(h.jY),n.Y36(n.sBO),n.Y36(E.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:ne,selectors:[["nz-card"]],contentQueries:function(Ne,ke,oe){if(1&Ne&&(n.Suo(oe,pe,5),n.Suo(oe,te,4)),2&Ne){let _e;n.iGM(_e=n.CRH())&&(ke.listOfNzCardTabComponent=_e.first),n.iGM(_e=n.CRH())&&(ke.listOfNzCardGridDirective=_e)}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(Ne,ke){2&Ne&&n.ekj("ant-card-loading",ke.nzLoading)("ant-card-bordered",!1===ke.nzBorderless&&ke.nzBordered)("ant-card-hoverable",ke.nzHoverable)("ant-card-small","small"===ke.nzSize)("ant-card-contain-grid",ke.listOfNzCardGridDirective&&ke.listOfNzCardGridDirective.length)("ant-card-type-inner","inner"===ke.nzType)("ant-card-contain-tabs",!!ke.listOfNzCardTabComponent)("ant-card-rtl","rtl"===ke.dir)},inputs:{nzBordered:"nzBordered",nzBorderless:"nzBorderless",nzLoading:"nzLoading",nzHoverable:"nzHoverable",nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],ngContentSelectors:p,decls:7,vars:6,consts:[["class","ant-card-head",4,"ngIf"],["class","ant-card-cover",4,"ngIf"],[1,"ant-card-body",3,"ngStyle"],[4,"ngIf","ngIfElse"],["loadingTemplate",""],["class","ant-card-actions",4,"ngIf"],[1,"ant-card-head"],[1,"ant-card-head-wrapper"],["class","ant-card-head-title",4,"ngIf"],["class","ant-card-extra",4,"ngIf"],[4,"ngIf"],[1,"ant-card-head-title"],[4,"nzStringTemplateOutlet"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[1,"ant-card-cover"],[1,"ant-card-actions"],[3,"width",4,"ngFor","ngForOf"]],template:function(Ne,ke){if(1&Ne&&(n.F$t(),n.YNc(0,D,5,3,"div",0),n.YNc(1,P,2,1,"div",1),n.TgZ(2,"div",2),n.YNc(3,S,2,0,"ng-container",3),n.YNc(4,A,1,0,"ng-template",null,4,n.W1O),n.qZA(),n.YNc(6,W,2,1,"ul",5)),2&Ne){const oe=n.MAs(5);n.Q6J("ngIf",ke.nzTitle||ke.nzExtra||ke.listOfNzCardTabComponent),n.xp6(1),n.Q6J("ngIf",ke.nzCover),n.xp6(1),n.Q6J("ngStyle",ke.nzBodyStyle),n.xp6(1),n.Q6J("ngIf",!ke.nzLoading)("ngIfElse",oe),n.xp6(3),n.Q6J("ngIf",ke.nzActions.length)}},dependencies:[u.sg,u.O5,u.tP,u.PC,z.f,re],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,h.oS)(),(0,t.yF)()],ne.prototype,"nzBordered",void 0),(0,e.gn)([(0,h.oS)(),(0,t.yF)()],ne.prototype,"nzBorderless",void 0),(0,e.gn)([(0,t.yF)()],ne.prototype,"nzLoading",void 0),(0,e.gn)([(0,h.oS)(),(0,t.yF)()],ne.prototype,"nzHoverable",void 0),(0,e.gn)([(0,h.oS)()],ne.prototype,"nzSize",void 0),ne})(),X=(()=>{class ne{static#e=this.\u0275fac=function(Ne){return new(Ne||ne)};static#t=this.\u0275mod=n.oAB({type:ne});static#n=this.\u0275inj=n.cJS({imports:[u.ez,z.T,E.vT]})}return ne})()},77456:(tt,I,o)=>{"use strict";o.d(I,{QZ:()=>W,pA:()=>y,vB:()=>j});var e=o(49388),n=o(62831),t=o(96814),i=o(65879),l=o(97582),h=o(36028),E=o(78645),u=o(92438),z=o(59773),M=o(83064),p=o(27754),v=o(99087);const _=["slickList"],d=["slickTrack"];function m(G,V){}const f=function(G){return{$implicit:G}};function C(G,V){if(1&G){const K=i.EpF();i.TgZ(0,"li",9),i.NdJ("click",function(){const pe=i.CHM(K).index,re=i.oxw(2);return i.KtG(re.onLiClick(pe))}),i.YNc(1,m,0,0,"ng-template",10),i.qZA()}if(2&G){const K=V.index,ee=i.oxw(2),te=i.MAs(8);i.ekj("slick-active",K===ee.activeIndex),i.xp6(1),i.Q6J("ngTemplateOutlet",ee.nzDotRender||te)("ngTemplateOutletContext",i.VKq(4,f,K))}}function T(G,V){if(1&G&&(i.TgZ(0,"ul",7),i.YNc(1,C,2,6,"li",8),i.qZA()),2&G){const K=i.oxw();i.ekj("slick-dots-top","top"===K.nzDotPosition)("slick-dots-bottom","bottom"===K.nzDotPosition)("slick-dots-left","left"===K.nzDotPosition)("slick-dots-right","right"===K.nzDotPosition),i.xp6(1),i.Q6J("ngForOf",K.carouselContents)}}function b(G,V){if(1&G&&(i.TgZ(0,"button"),i._uU(1),i.qZA()),2&G){const K=V.$implicit;i.xp6(1),i.Oqu(K+1)}}const D=["*"];let y=(()=>{class G{set isActive(K){this._active=K,this.isActive?this.renderer.addClass(this.el,"slick-active"):this.renderer.removeClass(this.el,"slick-active")}get isActive(){return this._active}constructor(K,ee){this.renderer=ee,this._active=!1,this.el=K.nativeElement}static#e=this.\u0275fac=function(ee){return new(ee||G)(i.Y36(i.SBq),i.Y36(i.Qsj))};static#t=this.\u0275dir=i.lG2({type:G,selectors:[["","nz-carousel-content",""]],hostAttrs:[1,"slick-slide"],exportAs:["nzCarouselContent"]})}return G})();class P{get maxIndex(){return this.length-1}get firstEl(){return this.contents[0].el}get lastEl(){return this.contents[this.maxIndex].el}constructor(V,K,ee,te,pe){this.cdr=K,this.renderer=ee,this.platform=te,this.options=pe,this.carouselComponent=V}withCarouselContents(V){const K=this.carouselComponent;if(this.slickListEl=K.slickListEl,this.slickTrackEl=K.slickTrackEl,this.contents=V?.toArray()||[],this.length=this.contents.length,this.platform.isBrowser){const ee=K.el.getBoundingClientRect();this.unitWidth=ee.width,this.unitHeight=ee.height}else V?.forEach((ee,te)=>{0===te?this.renderer.setStyle(ee.el,"width","100%"):this.renderer.setStyle(ee.el,"display","none")})}dragging(V){}dispose(){}getFromToInBoundary(V,K){const ee=this.maxIndex+1;return{from:(V+ee)%ee,to:(K+ee)%ee}}}class S extends P{withCarouselContents(V){super.withCarouselContents(V),this.contents&&(this.slickTrackEl.style.width=this.length*this.unitWidth+"px",this.contents.forEach((K,ee)=>{this.renderer.setStyle(K.el,"opacity",this.carouselComponent.activeIndex===ee?"1":"0"),this.renderer.setStyle(K.el,"position","relative"),this.renderer.setStyle(K.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(K.el,"left",-this.unitWidth*ee+"px"),this.renderer.setStyle(K.el,"transition",["opacity 500ms ease 0s","visibility 500ms ease 0s"])}))}switch(V,K){const{to:ee}=this.getFromToInBoundary(V,K),te=new E.x;return this.contents.forEach((pe,re)=>{this.renderer.setStyle(pe.el,"opacity",ee===re?"1":"0")}),setTimeout(()=>{te.next(),te.complete()},this.carouselComponent.nzTransitionSpeed),te}dispose(){this.contents.forEach(V=>{this.renderer.setStyle(V.el,"transition",null),this.renderer.setStyle(V.el,"opacity",null),this.renderer.setStyle(V.el,"width",null),this.renderer.setStyle(V.el,"left",null)}),super.dispose()}}class A extends P{get vertical(){return this.carouselComponent.vertical}constructor(V,K,ee,te,pe){super(V,K,ee,te,pe),this.isDragging=!1,this.isTransitioning=!1}dispose(){super.dispose(),this.renderer.setStyle(this.slickTrackEl,"transform",null)}withCarouselContents(V){super.withCarouselContents(V);const ee=this.carouselComponent.activeIndex;this.platform.isBrowser&&this.contents.length&&(this.renderer.setStyle(this.slickListEl,"height",`${this.unitHeight}px`),this.vertical?(this.renderer.setStyle(this.slickTrackEl,"width",`${this.unitWidth}px`),this.renderer.setStyle(this.slickTrackEl,"height",this.length*this.unitHeight+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-ee*this.unitHeight}px, 0)`)):(this.renderer.setStyle(this.slickTrackEl,"height",`${this.unitHeight}px`),this.renderer.setStyle(this.slickTrackEl,"width",this.length*this.unitWidth+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-ee*this.unitWidth}px, 0, 0)`)),this.contents.forEach(te=>{this.renderer.setStyle(te.el,"position","relative"),this.renderer.setStyle(te.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(te.el,"height",`${this.unitHeight}px`)}))}switch(V,K){const{to:ee}=this.getFromToInBoundary(V,K),te=new E.x;return this.renderer.setStyle(this.slickTrackEl,"transition",`transform ${this.carouselComponent.nzTransitionSpeed}ms ease`),this.vertical?this.verticalTransform(V,K):this.horizontalTransform(V,K),this.isTransitioning=!0,this.isDragging=!1,setTimeout(()=>{this.renderer.setStyle(this.slickTrackEl,"transition",null),this.contents.forEach(pe=>{this.renderer.setStyle(pe.el,this.vertical?"top":"left",null)}),this.renderer.setStyle(this.slickTrackEl,"transform",this.vertical?`translate3d(0, ${-ee*this.unitHeight}px, 0)`:`translate3d(${-ee*this.unitWidth}px, 0, 0)`),this.isTransitioning=!1,te.next(),te.complete()},this.carouselComponent.nzTransitionSpeed),te.asObservable()}dragging(V){if(this.isTransitioning)return;const K=this.carouselComponent.activeIndex;this.carouselComponent.vertical?(!this.isDragging&&this.length>2&&(K===this.maxIndex?this.prepareVerticalContext(!0):0===K&&this.prepareVerticalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-K*this.unitHeight+V.x}px, 0)`)):(!this.isDragging&&this.length>2&&(K===this.maxIndex?this.prepareHorizontalContext(!0):0===K&&this.prepareHorizontalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-K*this.unitWidth+V.x}px, 0, 0)`)),this.isDragging=!0}verticalTransform(V,K){const{from:ee,to:te}=this.getFromToInBoundary(V,K);this.length>2&&K!==te?(this.prepareVerticalContext(te2&&K!==te?(this.prepareHorizontalContext(te{class G{set nzDotPosition(K){this._dotPosition=K,this.vertical="left"===K||"right"===K}get nzDotPosition(){return this._dotPosition}constructor(K,ee,te,pe,re,De,ae,ce,X,ne){this.nzConfigService=ee,this.ngZone=te,this.renderer=pe,this.cdr=re,this.platform=De,this.resizeService=ae,this.nzDragService=ce,this.directionality=X,this.customStrategies=ne,this._nzModuleName="carousel",this.nzEffect="scrollx",this.nzEnableSwipe=!0,this.nzDots=!0,this.nzAutoPlay=!1,this.nzAutoPlaySpeed=3e3,this.nzTransitionSpeed=500,this.nzLoop=!0,this.nzStrategyOptions=void 0,this._dotPosition="bottom",this.nzBeforeChange=new i.vpe,this.nzAfterChange=new i.vpe,this.activeIndex=0,this.vertical=!1,this.transitionInProgress=null,this.dir="ltr",this.destroy$=new E.x,this.gestureRect=null,this.pointerDelta=null,this.isTransiting=!1,this.isDragging=!1,this.onLiClick=le=>{this.goTo("rtl"===this.dir?this.carouselContents.length-1-le:le)},this.pointerDown=le=>{!this.isDragging&&!this.isTransiting&&this.nzEnableSwipe&&(this.clearScheduledTransition(),this.gestureRect=this.slickListEl.getBoundingClientRect(),this.nzDragService.requestDraggingSequence(le).subscribe(Se=>{this.pointerDelta=Se,this.isDragging=!0,this.strategy?.dragging(this.pointerDelta)},()=>{},()=>{if(this.nzEnableSwipe&&this.isDragging){const Se=this.pointerDelta?this.pointerDelta.x:0;Math.abs(Se)>this.gestureRect.width/3&&(this.nzLoop||Se<=0&&this.activeIndex+10&&this.activeIndex>0)?this.goTo(Se>0?this.activeIndex-1:this.activeIndex+1):this.goTo(this.activeIndex),this.gestureRect=null,this.pointerDelta=null}this.isDragging=!1}))},this.nzDotPosition="bottom",this.el=K.nativeElement}ngOnInit(){this.slickListEl=this.slickList.nativeElement,this.slickTrackEl=this.slickTrack.nativeElement,this.dir=this.directionality.value,this.directionality.change.pipe((0,z.R)(this.destroy$)).subscribe(K=>{this.dir=K,this.markContentActive(this.activeIndex),this.cdr.detectChanges()}),this.ngZone.runOutsideAngular(()=>{(0,u.R)(this.slickListEl,"keydown").pipe((0,z.R)(this.destroy$)).subscribe(K=>{const{keyCode:ee}=K;ee!==h.oh&&ee!==h.SV||(K.preventDefault(),this.ngZone.run(()=>{ee===h.oh?this.pre():this.next(),this.cdr.markForCheck()}))})})}ngAfterContentInit(){this.markContentActive(0)}ngAfterViewInit(){this.carouselContents.changes.subscribe(()=>{this.markContentActive(0),this.layout()}),this.resizeService.subscribe().pipe((0,z.R)(this.destroy$)).subscribe(()=>{this.layout()}),this.switchStrategy(),this.markContentActive(0),this.layout(),Promise.resolve().then(()=>{this.layout()})}ngOnChanges(K){const{nzEffect:ee,nzDotPosition:te}=K;ee&&!ee.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),te&&!te.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),this.nzAutoPlay&&this.nzAutoPlaySpeed?this.scheduleNextTransition():this.clearScheduledTransition()}ngOnDestroy(){this.clearScheduledTransition(),this.strategy&&this.strategy.dispose(),this.destroy$.next(),this.destroy$.complete()}next(){this.goTo(this.activeIndex+1)}pre(){this.goTo(this.activeIndex-1)}goTo(K){if(this.carouselContents&&this.carouselContents.length&&!this.isTransiting&&(this.nzLoop||K>=0&&K{this.scheduleNextTransition(),this.nzAfterChange.emit(pe),this.isTransiting=!1}),this.markContentActive(pe),this.cdr.markForCheck()}}switchStrategy(){this.strategy&&this.strategy.dispose();const K=this.customStrategies?this.customStrategies.find(ee=>ee.name===this.nzEffect):null;this.strategy=K?new K.strategy(this,this.cdr,this.renderer,this.platform):"scrollx"===this.nzEffect?new A(this,this.cdr,this.renderer,this.platform):new S(this,this.cdr,this.renderer,this.platform)}scheduleNextTransition(){this.clearScheduledTransition(),this.nzAutoPlay&&this.nzAutoPlaySpeed>0&&this.platform.isBrowser&&(this.transitionInProgress=setTimeout(()=>{this.goTo(this.activeIndex+1)},this.nzAutoPlaySpeed))}clearScheduledTransition(){this.transitionInProgress&&(clearTimeout(this.transitionInProgress),this.transitionInProgress=null)}markContentActive(K){this.activeIndex=K,this.carouselContents&&this.carouselContents.forEach((ee,te)=>{ee.isActive="rtl"===this.dir?K===this.carouselContents.length-1-te:K===te}),this.cdr.markForCheck()}layout(){this.strategy&&this.strategy.withCarouselContents(this.carouselContents)}static#e=this.\u0275fac=function(ee){return new(ee||G)(i.Y36(i.SBq),i.Y36(M.jY),i.Y36(i.R0b),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(n.t4),i.Y36(v.rI),i.Y36(v.Ml),i.Y36(e.Is,8),i.Y36(k,8))};static#t=this.\u0275cmp=i.Xpm({type:G,selectors:[["nz-carousel"]],contentQueries:function(ee,te,pe){if(1&ee&&i.Suo(pe,y,4),2&ee){let re;i.iGM(re=i.CRH())&&(te.carouselContents=re)}},viewQuery:function(ee,te){if(1&ee&&(i.Gf(_,7),i.Gf(d,7)),2&ee){let pe;i.iGM(pe=i.CRH())&&(te.slickList=pe.first),i.iGM(pe=i.CRH())&&(te.slickTrack=pe.first)}},hostAttrs:[1,"ant-carousel"],hostVars:4,hostBindings:function(ee,te){2&ee&&i.ekj("ant-carousel-vertical",te.vertical)("ant-carousel-rtl","rtl"===te.dir)},inputs:{nzDotRender:"nzDotRender",nzEffect:"nzEffect",nzEnableSwipe:"nzEnableSwipe",nzDots:"nzDots",nzAutoPlay:"nzAutoPlay",nzAutoPlaySpeed:"nzAutoPlaySpeed",nzTransitionSpeed:"nzTransitionSpeed",nzLoop:"nzLoop",nzStrategyOptions:"nzStrategyOptions",nzDotPosition:"nzDotPosition"},outputs:{nzBeforeChange:"nzBeforeChange",nzAfterChange:"nzAfterChange"},exportAs:["nzCarousel"],features:[i.TTD],ngContentSelectors:D,decls:9,vars:3,consts:[[1,"slick-initialized","slick-slider"],["tabindex","-1",1,"slick-list",3,"mousedown","touchstart"],["slickList",""],[1,"slick-track"],["slickTrack",""],["class","slick-dots",3,"slick-dots-top","slick-dots-bottom","slick-dots-left","slick-dots-right",4,"ngIf"],["renderDotTemplate",""],[1,"slick-dots"],[3,"slick-active","click",4,"ngFor","ngForOf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(ee,te){1&ee&&(i.F$t(),i.TgZ(0,"div",0)(1,"div",1,2),i.NdJ("mousedown",function(re){return te.pointerDown(re)})("touchstart",function(re){return te.pointerDown(re)}),i.TgZ(3,"div",3,4),i.Hsn(5),i.qZA()(),i.YNc(6,T,2,9,"ul",5),i.qZA(),i.YNc(7,b,2,1,"ng-template",null,6,i.W1O)),2&ee&&(i.ekj("slick-vertical","left"===te.nzDotPosition||"right"===te.nzDotPosition),i.xp6(6),i.Q6J("ngIf",te.nzDots))},dependencies:[t.sg,t.O5,t.tP],encapsulation:2,changeDetection:0})}return(0,l.gn)([(0,M.oS)()],G.prototype,"nzEffect",void 0),(0,l.gn)([(0,M.oS)(),(0,p.yF)()],G.prototype,"nzEnableSwipe",void 0),(0,l.gn)([(0,M.oS)(),(0,p.yF)()],G.prototype,"nzDots",void 0),(0,l.gn)([(0,M.oS)(),(0,p.yF)()],G.prototype,"nzAutoPlay",void 0),(0,l.gn)([(0,M.oS)(),(0,p.Rn)()],G.prototype,"nzAutoPlaySpeed",void 0),(0,l.gn)([(0,p.Rn)()],G.prototype,"nzTransitionSpeed",void 0),(0,l.gn)([(0,M.oS)()],G.prototype,"nzLoop",void 0),(0,l.gn)([(0,M.oS)()],G.prototype,"nzDotPosition",null),G})(),j=(()=>{class G{static#e=this.\u0275fac=function(ee){return new(ee||G)};static#t=this.\u0275mod=i.oAB({type:G});static#n=this.\u0275inj=i.cJS({imports:[e.vT,t.ez,n.ud]})}return G})()},25923:(tt,I,o)=>{"use strict";o.d(I,{D4:()=>Vt,Fs:()=>cn});var e=o(97582),n=o(36028),t=o(33651),i=o(65879),l=o(60095),h=o(65619),E=o(78645),u=o(7715),z=o(64716),M=o(22096),p=o(65592),v=o(92438),_=o(36232),d=o(93997),m=o(42460),f=o(37398),C=o(59773),T=o(27921),b=o(94664),D=o(64194),y=o(83064),P=o(85448),S=o(99087),A=o(27754),k=o(96814),R=o(8324),W=o(90551),j=o(84267),ze=o(12131),Y=o(49388),G=o(331),V=o(50883),K=o(60804),ee=o(20824);const te=["nz-cascader-option",""];function pe(ft,gt){}const re=function(ft,gt){return{$implicit:ft,index:gt}};function De(ft,gt){if(1&ft&&(i.ynx(0),i.YNc(1,pe,0,0,"ng-template",3),i.BQk()),2&ft){const Ie=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",Ie.optionTemplate)("ngTemplateOutletContext",i.WLB(2,re,Ie.option,Ie.columnIndex))}}function ae(ft,gt){if(1&ft&&(i._UZ(0,"div",4),i.ALo(1,"nzHighlight")),2&ft){const Ie=i.oxw();i.Q6J("innerHTML",i.gM2(1,1,Ie.optionLabel,Ie.highlightText,"g","ant-cascader-menu-item-keyword"),i.oJD)}}function ce(ft,gt){1&ft&&i._UZ(0,"span",8)}function X(ft,gt){if(1&ft&&(i.ynx(0),i._UZ(1,"span",10),i.BQk()),2&ft){const Ie=i.oxw(3);i.xp6(1),i.Q6J("nzType",Ie.expandIcon)}}function ne(ft,gt){if(1&ft&&i.YNc(0,X,2,1,"ng-container",9),2&ft){const Ie=i.oxw(2);i.Q6J("nzStringTemplateOutlet",Ie.expandIcon)}}function le(ft,gt){if(1&ft&&(i.TgZ(0,"div",5),i.YNc(1,ce,1,0,"span",6),i.YNc(2,ne,1,1,"ng-template",null,7,i.W1O),i.qZA()),2&ft){const Ie=i.MAs(3),Ct=i.oxw();i.xp6(1),i.Q6J("ngIf",Ct.option.loading)("ngIfElse",Ie)}}const Se=["selectContainer"],Ne=["input"],ke=["menu"];function oe(ft,gt){if(1&ft&&(i.ynx(0),i._uU(1),i.BQk()),2&ft){const Ie=i.oxw(3);i.xp6(1),i.Oqu(Ie.labelRenderText)}}function _e(ft,gt){}function Q(ft,gt){if(1&ft&&i.YNc(0,_e,0,0,"ng-template",16),2&ft){const Ie=i.oxw(3);i.Q6J("ngTemplateOutlet",Ie.nzLabelRender)("ngTemplateOutletContext",Ie.labelRenderContext)}}function He(ft,gt){if(1&ft&&(i.TgZ(0,"span",13),i.YNc(1,oe,2,1,"ng-container",14),i.YNc(2,Q,1,2,"ng-template",null,15,i.W1O),i.qZA()),2&ft){const Ie=i.MAs(3),Ct=i.oxw(2);i.Q6J("title",Ct.labelRenderText),i.xp6(1),i.Q6J("ngIf",!Ct.isLabelRenderTemplate)("ngIfElse",Ie)}}function Re(ft,gt){if(1&ft&&(i.TgZ(0,"span",17),i._uU(1),i.qZA()),2&ft){const Ie=i.oxw(2);i.Udp("visibility",Ie.inputValue?"hidden":"visible"),i.xp6(1),i.Oqu(Ie.showPlaceholder?Ie.nzPlaceHolder||(null==Ie.locale?null:Ie.locale.placeholder):null)}}function lt(ft,gt){if(1&ft&&i._UZ(0,"span",22),2&ft){const Ie=i.oxw(3);i.ekj("ant-cascader-picker-arrow-expand",Ie.menuVisible),i.Q6J("nzType",Ie.nzSuffixIcon)}}function Pe(ft,gt){1&ft&&i._UZ(0,"span",23)}function xt(ft,gt){if(1&ft&&i._UZ(0,"nz-form-item-feedback-icon",24),2&ft){const Ie=i.oxw(3);i.Q6J("status",Ie.status)}}function $e(ft,gt){if(1&ft&&(i.TgZ(0,"span",18),i.YNc(1,lt,1,3,"span",19),i.YNc(2,Pe,1,0,"span",20),i.YNc(3,xt,1,1,"nz-form-item-feedback-icon",21),i.qZA()),2&ft){const Ie=i.oxw(2);i.ekj("ant-select-arrow-loading",Ie.isLoading),i.xp6(1),i.Q6J("ngIf",!Ie.isLoading),i.xp6(1),i.Q6J("ngIf",Ie.isLoading),i.xp6(1),i.Q6J("ngIf",Ie.hasFeedback&&!!Ie.status)}}function ot(ft,gt){if(1&ft){const Ie=i.EpF();i.TgZ(0,"span",25)(1,"span",26),i.NdJ("click",function(Nt){i.CHM(Ie);const kt=i.oxw(2);return i.KtG(kt.clearSelection(Nt))}),i.qZA()()}}function mt(ft,gt){if(1&ft){const Ie=i.EpF();i.ynx(0),i.TgZ(1,"div",4,5)(3,"span",6)(4,"input",7,8),i.NdJ("ngModelChange",function(Nt){i.CHM(Ie);const kt=i.oxw();return i.KtG(kt.inputValue=Nt)})("blur",function(){i.CHM(Ie);const Nt=i.oxw();return i.KtG(Nt.handleInputBlur())})("focus",function(){i.CHM(Ie);const Nt=i.oxw();return i.KtG(Nt.handleInputFocus())}),i.qZA()(),i.YNc(6,He,4,3,"span",9),i.YNc(7,Re,2,3,"span",10),i.qZA(),i.YNc(8,$e,4,5,"span",11),i.YNc(9,ot,2,0,"span",12),i.BQk()}if(2&ft){const Ie=i.oxw();i.xp6(4),i.Udp("opacity",Ie.nzShowSearch?"":"0"),i.Q6J("readonly",!Ie.nzShowSearch)("disabled",Ie.nzDisabled)("ngModel",Ie.inputValue),i.uIk("autoComplete","off")("expanded",Ie.menuVisible)("autofocus",Ie.nzAutoFocus?"autofocus":null),i.xp6(2),i.Q6J("ngIf",Ie.showLabelRender),i.xp6(1),i.Q6J("ngIf",!Ie.showLabelRender),i.xp6(1),i.Q6J("ngIf",Ie.nzShowArrow),i.xp6(1),i.Q6J("ngIf",Ie.clearIconVisible)}}function we(ft,gt){if(1&ft&&(i.TgZ(0,"ul",32)(1,"li",33),i._UZ(2,"nz-embed-empty",34),i.qZA()()),2&ft){const Ie=i.oxw(2);i.Udp("width",Ie.dropdownWidthStyle)("height",Ie.dropdownHeightStyle),i.xp6(2),i.Q6J("nzComponentName","cascader")("specificContent",Ie.nzNotFoundContent)}}function de(ft,gt){if(1&ft){const Ie=i.EpF();i.TgZ(0,"li",38),i.NdJ("mouseenter",function(Nt){const St=i.CHM(Ie).$implicit,qe=i.oxw().index,Fe=i.oxw(3);return i.KtG(Fe.onOptionMouseEnter(St,qe,Nt))})("mouseleave",function(Nt){const St=i.CHM(Ie).$implicit,qe=i.oxw().index,Fe=i.oxw(3);return i.KtG(Fe.onOptionMouseLeave(St,qe,Nt))})("click",function(Nt){const St=i.CHM(Ie).$implicit,qe=i.oxw().index,Fe=i.oxw(3);return i.KtG(Fe.onOptionClick(St,qe,Nt))}),i.qZA()}if(2&ft){const Ie=gt.$implicit,Ct=i.oxw().index,Nt=i.oxw(3);i.Q6J("expandIcon",Nt.nzExpandIcon)("columnIndex",Ct)("nzLabelProperty",Nt.nzLabelProperty)("optionTemplate",Nt.nzOptionRender)("activated",Nt.isOptionActivated(Ie,Ct))("highlightText",Nt.inSearchingMode?Nt.inputValue:"")("option",Ie)("dir",Nt.dir)}}function U(ft,gt){if(1&ft&&(i.TgZ(0,"ul",36),i.YNc(1,de,1,8,"li",37),i.qZA()),2&ft){const Ie=gt.$implicit,Ct=i.oxw(3);i.Udp("height",Ct.dropdownHeightStyle)("width",Ct.dropdownWidthStyle),i.Q6J("ngClass",Ct.menuColumnCls),i.xp6(1),i.Q6J("ngForOf",Ie)}}function B(ft,gt){if(1&ft&&i.YNc(0,U,2,6,"ul",35),2&ft){const Ie=i.oxw(2);i.Q6J("ngForOf",Ie.cascaderService.columns)}}function Me(ft,gt){if(1&ft){const Ie=i.EpF();i.TgZ(0,"div",27),i.NdJ("mouseenter",function(){i.CHM(Ie);const Nt=i.oxw();return i.KtG(Nt.onTriggerMouseEnter())})("mouseleave",function(Nt){i.CHM(Ie);const kt=i.oxw();return i.KtG(kt.onTriggerMouseLeave(Nt))}),i.TgZ(1,"div",28,29),i.YNc(3,we,3,6,"ul",30),i.YNc(4,B,1,1,"ng-template",null,31,i.W1O),i.qZA()()}if(2&ft){const Ie=i.MAs(5),Ct=i.oxw();i.ekj("ant-cascader-dropdown-rtl","rtl"===Ct.dir),i.Q6J("@slideMotion","enter")("@.disabled",!(null==Ct.noAnimation||!Ct.noAnimation.nzNoAnimation))("nzNoAnimation",null==Ct.noAnimation?null:Ct.noAnimation.nzNoAnimation),i.xp6(1),i.ekj("ant-cascader-rtl","rtl"===Ct.dir)("ant-cascader-menus-hidden",!Ct.menuVisible)("ant-cascader-menu-empty",Ct.shouldShowEmpty),i.Q6J("ngClass",Ct.menuCls)("ngStyle",Ct.nzMenuStyle),i.xp6(2),i.Q6J("ngIf",Ct.shouldShowEmpty)("ngIfElse",Ie)}}const Ae=["*"];function Le(ft){return"boolean"!=typeof ft}let Lt=(()=>{class ft{constructor(Ie,Ct){this.cdr=Ie,this.optionTemplate=null,this.activated=!1,this.nzLabelProperty="label",this.expandIcon="",this.dir="ltr",this.nativeElement=Ct.nativeElement}ngOnInit(){""===this.expandIcon&&"rtl"===this.dir?this.expandIcon="left":""===this.expandIcon&&(this.expandIcon="right")}get optionLabel(){return this.option[this.nzLabelProperty]}markForCheck(){this.cdr.markForCheck()}static#e=this.\u0275fac=function(Ct){return new(Ct||ft)(i.Y36(i.sBO),i.Y36(i.SBq))};static#t=this.\u0275cmp=i.Xpm({type:ft,selectors:[["","nz-cascader-option",""]],hostAttrs:[1,"ant-cascader-menu-item","ant-cascader-menu-item-expanded"],hostVars:7,hostBindings:function(Ct,Nt){2&Ct&&(i.uIk("title",Nt.option.title||Nt.optionLabel),i.ekj("ant-cascader-menu-item-active",Nt.activated)("ant-cascader-menu-item-expand",!Nt.option.isLeaf)("ant-cascader-menu-item-disabled",Nt.option.disabled))},inputs:{optionTemplate:"optionTemplate",option:"option",activated:"activated",highlightText:"highlightText",nzLabelProperty:"nzLabelProperty",columnIndex:"columnIndex",expandIcon:"expandIcon",dir:"dir"},exportAs:["nzCascaderOption"],attrs:te,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["defaultOptionTemplate",""],["class","ant-cascader-menu-item-expand-icon",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-cascader-menu-item-content",3,"innerHTML"],[1,"ant-cascader-menu-item-expand-icon"],["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["icon",""],["nz-icon","","nzType","loading"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(Ct,Nt){if(1&Ct&&(i.YNc(0,De,2,5,"ng-container",0),i.YNc(1,ae,2,6,"ng-template",null,1,i.W1O),i.YNc(3,le,4,2,"div",2)),2&Ct){const kt=i.MAs(2);i.Q6J("ngIf",Nt.optionTemplate)("ngIfElse",kt),i.xp6(3),i.Q6J("ngIf",!Nt.option.isLeaf||(null==Nt.option.children?null:Nt.option.children.length)||Nt.option.loading)}},dependencies:[k.O5,k.tP,R.f,W.Ls,j.U],encapsulation:2,changeDetection:0})}return ft})(),Wt=(()=>{class ft{constructor(){this.activatedOptions=[],this.columns=[],this.inSearchingMode=!1,this.selectedOptions=[],this.values=[],this.$loading=new h.X(!1),this.$redraw=new E.x,this.$optionSelected=new E.x,this.$quitSearching=new E.x,this.columnsSnapshot=[[]],this.activatedOptionsSnapshot=[]}get nzOptions(){return this.columns[0]}ngOnDestroy(){this.$redraw.complete(),this.$quitSearching.complete(),this.$optionSelected.complete(),this.$loading.complete()}syncOptions(Ie=!1){const Ct=this.values,Nt=Ct&&Ct.length,kt=Ct.length-1,St=qe=>{const Fe=()=>{const fe=Ct[qe];if(!(0,A.DX)(fe))return void this.$redraw.next();const Xe=this.findOptionWithValue(qe,Ct[qe])||("object"==typeof fe?fe:{[`${this.cascaderComponent.nzValueProperty}`]:fe,[`${this.cascaderComponent.nzLabelProperty}`]:fe});this.setOptionActivated(Xe,qe,!1,!1),qe{this.$quitSearching.next(),this.$redraw.next(),this.inSearchingMode=!1,this.columns=[...this.columnsSnapshot],this.activatedOptions=[...this.selectedOptions]},200)}prepareSearchOptions(Ie){const Ct=[],Nt=[],St=this.cascaderComponent.nzShowSearch,qe=Le(St)&&St.filter?St.filter:(ge,je)=>je.some(Ye=>{const We=this.getOptionLabel(Ye);return!!We&&-1!==We.indexOf(ge)}),Fe=Le(St)&&St.sorter?St.sorter:null,fe=(ge,je=!1)=>{Nt.push(ge);const Ye=Array.from(Nt);if(qe(Ie,Ye)){const wt={disabled:je||ge.disabled,isLeaf:!0,path:Ye,[this.cascaderComponent.nzLabelProperty]:Ye.map(Ee=>this.getOptionLabel(Ee)).join(" / ")};Ct.push(wt)}Nt.pop()},Xe=(ge,je=!1)=>{const Ye=je||ge.disabled;Nt.push(ge),ge.children.forEach(We=>{We.parent||(We.parent=ge),We.isLeaf||Xe(We,Ye),(We.isLeaf||!We.children||!We.children.length)&&fe(We,Ye)}),Nt.pop()};this.columnsSnapshot.length?(this.columnsSnapshot[0].forEach(ge=>function ht(ft){return ft.isLeaf||!ft.children||!ft.children.length}(ge)?fe(ge):Xe(ge)),Fe&&Ct.sort((ge,je)=>Fe(ge.path,je.path,Ie)),this.columns=[Ct],this.$redraw.next()):this.columns=[[]]}toggleSearchingMode(Ie){this.inSearchingMode=Ie,Ie?(this.activatedOptionsSnapshot=[...this.activatedOptions],this.activatedOptions=[],this.selectedOptions=[],this.$redraw.next()):(this.activatedOptions=[...this.activatedOptionsSnapshot],this.selectedOptions=[...this.activatedOptions],this.columns=[...this.columnsSnapshot],this.syncOptions(),this.$redraw.next())}clear(){this.values=[],this.selectedOptions=[],this.activatedOptions=[],this.dropBehindColumns(0),this.$redraw.next(),this.$optionSelected.next(null)}getOptionLabel(Ie){return Ie[this.cascaderComponent.nzLabelProperty||"label"]}getOptionValue(Ie){return Ie[this.cascaderComponent.nzValueProperty||"value"]}setColumnData(Ie,Ct,Nt){(0,A.cO)(this.columns[Ct],Ie)||(Ie.forEach(St=>St.parent=Nt),this.columns[Ct]=Ie,this.dropBehindColumns(Ct))}trackAncestorActivatedOptions(Ie){for(let Ct=Ie-1;Ct>=0;Ct--)this.activatedOptions[Ct]||(this.activatedOptions[Ct]=this.activatedOptions[Ct+1].parent)}dropBehindActivatedOptions(Ie){this.activatedOptions=this.activatedOptions.splice(0,Ie+1)}dropBehindColumns(Ie){Ie{Ie.loading=!1,this.$loading.next(!1),this.$redraw.next()})).subscribe({next:()=>{Ie.children&&this.setColumnData(Ie.children,Ct+1,Ie),Nt?.()},error:()=>{Ie.isLeaf=!0,kt?.()}}))}isLoaded(Ie){return this.columns[Ie]&&this.columns[Ie].length>0}findOptionWithValue(Ie,Ct){const Nt=this.columns[Ie];if(Nt){const kt="object"==typeof Ct?this.getOptionValue(Ct):Ct;return Nt.find(St=>kt===this.getOptionValue(St))}return null}prepareEmitValue(){this.values=this.selectedOptions.map(Ie=>this.getOptionValue(Ie))}static#e=this.\u0275fac=function(Ct){return new(Ct||ft)};static#t=this.\u0275prov=i.Yz7({token:ft,factory:ft.\u0275fac})}return ft})();const qt="cascader",en=ft=>ft.join(" / ");let Vt=(()=>{class ft{set input(Ie){this.input$.next(Ie)}get input(){return this.input$.getValue()}get nzOptions(){return this.cascaderService.nzOptions}set nzOptions(Ie){this.cascaderService.withOptions(Ie)}get inSearchingMode(){return this.cascaderService.inSearchingMode}set inputValue(Ie){this.inputString=Ie,this.toggleSearchingMode(!!Ie)}get inputValue(){return this.inputString}get menuCls(){return{[`${this.nzMenuClassName}`]:!!this.nzMenuClassName}}get menuColumnCls(){return{[`${this.nzColumnClassName}`]:!!this.nzColumnClassName}}get hasInput(){return!!this.inputValue}get hasValue(){return this.cascaderService.values&&this.cascaderService.values.length>0}get showLabelRender(){return this.hasValue}get showPlaceholder(){return!(this.hasInput||this.hasValue)}get clearIconVisible(){return this.nzAllowClear&&!this.nzDisabled&&(this.hasValue||this.hasInput)}get isLabelRenderTemplate(){return!!this.nzLabelRender}constructor(Ie,Ct,Nt,kt,St,qe,Fe,fe,Xe,ge,je,Ye){this.cascaderService=Ie,this.nzConfigService=Ct,this.ngZone=Nt,this.cdr=kt,this.i18nService=St,this.destroy$=qe,this.elementRef=Fe,this.renderer=fe,this.directionality=Xe,this.noAnimation=ge,this.nzFormStatusService=je,this.nzFormNoStatusService=Ye,this._nzModuleName=qt,this.input$=new h.X(void 0),this.nzOptionRender=null,this.nzShowInput=!0,this.nzShowArrow=!0,this.nzAllowClear=!0,this.nzAutoFocus=!1,this.nzChangeOnSelect=!1,this.nzDisabled=!1,this.nzExpandTrigger="click",this.nzValueProperty="value",this.nzLabelRender=null,this.nzLabelProperty="label",this.nzSize="default",this.nzBackdrop=!1,this.nzShowSearch=!1,this.nzPlaceHolder="",this.nzMenuStyle=null,this.nzMouseEnterDelay=150,this.nzMouseLeaveDelay=150,this.nzStatus="",this.nzTriggerAction=["click"],this.nzSuffixIcon="down",this.nzExpandIcon="",this.nzVisibleChange=new i.vpe,this.nzSelectionChange=new i.vpe,this.nzSelect=new i.vpe,this.nzClear=new i.vpe,this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1,this.shouldShowEmpty=!1,this.menuVisible=!1,this.isLoading=!1,this.labelRenderContext={},this.onChange=Function.prototype,this.onTouched=Function.prototype,this.positions=[...P.n$],this.dropdownHeightStyle="",this.isFocused=!1,this.dir="ltr",this.inputString="",this.isOpening=!1,this.delayMenuTimer=null,this.delaySelectTimer=null,this.isNzDisableFirstChange=!0,this.el=Fe.nativeElement,this.cascaderService.withComponent(this),this.renderer.addClass(this.elementRef.nativeElement,"ant-select"),this.renderer.addClass(this.elementRef.nativeElement,"ant-cascader")}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,d.x)((Ct,Nt)=>Ct.status===Nt.status&&Ct.hasFeedback===Nt.hasFeedback),(0,m.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,M.of)(!1)),(0,f.U)(([{status:Ct,hasFeedback:Nt},kt])=>({status:kt?"":Ct,hasFeedback:Nt})),(0,C.R)(this.destroy$)).subscribe(({status:Ct,hasFeedback:Nt})=>{this.setStatusStyles(Ct,Nt)});const Ie=this.cascaderService;Ie.$redraw.pipe((0,C.R)(this.destroy$)).subscribe(()=>{this.checkChildren(),this.setDisplayLabel(),this.cdr.detectChanges(),this.reposition(),this.setDropdownStyles()}),Ie.$loading.pipe((0,C.R)(this.destroy$)).subscribe(Ct=>{this.isLoading=Ct}),Ie.$optionSelected.pipe((0,C.R)(this.destroy$)).subscribe(Ct=>{if(Ct){const{option:Nt,index:kt}=Ct;(Nt.isLeaf||this.nzChangeOnSelect&&"hover"===this.nzExpandTrigger)&&this.delaySetMenuVisible(!1),this.onChange(this.cascaderService.values),this.nzSelectionChange.emit(this.cascaderService.selectedOptions),this.nzSelect.emit({option:Nt,index:kt}),this.cdr.markForCheck()}else this.onChange([]),this.nzSelect.emit(null),this.nzSelectionChange.emit([])}),Ie.$quitSearching.pipe((0,C.R)(this.destroy$)).subscribe(()=>{this.inputString="",this.dropdownWidthStyle=""}),this.i18nService.localeChange.pipe((0,T.O)(),(0,C.R)(this.destroy$)).subscribe(()=>{this.setLocale()}),this.nzConfigService.getConfigChangeEventForComponent(qt).pipe((0,C.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change.pipe((0,C.R)(this.destroy$)).subscribe(()=>{this.dir=this.directionality.value,Ie.$redraw.next()}),this.setupChangeListener(),this.setupKeydownListener()}ngOnChanges(Ie){const{nzStatus:Ct}=Ie;Ct&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.clearDelayMenuTimer(),this.clearDelaySelectTimer()}registerOnChange(Ie){this.onChange=Ie}registerOnTouched(Ie){this.onTouched=Ie}writeValue(Ie){this.cascaderService.values=(0,A.qo)(Ie),this.cascaderService.syncOptions(!0)}delaySetMenuVisible(Ie,Ct=100,Nt=!1){this.clearDelayMenuTimer(),Ct?(Ie&&Nt&&(this.isOpening=!0),this.delayMenuTimer=setTimeout(()=>{this.setMenuVisible(Ie),this.cdr.detectChanges(),this.clearDelayMenuTimer(),Ie&&setTimeout(()=>{this.isOpening=!1},100)},Ct)):this.setMenuVisible(Ie)}setMenuVisible(Ie){this.nzDisabled||this.menuVisible===Ie||(Ie&&(this.cascaderService.syncOptions(),this.scrollToActivatedOptions()),Ie||(this.inputValue=""),this.menuVisible=Ie,this.nzVisibleChange.emit(Ie),this.cdr.detectChanges())}clearDelayMenuTimer(){this.delayMenuTimer&&(clearTimeout(this.delayMenuTimer),this.delayMenuTimer=null)}clearSelection(Ie){Ie&&(Ie.preventDefault(),Ie.stopPropagation()),this.labelRenderText="",this.labelRenderContext={},this.inputValue="",this.setMenuVisible(!1),this.cascaderService.clear(),this.nzClear.emit()}getSubmitValue(){return this.cascaderService.selectedOptions.map(Ie=>this.cascaderService.getOptionValue(Ie))}focus(){this.isFocused||((this.input?.nativeElement||this.el).focus(),this.isFocused=!0)}blur(){this.isFocused&&((this.input?.nativeElement||this.el).blur(),this.isFocused=!1)}handleInputBlur(){this.menuVisible?this.focus():this.blur()}handleInputFocus(){this.focus()}onTriggerClick(){this.nzDisabled||(this.nzShowSearch&&this.focus(),this.isActionTrigger("click")&&this.delaySetMenuVisible(!this.menuVisible,100),this.onTouched())}onTriggerMouseEnter(){this.nzDisabled||!this.isActionTrigger("hover")||this.delaySetMenuVisible(!0,this.nzMouseEnterDelay,!0)}onTriggerMouseLeave(Ie){if(this.nzDisabled||!this.menuVisible||this.isOpening||!this.isActionTrigger("hover"))return void Ie.preventDefault();const Ct=Ie.relatedTarget,kt=this.menu&&this.menu.nativeElement;this.el.contains(Ct)||kt&&kt.contains(Ct)||this.delaySetMenuVisible(!1,this.nzMouseLeaveDelay)}onOptionMouseEnter(Ie,Ct,Nt){Nt.preventDefault(),"hover"===this.nzExpandTrigger&&(Ie.isLeaf?this.cascaderService.setOptionDeactivatedSinceColumn(Ct):this.delaySetOptionActivated(Ie,Ct,!1))}onOptionMouseLeave(Ie,Ct,Nt){Nt.preventDefault(),"hover"===this.nzExpandTrigger&&!Ie.isLeaf&&this.clearDelaySelectTimer()}onOptionClick(Ie,Ct,Nt){Nt&&Nt.preventDefault(),(!Ie||!Ie.disabled)&&(this.el.focus(),this.inSearchingMode?this.cascaderService.setSearchOptionSelected(Ie):this.cascaderService.setOptionActivated(Ie,Ct,!0))}onClickOutside(Ie){this.el.contains(Ie.target)||this.closeMenu()}isActionTrigger(Ie){return"string"==typeof this.nzTriggerAction?this.nzTriggerAction===Ie:-1!==this.nzTriggerAction.indexOf(Ie)}onEnter(){const Ie=Math.max(this.cascaderService.activatedOptions.length-1,0),Ct=this.cascaderService.activatedOptions[Ie];Ct&&!Ct.disabled&&(this.inSearchingMode?this.cascaderService.setSearchOptionSelected(Ct):this.cascaderService.setOptionActivated(Ct,Ie,!0))}moveUpOrDown(Ie){const Ct=Math.max(this.cascaderService.activatedOptions.length-1,0),Nt=this.cascaderService.activatedOptions[Ct],kt=this.cascaderService.columns[Ct]||[],St=kt.length;let qe=-1;for(qe=Nt?kt.indexOf(Nt):Ie?St:-1;qe=Ie?qe-1:qe+1,!(qe<0||qe>=St);){const Fe=kt[qe];if(Fe&&!Fe.disabled){this.cascaderService.setOptionActivated(Fe,Ct);break}}}moveLeft(){const Ie=this.cascaderService.activatedOptions;Ie.length&&Ie.pop()}moveRight(){const Ie=this.cascaderService.activatedOptions.length,Ct=this.cascaderService.columns[Ie];if(Ct&&Ct.length){const Nt=Ct.find(kt=>!kt.disabled);Nt&&this.cascaderService.setOptionActivated(Nt,Ie)}}clearDelaySelectTimer(){this.delaySelectTimer&&(clearTimeout(this.delaySelectTimer),this.delaySelectTimer=null)}delaySetOptionActivated(Ie,Ct,Nt){this.clearDelaySelectTimer(),this.delaySelectTimer=setTimeout(()=>{this.cascaderService.setOptionActivated(Ie,Ct,Nt),this.delaySelectTimer=null},150)}toggleSearchingMode(Ie){this.inSearchingMode!==Ie&&this.cascaderService.toggleSearchingMode(Ie),this.inSearchingMode&&this.cascaderService.prepareSearchOptions(this.inputValue)}isOptionActivated(Ie,Ct){return this.cascaderService.activatedOptions[Ct]===Ie}setDisabledState(Ie){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||Ie,this.isNzDisableFirstChange=!1,this.nzDisabled&&this.closeMenu()}closeMenu(){this.blur(),this.clearDelayMenuTimer(),this.setMenuVisible(!1)}reposition(){this.overlay&&this.overlay.overlayRef&&this.menuVisible&&Promise.resolve().then(()=>{this.overlay.overlayRef.updatePosition(),this.cdr.markForCheck()})}checkChildren(){this.cascaderItems&&this.cascaderItems.forEach(Ie=>Ie.markForCheck())}setDisplayLabel(){const Ie=this.cascaderService.selectedOptions,Ct=Ie.map(Nt=>this.cascaderService.getOptionLabel(Nt));this.isLabelRenderTemplate&&(this.labelRenderContext={labels:Ct,selectedOptions:Ie}),this.labelRenderText=en.call(this,Ct)}setDropdownStyles(){const Ie=this.cascaderService.columns[0];this.shouldShowEmpty=this.inSearchingMode&&(!Ie||!Ie.length)||!(this.nzOptions&&this.nzOptions.length)&&!this.nzLoadData,this.dropdownHeightStyle=this.shouldShowEmpty?"auto":"",this.input&&(this.dropdownWidthStyle=this.inSearchingMode||this.shouldShowEmpty?`${this.selectContainer.nativeElement.offsetWidth}px`:"")}setStatusStyles(Ie,Ct){this.status=Ie,this.hasFeedback=Ct,this.cdr.markForCheck(),this.statusCls=(0,A.Zu)(this.prefixCls,Ie,Ct),Object.keys(this.statusCls).forEach(Nt=>{this.statusCls[Nt]?this.renderer.addClass(this.elementRef.nativeElement,Nt):this.renderer.removeClass(this.elementRef.nativeElement,Nt)})}setLocale(){this.locale=this.i18nService.getLocaleData("global"),this.cdr.markForCheck()}scrollToActivatedOptions(){this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.cascaderItems.toArray().filter(Ie=>Ie.activated).forEach(Ie=>{Ie.nativeElement.scrollIntoView({block:"start",inline:"nearest"})})})})}setupChangeListener(){this.input$.pipe((0,b.w)(Ie=>Ie?new p.y(Ct=>this.ngZone.runOutsideAngular(()=>(0,v.R)(Ie.nativeElement,"change").subscribe(Ct))):_.E),(0,C.R)(this.destroy$)).subscribe(Ie=>Ie.stopPropagation())}setupKeydownListener(){this.ngZone.runOutsideAngular(()=>{(0,v.R)(this.el,"keydown").pipe((0,C.R)(this.destroy$)).subscribe(Ie=>{const Ct=Ie.keyCode;if(Ct===n.JH||Ct===n.LH||Ct===n.oh||Ct===n.SV||Ct===n.K5||Ct===n.ZH||Ct===n.hY){if(!this.menuVisible&&Ct!==n.ZH&&Ct!==n.hY)return this.ngZone.run(()=>this.setMenuVisible(!0));this.inSearchingMode&&(Ct===n.ZH||Ct===n.oh||Ct===n.SV)||this.menuVisible&&(Ie.preventDefault(),this.ngZone.run(()=>{Ct===n.JH?this.moveUpOrDown(!1):Ct===n.LH?this.moveUpOrDown(!0):Ct===n.oh?this.moveLeft():Ct===n.SV?this.moveRight():Ct===n.K5&&this.onEnter(),this.cdr.markForCheck()}))}})})}static#e=this.\u0275fac=function(Ct){return new(Ct||ft)(i.Y36(Wt),i.Y36(y.jY),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(ze.wi),i.Y36(S.kn),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Y.Is,8),i.Y36(G.P,9),i.Y36(V.kH,8),i.Y36(V.yW,8))};static#t=this.\u0275cmp=i.Xpm({type:ft,selectors:[["nz-cascader"],["","nz-cascader",""]],viewQuery:function(Ct,Nt){if(1&Ct&&(i.Gf(Se,5),i.Gf(Ne,5),i.Gf(ke,5),i.Gf(t.pI,5),i.Gf(Lt,5)),2&Ct){let kt;i.iGM(kt=i.CRH())&&(Nt.selectContainer=kt.first),i.iGM(kt=i.CRH())&&(Nt.input=kt.first),i.iGM(kt=i.CRH())&&(Nt.menu=kt.first),i.iGM(kt=i.CRH())&&(Nt.overlay=kt.first),i.iGM(kt=i.CRH())&&(Nt.cascaderItems=kt)}},hostVars:23,hostBindings:function(Ct,Nt){1&Ct&&i.NdJ("click",function(){return Nt.onTriggerClick()})("mouseenter",function(){return Nt.onTriggerMouseEnter()})("mouseleave",function(St){return Nt.onTriggerMouseLeave(St)}),2&Ct&&(i.uIk("tabIndex","0"),i.ekj("ant-select-in-form-item",!!Nt.nzFormStatusService)("ant-select-lg","large"===Nt.nzSize)("ant-select-sm","small"===Nt.nzSize)("ant-select-allow-clear",Nt.nzAllowClear)("ant-select-show-arrow",Nt.nzShowArrow)("ant-select-show-search",!!Nt.nzShowSearch)("ant-select-disabled",Nt.nzDisabled)("ant-select-open",Nt.menuVisible)("ant-select-focused",Nt.isFocused)("ant-select-single",!0)("ant-select-rtl","rtl"===Nt.dir))},inputs:{nzOptionRender:"nzOptionRender",nzShowInput:"nzShowInput",nzShowArrow:"nzShowArrow",nzAllowClear:"nzAllowClear",nzAutoFocus:"nzAutoFocus",nzChangeOnSelect:"nzChangeOnSelect",nzDisabled:"nzDisabled",nzColumnClassName:"nzColumnClassName",nzExpandTrigger:"nzExpandTrigger",nzValueProperty:"nzValueProperty",nzLabelRender:"nzLabelRender",nzLabelProperty:"nzLabelProperty",nzNotFoundContent:"nzNotFoundContent",nzSize:"nzSize",nzBackdrop:"nzBackdrop",nzShowSearch:"nzShowSearch",nzPlaceHolder:"nzPlaceHolder",nzMenuClassName:"nzMenuClassName",nzMenuStyle:"nzMenuStyle",nzMouseEnterDelay:"nzMouseEnterDelay",nzMouseLeaveDelay:"nzMouseLeaveDelay",nzStatus:"nzStatus",nzTriggerAction:"nzTriggerAction",nzChangeOn:"nzChangeOn",nzLoadData:"nzLoadData",nzSuffixIcon:"nzSuffixIcon",nzExpandIcon:"nzExpandIcon",nzOptions:"nzOptions"},outputs:{nzVisibleChange:"nzVisibleChange",nzSelectionChange:"nzSelectionChange",nzSelect:"nzSelect",nzClear:"nzClear"},exportAs:["nzCascader"],features:[i._Bn([{provide:l.JU,useExisting:(0,i.Gpc)(()=>ft),multi:!0},Wt,S.kn]),i.TTD],ngContentSelectors:Ae,decls:6,vars:6,consts:[["cdkOverlayOrigin",""],["origin","cdkOverlayOrigin","trigger",""],[4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayOpen","overlayOutsideClick","detach"],[1,"ant-select-selector"],["selectContainer",""],[1,"ant-select-selection-search"],["type","search",1,"ant-select-selection-search-input",3,"readonly","disabled","ngModel","ngModelChange","blur","focus"],["input",""],["class","ant-select-selection-item",3,"title",4,"ngIf"],["class","ant-select-selection-placeholder",3,"visibility",4,"ngIf"],["class","ant-select-arrow",3,"ant-select-arrow-loading",4,"ngIf"],["class","ant-select-clear",4,"ngIf"],[1,"ant-select-selection-item",3,"title"],[4,"ngIf","ngIfElse"],["labelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-select-selection-placeholder"],[1,"ant-select-arrow"],["nz-icon","",3,"nzType","ant-cascader-picker-arrow-expand",4,"ngIf"],["nz-icon","","nzType","loading",4,"ngIf"],[3,"status",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","loading"],[3,"status"],[1,"ant-select-clear"],["nz-icon","","nzType","close-circle","nzTheme","fill",3,"click"],[1,"ant-select-dropdown","ant-cascader-dropdown","ant-select-dropdown-placement-bottomLeft",3,"nzNoAnimation","mouseenter","mouseleave"],[1,"ant-cascader-menus",3,"ngClass","ngStyle"],["menu",""],["class","ant-cascader-menu",3,"width","height",4,"ngIf","ngIfElse"],["hasOptionsTemplate",""],[1,"ant-cascader-menu"],[1,"ant-cascader-menu-item","ant-cascader-menu-item-disabled"],[1,"ant-cascader-menu-item-content",3,"nzComponentName","specificContent"],["class","ant-cascader-menu","role","menuitemcheckbox",3,"ngClass","height","width",4,"ngFor","ngForOf"],["role","menuitemcheckbox",1,"ant-cascader-menu",3,"ngClass"],["nz-cascader-option","",3,"expandIcon","columnIndex","nzLabelProperty","optionTemplate","activated","highlightText","option","dir","mouseenter","mouseleave","click",4,"ngFor","ngForOf"],["nz-cascader-option","",3,"expandIcon","columnIndex","nzLabelProperty","optionTemplate","activated","highlightText","option","dir","mouseenter","mouseleave","click"]],template:function(Ct,Nt){if(1&Ct&&(i.F$t(),i.TgZ(0,"div",0,1),i.YNc(3,mt,10,12,"ng-container",2),i.Hsn(4),i.qZA(),i.YNc(5,Me,6,15,"ng-template",3),i.NdJ("overlayOutsideClick",function(St){return Nt.onClickOutside(St)})("detach",function(){return Nt.closeMenu()})),2&Ct){const kt=i.MAs(1);i.xp6(3),i.Q6J("ngIf",Nt.nzShowInput),i.xp6(2),i.Q6J("cdkConnectedOverlayHasBackdrop",Nt.nzBackdrop)("cdkConnectedOverlayOrigin",kt)("cdkConnectedOverlayPositions",Nt.positions)("cdkConnectedOverlayTransformOriginOn",".ant-cascader-dropdown")("cdkConnectedOverlayOpen",Nt.menuVisible)}},dependencies:[Y.Lv,k.mk,k.sg,k.O5,k.tP,k.PC,l.Fj,l.JJ,l.On,t.pI,t.xu,K.gB,W.Ls,G.P,P.hQ,V.w_,Lt],encapsulation:2,data:{animation:[D.mF]},changeDetection:0})}return(0,e.gn)([(0,A.yF)()],ft.prototype,"nzShowInput",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzShowArrow",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzAllowClear",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzChangeOnSelect",void 0),(0,e.gn)([(0,A.yF)()],ft.prototype,"nzDisabled",void 0),(0,e.gn)([(0,y.oS)()],ft.prototype,"nzSize",void 0),(0,e.gn)([(0,y.oS)()],ft.prototype,"nzBackdrop",void 0),ft})(),cn=(()=>{class ft{static#e=this.\u0275fac=function(Ct){return new(Ct||ft)};static#t=this.\u0275mod=i.oAB({type:ft});static#n=this.\u0275inj=i.cJS({imports:[Y.vT,k.ez,l.u5,t.U8,R.T,K.Xo,j.C,W.PV,ee.o7,G.g,P.e4,V.mJ]})}return ft})()},28802:(tt,I,o)=>{"use strict";o.d(I,{D3:()=>h,y7:()=>u});var e=o(65879),n=o(42495),t=o(65592),i=o(78645);let l=(()=>{class z{create(p){return typeof ResizeObserver>"u"?null:new ResizeObserver(p)}static#e=this.\u0275fac=function(v){return new(v||z)};static#t=this.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),h=(()=>{class z{constructor(p){this.nzResizeObserverFactory=p,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((p,v)=>this.cleanupObserver(v))}observe(p){const v=(0,n.fI)(p);return new t.y(_=>{const m=this.observeElement(v).subscribe(_);return()=>{m.unsubscribe(),this.unobserveElement(v)}})}observeElement(p){if(this.observedElements.has(p))this.observedElements.get(p).count++;else{const v=new i.x,_=this.nzResizeObserverFactory.create(d=>v.next(d));_&&_.observe(p),this.observedElements.set(p,{observer:_,stream:v,count:1})}return this.observedElements.get(p).stream}unobserveElement(p){this.observedElements.has(p)&&(this.observedElements.get(p).count--,this.observedElements.get(p).count||this.cleanupObserver(p))}cleanupObserver(p){if(this.observedElements.has(p)){const{observer:v,stream:_}=this.observedElements.get(p);v&&v.disconnect(),_.complete(),this.observedElements.delete(p)}}static#e=this.\u0275fac=function(v){return new(v||z)(e.LFG(l))};static#t=this.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),u=(()=>{class z{static#e=this.\u0275fac=function(v){return new(v||z)};static#t=this.\u0275mod=e.oAB({type:z});static#n=this.\u0275inj=e.cJS({providers:[l]})}return z})()},62612:(tt,I,o)=>{"use strict";o.d(I,{EZ:()=>f,Ie:()=>C,Wr:()=>b,ub:()=>T});var e=o(97582),n=o(65879),t=o(60095),i=o(78645),l=o(92438),h=o(59773),E=o(27754),u=o(4300),z=o(49388),M=o(50883),p=o(96814);const v=["*"],_=["inputElement"],d=["nz-checkbox",""];function m(D,y){if(1&D){const P=n.EpF();n.TgZ(0,"label",1),n.NdJ("nzCheckedChange",function(A){const R=n.CHM(P).$implicit,W=n.oxw();return n.KtG(W.onCheckedChange(R,A))}),n.TgZ(1,"span"),n._uU(2),n.qZA()()}if(2&D){const P=y.$implicit,S=n.oxw();n.Q6J("nzDisabled",P.disabled||S.nzDisabled)("nzChecked",P.checked),n.xp6(2),n.Oqu(P.label)}}let f=(()=>{class D{constructor(){this.nzOnChange=new n.vpe,this.checkboxList=[]}addCheckbox(P){this.checkboxList.push(P)}removeCheckbox(P){this.checkboxList.splice(this.checkboxList.indexOf(P),1)}onChange(){const P=this.checkboxList.filter(S=>S.nzChecked).map(S=>S.nzValue);this.nzOnChange.emit(P)}static#e=this.\u0275fac=function(S){return new(S||D)};static#t=this.\u0275cmp=n.Xpm({type:D,selectors:[["nz-checkbox-wrapper"]],hostAttrs:[1,"ant-checkbox-group"],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:v,decls:1,vars:0,template:function(S,A){1&S&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return D})(),C=(()=>{class D{innerCheckedChange(P){this.nzDisabled||(this.nzChecked=P,this.onChange(this.nzChecked),this.nzCheckedChange.emit(this.nzChecked),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.onChange())}writeValue(P){this.nzChecked=P,this.cdr.markForCheck()}registerOnChange(P){this.onChange=P}registerOnTouched(P){this.onTouched=P}setDisabledState(P){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||P,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(P,S,A,k,R,W,j){this.ngZone=P,this.elementRef=S,this.nzCheckboxWrapperComponent=A,this.cdr=k,this.focusMonitor=R,this.directionality=W,this.nzFormStatusService=j,this.dir="ltr",this.destroy$=new i.x,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzCheckedChange=new n.vpe,this.nzValue=null,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzChecked=!1,this.nzId=null}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe((0,h.R)(this.destroy$)).subscribe(P=>{P||Promise.resolve().then(()=>this.onTouched())}),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.addCheckbox(this),this.directionality.change.pipe((0,h.R)(this.destroy$)).subscribe(P=>{this.dir=P,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,l.R)(this.elementRef.nativeElement,"click").pipe((0,h.R)(this.destroy$)).subscribe(P=>{P.preventDefault(),this.focus(),!this.nzDisabled&&this.ngZone.run(()=>{this.innerCheckedChange(!this.nzChecked),this.cdr.markForCheck()})}),(0,l.R)(this.inputElement.nativeElement,"click").pipe((0,h.R)(this.destroy$)).subscribe(P=>P.stopPropagation())})}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.removeCheckbox(this),this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(S){return new(S||D)(n.Y36(n.R0b),n.Y36(n.SBq),n.Y36(f,8),n.Y36(n.sBO),n.Y36(u.tE),n.Y36(z.Is,8),n.Y36(M.kH,8))};static#t=this.\u0275cmp=n.Xpm({type:D,selectors:[["","nz-checkbox",""]],viewQuery:function(S,A){if(1&S&&n.Gf(_,7),2&S){let k;n.iGM(k=n.CRH())&&(A.inputElement=k.first)}},hostAttrs:[1,"ant-checkbox-wrapper"],hostVars:6,hostBindings:function(S,A){2&S&&n.ekj("ant-checkbox-wrapper-in-form-item",!!A.nzFormStatusService)("ant-checkbox-wrapper-checked",A.nzChecked)("ant-checkbox-rtl","rtl"===A.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzChecked:"nzChecked",nzId:"nzId"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[n._Bn([{provide:t.JU,useExisting:(0,n.Gpc)(()=>D),multi:!0}])],attrs:d,ngContentSelectors:v,decls:6,vars:11,consts:[[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"checked","ngModel","disabled","ngModelChange"],["inputElement",""],[1,"ant-checkbox-inner"]],template:function(S,A){1&S&&(n.F$t(),n.TgZ(0,"span",0)(1,"input",1,2),n.NdJ("ngModelChange",function(R){return A.innerCheckedChange(R)}),n.qZA(),n._UZ(3,"span",3),n.qZA(),n.TgZ(4,"span"),n.Hsn(5),n.qZA()),2&S&&(n.ekj("ant-checkbox-checked",A.nzChecked&&!A.nzIndeterminate)("ant-checkbox-disabled",A.nzDisabled)("ant-checkbox-indeterminate",A.nzIndeterminate),n.xp6(1),n.Q6J("checked",A.nzChecked)("ngModel",A.nzChecked)("disabled",A.nzDisabled),n.uIk("autofocus",A.nzAutoFocus?"autofocus":null)("id",A.nzId))},dependencies:[t.Wl,t.JJ,t.On],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,E.yF)()],D.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,E.yF)()],D.prototype,"nzDisabled",void 0),(0,e.gn)([(0,E.yF)()],D.prototype,"nzIndeterminate",void 0),(0,e.gn)([(0,E.yF)()],D.prototype,"nzChecked",void 0),D})(),T=(()=>{class D{trackByOption(P,S){return S.value}onCheckedChange(P,S){P.checked=S,this.onChange(this.options)}constructor(P,S,A,k){this.elementRef=P,this.focusMonitor=S,this.cdr=A,this.directionality=k,this.onChange=()=>{},this.onTouched=()=>{},this.options=[],this.nzDisabled=!1,this.dir="ltr",this.destroy$=new i.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe((0,h.R)(this.destroy$)).subscribe(P=>{P||Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,h.R)(this.destroy$)).subscribe(P=>{this.dir=P,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}writeValue(P){this.options=P,this.cdr.markForCheck()}registerOnChange(P){this.onChange=P}registerOnTouched(P){this.onTouched=P}setDisabledState(P){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||P,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}static#e=this.\u0275fac=function(S){return new(S||D)(n.Y36(n.SBq),n.Y36(u.tE),n.Y36(n.sBO),n.Y36(z.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:D,selectors:[["nz-checkbox-group"]],hostAttrs:[1,"ant-checkbox-group"],hostVars:2,hostBindings:function(S,A){2&S&&n.ekj("ant-checkbox-group-rtl","rtl"===A.dir)},inputs:{nzDisabled:"nzDisabled"},exportAs:["nzCheckboxGroup"],features:[n._Bn([{provide:t.JU,useExisting:(0,n.Gpc)(()=>D),multi:!0}])],decls:1,vars:2,consts:[["nz-checkbox","","class","ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange",4,"ngFor","ngForOf","ngForTrackBy"],["nz-checkbox","",1,"ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange"]],template:function(S,A){1&S&&n.YNc(0,m,3,3,"label",0),2&S&&n.Q6J("ngForOf",A.options)("ngForTrackBy",A.trackByOption)},dependencies:[p.sg,C],encapsulation:2})}return(0,e.gn)([(0,E.yF)()],D.prototype,"nzDisabled",void 0),D})(),b=(()=>{class D{static#e=this.\u0275fac=function(S){return new(S||D)};static#t=this.\u0275mod=n.oAB({type:D});static#n=this.\u0275inj=n.cJS({imports:[z.vT,p.ez,t.u5,u.rt]})}return D})()},64194:(tt,I,o)=>{"use strict";o.d(I,{$C:()=>d,Ev:()=>m,J_:()=>i,MC:()=>h,Rq:()=>_,YK:()=>u,c8:()=>E,lx:()=>l,mF:()=>v});var e=o(86825);let n=(()=>{class C{static#e=this.SLOW="0.3s";static#t=this.BASE="0.2s";static#n=this.FAST="0.1s"}return C})(),t=(()=>{class C{static#e=this.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)";static#t=this.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)";static#n=this.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)";static#i=this.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)";static#o=this.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)";static#s=this.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)";static#r=this.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)";static#a=this.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)";static#l=this.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)";static#c=this.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)";static#d=this.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)";static#u=this.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)";static#h=this.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)";static#p=this.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"}return C})();const i=(0,e.X$)("collapseMotion",[(0,e.SB)("expanded",(0,e.oB)({height:"*"})),(0,e.SB)("collapsed",(0,e.oB)({height:0,overflow:"hidden"})),(0,e.SB)("hidden",(0,e.oB)({height:0,overflow:"hidden",borderTopWidth:"0"})),(0,e.eR)("expanded => collapsed",(0,e.jt)(`150ms ${t.EASE_IN_OUT}`)),(0,e.eR)("expanded => hidden",(0,e.jt)(`150ms ${t.EASE_IN_OUT}`)),(0,e.eR)("collapsed => expanded",(0,e.jt)(`150ms ${t.EASE_IN_OUT}`)),(0,e.eR)("hidden => expanded",(0,e.jt)(`150ms ${t.EASE_IN_OUT}`))]),l=(0,e.X$)("treeCollapseMotion",[(0,e.eR)("* => *",[(0,e.IO)("nz-tree-node:leave,nz-tree-builtin-node:leave",[(0,e.oB)({overflow:"hidden"}),(0,e.EY)(0,[(0,e.jt)(`150ms ${t.EASE_IN_OUT}`,(0,e.oB)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),(0,e.IO)("nz-tree-node:enter,nz-tree-builtin-node:enter",[(0,e.oB)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),(0,e.EY)(0,[(0,e.jt)(`150ms ${t.EASE_IN_OUT}`,(0,e.oB)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),h=(0,e.X$)("fadeMotion",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0}),(0,e.jt)(`${n.BASE}`,(0,e.oB)({opacity:1}))]),(0,e.eR)(":leave",[(0,e.oB)({opacity:1}),(0,e.jt)(`${n.BASE}`,(0,e.oB)({opacity:0}))])]),E=(0,e.X$)("helpMotion",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0,transform:"translateY(-5px)"}),(0,e.jt)(`${n.SLOW} ${t.EASE_IN_OUT}`,(0,e.oB)({opacity:1,transform:"translateY(0)"}))]),(0,e.eR)(":leave",[(0,e.oB)({opacity:1,transform:"translateY(0)"}),(0,e.jt)(`${n.SLOW} ${t.EASE_IN_OUT}`,(0,e.oB)({opacity:0,transform:"translateY(-5px)"}))])]),u=(0,e.X$)("moveUpMotion",[(0,e.eR)("* => enter",[(0,e.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),(0,e.jt)(`${n.BASE}`,(0,e.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),(0,e.eR)("* => leave",[(0,e.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),(0,e.jt)(`${n.BASE}`,(0,e.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),M=((0,e.X$)("notificationMotion",[(0,e.SB)("enterRight",(0,e.oB)({opacity:1,transform:"translateX(0)"})),(0,e.eR)("* => enterRight",[(0,e.oB)({opacity:0,transform:"translateX(5%)"}),(0,e.jt)("100ms linear")]),(0,e.SB)("enterLeft",(0,e.oB)({opacity:1,transform:"translateX(0)"})),(0,e.eR)("* => enterLeft",[(0,e.oB)({opacity:0,transform:"translateX(-5%)"}),(0,e.jt)("100ms linear")]),(0,e.SB)("enterTop",(0,e.oB)({opacity:1,transform:"translateY(0)"})),(0,e.eR)("* => enterTop",[(0,e.oB)({opacity:0,transform:"translateY(-5%)"}),(0,e.jt)("100ms linear")]),(0,e.SB)("enterBottom",(0,e.oB)({opacity:1,transform:"translateY(0)"})),(0,e.eR)("* => enterBottom",[(0,e.oB)({opacity:0,transform:"translateY(5%)"}),(0,e.jt)("100ms linear")]),(0,e.SB)("leave",(0,e.oB)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),(0,e.eR)("* => leave",[(0,e.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,e.jt)("100ms linear")])]),`${n.BASE} ${t.EASE_OUT_QUINT}`),p=`${n.BASE} ${t.EASE_IN_QUINT}`,v=(0,e.X$)("slideMotion",[(0,e.SB)("void",(0,e.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,e.SB)("enter",(0,e.oB)({opacity:1,transform:"scaleY(1)"})),(0,e.eR)("void => *",[(0,e.jt)(M)]),(0,e.eR)("* => void",[(0,e.jt)(p)])]),_=(0,e.X$)("slideAlertMotion",[(0,e.eR)(":leave",[(0,e.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,e.jt)(`${n.SLOW} ${t.EASE_IN_OUT_CIRC}`,(0,e.oB)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),d=(0,e.X$)("zoomBigMotion",[(0,e.eR)("void => active",[(0,e.oB)({opacity:0,transform:"scale(0.8)"}),(0,e.jt)(`${n.BASE} ${t.EASE_OUT_CIRC}`,(0,e.oB)({opacity:1,transform:"scale(1)"}))]),(0,e.eR)("active => void",[(0,e.oB)({opacity:1,transform:"scale(1)"}),(0,e.jt)(`${n.BASE} ${t.EASE_IN_OUT_CIRC}`,(0,e.oB)({opacity:0,transform:"scale(0.8)"}))])]),m=(0,e.X$)("zoomBadgeMotion",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),(0,e.jt)(`${n.SLOW} ${t.EASE_OUT_BACK}`,(0,e.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),(0,e.eR)(":leave",[(0,e.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),(0,e.jt)(`${n.SLOW} ${t.EASE_IN_BACK}`,(0,e.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);(0,e.X$)("thumbMotion",[(0,e.SB)("from",(0,e.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),(0,e.SB)("to",(0,e.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),(0,e.eR)("from => to",(0,e.jt)(`300ms ${t.EASE_IN_OUT}`))])},13324:(tt,I,o)=>{"use strict";o.d(I,{Bh:()=>t,M8:()=>h,R_:()=>y,o2:()=>l,uf:()=>i});var e=o(94265),n=o(36379);const t=["success","processing","error","default","warning"],i=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function l(P){return-1!==i.indexOf(P)}function h(P){return-1!==t.indexOf(P)}const E=2,u=.16,z=.05,M=.05,p=.15,v=5,_=4,d=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function m({r:P,g:S,b:A}){const k=(0,e.py)(P,S,A);return{h:360*k.h,s:k.s,v:k.v}}function f({r:P,g:S,b:A}){return`#${(0,e.vq)(P,S,A,!1)}`}function T(P,S,A){let k;return k=Math.round(P.h)>=60&&Math.round(P.h)<=240?A?Math.round(P.h)-E*S:Math.round(P.h)+E*S:A?Math.round(P.h)+E*S:Math.round(P.h)-E*S,k<0?k+=360:k>=360&&(k-=360),k}function b(P,S,A){if(0===P.h&&0===P.s)return P.s;let k;return k=A?P.s-u*S:S===_?P.s+u:P.s+z*S,k>1&&(k=1),A&&S===v&&k>.1&&(k=.1),k<.06&&(k=.06),Number(k.toFixed(2))}function D(P,S,A){let k;return k=A?P.v+M*S:P.v-p*S,k>1&&(k=1),Number(k.toFixed(2))}function y(P,S={}){const A=[],k=(0,n.uA)(P);for(let R=v;R>0;R-=1){const W=m(k),j=f((0,n.uA)({h:T(W,R,!0),s:b(W,R,!0),v:D(W,R,!0)}));A.push(j)}A.push(f(k));for(let R=1;R<=_;R+=1){const W=m(k),j=f((0,n.uA)({h:T(W,R),s:b(W,R),v:D(W,R)}));A.push(j)}return"dark"===S.theme?d.map(({index:R,opacity:W})=>f(function C(P,S,A){const k=A/100;return{r:(S.r-P.r)*k+P.r,g:(S.g-P.g)*k+P.g,b:(S.b-P.b)*k+P.b}}((0,n.uA)(S.backgroundColor||"#141414"),(0,n.uA)(A[R]),100*W))):A}},83064:(tt,I,o)=>{"use strict";o.d(I,{jY:()=>f,oS:()=>C,zR:()=>M});var e=o(65879),n=o(78645),t=o(32181),i=o(21441),l=o(30889),h=o(13324),E=o(1608),u=o(27754);const z=new e.OlP("nz-config");function M(T){return(0,e.MR2)([{provide:z,useValue:T}])}const p=`-ant-${Date.now()}-${Math.random()}`;function _(T,b,D){const y=function v(T,b){const D={},y=(A,k)=>{let R=A.clone();return R=k?.(R)||R,R.toRgbString()},P=(A,k)=>{const R=new l.C(A),W=(0,h.R_)(R.toRgbString());D[`${k}-color`]=y(R),D[`${k}-color-disabled`]=W[1],D[`${k}-color-hover`]=W[4],D[`${k}-color-active`]=W[7],D[`${k}-color-outline`]=R.clone().setAlpha(.2).toRgbString(),D[`${k}-color-deprecated-bg`]=W[1],D[`${k}-color-deprecated-border`]=W[3]};if(b.primaryColor){P(b.primaryColor,"primary");const A=new l.C(b.primaryColor),k=(0,h.R_)(A.toRgbString());k.forEach((W,j)=>{D[`primary-${j+1}`]=W}),D["primary-color-deprecated-l-35"]=y(A,W=>W.lighten(35)),D["primary-color-deprecated-l-20"]=y(A,W=>W.lighten(20)),D["primary-color-deprecated-t-20"]=y(A,W=>W.tint(20)),D["primary-color-deprecated-t-50"]=y(A,W=>W.tint(50)),D["primary-color-deprecated-f-12"]=y(A,W=>W.setAlpha(.12*W.getAlpha()));const R=new l.C(k[0]);D["primary-color-active-deprecated-f-30"]=y(R,W=>W.setAlpha(.3*W.getAlpha())),D["primary-color-active-deprecated-d-02"]=y(R,W=>W.darken(2))}return b.successColor&&P(b.successColor,"success"),b.warningColor&&P(b.warningColor,"warning"),b.errorColor&&P(b.errorColor,"error"),b.infoColor&&P(b.infoColor,"info"),`\n :root {\n ${Object.keys(D).map(A=>`--${T}-${A}: ${D[A]};`).join("\n")}\n }\n `.trim()}(T,b);(0,u.J8)()?(0,u.hq)(y,`${p}-dynamic-theme`,{cspNonce:D}):(0,E.ZK)("NzConfigService: SSR do not support dynamic theme with css variables.")}const d=function(T){return void 0!==T};let f=(()=>{class T{constructor(D,y){this.configUpdated$=new n.x,this.config=D||{},this.cspNonce=y,this.config.theme&&_(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,y)}getConfig(){return this.config}getConfigForComponent(D){return this.config[D]}getConfigChangeEventForComponent(D){return this.configUpdated$.pipe((0,t.h)(y=>y===D),(0,i.h)(void 0))}set(D,y){this.config[D]={...this.config[D],...y},"theme"===D&&this.config.theme&&_(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,this.cspNonce),this.configUpdated$.next(D)}static#e=this.\u0275fac=function(y){return new(y||T)(e.LFG(z,8),e.LFG(e.Ojb,8))};static#t=this.\u0275prov=e.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();function C(){return function(b,D,y){const P=`$$__zorroConfigDecorator__${D}`;return Object.defineProperty(b,P,{configurable:!0,writable:!0,enumerable:!1}),{get(){const S=y?.get?y.get.bind(this)():this[P],A=(this.propertyAssignCounter?.[D]||0)>1,k=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[D];return A&&d(S)?S:d(k)?k:S},set(S){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[D]=(this.propertyAssignCounter[D]||0)+1,y?.set?y.set.bind(this)(S):this[P]=S},configurable:!0,enumerable:!0}}}},71740:(tt,I,o)=>{"use strict";o.d(I,{N:()=>e});const e={isTestMode:!1}},50883:(tt,I,o)=>{"use strict";o.d(I,{kH:()=>E,mJ:()=>p,w_:()=>M,yW:()=>u});var e=o(65879),n=o(97328),t=o(65619),i=o(96814),l=o(90551);function h(v,_){if(1&v&&e._UZ(0,"span",1),2&v){const d=e.oxw();e.Q6J("nzType",d.iconType)}}let E=(()=>{class v{constructor(){this.formStatusChanges=new n.t(1)}static#e=this.\u0275fac=function(m){return new(m||v)};static#t=this.\u0275prov=e.Yz7({token:v,factory:v.\u0275fac})}return v})(),u=(()=>{class v{constructor(){this.noFormStatus=new t.X(!1)}static#e=this.\u0275fac=function(m){return new(m||v)};static#t=this.\u0275prov=e.Yz7({token:v,factory:v.\u0275fac})}return v})();const z={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let M=(()=>{class v{constructor(d){this.cdr=d,this.status="",this.iconType=null}ngOnChanges(d){this.updateIcon()}updateIcon(){this.iconType=this.status?z[this.status]:null,this.cdr.markForCheck()}static#e=this.\u0275fac=function(m){return new(m||v)(e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:v,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(m,f){2&m&&e.ekj("ant-form-item-feedback-icon-error","error"===f.status)("ant-form-item-feedback-icon-warning","warning"===f.status)("ant-form-item-feedback-icon-success","success"===f.status)("ant-form-item-feedback-icon-validating","validating"===f.status)},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[e.TTD],decls:1,vars:1,consts:[["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(m,f){1&m&&e.YNc(0,h,1,1,"span",0),2&m&&e.Q6J("ngIf",f.iconType)},dependencies:[i.O5,l.Ls],encapsulation:2,changeDetection:0})}return v})(),p=(()=>{class v{static#e=this.\u0275fac=function(m){return new(m||v)};static#t=this.\u0275mod=e.oAB({type:v});static#n=this.\u0275inj=e.cJS({imports:[i.ez,l.PV]})}return v})()},84267:(tt,I,o)=>{"use strict";o.d(I,{C:()=>E,U:()=>h});var e=o(65879),n=o(96814);const t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/([^\#-~ |!])/g;let h=(()=>{class u{constructor(){this.UNIQUE_WRAPPERS=["##==-open_tag-==##","##==-close_tag-==##"]}transform(M,p,v,_){if(!p)return M;const d=new RegExp(p.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&"),v);return function l(u){return u.replace(/&/g,"&").replace(t,z=>`&#${1024*(z.charCodeAt(0)-55296)+(z.charCodeAt(1)-56320)+65536};`).replace(i,z=>`&#${z.charCodeAt(0)};`).replace(//g,">")}(M.replace(d,`${this.UNIQUE_WRAPPERS[0]}$&${this.UNIQUE_WRAPPERS[1]}`)).replace(new RegExp(this.UNIQUE_WRAPPERS[0],"g"),_?``:"").replace(new RegExp(this.UNIQUE_WRAPPERS[1],"g"),"")}static#e=this.\u0275fac=function(p){return new(p||u)};static#t=this.\u0275pipe=e.Yjl({name:"nzHighlight",type:u,pure:!0})}return u})(),E=(()=>{class u{static#e=this.\u0275fac=function(p){return new(p||u)};static#t=this.\u0275mod=e.oAB({type:u});static#n=this.\u0275inj=e.cJS({imports:[n.ez]})}return u})()},1608:(tt,I,o)=>{"use strict";o.d(I,{Bq:()=>i,ZK:()=>E});var e=o(65879),n=o(71740);const t={},i="[NG-ZORRO]:";const E=(...M)=>function h(M,...p){(n.N.isTestMode||(0,e.X6Q)()&&function l(...M){const p=M.reduce((v,_)=>v+_.toString(),"");return!t[p]&&(t[p]=!0,!0)}(...p))&&M(...p)}((...p)=>console.warn(i,...p),...M)},331:(tt,I,o)=>{"use strict";o.d(I,{P:()=>E,g:()=>u});var e=o(96814),n=o(65879),t=o(97582),i=o(42495),l=o(27754);const h="nz-animate-disabled";let E=(()=>{class z{constructor(p,v,_){this.element=p,this.renderer=v,this.animationType=_,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const p=(0,i.fI)(this.element);p&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(p,h):this.renderer.removeClass(p,h))}static#e=this.\u0275fac=function(v){return new(v||z)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.QbO,8))};static#t=this.\u0275dir=n.lG2({type:z,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[n.TTD]})}return(0,t.gn)([(0,l.yF)()],z.prototype,"nzNoAnimation",void 0),z})(),u=(()=>{class z{static#e=this.\u0275fac=function(v){return new(v||z)};static#t=this.\u0275mod=n.oAB({type:z});static#n=this.\u0275inj=n.cJS({imports:[e.ez]})}return z})()},8324:(tt,I,o)=>{"use strict";o.d(I,{T:()=>l,f:()=>t});var e=o(96814),n=o(65879);let t=(()=>{class h{static ngTemplateContextGuard(u,z){return!0}recreateView(){this.viewContainer.clear();const u=this.nzStringTemplateOutlet instanceof n.Rgc;this.embeddedViewRef=this.viewContainer.createEmbeddedView(u?this.nzStringTemplateOutlet:this.templateRef,u?this.nzStringTemplateOutletContext:this.context)}updateContext(){const z=this.nzStringTemplateOutlet instanceof n.Rgc?this.nzStringTemplateOutletContext:this.context,M=this.embeddedViewRef.context;if(z)for(const p of Object.keys(z))M[p]=z[p]}constructor(u,z){this.viewContainer=u,this.templateRef=z,this.embeddedViewRef=null,this.context=new i,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}ngOnChanges(u){const{nzStringTemplateOutletContext:z,nzStringTemplateOutlet:M}=u;M&&(this.context.$implicit=M.currentValue),(()=>{let _=!1;return M&&(_=!!M.firstChange||(M.previousValue instanceof n.Rgc||M.currentValue instanceof n.Rgc)),z&&(f=>{const C=Object.keys(f.previousValue||{}),T=Object.keys(f.currentValue||{});if(C.length===T.length){for(const b of T)if(-1===C.indexOf(b))return!0;return!1}return!0})(z)||_})()?this.recreateView():this.updateContext()}static#e=this.\u0275fac=function(z){return new(z||h)(n.Y36(n.s_b),n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:h,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[n.TTD]})}return h})();class i{}let l=(()=>{class h{static#e=this.\u0275fac=function(z){return new(z||h)};static#t=this.\u0275mod=n.oAB({type:h});static#n=this.\u0275inj=n.cJS({imports:[e.ez]})}return h})()},85448:(tt,I,o)=>{"use strict";o.d(I,{A7:()=>M,Ek:()=>u,bw:()=>d,d_:()=>v,dz:()=>_,e4:()=>f,fG:()=>p,hQ:()=>m,n$:()=>z,yW:()=>E});var e=o(97582),n=o(33651),t=o(65879),i=o(59773),l=o(99087),h=o(27754);const E={top:new n.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new n.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new n.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new n.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new n.tR({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new n.tR({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new n.tR({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new n.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new n.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new n.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new n.tR({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new n.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new n.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},u=[E.top,E.right,E.bottom,E.left],z=[E.bottomLeft,E.bottomRight,E.topLeft,E.topRight,E.topCenter,E.bottomCenter],M=[new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new n.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],p=[E.bottomLeft,new n.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function v(C){for(const T in E)if(C.connectionPair.originX===E[T].originX&&C.connectionPair.originY===E[T].originY&&C.connectionPair.overlayX===E[T].overlayX&&C.connectionPair.overlayY===E[T].overlayY)return T}const _={bottomLeft:new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new n.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new n.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new n.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)},d=[_.bottomLeft,_.topLeft,_.bottomRight,_.topRight];let m=(()=>{class C{constructor(b,D){this.cdkConnectedOverlay=b,this.nzDestroyService=D,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe((0,i.R)(this.nzDestroyService)).subscribe(y=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(y)})}updateArrowPosition(b){const D=this.getOriginRect(),y=v(b);let P=0,S=0;"topLeft"===y||"bottomLeft"===y?P=D.width/2-14:"topRight"===y||"bottomRight"===y?P=-(D.width/2-14):"leftTop"===y||"rightTop"===y?S=D.height/2-10:("leftBottom"===y||"rightBottom"===y)&&(S=-(D.height/2-10)),(this.cdkConnectedOverlay.offsetX!==P||this.cdkConnectedOverlay.offsetY!==S)&&(this.cdkConnectedOverlay.offsetY=S,this.cdkConnectedOverlay.offsetX=P,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof n.xu?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const b=this.getFlexibleConnectedPositionStrategyOrigin();if(b instanceof t.SBq)return b.nativeElement.getBoundingClientRect();if(b instanceof Element)return b.getBoundingClientRect();const D=b.width||0,y=b.height||0;return{top:b.y,bottom:b.y+y,left:b.x,right:b.x+D,height:y,width:D}}static#e=this.\u0275fac=function(D){return new(D||C)(t.Y36(n.pI),t.Y36(l.kn))};static#t=this.\u0275dir=t.lG2({type:C,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:"nzArrowPointAtCenter"},exportAs:["nzConnectedOverlay"],features:[t._Bn([l.kn])]})}return(0,e.gn)([(0,h.yF)()],C.prototype,"nzArrowPointAtCenter",void 0),C})(),f=(()=>{class C{static#e=this.\u0275fac=function(D){return new(D||C)};static#t=this.\u0275mod=t.oAB({type:C});static#n=this.\u0275inj=t.cJS({})}return C})()},56879:(tt,I,o)=>{"use strict";o.d(I,{e:()=>l,h:()=>i});const e=["moz","ms","webkit"];function i(h){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(h);const E=e.filter(u=>`${u}CancelAnimationFrame`in window||`${u}CancelRequestAnimationFrame`in window)[0];return E?(window[`${E}CancelAnimationFrame`]||window[`${E}CancelRequestAnimationFrame`]).call(this,h):clearTimeout(h)}const l=function t(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const h=e.filter(E=>`${E}RequestAnimationFrame`in window)[0];return h?window[`${h}RequestAnimationFrame`]:function n(){let h=0;return function(E){const u=(new Date).getTime(),z=Math.max(0,16-(u-h)),M=setTimeout(()=>{E(u+z)},z);return h=u+z,M}}()}()},99087:(tt,I,o)=>{"use strict";o.d(I,{G_:()=>S,KV:()=>T,MF:()=>P,Ml:()=>D,WV:()=>A,kn:()=>W,r3:()=>R,rI:()=>f});var e=o(65879),n=o(78645),t=o(29028),i=o(64716),l=o(37398),h=o(32181),E=o(59773),u=o(27921),z=o(93997),M=o(71740),p=o(27754),v=o(96814),_=o(56879),d=o(71088);const m=()=>{};let f=(()=>{class ze{constructor(G,V){this.ngZone=G,this.rendererFactory2=V,this.resizeSource$=new n.x,this.listeners=0,this.disposeHandle=m,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=m}subscribe(){return this.registerListener(),this.resizeSource$.pipe((0,t.e)(16),(0,i.x)(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=m)}static#e=this.\u0275fac=function(V){return new(V||ze)(e.LFG(e.R0b),e.LFG(e.FYo))};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();const C=new Map;let T=(()=>{class ze{constructor(){this._singletonRegistry=new Map}get singletonRegistry(){return M.N.isTestMode?C:this._singletonRegistry}registerSingletonWithKey(G,V){const K=this.singletonRegistry.has(G),ee=K?this.singletonRegistry.get(G):this.withNewTarget(V);K||this.singletonRegistry.set(G,ee)}unregisterSingletonWithKey(G){this.singletonRegistry.has(G)&&this.singletonRegistry.delete(G)}getSingletonWithKey(G){return this.singletonRegistry.has(G)?this.singletonRegistry.get(G).target:null}withNewTarget(G){return{target:G}}static#e=this.\u0275fac=function(V){return new(V||ze)};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),D=(()=>{class ze{constructor(G){this.draggingThreshold=5,this.currentDraggingSequence=null,this.currentStartingPoint=null,this.handleRegistry=new Set,this.renderer=G.createRenderer(null,null)}requestDraggingSequence(G){return this.handleRegistry.size||this.registerDraggingHandler((0,p.z6)(G)),this.currentDraggingSequence&&this.currentDraggingSequence.complete(),this.currentStartingPoint=function b(ze){const Y=(0,p.wv)(ze);return{x:Y.pageX,y:Y.pageY}}(G),this.currentDraggingSequence=new n.x,this.currentDraggingSequence.pipe((0,l.U)(V=>({x:V.pageX-this.currentStartingPoint.x,y:V.pageY-this.currentStartingPoint.y})),(0,h.h)(V=>Math.abs(V.x)>this.draggingThreshold||Math.abs(V.y)>this.draggingThreshold),(0,i.x)(()=>this.teardownDraggingSequence()))}registerDraggingHandler(G){G?(this.handleRegistry.add({teardown:this.renderer.listen("document","touchmove",V=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(V.touches[0]||V.changedTouches[0])})}),this.handleRegistry.add({teardown:this.renderer.listen("document","touchend",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})})):(this.handleRegistry.add({teardown:this.renderer.listen("document","mousemove",V=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(V)})}),this.handleRegistry.add({teardown:this.renderer.listen("document","mouseup",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})}))}teardownDraggingSequence(){this.currentDraggingSequence=null}static#e=this.\u0275fac=function(V){return new(V||ze)(e.LFG(e.FYo))};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();function y(ze,Y,G,V){const K=G-Y;let ee=ze/(V/2);return ee<1?K/2*ee*ee*ee+Y:K/2*((ee-=2)*ee*ee+2)+Y}let P=(()=>{class ze{constructor(G,V){this.ngZone=G,this.doc=V}setScrollTop(G,V=0){G===window?(this.doc.body.scrollTop=V,this.doc.documentElement.scrollTop=V):G.scrollTop=V}getOffset(G){const V={top:0,left:0};if(!G||!G.getClientRects().length)return V;const K=G.getBoundingClientRect();if(K.width||K.height){const ee=G.ownerDocument.documentElement;V.top=K.top-ee.clientTop,V.left=K.left-ee.clientLeft}else V.top=K.top,V.left=K.left;return V}getScroll(G,V=!0){if(typeof window>"u")return 0;const K=V?"scrollTop":"scrollLeft";let ee=0;return this.isWindow(G)?ee=G[V?"pageYOffset":"pageXOffset"]:G instanceof Document?ee=G.documentElement[K]:G&&(ee=G[K]),G&&!this.isWindow(G)&&"number"!=typeof ee&&(ee=(G.ownerDocument||G).documentElement[K]),ee}isWindow(G){return null!=G&&G===G.window}scrollTo(G,V=0,K={}){const ee=G||window,te=this.getScroll(ee),pe=Date.now(),{easing:re,callback:De,duration:ae=450}=K,ce=()=>{const ne=Date.now()-pe,le=(re||y)(ne>ae?ae:ne,te,V,ae);this.isWindow(ee)?ee.scrollTo(window.pageXOffset,le):ee instanceof HTMLDocument||"HTMLDocument"===ee.constructor.name?ee.documentElement.scrollTop=le:ee.scrollTop=le,ne(0,_.e)(ce))}static#e=this.\u0275fac=function(V){return new(V||ze)(e.LFG(e.R0b),e.LFG(v.K0))};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();var S=function(ze){return ze.xxl="xxl",ze.xl="xl",ze.lg="lg",ze.md="md",ze.sm="sm",ze.xs="xs",ze}(S||{});const A={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};let R=(()=>{class ze{constructor(G,V){this.resizeService=G,this.mediaMatcher=V,this.destroy$=new n.x,this.resizeService.subscribe().pipe((0,E.R)(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(G,V){if(V){const K=()=>this.matchMedia(G,!0);return this.resizeService.subscribe().pipe((0,l.U)(K),(0,u.O)(K()),(0,z.x)((ee,te)=>ee[0]===te[0]),(0,l.U)(ee=>ee[1]))}{const K=()=>this.matchMedia(G);return this.resizeService.subscribe().pipe((0,l.U)(K),(0,u.O)(K()),(0,z.x)())}}matchMedia(G,V){let K=S.md;const ee={};return Object.keys(G).map(te=>{const pe=te,re=this.mediaMatcher.matchMedia(A[pe]).matches;ee[te]=re,re&&(K=pe)}),V?[K,ee]:K}static#e=this.\u0275fac=function(V){return new(V||ze)(e.LFG(f),e.LFG(d.vx))};static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),W=(()=>{class ze extends n.x{ngOnDestroy(){this.next(),this.complete()}static#e=this.\u0275fac=function(){let G;return function(K){return(G||(G=e.n5z(ze)))(K||ze)}}();static#t=this.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac})}return ze})()},3945:(tt,I,o)=>{"use strict";o.d(I,{Yp:()=>le,ky:()=>ne,_p:()=>X,Et:()=>ce,xR:()=>Ne});var e=o(97753),n=o(47680),t=o(96156),i=o(40581),l=o(62816),E=o(22040);var M=o(21083),p=o(68584),v=o(5227);function d(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,i.Z)(oe);return _e.getFullYear()===Q.getFullYear()}function m(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,i.Z)(oe);return _e.getFullYear()===Q.getFullYear()&&_e.getMonth()===Q.getMonth()}var f=o(79189);function C(ke,oe){(0,l.Z)(2,arguments);var _e=(0,f.Z)(ke),Q=(0,f.Z)(oe);return _e.getTime()===Q.getTime()}function T(ke){(0,l.Z)(1,arguments);var oe=(0,i.Z)(ke);return oe.setMinutes(0,0,0),oe}function b(ke,oe){(0,l.Z)(2,arguments);var _e=T(ke),Q=T(oe);return _e.getTime()===Q.getTime()}function D(ke){(0,l.Z)(1,arguments);var oe=(0,i.Z)(ke);return oe.setSeconds(0,0),oe}function y(ke,oe){(0,l.Z)(2,arguments);var _e=D(ke),Q=D(oe);return _e.getTime()===Q.getTime()}function P(ke){(0,l.Z)(1,arguments);var oe=(0,i.Z)(ke);return oe.setMilliseconds(0),oe}function S(ke,oe){(0,l.Z)(2,arguments);var _e=P(ke),Q=P(oe);return _e.getTime()===Q.getTime()}function A(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,i.Z)(oe);return _e.getFullYear()-Q.getFullYear()}var k=o(80275),R=o(61855),W=o(33865),j=o(96086),ze=o(588);function Y(ke,oe,_e){(0,l.Z)(2,arguments);var Q=(0,j.Z)(ke,oe)/W.vh;return(0,ze.u)(_e?.roundingMethod)(Q)}function G(ke,oe,_e){(0,l.Z)(2,arguments);var Q=(0,j.Z)(ke,oe)/W.yJ;return(0,ze.u)(_e?.roundingMethod)(Q)}var V=o(13061),ee=o(34338),pe=o(80787),re=o(1608),De=o(96814),ae=o(27754);function ce(ke){const[oe,_e]=ke;return!!oe&&!!_e&&_e.isBeforeDay(oe)}function X(ke,oe,_e="month",Q="left"){const[He,Re]=ke;let lt=He||new le,Pe=Re||(oe?lt:lt.add(1,_e));return He&&!Re?(lt=He,Pe=oe?He:He.add(1,_e)):!He&&Re?(lt=oe?Re:Re.add(-1,_e),Pe=Re):He&&Re&&!oe&&(He.isSame(Re,_e)||"left"===Q?Pe=lt.add(1,_e):lt=Pe.add(-1,_e)),[lt,Pe]}function ne(ke){return Array.isArray(ke)?ke.map(oe=>oe instanceof le?oe.clone():null):ke instanceof le?ke.clone():null}class le{constructor(oe){if(oe)if(oe instanceof Date)this.nativeDate=oe;else{if("string"!=typeof oe&&"number"!=typeof oe)throw new Error('The input date type is not supported ("Date" is now recommended)');(0,re.ZK)('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(oe)}else this.nativeDate=new Date}calendarStart(oe){return new le((0,e.Z)((0,n.Z)(this.nativeDate),oe))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new le(new Date(this.nativeDate))}setHms(oe,_e,Q){const He=new Date(this.nativeDate.setHours(oe,_e,Q));return new le(He)}setYear(oe){return new le(function h(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,t.Z)(oe);return isNaN(_e.getTime())?new Date(NaN):(_e.setFullYear(Q),_e)}(this.nativeDate,oe))}addYears(oe){return new le((0,E.Z)(this.nativeDate,oe))}setMonth(oe){return new le(function z(ke,oe){(0,l.Z)(2,arguments);var _e=(0,i.Z)(ke),Q=(0,t.Z)(oe),He=_e.getFullYear(),Re=_e.getDate(),lt=new Date(0);lt.setFullYear(He,Q,15),lt.setHours(0,0,0,0);var Pe=function u(ke){(0,l.Z)(1,arguments);var oe=(0,i.Z)(ke),_e=oe.getFullYear(),Q=oe.getMonth(),He=new Date(0);return He.setFullYear(_e,Q+1,0),He.setHours(0,0,0,0),He.getDate()}(lt);return _e.setMonth(Q,Math.min(Re,Pe)),_e}(this.nativeDate,oe))}addMonths(oe){return new le((0,M.Z)(this.nativeDate,oe))}setDay(oe,_e){return new le(function _(ke,oe,_e){var Q,He,Re,lt,Pe,xt,$e,ot;(0,l.Z)(2,arguments);var mt=(0,v.j)(),we=(0,t.Z)(null!==(Q=null!==(He=null!==(Re=null!==(lt=_e?.weekStartsOn)&&void 0!==lt?lt:null==_e||null===(Pe=_e.locale)||void 0===Pe||null===(xt=Pe.options)||void 0===xt?void 0:xt.weekStartsOn)&&void 0!==Re?Re:mt.weekStartsOn)&&void 0!==He?He:null===($e=mt.locale)||void 0===$e||null===(ot=$e.options)||void 0===ot?void 0:ot.weekStartsOn)&&void 0!==Q?Q:0);if(!(we>=0&&we<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var de=(0,i.Z)(ke),U=(0,t.Z)(oe),B=de.getDay(),Le=7-we;return(0,p.Z)(de,U<0||U>6?U-(B+Le)%7:((U%7+7)%7+Le)%7-(B+Le)%7)}(this.nativeDate,oe,_e))}setDate(oe){const _e=new Date(this.nativeDate);return _e.setDate(oe),new le(_e)}addDays(oe){return this.setDate(this.getDate()+oe)}add(oe,_e){switch(_e){case"decade":return this.addYears(10*oe);case"year":return this.addYears(oe);default:return this.addMonths(oe)}}isSame(oe,_e="day"){let Q;switch(_e){case"decade":Q=(He,Re)=>Math.abs(He.getFullYear()-Re.getFullYear())<11;break;case"year":Q=d;break;case"month":Q=m;break;case"day":default:Q=C;break;case"hour":Q=b;break;case"minute":Q=y;break;case"second":Q=S}return Q(this.nativeDate,this.toNativeDate(oe))}isSameYear(oe){return this.isSame(oe,"year")}isSameMonth(oe){return this.isSame(oe,"month")}isSameDay(oe){return this.isSame(oe,"day")}isSameHour(oe){return this.isSame(oe,"hour")}isSameMinute(oe){return this.isSame(oe,"minute")}isSameSecond(oe){return this.isSame(oe,"second")}isBefore(oe,_e="day"){if(null===oe)return!1;let Q;switch(_e){case"year":Q=A;break;case"month":Q=k.Z;break;case"day":default:Q=R.Z;break;case"hour":Q=Y;break;case"minute":Q=G;break;case"second":Q=V.Z}return Q(this.nativeDate,this.toNativeDate(oe))<0}isBeforeYear(oe){return this.isBefore(oe,"year")}isBeforeMonth(oe){return this.isBefore(oe,"month")}isBeforeDay(oe){return this.isBefore(oe,"day")}isToday(){return function K(ke){return(0,l.Z)(1,arguments),C(ke,Date.now())}(this.nativeDate)}isValid(){return(0,ee.Z)(this.nativeDate)}isFirstDayOfMonth(){return function te(ke){return(0,l.Z)(1,arguments),1===(0,i.Z)(ke).getDate()}(this.nativeDate)}isLastDayOfMonth(){return(0,pe.Z)(this.nativeDate)}toNativeDate(oe){return oe instanceof le?oe.nativeDate:oe}}class Ne{constructor(oe,_e){this.format=oe,this.localeId=_e,this.regex=null,this.matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null},this.genRegexp()}toDate(oe){const _e=this.getTimeResult(oe),Q=new Date;return(0,ae.DX)(_e?.hour)&&Q.setHours(_e.hour),(0,ae.DX)(_e?.minute)&&Q.setMinutes(_e.minute),(0,ae.DX)(_e?.second)&&Q.setSeconds(_e.second),1===_e?.period&&Q.getHours()<12&&Q.setHours(Q.getHours()+12),Q}getTimeResult(oe){const _e=this.regex.exec(oe);let Q=null;return _e?((0,ae.DX)(this.matchMap.periodNarrow)&&(Q=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Narrow).indexOf(_e[this.matchMap.periodNarrow+1])),(0,ae.DX)(this.matchMap.periodWide)&&(Q=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Wide).indexOf(_e[this.matchMap.periodWide+1])),(0,ae.DX)(this.matchMap.periodAbbreviated)&&(Q=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Abbreviated).indexOf(_e[this.matchMap.periodAbbreviated+1])),{hour:(0,ae.DX)(this.matchMap.hour)?Number.parseInt(_e[this.matchMap.hour+1],10):null,minute:(0,ae.DX)(this.matchMap.minute)?Number.parseInt(_e[this.matchMap.minute+1],10):null,second:(0,ae.DX)(this.matchMap.second)?Number.parseInt(_e[this.matchMap.second+1],10):null,period:Q}):null}genRegexp(){let oe=this.format.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&");const _e=/h{1,2}/i,Q=/m{1,2}/,He=/s{1,2}/,Re=/aaaaa/,lt=/aaaa/,Pe=/a{1,3}/,xt=_e.exec(this.format),$e=Q.exec(this.format),ot=He.exec(this.format),mt=Re.exec(this.format);let we=null,de=null;mt||(we=lt.exec(this.format)),!we&&!mt&&(de=Pe.exec(this.format)),[xt,$e,ot,mt,we,de].filter(B=>!!B).sort((B,Me)=>B.index-Me.index).forEach((B,Me)=>{switch(B){case xt:this.matchMap.hour=Me,oe=oe.replace(_e,"(\\d{1,2})");break;case $e:this.matchMap.minute=Me,oe=oe.replace(Q,"(\\d{1,2})");break;case ot:this.matchMap.second=Me,oe=oe.replace(He,"(\\d{1,2})");break;case mt:this.matchMap.periodNarrow=Me;const Ae=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Narrow).join("|");oe=oe.replace(Re,`(${Ae})`);break;case we:this.matchMap.periodWide=Me;const Le=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Wide).join("|");oe=oe.replace(lt,`(${Le})`);break;case de:this.matchMap.periodAbbreviated=Me;const ht=(0,De.ol)(this.localeId,De.x.Format,De.Tn.Abbreviated).join("|");oe=oe.replace(Pe,`(${ht})`)}}),this.regex=new RegExp(oe)}}},70855:(tt,I,o)=>{"use strict";o.d(I,{a:()=>i,w:()=>t});var e=o(62831),n=o(65879);let t=(()=>{class l{setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(E,u){this.elementRef=E,this.renderer=u,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}static#e=this.\u0275fac=function(u){return new(u||l)(n.Y36(n.SBq),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:l,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[n.TTD]})}return l})(),i=(()=>{class l{static#e=this.\u0275fac=function(u){return new(u||l)};static#t=this.\u0275mod=n.oAB({type:l});static#n=this.\u0275inj=n.cJS({imports:[e.ud]})}return l})()},94197:(tt,I,o)=>{"use strict";o.d(I,{Zr:()=>t,fP:()=>p,g2:()=>M,kW:()=>z,oH:()=>u});var e=o(65879),n=o(65619);class t{get treeService(){return this.service||this.parentNode&&this.parentNode.treeService}constructor(_,d=null,m=null){if(this._title="",this.level=0,this.parentNode=null,this._icon="",this._children=[],this._isLeaf=!1,this._isChecked=!1,this._isSelectable=!1,this._isDisabled=!1,this._isDisableCheckbox=!1,this._isExpanded=!1,this._isHalfChecked=!1,this._isSelected=!1,this._isLoading=!1,this.canHide=!1,this.isMatched=!1,this.service=null,_ instanceof t)return _;this.service=m||null,this.origin=_,this.key=_.key,this.parentNode=d,this._title=_.title||"---",this._icon=_.icon||"",this._isLeaf=_.isLeaf||!1,this._children=[],this._isChecked=_.checked||!1,this._isSelectable=_.disabled||!1!==_.selectable,this._isDisabled=_.disabled||!1,this._isDisableCheckbox=_.disableCheckbox||!1,this._isExpanded=!_.isLeaf&&(_.expanded||!1),this._isHalfChecked=!1,this._isSelected=!_.disabled&&_.selected||!1,this._isLoading=!1,this.isMatched=!1,this.level=d?d.level+1:0,typeof _.children<"u"&&null!==_.children&&_.children.forEach(f=>{const C=this.treeService;C&&!C.isCheckStrictly&&_.checked&&!_.disabled&&!f.disabled&&!f.disableCheckbox&&(f.checked=_.checked),this._children.push(new t(f,this))})}get title(){return this._title}set title(_){this._title=_,this.update()}get icon(){return this._icon}set icon(_){this._icon=_,this.update()}get children(){return this._children}set children(_){this._children=_,this.update()}get isLeaf(){return this._isLeaf}set isLeaf(_){this._isLeaf=_,this.update()}get isChecked(){return this._isChecked}set isChecked(_){this._isChecked=_,this.origin.checked=_,this.afterValueChange("isChecked")}get isHalfChecked(){return this._isHalfChecked}set isHalfChecked(_){this._isHalfChecked=_,this.afterValueChange("isHalfChecked")}get isSelectable(){return this._isSelectable}set isSelectable(_){this._isSelectable=_,this.update()}get isDisabled(){return this._isDisabled}set isDisabled(_){this._isDisabled=_,this.update()}get isDisableCheckbox(){return this._isDisableCheckbox}set isDisableCheckbox(_){this._isDisableCheckbox=_,this.update()}get isExpanded(){return this._isExpanded}set isExpanded(_){this._isExpanded=_,this.origin.expanded=_,this.afterValueChange("isExpanded"),this.afterValueChange("reRender")}get isSelected(){return this._isSelected}set isSelected(_){this._isSelected=_,this.origin.selected=_,this.afterValueChange("isSelected")}get isLoading(){return this._isLoading}set isLoading(_){this._isLoading=_,this.update()}setSyncChecked(_=!1,d=!1){this.setChecked(_,d),this.treeService&&!this.treeService.isCheckStrictly&&this.treeService.conduct(this)}setChecked(_=!1,d=!1){this.origin.checked=_,this.isChecked=_,this.isHalfChecked=d}setExpanded(_){this._isExpanded=_,this.origin.expanded=_,this.afterValueChange("isExpanded")}getParentNode(){return this.parentNode}getChildren(){return this.children}addChildren(_,d=-1){this.isLeaf||(_.forEach(m=>{const f=T=>{T.getChildren().forEach(b=>{b.level=b.getParentNode().level+1,b.origin.level=b.level,f(b)})};let C=m;C instanceof t?C.parentNode=this:C=new t(m,this),C.level=this.level+1,C.origin.level=C.level,f(C);try{-1===d?this.children.push(C):this.children.splice(d,0,C)}catch{}}),this.origin.children=this.getChildren().map(m=>m.origin),this.isLoading=!1),this.afterValueChange("addChildren"),this.afterValueChange("reRender")}clearChildren(){this.afterValueChange("clearChildren"),this.children=[],this.origin.children=[],this.afterValueChange("reRender")}remove(){const _=this.getParentNode();_&&(_.children=_.getChildren().filter(d=>d.key!==this.key),_.origin.children=_.origin.children.filter(d=>d.key!==this.key),this.afterValueChange("remove"),this.afterValueChange("reRender"))}afterValueChange(_){if(this.treeService)switch(_){case"isChecked":this.treeService.setCheckedNodeList(this);break;case"isHalfChecked":this.treeService.setHalfCheckedNodeList(this);break;case"isExpanded":this.treeService.setExpandedNodeList(this);break;case"isSelected":this.treeService.setNodeActive(this);break;case"clearChildren":this.treeService.afterRemove(this.getChildren());break;case"remove":this.treeService.afterRemove([this]);break;case"reRender":this.treeService.flattenTreeData(this.treeService.rootNodes,this.treeService.getExpandedNodeList().map(d=>d.key))}this.update()}update(){this.component&&this.component.markForCheck()}}function i(v){const{isDisabled:_,isDisableCheckbox:d}=v;return!(!_&&!d)}function l(v,_){return _.length>0&&_.indexOf(v)>-1}function u(v=[],_=[]){const d=new Set(!0===_?[]:_),m=[];return function f(C,T=null){return C.map((b,D)=>{const y=function h(v,_){return`${v}-${_}`}(T?T.pos:"0",D),P=function E(v,_){return v??_}(b.key,y);b.isStart=[...T?T.isStart:[],0===D],b.isEnd=[...T?T.isEnd:[],D===C.length-1];const S={parent:T,pos:y,children:[],data:b,isStart:[...T?T.isStart:[],0===D],isEnd:[...T?T.isEnd:[],D===C.length-1]};return m.push(S),S.children=!0===_||d.has(P)||b.isExpanded?f(b.children||[],S):[],S})}(v),m}let z=(()=>{class v{constructor(){this.DRAG_SIDE_RANGE=.25,this.DRAG_MIN_GAP=2,this.isCheckStrictly=!1,this.isMultiple=!1,this.rootNodes=[],this.flattenNodes$=new n.X([]),this.selectedNodeList=[],this.expandedNodeList=[],this.checkedNodeList=[],this.halfCheckedNodeList=[],this.matchedNodeList=[]}initTree(d){this.rootNodes=d,this.expandedNodeList=[],this.selectedNodeList=[],this.halfCheckedNodeList=[],this.checkedNodeList=[],this.matchedNodeList=[]}flattenTreeData(d,m=[]){this.flattenNodes$.next(u(d,m).map(f=>f.data))}getSelectedNode(){return this.selectedNode}getSelectedNodeList(){return this.conductNodeState("select")}getCheckedNodeList(){return this.conductNodeState("check")}getHalfCheckedNodeList(){return this.conductNodeState("halfCheck")}getExpandedNodeList(){return this.conductNodeState("expand")}getMatchedNodeList(){return this.conductNodeState("match")}isArrayOfNzTreeNode(d){return d.every(m=>m instanceof t)}setSelectedNode(d){this.selectedNode=d}setNodeActive(d){!this.isMultiple&&d.isSelected&&(this.selectedNodeList.forEach(m=>{d.key!==m.key&&(m.isSelected=!1)}),this.selectedNodeList=[]),this.setSelectedNodeList(d,this.isMultiple)}setSelectedNodeList(d,m=!1){const f=this.getIndexOfArray(this.selectedNodeList,d.key);m?d.isSelected&&-1===f&&this.selectedNodeList.push(d):d.isSelected&&-1===f&&(this.selectedNodeList=[d]),d.isSelected||(this.selectedNodeList=this.selectedNodeList.filter(C=>C.key!==d.key))}setHalfCheckedNodeList(d){const m=this.getIndexOfArray(this.halfCheckedNodeList,d.key);d.isHalfChecked&&-1===m?this.halfCheckedNodeList.push(d):!d.isHalfChecked&&m>-1&&(this.halfCheckedNodeList=this.halfCheckedNodeList.filter(f=>d.key!==f.key))}setCheckedNodeList(d){const m=this.getIndexOfArray(this.checkedNodeList,d.key);d.isChecked&&-1===m?this.checkedNodeList.push(d):!d.isChecked&&m>-1&&(this.checkedNodeList=this.checkedNodeList.filter(f=>d.key!==f.key))}conductNodeState(d="check"){let m=[];switch(d){case"select":m=this.selectedNodeList;break;case"expand":m=this.expandedNodeList;break;case"match":m=this.matchedNodeList;break;case"check":m=this.checkedNodeList;const f=C=>{const T=C.getParentNode();return!!T&&(this.checkedNodeList.findIndex(b=>b.key===T.key)>-1||f(T))};this.isCheckStrictly||(m=this.checkedNodeList.filter(C=>!f(C)));break;case"halfCheck":this.isCheckStrictly||(m=this.halfCheckedNodeList)}return m}setExpandedNodeList(d){if(d.isLeaf)return;const m=this.getIndexOfArray(this.expandedNodeList,d.key);d.isExpanded&&-1===m?this.expandedNodeList.push(d):!d.isExpanded&&m>-1&&this.expandedNodeList.splice(m,1)}setMatchedNodeList(d){const m=this.getIndexOfArray(this.matchedNodeList,d.key);d.isMatched&&-1===m?this.matchedNodeList.push(d):!d.isMatched&&m>-1&&this.matchedNodeList.splice(m,1)}refreshCheckState(d=!1){d||this.checkedNodeList.forEach(m=>{this.conduct(m,d)})}conduct(d,m=!1){const f=d.isChecked;d&&!m&&(this.conductUp(d),this.conductDown(d,f))}conductUp(d){const m=d.getParentNode();m&&(i(m)||(m.children.every(f=>i(f)||!f.isHalfChecked&&f.isChecked)?(m.isChecked=!0,m.isHalfChecked=!1):m.children.some(f=>f.isHalfChecked||f.isChecked)?(m.isChecked=!1,m.isHalfChecked=!0):(m.isChecked=!1,m.isHalfChecked=!1)),this.setCheckedNodeList(m),this.setHalfCheckedNodeList(m),this.conductUp(m))}conductDown(d,m){i(d)||(d.isChecked=m,d.isHalfChecked=!1,this.setCheckedNodeList(d),this.setHalfCheckedNodeList(d),d.children.forEach(f=>{this.conductDown(f,m)}))}afterRemove(d){const m=f=>{this.selectedNodeList=this.selectedNodeList.filter(C=>C.key!==f.key),this.expandedNodeList=this.expandedNodeList.filter(C=>C.key!==f.key),this.checkedNodeList=this.checkedNodeList.filter(C=>C.key!==f.key),f.children&&f.children.forEach(C=>{m(C)})};d.forEach(f=>{m(f)}),this.refreshCheckState(this.isCheckStrictly)}refreshDragNode(d){0===d.children.length?this.conductUp(d):d.children.forEach(m=>{this.refreshDragNode(m)})}resetNodeLevel(d){const m=d.getParentNode();d.level=m?m.level+1:0;for(const f of d.children)this.resetNodeLevel(f)}calcDropPosition(d){const{clientY:m}=d,{top:f,bottom:C,height:T}=d.target.getBoundingClientRect(),b=Math.max(T*this.DRAG_SIDE_RANGE,this.DRAG_MIN_GAP);return m<=f+b?-1:m>=C-b?1:0}dropAndApply(d,m=-1){if(!d||m>1)return;const f=d.treeService,C=d.getParentNode(),T=this.selectedNode.getParentNode();switch(T?T.children=T.children.filter(b=>b.key!==this.selectedNode.key):this.rootNodes=this.rootNodes.filter(b=>b.key!==this.selectedNode.key),m){case 0:d.addChildren([this.selectedNode]),this.resetNodeLevel(d);break;case-1:case 1:const b=1===m?1:0;if(C){C.addChildren([this.selectedNode],C.children.indexOf(d)+b);const D=this.selectedNode.getParentNode();D&&this.resetNodeLevel(D)}else{const D=this.rootNodes.indexOf(d)+b;this.rootNodes.splice(D,0,this.selectedNode),this.rootNodes[D].parentNode=null,this.resetNodeLevel(this.rootNodes[D])}}this.rootNodes.forEach(b=>{b.treeService||(b.service=f),this.refreshDragNode(b)})}formatEvent(d,m,f){const C={eventName:d,node:m,event:f};switch(d){case"dragstart":case"dragenter":case"dragover":case"dragleave":case"drop":case"dragend":Object.assign(C,{dragNode:this.getSelectedNode()});break;case"click":case"dblclick":Object.assign(C,{selectedKeys:this.selectedNodeList}),Object.assign(C,{nodes:this.selectedNodeList}),Object.assign(C,{keys:this.selectedNodeList.map(b=>b.key)});break;case"check":const T=this.getCheckedNodeList();Object.assign(C,{checkedKeys:T}),Object.assign(C,{nodes:T}),Object.assign(C,{keys:T.map(b=>b.key)});break;case"search":Object.assign(C,{matchedKeys:this.getMatchedNodeList()}),Object.assign(C,{nodes:this.getMatchedNodeList()}),Object.assign(C,{keys:this.getMatchedNodeList().map(b=>b.key)});break;case"expand":Object.assign(C,{nodes:this.expandedNodeList}),Object.assign(C,{keys:this.expandedNodeList.map(b=>b.key)})}return C}getIndexOfArray(d,m){return d.findIndex(f=>f.key===m)}conductCheck(d,m){this.checkedNodeList=[],this.halfCheckedNodeList=[];const f=C=>{C.forEach(T=>{null===d?T.isChecked=!!T.origin.checked:l(T.key,d||[])?(T.isChecked=!0,T.isHalfChecked=!1):(T.isChecked=!1,T.isHalfChecked=!1),T.children.length>0&&f(T.children)})};f(this.rootNodes),this.refreshCheckState(m)}conductExpandedKeys(d=[]){const m=new Set(!0===d?[]:d);this.expandedNodeList=[];const f=C=>{C.forEach(T=>{T.setExpanded(!0===d||m.has(T.key)||!0===T.isExpanded),T.isExpanded&&this.setExpandedNodeList(T),T.children.length>0&&f(T.children)})};f(this.rootNodes)}conductSelectedKeys(d,m){this.selectedNodeList.forEach(C=>C.isSelected=!1),this.selectedNodeList=[];const f=C=>C.every(T=>{if(l(T.key,d)){if(T.isSelected=!0,this.setSelectedNodeList(T),!m)return!1}else T.isSelected=!1;return!(T.children.length>0)||f(T.children)});f(this.rootNodes)}expandNodeAllParentBySearch(d){const m=f=>{if(f&&(f.canHide=!1,f.setExpanded(!0),this.setExpandedNodeList(f),f.getParentNode()))return m(f.getParentNode())};m(d.getParentNode())}static#e=this.\u0275fac=function(m){return new(m||v)};static#t=this.\u0275prov=e.Yz7({token:v,factory:v.\u0275fac})}return v})();const M=new e.OlP("NzTreeHigherOrder");class p{constructor(_){this.nzTreeService=_}coerceTreeNodes(_){let d=[];return d=this.nzTreeService.isArrayOfNzTreeNode(_)?_.map(m=>(m.service=this.nzTreeService,m)):_.map(m=>new t(m,null,this.nzTreeService)),d}getTreeNodes(){return this.nzTreeService.rootNodes}getTreeNodeByKey(_){const d=[],m=f=>{d.push(f),f.getChildren().forEach(C=>{m(C)})};return this.getTreeNodes().forEach(f=>{m(f)}),d.find(f=>f.key===_)||null}getCheckedNodeList(){return this.nzTreeService.getCheckedNodeList()}getSelectedNodeList(){return this.nzTreeService.getSelectedNodeList()}getHalfCheckedNodeList(){return this.nzTreeService.getHalfCheckedNodeList()}getExpandedNodeList(){return this.nzTreeService.getExpandedNodeList()}getMatchedNodeList(){return this.nzTreeService.getMatchedNodeList()}}},27754:(tt,I,o)=>{"use strict";o.d(I,{D8:()=>U,DX:()=>M,GM:()=>oe,HH:()=>_,He:()=>f,J8:()=>Le,Ly:()=>Se,OY:()=>K,Rn:()=>P,Sm:()=>De,WX:()=>C,YM:()=>re,Zu:()=>ft,cO:()=>u,de:()=>d,hq:()=>cn,jJ:()=>S,kK:()=>p,lN:()=>Ae,p8:()=>ee,pW:()=>A,qR:()=>j,qo:()=>E,rw:()=>T,sw:()=>m,tI:()=>V,te:()=>B,ui:()=>pe,wU:()=>v,wv:()=>R,xV:()=>te,yF:()=>D,z6:()=>k,zT:()=>ae});var e=o(65879),n=o(42495),t=o(1608),i=o(2664),l=o(7715),h=o(22096);function E(gt){let Ie;return Ie=null==gt?[]:Array.isArray(gt)?gt:[gt],Ie}function u(gt,Ie){if(!gt||!Ie||gt.length!==Ie.length)return!1;const Ct=gt.length;for(let Nt=0;Nt"u"||null===gt}function v(gt,Ie){if(gt===Ie)return!0;if("object"!=typeof gt||!gt||"object"!=typeof Ie||!Ie)return!1;const Ct=Object.keys(gt),Nt=Object.keys(Ie);if(Ct.length!==Nt.length)return!1;const kt=Object.prototype.hasOwnProperty.bind(Ie);for(let St=0;Stf(Ie,gt))}function S(gt){gt.stopPropagation(),gt.preventDefault()}function A(gt){if(!gt.getClientRects().length)return{top:0,left:0};const Ie=gt.getBoundingClientRect(),Ct=gt.ownerDocument.defaultView;return{top:Ie.top+Ct.pageYOffset,left:Ie.left+Ct.pageXOffset}}function k(gt){return gt.type.startsWith("touch")}function R(gt){return k(gt)?gt.touches[0]||gt.changedTouches[0]:gt}function j(gt,Ie="@"){if("string"!=typeof gt)return[];const Ct=function W(gt){const Ie=Array.isArray(gt)?gt:[gt];let Ct=Ie.join("").replace(/(\$|\^)/g,"\\$1");return Ie.length>1&&(Ct=`[${Ct}]`),new RegExp(`(\\s|^)(${Ct})[^\\s]*`,"g")}(Ie),Nt=gt.match(Ct);return null!==Nt?Nt.map(kt=>kt.trim()):[]}function V(gt){return!!gt&&"function"==typeof gt.then&&"function"==typeof gt.catch}function K(gt,Ie,Ct){return(Ct-gt)/(Ie-gt)*100}function ee(gt){const Ie=gt.toString(),Ct=Ie.indexOf(".");return Ct>=0?Ie.length-Ct-1:0}function te(gt,Ie,Ct){return isNaN(gt)||gtCt?Ct:gt}function pe(gt){return"number"==typeof gt&&isFinite(gt)}function re(gt,Ie){return Math.round(gt*Math.pow(10,Ie))/Math.pow(10,Ie)}function De(gt,Ie=0){return gt.reduce((Ct,Nt)=>Ct+Nt,Ie)}function ae(gt){gt.scrollIntoViewIfNeeded?gt.scrollIntoViewIfNeeded(!1):gt.scrollIntoView&>.scrollIntoView(!1)}const ce=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],X=typeof window<"u",ne=X&&null!=window.mozInnerScreenX,le=gt=>parseInt(gt,10);function Se(gt,Ie,Ct){if(!X)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");const Nt=Ct&&Ct.debug||!1;if(Nt){const ge=document.querySelector("#input-textarea-caret-position-mirror-div");ge&&ge.parentNode.removeChild(ge)}const kt=document.createElement("div");kt.id="input-textarea-caret-position-mirror-div",document.body.appendChild(kt);const St=kt.style,qe=window.getComputedStyle?window.getComputedStyle(gt):gt.currentStyle,Fe="INPUT"===gt.nodeName;St.whiteSpace="pre-wrap",Fe||(St.wordWrap="break-word"),St.position="absolute",Nt||(St.visibility="hidden"),ce.forEach(ge=>{Fe&&"lineHeight"===ge?St.lineHeight=qe.height:St[ge]=qe[ge]}),ne?gt.scrollHeight>le(qe.height)&&(St.overflowY="scroll"):St.overflow="hidden",kt.textContent=gt.value.substring(0,Ie),Fe&&(kt.textContent=kt.textContent.replace(/\s/g,"\xa0"));const fe=document.createElement("span");fe.textContent=gt.value.substring(Ie)||".",kt.appendChild(fe);const Xe={top:fe.offsetTop+le(qe.borderTopWidth),left:fe.offsetLeft+le(qe.borderLeftWidth),height:le(qe.lineHeight)};return Nt?(fe.style.backgroundColor="#eee",function Ne(gt,Ie){const Ct=getComputedStyle(gt).getPropertyValue("font-size"),Nt=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(Nt),Nt.id="DEBUG",Nt.style.position="absolute",Nt.style.backgroundColor="red",Nt.style.height=Ct,Nt.style.width="1px",Nt.style.top=`${gt.getBoundingClientRect().top-gt.scrollTop+window.pageYOffset+Ie.top}px`,Nt.style.left=`${gt.getBoundingClientRect().left-gt.scrollLeft+window.pageXOffset+Ie.left}px`}(gt,Xe)):document.body.removeChild(kt),Xe}function oe(gt){return gt?Object.keys(gt).map(Ie=>{const Ct=gt[Ie];return`${Ie}:${"string"==typeof Ct?Ct:`${Ct}px`}`}).join(";"):""}let mt,we;const de={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function U(gt="vertical",Ie="ant"){if(typeof document>"u"||typeof window>"u")return 0;const Ct="vertical"===gt;if(Ct&&mt)return mt;if(!Ct&&we)return we;const Nt=document.createElement("div");Object.keys(de).forEach(St=>{Nt.style[St]=de[St]}),Nt.className=`${Ie}-hide-scrollbar scroll-div-append-to-body`,Ct?Nt.style.overflowY="scroll":Nt.style.overflowX="scroll",document.body.appendChild(Nt);let kt=0;return Ct?(kt=Nt.offsetWidth-Nt.clientWidth,mt=kt):(kt=Nt.offsetHeight-Nt.clientHeight,we=kt),document.body.removeChild(Nt),kt}function B(gt,Ie){return gt&>"STYLE"===Nt.tagName&&Nt.getAttribute(Ot(Ie))===gt)}(Ie,Ct);if(kt)return Ct.cspNonce&&kt.nonce!==Ct.cspNonce&&(kt.nonce=Ct.cspNonce),kt.innerHTML!==gt&&(kt.innerHTML=gt),kt;const St=Wt(gt,Ct);return St?.setAttribute(Ot(Ct),Ie),St}function ft(gt,Ie,Ct){return{[`${gt}-status-success`]:"success"===Ie,[`${gt}-status-warning`]:"warning"===Ie,[`${gt}-status-error`]:"error"===Ie,[`${gt}-status-validating`]:"validating"===Ie,[`${gt}-has-feedback`]:Ct}}},41958:(tt,I,o)=>{"use strict";o.d(I,{dQ:()=>E,vG:()=>u});var e=o(62831),n=o(65879);class t{get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(M,p,v,_,d){this.triggerElement=M,this.ngZone=p,this.insertExtraNode=v,this.platformId=_,this.cspNonce=d,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=m=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===m.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new e.t4(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const M=this.triggerElement,p=this.getWaveColor(M);M.setAttribute(this.waveAttributeName,"true"),!(Date.now(){M.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(M){return!!M&&"#ffffff"!==M&&"rgb(255, 255, 255)"!==M&&this.isNotGrey(M)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(M)&&"transparent"!==M}isNotGrey(M){const p=M.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(p&&p[1]&&p[2]&&p[3]&&p[1]===p[2]&&p[2]===p[3])}getWaveColor(M){const p=getComputedStyle(M);return p.getPropertyValue("border-top-color")||p.getPropertyValue("border-color")||p.getPropertyValue("background-color")}runTimeoutOutsideZone(M,p){this.ngZone.runOutsideAngular(()=>setTimeout(M,p))}}const i={disabled:!1},l=new n.OlP("nz-wave-global-options");function h(z){return(0,n.MR2)([{provide:l,useValue:z}])}let E=(()=>{class z{get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}constructor(p,v,_,d,m,f){this.ngZone=p,this.elementRef=v,this.config=_,this.animationType=d,this.platformId=m,this.cspNonce=f,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let p=!1;return this.config&&"boolean"==typeof this.config.disabled&&(p=this.config.disabled),"NoopAnimations"===this.animationType&&(p=!0),p}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new t(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}static#e=this.\u0275fac=function(v){return new(v||z)(n.Y36(n.R0b),n.Y36(n.SBq),n.Y36(l,8),n.Y36(n.QbO,8),n.Y36(n.Lbi),n.Y36(n.Ojb,8))};static#t=this.\u0275dir=n.lG2({type:z,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return z})(),u=(()=>{class z{static#e=this.\u0275fac=function(v){return new(v||z)};static#t=this.\u0275mod=n.oAB({type:z});static#n=this.\u0275inj=n.cJS({providers:[h(i)],imports:[e.ud]})}return z})()},52682:(tt,I,o)=>{"use strict";o.d(I,{Hb:()=>io,Mq:()=>ss,Xv:()=>xo,mr:()=>Ci,uw:()=>Si,wS:()=>Ui});var e=o(49388),n=o(33651),t=o(96814),i=o(65879),l=o(60095),h=o(42840),E=o(50883),u=o(331),z=o(8324),M=o(85448),p=o(90551),v=o(60047),_=o(3945),d=o(27754),m=o(12131),f=o(70855),C=o(41958),T=o(97582),b=o(36028),D=o(97328),y=o(78645),P=o(63019),S=o(92438),A=o(22096),k=o(59773),R=o(93997),W=o(42460),j=o(37398),ze=o(64194),Y=o(83064),G=o(99087),V=o(28802),K=o(62831);function ee(it,Qt){1&it&&i.GkF(0)}function te(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,ee,1,0,"ng-container",4),i.BQk()),2&it){const Z=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",Z.extraFooter)}}function pe(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",5),i.BQk()),2&it){const Z=i.oxw(2);i.xp6(1),i.Q6J("innerHTML",Z.extraFooter,i.oJD)}}function re(it,Qt){if(1&it&&(i.TgZ(0,"div"),i.ynx(1,2),i.YNc(2,te,2,1,"ng-container",3),i.YNc(3,pe,2,1,"ng-container",3),i.BQk(),i.qZA()),2&it){const Z=i.oxw();i.Gre("",Z.prefixCls,"-footer-extra"),i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",Z.isTemplateRef(Z.extraFooter)),i.xp6(1),i.Q6J("ngSwitchCase",Z.isNonEmptyString(Z.extraFooter))}}function De(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"a",6),i.NdJ("click",function(){i.CHM(Z);const _t=i.oxw();return i.KtG(_t.isTodayDisabled?null:_t.onClickToday())}),i._uU(1),i.qZA()}if(2&it){const Z=i.oxw();i.MT6("",Z.prefixCls,"-today-btn ",Z.isTodayDisabled?Z.prefixCls+"-today-btn-disabled":"",""),i.s9C("title",Z.todayTitle),i.xp6(1),i.hij(" ",Z.locale.today," ")}}function ae(it,Qt){1&it&&i.GkF(0)}function ce(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"li")(1,"a",7),i.NdJ("click",function(){i.CHM(Z);const _t=i.oxw(2);return i.KtG(_t.isTodayDisabled?null:_t.onClickToday())}),i._uU(2),i.qZA()()}if(2&it){const Z=i.oxw(2);i.Gre("",Z.prefixCls,"-now"),i.xp6(1),i.Gre("",Z.prefixCls,"-now-btn"),i.xp6(1),i.hij(" ",Z.locale.now," ")}}function X(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"li")(1,"button",8),i.NdJ("click",function(){i.CHM(Z);const _t=i.oxw(2);return i.KtG(_t.okDisabled?null:_t.clickOk.emit())}),i._uU(2),i.qZA()()}if(2&it){const Z=i.oxw(2);i.Gre("",Z.prefixCls,"-ok"),i.xp6(1),i.Q6J("disabled",Z.okDisabled),i.xp6(1),i.hij(" ",Z.locale.ok," ")}}function ne(it,Qt){if(1&it&&(i.TgZ(0,"ul"),i.YNc(1,ae,1,0,"ng-container",4),i.YNc(2,ce,3,7,"li",0),i.YNc(3,X,3,5,"li",0),i.qZA()),2&it){const Z=i.oxw();i.Gre("",Z.prefixCls,"-ranges"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.rangeQuickSelector),i.xp6(1),i.Q6J("ngIf",Z.showNow),i.xp6(1),i.Q6J("ngIf",Z.hasTimePicker)}}function le(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"button",6),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onClick())}),i._uU(2),i.qZA(),i.BQk()}if(2&it){const Z=Qt.$implicit;i.xp6(1),i.Tol(Z.className),i.s9C("title",Z.title||null),i.xp6(1),i.hij(" ",Z.label," ")}}function Se(it,Qt){1&it&&i._UZ(0,"th",6)}function Ne(it,Qt){if(1&it&&(i.TgZ(0,"th",7),i._uU(1),i.qZA()),2&it){const Z=Qt.$implicit;i.s9C("title",Z.title),i.xp6(1),i.hij(" ",Z.content," ")}}function ke(it,Qt){if(1&it&&(i.TgZ(0,"thead")(1,"tr",3),i.YNc(2,Se,1,0,"th",4),i.YNc(3,Ne,2,2,"th",5),i.qZA()()),2&it){const Z=i.oxw();i.xp6(2),i.Q6J("ngIf",Z.showWeek),i.xp6(1),i.Q6J("ngForOf",Z.headRow)}}function oe(it,Qt){if(1&it&&(i.TgZ(0,"td",11),i._uU(1),i.qZA()),2&it){const Z=i.oxw().$implicit,dt=i.oxw();i.Gre("",dt.prefixCls,"-cell-week"),i.xp6(1),i.hij(" ",Z.weekNum," ")}}function _e(it,Qt){1&it&&i.GkF(0)}const Q=function(it){return{$implicit:it}};function He(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,_e,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function Re(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("innerHTML",Z.cellRender,i.oJD)}}function lt(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._uU(2),i.qZA(),i.BQk()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.xp6(1),i.Gre("",dt.prefixCls,"-cell-inner"),i.uIk("aria-selected",Z.isSelected)("aria-disabled",Z.isDisabled),i.xp6(1),i.hij(" ",Z.content," ")}}function Pe(it,Qt){if(1&it&&(i.ynx(0)(1,13),i.YNc(2,He,2,4,"ng-container",14),i.YNc(3,Re,2,1,"ng-container",14),i.YNc(4,lt,3,6,"ng-container",15),i.BQk()()),2&it){const Z=i.oxw().$implicit,dt=i.oxw(2);i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",dt.isTemplateRef(Z.cellRender)),i.xp6(1),i.Q6J("ngSwitchCase",dt.isNonEmptyString(Z.cellRender))}}function xt(it,Qt){1&it&&i.GkF(0)}function $e(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,xt,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.fullCellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function ot(it,Qt){1&it&&i.GkF(0)}function mt(it,Qt){if(1&it&&(i.TgZ(0,"div"),i._uU(1),i.qZA(),i.TgZ(2,"div"),i.YNc(3,ot,1,0,"ng-container",16),i.qZA()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-date-value"),i.xp6(1),i.Oqu(Z.content),i.xp6(1),i.Gre("",dt.prefixCls,"-date-content"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(9,Q,Z.value))}}function we(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,$e,2,4,"ng-container",18),i.YNc(3,mt,4,11,"ng-template",null,19,i.W1O),i.qZA(),i.BQk()),2&it){const Z=i.MAs(4),dt=i.oxw().$implicit,_t=i.oxw(2);i.xp6(1),i.Gre("",_t.prefixCls,"-date ant-picker-cell-inner"),i.ekj("ant-picker-calendar-date-today",dt.isToday),i.xp6(1),i.Q6J("ngIf",dt.fullCellRender)("ngIfElse",Z)}}function de(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"td",12),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.isDisabled?null:jt.onClick())})("mouseenter",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onMouseEnter())}),i.ynx(1,13),i.YNc(2,Pe,5,3,"ng-container",14),i.YNc(3,we,5,7,"ng-container",14),i.BQk(),i.qZA()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.s9C("title",Z.title),i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngSwitch",dt.prefixCls),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker"),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker-calendar")}}function U(it,Qt){if(1&it&&(i.TgZ(0,"tr",8),i.YNc(1,oe,2,4,"td",9),i.YNc(2,de,4,5,"td",10),i.qZA()),2&it){const Z=Qt.$implicit,dt=i.oxw();i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngIf",Z.weekNum),i.xp6(1),i.Q6J("ngForOf",Z.dateCells)("ngForTrackBy",dt.trackByBodyColumn)}}function B(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"button",6),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onClick())}),i._uU(2),i.qZA(),i.BQk()}if(2&it){const Z=Qt.$implicit;i.xp6(1),i.Tol(Z.className),i.s9C("title",Z.title||null),i.xp6(1),i.hij(" ",Z.label," ")}}function Me(it,Qt){1&it&&i._UZ(0,"th",6)}function Ae(it,Qt){if(1&it&&(i.TgZ(0,"th",7),i._uU(1),i.qZA()),2&it){const Z=Qt.$implicit;i.s9C("title",Z.title),i.xp6(1),i.hij(" ",Z.content," ")}}function Le(it,Qt){if(1&it&&(i.TgZ(0,"thead")(1,"tr",3),i.YNc(2,Me,1,0,"th",4),i.YNc(3,Ae,2,2,"th",5),i.qZA()()),2&it){const Z=i.oxw();i.xp6(2),i.Q6J("ngIf",Z.showWeek),i.xp6(1),i.Q6J("ngForOf",Z.headRow)}}function ht(it,Qt){if(1&it&&(i.TgZ(0,"td",11),i._uU(1),i.qZA()),2&it){const Z=i.oxw().$implicit,dt=i.oxw();i.Gre("",dt.prefixCls,"-cell-week"),i.xp6(1),i.hij(" ",Z.weekNum," ")}}function Ot(it,Qt){1&it&&i.GkF(0)}function Lt(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Ot,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function Wt(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("innerHTML",Z.cellRender,i.oJD)}}function qt(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._uU(2),i.qZA(),i.BQk()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.xp6(1),i.Gre("",dt.prefixCls,"-cell-inner"),i.uIk("aria-selected",Z.isSelected)("aria-disabled",Z.isDisabled),i.xp6(1),i.hij(" ",Z.content," ")}}function en(it,Qt){if(1&it&&(i.ynx(0)(1,13),i.YNc(2,Lt,2,4,"ng-container",14),i.YNc(3,Wt,2,1,"ng-container",14),i.YNc(4,qt,3,6,"ng-container",15),i.BQk()()),2&it){const Z=i.oxw().$implicit,dt=i.oxw(2);i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",dt.isTemplateRef(Z.cellRender)),i.xp6(1),i.Q6J("ngSwitchCase",dt.isNonEmptyString(Z.cellRender))}}function Vt(it,Qt){1&it&&i.GkF(0)}function cn(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Vt,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.fullCellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function ft(it,Qt){1&it&&i.GkF(0)}function gt(it,Qt){if(1&it&&(i.TgZ(0,"div"),i._uU(1),i.qZA(),i.TgZ(2,"div"),i.YNc(3,ft,1,0,"ng-container",16),i.qZA()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-date-value"),i.xp6(1),i.Oqu(Z.content),i.xp6(1),i.Gre("",dt.prefixCls,"-date-content"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(9,Q,Z.value))}}function Ie(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,cn,2,4,"ng-container",18),i.YNc(3,gt,4,11,"ng-template",null,19,i.W1O),i.qZA(),i.BQk()),2&it){const Z=i.MAs(4),dt=i.oxw().$implicit,_t=i.oxw(2);i.xp6(1),i.Gre("",_t.prefixCls,"-date ant-picker-cell-inner"),i.ekj("ant-picker-calendar-date-today",dt.isToday),i.xp6(1),i.Q6J("ngIf",dt.fullCellRender)("ngIfElse",Z)}}function Ct(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"td",12),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.isDisabled?null:jt.onClick())})("mouseenter",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onMouseEnter())}),i.ynx(1,13),i.YNc(2,en,5,3,"ng-container",14),i.YNc(3,Ie,5,7,"ng-container",14),i.BQk(),i.qZA()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.s9C("title",Z.title),i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngSwitch",dt.prefixCls),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker"),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker-calendar")}}function Nt(it,Qt){if(1&it&&(i.TgZ(0,"tr",8),i.YNc(1,ht,2,4,"td",9),i.YNc(2,Ct,4,5,"td",10),i.qZA()),2&it){const Z=Qt.$implicit,dt=i.oxw();i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngIf",Z.weekNum),i.xp6(1),i.Q6J("ngForOf",Z.dateCells)("ngForTrackBy",dt.trackByBodyColumn)}}function kt(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"button",6),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onClick())}),i._uU(2),i.qZA(),i.BQk()}if(2&it){const Z=Qt.$implicit;i.xp6(1),i.Tol(Z.className),i.s9C("title",Z.title||null),i.xp6(1),i.hij(" ",Z.label," ")}}function St(it,Qt){1&it&&i._UZ(0,"th",6)}function qe(it,Qt){if(1&it&&(i.TgZ(0,"th",7),i._uU(1),i.qZA()),2&it){const Z=Qt.$implicit;i.s9C("title",Z.title),i.xp6(1),i.hij(" ",Z.content," ")}}function Fe(it,Qt){if(1&it&&(i.TgZ(0,"thead")(1,"tr",3),i.YNc(2,St,1,0,"th",4),i.YNc(3,qe,2,2,"th",5),i.qZA()()),2&it){const Z=i.oxw();i.xp6(2),i.Q6J("ngIf",Z.showWeek),i.xp6(1),i.Q6J("ngForOf",Z.headRow)}}function fe(it,Qt){if(1&it&&(i.TgZ(0,"td",11),i._uU(1),i.qZA()),2&it){const Z=i.oxw().$implicit,dt=i.oxw();i.Gre("",dt.prefixCls,"-cell-week"),i.xp6(1),i.hij(" ",Z.weekNum," ")}}function Xe(it,Qt){1&it&&i.GkF(0)}function ge(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Xe,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function je(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("innerHTML",Z.cellRender,i.oJD)}}function Ye(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._uU(2),i.qZA(),i.BQk()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.xp6(1),i.Gre("",dt.prefixCls,"-cell-inner"),i.uIk("aria-selected",Z.isSelected)("aria-disabled",Z.isDisabled),i.xp6(1),i.hij(" ",Z.content," ")}}function We(it,Qt){if(1&it&&(i.ynx(0)(1,13),i.YNc(2,ge,2,4,"ng-container",14),i.YNc(3,je,2,1,"ng-container",14),i.YNc(4,Ye,3,6,"ng-container",15),i.BQk()()),2&it){const Z=i.oxw().$implicit,dt=i.oxw(2);i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",dt.isTemplateRef(Z.cellRender)),i.xp6(1),i.Q6J("ngSwitchCase",dt.isNonEmptyString(Z.cellRender))}}function wt(it,Qt){1&it&&i.GkF(0)}function Ee(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,wt,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.fullCellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function be(it,Qt){1&it&&i.GkF(0)}function Qe(it,Qt){if(1&it&&(i.TgZ(0,"div"),i._uU(1),i.qZA(),i.TgZ(2,"div"),i.YNc(3,be,1,0,"ng-container",16),i.qZA()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-date-value"),i.xp6(1),i.Oqu(Z.content),i.xp6(1),i.Gre("",dt.prefixCls,"-date-content"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(9,Q,Z.value))}}function Ke(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,Ee,2,4,"ng-container",18),i.YNc(3,Qe,4,11,"ng-template",null,19,i.W1O),i.qZA(),i.BQk()),2&it){const Z=i.MAs(4),dt=i.oxw().$implicit,_t=i.oxw(2);i.xp6(1),i.Gre("",_t.prefixCls,"-date ant-picker-cell-inner"),i.ekj("ant-picker-calendar-date-today",dt.isToday),i.xp6(1),i.Q6J("ngIf",dt.fullCellRender)("ngIfElse",Z)}}function Ze(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"td",12),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.isDisabled?null:jt.onClick())})("mouseenter",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onMouseEnter())}),i.ynx(1,13),i.YNc(2,We,5,3,"ng-container",14),i.YNc(3,Ke,5,7,"ng-container",14),i.BQk(),i.qZA()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.s9C("title",Z.title),i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngSwitch",dt.prefixCls),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker"),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker-calendar")}}function ve(it,Qt){if(1&it&&(i.TgZ(0,"tr",8),i.YNc(1,fe,2,4,"td",9),i.YNc(2,Ze,4,5,"td",10),i.qZA()),2&it){const Z=Qt.$implicit,dt=i.oxw();i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngIf",Z.weekNum),i.xp6(1),i.Q6J("ngForOf",Z.dateCells)("ngForTrackBy",dt.trackByBodyColumn)}}function nt(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"button",6),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onClick())}),i._uU(2),i.qZA(),i.BQk()}if(2&it){const Z=Qt.$implicit;i.xp6(1),i.Tol(Z.className),i.s9C("title",Z.title||null),i.xp6(1),i.hij(" ",Z.label," ")}}function x(it,Qt){1&it&&i._UZ(0,"th",6)}function N(it,Qt){if(1&it&&(i.TgZ(0,"th",7),i._uU(1),i.qZA()),2&it){const Z=Qt.$implicit;i.s9C("title",Z.title),i.xp6(1),i.hij(" ",Z.content," ")}}function O(it,Qt){if(1&it&&(i.TgZ(0,"thead")(1,"tr",3),i.YNc(2,x,1,0,"th",4),i.YNc(3,N,2,2,"th",5),i.qZA()()),2&it){const Z=i.oxw();i.xp6(2),i.Q6J("ngIf",Z.showWeek),i.xp6(1),i.Q6J("ngForOf",Z.headRow)}}function $(it,Qt){if(1&it&&(i.TgZ(0,"td",11),i._uU(1),i.qZA()),2&it){const Z=i.oxw().$implicit,dt=i.oxw();i.Gre("",dt.prefixCls,"-cell-week"),i.xp6(1),i.hij(" ",Z.weekNum," ")}}function L(it,Qt){1&it&&i.GkF(0)}function he(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,L,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function Ce(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("innerHTML",Z.cellRender,i.oJD)}}function Dt(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._uU(2),i.qZA(),i.BQk()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.xp6(1),i.Gre("",dt.prefixCls,"-cell-inner"),i.uIk("aria-selected",Z.isSelected)("aria-disabled",Z.isDisabled),i.xp6(1),i.hij(" ",Z.content," ")}}function Yt(it,Qt){if(1&it&&(i.ynx(0)(1,13),i.YNc(2,he,2,4,"ng-container",14),i.YNc(3,Ce,2,1,"ng-container",14),i.YNc(4,Dt,3,6,"ng-container",15),i.BQk()()),2&it){const Z=i.oxw().$implicit,dt=i.oxw(2);i.xp6(1),i.Q6J("ngSwitch",!0),i.xp6(1),i.Q6J("ngSwitchCase",dt.isTemplateRef(Z.cellRender)),i.xp6(1),i.Q6J("ngSwitchCase",dt.isNonEmptyString(Z.cellRender))}}function rn(it,Qt){1&it&&i.GkF(0)}function hn(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,rn,1,0,"ng-container",16),i.BQk()),2&it){const Z=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",Z.fullCellRender)("ngTemplateOutletContext",i.VKq(2,Q,Z.value))}}function yn(it,Qt){1&it&&i.GkF(0)}function Mn(it,Qt){if(1&it&&(i.TgZ(0,"div"),i._uU(1),i.qZA(),i.TgZ(2,"div"),i.YNc(3,yn,1,0,"ng-container",16),i.qZA()),2&it){const Z=i.oxw(2).$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-date-value"),i.xp6(1),i.Oqu(Z.content),i.xp6(1),i.Gre("",dt.prefixCls,"-date-content"),i.xp6(1),i.Q6J("ngTemplateOutlet",Z.cellRender)("ngTemplateOutletContext",i.VKq(9,Q,Z.value))}}function En(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,hn,2,4,"ng-container",18),i.YNc(3,Mn,4,11,"ng-template",null,19,i.W1O),i.qZA(),i.BQk()),2&it){const Z=i.MAs(4),dt=i.oxw().$implicit,_t=i.oxw(2);i.xp6(1),i.Gre("",_t.prefixCls,"-date ant-picker-cell-inner"),i.ekj("ant-picker-calendar-date-today",dt.isToday),i.xp6(1),i.Q6J("ngIf",dt.fullCellRender)("ngIfElse",Z)}}function Dn(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"td",12),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.isDisabled?null:jt.onClick())})("mouseenter",function(){const jt=i.CHM(Z).$implicit;return i.KtG(jt.onMouseEnter())}),i.ynx(1,13),i.YNc(2,Yt,5,3,"ng-container",14),i.YNc(3,En,5,7,"ng-container",14),i.BQk(),i.qZA()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.s9C("title",Z.title),i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngSwitch",dt.prefixCls),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker"),i.xp6(1),i.Q6J("ngSwitchCase","ant-picker-calendar")}}function xn(it,Qt){if(1&it&&(i.TgZ(0,"tr",8),i.YNc(1,$,2,4,"td",9),i.YNc(2,Dn,4,5,"td",10),i.qZA()),2&it){const Z=Qt.$implicit,dt=i.oxw();i.Q6J("ngClass",Z.classMap),i.xp6(1),i.Q6J("ngIf",Z.weekNum),i.xp6(1),i.Q6J("ngForOf",Z.dateCells)("ngForTrackBy",dt.trackByBodyColumn)}}function Ln(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"decade-header",4),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.activeDate=_t)})("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.panelModeChange.emit(_t))})("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.headerChange.emit(_t))}),i.qZA(),i.TgZ(2,"div")(3,"decade-table",5),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onChooseDecade(_t))}),i.qZA()(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("value",Z.activeDate)("locale",Z.locale)("showSuperPreBtn",Z.enablePrevNext("prev","decade"))("showSuperNextBtn",Z.enablePrevNext("next","decade"))("showNextBtn",!1)("showPreBtn",!1),i.xp6(1),i.Gre("",Z.prefixCls,"-body"),i.xp6(1),i.Q6J("activeDate",Z.activeDate)("value",Z.value)("locale",Z.locale)("disabledDate",Z.disabledDate)}}function ei(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"year-header",4),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.activeDate=_t)})("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.panelModeChange.emit(_t))})("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.headerChange.emit(_t))}),i.qZA(),i.TgZ(2,"div")(3,"year-table",6),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onChooseYear(_t))})("cellHover",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.cellHover.emit(_t))}),i.qZA()(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("value",Z.activeDate)("locale",Z.locale)("showSuperPreBtn",Z.enablePrevNext("prev","year"))("showSuperNextBtn",Z.enablePrevNext("next","year"))("showNextBtn",!1)("showPreBtn",!1),i.xp6(1),i.Gre("",Z.prefixCls,"-body"),i.xp6(1),i.Q6J("activeDate",Z.activeDate)("value",Z.value)("locale",Z.locale)("disabledDate",Z.disabledDate)("selectedValue",Z.selectedValue)("hoverValue",Z.hoverValue)}}function ii(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"month-header",4),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.activeDate=_t)})("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.panelModeChange.emit(_t))})("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.headerChange.emit(_t))}),i.qZA(),i.TgZ(2,"div")(3,"month-table",7),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onChooseMonth(_t))})("cellHover",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.cellHover.emit(_t))}),i.qZA()(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("value",Z.activeDate)("locale",Z.locale)("showSuperPreBtn",Z.enablePrevNext("prev","month"))("showSuperNextBtn",Z.enablePrevNext("next","month"))("showNextBtn",!1)("showPreBtn",!1),i.xp6(1),i.Gre("",Z.prefixCls,"-body"),i.xp6(1),i.Q6J("value",Z.value)("activeDate",Z.activeDate)("locale",Z.locale)("disabledDate",Z.disabledDate)("selectedValue",Z.selectedValue)("hoverValue",Z.hoverValue)}}function Hn(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"date-header",8),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.activeDate=_t)})("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.panelModeChange.emit(_t))})("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.headerChange.emit(_t))}),i.qZA(),i.TgZ(2,"div")(3,"date-table",9),i.NdJ("valueChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onSelectDate(_t))})("cellHover",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.cellHover.emit(_t))}),i.qZA()(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("value",Z.activeDate)("locale",Z.locale)("showSuperPreBtn",Z.enablePrevNext("prev","week"===Z.panelMode?"week":"date"))("showSuperNextBtn",Z.enablePrevNext("next","week"===Z.panelMode?"week":"date"))("showPreBtn",Z.enablePrevNext("prev","week"===Z.panelMode?"week":"date"))("showNextBtn",Z.enablePrevNext("next","week"===Z.panelMode?"week":"date")),i.xp6(1),i.Gre("",Z.prefixCls,"-body"),i.xp6(1),i.Q6J("locale",Z.locale)("showWeek",Z.showWeek)("value",Z.value)("activeDate",Z.activeDate)("disabledDate",Z.disabledDate)("cellRender",Z.dateRender)("selectedValue",Z.selectedValue)("hoverValue",Z.hoverValue)("canSelectWeek","week"===Z.panelMode)}}function di(it,Qt){if(1&it){const Z=i.EpF();i.ynx(0),i.TgZ(1,"nz-time-picker-panel",10),i.NdJ("ngModelChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onSelectTime(_t))}),i.qZA(),i.BQk()}if(2&it){const Z=i.oxw();i.xp6(1),i.Q6J("nzInDatePicker",!0)("ngModel",null==Z.value?null:Z.value.nativeDate)("format",Z.timeOptions.nzFormat)("nzHourStep",Z.timeOptions.nzHourStep)("nzMinuteStep",Z.timeOptions.nzMinuteStep)("nzSecondStep",Z.timeOptions.nzSecondStep)("nzDisabledHours",Z.timeOptions.nzDisabledHours)("nzDisabledMinutes",Z.timeOptions.nzDisabledMinutes)("nzDisabledSeconds",Z.timeOptions.nzDisabledSeconds)("nzHideDisabledOptions",!!Z.timeOptions.nzHideDisabledOptions)("nzDefaultOpenValue",Z.timeOptions.nzDefaultOpenValue)("nzUse12Hours",!!Z.timeOptions.nzUse12Hours)("nzAddOn",Z.timeOptions.nzAddOn)}}function oi(it,Qt){1&it&&i.GkF(0)}const ai=function(it){return{partType:it}};function ri(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,oi,1,0,"ng-container",7),i.BQk()),2&it){const Z=i.oxw(2),dt=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",dt)("ngTemplateOutletContext",i.VKq(2,ai,Z.datePickerService.activeInput))}}function hi(it,Qt){1&it&&i.GkF(0)}function Ti(it,Qt){1&it&&i.GkF(0)}const li=function(){return{partType:"left"}},fi=function(){return{partType:"right"}};function to(it,Qt){if(1&it&&(i.YNc(0,hi,1,0,"ng-container",7),i.YNc(1,Ti,1,0,"ng-container",7)),2&it){i.oxw(2);const Z=i.MAs(4);i.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",i.DdM(4,li)),i.xp6(1),i.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",i.DdM(5,fi))}}function oo(it,Qt){1&it&&i.GkF(0)}function Zi(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i._UZ(2,"div"),i.TgZ(3,"div")(4,"div"),i.YNc(5,ri,2,4,"ng-container",0),i.YNc(6,to,2,6,"ng-template",null,5,i.W1O),i.qZA(),i.YNc(8,oo,1,0,"ng-container",6),i.qZA()(),i.BQk()),2&it){const Z=i.MAs(7),dt=i.oxw(),_t=i.MAs(6);i.xp6(1),i.MT6("",dt.prefixCls,"-range-wrapper ",dt.prefixCls,"-date-range-wrapper"),i.xp6(1),i.Akn(dt.arrowPosition),i.Gre("",dt.prefixCls,"-range-arrow"),i.xp6(1),i.MT6("",dt.prefixCls,"-panel-container ",dt.showWeek?dt.prefixCls+"-week-number":"",""),i.xp6(1),i.Gre("",dt.prefixCls,"-panels"),i.xp6(1),i.Q6J("ngIf",dt.hasTimePicker)("ngIfElse",Z),i.xp6(3),i.Q6J("ngTemplateOutlet",_t)}}function Ni(it,Qt){1&it&&i.GkF(0)}function ki(it,Qt){1&it&&i.GkF(0)}function $i(it,Qt){if(1&it&&(i.TgZ(0,"div")(1,"div",8),i.YNc(2,Ni,1,0,"ng-container",6),i.YNc(3,ki,1,0,"ng-container",6),i.qZA()()),2&it){const Z=i.oxw(),dt=i.MAs(4),_t=i.MAs(6);i.DjV("",Z.prefixCls,"-panel-container ",Z.showWeek?Z.prefixCls+"-week-number":""," ",Z.hasTimePicker?Z.prefixCls+"-time":""," ",Z.isRange?Z.prefixCls+"-range":"",""),i.xp6(1),i.Gre("",Z.prefixCls,"-panel"),i.ekj("ant-picker-panel-rtl","rtl"===Z.dir),i.xp6(1),i.Q6J("ngTemplateOutlet",dt),i.xp6(1),i.Q6J("ngTemplateOutlet",_t)}}function no(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"div")(1,"inner-popup",9),i.NdJ("panelModeChange",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.onPanelModeChange(_t,Cn))})("cellHover",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onCellHover(_t))})("selectDate",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.changeValueFromSelect(_t,!jt.showTime))})("selectTime",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.onSelectTime(_t,Cn))})("headerChange",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.onActiveDateChange(_t,Cn))}),i.qZA()()}if(2&it){const Z=Qt.partType,dt=i.oxw();i.Gre("",dt.prefixCls,"-panel"),i.ekj("ant-picker-panel-rtl","rtl"===dt.dir),i.xp6(1),i.Q6J("showWeek",dt.showWeek)("endPanelMode",dt.getPanelMode(dt.endPanelMode,Z))("partType",Z)("locale",dt.locale)("showTimePicker",dt.hasTimePicker)("timeOptions",dt.getTimeOptions(Z))("panelMode",dt.getPanelMode(dt.panelMode,Z))("activeDate",dt.getActiveDate(Z))("value",dt.getValue(Z))("disabledDate",dt.disabledDate)("dateRender",dt.dateRender)("selectedValue",null==dt.datePickerService?null:dt.datePickerService.value)("hoverValue",dt.hoverValue)}}function Eo(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"calendar-footer",11),i.NdJ("clickOk",function(){i.CHM(Z);const _t=i.oxw(2);return i.KtG(_t.onClickOk())})("clickToday",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onClickToday(_t))}),i.qZA()}if(2&it){const Z=i.oxw(2),dt=i.MAs(8);i.Q6J("locale",Z.locale)("isRange",Z.isRange)("showToday",Z.showToday)("showNow",Z.showNow)("hasTimePicker",Z.hasTimePicker)("okDisabled",!Z.isAllowed(null==Z.datePickerService?null:Z.datePickerService.value))("extraFooter",Z.extraFooter)("rangeQuickSelector",Z.ranges?dt:null)}}function wi(it,Qt){if(1&it&&i.YNc(0,Eo,1,8,"calendar-footer",10),2&it){const Z=i.oxw();i.Q6J("ngIf",Z.hasFooter)}}function Ji(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"li",13),i.NdJ("click",function(){const jt=i.CHM(Z).$implicit,Cn=i.oxw(2);return i.KtG(Cn.onClickPresetRange(Cn.ranges[jt]))})("mouseenter",function(){const jt=i.CHM(Z).$implicit,Cn=i.oxw(2);return i.KtG(Cn.onHoverPresetRange(Cn.ranges[jt]))})("mouseleave",function(){i.CHM(Z);const _t=i.oxw(2);return i.KtG(_t.onPresetRangeMouseLeave())}),i.TgZ(1,"span",14),i._uU(2),i.qZA()()}if(2&it){const Z=Qt.$implicit,dt=i.oxw(2);i.Gre("",dt.prefixCls,"-preset"),i.xp6(2),i.Oqu(Z)}}function Di(it,Qt){if(1&it&&i.YNc(0,Ji,3,4,"li",12),2&it){const Z=i.oxw();i.Q6J("ngForOf",Z.getObjectKeys(Z.ranges))}}const Wi=["separatorElement"],Xi=["pickerInput"],bi=["rangePickerInput"];function Ri(it,Qt){1&it&&i.GkF(0)}function Pi(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"div")(1,"input",7,8),i.NdJ("ngModelChange",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.inputValue=_t)})("focus",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onFocus(_t))})("focusout",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onFocusout(_t))})("ngModelChange",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onInputChange(_t))})("keyup.enter",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onKeyupEnter(_t))}),i.qZA(),i.YNc(3,Ri,1,0,"ng-container",9),i.qZA()}if(2&it){const Z=i.oxw(2),dt=i.MAs(4);i.Gre("",Z.prefixCls,"-input"),i.xp6(1),i.ekj("ant-input-disabled",Z.nzDisabled),i.s9C("placeholder",Z.getPlaceholder()),i.Q6J("disabled",Z.nzDisabled)("readOnly",Z.nzInputReadOnly)("ngModel",Z.inputValue)("size",Z.inputSize),i.uIk("id",Z.nzId),i.xp6(2),i.Q6J("ngTemplateOutlet",dt)}}function ni(it,Qt){1&it&&i.GkF(0)}function Vn(it,Qt){if(1&it&&(i.ynx(0),i._uU(1),i.BQk()),2&it){const Z=i.oxw(4);i.xp6(1),i.Oqu(Z.nzSeparator)}}function Mt(it,Qt){1&it&&i._UZ(0,"span",14)}function gn(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Vn,2,1,"ng-container",0),i.YNc(2,Mt,1,0,"ng-template",null,13,i.W1O),i.BQk()),2&it){const Z=i.MAs(3),dt=i.oxw(3);i.xp6(1),i.Q6J("ngIf",dt.nzSeparator)("ngIfElse",Z)}}function rt(it,Qt){1&it&&i.GkF(0)}function zt(it,Qt){1&it&&i.GkF(0)}function It(it,Qt){if(1&it&&(i.ynx(0),i.TgZ(1,"div"),i.YNc(2,ni,1,0,"ng-container",10),i.qZA(),i.TgZ(3,"div",null,11)(5,"span"),i.YNc(6,gn,4,2,"ng-container",12),i.qZA()(),i.TgZ(7,"div"),i.YNc(8,rt,1,0,"ng-container",10),i.qZA(),i.YNc(9,zt,1,0,"ng-container",9),i.BQk()),2&it){const Z=i.oxw(2),dt=i.MAs(2),_t=i.MAs(4);i.xp6(1),i.Gre("",Z.prefixCls,"-input"),i.xp6(1),i.Q6J("ngTemplateOutlet",dt)("ngTemplateOutletContext",i.DdM(18,li)),i.xp6(1),i.Gre("",Z.prefixCls,"-range-separator"),i.xp6(2),i.Gre("",Z.prefixCls,"-separator"),i.xp6(1),i.Q6J("nzStringTemplateOutlet",Z.nzSeparator),i.xp6(1),i.Gre("",Z.prefixCls,"-input"),i.xp6(1),i.Q6J("ngTemplateOutlet",dt)("ngTemplateOutletContext",i.DdM(19,fi)),i.xp6(1),i.Q6J("ngTemplateOutlet",_t)}}function Xt(it,Qt){if(1&it&&(i.ynx(0),i.YNc(1,Pi,4,12,"div",5),i.YNc(2,It,10,20,"ng-container",6),i.BQk()),2&it){const Z=i.oxw();i.xp6(1),i.Q6J("ngIf",!Z.isRange),i.xp6(1),i.Q6J("ngIf",Z.isRange)}}function _n(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"input",15,16),i.NdJ("click",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onClickInputBox(_t))})("focusout",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onFocusout(_t))})("focus",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.onFocus(_t,Cn))})("keyup.enter",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onKeyupEnter(_t))})("ngModelChange",function(_t){const Cn=i.CHM(Z).partType,Pn=i.oxw();return i.KtG(Pn.inputValue[Pn.datePickerService.getActiveIndex(Cn)]=_t)})("ngModelChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onInputChange(_t))}),i.qZA()}if(2&it){const Z=Qt.partType,dt=i.oxw();i.s9C("placeholder",dt.getPlaceholder(Z)),i.Q6J("disabled",dt.nzDisabled)("readOnly",dt.nzInputReadOnly)("size",dt.inputSize)("ngModel",dt.inputValue[dt.datePickerService.getActiveIndex(Z)]),i.uIk("id",dt.nzId)}}function Fn(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"span",20),i.NdJ("click",function(_t){i.CHM(Z);const jt=i.oxw(2);return i.KtG(jt.onClickClear(_t))}),i._UZ(1,"span",21),i.qZA()}if(2&it){const Z=i.oxw(2);i.Gre("",Z.prefixCls,"-clear")}}function On(it,Qt){if(1&it&&(i.ynx(0),i._UZ(1,"span",22),i.BQk()),2&it){const Z=Qt.$implicit;i.xp6(1),i.Q6J("nzType",Z)}}function mi(it,Qt){if(1&it&&i._UZ(0,"nz-form-item-feedback-icon",23),2&it){const Z=i.oxw(2);i.Q6J("status",Z.status)}}function bt(it,Qt){if(1&it&&(i._UZ(0,"div",17),i.YNc(1,Fn,2,3,"span",18),i.TgZ(2,"span"),i.YNc(3,On,2,1,"ng-container",12),i.YNc(4,mi,1,1,"nz-form-item-feedback-icon",19),i.qZA()),2&it){const Z=i.oxw();i.Gre("",Z.prefixCls,"-active-bar"),i.Q6J("ngStyle",Z.activeBarStyle),i.xp6(1),i.Q6J("ngIf",Z.showClear()),i.xp6(1),i.Gre("",Z.prefixCls,"-suffix"),i.xp6(1),i.Q6J("nzStringTemplateOutlet",Z.nzSuffixIcon),i.xp6(1),i.Q6J("ngIf",Z.hasFeedback&&!!Z.status)}}function at(it,Qt){if(1&it){const Z=i.EpF();i.TgZ(0,"div",17)(1,"date-range-popup",24),i.NdJ("panelModeChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onPanelModeChange(_t))})("calendarChange",function(_t){i.CHM(Z);const jt=i.oxw();return i.KtG(jt.onCalendarChange(_t))})("resultOk",function(){i.CHM(Z);const _t=i.oxw();return i.KtG(_t.onResultOk())}),i.qZA()()}if(2&it){const Z=i.oxw();i.MT6("",Z.prefixCls,"-dropdown ",Z.nzDropdownClassName,""),i.ekj("ant-picker-dropdown-rtl","rtl"===Z.dir)("ant-picker-dropdown-placement-bottomLeft","bottom"===Z.currentPositionY&&"start"===Z.currentPositionX)("ant-picker-dropdown-placement-topLeft","top"===Z.currentPositionY&&"start"===Z.currentPositionX)("ant-picker-dropdown-placement-bottomRight","bottom"===Z.currentPositionY&&"end"===Z.currentPositionX)("ant-picker-dropdown-placement-topRight","top"===Z.currentPositionY&&"end"===Z.currentPositionX)("ant-picker-dropdown-range",Z.isRange)("ant-picker-active-left","left"===Z.datePickerService.activeInput)("ant-picker-active-right","right"===Z.datePickerService.activeInput),i.Q6J("ngStyle",Z.nzPopupStyle),i.xp6(1),i.Q6J("isRange",Z.isRange)("inline",Z.nzInline)("defaultPickerValue",Z.nzDefaultPickerValue)("showWeek",Z.nzShowWeekNumber||"week"===Z.nzMode)("panelMode",Z.panelMode)("locale",null==Z.nzLocale?null:Z.nzLocale.lang)("showToday","date"===Z.nzMode&&Z.nzShowToday&&!Z.isRange&&!Z.nzShowTime)("showNow","date"===Z.nzMode&&Z.nzShowNow&&!Z.isRange&&!!Z.nzShowTime)("showTime",Z.nzShowTime)("dateRender",Z.nzDateRender)("disabledDate",Z.nzDisabledDate)("disabledTime",Z.nzDisabledTime)("extraFooter",Z.extraFooter)("ranges",Z.nzRanges)("dir",Z.dir)}}function Je(it,Qt){1&it&&i.GkF(0)}function Rt(it,Qt){if(1&it&&(i.TgZ(0,"div",25),i.YNc(1,Je,1,0,"ng-container",9),i.qZA()),2&it){const Z=i.oxw(),dt=i.MAs(6);i.Q6J("nzNoAnimation",!(null==Z.noAnimation||!Z.noAnimation.nzNoAnimation))("@slideMotion","enter"),i.xp6(1),i.Q6J("ngTemplateOutlet",dt)}}const Kt="ant-picker",ln={nzDisabledHours:()=>[],nzDisabledMinutes:()=>[],nzDisabledSeconds:()=>[]};function mn(it,Qt){let Z=Qt?Qt(it&&it.nativeDate):{};return Z={...ln,...Z},Z}function Ai(it,Qt,Z){return!(!it||Qt&&Qt(it.nativeDate)||Z&&!function kn(it,Qt){return function Kn(it,Qt){let Z=!1;if(it){const dt=it.getHours(),_t=it.getMinutes(),jt=it.getSeconds();Z=-1!==Qt.nzDisabledHours().indexOf(dt)||-1!==Qt.nzDisabledMinutes(dt).indexOf(_t)||-1!==Qt.nzDisabledSeconds(dt,_t).indexOf(jt)}return!Z}(it,mn(it,Qt))}(it,Z))}function so(it){return it&&it.replace(/Y/g,"y").replace(/D/g,"d")}let Nn=(()=>{class it{constructor(Z){this.dateHelper=Z,this.showToday=!1,this.showNow=!1,this.hasTimePicker=!1,this.isRange=!1,this.okDisabled=!1,this.rangeQuickSelector=null,this.clickOk=new i.vpe,this.clickToday=new i.vpe,this.prefixCls=Kt,this.isTemplateRef=d.de,this.isNonEmptyString=d.HH,this.isTodayDisabled=!1,this.todayTitle=""}ngOnChanges(Z){const dt=new Date;if(Z.disabledDate&&(this.isTodayDisabled=!(!this.disabledDate||!this.disabledDate(dt))),Z.locale){const _t=so(this.locale.dateFormat);this.todayTitle=this.dateHelper.format(dt,_t)}}onClickToday(){const Z=new _.Yp;this.clickToday.emit(Z.clone())}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["calendar-footer"]],inputs:{locale:"locale",showToday:"showToday",showNow:"showNow",hasTimePicker:"hasTimePicker",isRange:"isRange",okDisabled:"okDisabled",disabledDate:"disabledDate",extraFooter:"extraFooter",rangeQuickSelector:"rangeQuickSelector"},outputs:{clickOk:"clickOk",clickToday:"clickToday"},exportAs:["calendarFooter"],features:[i.TTD],decls:4,vars:6,consts:[[3,"class",4,"ngIf"],["role","button",3,"class","title","click",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngTemplateOutlet"],[3,"innerHTML"],["role","button",3,"title","click"],[3,"click"],["nz-button","","type","button","nzType","primary","nzSize","small",3,"disabled","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div"),i.YNc(1,re,4,6,"div",0),i.YNc(2,De,2,6,"a",1),i.YNc(3,ne,4,6,"ul",0),i.qZA()),2&dt&&(i.Gre("",_t.prefixCls,"-footer"),i.xp6(1),i.Q6J("ngIf",_t.extraFooter),i.xp6(1),i.Q6J("ngIf",_t.showToday),i.xp6(1),i.Q6J("ngIf",_t.hasTimePicker||_t.rangeQuickSelector))},dependencies:[t.O5,t.tP,t.RF,t.n9,h.ix,f.w,C.dQ],encapsulation:2,changeDetection:0})}return it})(),Ro=(()=>{class it{constructor(){this.activeInput="left",this.arrowLeft=0,this.isRange=!1,this.valueChange$=new D.t(1),this.emitValue$=new y.x,this.inputPartChange$=new y.x}initValue(Z=!1){Z&&(this.initialValue=this.isRange?[]:null),this.setValue(this.initialValue)}hasValue(Z=this.value){return Array.isArray(Z)?!!Z[0]||!!Z[1]:!!Z}makeValue(Z){return this.isRange?Z?Z.map(dt=>new _.Yp(dt)):[]:Z?new _.Yp(Z):null}setActiveDate(Z,dt=!1,_t="month"){this.activeDate=this.isRange?(0,_._p)(Z,dt,{date:"month",month:"year",year:"decade"}[_t],this.activeInput):(0,_.ky)(Z)}setValue(Z){this.value=Z,this.valueChange$.next(this.value)}getActiveIndex(Z=this.activeInput){return{left:0,right:1}[Z]}ngOnDestroy(){this.valueChange$.complete(),this.emitValue$.complete(),this.inputPartChange$.complete()}static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275prov=i.Yz7({token:it,factory:it.\u0275fac})}return it})(),Do=(()=>{class it{constructor(){this.prefixCls="ant-picker-header",this.selectors=[],this.showSuperPreBtn=!0,this.showSuperNextBtn=!0,this.showPreBtn=!0,this.showNextBtn=!0,this.panelModeChange=new i.vpe,this.valueChange=new i.vpe}superPreviousTitle(){return this.locale.previousYear}previousTitle(){return this.locale.previousMonth}superNextTitle(){return this.locale.nextYear}nextTitle(){return this.locale.nextMonth}superPrevious(){this.changeValue(this.value.addYears(-1))}superNext(){this.changeValue(this.value.addYears(1))}previous(){this.changeValue(this.value.addMonths(-1))}next(){this.changeValue(this.value.addMonths(1))}changeValue(Z){this.value!==Z&&(this.value=Z,this.valueChange.emit(this.value),this.render())}changeMode(Z){this.panelModeChange.emit(Z)}render(){this.value&&(this.selectors=this.getSelectors())}ngOnInit(){this.value||(this.value=new _.Yp),this.selectors=this.getSelectors()}ngOnChanges(Z){(Z.value||Z.locale)&&this.render()}static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275dir=i.lG2({type:it,inputs:{value:"value",locale:"locale",showSuperPreBtn:"showSuperPreBtn",showSuperNextBtn:"showSuperNextBtn",showPreBtn:"showPreBtn",showNextBtn:"showNextBtn"},outputs:{panelModeChange:"panelModeChange",valueChange:"valueChange"},features:[i.TTD]})}return it})(),Yo=(()=>{class it extends Do{constructor(Z){super(),this.dateHelper=Z}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:this.locale.yearSelect,onClick:()=>this.changeMode("year"),label:this.dateHelper.format(this.value.nativeDate,so(this.locale.yearFormat))},{className:`${this.prefixCls}-month-btn`,title:this.locale.monthSelect,onClick:()=>this.changeMode("month"),label:this.dateHelper.format(this.value.nativeDate,this.locale.monthFormat||"MMM")}]}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["date-header"]],exportAs:["dateHeader"],features:[i.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"button",0),i.NdJ("click",function(){return _t.superPrevious()}),i._UZ(2,"span",1),i.qZA(),i.TgZ(3,"button",0),i.NdJ("click",function(){return _t.previous()}),i._UZ(4,"span",2),i.qZA(),i.TgZ(5,"div"),i.YNc(6,le,3,5,"ng-container",3),i.qZA(),i.TgZ(7,"button",0),i.NdJ("click",function(){return _t.next()}),i._UZ(8,"span",4),i.qZA(),i.TgZ(9,"button",0),i.NdJ("click",function(){return _t.superNext()}),i._UZ(10,"span",5),i.qZA()()),2&dt&&(i.Tol(_t.prefixCls),i.xp6(1),i.Gre("",_t.prefixCls,"-super-prev-btn"),i.Udp("visibility",_t.showSuperPreBtn?"visible":"hidden"),i.s9C("title",_t.superPreviousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-prev-btn"),i.Udp("visibility",_t.showPreBtn?"visible":"hidden"),i.s9C("title",_t.previousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-view"),i.xp6(1),i.Q6J("ngForOf",_t.selectors),i.xp6(1),i.Gre("",_t.prefixCls,"-next-btn"),i.Udp("visibility",_t.showNextBtn?"visible":"hidden"),i.s9C("title",_t.nextTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-super-next-btn"),i.Udp("visibility",_t.showSuperNextBtn?"visible":"hidden"),i.s9C("title",_t.superNextTitle()))},dependencies:[t.sg],encapsulation:2,changeDetection:0})}return it})(),xi=(()=>{class it{constructor(){this.isTemplateRef=d.de,this.isNonEmptyString=d.HH,this.headRow=[],this.bodyRows=[],this.MAX_ROW=6,this.MAX_COL=7,this.prefixCls="ant-picker",this.activeDate=new _.Yp,this.showWeek=!1,this.selectedValue=[],this.hoverValue=[],this.canSelectWeek=!1,this.valueChange=new i.vpe,this.cellHover=new i.vpe}render(){this.activeDate&&(this.headRow=this.makeHeadRow(),this.bodyRows=this.makeBodyRows())}trackByBodyRow(Z,dt){return dt.trackByIndex}trackByBodyColumn(Z,dt){return dt.trackByIndex}hasRangeValue(){return this.selectedValue?.length>0||this.hoverValue?.length>0}getClassMap(Z){return{"ant-picker-cell":!0,"ant-picker-cell-in-view":!0,"ant-picker-cell-selected":Z.isSelected,"ant-picker-cell-disabled":Z.isDisabled,"ant-picker-cell-in-range":!!Z.isInSelectedRange,"ant-picker-cell-range-start":!!Z.isSelectedStart,"ant-picker-cell-range-end":!!Z.isSelectedEnd,"ant-picker-cell-range-start-single":!!Z.isStartSingle,"ant-picker-cell-range-end-single":!!Z.isEndSingle,"ant-picker-cell-range-hover":!!Z.isInHoverRange,"ant-picker-cell-range-hover-start":!!Z.isHoverStart,"ant-picker-cell-range-hover-end":!!Z.isHoverEnd,"ant-picker-cell-range-hover-edge-start":!!Z.isFirstCellInPanel,"ant-picker-cell-range-hover-edge-end":!!Z.isLastCellInPanel,"ant-picker-cell-range-start-near-hover":!!Z.isRangeStartNearHover,"ant-picker-cell-range-end-near-hover":!!Z.isRangeEndNearHover}}ngOnInit(){this.render()}ngOnChanges(Z){Z.activeDate&&!Z.activeDate.currentValue&&(this.activeDate=new _.Yp),(Z.disabledDate||Z.locale||Z.showWeek||Z.selectWeek||this.isDateRealChange(Z.activeDate)||this.isDateRealChange(Z.value)||this.isDateRealChange(Z.selectedValue)||this.isDateRealChange(Z.hoverValue))&&this.render()}isDateRealChange(Z){if(Z){const dt=Z.previousValue,_t=Z.currentValue;return Array.isArray(_t)?!Array.isArray(dt)||_t.length!==dt.length||_t.some((jt,Cn)=>{const Pn=dt[Cn];return Pn instanceof _.Yp?Pn.isSameDay(jt):Pn!==jt}):!this.isSameDate(dt,_t)}return!1}isSameDate(Z,dt){return!Z&&!dt||Z&&dt&&dt.isSameDay(Z)}static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275dir=i.lG2({type:it,inputs:{prefixCls:"prefixCls",value:"value",locale:"locale",activeDate:"activeDate",showWeek:"showWeek",selectedValue:"selectedValue",hoverValue:"hoverValue",disabledDate:"disabledDate",cellRender:"cellRender",fullCellRender:"fullCellRender",canSelectWeek:"canSelectWeek"},outputs:{valueChange:"valueChange",cellHover:"cellHover"},features:[i.TTD]})}return it})(),wo=(()=>{class it extends xi{constructor(Z,dt){super(),this.i18n=Z,this.dateHelper=dt}changeValueFromInside(Z){this.activeDate=this.activeDate.setYear(Z.getYear()).setMonth(Z.getMonth()).setDate(Z.getDate()),this.valueChange.emit(this.activeDate),this.activeDate.isSameMonth(this.value)||this.render()}makeHeadRow(){const Z=[],dt=this.activeDate.calendarStart({weekStartsOn:this.dateHelper.getFirstDayOfWeek()});for(let _t=0;_tthis.changeValueFromInside(Mi),onMouseEnter:()=>this.cellHover.emit(Mi)};this.addCellProperty(ji,Mi),this.showWeek&&!Cn.weekNum&&(Cn.weekNum=this.dateHelper.getISOWeek(Mi.nativeDate)),Mi.isSameDay(this.value)&&(Cn.isActive=Mi.isSameDay(this.value)),Cn.dateCells.push(ji)}Cn.classMap={"ant-picker-week-panel-row":this.canSelectWeek,"ant-picker-week-panel-row-selected":this.canSelectWeek&&Cn.isActive},Z.push(Cn)}return Z}addCellProperty(Z,dt){if(this.hasRangeValue()&&!this.canSelectWeek){const[_t,jt]=this.hoverValue,[Cn,Pn]=this.selectedValue;Cn?.isSameDay(dt)&&(Z.isSelectedStart=!0,Z.isSelected=!0),Pn?.isSameDay(dt)&&(Z.isSelectedEnd=!0,Z.isSelected=!0),_t&&jt&&(Z.isHoverStart=_t.isSameDay(dt),Z.isHoverEnd=jt.isSameDay(dt),Z.isLastCellInPanel=dt.isLastDayOfMonth(),Z.isFirstCellInPanel=dt.isFirstDayOfMonth(),Z.isInHoverRange=_t.isBeforeDay(dt)&&dt.isBeforeDay(jt)),Z.isStartSingle=Cn&&!Pn,Z.isEndSingle=!Cn&&Pn,Z.isInSelectedRange=Cn?.isBeforeDay(dt)&&dt.isBeforeDay(Pn),Z.isRangeStartNearHover=Cn&&Z.isInHoverRange,Z.isRangeEndNearHover=Pn&&Z.isInHoverRange}Z.isToday=dt.isToday(),Z.isSelected=dt.isSameDay(this.value),Z.isDisabled=!!this.disabledDate?.(dt.nativeDate),Z.classMap=this.getClassMap(Z)}getClassMap(Z){const dt=new _.Yp(Z.value);return{...super.getClassMap(Z),"ant-picker-cell-today":!!Z.isToday,"ant-picker-cell-in-view":dt.isSameMonth(this.activeDate)}}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.wi),i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["date-table"]],inputs:{locale:"locale"},exportAs:["dateTable"],features:[i.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(dt,_t){1&dt&&(i.TgZ(0,"table",0),i.YNc(1,ke,4,2,"thead",1),i.TgZ(2,"tbody"),i.YNc(3,U,3,4,"tr",2),i.qZA()()),2&dt&&(i.xp6(1),i.Q6J("ngIf",_t.headRow&&_t.headRow.length>0),i.xp6(2),i.Q6J("ngForOf",_t.bodyRows)("ngForTrackBy",_t.trackByBodyRow))},dependencies:[t.mk,t.sg,t.O5,t.tP,t.RF,t.n9,t.ED],encapsulation:2,changeDetection:0})}return it})(),Xo=(()=>{class it extends Do{previous(){}next(){}get startYear(){return 100*parseInt(""+this.value.getYear()/100,10)}get endYear(){return this.startYear+99}superPrevious(){this.changeValue(this.value.addYears(-100))}superNext(){this.changeValue(this.value.addYears(100))}getSelectors(){return[{className:`${this.prefixCls}-decade-btn`,title:"",onClick:()=>{},label:`${this.startYear}-${this.endYear}`}]}static#e=this.\u0275fac=function(){let Z;return function(_t){return(Z||(Z=i.n5z(it)))(_t||it)}}();static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["decade-header"]],exportAs:["decadeHeader"],features:[i.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"button",0),i.NdJ("click",function(){return _t.superPrevious()}),i._UZ(2,"span",1),i.qZA(),i.TgZ(3,"button",0),i.NdJ("click",function(){return _t.previous()}),i._UZ(4,"span",2),i.qZA(),i.TgZ(5,"div"),i.YNc(6,B,3,5,"ng-container",3),i.qZA(),i.TgZ(7,"button",0),i.NdJ("click",function(){return _t.next()}),i._UZ(8,"span",4),i.qZA(),i.TgZ(9,"button",0),i.NdJ("click",function(){return _t.superNext()}),i._UZ(10,"span",5),i.qZA()()),2&dt&&(i.Tol(_t.prefixCls),i.xp6(1),i.Gre("",_t.prefixCls,"-super-prev-btn"),i.Udp("visibility",_t.showSuperPreBtn?"visible":"hidden"),i.s9C("title",_t.superPreviousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-prev-btn"),i.Udp("visibility",_t.showPreBtn?"visible":"hidden"),i.s9C("title",_t.previousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-view"),i.xp6(1),i.Q6J("ngForOf",_t.selectors),i.xp6(1),i.Gre("",_t.prefixCls,"-next-btn"),i.Udp("visibility",_t.showNextBtn?"visible":"hidden"),i.s9C("title",_t.nextTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-super-next-btn"),i.Udp("visibility",_t.showSuperNextBtn?"visible":"hidden"),i.s9C("title",_t.superNextTitle()))},dependencies:[t.sg],encapsulation:2,changeDetection:0})}return it})(),qo=(()=>{class it extends xi{get startYear(){return 100*parseInt(""+this.activeDate.getYear()/100,10)}get endYear(){return this.startYear+99}makeHeadRow(){return[]}makeBodyRows(){const Z=[],dt=this.value&&this.value.getYear(),_t=this.startYear,jt=this.endYear,Cn=_t-10;let Pn=0;for(let Mi=0;Mi<4;Mi++){const fo={dateCells:[],trackByIndex:Mi};for(let qi=0;qi<3;qi++){const mo=Cn+10*Pn,ji=Cn+10*Pn+9,rs=`${mo}-${ji}`,Lo={trackByIndex:qi,value:this.activeDate.setYear(mo).nativeDate,content:rs,title:rs,isDisabled:!1,isSelected:dt>=mo&&dt<=ji,isLowerThanStart:ji<_t,isBiggerThanEnd:mo>jt,classMap:{},onClick(){},onMouseEnter(){}};Lo.classMap=this.getClassMap(Lo),Lo.onClick=()=>this.chooseDecade(mo),Pn++,fo.dateCells.push(Lo)}Z.push(fo)}return Z}getClassMap(Z){return{[`${this.prefixCls}-cell`]:!0,[`${this.prefixCls}-cell-in-view`]:!Z.isBiggerThanEnd&&!Z.isLowerThanStart,[`${this.prefixCls}-cell-selected`]:Z.isSelected,[`${this.prefixCls}-cell-disabled`]:Z.isDisabled}}chooseDecade(Z){this.value=this.activeDate.setYear(Z),this.valueChange.emit(this.value)}static#e=this.\u0275fac=function(){let Z;return function(_t){return(Z||(Z=i.n5z(it)))(_t||it)}}();static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["decade-table"]],exportAs:["decadeTable"],features:[i.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(dt,_t){1&dt&&(i.TgZ(0,"table",0),i.YNc(1,Le,4,2,"thead",1),i.TgZ(2,"tbody"),i.YNc(3,Nt,3,4,"tr",2),i.qZA()()),2&dt&&(i.xp6(1),i.Q6J("ngIf",_t.headRow&&_t.headRow.length>0),i.xp6(2),i.Q6J("ngForOf",_t.bodyRows)("ngForTrackBy",_t.trackByBodyRow))},dependencies:[t.mk,t.sg,t.O5,t.tP,t.RF,t.n9,t.ED],encapsulation:2,changeDetection:0})}return it})(),Po=(()=>{class it extends Do{constructor(Z){super(),this.dateHelper=Z}getSelectors(){return[{className:`${this.prefixCls}-month-btn`,title:this.locale.yearSelect,onClick:()=>this.changeMode("year"),label:this.dateHelper.format(this.value.nativeDate,so(this.locale.yearFormat))}]}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["month-header"]],exportAs:["monthHeader"],features:[i.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"button",0),i.NdJ("click",function(){return _t.superPrevious()}),i._UZ(2,"span",1),i.qZA(),i.TgZ(3,"button",0),i.NdJ("click",function(){return _t.previous()}),i._UZ(4,"span",2),i.qZA(),i.TgZ(5,"div"),i.YNc(6,kt,3,5,"ng-container",3),i.qZA(),i.TgZ(7,"button",0),i.NdJ("click",function(){return _t.next()}),i._UZ(8,"span",4),i.qZA(),i.TgZ(9,"button",0),i.NdJ("click",function(){return _t.superNext()}),i._UZ(10,"span",5),i.qZA()()),2&dt&&(i.Tol(_t.prefixCls),i.xp6(1),i.Gre("",_t.prefixCls,"-super-prev-btn"),i.Udp("visibility",_t.showSuperPreBtn?"visible":"hidden"),i.s9C("title",_t.superPreviousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-prev-btn"),i.Udp("visibility",_t.showPreBtn?"visible":"hidden"),i.s9C("title",_t.previousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-view"),i.xp6(1),i.Q6J("ngForOf",_t.selectors),i.xp6(1),i.Gre("",_t.prefixCls,"-next-btn"),i.Udp("visibility",_t.showNextBtn?"visible":"hidden"),i.s9C("title",_t.nextTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-super-next-btn"),i.Udp("visibility",_t.showSuperNextBtn?"visible":"hidden"),i.s9C("title",_t.superNextTitle()))},dependencies:[t.sg],encapsulation:2,changeDetection:0})}return it})(),po=(()=>{class it extends xi{constructor(Z){super(),this.dateHelper=Z,this.MAX_ROW=4,this.MAX_COL=3}makeHeadRow(){return[]}makeBodyRows(){const Z=[];let dt=0;for(let _t=0;_tthis.chooseMonth(qi.value.getMonth()),onMouseEnter:()=>this.cellHover.emit(Pn)};this.addCellProperty(qi,Pn),jt.dateCells.push(qi),dt++}Z.push(jt)}return Z}isDisabledMonth(Z){if(!this.disabledDate)return!1;for(let _t=Z.setDate(1);_t.getMonth()===Z.getMonth();_t=_t.addDays(1))if(!this.disabledDate(_t.nativeDate))return!1;return!0}addCellProperty(Z,dt){if(this.hasRangeValue()){const[_t,jt]=this.hoverValue,[Cn,Pn]=this.selectedValue;Cn?.isSameMonth(dt)&&(Z.isSelectedStart=!0,Z.isSelected=!0),Pn?.isSameMonth(dt)&&(Z.isSelectedEnd=!0,Z.isSelected=!0),_t&&jt&&(Z.isHoverStart=_t.isSameMonth(dt),Z.isHoverEnd=jt.isSameMonth(dt),Z.isLastCellInPanel=11===dt.getMonth(),Z.isFirstCellInPanel=0===dt.getMonth(),Z.isInHoverRange=_t.isBeforeMonth(dt)&&dt.isBeforeMonth(jt)),Z.isStartSingle=Cn&&!Pn,Z.isEndSingle=!Cn&&Pn,Z.isInSelectedRange=Cn?.isBeforeMonth(dt)&&dt?.isBeforeMonth(Pn),Z.isRangeStartNearHover=Cn&&Z.isInHoverRange,Z.isRangeEndNearHover=Pn&&Z.isInHoverRange}else dt.isSameMonth(this.value)&&(Z.isSelected=!0);Z.classMap=this.getClassMap(Z)}chooseMonth(Z){this.value=this.activeDate.setMonth(Z),this.valueChange.emit(this.value)}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["month-table"]],exportAs:["monthTable"],features:[i.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(dt,_t){1&dt&&(i.TgZ(0,"table",0),i.YNc(1,Fe,4,2,"thead",1),i.TgZ(2,"tbody"),i.YNc(3,ve,3,4,"tr",2),i.qZA()()),2&dt&&(i.xp6(1),i.Q6J("ngIf",_t.headRow&&_t.headRow.length>0),i.xp6(2),i.Q6J("ngForOf",_t.bodyRows)("ngForTrackBy",_t.trackByBodyRow))},dependencies:[t.mk,t.sg,t.O5,t.tP,t.RF,t.n9,t.ED],encapsulation:2,changeDetection:0})}return it})(),zo=(()=>{class it extends Do{get startYear(){return 10*parseInt(""+this.value.getYear()/10,10)}get endYear(){return this.startYear+9}superPrevious(){this.changeValue(this.value.addYears(-10))}superNext(){this.changeValue(this.value.addYears(10))}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:"",onClick:()=>this.changeMode("decade"),label:`${this.startYear}-${this.endYear}`}]}static#e=this.\u0275fac=function(){let Z;return function(_t){return(Z||(Z=i.n5z(it)))(_t||it)}}();static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["year-header"]],exportAs:["yearHeader"],features:[i.qOj],decls:11,vars:31,consts:[["role","button","type","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"button",0),i.NdJ("click",function(){return _t.superPrevious()}),i._UZ(2,"span",1),i.qZA(),i.TgZ(3,"button",0),i.NdJ("click",function(){return _t.previous()}),i._UZ(4,"span",2),i.qZA(),i.TgZ(5,"div"),i.YNc(6,nt,3,5,"ng-container",3),i.qZA(),i.TgZ(7,"button",0),i.NdJ("click",function(){return _t.next()}),i._UZ(8,"span",4),i.qZA(),i.TgZ(9,"button",0),i.NdJ("click",function(){return _t.superNext()}),i._UZ(10,"span",5),i.qZA()()),2&dt&&(i.Tol(_t.prefixCls),i.xp6(1),i.Gre("",_t.prefixCls,"-super-prev-btn"),i.Udp("visibility",_t.showSuperPreBtn?"visible":"hidden"),i.s9C("title",_t.superPreviousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-prev-btn"),i.Udp("visibility",_t.showPreBtn?"visible":"hidden"),i.s9C("title",_t.previousTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-view"),i.xp6(1),i.Q6J("ngForOf",_t.selectors),i.xp6(1),i.Gre("",_t.prefixCls,"-next-btn"),i.Udp("visibility",_t.showNextBtn?"visible":"hidden"),i.s9C("title",_t.nextTitle()),i.xp6(2),i.Gre("",_t.prefixCls,"-super-next-btn"),i.Udp("visibility",_t.showSuperNextBtn?"visible":"hidden"),i.s9C("title",_t.superNextTitle()))},dependencies:[t.sg],encapsulation:2,changeDetection:0})}return it})(),Io=(()=>{class it extends xi{constructor(Z){super(),this.dateHelper=Z,this.MAX_ROW=4,this.MAX_COL=3}makeHeadRow(){return[]}makeBodyRows(){const Z=this.activeDate&&this.activeDate.getYear(),dt=10*parseInt(""+Z/10,10),_t=dt+9,jt=dt-1,Cn=[];let Pn=0;for(let Mi=0;Mi=dt&&mo<=_t,isSelected:mo===(this.value&&this.value.getYear()),content:rs,title:rs,classMap:{},isLastCellInPanel:ji.getYear()===_t,isFirstCellInPanel:ji.getYear()===dt,cellRender:(0,d.rw)(this.cellRender,ji),fullCellRender:(0,d.rw)(this.fullCellRender,ji),onClick:()=>this.chooseYear(_i.value.getFullYear()),onMouseEnter:()=>this.cellHover.emit(ji)};this.addCellProperty(_i,ji),fo.dateCells.push(_i),Pn++}Cn.push(fo)}return Cn}getClassMap(Z){return{...super.getClassMap(Z),"ant-picker-cell-in-view":!!Z.isSameDecade}}isDisabledYear(Z){if(!this.disabledDate)return!1;for(let _t=Z.setMonth(0).setDate(1);_t.getYear()===Z.getYear();_t=_t.addDays(1))if(!this.disabledDate(_t.nativeDate))return!1;return!0}addCellProperty(Z,dt){if(this.hasRangeValue()){const[_t,jt]=this.hoverValue,[Cn,Pn]=this.selectedValue;Cn?.isSameYear(dt)&&(Z.isSelectedStart=!0,Z.isSelected=!0),Pn?.isSameYear(dt)&&(Z.isSelectedEnd=!0,Z.isSelected=!0),_t&&jt&&(Z.isHoverStart=_t.isSameYear(dt),Z.isHoverEnd=jt.isSameYear(dt),Z.isInHoverRange=_t.isBeforeYear(dt)&&dt.isBeforeYear(jt)),Z.isStartSingle=Cn&&!Pn,Z.isEndSingle=!Cn&&Pn,Z.isInSelectedRange=Cn?.isBeforeYear(dt)&&dt?.isBeforeYear(Pn),Z.isRangeStartNearHover=Cn&&Z.isInHoverRange,Z.isRangeEndNearHover=Pn&&Z.isInHoverRange}else dt.isSameYear(this.value)&&(Z.isSelected=!0);Z.classMap=this.getClassMap(Z)}chooseYear(Z){this.value=this.activeDate.setYear(Z),this.valueChange.emit(this.value),this.render()}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(m.mx))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["year-table"]],exportAs:["yearTable"],features:[i.qOj],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(dt,_t){1&dt&&(i.TgZ(0,"table",0),i.YNc(1,O,4,2,"thead",1),i.TgZ(2,"tbody"),i.YNc(3,xn,3,4,"tr",2),i.qZA()()),2&dt&&(i.xp6(1),i.Q6J("ngIf",_t.headRow&&_t.headRow.length>0),i.xp6(2),i.Q6J("ngForOf",_t.bodyRows)("ngForTrackBy",_t.trackByBodyRow))},dependencies:[t.mk,t.sg,t.O5,t.tP,t.RF,t.n9,t.ED],encapsulation:2,changeDetection:0})}return it})(),Xn=(()=>{class it{constructor(){this.panelModeChange=new i.vpe,this.headerChange=new i.vpe,this.selectDate=new i.vpe,this.selectTime=new i.vpe,this.cellHover=new i.vpe,this.prefixCls=Kt}enablePrevNext(Z,dt){return!(!this.showTimePicker&&dt===this.endPanelMode&&("left"===this.partType&&"next"===Z||"right"===this.partType&&"prev"===Z))}onSelectTime(Z){this.selectTime.emit(new _.Yp(Z))}onSelectDate(Z){const dt=Z instanceof _.Yp?Z:new _.Yp(Z),_t=this.timeOptions&&this.timeOptions.nzDefaultOpenValue;!this.value&&_t&&dt.setHms(_t.getHours(),_t.getMinutes(),_t.getSeconds()),this.selectDate.emit(dt)}onChooseMonth(Z){this.activeDate=this.activeDate.setMonth(Z.getMonth()),"month"===this.endPanelMode?(this.value=Z,this.selectDate.emit(Z)):(this.headerChange.emit(Z),this.panelModeChange.emit(this.endPanelMode))}onChooseYear(Z){this.activeDate=this.activeDate.setYear(Z.getYear()),"year"===this.endPanelMode?(this.value=Z,this.selectDate.emit(Z)):(this.headerChange.emit(Z),this.panelModeChange.emit(this.endPanelMode))}onChooseDecade(Z){this.activeDate=this.activeDate.setYear(Z.getYear()),"decade"===this.endPanelMode?(this.value=Z,this.selectDate.emit(Z)):(this.headerChange.emit(Z),this.panelModeChange.emit("year"))}ngOnChanges(Z){Z.activeDate&&!Z.activeDate.currentValue&&(this.activeDate=new _.Yp),Z.panelMode&&"time"===Z.panelMode.currentValue&&(this.panelMode="date")}static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["inner-popup"]],inputs:{activeDate:"activeDate",endPanelMode:"endPanelMode",panelMode:"panelMode",showWeek:"showWeek",locale:"locale",showTimePicker:"showTimePicker",timeOptions:"timeOptions",disabledDate:"disabledDate",dateRender:"dateRender",selectedValue:"selectedValue",hoverValue:"hoverValue",value:"value",partType:"partType"},outputs:{panelModeChange:"panelModeChange",headerChange:"headerChange",selectDate:"selectDate",selectTime:"selectTime",cellHover:"cellHover"},exportAs:["innerPopup"],features:[i.TTD],decls:8,vars:11,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showNextBtn","showPreBtn","valueChange","panelModeChange"],[3,"activeDate","value","locale","disabledDate","valueChange"],[3,"activeDate","value","locale","disabledDate","selectedValue","hoverValue","valueChange","cellHover"],[3,"value","activeDate","locale","disabledDate","selectedValue","hoverValue","valueChange","cellHover"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showPreBtn","showNextBtn","valueChange","panelModeChange"],[3,"locale","showWeek","value","activeDate","disabledDate","cellRender","selectedValue","hoverValue","canSelectWeek","valueChange","cellHover"],[3,"nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn","ngModelChange"]],template:function(dt,_t){1&dt&&(i.TgZ(0,"div")(1,"div"),i.ynx(2,0),i.YNc(3,Ln,4,13,"ng-container",1),i.YNc(4,ei,4,15,"ng-container",1),i.YNc(5,ii,4,15,"ng-container",1),i.YNc(6,Hn,4,18,"ng-container",2),i.BQk(),i.qZA(),i.YNc(7,di,2,13,"ng-container",3),i.qZA()),2&dt&&(i.ekj("ant-picker-datetime-panel",_t.showTimePicker),i.xp6(1),i.MT6("",_t.prefixCls,"-",_t.panelMode,"-panel"),i.xp6(1),i.Q6J("ngSwitch",_t.panelMode),i.xp6(1),i.Q6J("ngSwitchCase","decade"),i.xp6(1),i.Q6J("ngSwitchCase","year"),i.xp6(1),i.Q6J("ngSwitchCase","month"),i.xp6(2),i.Q6J("ngIf",_t.showTimePicker&&_t.timeOptions))},dependencies:[t.O5,t.RF,t.n9,t.ED,l.JJ,l.On,Yo,wo,Xo,qo,Po,po,zo,Io,v.Iv],encapsulation:2,changeDetection:0})}return it})(),ds=(()=>{class it{get hasTimePicker(){return!!this.showTime}get hasFooter(){return this.showToday||this.hasTimePicker||!!this.extraFooter||!!this.ranges}get arrowPosition(){return"rtl"===this.dir?{right:`${this.datePickerService?.arrowLeft}px`}:{left:`${this.datePickerService?.arrowLeft}px`}}constructor(Z,dt,_t,jt){this.datePickerService=Z,this.cdr=dt,this.ngZone=_t,this.host=jt,this.inline=!1,this.dir="ltr",this.panelModeChange=new i.vpe,this.calendarChange=new i.vpe,this.resultOk=new i.vpe,this.prefixCls=Kt,this.endPanelMode="date",this.timeOptions=null,this.hoverValue=[],this.checkedPartArr=[!1,!1],this.destroy$=new y.x,this.disabledStartTime=Cn=>this.disabledTime&&this.disabledTime(Cn,"start"),this.disabledEndTime=Cn=>this.disabledTime&&this.disabledTime(Cn,"end")}ngOnInit(){(0,P.T)(this.datePickerService.valueChange$,this.datePickerService.inputPartChange$).pipe((0,k.R)(this.destroy$)).subscribe(()=>{this.updateActiveDate(),this.cdr.markForCheck()}),this.ngZone.runOutsideAngular(()=>{(0,S.R)(this.host.nativeElement,"mousedown").pipe((0,k.R)(this.destroy$)).subscribe(Z=>Z.preventDefault())})}ngOnChanges(Z){(Z.showTime||Z.disabledTime)&&this.showTime&&this.buildTimeOptions(),Z.panelMode&&(this.endPanelMode=this.panelMode),Z.defaultPickerValue&&this.updateActiveDate()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}updateActiveDate(){const Z=this.datePickerService.hasValue()?this.datePickerService.value:this.datePickerService.makeValue(this.defaultPickerValue);this.datePickerService.setActiveDate(Z,this.hasTimePicker,this.getPanelMode(this.endPanelMode))}onClickOk(){this.changeValueFromSelect(this.isRange?this.datePickerService.value[{left:0,right:1}[this.datePickerService.activeInput]]:this.datePickerService.value),this.resultOk.emit()}onClickToday(Z){this.changeValueFromSelect(Z,!this.showTime)}onCellHover(Z){if(!this.isRange)return;const _t=this.datePickerService.value[{left:1,right:0}[this.datePickerService.activeInput]];_t&&(this.hoverValue=_t.isBeforeDay(Z)?[_t,Z]:[Z,_t])}onPanelModeChange(Z,dt){this.panelMode=this.isRange?0===this.datePickerService.getActiveIndex(dt)?[Z,this.panelMode[1]]:[this.panelMode[0],Z]:Z,this.panelModeChange.emit(this.panelMode)}onActiveDateChange(Z,dt){if(this.isRange){const _t=[];_t[this.datePickerService.getActiveIndex(dt)]=Z,this.datePickerService.setActiveDate(_t,this.hasTimePicker,this.getPanelMode(this.endPanelMode,dt))}else this.datePickerService.setActiveDate(Z)}onSelectTime(Z,dt){if(this.isRange){const _t=(0,_.ky)(this.datePickerService.value),jt=this.datePickerService.getActiveIndex(dt);_t[jt]=this.overrideHms(Z,_t[jt]),this.datePickerService.setValue(_t)}else{const _t=this.overrideHms(Z,this.datePickerService.value);this.datePickerService.setValue(_t)}this.datePickerService.inputPartChange$.next(null),this.buildTimeOptions()}changeValueFromSelect(Z,dt=!0){if(this.isRange){const _t=(0,_.ky)(this.datePickerService.value),jt=this.datePickerService.activeInput;let Cn=jt;_t[this.datePickerService.getActiveIndex(jt)]=Z,this.checkedPartArr[this.datePickerService.getActiveIndex(jt)]=!0,this.hoverValue=_t,dt?this.inline?(Cn=this.reversedPart(jt),"right"===Cn&&(_t[this.datePickerService.getActiveIndex(Cn)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(Cn)]=!1),this.datePickerService.setValue(_t),this.calendarChange.emit(_t),this.isBothAllowed(_t)&&this.checkedPartArr[0]&&this.checkedPartArr[1]&&(this.clearHoverValue(),this.datePickerService.emitValue$.next())):((0,_.Et)(_t)&&(Cn=this.reversedPart(jt),_t[this.datePickerService.getActiveIndex(Cn)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(Cn)]=!1),this.datePickerService.setValue(_t),this.isBothAllowed(_t)&&this.checkedPartArr[0]&&this.checkedPartArr[1]?(this.calendarChange.emit(_t),this.clearHoverValue(),this.datePickerService.emitValue$.next()):this.isAllowed(_t)&&(Cn=this.reversedPart(jt),this.calendarChange.emit([Z.clone()]))):this.datePickerService.setValue(_t),this.datePickerService.inputPartChange$.next(Cn)}else this.datePickerService.setValue(Z),this.datePickerService.inputPartChange$.next(null),dt&&this.isAllowed(Z)&&this.datePickerService.emitValue$.next();this.buildTimeOptions()}reversedPart(Z){return"left"===Z?"right":"left"}getPanelMode(Z,dt){return this.isRange?Z[this.datePickerService.getActiveIndex(dt)]:Z}getValue(Z){return this.isRange?(this.datePickerService.value||[])[this.datePickerService.getActiveIndex(Z)]:this.datePickerService.value}getActiveDate(Z){return this.isRange?this.datePickerService.activeDate[this.datePickerService.getActiveIndex(Z)]:this.datePickerService.activeDate}isOneAllowed(Z){const dt=this.datePickerService.getActiveIndex();return Ai(Z[dt],this.disabledDate,[this.disabledStartTime,this.disabledEndTime][dt])}isBothAllowed(Z){return Ai(Z[0],this.disabledDate,this.disabledStartTime)&&Ai(Z[1],this.disabledDate,this.disabledEndTime)}isAllowed(Z,dt=!1){return this.isRange?dt?this.isBothAllowed(Z):this.isOneAllowed(Z):Ai(Z,this.disabledDate,this.disabledTime)}getTimeOptions(Z){return this.showTime&&this.timeOptions?this.timeOptions instanceof Array?this.timeOptions[this.datePickerService.getActiveIndex(Z)]:this.timeOptions:null}onClickPresetRange(Z){const dt="function"==typeof Z?Z():Z;dt&&(this.datePickerService.setValue([new _.Yp(dt[0]),new _.Yp(dt[1])]),this.datePickerService.emitValue$.next())}onPresetRangeMouseLeave(){this.clearHoverValue()}onHoverPresetRange(Z){"function"!=typeof Z&&(this.hoverValue=[new _.Yp(Z[0]),new _.Yp(Z[1])])}getObjectKeys(Z){return Z?Object.keys(Z):[]}show(Z){return!(this.showTime&&this.isRange&&this.datePickerService.activeInput!==Z)}clearHoverValue(){this.hoverValue=[]}buildTimeOptions(){if(this.showTime){const Z="object"==typeof this.showTime?this.showTime:{};if(this.isRange){const dt=this.datePickerService.value;this.timeOptions=[this.overrideTimeOptions(Z,dt[0],"start"),this.overrideTimeOptions(Z,dt[1],"end")]}else this.timeOptions=this.overrideTimeOptions(Z,this.datePickerService.value)}else this.timeOptions=null}overrideTimeOptions(Z,dt,_t){let jt;return jt=_t?"start"===_t?this.disabledStartTime:this.disabledEndTime:this.disabledTime,{...Z,...mn(dt,jt)}}overrideHms(Z,dt){return Z=Z||new _.Yp,(dt=dt||new _.Yp).setHms(Z.getHours(),Z.getMinutes(),Z.getSeconds())}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Ro),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(i.SBq))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["date-range-popup"]],inputs:{isRange:"isRange",inline:"inline",showWeek:"showWeek",locale:"locale",disabledDate:"disabledDate",disabledTime:"disabledTime",showToday:"showToday",showNow:"showNow",showTime:"showTime",extraFooter:"extraFooter",ranges:"ranges",dateRender:"dateRender",panelMode:"panelMode",defaultPickerValue:"defaultPickerValue",dir:"dir"},outputs:{panelModeChange:"panelModeChange",calendarChange:"calendarChange",resultOk:"resultOk"},exportAs:["dateRangePopup"],features:[i.TTD],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["singlePanel",""],["tplInnerPopup",""],["tplFooter",""],["tplRangeQuickSelector",""],["noTimePicker",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1"],[3,"showWeek","endPanelMode","partType","locale","showTimePicker","timeOptions","panelMode","activeDate","value","disabledDate","dateRender","selectedValue","hoverValue","panelModeChange","cellHover","selectDate","selectTime","headerChange"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday",4,"ngIf"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday"],[3,"class","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],[3,"click","mouseenter","mouseleave"],[1,"ant-tag","ant-tag-blue"]],template:function(dt,_t){if(1&dt&&(i.YNc(0,Zi,9,19,"ng-container",0),i.YNc(1,$i,4,13,"ng-template",null,1,i.W1O),i.YNc(3,no,2,18,"ng-template",null,2,i.W1O),i.YNc(5,wi,1,1,"ng-template",null,3,i.W1O),i.YNc(7,Di,1,1,"ng-template",null,4,i.W1O)),2&dt){const jt=i.MAs(2);i.Q6J("ngIf",_t.isRange)("ngIfElse",jt)}},dependencies:[t.sg,t.O5,t.tP,Nn,Xn],encapsulation:2,changeDetection:0})}return it})();const Vi={position:"relative"};let Si=(()=>{class it{get nzShowTime(){return this.showTime}set nzShowTime(Z){this.showTime="object"==typeof Z?Z:(0,d.sw)(Z)}get realOpenState(){return this.isOpenHandledByUser()?!!this.nzOpen:this.overlayOpen}ngAfterViewInit(){this.nzAutoFocus&&this.focus(),this.isRange&&this.platform.isBrowser&&this.nzResizeObserver.observe(this.elementRef).pipe((0,k.R)(this.destroy$)).subscribe(()=>{this.updateInputWidthAndArrowLeft()}),this.datePickerService.inputPartChange$.pipe((0,k.R)(this.destroy$)).subscribe(Z=>{Z&&(this.datePickerService.activeInput=Z),this.focus(),this.updateInputWidthAndArrowLeft()}),this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>(0,S.R)(this.elementRef.nativeElement,"mousedown").pipe((0,k.R)(this.destroy$)).subscribe(Z=>{"input"!==Z.target.tagName.toLowerCase()&&Z.preventDefault()}))}updateInputWidthAndArrowLeft(){this.inputWidth=this.rangePickerInputs?.first?.nativeElement.offsetWidth||0;const Z={position:"absolute",width:`${this.inputWidth}px`};this.datePickerService.arrowLeft="left"===this.datePickerService.activeInput?0:this.inputWidth+this.separatorElement?.nativeElement.offsetWidth||0,this.activeBarStyle="rtl"===this.dir?{...Z,right:`${this.datePickerService.arrowLeft}px`}:{...Z,left:`${this.datePickerService.arrowLeft}px`},this.cdr.markForCheck()}getInput(Z){if(!this.nzInline)return this.isRange?"left"===Z?this.rangePickerInputs?.first.nativeElement:this.rangePickerInputs?.last.nativeElement:this.pickerInput.nativeElement}focus(){const Z=this.getInput(this.datePickerService.activeInput);this.document.activeElement!==Z&&Z?.focus()}onFocus(Z,dt){Z.preventDefault(),dt&&this.datePickerService.inputPartChange$.next(dt),this.renderClass(!0)}onFocusout(Z){Z.preventDefault(),this.onTouchedFn(),this.elementRef.nativeElement.contains(Z.relatedTarget)||this.checkAndClose(),this.renderClass(!1)}open(){this.nzInline||!this.realOpenState&&!this.nzDisabled&&(this.updateInputWidthAndArrowLeft(),this.overlayOpen=!0,this.nzOnOpenChange.emit(!0),this.focus(),this.cdr.markForCheck())}close(){this.nzInline||this.realOpenState&&(this.overlayOpen=!1,this.nzOnOpenChange.emit(!1))}showClear(){return!this.nzDisabled&&!this.isEmptyValue(this.datePickerService.value)&&this.nzAllowClear}checkAndClose(){if(this.realOpenState)if(this.panel.isAllowed(this.datePickerService.value,!0)){if(Array.isArray(this.datePickerService.value)&&(0,_.Et)(this.datePickerService.value)){const Z=this.datePickerService.getActiveIndex();return void this.panel.changeValueFromSelect(this.datePickerService.value[Z],!0)}this.updateInputValue(),this.datePickerService.emitValue$.next()}else this.datePickerService.setValue(this.datePickerService.initialValue),this.close()}onClickInputBox(Z){Z.stopPropagation(),this.focus(),this.isOpenHandledByUser()||this.open()}onOverlayKeydown(Z){Z.keyCode===b.hY&&this.datePickerService.initValue()}onPositionChange(Z){this.currentPositionX=Z.connectionPair.originX,this.currentPositionY=Z.connectionPair.originY,this.cdr.detectChanges()}onClickClear(Z){Z.preventDefault(),Z.stopPropagation(),this.datePickerService.initValue(!0),this.datePickerService.emitValue$.next()}updateInputValue(){const Z=this.datePickerService.value;this.inputValue=this.isRange?Z?Z.map(dt=>this.formatValue(dt)):["",""]:this.formatValue(Z),this.cdr.markForCheck()}formatValue(Z){return this.dateHelper.format(Z&&Z.nativeDate,this.nzFormat)}onInputChange(Z,dt=!1){if(!this.platform.TRIDENT&&this.document.activeElement===this.getInput(this.datePickerService.activeInput)&&!this.realOpenState)return void this.open();const _t=this.checkValidDate(Z);_t&&this.realOpenState&&this.panel.changeValueFromSelect(_t,dt)}onKeyupEnter(Z){this.onInputChange(Z.target.value,!0)}checkValidDate(Z){const dt=new _.Yp(this.dateHelper.parseDate(Z,this.nzFormat));return dt.isValid()&&Z===this.dateHelper.format(dt.nativeDate,this.nzFormat)?dt:null}getPlaceholder(Z){return this.isRange?this.nzPlaceHolder[this.datePickerService.getActiveIndex(Z)]:this.nzPlaceHolder}isEmptyValue(Z){return null===Z||(this.isRange?!Z||!Array.isArray(Z)||Z.every(dt=>!dt):!Z)}isOpenHandledByUser(){return void 0!==this.nzOpen}constructor(Z,dt,_t,jt,Cn,Pn,Mi,fo,qi,mo,ji,rs,Lo,_i,vs,$o){this.nzConfigService=Z,this.datePickerService=dt,this.i18n=_t,this.cdr=jt,this.renderer=Cn,this.ngZone=Pn,this.elementRef=Mi,this.dateHelper=fo,this.nzResizeObserver=qi,this.platform=mo,this.destroy$=ji,this.directionality=Lo,this.noAnimation=_i,this.nzFormStatusService=vs,this.nzFormNoStatusService=$o,this._nzModuleName="datePicker",this.isRange=!1,this.dir="ltr",this.statusCls={},this.status="",this.hasFeedback=!1,this.panelMode="date",this.isCustomPlaceHolder=!1,this.isCustomFormat=!1,this.showTime=!1,this.isNzDisableFirstChange=!0,this.nzAllowClear=!0,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzBorderless=!1,this.nzInputReadOnly=!1,this.nzInline=!1,this.nzPlaceHolder="",this.nzPopupStyle=Vi,this.nzSize="default",this.nzStatus="",this.nzShowToday=!0,this.nzMode="date",this.nzShowNow=!0,this.nzDefaultPickerValue=null,this.nzSeparator=void 0,this.nzSuffixIcon="calendar",this.nzBackdrop=!1,this.nzId=null,this.nzPlacement="bottomLeft",this.nzShowWeekNumber=!1,this.nzOnPanelChange=new i.vpe,this.nzOnCalendarChange=new i.vpe,this.nzOnOk=new i.vpe,this.nzOnOpenChange=new i.vpe,this.inputSize=12,this.prefixCls=Kt,this.activeBarStyle={},this.overlayOpen=!1,this.overlayPositions=[...M.bw],this.currentPositionX="start",this.currentPositionY="bottom",this.onChangeFn=()=>{},this.onTouchedFn=()=>{},this.document=rs,this.origin=new n.xu(this.elementRef)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,R.x)((Z,dt)=>Z.status===dt.status&&Z.hasFeedback===dt.hasFeedback),(0,W.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,A.of)(!1)),(0,j.U)(([{status:Z,hasFeedback:dt},_t])=>({status:_t?"":Z,hasFeedback:dt})),(0,k.R)(this.destroy$)).subscribe(({status:Z,hasFeedback:dt})=>{this.setStatusStyles(Z,dt)}),this.nzLocale||this.i18n.localeChange.pipe((0,k.R)(this.destroy$)).subscribe(()=>this.setLocale()),this.datePickerService.isRange=this.isRange,this.datePickerService.initValue(!0),this.datePickerService.emitValue$.pipe((0,k.R)(this.destroy$)).subscribe(()=>{const Z=this.showTime?"second":"day",dt=this.datePickerService.value,_t=this.datePickerService.initialValue;if(!this.isRange&&dt?.isSame(_t?.nativeDate,Z))return this.onTouchedFn(),this.close();if(this.isRange){const[jt,Cn]=_t,[Pn,Mi]=dt;if(jt?.isSame(Pn?.nativeDate,Z)&&Cn?.isSame(Mi?.nativeDate,Z))return this.onTouchedFn(),this.close()}if(this.datePickerService.initialValue=(0,_.ky)(dt),this.isRange){const jt=dt;this.onChangeFn(jt.length?[jt[0]?.nativeDate??null,jt[1]?.nativeDate??null]:[])}else this.onChangeFn(dt?dt.nativeDate:null);this.onTouchedFn(),this.close()}),this.directionality.change?.pipe((0,k.R)(this.destroy$)).subscribe(Z=>{this.dir=Z,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.inputValue=this.isRange?["",""]:"",this.setModeAndFormat(),this.datePickerService.valueChange$.pipe((0,k.R)(this.destroy$)).subscribe(()=>{this.updateInputValue()})}ngOnChanges(Z){const{nzStatus:dt,nzPlacement:_t}=Z;Z.nzPopupStyle&&(this.nzPopupStyle=this.nzPopupStyle?{...this.nzPopupStyle,...Vi}:Vi),Z.nzPlaceHolder?.currentValue&&(this.isCustomPlaceHolder=!0),Z.nzFormat?.currentValue&&(this.isCustomFormat=!0),Z.nzLocale&&this.setDefaultPlaceHolder(),Z.nzRenderExtraFooter&&(this.extraFooter=(0,d.rw)(this.nzRenderExtraFooter)),Z.nzMode&&(this.setDefaultPlaceHolder(),this.setModeAndFormat()),dt&&this.setStatusStyles(this.nzStatus,this.hasFeedback),_t&&this.setPlacement(this.nzPlacement)}setModeAndFormat(){const Z={year:"yyyy",month:"yyyy-MM",week:"YYYY-ww",date:this.nzShowTime?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd"};this.nzMode||(this.nzMode="date"),this.panelMode=this.isRange?[this.nzMode,this.nzMode]:this.nzMode,this.isCustomFormat||(this.nzFormat=Z[this.nzMode]),this.inputSize=Math.max(10,this.nzFormat.length)+2,this.updateInputValue()}onOpenChange(Z){this.nzOnOpenChange.emit(Z)}writeValue(Z){this.setValue(Z),this.cdr.markForCheck()}registerOnChange(Z){this.onChangeFn=Z}registerOnTouched(Z){this.onTouchedFn=Z}setDisabledState(Z){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||Z,this.cdr.markForCheck(),this.isNzDisableFirstChange=!1}setLocale(){this.nzLocale=this.i18n.getLocaleData("DatePicker",{}),this.setDefaultPlaceHolder(),this.cdr.markForCheck()}setDefaultPlaceHolder(){if(!this.isCustomPlaceHolder&&this.nzLocale){const Z={year:this.getPropertyOfLocale("yearPlaceholder"),month:this.getPropertyOfLocale("monthPlaceholder"),week:this.getPropertyOfLocale("weekPlaceholder"),date:this.getPropertyOfLocale("placeholder")},dt={year:this.getPropertyOfLocale("rangeYearPlaceholder"),month:this.getPropertyOfLocale("rangeMonthPlaceholder"),week:this.getPropertyOfLocale("rangeWeekPlaceholder"),date:this.getPropertyOfLocale("rangePlaceholder")};this.nzPlaceHolder=this.isRange?dt[this.nzMode]:Z[this.nzMode]}}getPropertyOfLocale(Z){return this.nzLocale.lang[Z]||this.i18n.getLocaleData(`DatePicker.lang.${Z}`)}setValue(Z){const dt=this.datePickerService.makeValue(Z);this.datePickerService.setValue(dt),this.datePickerService.initialValue=(0,_.ky)(dt),this.cdr.detectChanges()}renderClass(Z){Z?this.renderer.addClass(this.elementRef.nativeElement,"ant-picker-focused"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-picker-focused")}onPanelModeChange(Z){this.nzOnPanelChange.emit(Z)}onCalendarChange(Z){if(this.isRange&&Array.isArray(Z)){const dt=Z.filter(_t=>_t instanceof _.Yp).map(_t=>_t.nativeDate);this.nzOnCalendarChange.emit(dt)}}onResultOk(){if(this.isRange){const Z=this.datePickerService.value;this.nzOnOk.emit(Z.length?[Z[0]?.nativeDate||null,Z[1]?.nativeDate||null]:[])}else this.nzOnOk.emit(this.datePickerService.value?this.datePickerService.value.nativeDate:null)}setStatusStyles(Z,dt){this.status=Z,this.hasFeedback=dt,this.cdr.markForCheck(),this.statusCls=(0,d.Zu)(this.prefixCls,Z,dt),Object.keys(this.statusCls).forEach(_t=>{this.statusCls[_t]?this.renderer.addClass(this.elementRef.nativeElement,_t):this.renderer.removeClass(this.elementRef.nativeElement,_t)})}setPlacement(Z){const dt=M.dz[Z];this.overlayPositions=[dt,...M.bw],this.currentPositionX=dt.originX,this.currentPositionY=dt.originY}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Y.jY),i.Y36(Ro),i.Y36(m.wi),i.Y36(i.sBO),i.Y36(i.Qsj),i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(m.mx),i.Y36(V.D3),i.Y36(K.t4),i.Y36(G.kn),i.Y36(t.K0),i.Y36(e.Is,8),i.Y36(u.P,9),i.Y36(E.kH,8),i.Y36(E.yW,8))};static#t=this.\u0275cmp=i.Xpm({type:it,selectors:[["nz-date-picker"],["nz-week-picker"],["nz-month-picker"],["nz-year-picker"],["nz-range-picker"]],viewQuery:function(dt,_t){if(1&dt&&(i.Gf(n.pI,5),i.Gf(ds,5),i.Gf(Wi,5),i.Gf(Xi,5),i.Gf(bi,5)),2&dt){let jt;i.iGM(jt=i.CRH())&&(_t.cdkConnectedOverlay=jt.first),i.iGM(jt=i.CRH())&&(_t.panel=jt.first),i.iGM(jt=i.CRH())&&(_t.separatorElement=jt.first),i.iGM(jt=i.CRH())&&(_t.pickerInput=jt.first),i.iGM(jt=i.CRH())&&(_t.rangePickerInputs=jt)}},hostVars:16,hostBindings:function(dt,_t){1&dt&&i.NdJ("click",function(Cn){return _t.onClickInputBox(Cn)}),2&dt&&i.ekj("ant-picker",!0)("ant-picker-range",_t.isRange)("ant-picker-large","large"===_t.nzSize)("ant-picker-small","small"===_t.nzSize)("ant-picker-disabled",_t.nzDisabled)("ant-picker-rtl","rtl"===_t.dir)("ant-picker-borderless",_t.nzBorderless)("ant-picker-inline",_t.nzInline)},inputs:{nzAllowClear:"nzAllowClear",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzBorderless:"nzBorderless",nzInputReadOnly:"nzInputReadOnly",nzInline:"nzInline",nzOpen:"nzOpen",nzDisabledDate:"nzDisabledDate",nzLocale:"nzLocale",nzPlaceHolder:"nzPlaceHolder",nzPopupStyle:"nzPopupStyle",nzDropdownClassName:"nzDropdownClassName",nzSize:"nzSize",nzStatus:"nzStatus",nzFormat:"nzFormat",nzDateRender:"nzDateRender",nzDisabledTime:"nzDisabledTime",nzRenderExtraFooter:"nzRenderExtraFooter",nzShowToday:"nzShowToday",nzMode:"nzMode",nzShowNow:"nzShowNow",nzRanges:"nzRanges",nzDefaultPickerValue:"nzDefaultPickerValue",nzSeparator:"nzSeparator",nzSuffixIcon:"nzSuffixIcon",nzBackdrop:"nzBackdrop",nzId:"nzId",nzPlacement:"nzPlacement",nzShowWeekNumber:"nzShowWeekNumber",nzShowTime:"nzShowTime"},outputs:{nzOnPanelChange:"nzOnPanelChange",nzOnCalendarChange:"nzOnCalendarChange",nzOnOk:"nzOnOk",nzOnOpenChange:"nzOnOpenChange"},exportAs:["nzDatePicker"],features:[i._Bn([G.kn,Ro,{provide:l.JU,multi:!0,useExisting:(0,i.Gpc)(()=>it)}]),i.TTD],decls:8,vars:7,consts:[[4,"ngIf","ngIfElse"],["tplRangeInput",""],["tplRightRest",""],["inlineMode",""],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayTransformOriginOn","positionChange","detach","overlayKeydown"],[3,"class",4,"ngIf"],[4,"ngIf"],["autocomplete","off",3,"disabled","readOnly","ngModel","placeholder","size","ngModelChange","focus","focusout","keyup.enter"],["pickerInput",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["separatorElement",""],[4,"nzStringTemplateOutlet"],["defaultSeparator",""],["nz-icon","","nzType","swap-right","nzTheme","outline"],["autocomplete","off",3,"disabled","readOnly","size","ngModel","placeholder","click","focusout","focus","keyup.enter","ngModelChange"],["rangePickerInput",""],[3,"ngStyle"],[3,"class","click",4,"ngIf"],[3,"status",4,"ngIf"],[3,"click"],["nz-icon","","nzType","close-circle","nzTheme","fill"],["nz-icon","",3,"nzType"],[3,"status"],[3,"isRange","inline","defaultPickerValue","showWeek","panelMode","locale","showToday","showNow","showTime","dateRender","disabledDate","disabledTime","extraFooter","ranges","dir","panelModeChange","calendarChange","resultOk"],[1,"ant-picker-wrapper",2,"position","relative",3,"nzNoAnimation"]],template:function(dt,_t){if(1&dt&&(i.YNc(0,Xt,3,2,"ng-container",0),i.YNc(1,_n,2,6,"ng-template",null,1,i.W1O),i.YNc(3,bt,5,10,"ng-template",null,2,i.W1O),i.YNc(5,at,2,36,"ng-template",null,3,i.W1O),i.YNc(7,Rt,2,3,"ng-template",4),i.NdJ("positionChange",function(Cn){return _t.onPositionChange(Cn)})("detach",function(){return _t.close()})("overlayKeydown",function(Cn){return _t.onOverlayKeydown(Cn)})),2&dt){const jt=i.MAs(6);i.Q6J("ngIf",!_t.nzInline)("ngIfElse",jt),i.xp6(7),i.Q6J("cdkConnectedOverlayHasBackdrop",_t.nzBackdrop)("cdkConnectedOverlayOrigin",_t.origin)("cdkConnectedOverlayOpen",_t.realOpenState)("cdkConnectedOverlayPositions",_t.overlayPositions)("cdkConnectedOverlayTransformOriginOn",".ant-picker-wrapper")}},dependencies:[e.Lv,t.O5,t.tP,t.PC,l.Fj,l.JJ,l.On,n.pI,p.Ls,M.hQ,u.P,E.w_,z.f,f.w,ds],encapsulation:2,data:{animation:[ze.mF]},changeDetection:0})}return(0,T.gn)([(0,d.yF)()],it.prototype,"nzAllowClear",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzAutoFocus",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzDisabled",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzBorderless",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzInputReadOnly",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzInline",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzOpen",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzShowToday",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzShowNow",void 0),(0,T.gn)([(0,Y.oS)()],it.prototype,"nzSeparator",void 0),(0,T.gn)([(0,Y.oS)()],it.prototype,"nzSuffixIcon",void 0),(0,T.gn)([(0,Y.oS)()],it.prototype,"nzBackdrop",void 0),(0,T.gn)([(0,d.yF)()],it.prototype,"nzShowWeekNumber",void 0),it})(),To=(()=>{class it{static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275mod=i.oAB({type:it});static#n=this.\u0275inj=i.cJS({imports:[t.ez,l.u5,m.YI,v.wY,z.T]})}return it})(),xo=(()=>{class it{constructor(Z){this.datePicker=Z,this.datePicker.nzMode="month"}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Si,9))};static#t=this.\u0275dir=i.lG2({type:it,selectors:[["nz-month-picker"]],exportAs:["nzMonthPicker"]})}return it})(),Ui=(()=>{class it{constructor(Z){this.datePicker=Z,this.datePicker.isRange=!0}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Si,9))};static#t=this.\u0275dir=i.lG2({type:it,selectors:[["nz-range-picker"]],exportAs:["nzRangePicker"]})}return it})(),Ci=(()=>{class it{constructor(Z){this.datePicker=Z,this.datePicker.nzMode="week"}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Si,9))};static#t=this.\u0275dir=i.lG2({type:it,selectors:[["nz-week-picker"]],exportAs:["nzWeekPicker"]})}return it})(),ss=(()=>{class it{constructor(Z){this.datePicker=Z,this.datePicker.nzMode="year"}static#e=this.\u0275fac=function(dt){return new(dt||it)(i.Y36(Si,9))};static#t=this.\u0275dir=i.lG2({type:it,selectors:[["nz-year-picker"]],exportAs:["nzYearPicker"]})}return it})(),io=(()=>{class it{static#e=this.\u0275fac=function(dt){return new(dt||it)};static#t=this.\u0275mod=i.oAB({type:it});static#n=this.\u0275inj=i.cJS({imports:[e.vT,t.ez,l.u5,n.U8,To,p.PV,M.e4,u.g,E.mJ,z.T,v.wY,h.sL,To]})}return it})()},66987:(tt,I,o)=>{"use strict";o.d(I,{S:()=>M,g:()=>z});var e=o(97582),n=o(65879),t=o(27754),i=o(96814),l=o(8324),h=o(49388);function E(p,v){if(1&p&&(n.ynx(0),n._uU(1),n.BQk()),2&p){const _=n.oxw(2);n.xp6(1),n.Oqu(_.nzText)}}function u(p,v){if(1&p&&(n.TgZ(0,"span",1),n.YNc(1,E,2,1,"ng-container",2),n.qZA()),2&p){const _=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",_.nzText)}}let z=(()=>{class p{constructor(){this.nzType="horizontal",this.nzOrientation="center",this.nzDashed=!1,this.nzPlain=!1}static#e=this.\u0275fac=function(d){return new(d||p)};static#t=this.\u0275cmp=n.Xpm({type:p,selectors:[["nz-divider"]],hostAttrs:[1,"ant-divider"],hostVars:16,hostBindings:function(d,m){2&d&&n.ekj("ant-divider-horizontal","horizontal"===m.nzType)("ant-divider-vertical","vertical"===m.nzType)("ant-divider-with-text",m.nzText)("ant-divider-plain",m.nzPlain)("ant-divider-with-text-left",m.nzText&&"left"===m.nzOrientation)("ant-divider-with-text-right",m.nzText&&"right"===m.nzOrientation)("ant-divider-with-text-center",m.nzText&&"center"===m.nzOrientation)("ant-divider-dashed",m.nzDashed)},inputs:{nzText:"nzText",nzType:"nzType",nzOrientation:"nzOrientation",nzDashed:"nzDashed",nzPlain:"nzPlain"},exportAs:["nzDivider"],decls:1,vars:1,consts:[["class","ant-divider-inner-text",4,"ngIf"],[1,"ant-divider-inner-text"],[4,"nzStringTemplateOutlet"]],template:function(d,m){1&d&&n.YNc(0,u,2,1,"span",0),2&d&&n.Q6J("ngIf",m.nzText)},dependencies:[i.O5,l.f],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,t.yF)()],p.prototype,"nzDashed",void 0),(0,e.gn)([(0,t.yF)()],p.prototype,"nzPlain",void 0),p})(),M=(()=>{class p{static#e=this.\u0275fac=function(d){return new(d||p)};static#t=this.\u0275mod=n.oAB({type:p});static#n=this.\u0275inj=n.cJS({imports:[h.vT,i.ez,l.T]})}return p})()},43389:(tt,I,o)=>{"use strict";o.d(I,{BL:()=>le,SQ:()=>te,Vz:()=>X,ai:()=>Ne,lB:()=>De});var e=o(97582),n=o(36028),t=o(33651),i=o(68484),l=o(96814),h=o(65879),E=o(78645),u=o(59773),z=o(83064),M=o(27754),p=o(4300),v=o(49388),_=o(90551),d=o(8324),m=o(331);const f=["drawerTemplate"];function C(ke,oe){if(1&ke){const _e=h.EpF();h.TgZ(0,"div",11),h.NdJ("click",function(){h.CHM(_e);const He=h.oxw(2);return h.KtG(He.maskClick())}),h.qZA()}if(2&ke){const _e=h.oxw(2);h.Q6J("ngStyle",_e.nzMaskStyle)}}function T(ke,oe){if(1&ke&&(h.ynx(0),h._UZ(1,"span",19),h.BQk()),2&ke){const _e=oe.$implicit;h.xp6(1),h.Q6J("nzType",_e)}}function b(ke,oe){if(1&ke){const _e=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){h.CHM(_e);const He=h.oxw(3);return h.KtG(He.closeClick())}),h.YNc(1,T,2,1,"ng-container",18),h.qZA()}if(2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("nzStringTemplateOutlet",_e.nzCloseIcon)}}function D(ke,oe){if(1&ke&&(h.ynx(0),h._UZ(1,"div",21),h.BQk()),2&ke){const _e=h.oxw(4);h.xp6(1),h.Q6J("innerHTML",_e.nzTitle,h.oJD)}}function y(ke,oe){if(1&ke&&(h.TgZ(0,"div",20),h.YNc(1,D,2,1,"ng-container",18),h.qZA()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("nzStringTemplateOutlet",_e.nzTitle)}}function P(ke,oe){if(1&ke&&(h.ynx(0),h._UZ(1,"div",21),h.BQk()),2&ke){const _e=h.oxw(4);h.xp6(1),h.Q6J("innerHTML",_e.nzExtra,h.oJD)}}function S(ke,oe){if(1&ke&&(h.TgZ(0,"div",22),h.YNc(1,P,2,1,"ng-container",18),h.qZA()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("nzStringTemplateOutlet",_e.nzExtra)}}function A(ke,oe){if(1&ke&&(h.TgZ(0,"div",12)(1,"div",13),h.YNc(2,b,2,1,"button",14),h.YNc(3,y,2,1,"div",15),h.qZA(),h.YNc(4,S,2,1,"div",16),h.qZA()),2&ke){const _e=h.oxw(2);h.ekj("ant-drawer-header-close-only",!_e.nzTitle),h.xp6(2),h.Q6J("ngIf",_e.nzClosable),h.xp6(1),h.Q6J("ngIf",_e.nzTitle),h.xp6(1),h.Q6J("ngIf",_e.nzExtra)}}function k(ke,oe){}function R(ke,oe){1&ke&&h.GkF(0)}function W(ke,oe){if(1&ke&&(h.ynx(0),h.YNc(1,R,1,0,"ng-container",24),h.BQk()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("ngTemplateOutlet",_e.nzContent)("ngTemplateOutletContext",_e.templateContext)}}function j(ke,oe){if(1&ke&&(h.ynx(0),h.YNc(1,W,2,2,"ng-container",23),h.BQk()),2&ke){const _e=h.oxw(2);h.xp6(1),h.Q6J("ngIf",_e.isTemplateRef(_e.nzContent))}}function ze(ke,oe){}function Y(ke,oe){if(1&ke&&(h.ynx(0),h.YNc(1,ze,0,0,"ng-template",25),h.BQk()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("ngTemplateOutlet",_e.contentFromContentChild)}}function G(ke,oe){if(1&ke&&h.YNc(0,Y,2,1,"ng-container",23),2&ke){const _e=h.oxw(2);h.Q6J("ngIf",_e.contentFromContentChild&&(_e.isOpen||_e.inAnimation))}}function V(ke,oe){if(1&ke&&(h.ynx(0),h._UZ(1,"div",21),h.BQk()),2&ke){const _e=h.oxw(3);h.xp6(1),h.Q6J("innerHTML",_e.nzFooter,h.oJD)}}function K(ke,oe){if(1&ke&&(h.TgZ(0,"div",26),h.YNc(1,V,2,1,"ng-container",18),h.qZA()),2&ke){const _e=h.oxw(2);h.xp6(1),h.Q6J("nzStringTemplateOutlet",_e.nzFooter)}}function ee(ke,oe){if(1&ke&&(h.TgZ(0,"div",1),h.YNc(1,C,1,1,"div",2),h.TgZ(2,"div")(3,"div",3)(4,"div",4),h.YNc(5,A,5,5,"div",5),h.TgZ(6,"div",6),h.YNc(7,k,0,0,"ng-template",7),h.YNc(8,j,2,1,"ng-container",8),h.YNc(9,G,1,1,"ng-template",null,9,h.W1O),h.qZA(),h.YNc(11,K,2,1,"div",10),h.qZA()()()()),2&ke){const _e=h.MAs(10),Q=h.oxw();h.Udp("transform",Q.offsetTransform)("transition",Q.placementChanging?"none":null)("z-index",Q.nzZIndex),h.ekj("ant-drawer-rtl","rtl"===Q.dir)("ant-drawer-open",Q.isOpen)("no-mask",!Q.nzMask)("ant-drawer-top","top"===Q.nzPlacement)("ant-drawer-bottom","bottom"===Q.nzPlacement)("ant-drawer-right","right"===Q.nzPlacement)("ant-drawer-left","left"===Q.nzPlacement),h.Q6J("nzNoAnimation",Q.nzNoAnimation),h.xp6(1),h.Q6J("ngIf",Q.nzMask),h.xp6(1),h.Gre("ant-drawer-content-wrapper ",Q.nzWrapClassName,""),h.Udp("width",Q.width)("height",Q.height)("transform",Q.transform)("transition",Q.placementChanging?"none":null),h.xp6(2),h.Udp("height",Q.isLeftOrRight?"100%":null),h.xp6(1),h.Q6J("ngIf",Q.nzTitle||Q.nzClosable),h.xp6(1),h.Q6J("ngStyle",Q.nzBodyStyle),h.xp6(2),h.Q6J("ngIf",Q.nzContent)("ngIfElse",_e),h.xp6(3),h.Q6J("ngIf",Q.nzFooter)}}let te=(()=>{class ke{constructor(_e){this.templateRef=_e}static#e=this.\u0275fac=function(Q){return new(Q||ke)(h.Y36(h.Rgc))};static#t=this.\u0275dir=h.lG2({type:ke,selectors:[["","nzDrawerContent",""]],exportAs:["nzDrawerContent"]})}return ke})();class De{}let X=(()=>{class ke extends De{set nzVisible(_e){this.isOpen=_e}get nzVisible(){return this.isOpen}get offsetTransform(){if(!this.isOpen||this.nzOffsetX+this.nzOffsetY===0)return null;switch(this.nzPlacement){case"left":return`translateX(${this.nzOffsetX}px)`;case"right":return`translateX(-${this.nzOffsetX}px)`;case"top":return`translateY(${this.nzOffsetY}px)`;case"bottom":return`translateY(-${this.nzOffsetY}px)`}}get transform(){if(this.isOpen)return null;switch(this.nzPlacement){case"left":return"translateX(-100%)";case"right":return"translateX(100%)";case"top":return"translateY(-100%)";case"bottom":return"translateY(100%)"}}get width(){return this.isLeftOrRight?(0,M.WX)(void 0===this.nzWidth?"large"===this.nzSize?736:378:this.nzWidth):null}get height(){return this.isLeftOrRight?null:(0,M.WX)(void 0===this.nzHeight?"large"===this.nzSize?736:378:this.nzHeight)}get isLeftOrRight(){return"left"===this.nzPlacement||"right"===this.nzPlacement}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}isTemplateRef(_e){return _e instanceof h.Rgc}constructor(_e,Q,He,Re,lt,Pe,xt,$e,ot,mt,we){super(),this.cdr=_e,this.document=Q,this.nzConfigService=He,this.renderer=Re,this.overlay=lt,this.injector=Pe,this.changeDetectorRef=xt,this.focusTrapFactory=$e,this.viewContainerRef=ot,this.overlayKeyboardDispatcher=mt,this.directionality=we,this._nzModuleName="drawer",this.nzCloseIcon="close",this.nzClosable=!0,this.nzMaskClosable=!0,this.nzMask=!0,this.nzCloseOnNavigation=!0,this.nzNoAnimation=!1,this.nzKeyboard=!0,this.nzPlacement="right",this.nzSize="default",this.nzMaskStyle={},this.nzBodyStyle={},this.nzZIndex=1e3,this.nzOffsetX=0,this.nzOffsetY=0,this.componentInstance=null,this.nzOnViewInit=new h.vpe,this.nzOnClose=new h.vpe,this.nzVisibleChange=new h.vpe,this.destroy$=new E.x,this.placementChanging=!1,this.placementChangeTimeoutId=-1,this.isOpen=!1,this.inAnimation=!1,this.templateContext={$implicit:void 0,drawerRef:this},this.nzAfterOpen=new E.x,this.nzAfterClose=new E.x,this.nzDirection=void 0,this.dir="ltr"}ngOnInit(){this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(_e=>{this.dir=_e,this.cdr.detectChanges()}),this.dir=this.nzDirection||this.directionality.value,this.attachOverlay(),this.updateOverlayStyle(),this.updateBodyOverflow(),this.templateContext={$implicit:this.nzContentParams,drawerRef:this},this.changeDetectorRef.detectChanges()}ngAfterViewInit(){this.attachBodyContent(),this.nzOnViewInit.observers.length&&setTimeout(()=>{this.nzOnViewInit.emit()})}ngOnChanges(_e){const{nzPlacement:Q,nzVisible:He}=_e;He&&(_e.nzVisible.currentValue?this.open():this.close()),Q&&!Q.isFirstChange()&&this.triggerPlacementChangeCycleOnce()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),clearTimeout(this.placementChangeTimeoutId),this.disposeOverlay()}getAnimationDuration(){return this.nzNoAnimation?0:300}triggerPlacementChangeCycleOnce(){this.nzNoAnimation||(this.placementChanging=!0,this.changeDetectorRef.markForCheck(),clearTimeout(this.placementChangeTimeoutId),this.placementChangeTimeoutId=setTimeout(()=>{this.placementChanging=!1,this.changeDetectorRef.markForCheck()},this.getAnimationDuration()))}close(_e){this.isOpen=!1,this.inAnimation=!0,this.nzVisibleChange.emit(!1),this.updateOverlayStyle(),this.overlayKeyboardDispatcher.remove(this.overlayRef),this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.updateBodyOverflow(),this.restoreFocus(),this.inAnimation=!1,this.nzAfterClose.next(_e),this.nzAfterClose.complete(),this.componentInstance=null},this.getAnimationDuration())}open(){this.attachOverlay(),this.isOpen=!0,this.inAnimation=!0,this.nzVisibleChange.emit(!0),this.overlayKeyboardDispatcher.add(this.overlayRef),this.updateOverlayStyle(),this.updateBodyOverflow(),this.savePreviouslyFocusedElement(),this.trapFocus(),this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.inAnimation=!1,this.changeDetectorRef.detectChanges(),this.nzAfterOpen.next()},this.getAnimationDuration())}getContentComponent(){return this.componentInstance}closeClick(){this.nzOnClose.emit()}maskClick(){this.nzMaskClosable&&this.nzMask&&this.nzOnClose.emit()}attachBodyContent(){if(this.bodyPortalOutlet.dispose(),this.nzContent instanceof h.DyG){const _e=h.zs3.create({parent:this.injector,providers:[{provide:De,useValue:this}]}),Q=new i.C5(this.nzContent,null,_e),He=this.bodyPortalOutlet.attachComponentPortal(Q);this.componentInstance=He.instance,Object.assign(He.instance,this.nzContentParams),He.changeDetectorRef.detectChanges()}}attachOverlay(){this.overlayRef||(this.portal=new i.UE(this.drawerTemplate,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayRef.keydownEvents().pipe((0,u.R)(this.destroy$)).subscribe(_e=>{_e.keyCode===n.hY&&this.isOpen&&this.nzKeyboard&&this.nzOnClose.emit()}),this.overlayRef.detachments().pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.disposeOverlay()}))}disposeOverlay(){this.overlayRef?.dispose(),this.overlayRef=null}getOverlayConfig(){return new t.X_({disposeOnNavigation:this.nzCloseOnNavigation,positionStrategy:this.overlay.position().global(),scrollStrategy:this.overlay.scrollStrategies.block()})}updateOverlayStyle(){this.overlayRef&&this.overlayRef.overlayElement&&this.renderer.setStyle(this.overlayRef.overlayElement,"pointer-events",this.isOpen?"auto":"none")}updateBodyOverflow(){this.overlayRef&&(this.isOpen?this.overlayRef.getConfig().scrollStrategy.enable():this.overlayRef.getConfig().scrollStrategy.disable())}savePreviouslyFocusedElement(){this.document&&!this.previouslyFocusedElement&&(this.previouslyFocusedElement=this.document.activeElement,this.previouslyFocusedElement&&"function"==typeof this.previouslyFocusedElement.blur&&this.previouslyFocusedElement.blur())}trapFocus(){!this.focusTrap&&this.overlayRef&&this.overlayRef.overlayElement&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.overlayElement),this.focusTrap.focusInitialElement())}restoreFocus(){this.previouslyFocusedElement&&"function"==typeof this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus(),this.focusTrap&&this.focusTrap.destroy()}static#e=this.\u0275fac=function(Q){return new(Q||ke)(h.Y36(h.sBO),h.Y36(l.K0,8),h.Y36(z.jY),h.Y36(h.Qsj),h.Y36(t.aV),h.Y36(h.zs3),h.Y36(h.sBO),h.Y36(p.qV),h.Y36(h.s_b),h.Y36(t.Vs),h.Y36(v.Is,8))};static#t=this.\u0275cmp=h.Xpm({type:ke,selectors:[["nz-drawer"]],contentQueries:function(Q,He,Re){if(1&Q&&h.Suo(Re,te,7,h.Rgc),2&Q){let lt;h.iGM(lt=h.CRH())&&(He.contentFromContentChild=lt.first)}},viewQuery:function(Q,He){if(1&Q&&(h.Gf(f,7),h.Gf(i.Pl,5)),2&Q){let Re;h.iGM(Re=h.CRH())&&(He.drawerTemplate=Re.first),h.iGM(Re=h.CRH())&&(He.bodyPortalOutlet=Re.first)}},inputs:{nzContent:"nzContent",nzCloseIcon:"nzCloseIcon",nzClosable:"nzClosable",nzMaskClosable:"nzMaskClosable",nzMask:"nzMask",nzCloseOnNavigation:"nzCloseOnNavigation",nzNoAnimation:"nzNoAnimation",nzKeyboard:"nzKeyboard",nzTitle:"nzTitle",nzExtra:"nzExtra",nzFooter:"nzFooter",nzPlacement:"nzPlacement",nzSize:"nzSize",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzWrapClassName:"nzWrapClassName",nzWidth:"nzWidth",nzHeight:"nzHeight",nzZIndex:"nzZIndex",nzOffsetX:"nzOffsetX",nzOffsetY:"nzOffsetY",nzVisible:"nzVisible"},outputs:{nzOnViewInit:"nzOnViewInit",nzOnClose:"nzOnClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzDrawer"],features:[h.qOj,h.TTD],decls:2,vars:0,consts:[["drawerTemplate",""],[1,"ant-drawer",3,"nzNoAnimation"],["class","ant-drawer-mask",3,"ngStyle","click",4,"ngIf"],[1,"ant-drawer-content"],[1,"ant-drawer-wrapper-body"],["class","ant-drawer-header",3,"ant-drawer-header-close-only",4,"ngIf"],[1,"ant-drawer-body",3,"ngStyle"],["cdkPortalOutlet",""],[4,"ngIf","ngIfElse"],["contentElseTemp",""],["class","ant-drawer-footer",4,"ngIf"],[1,"ant-drawer-mask",3,"ngStyle","click"],[1,"ant-drawer-header"],[1,"ant-drawer-header-title"],["aria-label","Close","class","ant-drawer-close","style","--scroll-bar: 0px;",3,"click",4,"ngIf"],["class","ant-drawer-title",4,"ngIf"],["class","ant-drawer-extra",4,"ngIf"],["aria-label","Close",1,"ant-drawer-close",2,"--scroll-bar","0px",3,"click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"],[1,"ant-drawer-title"],[3,"innerHTML"],[1,"ant-drawer-extra"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngTemplateOutlet"],[1,"ant-drawer-footer"]],template:function(Q,He){1&Q&&h.YNc(0,ee,12,40,"ng-template",null,0,h.W1O)},dependencies:[l.O5,l.tP,l.PC,i.Pl,_.Ls,d.f,m.P],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,M.yF)()],ke.prototype,"nzClosable",void 0),(0,e.gn)([(0,z.oS)(),(0,M.yF)()],ke.prototype,"nzMaskClosable",void 0),(0,e.gn)([(0,z.oS)(),(0,M.yF)()],ke.prototype,"nzMask",void 0),(0,e.gn)([(0,z.oS)(),(0,M.yF)()],ke.prototype,"nzCloseOnNavigation",void 0),(0,e.gn)([(0,M.yF)()],ke.prototype,"nzNoAnimation",void 0),(0,e.gn)([(0,M.yF)()],ke.prototype,"nzKeyboard",void 0),(0,e.gn)([(0,z.oS)()],ke.prototype,"nzDirection",void 0),ke})(),ne=(()=>{class ke{static#e=this.\u0275fac=function(Q){return new(Q||ke)};static#t=this.\u0275mod=h.oAB({type:ke});static#n=this.\u0275inj=h.cJS({})}return ke})(),le=(()=>{class ke{static#e=this.\u0275fac=function(Q){return new(Q||ke)};static#t=this.\u0275mod=h.oAB({type:ke});static#n=this.\u0275inj=h.cJS({imports:[v.vT,l.ez,t.U8,i.eL,_.PV,d.T,m.g,ne]})}return ke})();class Se{constructor(oe,_e){this.overlay=oe,this.options=_e,this.unsubscribe$=new E.x;const{nzOnCancel:Q,...He}=this.options;this.overlayRef=this.overlay.create(),this.drawerRef=this.overlayRef.attach(new i.C5(X)).instance,this.updateOptions(He),this.drawerRef.savePreviouslyFocusedElement(),this.drawerRef.nzOnViewInit.pipe((0,u.R)(this.unsubscribe$)).subscribe(()=>{this.drawerRef.open()}),this.drawerRef.nzOnClose.subscribe(()=>{Q?Q().then(Re=>{!1!==Re&&this.drawerRef.close()}):this.drawerRef.close()}),this.drawerRef.afterClose.pipe((0,u.R)(this.unsubscribe$)).subscribe(()=>{this.overlayRef.dispose(),this.drawerRef=null,this.unsubscribe$.next(),this.unsubscribe$.complete()})}getInstance(){return this.drawerRef}updateOptions(oe){Object.assign(this.drawerRef,oe)}}let Ne=(()=>{class ke{constructor(_e){this.overlay=_e}create(_e){return new Se(this.overlay,_e).getInstance()}static#e=this.\u0275fac=function(Q){return new(Q||ke)(h.LFG(t.aV))};static#t=this.\u0275prov=h.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})()},62787:(tt,I,o)=>{"use strict";o.d(I,{Iw:()=>Se,RR:()=>X,Ws:()=>ae,b1:()=>ne,cm:()=>re,wA:()=>ce});var e=o(97582),n=o(36028),t=o(68484),i=o(65879),l=o(78645),h=o(65619),E=o(63019),u=o(92438),z=o(36232),M=o(52572),p=o(47394),v=o(21441),_=o(37398),d=o(94664),m=o(32181),f=o(29028),C=o(93997),T=o(59773),b=o(81374),D=o(83064),y=o(85448),P=o(27754),S=o(33651),A=o(62831),k=o(49388),R=o(96814),W=o(42840),j=o(331),ze=o(8324),Y=o(90551),G=o(73460),V=o(64194);function K(Ne,ke){if(1&Ne){const oe=i.EpF();i.TgZ(0,"div",0),i.NdJ("@slideMotion.done",function(Q){i.CHM(oe);const He=i.oxw();return i.KtG(He.onAnimationEvent(Q))})("mouseenter",function(){i.CHM(oe);const Q=i.oxw();return i.KtG(Q.setMouseState(!0))})("mouseleave",function(){i.CHM(oe);const Q=i.oxw();return i.KtG(Q.setMouseState(!1))}),i.Hsn(1),i.qZA()}if(2&Ne){const oe=i.oxw();i.ekj("ant-dropdown-rtl","rtl"===oe.dir),i.Q6J("ngClass",oe.nzOverlayClassName)("ngStyle",oe.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",!(null==oe.noAnimation||!oe.noAnimation.nzNoAnimation))("nzNoAnimation",null==oe.noAnimation?null:oe.noAnimation.nzNoAnimation)}}const ee=["*"],pe=[y.yW.bottomLeft,y.yW.bottomRight,y.yW.topRight,y.yW.topLeft];let re=(()=>{class Ne{setDropdownMenuValue(oe,_e){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(oe,_e)}constructor(oe,_e,Q,He,Re,lt){this.nzConfigService=oe,this.elementRef=_e,this.overlay=Q,this.renderer=He,this.viewContainerRef=Re,this.platform=lt,this._nzModuleName="dropDown",this.overlayRef=null,this.destroy$=new l.x,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new h.X(!1),this.nzTrigger$=new h.X("hover"),this.overlayClose$=new l.x,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new i.vpe}ngAfterViewInit(){if(this.nzDropdownMenu){const oe=this.elementRef.nativeElement,_e=(0,E.T)((0,u.R)(oe,"mouseenter").pipe((0,v.h)(!0)),(0,u.R)(oe,"mouseleave").pipe((0,v.h)(!1))),He=(0,E.T)(this.nzDropdownMenu.mouseState$,_e),Re=(0,u.R)(oe,"click").pipe((0,_.U)(()=>!this.nzVisible)),lt=this.nzTrigger$.pipe((0,d.w)(ot=>"hover"===ot?He:"click"===ot?Re:z.E)),Pe=this.nzDropdownMenu.descendantMenuItemClick$.pipe((0,m.h)(()=>this.nzClickHide),(0,v.h)(!1)),xt=(0,E.T)(lt,Pe,this.overlayClose$).pipe((0,m.h)(()=>!this.nzDisabled)),$e=(0,E.T)(this.inputVisible$,xt);(0,M.a)([$e,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe((0,_.U)(([ot,mt])=>ot||mt),(0,f.e)(150),(0,C.x)(),(0,m.h)(()=>this.platform.isBrowser),(0,T.R)(this.destroy$)).subscribe(ot=>{const we=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:oe).getBoundingClientRect().width;this.nzVisible!==ot&&this.nzVisibleChange.emit(ot),this.nzVisible=ot,ot?(this.overlayRef?this.overlayRef.getConfig().minWidth=we:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:we,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),(0,E.T)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe((0,m.h)(de=>!this.elementRef.nativeElement.contains(de.target))),this.overlayRef.keydownEvents().pipe((0,m.h)(de=>de.keyCode===n.hY&&!(0,n.Vb)(de)))).pipe((0,T.R)(this.destroy$)).subscribe(()=>{this.overlayClose$.next(!1)})),this.positionStrategy.withPositions([y.yW[this.nzPlacement],...pe]),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new t.UE(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()}),this.nzDropdownMenu.animationStateChange$.pipe((0,T.R)(this.destroy$)).subscribe(ot=>{"void"===ot.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)})}}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(oe){const{nzVisible:_e,nzDisabled:Q,nzOverlayClassName:He,nzOverlayStyle:Re,nzTrigger:lt}=oe;if(lt&&this.nzTrigger$.next(this.nzTrigger),_e&&this.inputVisible$.next(this.nzVisible),Q){const Pe=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(Pe,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(Pe,"disabled")}He&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),Re&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle)}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(D.jY),i.Y36(i.SBq),i.Y36(S.aV),i.Y36(i.Qsj),i.Y36(i.s_b),i.Y36(A.t4))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:"nzBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[i.TTD]})}return(0,e.gn)([(0,D.oS)(),(0,P.yF)()],Ne.prototype,"nzBackdrop",void 0),(0,e.gn)([(0,P.yF)()],Ne.prototype,"nzClickHide",void 0),(0,e.gn)([(0,P.yF)()],Ne.prototype,"nzDisabled",void 0),(0,e.gn)([(0,P.yF)()],Ne.prototype,"nzVisible",void 0),Ne})(),De=(()=>{class Ne{static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({})}return Ne})(),ae=(()=>{class Ne{constructor(){}static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["a","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-link"]})}return Ne})(),ce=(()=>{class Ne{constructor(oe,_e,Q){this.renderer=oe,this.nzButtonGroupComponent=_e,this.elementRef=Q}ngAfterViewInit(){const oe=this.renderer.parentNode(this.elementRef.nativeElement);this.nzButtonGroupComponent&&oe&&this.renderer.addClass(oe,"ant-dropdown-button")}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.Qsj),i.Y36(W.fY,9),i.Y36(i.SBq))};static#t=this.\u0275dir=i.lG2({type:Ne,selectors:[["","nz-button","","nz-dropdown",""]]})}return Ne})(),X=(()=>{class Ne{onAnimationEvent(oe){this.animationStateChange$.emit(oe)}setMouseState(oe){this.mouseState$.next(oe)}setValue(oe,_e){this[oe]=_e,this.cdr.markForCheck()}constructor(oe,_e,Q,He,Re,lt,Pe){this.cdr=oe,this.elementRef=_e,this.renderer=Q,this.viewContainerRef=He,this.nzMenuService=Re,this.directionality=lt,this.noAnimation=Pe,this.mouseState$=new h.X(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new i.vpe,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new l.x}ngOnInit(){this.directionality.change?.pipe((0,T.R)(this.destroy$)).subscribe(oe=>{this.dir=oe,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.s_b),i.Y36(G.hl),i.Y36(k.Is,8),i.Y36(j.P,9))};static#t=this.\u0275cmp=i.Xpm({type:Ne,selectors:[["nz-dropdown-menu"]],viewQuery:function(_e,Q){if(1&_e&&i.Gf(i.Rgc,7),2&_e){let He;i.iGM(He=i.CRH())&&(Q.templateRef=He.first)}},exportAs:["nzDropdownMenu"],features:[i._Bn([G.hl,{provide:G.Cc,useValue:!0}])],ngContentSelectors:ee,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(_e,Q){1&_e&&(i.F$t(),i.YNc(0,K,2,7,"ng-template"))},dependencies:[R.mk,R.PC,j.P],encapsulation:2,data:{animation:[V.mF]},changeDetection:0})}return Ne})(),ne=(()=>{class Ne{static#e=this.\u0275fac=function(_e){return new(_e||Ne)};static#t=this.\u0275mod=i.oAB({type:Ne});static#n=this.\u0275inj=i.cJS({imports:[k.vT,R.ez,S.U8,W.sL,G.ip,Y.PV,j.g,A.ud,y.e4,De,ze.T,G.ip]})}return Ne})();const le=[new S.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new S.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new S.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new S.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})];let Se=(()=>{class Ne{constructor(oe,_e){this.ngZone=oe,this.overlay=_e,this.overlayRef=null,this.closeSubscription=p.w0.EMPTY}create(oe,_e){this.close(!0);const{x:Q,y:He}=oe;oe instanceof MouseEvent&&oe.preventDefault();const Re=this.overlay.position().flexibleConnectedTo({x:Q,y:He}).withPositions(le).withTransformOriginOn(".ant-dropdown");return this.overlayRef=this.overlay.create({positionStrategy:Re,disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.close()}),this.closeSubscription=new p.w0,this.closeSubscription.add(_e.descendantMenuItemClick$.subscribe(()=>this.close())),this.closeSubscription.add(this.ngZone.runOutsideAngular(()=>(0,E.T)((0,u.R)(document,"click").pipe((0,m.h)(lt=>!!this.overlayRef&&!this.overlayRef.overlayElement.contains(lt.target)),(0,m.h)(lt=>2!==lt.button)),(0,u.R)(document,"keydown").pipe((0,m.h)(lt=>"Escape"===lt.key))).pipe((0,b.P)()).subscribe(()=>this.ngZone.run(()=>this.close())))),this.overlayRef.attach(new t.UE(_e.templateRef,_e.viewContainerRef))}close(oe=!1){this.overlayRef&&(this.overlayRef.detach(),oe&&this.overlayRef.dispose(),this.overlayRef=null,this.closeSubscription.unsubscribe())}static#e=this.\u0275fac=function(_e){return new(_e||Ne)(i.LFG(i.R0b),i.LFG(S.aV))};static#t=this.\u0275prov=i.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:De})}return Ne})()},60804:(tt,I,o)=>{"use strict";o.d(I,{Xo:()=>ee,gB:()=>K,p9:()=>G});var e=o(68484),n=o(65879),t=o(78645),i=o(59773),l=o(27921),h=o(83064),E=o(96814),u=o(12131),z=o(8324),M=o(49388);function p(te,pe){if(1&te&&(n.ynx(0),n._UZ(1,"img",5),n.BQk()),2&te){const re=n.oxw(2);n.xp6(1),n.Q6J("src",re.nzNotFoundImage,n.LSH)("alt",re.isContentString?re.nzNotFoundContent:"empty")}}function v(te,pe){if(1&te&&(n.ynx(0),n.YNc(1,p,2,2,"ng-container",4),n.BQk()),2&te){const re=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",re.nzNotFoundImage)}}function _(te,pe){1&te&&n._UZ(0,"nz-empty-default")}function d(te,pe){1&te&&n._UZ(0,"nz-empty-simple")}function m(te,pe){if(1&te&&(n.ynx(0),n._uU(1),n.BQk()),2&te){const re=n.oxw(2);n.xp6(1),n.hij(" ",re.isContentString?re.nzNotFoundContent:re.locale.description," ")}}function f(te,pe){if(1&te&&(n.TgZ(0,"p",6),n.YNc(1,m,2,1,"ng-container",4),n.qZA()),2&te){const re=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",re.nzNotFoundContent)}}function C(te,pe){if(1&te&&(n.ynx(0),n._uU(1),n.BQk()),2&te){const re=n.oxw(2);n.xp6(1),n.hij(" ",re.nzNotFoundFooter," ")}}function T(te,pe){if(1&te&&(n.TgZ(0,"div",7),n.YNc(1,C,2,1,"ng-container",4),n.qZA()),2&te){const re=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",re.nzNotFoundFooter)}}function b(te,pe){1&te&&n._UZ(0,"nz-empty",6),2&te&&n.Q6J("nzNotFoundImage","simple")}function D(te,pe){1&te&&n._UZ(0,"nz-empty",7),2&te&&n.Q6J("nzNotFoundImage","simple")}function y(te,pe){1&te&&n._UZ(0,"nz-empty")}function P(te,pe){if(1&te&&(n.ynx(0,2),n.YNc(1,b,1,1,"nz-empty",3),n.YNc(2,D,1,1,"nz-empty",4),n.YNc(3,y,1,0,"nz-empty",5),n.BQk()),2&te){const re=n.oxw();n.Q6J("ngSwitch",re.size),n.xp6(1),n.Q6J("ngSwitchCase","normal"),n.xp6(1),n.Q6J("ngSwitchCase","small")}}function S(te,pe){}function A(te,pe){if(1&te&&n.YNc(0,S,0,0,"ng-template",8),2&te){const re=n.oxw(2);n.Q6J("cdkPortalOutlet",re.contentPortal)}}function k(te,pe){if(1&te&&(n.ynx(0),n._uU(1),n.BQk()),2&te){const re=n.oxw(2);n.xp6(1),n.hij(" ",re.content," ")}}function R(te,pe){if(1&te&&(n.ynx(0),n.YNc(1,A,1,1,null,1),n.YNc(2,k,2,1,"ng-container",1),n.BQk()),2&te){const re=n.oxw();n.xp6(1),n.Q6J("ngIf","string"!==re.contentType),n.xp6(1),n.Q6J("ngIf","string"===re.contentType)}}const W=new n.OlP("nz-empty-component-name");let j=(()=>{class te{static#e=this.\u0275fac=function(De){return new(De||te)};static#t=this.\u0275cmp=n.Xpm({type:te,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(De,ae){1&De&&(n.O4$(),n.TgZ(0,"svg",0)(1,"g",1)(2,"g",2),n._UZ(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),n.qZA(),n._UZ(8,"path",8),n.TgZ(9,"g",9),n._UZ(10,"ellipse",10)(11,"path",11),n.qZA()()())},encapsulation:2,changeDetection:0})}return te})(),ze=(()=>{class te{static#e=this.\u0275fac=function(De){return new(De||te)};static#t=this.\u0275cmp=n.Xpm({type:te,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(De,ae){1&De&&(n.O4$(),n.TgZ(0,"svg",0)(1,"g",1),n._UZ(2,"ellipse",2),n.TgZ(3,"g",3),n._UZ(4,"path",4)(5,"path",5),n.qZA()()())},encapsulation:2,changeDetection:0})}return te})();const Y=["default","simple"];let G=(()=>{class te{constructor(re,De){this.i18n=re,this.cdr=De,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new t.x}ngOnChanges(re){const{nzNotFoundContent:De,nzNotFoundImage:ae}=re;if(De&&(this.isContentString="string"==typeof De.currentValue),ae){const ce=ae.currentValue||"default";this.isImageBuildIn=Y.findIndex(X=>X===ce)>-1}}ngOnInit(){this.i18n.localeChange.pipe((0,i.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(De){return new(De||te)(n.Y36(u.wi),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:te,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[n.TTD],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(De,ae){1&De&&(n.TgZ(0,"div",0),n.YNc(1,v,2,1,"ng-container",1),n.YNc(2,_,1,0,"nz-empty-default",1),n.YNc(3,d,1,0,"nz-empty-simple",1),n.qZA(),n.YNc(4,f,2,1,"p",2),n.YNc(5,T,2,1,"div",3)),2&De&&(n.xp6(1),n.Q6J("ngIf",!ae.isImageBuildIn),n.xp6(1),n.Q6J("ngIf",ae.isImageBuildIn&&"simple"!==ae.nzNotFoundImage),n.xp6(1),n.Q6J("ngIf",ae.isImageBuildIn&&"simple"===ae.nzNotFoundImage),n.xp6(1),n.Q6J("ngIf",null!==ae.nzNotFoundContent),n.xp6(1),n.Q6J("ngIf",ae.nzNotFoundFooter))},dependencies:[E.O5,z.f,j,ze],encapsulation:2,changeDetection:0})}return te})(),K=(()=>{class te{constructor(re,De,ae,ce){this.configService=re,this.viewContainerRef=De,this.cdr=ae,this.injector=ce,this.contentType="string",this.size="",this.destroy$=new t.x}ngOnChanges(re){re.nzComponentName&&(this.size=function V(te){switch(te){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(re.nzComponentName.currentValue)),re.specificContent&&!re.specificContent.isFirstChange()&&(this.content=re.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const re=this.content;if("string"==typeof re)this.contentType="string";else if(re instanceof n.Rgc){const De={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new e.UE(re,this.viewContainerRef,De)}else if(re instanceof n.DyG){const De=n.zs3.create({parent:this.injector,providers:[{provide:W,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new e.C5(re,this.viewContainerRef,De)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe((0,l.O)(!0),(0,i.R)(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}static#e=this.\u0275fac=function(De){return new(De||te)(n.Y36(h.jY),n.Y36(n.s_b),n.Y36(n.sBO),n.Y36(n.zs3))};static#t=this.\u0275cmp=n.Xpm({type:te,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[n.TTD],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(De,ae){1&De&&(n.YNc(0,P,4,3,"ng-container",0),n.YNc(1,R,3,2,"ng-container",1)),2&De&&(n.Q6J("ngIf",!ae.content&&null!==ae.specificContent),n.xp6(1),n.Q6J("ngIf",ae.content))},dependencies:[E.O5,E.RF,E.n9,E.ED,e.Pl,G],encapsulation:2,changeDetection:0})}return te})(),ee=(()=>{class te{static#e=this.\u0275fac=function(De){return new(De||te)};static#t=this.\u0275mod=n.oAB({type:te});static#n=this.\u0275inj=n.cJS({imports:[M.vT,E.ez,e.eL,z.T,u.YI]})}return te})()},3599:(tt,I,o)=>{"use strict";o.d(I,{Fd:()=>re,Lr:()=>pe,Nx:()=>K,U5:()=>ne,iK:()=>ae});var e=o(49388),n=o(71088),t=o(62831),i=o(96814),l=o(65879),h=o(8324),E=o(10095),u=o(90551),z=o(96109),M=o(60095),p=o(78645),v=o(47394),_=o(32181),d=o(37398),m=o(59773),f=o(27921),C=o(99397),T=o(64194),b=o(50883),D=o(27754),y=o(12131),P=o(97582),S=o(83064);const A=["*"];function k(le,Se){if(1&le&&(l.ynx(0),l._uU(1),l.BQk()),2&le){const Ne=l.oxw(2);l.xp6(1),l.Oqu(Ne.innerTip)}}const R=function(le){return[le]},W=function(le){return{$implicit:le}};function j(le,Se){if(1&le&&(l.TgZ(0,"div",4)(1,"div",5),l.YNc(2,k,2,1,"ng-container",6),l.qZA()()),2&le){const Ne=l.oxw();l.Q6J("@helpMotion",void 0),l.xp6(1),l.Q6J("ngClass",l.VKq(4,R,"ant-form-item-explain-"+Ne.status)),l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ne.innerTip)("nzStringTemplateOutletContext",l.VKq(6,W,Ne.validateControl))}}function ze(le,Se){if(1&le&&(l.ynx(0),l._uU(1),l.BQk()),2&le){const Ne=l.oxw(2);l.xp6(1),l.Oqu(Ne.nzExtra)}}function Y(le,Se){if(1&le&&(l.TgZ(0,"div",7),l.YNc(1,ze,2,1,"ng-container",8),l.qZA()),2&le){const Ne=l.oxw();l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ne.nzExtra)}}function G(le,Se){if(1&le&&(l.ynx(0),l._UZ(1,"span",3),l.BQk()),2&le){const Ne=Se.$implicit,ke=l.oxw(2);l.xp6(1),l.Q6J("nzType",Ne)("nzTheme",ke.tooltipIcon.theme)}}function V(le,Se){if(1&le&&(l.TgZ(0,"span",1),l.YNc(1,G,2,2,"ng-container",2),l.qZA()),2&le){const Ne=l.oxw();l.Q6J("nzTooltipTitle",Ne.nzTooltipTitle),l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ne.tooltipIcon.type)}}let K=(()=>{class le{setWithHelpViaTips(Ne){this.withHelpClass=Ne,this.cdr.markForCheck()}setStatus(Ne){this.status=Ne,this.cdr.markForCheck()}setHasFeedback(Ne){this.hasFeedback=Ne,this.cdr.markForCheck()}constructor(Ne){this.cdr=Ne,this.status="",this.hasFeedback=!1,this.withHelpClass=!1,this.destroy$=new p.x}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(ke){return new(ke||le)(l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:le,selectors:[["nz-form-item"]],hostAttrs:[1,"ant-form-item"],hostVars:12,hostBindings:function(ke,oe){2&ke&&l.ekj("ant-form-item-has-success","success"===oe.status)("ant-form-item-has-warning","warning"===oe.status)("ant-form-item-has-error","error"===oe.status)("ant-form-item-is-validating","validating"===oe.status)("ant-form-item-has-feedback",oe.hasFeedback&&oe.status)("ant-form-item-with-help",oe.withHelpClass)},exportAs:["nzFormItem"],ngContentSelectors:A,decls:1,vars:0,template:function(ke,oe){1&ke&&(l.F$t(),l.Hsn(0))},encapsulation:2,changeDetection:0})}return le})();const te={type:"question-circle",theme:"outline"};let pe=(()=>{class le{getInputObservable(Ne){return this.inputChanges$.pipe((0,_.h)(ke=>Ne in ke),(0,d.U)(ke=>ke[Ne]))}constructor(Ne,ke){this.nzConfigService=Ne,this.directionality=ke,this._nzModuleName="form",this.nzLayout="horizontal",this.nzNoColon=!1,this.nzAutoTips={},this.nzDisableAutoTips=!1,this.nzTooltipIcon=te,this.nzLabelAlign="right",this.nzLabelWrap=!1,this.dir="ltr",this.destroy$=new p.x,this.inputChanges$=new p.x,this.dir=this.directionality.value,this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(oe=>{this.dir=oe})}ngOnChanges(Ne){this.inputChanges$.next(Ne)}ngOnDestroy(){this.inputChanges$.complete(),this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(ke){return new(ke||le)(l.Y36(S.jY),l.Y36(e.Is,8))};static#t=this.\u0275dir=l.lG2({type:le,selectors:[["","nz-form",""]],hostAttrs:[1,"ant-form"],hostVars:8,hostBindings:function(ke,oe){2&ke&&l.ekj("ant-form-horizontal","horizontal"===oe.nzLayout)("ant-form-vertical","vertical"===oe.nzLayout)("ant-form-inline","inline"===oe.nzLayout)("ant-form-rtl","rtl"===oe.dir)},inputs:{nzLayout:"nzLayout",nzNoColon:"nzNoColon",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzTooltipIcon:"nzTooltipIcon",nzLabelAlign:"nzLabelAlign",nzLabelWrap:"nzLabelWrap"},exportAs:["nzForm"],features:[l.TTD]})}return(0,P.gn)([(0,S.oS)(),(0,D.yF)()],le.prototype,"nzNoColon",void 0),(0,P.gn)([(0,S.oS)()],le.prototype,"nzAutoTips",void 0),(0,P.gn)([(0,D.yF)()],le.prototype,"nzDisableAutoTips",void 0),(0,P.gn)([(0,S.oS)()],le.prototype,"nzTooltipIcon",void 0),(0,P.gn)([(0,S.oS)(),(0,D.yF)()],le.prototype,"nzLabelWrap",void 0),le})(),re=(()=>{class le{get disableAutoTips(){return"default"!==this.nzDisableAutoTips?(0,D.sw)(this.nzDisableAutoTips):this.nzFormDirective?.nzDisableAutoTips}set nzHasFeedback(Ne){this._hasFeedback=(0,D.sw)(Ne),this.nzFormStatusService.formStatusChanges.next({status:this.status,hasFeedback:this._hasFeedback}),this.nzFormItemComponent&&this.nzFormItemComponent.setHasFeedback(this._hasFeedback)}get nzHasFeedback(){return this._hasFeedback}set nzValidateStatus(Ne){Ne instanceof M.TO||Ne instanceof M.On?(this.validateControl=Ne,this.validateString=null,this.watchControl()):Ne instanceof M.u?(this.validateControl=Ne.control,this.validateString=null,this.watchControl()):(this.validateString=Ne,this.validateControl=null,this.setStatus())}watchControl(){this.validateChanges.unsubscribe(),this.validateControl&&this.validateControl.statusChanges&&(this.validateChanges=this.validateControl.statusChanges.pipe((0,f.O)(null),(0,m.R)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck()}))}setStatus(){this.status=this.getControlStatus(this.validateString),this.innerTip=this.getInnerTip(this.status),this.nzFormStatusService.formStatusChanges.next({status:this.status,hasFeedback:this.nzHasFeedback}),this.nzFormItemComponent&&(this.nzFormItemComponent.setWithHelpViaTips(!!this.innerTip),this.nzFormItemComponent.setStatus(this.status))}getControlStatus(Ne){let ke;return ke="warning"===Ne||this.validateControlStatus("INVALID","warning")?"warning":"error"===Ne||this.validateControlStatus("INVALID")?"error":"validating"===Ne||"pending"===Ne||this.validateControlStatus("PENDING")?"validating":"success"===Ne||this.validateControlStatus("VALID")?"success":"",ke}validateControlStatus(Ne,ke){if(this.validateControl){const{dirty:oe,touched:_e,status:Q}=this.validateControl;return(!!oe||!!_e)&&(ke?this.validateControl.hasError(ke):Q===Ne)}return!1}getInnerTip(Ne){switch(Ne){case"error":return!this.disableAutoTips&&this.autoErrorTip||this.nzErrorTip||null;case"validating":return this.nzValidatingTip||null;case"success":return this.nzSuccessTip||null;case"warning":return this.nzWarningTip||null;default:return null}}updateAutoErrorTip(){if(this.validateControl){const Ne=this.validateControl.errors||{};let ke="";for(const oe in Ne)if(Ne.hasOwnProperty(oe)&&(ke=Ne[oe]?.[this.localeId]??this.nzAutoTips?.[this.localeId]?.[oe]??this.nzAutoTips.default?.[oe]??this.nzFormDirective?.nzAutoTips?.[this.localeId]?.[oe]??this.nzFormDirective?.nzAutoTips.default?.[oe]),ke)break;this.autoErrorTip=ke}}subscribeAutoTips(Ne){Ne?.pipe((0,m.R)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||(this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck())})}constructor(Ne,ke,oe,_e,Q){this.nzFormItemComponent=Ne,this.cdr=ke,this.nzFormDirective=_e,this.nzFormStatusService=Q,this._hasFeedback=!1,this.validateChanges=v.w0.EMPTY,this.validateString=null,this.destroyed$=new p.x,this.status="",this.validateControl=null,this.innerTip=null,this.nzAutoTips={},this.nzDisableAutoTips="default",this.subscribeAutoTips(oe.localeChange.pipe((0,C.b)(He=>this.localeId=He.locale))),this.subscribeAutoTips(this.nzFormDirective?.getInputObservable("nzAutoTips")),this.subscribeAutoTips(this.nzFormDirective?.getInputObservable("nzDisableAutoTips").pipe((0,_.h)(()=>"default"===this.nzDisableAutoTips)))}ngOnChanges(Ne){const{nzDisableAutoTips:ke,nzAutoTips:oe,nzSuccessTip:_e,nzWarningTip:Q,nzErrorTip:He,nzValidatingTip:Re}=Ne;ke||oe?(this.updateAutoErrorTip(),this.setStatus()):(_e||Q||He||Re)&&this.setStatus()}ngOnInit(){this.setStatus()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}ngAfterContentInit(){!this.validateControl&&!this.validateString&&(this.nzValidateStatus=this.defaultValidateControl instanceof M.oH?this.defaultValidateControl.control:this.defaultValidateControl)}static#e=this.\u0275fac=function(ke){return new(ke||le)(l.Y36(K,9),l.Y36(l.sBO),l.Y36(y.wi),l.Y36(pe,8),l.Y36(b.kH))};static#t=this.\u0275cmp=l.Xpm({type:le,selectors:[["nz-form-control"]],contentQueries:function(ke,oe,_e){if(1&ke&&l.Suo(_e,M.a5,5),2&ke){let Q;l.iGM(Q=l.CRH())&&(oe.defaultValidateControl=Q.first)}},hostAttrs:[1,"ant-form-item-control"],inputs:{nzSuccessTip:"nzSuccessTip",nzWarningTip:"nzWarningTip",nzErrorTip:"nzErrorTip",nzValidatingTip:"nzValidatingTip",nzExtra:"nzExtra",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzHasFeedback:"nzHasFeedback",nzValidateStatus:"nzValidateStatus"},exportAs:["nzFormControl"],features:[l._Bn([b.kH]),l.TTD],ngContentSelectors:A,decls:5,vars:2,consts:[[1,"ant-form-item-control-input"],[1,"ant-form-item-control-input-content"],["class","ant-form-item-explain ant-form-item-explain-connected",4,"ngIf"],["class","ant-form-item-extra",4,"ngIf"],[1,"ant-form-item-explain","ant-form-item-explain-connected"],["role","alert",3,"ngClass"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-form-item-extra"],[4,"nzStringTemplateOutlet"]],template:function(ke,oe){1&ke&&(l.F$t(),l.TgZ(0,"div",0)(1,"div",1),l.Hsn(2),l.qZA()(),l.YNc(3,j,3,8,"div",2),l.YNc(4,Y,2,1,"div",3)),2&ke&&(l.xp6(3),l.Q6J("ngIf",oe.innerTip),l.xp6(1),l.Q6J("ngIf",oe.nzExtra))},dependencies:[i.mk,i.O5,h.f],encapsulation:2,data:{animation:[T.c8]},changeDetection:0})}return le})();function De(le){return{...te,..."string"==typeof le?{type:le}:le}}let ae=(()=>{class le{set nzNoColon(Ne){this.noColon=(0,D.sw)(Ne)}get nzNoColon(){return"default"!==this.noColon?this.noColon:this.nzFormDirective?.nzNoColon}set nzTooltipIcon(Ne){this._tooltipIcon=De(Ne)}get tooltipIcon(){return"default"!==this._tooltipIcon?this._tooltipIcon:De(this.nzFormDirective?.nzTooltipIcon||te)}set nzLabelAlign(Ne){this.labelAlign=Ne}get nzLabelAlign(){return"default"!==this.labelAlign?this.labelAlign:this.nzFormDirective?.nzLabelAlign||"right"}set nzLabelWrap(Ne){this.labelWrap=(0,D.sw)(Ne)}get nzLabelWrap(){return"default"!==this.labelWrap?this.labelWrap:this.nzFormDirective?.nzLabelWrap}constructor(Ne,ke){this.cdr=Ne,this.nzFormDirective=ke,this.nzRequired=!1,this.noColon="default",this._tooltipIcon="default",this.labelAlign="default",this.labelWrap="default",this.destroy$=new p.x,this.nzFormDirective&&(this.nzFormDirective.getInputObservable("nzNoColon").pipe((0,_.h)(()=>"default"===this.noColon),(0,m.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzTooltipIcon").pipe((0,_.h)(()=>"default"===this._tooltipIcon),(0,m.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzLabelAlign").pipe((0,_.h)(()=>"default"===this.labelAlign),(0,m.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzLabelWrap").pipe((0,_.h)(()=>"default"===this.labelWrap),(0,m.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(ke){return new(ke||le)(l.Y36(l.sBO),l.Y36(pe,12))};static#t=this.\u0275cmp=l.Xpm({type:le,selectors:[["nz-form-label"]],hostAttrs:[1,"ant-form-item-label"],hostVars:4,hostBindings:function(ke,oe){2&ke&&l.ekj("ant-form-item-label-left","left"===oe.nzLabelAlign)("ant-form-item-label-wrap",oe.nzLabelWrap)},inputs:{nzFor:"nzFor",nzRequired:"nzRequired",nzNoColon:"nzNoColon",nzTooltipTitle:"nzTooltipTitle",nzTooltipIcon:"nzTooltipIcon",nzLabelAlign:"nzLabelAlign",nzLabelWrap:"nzLabelWrap"},exportAs:["nzFormLabel"],ngContentSelectors:A,decls:3,vars:6,consts:[["class","ant-form-item-tooltip","nz-tooltip","",3,"nzTooltipTitle",4,"ngIf"],["nz-tooltip","",1,"ant-form-item-tooltip",3,"nzTooltipTitle"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"]],template:function(ke,oe){1&ke&&(l.F$t(),l.TgZ(0,"label"),l.Hsn(1),l.YNc(2,V,2,2,"span",0),l.qZA()),2&ke&&(l.ekj("ant-form-item-no-colon",oe.nzNoColon)("ant-form-item-required",oe.nzRequired),l.uIk("for",oe.nzFor),l.xp6(2),l.Q6J("ngIf",oe.nzTooltipTitle))},dependencies:[i.O5,u.Ls,z.SY,h.f],encapsulation:2,changeDetection:0})}return(0,P.gn)([(0,D.yF)()],le.prototype,"nzRequired",void 0),le})(),ne=(()=>{class le{static#e=this.\u0275fac=function(ke){return new(ke||le)};static#t=this.\u0275mod=l.oAB({type:le});static#n=this.\u0275inj=l.cJS({imports:[e.vT,i.ez,E.Jb,u.PV,z.cg,n.xu,t.ud,h.T,E.Jb]})}return le})()},10095:(tt,I,o)=>{"use strict";o.d(I,{Jb:()=>_,SK:()=>p,t3:()=>v});var e=o(65879),n=o(97328),t=o(78645),i=o(59773),l=o(99087),h=o(71088),E=o(62831),u=o(49388),z=o(27754),M=o(96814);let p=(()=>{class d{getGutter(){const f=[null,null],C=this.nzGutter||0;return(Array.isArray(C)?C:[C,null]).forEach((b,D)=>{"object"==typeof b&&null!==b?(f[D]=null,Object.keys(l.WV).map(y=>{const P=y;this.mediaMatcher.matchMedia(l.WV[P]).matches&&b[P]&&(f[D]=b[P])})):f[D]=Number(b)||null}),f}setGutterStyle(){const[f,C]=this.getGutter();this.actualGutter$.next([f,C]);const T=(b,D)=>{null!==D&&this.renderer.setStyle(this.elementRef.nativeElement,b,`-${D/2}px`)};T("margin-left",f),T("margin-right",f),T("margin-top",C),T("margin-bottom",C)}constructor(f,C,T,b,D,y,P){this.elementRef=f,this.renderer=C,this.mediaMatcher=T,this.ngZone=b,this.platform=D,this.breakpointService=y,this.directionality=P,this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new n.t(1),this.dir="ltr",this.destroy$=new t.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(f=>{this.dir=f}),this.setGutterStyle()}ngOnChanges(f){f.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(l.WV).pipe((0,i.R)(this.destroy$)).subscribe(()=>{this.setGutterStyle()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(C){return new(C||d)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(h.vx),e.Y36(e.R0b),e.Y36(E.t4),e.Y36(l.r3),e.Y36(u.Is,8))};static#t=this.\u0275dir=e.lG2({type:d,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostAttrs:[1,"ant-row"],hostVars:20,hostBindings:function(C,T){2&C&&e.ekj("ant-row-top","top"===T.nzAlign)("ant-row-middle","middle"===T.nzAlign)("ant-row-bottom","bottom"===T.nzAlign)("ant-row-start","start"===T.nzJustify)("ant-row-end","end"===T.nzJustify)("ant-row-center","center"===T.nzJustify)("ant-row-space-around","space-around"===T.nzJustify)("ant-row-space-between","space-between"===T.nzJustify)("ant-row-space-evenly","space-evenly"===T.nzJustify)("ant-row-rtl","rtl"===T.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[e.TTD]})}return d})(),v=(()=>{class d{setHostClassMap(){const f={"ant-col":!0,[`ant-col-${this.nzSpan}`]:(0,z.DX)(this.nzSpan),[`ant-col-order-${this.nzOrder}`]:(0,z.DX)(this.nzOrder),[`ant-col-offset-${this.nzOffset}`]:(0,z.DX)(this.nzOffset),[`ant-col-pull-${this.nzPull}`]:(0,z.DX)(this.nzPull),[`ant-col-push-${this.nzPush}`]:(0,z.DX)(this.nzPush),"ant-col-rtl":"rtl"===this.dir,...this.generateClass()};for(const C in this.classMap)this.classMap.hasOwnProperty(C)&&this.renderer.removeClass(this.elementRef.nativeElement,C);this.classMap={...f};for(const C in this.classMap)this.classMap.hasOwnProperty(C)&&this.classMap[C]&&this.renderer.addClass(this.elementRef.nativeElement,C)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(f){return"number"==typeof f?`${f} ${f} auto`:"string"==typeof f&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(f)?`0 0 ${f}`:f}generateClass(){const C={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach(T=>{const b=T.replace("nz","").toLowerCase();if((0,z.DX)(this[T]))if("number"==typeof this[T]||"string"==typeof this[T])C[`ant-col-${b}-${this[T]}`]=!0;else{const D=this[T];["span","pull","push","offset","order"].forEach(P=>{C[`ant-col-${b}${"span"===P?"-":`-${P}-`}${D[P]}`]=D&&(0,z.DX)(D[P])})}}),C}constructor(f,C,T,b){this.elementRef=f,this.nzRowDirective=C,this.renderer=T,this.directionality=b,this.classMap={},this.destroy$=new t.x,this.hostFlexStyle=null,this.dir="ltr",this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(f=>{this.dir=f,this.setHostClassMap()}),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(f){this.setHostClassMap();const{nzFlex:C}=f;C&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe((0,i.R)(this.destroy$)).subscribe(([f,C])=>{const T=(b,D)=>{null!==D&&this.renderer.setStyle(this.elementRef.nativeElement,b,D/2+"px")};T("padding-left",f),T("padding-right",f),T("padding-top",C),T("padding-bottom",C)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(C){return new(C||d)(e.Y36(e.SBq),e.Y36(p,9),e.Y36(e.Qsj),e.Y36(u.Is,8))};static#t=this.\u0275dir=e.lG2({type:d,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(C,T){2&C&&e.Udp("flex",T.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[e.TTD]})}return d})(),_=(()=>{class d{static#e=this.\u0275fac=function(C){return new(C||d)};static#t=this.\u0275mod=e.oAB({type:d});static#n=this.\u0275inj=e.cJS({imports:[u.vT,M.ez,h.xu,E.ud]})}return d})()},12131:(tt,I,o)=>{"use strict";o.d(I,{mx:()=>j,YI:()=>S,o9:()=>P,wi:()=>y,iF:()=>f,bF:()=>C});var e=o(65879),n=o(65619),t=o(1608),i=o(96814),l=o(40581),h=o(97753),E=o(62816);function u(ve){return(0,E.Z)(1,arguments),(0,h.Z)(ve,{weekStartsOn:1})}var _=o(89207),d=o(80356),m=o(3945),f={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week",secondError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",minuteError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",hourError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-23Allowable range

",dayError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-31Allowable range

",monthError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-12Allowable range

",weekError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

? Not specify

0-7Allowable range (0 represents Sunday, 1-7 are Monday to Sunday)

"},QRCode:{expired:"QR code expired",refresh:"Refresh"}},C={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468",secondError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",minuteError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",hourError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

0-23 \u5141\u8bb8\u8303\u56f4

",dayError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-31 \u5141\u8bb8\u8303\u56f4

",monthError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-12 \u5141\u8bb8\u8303\u56f4

",weekError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

? \u4e0d\u6307\u5b9a

0-7 \u5141\u8bb8\u8303\u56f4\uff080\u4ee3\u8868\u5468\u65e5\uff0c1-7\u4f9d\u6b21\u4e3a\u5468\u4e00\u5230\u5468\u65e5\uff09

"},QRCode:{expired:"\u4e8c\u7ef4\u7801\u8fc7\u671f",refresh:"\u70b9\u51fb\u5237\u65b0"}};const T=new e.OlP("nz-i18n"),D=new e.OlP("nz-date-locale");let y=(()=>{class ve{get localeChange(){return this._change.asObservable()}constructor(x,N){this._change=new n.X(this._locale),this.setLocale(x||C),this.setDateLocale(N||null)}translate(x,N){let O=this._getObjectPath(this._locale,x);return"string"==typeof O?(N&&Object.keys(N).forEach($=>O=O.replace(new RegExp(`%${$}%`,"g"),N[$])),O):x}setLocale(x){this._locale&&this._locale.locale===x.locale||(this._locale=x,this._change.next(x))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(x){this.dateLocale=x}getDateLocale(){return this.dateLocale}getLocaleData(x,N){const O=x?this._getObjectPath(this._locale,x):this._locale;return!O&&!N&&(0,t.ZK)(`Missing translations for "${x}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),O||N||this._getObjectPath(f,x)||{}}_getObjectPath(x,N){let O=x;const $=N.split("."),L=$.length;let he=0;for(;O&&he{class ve{constructor(x){this._locale=x}transform(x,N){return this._locale.translate(x,N)}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(y,16))};static#t=this.\u0275pipe=e.Yjl({name:"nzI18n",type:ve,pure:!0})}return ve})(),S=(()=>{class ve{static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275mod=e.oAB({type:ve});static#n=this.\u0275inj=e.cJS({})}return ve})();const A=new e.OlP("date-config"),k={firstDayOfWeek:void 0};let j=(()=>{class ve{constructor(x,N){this.i18n=x,this.config=N,this.config=function R(ve){return{...k,...ve}}(this.config)}static#e=this.\u0275fac=function(N){return new(N||ve)(e.LFG(y),e.LFG(A,8))};static#t=this.\u0275prov=e.Yz7({token:ve,factory:function(N){let O=null;return O=N?new N:function W(ve,nt){const x=ve.get(y);return x.getDateLocale()?new ze(x,nt):new Y(x,nt)}(e.LFG(e.zs3),e.LFG(A,8)),O},providedIn:"root"})}return ve})();class ze extends j{getISOWeek(nt){return function v(ve){(0,E.Z)(1,arguments);var nt=(0,l.Z)(ve),x=u(nt).getTime()-function M(ve){(0,E.Z)(1,arguments);var nt=function z(ve){(0,E.Z)(1,arguments);var nt=(0,l.Z)(ve),x=nt.getFullYear(),N=new Date(0);N.setFullYear(x+1,0,4),N.setHours(0,0,0,0);var O=u(N),$=new Date(0);$.setFullYear(x,0,4),$.setHours(0,0,0,0);var L=u($);return nt.getTime()>=O.getTime()?x+1:nt.getTime()>=L.getTime()?x:x-1}(ve),x=new Date(0);return x.setFullYear(nt,0,4),x.setHours(0,0,0,0),u(x)}(nt).getTime();return Math.round(x/6048e5)+1}(nt)}getFirstDayOfWeek(){let nt;try{nt=this.i18n.getDateLocale().options.weekStartsOn}catch{nt=1}return null==this.config.firstDayOfWeek?nt:this.config.firstDayOfWeek}format(nt,x){return nt?(0,_.Z)(nt,x,{locale:this.i18n.getDateLocale()}):""}parseDate(nt,x){return(0,d.Z)(nt,x,new Date,{locale:this.i18n.getDateLocale(),weekStartsOn:this.getFirstDayOfWeek()})}parseTime(nt,x){return this.parseDate(nt,x)}}class Y extends j{getISOWeek(nt){return+this.format(nt,"w")}getFirstDayOfWeek(){if(void 0===this.config.firstDayOfWeek){const nt=this.i18n.getLocaleId();return nt&&["zh-cn","zh-tw"].indexOf(nt.toLowerCase())>-1?1:0}return this.config.firstDayOfWeek}format(nt,x){return nt?(0,i.p6)(nt,x,this.i18n.getLocaleId()):""}parseDate(nt){return new Date(nt)}parseTime(nt,x){return new m.xR(x,this.i18n.getLocaleId()).toDate(nt)}}},90551:(tt,I,o)=>{"use strict";o.d(I,{Ls:()=>Qe,PV:()=>Ke,H5:()=>wt});var e=o(62831),n=o(65879),t=o(97582),i=o(78645),l=o(7715),h=o(59773),E=o(94265),u=o(36379),z=2,M=.16,p=.05,v=.05,_=.15,d=5,m=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function C(Ze){var N=(0,E.py)(Ze.r,Ze.g,Ze.b);return{h:360*N.h,s:N.s,v:N.v}}function T(Ze){return"#".concat((0,E.vq)(Ze.r,Ze.g,Ze.b,!1))}function D(Ze,ve,nt){var x;return(x=Math.round(Ze.h)>=60&&Math.round(Ze.h)<=240?nt?Math.round(Ze.h)-z*ve:Math.round(Ze.h)+z*ve:nt?Math.round(Ze.h)+z*ve:Math.round(Ze.h)-z*ve)<0?x+=360:x>=360&&(x-=360),x}function y(Ze,ve,nt){return 0===Ze.h&&0===Ze.s?Ze.s:((x=nt?Ze.s-M*ve:ve===m?Ze.s+M:Ze.s+p*ve)>1&&(x=1),nt&&ve===d&&x>.1&&(x=.1),x<.06&&(x=.06),Number(x.toFixed(2)));var x}function P(Ze,ve,nt){var x;return(x=nt?Ze.v+v*ve:Ze.v-_*ve)>1&&(x=1),Number(x.toFixed(2))}function S(Ze){for(var ve=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},nt=[],x=(0,u.uA)(Ze),N=d;N>0;N-=1){var O=C(x),$=T((0,u.uA)({h:D(O,N,!0),s:y(O,N,!0),v:P(O,N,!0)}));nt.push($)}nt.push(T(x));for(var L=1;L<=m;L+=1){var he=C(x),Ce=T((0,u.uA)({h:D(he,L),s:y(he,L),v:P(he,L)}));nt.push(Ce)}return"dark"===ve.theme?f.map(function(Dt){var Yt=Dt.index,rn=Dt.opacity,hn=T(function b(Ze,ve,nt){var x=nt/100;return{r:(ve.r-Ze.r)*x+Ze.r,g:(ve.g-Ze.g)*x+Ze.g,b:(ve.b-Ze.b)*x+Ze.b}}((0,u.uA)(ve.backgroundColor||"#141414"),(0,u.uA)(nt[Yt]),100*rn));return hn}):nt}var A={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},k={},R={};Object.keys(A).forEach(function(Ze){k[Ze]=S(A[Ze]),k[Ze].primary=k[Ze][5],R[Ze]=S(A[Ze],{theme:"dark",backgroundColor:"#141414"}),R[Ze].primary=R[Ze][5]});var X=o(96814),ne=o(69862),le=o(22096),Se=o(65592),Ne=o(37398),ke=o(99397),oe=o(64716),_e=o(26306),Q=o(63020),He=o(32181),Re=o(48180),lt=o(6593);const Pe="[@ant-design/icons-angular]:";function $e(Ze){(0,n.X6Q)()&&console.warn(`${Pe} ${Ze}.`)}function ot(Ze){return S(Ze)[0]}function mt(Ze,ve){switch(ve){case"fill":return`${Ze}-fill`;case"outline":return`${Ze}-o`;case"twotone":return`${Ze}-twotone`;case void 0:return Ze;default:throw new Error(`${Pe}Theme "${ve}" is not a recognized theme!`)}}function B(Ze){return"object"==typeof Ze&&"string"==typeof Ze.name&&("string"==typeof Ze.theme||void 0===Ze.theme)&&"string"==typeof Ze.icon}function ht(Ze){const ve=Ze.split(":");switch(ve.length){case 1:return[Ze,""];case 2:return[ve[1],ve[0]];default:throw new Error(`${Pe}The icon type ${Ze} is not valid!`)}}function Wt(Ze){return new Error(`${Pe}the icon ${Ze} does not exist or is not registered.`)}function Vt(){return new Error(`${Pe} tag not found.`)}const gt=new n.OlP("ant_icons");let Ie=(()=>{class Ze{set twoToneColor({primaryColor:nt,secondaryColor:x}){this._twoToneColorPalette.primaryColor=nt,this._twoToneColorPalette.secondaryColor=x||ot(nt)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}constructor(nt,x,N,O,$){this._rendererFactory=nt,this._handler=x,this._document=N,this.sanitizer=O,this._antIcons=$,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new i.x,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new ne.eN(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?$e("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=nt=>{this._jsonpIconLoad$.next(nt)})}changeAssetsSource(nt){this._assetsUrlRoot=nt.endsWith("/")?nt:nt+"/"}addIcon(...nt){nt.forEach(x=>{this._svgDefinitions.set(mt(x.name,x.theme),x)})}addIconLiteral(nt,x){const[N,O]=ht(nt);if(!O)throw function Lt(){return new Error(`${Pe}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:nt,icon:x})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(nt,x){const N=B(nt)?nt:this._svgDefinitions.get(nt)||null;if(!N&&this._disableDynamicLoading)throw Wt(nt);return(N?(0,le.of)(N):this._loadIconDynamically(nt)).pipe((0,Ne.U)($=>{if(!$)throw Wt(nt);return this._loadSVGFromCacheOrCreateNew($,x)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(nt){if(!this._http&&!this._enableJsonpLoading)return(0,le.of)(function qt(){return function xt(Ze){console.error(`${Pe} ${Ze}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let x=this._inProgressFetches.get(nt);if(!x){const[N,O]=ht(nt),$=O?{name:nt,icon:""}:function Me(Ze){const ve=Ze.split("-"),nt=function de(Ze){return"o"===Ze?"outline":Ze}(ve.splice(ve.length-1,1)[0]);return{name:ve.join("-"),theme:nt,icon:""}}(N),he=(O?`${this._assetsUrlRoot}assets/${O}/${N}`:`${this._assetsUrlRoot}assets/${$.theme}/${$.name}`)+(this._enableJsonpLoading?".js":".svg"),Ce=this.sanitizer.sanitize(n.q3G.URL,he);if(!Ce)throw function en(Ze){return new Error(`${Pe}The url "${Ze}" is unsafe.`)}(he);x=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp($,Ce):this._http.get(Ce,{responseType:"text"}).pipe((0,Ne.U)(Yt=>({...$,icon:Yt})))).pipe((0,ke.b)(Yt=>this.addIcon(Yt)),(0,oe.x)(()=>this._inProgressFetches.delete(nt)),(0,_e.K)(()=>(0,le.of)(null)),(0,Q.B)()),this._inProgressFetches.set(nt,x)}return x}_loadIconDynamicallyWithJsonp(nt,x){return new Se.y(N=>{const O=this._document.createElement("script"),$=setTimeout(()=>{L(),N.error(function cn(){return new Error(`${Pe}Importing timeout error.`)}())},6e3);function L(){O.parentNode.removeChild(O),clearTimeout($)}O.src=x,this._document.body.appendChild(O),this._jsonpIconLoad$.pipe((0,He.h)(he=>he.name===nt.name&&he.theme===nt.theme),(0,Re.q)(1)).subscribe(he=>{N.next(he),L()})})}_loadSVGFromCacheOrCreateNew(nt,x){let N;const O=x||this._twoToneColorPalette.primaryColor,$=ot(O)||this._twoToneColorPalette.secondaryColor,L="twotone"===nt.theme?function we(Ze,ve,nt,x){return`${mt(Ze,ve)}-${nt}-${x}`}(nt.name,nt.theme,O,$):void 0===nt.theme?nt.name:mt(nt.name,nt.theme),he=this._svgRenderedDefinitions.get(L);return he?N=he.icon:(N=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function Ot(Ze){return""!==ht(Ze)[1]}(nt.name)?nt.icon:function Le(Ze){return Ze.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(nt.icon)),"twotone"===nt.theme,O,$)),this._svgRenderedDefinitions.set(L,{...nt,icon:N})),function Ae(Ze){return Ze.cloneNode(!0)}(N)}_createSVGElementFromString(nt){const x=this._document.createElement("div");x.innerHTML=nt;const N=x.querySelector("svg");if(!N)throw Vt;return N}_setSVGAttribute(nt){return this._renderer.setAttribute(nt,"width","1em"),this._renderer.setAttribute(nt,"height","1em"),nt}_colorizeSVGIcon(nt,x,N,O){if(x){const $=nt.childNodes,L=$.length;for(let he=0;he{class Ze{constructor(nt,x,N){this._iconService=nt,this._elementRef=x,this._renderer=N}ngOnChanges(nt){(nt.type||nt.theme||nt.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(nt=>{if(!this.type)return this._clearSVGElement(),void nt(null);const x=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(N=>{const O=this._getSelfRenderMeta();!function Ct(Ze,ve){return Ze.type===ve.type&&Ze.theme===ve.theme&&Ze.twoToneColor===ve.twoToneColor}(x,O)?nt(null):(this._setSVGElement(N),nt(N))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(nt,x){if(B(nt))return nt;{const[N,O]=ht(nt);return O?nt:function U(Ze){return Ze.endsWith("-fill")||Ze.endsWith("-o")||Ze.endsWith("-twotone")}(N)?(x&&$e(`'type' ${N} already gets a theme inside so 'theme' ${x} would be ignored`),N):mt(N,x||this._iconService.defaultTheme)}}_setSVGElement(nt){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,nt)}_clearSVGElement(){const nt=this._elementRef.nativeElement,x=nt.childNodes;for(let O=x.length-1;O>=0;O--){const $=x[O];"svg"===$.tagName?.toLowerCase()&&this._renderer.removeChild(nt,$)}}static#e=this.\u0275fac=function(x){return new(x||Ze)(n.Y36(Ie),n.Y36(n.SBq),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:Ze,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[n.TTD]})}return Ze})();var qe=o(1608),Fe=o(27754),fe=o(14715),Xe=o(83064);const ge=[fe.V65,fe.ud1,fe.bBn,fe.BOg,fe.Hkd,fe.XuQ,fe.Rfq,fe.yQU,fe.U2Q,fe.UKj,fe.OYp,fe.BXH,fe.eLU,fe.x0x,fe.vkb,fe.VWu,fe.rMt,fe.vEg,fe.RIp,fe.RU0,fe.M8e,fe.ssy,fe.Z5F,fe.iUK,fe.LJh,fe.NFG,fe.UTl,fe.nrZ,fe.gvV,fe.d2H,fe.eFY,fe.sZJ,fe.np6,fe.w1L,fe.UY$,fe.v6v,fe.rHg,fe.v6v,fe.s_U,fe.TSL,fe.FsU,fe.cN2,fe.uIz,fe.d_$],je=new n.OlP("nz_icons"),We=(new n.OlP("nz_icon_default_twotone_color"),"#1890ff");let wt=(()=>{class Ze extends Ie{get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(nt){nt.getAttribute("viewBox")||this._renderer.setAttribute(nt,"viewBox","0 0 1024 1024"),(!nt.getAttribute("width")||!nt.getAttribute("height"))&&(this._renderer.setAttribute(nt,"width","1em"),this._renderer.setAttribute(nt,"height","1em")),nt.getAttribute("fill")||this._renderer.setAttribute(nt,"fill","currentColor")}fetchFromIconfont(nt){const{scriptUrl:x}=nt;if(this._document&&!this.iconfontCache.has(x)){const N=this._renderer.createElement("script");this._renderer.setAttribute(N,"src",x),this._renderer.setAttribute(N,"data-namespace",x.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,N),this.iconfontCache.add(x)}}createIconfontIcon(nt){return this._createSVGElementFromString(``)}constructor(nt,x,N,O,$,L,he){super(nt,$,L,x,[...ge,...he||[]]),this.nzConfigService=N,this.platform=O,this.configUpdated$=new i.x,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const nt=this.getConfig();this.defaultTheme=nt.nzTheme||"outline"}configDefaultTwotoneColor(){const x=this.getConfig().nzTwotoneColor||We;let N=We;x&&(x.startsWith("#")?N=x:(0,qe.ZK)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:N}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static#e=this.\u0275fac=function(x){return new(x||Ze)(n.LFG(n.FYo),n.LFG(lt.H7),n.LFG(Xe.jY),n.LFG(e.t4),n.LFG(ne.jN,8),n.LFG(X.K0,8),n.LFG(je,8))};static#t=this.\u0275prov=n.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();const Ee=new n.OlP("nz_icons_patch");let be=(()=>{class Ze{constructor(nt,x){this.extraIcons=nt,this.rootIconService=x,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(nt=>this.rootIconService.addIcon(nt)),this.patched=!0)}static#e=this.\u0275fac=function(x){return new(x||Ze)(n.LFG(Ee,2),n.LFG(wt))};static#t=this.\u0275prov=n.Yz7({token:Ze,factory:Ze.\u0275fac})}return Ze})(),Qe=(()=>{class Ze extends Nt{set nzSpin(nt){this.spin=nt}set nzType(nt){this.type=nt}set nzTheme(nt){this.theme=nt}set nzTwotoneColor(nt){this.twoToneColor=nt}set nzIconfont(nt){this.iconfont=nt}constructor(nt,x,N,O,$,L){super(O,N,$),this.ngZone=nt,this.changeDetectorRef=x,this.iconService=O,this.renderer=$,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new i.x,L&&L.doPatch(),this.el=N.nativeElement}ngOnChanges(nt){const{nzType:x,nzTwotoneColor:N,nzSpin:O,nzTheme:$,nzRotate:L}=nt;x||N||O||$?this.changeIcon2():L?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const nt=this.el.children;let x=nt.length;if(!this.type&&nt.length)for(;x--;){const N=nt[x];"svg"===N.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(N)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{(0,l.D)(this._changeIcon()).pipe((0,h.R)(this.destroy$)).subscribe({next:nt=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),nt&&(this.setSVGData(nt),this.handleSpin(nt),this.handleRotate(nt))})},error:qe.ZK})})}handleSpin(nt){this.spin||"loading"===this.type?this.renderer.addClass(nt,"anticon-spin"):this.renderer.removeClass(nt,"anticon-spin")}handleRotate(nt){this.nzRotate?this.renderer.setAttribute(nt,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(nt,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(nt){this.renderer.setAttribute(nt,"data-icon",this.type),this.renderer.setAttribute(nt,"aria-hidden","true")}static#e=this.\u0275fac=function(x){return new(x||Ze)(n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(wt),n.Y36(n.Qsj),n.Y36(be,8))};static#t=this.\u0275dir=n.lG2({type:Ze,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(x,N){2&x&&n.ekj("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[n.qOj,n.TTD]})}return(0,t.gn)([(0,Fe.yF)()],Ze.prototype,"nzSpin",null),Ze})(),Ke=(()=>{class Ze{static forRoot(nt){return{ngModule:Ze,providers:[{provide:je,useValue:nt}]}}static forChild(nt){return{ngModule:Ze,providers:[be,{provide:Ee,useValue:nt}]}}static#e=this.\u0275fac=function(x){return new(x||Ze)};static#t=this.\u0275mod=n.oAB({type:Ze});static#n=this.\u0275inj=n.cJS({imports:[e.ud]})}return Ze})()},92760:(tt,I,o)=>{"use strict";o.d(I,{Gb:()=>le,Ie:()=>ne,x8:()=>ae});var e=o(97582),n=o(96814),t=o(65879),i=o(78645),l=o(92438),h=o(32181),E=o(48180),u=o(59773),z=o(83064),M=o(27754),p=o(33651),v=o(68484),_=o(36028),d=o(64194),m=o(99087),f=o(6593),C=o(34423),T=o(90551),b=o(49388),D=o(6192);const y=["imgRef"],P=["imagePreviewWrapper"];function S(Se,Ne){if(1&Se){const ke=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){const Q=t.CHM(ke).$implicit;return t.KtG(Q.onClick())}),t._UZ(1,"span",11),t.qZA()}if(2&Se){const ke=Ne.$implicit,oe=t.oxw();t.ekj("ant-image-preview-operations-operation-disabled",oe.zoomOutDisabled&&"zoomOut"===ke.type),t.xp6(1),t.Q6J("nzType",ke.icon)}}function A(Se,Ne){if(1&Se&&t._UZ(0,"img",13,14),2&Se){const ke=t.oxw().$implicit,oe=t.oxw();t.Udp("width",ke.width)("height",ke.height)("transform",oe.previewImageTransform),t.uIk("src",oe.sanitizerResourceUrl(ke.src),t.LSH)("srcset",ke.srcset)("alt",ke.alt)}}function k(Se,Ne){if(1&Se&&(t.ynx(0),t.YNc(1,A,2,9,"img",12),t.BQk()),2&Se){const ke=Ne.index,oe=t.oxw();t.xp6(1),t.Q6J("ngIf",oe.index===ke)}}function R(Se,Ne){if(1&Se){const ke=t.EpF();t.ynx(0),t.TgZ(1,"div",15),t.NdJ("click",function(_e){t.CHM(ke);const Q=t.oxw();return t.KtG(Q.onSwitchLeft(_e))}),t._UZ(2,"span",16),t.qZA(),t.TgZ(3,"div",17),t.NdJ("click",function(_e){t.CHM(ke);const Q=t.oxw();return t.KtG(Q.onSwitchRight(_e))}),t._UZ(4,"span",18),t.qZA(),t.BQk()}if(2&Se){const ke=t.oxw();t.xp6(1),t.ekj("ant-image-preview-switch-left-disabled",ke.index<=0),t.xp6(2),t.ekj("ant-image-preview-switch-right-disabled",ke.index>=ke.images.length-1)}}const W=["*"],Y="image";class G{constructor(){this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzMaskClosable=!0,this.nzCloseOnNavigation=!0}}class V{constructor(Ne,ke,oe){this.previewInstance=Ne,this.config=ke,this.overlayRef=oe,this.destroy$=new i.x,oe.keydownEvents().pipe((0,h.h)(_e=>this.config.nzKeyboard&&(_e.keyCode===_.hY||_e.keyCode===_.oh||_e.keyCode===_.SV)&&!(0,_.Vb)(_e))).subscribe(_e=>{_e.preventDefault(),_e.keyCode===_.hY&&this.close(),_e.keyCode===_.oh&&this.prev(),_e.keyCode===_.SV&&this.next()}),oe.detachments().subscribe(()=>{this.overlayRef.dispose()}),Ne.containerClick.pipe((0,E.q)(1),(0,u.R)(this.destroy$)).subscribe(()=>{this.close()}),Ne.closeClick.pipe((0,E.q)(1),(0,u.R)(this.destroy$)).subscribe(()=>{this.close()}),Ne.animationStateChanged.pipe((0,h.h)(_e=>"done"===_e.phaseName&&"leave"===_e.toState),(0,E.q)(1)).subscribe(()=>{this.dispose()})}switchTo(Ne){this.previewInstance.switchTo(Ne)}next(){this.previewInstance.next()}prev(){this.previewInstance.prev()}close(){this.previewInstance.startLeaveAnimation()}dispose(){this.destroy$.next(),this.overlayRef.dispose()}}function pe(Se,Ne,ke){const oe=Se+Ne,_e=(Ne-ke)/2;let Q=null;return Ne>ke?(Se>0&&(Q=_e),Se<0&&oeke)&&(Q=Se<0?_e:-_e),Q}const re={x:0,y:0};let De=(()=>{class Se{get animationDisabled(){return this.config.nzNoAnimation??!1}get maskClosable(){const ke=this.nzConfigService.getConfigForComponent(Y)||{};return this.config.nzMaskClosable??ke.nzMaskClosable??!0}constructor(ke,oe,_e,Q,He,Re,lt,Pe){this.ngZone=ke,this.host=oe,this.cdr=_e,this.nzConfigService=Q,this.config=He,this.overlayRef=Re,this.destroy$=lt,this.sanitizer=Pe,this.images=[],this.index=0,this.isDragging=!1,this.visible=!0,this.animationState="enter",this.animationStateChanged=new t.vpe,this.previewImageTransform="",this.previewImageWrapperTransform="",this.operations=[{icon:"close",onClick:()=>{this.onClose()},type:"close"},{icon:"zoom-in",onClick:()=>{this.onZoomIn()},type:"zoomIn"},{icon:"zoom-out",onClick:()=>{this.onZoomOut()},type:"zoomOut"},{icon:"rotate-right",onClick:()=>{this.onRotateRight()},type:"rotateRight"},{icon:"rotate-left",onClick:()=>{this.onRotateLeft()},type:"rotateLeft"}],this.zoomOutDisabled=!1,this.position={...re},this.containerClick=new t.vpe,this.closeClick=new t.vpe,this.zoom=this.config.nzZoom??1,this.rotate=this.config.nzRotate??0,this.updateZoomOutDisabled(),this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,l.R)(this.host.nativeElement,"click").pipe((0,u.R)(this.destroy$)).subscribe(ke=>{ke.target===ke.currentTarget&&this.maskClosable&&this.containerClick.observers.length&&this.ngZone.run(()=>this.containerClick.emit())}),(0,l.R)(this.imagePreviewWrapper.nativeElement,"mousedown").pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.isDragging=!0})})}setImages(ke){this.images=ke,this.cdr.markForCheck()}switchTo(ke){this.index=ke,this.cdr.markForCheck()}next(){this.index0&&(this.reset(),this.index--,this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform(),this.updateZoomOutDisabled(),this.cdr.markForCheck())}markForCheck(){this.cdr.markForCheck()}onClose(){this.closeClick.emit()}onZoomIn(){this.zoom+=1,this.updatePreviewImageTransform(),this.updateZoomOutDisabled(),this.position={...re}}onZoomOut(){this.zoom>1&&(this.zoom-=1,this.updatePreviewImageTransform(),this.updateZoomOutDisabled(),this.position={...re})}onRotateRight(){this.rotate+=90,this.updatePreviewImageTransform()}onRotateLeft(){this.rotate-=90,this.updatePreviewImageTransform()}onSwitchLeft(ke){ke.preventDefault(),ke.stopPropagation(),this.prev()}onSwitchRight(ke){ke.preventDefault(),ke.stopPropagation(),this.next()}onAnimationStart(ke){"enter"===ke.toState?this.setEnterAnimationClass():"leave"===ke.toState&&this.setLeaveAnimationClass(),this.animationStateChanged.emit(ke)}onAnimationDone(ke){"enter"===ke.toState?this.setEnterAnimationClass():"leave"===ke.toState&&this.setLeaveAnimationClass(),this.animationStateChanged.emit(ke)}startLeaveAnimation(){this.animationState="leave",this.cdr.markForCheck()}onDragReleased(){this.isDragging=!1;const ke=this.imageRef.nativeElement.offsetWidth*this.zoom,oe=this.imageRef.nativeElement.offsetHeight*this.zoom,{left:_e,top:Q}=function ee(Se){const Ne=Se.getBoundingClientRect(),ke=document.documentElement;return{left:Ne.left+(window.pageXOffset||ke.scrollLeft)-(ke.clientLeft||document.body.clientLeft||0),top:Ne.top+(window.pageYOffset||ke.scrollTop)-(ke.clientTop||document.body.clientTop||0)}}(this.imageRef.nativeElement),{width:He,height:Re}=function te(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}(),lt=this.rotate%180!=0,xt=function K(Se){let Ne={};return Se.width<=Se.clientWidth&&Se.height<=Se.clientHeight&&(Ne={x:0,y:0}),(Se.width>Se.clientWidth||Se.height>Se.clientHeight)&&(Ne={x:pe(Se.left,Se.width,Se.clientWidth),y:pe(Se.top,Se.height,Se.clientHeight)}),Ne}({width:lt?oe:ke,height:lt?ke:oe,left:_e,top:Q,clientWidth:He,clientHeight:Re});((0,M.DX)(xt.x)||(0,M.DX)(xt.y))&&(this.position={...this.position,...xt})}sanitizerResourceUrl(ke){return this.sanitizer.bypassSecurityTrustResourceUrl(ke)}updatePreviewImageTransform(){this.previewImageTransform=`scale3d(${this.zoom}, ${this.zoom}, 1) rotate(${this.rotate}deg)`}updatePreviewImageWrapperTransform(){this.previewImageWrapperTransform=`translate3d(${this.position.x}px, ${this.position.y}px, 0)`}updateZoomOutDisabled(){this.zoomOutDisabled=this.zoom<=1}setEnterAnimationClass(){if(this.animationDisabled)return;const ke=this.overlayRef.backdropElement;ke&&(ke.classList.add("ant-fade-enter"),ke.classList.add("ant-fade-enter-active"))}setLeaveAnimationClass(){if(this.animationDisabled)return;const ke=this.overlayRef.backdropElement;ke&&(ke.classList.add("ant-fade-leave"),ke.classList.add("ant-fade-leave-active"))}reset(){this.zoom=1,this.rotate=0,this.position={...re}}static#e=this.\u0275fac=function(oe){return new(oe||Se)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(z.jY),t.Y36(G),t.Y36(p.Iu),t.Y36(m.kn),t.Y36(f.H7))};static#t=this.\u0275cmp=t.Xpm({type:Se,selectors:[["nz-image-preview"]],viewQuery:function(oe,_e){if(1&oe&&(t.Gf(y,5),t.Gf(P,7)),2&oe){let Q;t.iGM(Q=t.CRH())&&(_e.imageRef=Q.first),t.iGM(Q=t.CRH())&&(_e.imagePreviewWrapper=Q.first)}},hostAttrs:["tabindex","-1","role","document",1,"ant-image-preview-wrap"],hostVars:6,hostBindings:function(oe,_e){1&oe&&t.WFA("@fadeMotion.start",function(He){return _e.onAnimationStart(He)})("@fadeMotion.done",function(He){return _e.onAnimationDone(He)}),2&oe&&(t.d8E("@.disabled",_e.config.nzNoAnimation)("@fadeMotion",_e.animationState),t.Udp("z-index",_e.config.nzZIndex),t.ekj("ant-image-preview-moving",_e.isDragging))},exportAs:["nzImagePreview"],features:[t._Bn([m.kn])],decls:11,vars:6,consts:[[1,"ant-image-preview"],["tabindex","0","aria-hidden","true",2,"width","0","height","0","overflow","hidden","outline","none"],[1,"ant-image-preview-content"],[1,"ant-image-preview-body"],[1,"ant-image-preview-operations"],["class","ant-image-preview-operations-operation",3,"ant-image-preview-operations-operation-disabled","click",4,"ngFor","ngForOf"],["cdkDrag","",1,"ant-image-preview-img-wrapper",3,"cdkDragFreeDragPosition","cdkDragReleased"],["imagePreviewWrapper",""],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"ant-image-preview-operations-operation",3,"click"],["nz-icon","","nzTheme","outline",1,"ant-image-preview-operations-icon",3,"nzType"],["cdkDragHandle","","class","ant-image-preview-img",3,"width","height","transform",4,"ngIf"],["cdkDragHandle","",1,"ant-image-preview-img"],["imgRef",""],[1,"ant-image-preview-switch-left",3,"click"],["nz-icon","","nzType","left","nzTheme","outline"],[1,"ant-image-preview-switch-right",3,"click"],["nz-icon","","nzType","right","nzTheme","outline"]],template:function(oe,_e){1&oe&&(t.TgZ(0,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2)(3,"div",3)(4,"ul",4),t.YNc(5,S,2,3,"li",5),t.qZA(),t.TgZ(6,"div",6,7),t.NdJ("cdkDragReleased",function(){return _e.onDragReleased()}),t.YNc(8,k,2,1,"ng-container",8),t.qZA(),t.YNc(9,R,5,4,"ng-container",9),t.qZA()(),t._UZ(10,"div",1),t.qZA()),2&oe&&(t.xp6(5),t.Q6J("ngForOf",_e.operations),t.xp6(1),t.Udp("transform",_e.previewImageWrapperTransform),t.Q6J("cdkDragFreeDragPosition",_e.position),t.xp6(2),t.Q6J("ngForOf",_e.images),t.xp6(1),t.Q6J("ngIf",_e.images.length>1))},dependencies:[C.Zt,C.Bh,n.sg,n.O5,T.Ls],encapsulation:2,data:{animation:[d.MC]},changeDetection:0})}return Se})(),ae=(()=>{class Se{constructor(ke,oe,_e,Q){this.overlay=ke,this.injector=oe,this.nzConfigService=_e,this.directionality=Q}preview(ke,oe){return this.display(ke,oe)}display(ke,oe){const _e={...new G,...oe??{}},Q=this.createOverlay(_e),He=this.attachPreviewComponent(Q,_e);He.setImages(ke);const Re=new V(He,_e,Q);return He.previewRef=Re,Re}attachPreviewComponent(ke,oe){const _e=t.zs3.create({parent:this.injector,providers:[{provide:p.Iu,useValue:ke},{provide:G,useValue:oe}]}),Q=new v.C5(De,null,_e);return ke.attach(Q).instance}createOverlay(ke){const oe=this.nzConfigService.getConfigForComponent(Y)||{},_e=new p.X_({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:ke.nzCloseOnNavigation??oe.nzCloseOnNavigation??!0,backdropClass:"ant-image-preview-mask",direction:ke.nzDirection||oe.nzDirection||this.directionality.value});return this.overlay.create(_e)}static#e=this.\u0275fac=function(oe){return new(oe||Se)(t.LFG(p.aV),t.LFG(t.zs3),t.LFG(z.jY),t.LFG(b.Is,8))};static#t=this.\u0275prov=t.Yz7({token:Se,factory:Se.\u0275fac})}return Se})(),ce=(()=>{class Se{constructor(){this.images=[]}addImage(ke){this.images.push(ke)}static#e=this.\u0275fac=function(oe){return new(oe||Se)};static#t=this.\u0275cmp=t.Xpm({type:Se,selectors:[["nz-image-group"]],exportAs:["nzImageGroup"],ngContentSelectors:W,decls:1,vars:0,template:function(oe,_e){1&oe&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return Se})(),ne=(()=>{class Se{get previewable(){return!this.nzDisablePreview&&"error"!==this.status}constructor(ke,oe,_e,Q,He,Re,lt){this.document=ke,this.nzConfigService=oe,this.elementRef=_e,this.nzImageService=Q,this.cdr=He,this.parentGroup=Re,this.directionality=lt,this._nzModuleName="image",this.nzSrc="",this.nzSrcset="",this.nzDisablePreview=!1,this.nzFallback=null,this.nzPlaceholder=null,this.status="normal",this.backLoadDestroy$=new i.x,this.destroy$=new i.x}ngOnInit(){this.backLoad(),this.parentGroup&&this.parentGroup.addImage(this),this.directionality&&(this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(ke=>{this.dir=ke,this.cdr.detectChanges()}),this.dir=this.directionality.value)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onPreview(){if(this.previewable)if(this.parentGroup){const ke=this.parentGroup.images.filter(He=>He.previewable),oe=ke.map(He=>({src:He.nzSrc,srcset:He.nzSrcset})),_e=ke.findIndex(He=>this===He);this.nzImageService.preview(oe,{nzDirection:this.dir}).switchTo(_e)}else this.nzImageService.preview([{src:this.nzSrc,srcset:this.nzSrcset}],{nzDirection:this.dir})}getElement(){return this.elementRef}ngOnChanges(ke){const{nzSrc:oe}=ke;oe&&(this.getElement().nativeElement.src=oe.currentValue,this.backLoad())}backLoad(){this.backLoadImage=this.document.createElement("img"),this.backLoadImage.src=this.nzSrc,this.backLoadImage.srcset=this.nzSrcset,this.status="loading",this.backLoadDestroy$.next(),this.backLoadDestroy$.complete(),this.backLoadDestroy$=new i.x,this.backLoadImage.complete?(this.status="normal",this.getElement().nativeElement.src=this.nzSrc,this.getElement().nativeElement.srcset=this.nzSrcset):(this.nzPlaceholder?(this.getElement().nativeElement.src=this.nzPlaceholder,this.getElement().nativeElement.srcset=""):(this.getElement().nativeElement.src=this.nzSrc,this.getElement().nativeElement.srcset=this.nzSrcset),(0,l.R)(this.backLoadImage,"load").pipe((0,u.R)(this.backLoadDestroy$),(0,u.R)(this.destroy$)).subscribe(()=>{this.status="normal",this.getElement().nativeElement.src=this.nzSrc,this.getElement().nativeElement.srcset=this.nzSrcset}),(0,l.R)(this.backLoadImage,"error").pipe((0,u.R)(this.backLoadDestroy$),(0,u.R)(this.destroy$)).subscribe(()=>{this.status="error",this.nzFallback&&(this.getElement().nativeElement.src=this.nzFallback,this.getElement().nativeElement.srcset="")}))}static#e=this.\u0275fac=function(oe){return new(oe||Se)(t.Y36(n.K0),t.Y36(z.jY),t.Y36(t.SBq),t.Y36(ae),t.Y36(t.sBO),t.Y36(ce,8),t.Y36(b.Is,8))};static#t=this.\u0275dir=t.lG2({type:Se,selectors:[["img","nz-image",""]],hostBindings:function(oe,_e){1&oe&&t.NdJ("click",function(){return _e.onPreview()})},inputs:{nzSrc:"nzSrc",nzSrcset:"nzSrcset",nzDisablePreview:"nzDisablePreview",nzFallback:"nzFallback",nzPlaceholder:"nzPlaceholder"},exportAs:["nzImage"],features:[t.TTD]})}return(0,e.gn)([(0,M.yF)(),(0,z.oS)()],Se.prototype,"nzDisablePreview",void 0),(0,e.gn)([(0,z.oS)()],Se.prototype,"nzFallback",void 0),(0,e.gn)([(0,z.oS)()],Se.prototype,"nzPlaceholder",void 0),Se})(),le=(()=>{class Se{static#e=this.\u0275fac=function(oe){return new(oe||Se)};static#t=this.\u0275mod=t.oAB({type:Se});static#n=this.\u0275inj=t.cJS({providers:[ae],imports:[b.vT,p.U8,v.eL,C._t,n.ez,T.PV,D.YS]})}return Se})()},68373:(tt,I,o)=>{"use strict";o.d(I,{Zf:()=>ke,_V:()=>ne});var e=o(97582),n=o(36028),t=o(65879),i=o(60095),l=o(78645),h=o(92438),E=o(63019),u=o(93997),z=o(59773),M=o(99087),p=o(27754),v=o(4300),_=o(49388),d=o(50883),m=o(96814),f=o(90551),C=o(8324);const T=["upHandler"],b=["downHandler"],D=["inputElement"];function y(oe,_e){if(1&oe&&t._UZ(0,"nz-form-item-feedback-icon",11),2&oe){const Q=t.oxw();t.Q6J("status",Q.status)}}let ne=(()=>{class oe{onModelChange(Q){this.parsedValue=this.nzParser(Q),this.inputElement.nativeElement.value=`${this.parsedValue}`;const He=this.getCurrentValidValue(this.parsedValue);this.setValue(He)}getCurrentValidValue(Q){let He=Q;return He=""===He?"":this.isNotCompleteNumber(He)?this.value:`${this.getValidValue(He)}`,this.toNumber(He)}isNotCompleteNumber(Q){return isNaN(Q)||""===Q||null===Q||!(!Q||Q.toString().indexOf(".")!==Q.toString().length-1)}getValidValue(Q){let He=parseFloat(Q);return isNaN(He)?Q:(Hethis.nzMax&&(He=this.nzMax),He)}toNumber(Q){if(this.isNotCompleteNumber(Q))return Q;const He=String(Q);if(He.indexOf(".")>=0&&(0,p.DX)(this.nzPrecision)){if("function"==typeof this.nzPrecisionMode)return this.nzPrecisionMode(Q,this.nzPrecision);if("cut"===this.nzPrecisionMode){const Re=He.split(".");return Re[1]=Re[1].slice(0,this.nzPrecision),Number(Re.join("."))}return Number(Number(Q).toFixed(this.nzPrecision))}return Number(Q)}getRatio(Q){let He=1;return Q.metaKey||Q.ctrlKey?He=.1:Q.shiftKey&&(He=10),He}down(Q,He){this.isFocused||this.focus(),this.step("down",Q,He)}up(Q,He){this.isFocused||this.focus(),this.step("up",Q,He)}getPrecision(Q){const He=Q.toString();if(He.indexOf("e-")>=0)return parseInt(He.slice(He.indexOf("e-")+2),10);let Re=0;return He.indexOf(".")>=0&&(Re=He.length-He.indexOf(".")-1),Re}getMaxPrecision(Q,He){if((0,p.DX)(this.nzPrecision))return this.nzPrecision;const Re=this.getPrecision(He),lt=this.getPrecision(this.nzStep),Pe=this.getPrecision(Q);return Q?Math.max(Pe,Re+lt):Re+lt}getPrecisionFactor(Q,He){const Re=this.getMaxPrecision(Q,He);return Math.pow(10,Re)}upStep(Q,He){const Re=this.getPrecisionFactor(Q,He),lt=Math.abs(this.getMaxPrecision(Q,He));let Pe;return Pe="number"==typeof Q?((Re*Q+Re*this.nzStep*He)/Re).toFixed(lt):this.nzMin===-1/0?this.nzStep:this.nzMin,this.toNumber(Pe)}downStep(Q,He){const Re=this.getPrecisionFactor(Q,He),lt=Math.abs(this.getMaxPrecision(Q,He));let Pe;return Pe="number"==typeof Q?((Re*Q-Re*this.nzStep*He)/Re).toFixed(lt):this.nzMin===-1/0?-this.nzStep:this.nzMin,this.toNumber(Pe)}step(Q,He,Re=1){if(this.stop(),He.preventDefault(),this.nzDisabled)return;const lt=this.getCurrentValidValue(this.parsedValue)||0;let Pe=0;"up"===Q?Pe=this.upStep(lt,Re):"down"===Q&&(Pe=this.downStep(lt,Re));const xt=Pe>this.nzMax||Pethis.nzMax?Pe=this.nzMax:Pe{this[Q](He,Re)},300))}stop(){this.autoStepTimer&&clearTimeout(this.autoStepTimer)}setValue(Q){if(`${this.value}`!=`${Q}`&&this.onChange(Q),this.value=Q,this.parsedValue=Q,this.disabledUp=this.disabledDown=!1,Q||0===Q){const He=Number(Q);He>=this.nzMax&&(this.disabledUp=!0),He<=this.nzMin&&(this.disabledDown=!0)}}updateDisplayValue(Q){const He=(0,p.DX)(this.nzFormatter(Q))?this.nzFormatter(Q):"";this.displayValue=He,this.inputElement.nativeElement.value=`${He}`}writeValue(Q){this.value=Q,this.setValue(Q),this.updateDisplayValue(Q),this.cdr.markForCheck()}registerOnChange(Q){this.onChange=Q}registerOnTouched(Q){this.onTouched=Q}setDisabledState(Q){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||Q,this.isNzDisableFirstChange=!1,this.disabled$.next(this.nzDisabled),this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(Q,He,Re,lt,Pe,xt,$e,ot,mt){this.ngZone=Q,this.elementRef=He,this.cdr=Re,this.focusMonitor=lt,this.renderer=Pe,this.directionality=xt,this.destroy$=$e,this.nzFormStatusService=ot,this.nzFormNoStatusService=mt,this.isNzDisableFirstChange=!0,this.isFocused=!1,this.disabled$=new l.x,this.disabledUp=!1,this.disabledDown=!1,this.dir="ltr",this.prefixCls="ant-input-number",this.status="",this.statusCls={},this.hasFeedback=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzBlur=new t.vpe,this.nzFocus=new t.vpe,this.nzSize="default",this.nzMin=-1/0,this.nzMax=1/0,this.nzParser=we=>we.trim().replace(/\u3002/g,".").replace(/[^\w\.-]+/g,""),this.nzPrecisionMode="toFixed",this.nzPlaceHolder="",this.nzStatus="",this.nzStep=1,this.nzInputMode="decimal",this.nzId=null,this.nzDisabled=!1,this.nzReadOnly=!1,this.nzAutoFocus=!1,this.nzBorderless=!1,this.nzFormatter=we=>we}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,u.x)((Q,He)=>Q.status===He.status&&Q.hasFeedback===He.hasFeedback),(0,z.R)(this.destroy$)).subscribe(({status:Q,hasFeedback:He})=>{this.setStatusStyles(Q,He)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,z.R)(this.destroy$)).subscribe(Q=>{Q?(this.isFocused=!0,this.nzFocus.emit()):(this.isFocused=!1,this.updateDisplayValue(this.value),this.nzBlur.emit(),Promise.resolve().then(()=>this.onTouched()))}),this.dir=this.directionality.value,this.directionality.change.pipe((0,z.R)(this.destroy$)).subscribe(Q=>{this.dir=Q}),this.setupHandlersListeners(),this.ngZone.runOutsideAngular(()=>{(0,h.R)(this.inputElement.nativeElement,"keyup").pipe((0,z.R)(this.destroy$)).subscribe(()=>this.stop()),(0,h.R)(this.inputElement.nativeElement,"keydown").pipe((0,z.R)(this.destroy$)).subscribe(Q=>{const{keyCode:He}=Q;He!==n.LH&&He!==n.JH&&He!==n.K5||this.ngZone.run(()=>{if(He===n.LH){const Re=this.getRatio(Q);this.up(Q,Re),this.stop()}else if(He===n.JH){const Re=this.getRatio(Q);this.down(Q,Re),this.stop()}else this.updateDisplayValue(this.value);this.cdr.markForCheck()})})})}ngOnChanges(Q){const{nzStatus:He,nzDisabled:Re}=Q;if(Q.nzFormatter&&!Q.nzFormatter.isFirstChange()){const lt=this.getCurrentValidValue(this.parsedValue);this.setValue(lt),this.updateDisplayValue(lt)}Re&&this.disabled$.next(this.nzDisabled),He&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef)}setupHandlersListeners(){this.ngZone.runOutsideAngular(()=>{(0,E.T)((0,h.R)(this.upHandler.nativeElement,"mouseup"),(0,h.R)(this.upHandler.nativeElement,"mouseleave"),(0,h.R)(this.downHandler.nativeElement,"mouseup"),(0,h.R)(this.downHandler.nativeElement,"mouseleave")).pipe((0,z.R)(this.destroy$)).subscribe(()=>this.stop())})}setStatusStyles(Q,He){this.status=Q,this.hasFeedback=He,this.cdr.markForCheck(),this.statusCls=(0,p.Zu)(this.prefixCls,Q,He),Object.keys(this.statusCls).forEach(Re=>{this.statusCls[Re]?this.renderer.addClass(this.elementRef.nativeElement,Re):this.renderer.removeClass(this.elementRef.nativeElement,Re)})}static#e=this.\u0275fac=function(He){return new(He||oe)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(v.tE),t.Y36(t.Qsj),t.Y36(_.Is,8),t.Y36(M.kn),t.Y36(d.kH,8),t.Y36(d.yW,8))};static#t=this.\u0275cmp=t.Xpm({type:oe,selectors:[["nz-input-number"]],viewQuery:function(He,Re){if(1&He&&(t.Gf(T,7),t.Gf(b,7),t.Gf(D,7)),2&He){let lt;t.iGM(lt=t.CRH())&&(Re.upHandler=lt.first),t.iGM(lt=t.CRH())&&(Re.downHandler=lt.first),t.iGM(lt=t.CRH())&&(Re.inputElement=lt.first)}},hostAttrs:[1,"ant-input-number"],hostVars:16,hostBindings:function(He,Re){2&He&&t.ekj("ant-input-number-in-form-item",!!Re.nzFormStatusService)("ant-input-number-focused",Re.isFocused)("ant-input-number-lg","large"===Re.nzSize)("ant-input-number-sm","small"===Re.nzSize)("ant-input-number-disabled",Re.nzDisabled)("ant-input-number-readonly",Re.nzReadOnly)("ant-input-number-rtl","rtl"===Re.dir)("ant-input-number-borderless",Re.nzBorderless)},inputs:{nzSize:"nzSize",nzMin:"nzMin",nzMax:"nzMax",nzParser:"nzParser",nzPrecision:"nzPrecision",nzPrecisionMode:"nzPrecisionMode",nzPlaceHolder:"nzPlaceHolder",nzStatus:"nzStatus",nzStep:"nzStep",nzInputMode:"nzInputMode",nzId:"nzId",nzDisabled:"nzDisabled",nzReadOnly:"nzReadOnly",nzAutoFocus:"nzAutoFocus",nzBorderless:"nzBorderless",nzFormatter:"nzFormatter"},outputs:{nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzInputNumber"],features:[t._Bn([{provide:i.JU,useExisting:(0,t.Gpc)(()=>oe),multi:!0},M.kn]),t.TTD],decls:11,vars:15,consts:[[1,"ant-input-number-handler-wrap"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-up",3,"mousedown"],["upHandler",""],["nz-icon","","nzType","up",1,"ant-input-number-handler-up-inner"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-down",3,"mousedown"],["downHandler",""],["nz-icon","","nzType","down",1,"ant-input-number-handler-down-inner"],[1,"ant-input-number-input-wrap"],["autocomplete","off",1,"ant-input-number-input",3,"disabled","placeholder","readOnly","ngModel","ngModelChange"],["inputElement",""],["class","ant-input-number-suffix",3,"status",4,"ngIf"],[1,"ant-input-number-suffix",3,"status"]],template:function(He,Re){1&He&&(t.TgZ(0,"div",0)(1,"span",1,2),t.NdJ("mousedown",function(Pe){return Re.up(Pe)}),t._UZ(3,"span",3),t.qZA(),t.TgZ(4,"span",4,5),t.NdJ("mousedown",function(Pe){return Re.down(Pe)}),t._UZ(6,"span",6),t.qZA()(),t.TgZ(7,"div",7)(8,"input",8,9),t.NdJ("ngModelChange",function(Pe){return Re.onModelChange(Pe)}),t.qZA()(),t.YNc(10,y,1,1,"nz-form-item-feedback-icon",10)),2&He&&(t.xp6(1),t.ekj("ant-input-number-handler-up-disabled",Re.disabledUp),t.xp6(3),t.ekj("ant-input-number-handler-down-disabled",Re.disabledDown),t.xp6(4),t.Q6J("disabled",Re.nzDisabled)("placeholder",Re.nzPlaceHolder)("readOnly",Re.nzReadOnly)("ngModel",Re.displayValue),t.uIk("id",Re.nzId)("autofocus",Re.nzAutoFocus?"autofocus":null)("min",Re.nzMin)("max",Re.nzMax)("step",Re.nzStep)("inputmode",Re.nzInputMode),t.xp6(2),t.Q6J("ngIf",Re.hasFeedback&&!!Re.status&&!Re.nzFormNoStatusService))},dependencies:[m.O5,i.Fj,i.JJ,i.On,f.Ls,d.w_],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,p.yF)()],oe.prototype,"nzDisabled",void 0),(0,e.gn)([(0,p.yF)()],oe.prototype,"nzReadOnly",void 0),(0,e.gn)([(0,p.yF)()],oe.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,p.yF)()],oe.prototype,"nzBorderless",void 0),oe})(),ke=(()=>{class oe{static#e=this.\u0275fac=function(He){return new(He||oe)};static#t=this.\u0275mod=t.oAB({type:oe});static#n=this.\u0275inj=t.cJS({imports:[_.vT,m.ez,i.u5,C.T,f.PV,d.mJ]})}return oe})()},20824:(tt,I,o)=>{"use strict";o.d(I,{Zp:()=>Se,gB:()=>oe,ke:()=>ke,o7:()=>He,rh:()=>_e,w:()=>Q});var e=o(97582),n=o(65879),t=o(78645),i=o(63019),l=o(36232),h=o(93997),E=o(59773),u=o(32181),z=o(27921),M=o(94664),p=o(21631),v=o(37398),_=o(50883),d=o(27754),m=o(60095),f=o(49388),C=o(4300),T=o(96814),b=o(90551),D=o(8324),y=o(62831),P=o(99087);const S=["nz-input-group-slot",""];function A(Re,lt){if(1&Re&&n._UZ(0,"span",2),2&Re){const Pe=n.oxw();n.Q6J("nzType",Pe.icon)}}function k(Re,lt){if(1&Re&&(n.ynx(0),n._uU(1),n.BQk()),2&Re){const Pe=n.oxw();n.xp6(1),n.Oqu(Pe.template)}}const R=["*"];function W(Re,lt){if(1&Re&&n._UZ(0,"span",7),2&Re){const Pe=n.oxw(2);n.Q6J("icon",Pe.nzAddOnBeforeIcon)("template",Pe.nzAddOnBefore)}}function j(Re,lt){}function ze(Re,lt){if(1&Re&&(n.TgZ(0,"span",8),n.YNc(1,j,0,0,"ng-template",9),n.qZA()),2&Re){const Pe=n.oxw(2),xt=n.MAs(4);n.ekj("ant-input-affix-wrapper-disabled",Pe.disabled)("ant-input-affix-wrapper-sm",Pe.isSmall)("ant-input-affix-wrapper-lg",Pe.isLarge)("ant-input-affix-wrapper-focused",Pe.focused),n.Q6J("ngClass",Pe.affixInGroupStatusCls),n.xp6(1),n.Q6J("ngTemplateOutlet",xt)}}function Y(Re,lt){if(1&Re&&n._UZ(0,"span",7),2&Re){const Pe=n.oxw(2);n.Q6J("icon",Pe.nzAddOnAfterIcon)("template",Pe.nzAddOnAfter)}}function G(Re,lt){if(1&Re&&(n.TgZ(0,"span",4),n.YNc(1,W,1,2,"span",5),n.YNc(2,ze,2,10,"span",6),n.YNc(3,Y,1,2,"span",5),n.qZA()),2&Re){const Pe=n.oxw(),xt=n.MAs(6);n.xp6(1),n.Q6J("ngIf",Pe.nzAddOnBefore||Pe.nzAddOnBeforeIcon),n.xp6(1),n.Q6J("ngIf",Pe.isAffix||Pe.hasFeedback)("ngIfElse",xt),n.xp6(1),n.Q6J("ngIf",Pe.nzAddOnAfter||Pe.nzAddOnAfterIcon)}}function V(Re,lt){}function K(Re,lt){if(1&Re&&n.YNc(0,V,0,0,"ng-template",9),2&Re){n.oxw(2);const Pe=n.MAs(4);n.Q6J("ngTemplateOutlet",Pe)}}function ee(Re,lt){if(1&Re&&n.YNc(0,K,1,1,"ng-template",10),2&Re){const Pe=n.oxw(),xt=n.MAs(6);n.Q6J("ngIf",Pe.isAffix)("ngIfElse",xt)}}function te(Re,lt){if(1&Re&&n._UZ(0,"span",13),2&Re){const Pe=n.oxw(2);n.Q6J("icon",Pe.nzPrefixIcon)("template",Pe.nzPrefix)}}function pe(Re,lt){}function re(Re,lt){if(1&Re&&n._UZ(0,"nz-form-item-feedback-icon",16),2&Re){const Pe=n.oxw(3);n.Q6J("status",Pe.status)}}function De(Re,lt){if(1&Re&&(n.TgZ(0,"span",14),n.YNc(1,re,1,1,"nz-form-item-feedback-icon",15),n.qZA()),2&Re){const Pe=n.oxw(2);n.Q6J("icon",Pe.nzSuffixIcon)("template",Pe.nzSuffix),n.xp6(1),n.Q6J("ngIf",Pe.isFeedback)}}function ae(Re,lt){if(1&Re&&(n.YNc(0,te,1,2,"span",11),n.YNc(1,pe,0,0,"ng-template",9),n.YNc(2,De,2,3,"span",12)),2&Re){const Pe=n.oxw(),xt=n.MAs(6);n.Q6J("ngIf",Pe.nzPrefix||Pe.nzPrefixIcon),n.xp6(1),n.Q6J("ngTemplateOutlet",xt),n.xp6(1),n.Q6J("ngIf",Pe.nzSuffix||Pe.nzSuffixIcon||Pe.isFeedback)}}function ce(Re,lt){if(1&Re&&(n.TgZ(0,"span",18),n._UZ(1,"nz-form-item-feedback-icon",16),n.qZA()),2&Re){const Pe=n.oxw(2);n.xp6(1),n.Q6J("status",Pe.status)}}function X(Re,lt){if(1&Re&&(n.Hsn(0),n.YNc(1,ce,2,1,"span",17)),2&Re){const Pe=n.oxw();n.xp6(1),n.Q6J("ngIf",!Pe.isAddOn&&!Pe.isAffix&&Pe.isFeedback)}}const ne=[[["textarea","nz-input",""]]],le=["textarea[nz-input]"];let Se=(()=>{class Re{get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Pe){this._disabled=null!=Pe&&"false"!=`${Pe}`}constructor(Pe,xt,$e,ot,mt,we,de){this.ngControl=Pe,this.renderer=xt,this.elementRef=$e,this.hostView=ot,this.directionality=mt,this.nzFormStatusService=we,this.nzFormNoStatusService=de,this.nzBorderless=!1,this.nzSize="default",this.nzStepperless=!0,this.nzStatus="",this._disabled=!1,this.disabled$=new t.x,this.dir="ltr",this.prefixCls="ant-input",this.status="",this.statusCls={},this.hasFeedback=!1,this.feedbackRef=null,this.components=[],this.destroy$=new t.x}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,h.x)((Pe,xt)=>Pe.status===xt.status&&Pe.hasFeedback===xt.hasFeedback),(0,E.R)(this.destroy$)).subscribe(({status:Pe,hasFeedback:xt})=>{this.setStatusStyles(Pe,xt)}),this.ngControl&&this.ngControl.statusChanges?.pipe((0,u.h)(()=>null!==this.ngControl.disabled),(0,E.R)(this.destroy$)).subscribe(()=>{this.disabled$.next(this.ngControl.disabled)}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,E.R)(this.destroy$)).subscribe(Pe=>{this.dir=Pe})}ngOnChanges(Pe){const{disabled:xt,nzStatus:$e}=Pe;xt&&this.disabled$.next(this.disabled),$e&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setStatusStyles(Pe,xt){this.status=Pe,this.hasFeedback=xt,this.renderFeedbackIcon(),this.statusCls=(0,d.Zu)(this.prefixCls,Pe,xt),Object.keys(this.statusCls).forEach($e=>{this.statusCls[$e]?this.renderer.addClass(this.elementRef.nativeElement,$e):this.renderer.removeClass(this.elementRef.nativeElement,$e)})}renderFeedbackIcon(){if(!this.status||!this.hasFeedback||this.nzFormNoStatusService)return this.hostView.clear(),void(this.feedbackRef=null);this.feedbackRef=this.feedbackRef||this.hostView.createComponent(_.w_),this.feedbackRef.location.nativeElement.classList.add("ant-input-suffix"),this.feedbackRef.instance.status=this.status,this.feedbackRef.instance.updateIcon()}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(m.a5,10),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(f.Is,8),n.Y36(_.kH,8),n.Y36(_.yW,8))};static#t=this.\u0275dir=n.lG2({type:Re,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostAttrs:[1,"ant-input"],hostVars:13,hostBindings:function(xt,$e){2&xt&&(n.uIk("disabled",$e.disabled||null),n.ekj("ant-input-disabled",$e.disabled)("ant-input-borderless",$e.nzBorderless)("ant-input-lg","large"===$e.nzSize)("ant-input-sm","small"===$e.nzSize)("ant-input-rtl","rtl"===$e.dir)("ant-input-stepperless",$e.nzStepperless))},inputs:{nzBorderless:"nzBorderless",nzSize:"nzSize",nzStepperless:"nzStepperless",nzStatus:"nzStatus",disabled:"disabled"},exportAs:["nzInput"],features:[n.TTD]})}return(0,e.gn)([(0,d.yF)()],Re.prototype,"nzBorderless",void 0),(0,e.gn)([(0,d.yF)()],Re.prototype,"nzStepperless",void 0),Re})(),Ne=(()=>{class Re{constructor(){this.icon=null,this.type=null,this.template=null}static#e=this.\u0275fac=function(xt){return new(xt||Re)};static#t=this.\u0275cmp=n.Xpm({type:Re,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function(xt,$e){2&xt&&n.ekj("ant-input-group-addon","addon"===$e.type)("ant-input-prefix","prefix"===$e.type)("ant-input-suffix","suffix"===$e.type)},inputs:{icon:"icon",type:"type",template:"template"},attrs:S,ngContentSelectors:R,decls:3,vars:2,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(xt,$e){1&xt&&(n.F$t(),n.YNc(0,A,1,1,"span",0),n.YNc(1,k,2,1,"ng-container",1),n.Hsn(2)),2&xt&&(n.Q6J("ngIf",$e.icon),n.xp6(1),n.Q6J("nzStringTemplateOutlet",$e.template))},dependencies:[T.O5,b.Ls,D.f],encapsulation:2,changeDetection:0})}return Re})(),ke=(()=>{class Re{constructor(Pe){this.elementRef=Pe}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:Re,selectors:[["nz-input-group","nzSuffix",""],["nz-input-group","nzPrefix",""]]})}return Re})(),oe=(()=>{class Re{constructor(Pe,xt,$e,ot,mt,we,de){this.focusMonitor=Pe,this.elementRef=xt,this.renderer=$e,this.cdr=ot,this.directionality=mt,this.nzFormStatusService=we,this.nzFormNoStatusService=de,this.nzAddOnBeforeIcon=null,this.nzAddOnAfterIcon=null,this.nzPrefixIcon=null,this.nzSuffixIcon=null,this.nzStatus="",this.nzSize="default",this.nzSearch=!1,this.nzCompact=!1,this.isLarge=!1,this.isSmall=!1,this.isAffix=!1,this.isAddOn=!1,this.isFeedback=!1,this.focused=!1,this.disabled=!1,this.dir="ltr",this.prefixCls="ant-input",this.affixStatusCls={},this.groupStatusCls={},this.affixInGroupStatusCls={},this.status="",this.hasFeedback=!1,this.destroy$=new t.x}updateChildrenInputSize(){this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach(Pe=>Pe.nzSize=this.nzSize)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,h.x)((Pe,xt)=>Pe.status===xt.status&&Pe.hasFeedback===xt.hasFeedback),(0,E.R)(this.destroy$)).subscribe(({status:Pe,hasFeedback:xt})=>{this.setStatusStyles(Pe,xt)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,E.R)(this.destroy$)).subscribe(Pe=>{this.focused=!!Pe,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,E.R)(this.destroy$)).subscribe(Pe=>{this.dir=Pe})}ngAfterContentInit(){this.updateChildrenInputSize();const Pe=this.listOfNzInputDirective.changes.pipe((0,z.O)(this.listOfNzInputDirective));Pe.pipe((0,M.w)(xt=>(0,i.T)(Pe,...xt.map($e=>$e.disabled$))),(0,p.z)(()=>Pe),(0,v.U)(xt=>xt.some($e=>$e.disabled)),(0,E.R)(this.destroy$)).subscribe(xt=>{this.disabled=xt,this.cdr.markForCheck()})}ngOnChanges(Pe){const{nzSize:xt,nzSuffix:$e,nzPrefix:ot,nzPrefixIcon:mt,nzSuffixIcon:we,nzAddOnAfter:de,nzAddOnBefore:U,nzAddOnAfterIcon:B,nzAddOnBeforeIcon:Me,nzStatus:Ae}=Pe;xt&&(this.updateChildrenInputSize(),this.isLarge="large"===this.nzSize,this.isSmall="small"===this.nzSize),($e||ot||mt||we)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(de||U||B||Me)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon),this.nzFormNoStatusService?.noFormStatus?.next(this.isAddOn)),Ae&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}setStatusStyles(Pe,xt){this.status=Pe,this.hasFeedback=xt,this.isFeedback=!!Pe&&xt,this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)||!this.isAddOn&&xt,this.affixInGroupStatusCls=this.isAffix||this.isFeedback?this.affixStatusCls=(0,d.Zu)(`${this.prefixCls}-affix-wrapper`,Pe,xt):{},this.cdr.markForCheck(),this.affixStatusCls=(0,d.Zu)(`${this.prefixCls}-affix-wrapper`,this.isAddOn?"":Pe,!this.isAddOn&&xt),this.groupStatusCls=(0,d.Zu)(`${this.prefixCls}-group-wrapper`,this.isAddOn?Pe:"",!!this.isAddOn&&xt);const ot={...this.affixStatusCls,...this.groupStatusCls};Object.keys(ot).forEach(mt=>{ot[mt]?this.renderer.addClass(this.elementRef.nativeElement,mt):this.renderer.removeClass(this.elementRef.nativeElement,mt)})}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(C.tE),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(f.Is,8),n.Y36(_.kH,8),n.Y36(_.yW,8))};static#t=this.\u0275cmp=n.Xpm({type:Re,selectors:[["nz-input-group"]],contentQueries:function(xt,$e,ot){if(1&xt&&n.Suo(ot,Se,4),2&xt){let mt;n.iGM(mt=n.CRH())&&($e.listOfNzInputDirective=mt)}},hostVars:40,hostBindings:function(xt,$e){2&xt&&n.ekj("ant-input-group-compact",$e.nzCompact)("ant-input-search-enter-button",$e.nzSearch)("ant-input-search",$e.nzSearch)("ant-input-search-rtl","rtl"===$e.dir)("ant-input-search-sm",$e.nzSearch&&$e.isSmall)("ant-input-search-large",$e.nzSearch&&$e.isLarge)("ant-input-group-wrapper",$e.isAddOn)("ant-input-group-wrapper-rtl","rtl"===$e.dir)("ant-input-group-wrapper-lg",$e.isAddOn&&$e.isLarge)("ant-input-group-wrapper-sm",$e.isAddOn&&$e.isSmall)("ant-input-affix-wrapper",$e.isAffix&&!$e.isAddOn)("ant-input-affix-wrapper-rtl","rtl"===$e.dir)("ant-input-affix-wrapper-focused",$e.isAffix&&$e.focused)("ant-input-affix-wrapper-disabled",$e.isAffix&&$e.disabled)("ant-input-affix-wrapper-lg",$e.isAffix&&!$e.isAddOn&&$e.isLarge)("ant-input-affix-wrapper-sm",$e.isAffix&&!$e.isAddOn&&$e.isSmall)("ant-input-group",!$e.isAffix&&!$e.isAddOn)("ant-input-group-rtl","rtl"===$e.dir)("ant-input-group-lg",!$e.isAffix&&!$e.isAddOn&&$e.isLarge)("ant-input-group-sm",!$e.isAffix&&!$e.isAddOn&&$e.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzStatus:"nzStatus",nzSuffix:"nzSuffix",nzSize:"nzSize",nzSearch:"nzSearch",nzCompact:"nzCompact"},exportAs:["nzInputGroup"],features:[n._Bn([_.yW]),n.TTD],ngContentSelectors:R,decls:7,vars:2,consts:[["class","ant-input-wrapper ant-input-group",4,"ngIf","ngIfElse"],["noAddOnTemplate",""],["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template",4,"ngIf"],["class","ant-input-affix-wrapper",3,"ant-input-affix-wrapper-disabled","ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg","ant-input-affix-wrapper-focused","ngClass",4,"ngIf","ngIfElse"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper",3,"ngClass"],[3,"ngTemplateOutlet"],[3,"ngIf","ngIfElse"],["nz-input-group-slot","","type","prefix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","suffix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"],[3,"status",4,"ngIf"],[3,"status"],["nz-input-group-slot","","type","suffix",4,"ngIf"],["nz-input-group-slot","","type","suffix"]],template:function(xt,$e){if(1&xt&&(n.F$t(),n.YNc(0,G,4,4,"span",0),n.YNc(1,ee,1,2,"ng-template",null,1,n.W1O),n.YNc(3,ae,3,3,"ng-template",null,2,n.W1O),n.YNc(5,X,2,1,"ng-template",null,3,n.W1O)),2&xt){const ot=n.MAs(2);n.Q6J("ngIf",$e.isAddOn)("ngIfElse",ot)}},dependencies:[T.mk,T.O5,T.tP,_.w_,Ne],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,d.yF)()],Re.prototype,"nzSearch",void 0),(0,e.gn)([(0,d.yF)()],Re.prototype,"nzCompact",void 0),Re})(),_e=(()=>{class Re{set nzAutosize(Pe){var $e;"string"==typeof Pe||!0===Pe?this.autosize=!0:"string"!=typeof($e=Pe)&&"boolean"!=typeof $e&&($e.maxRows||$e.minRows)&&(this.autosize=!0,this.minRows=Pe.minRows,this.maxRows=Pe.maxRows,this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight())}resizeToFitContent(Pe=!1){if(this.cacheTextareaLineHeight(),!this.cachedLineHeight)return;const xt=this.el,$e=xt.value;if(!Pe&&this.minRows===this.previousMinRows&&$e===this.previousValue)return;const ot=xt.placeholder;xt.classList.add("nz-textarea-autosize-measuring"),xt.placeholder="";let mt=Math.round((xt.scrollHeight-this.inputGap)/this.cachedLineHeight)*this.cachedLineHeight+this.inputGap;null!==this.maxHeight&&mt>this.maxHeight&&(mt=this.maxHeight),null!==this.minHeight&&mtrequestAnimationFrame(()=>{const{selectionStart:we,selectionEnd:de}=xt;!this.destroy$.isStopped&&document.activeElement===xt&&xt.setSelectionRange(we,de)})),this.previousValue=$e,this.previousMinRows=this.minRows}cacheTextareaLineHeight(){if(this.cachedLineHeight>=0||!this.el.parentNode)return;const Pe=this.el.cloneNode(!1);Pe.rows=1,Pe.style.position="absolute",Pe.style.visibility="hidden",Pe.style.border="none",Pe.style.padding="0",Pe.style.height="",Pe.style.minHeight="",Pe.style.maxHeight="",Pe.style.overflow="hidden",this.el.parentNode.appendChild(Pe),this.cachedLineHeight=Pe.clientHeight-this.inputGap,this.el.parentNode.removeChild(Pe),this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight()}setMinHeight(){const Pe=this.minRows&&this.cachedLineHeight?this.minRows*this.cachedLineHeight+this.inputGap:null;return null!==Pe&&(this.el.style.minHeight=`${Pe}px`),Pe}setMaxHeight(){const Pe=this.maxRows&&this.cachedLineHeight?this.maxRows*this.cachedLineHeight+this.inputGap:null;return null!==Pe&&(this.el.style.maxHeight=`${Pe}px`),Pe}noopInputHandler(){}constructor(Pe,xt,$e,ot){this.elementRef=Pe,this.ngZone=xt,this.platform=$e,this.resizeService=ot,this.autosize=!1,this.el=this.elementRef.nativeElement,this.maxHeight=null,this.minHeight=null,this.destroy$=new t.x,this.inputGap=10}ngAfterViewInit(){this.autosize&&this.platform.isBrowser&&(this.resizeToFitContent(),this.resizeService.subscribe().pipe((0,E.R)(this.destroy$)).subscribe(()=>this.resizeToFitContent(!0)))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngDoCheck(){this.autosize&&this.platform.isBrowser&&this.resizeToFitContent()}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(y.t4),n.Y36(P.rI))};static#t=this.\u0275dir=n.lG2({type:Re,selectors:[["textarea","nzAutosize",""]],hostAttrs:["rows","1"],hostBindings:function(xt,$e){1&xt&&n.NdJ("input",function(){return $e.noopInputHandler()})},inputs:{nzAutosize:"nzAutosize"},exportAs:["nzAutosize"]})}return Re})(),Q=(()=>{class Re{constructor(Pe,xt){this.renderer=Pe,this.elementRef=xt,this.nzMaxCharacterCount=0,this.nzComputeCharacterCount=$e=>$e.length,this.nzFormatter=($e,ot)=>`${$e}${ot>0?`/${ot}`:""}`,this.configChange$=new t.x,this.destroy$=new t.x}ngAfterContentInit(){if(!this.nzInputDirective&&(0,n.X6Q)())throw new Error("[nz-textarea-count]: Could not find matching textarea[nz-input] child.");this.nzInputDirective.ngControl&&(0,i.T)(this.nzInputDirective.ngControl.valueChanges||l.E,this.configChange$).pipe((0,E.R)(this.destroy$),(0,v.U)(()=>this.nzInputDirective.ngControl.value),(0,z.O)(this.nzInputDirective.ngControl.value)).subscribe(xt=>{this.setDataCount(xt)})}setDataCount(Pe){const xt=(0,d.DX)(Pe)?String(Pe):"",$e=this.nzComputeCharacterCount(xt),ot=this.nzFormatter($e,this.nzMaxCharacterCount);this.renderer.setAttribute(this.elementRef.nativeElement,"data-count",ot)}ngOnDestroy(){this.configChange$.complete(),this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(xt){return new(xt||Re)(n.Y36(n.Qsj),n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:Re,selectors:[["nz-textarea-count"]],contentQueries:function(xt,$e,ot){if(1&xt&&n.Suo(ot,Se,7),2&xt){let mt;n.iGM(mt=n.CRH())&&($e.nzInputDirective=mt.first)}},hostAttrs:[1,"ant-input-textarea-show-count"],inputs:{nzMaxCharacterCount:"nzMaxCharacterCount",nzComputeCharacterCount:"nzComputeCharacterCount",nzFormatter:"nzFormatter"},ngContentSelectors:le,decls:1,vars:0,template:function(xt,$e){1&xt&&(n.F$t(ne),n.Hsn(0))},encapsulation:2,changeDetection:0})}return Re})(),He=(()=>{class Re{static#e=this.\u0275fac=function(xt){return new(xt||Re)};static#t=this.\u0275mod=n.oAB({type:Re});static#n=this.\u0275inj=n.cJS({imports:[f.vT,T.ez,b.PV,y.ud,D.T,_.mJ]})}return Re})()},16976:(tt,I,o)=>{"use strict";o.d(I,{n_:()=>Ze,AA:()=>ve,yi:()=>Xe,Ph:()=>x});var e=o(65879),n=o(96814),t=o(96928),i=o(8324),l=o(97582),h=o(27754),E=o(78645),u=o(74911),z=o(22096),M=o(63019),p=o(65592),v=o(65619),_=o(48180),d=o(37398),m=o(54829),f=o(79360),C=o(8251);function T(N,O){return O?$=>$.pipe(T((L,he)=>(0,m.Xf)(N(L,he)).pipe((0,d.U)((Ce,Dt)=>O(L,Ce,he,Dt))))):(0,f.e)(($,L)=>{let he=0,Ce=null,Dt=!1;$.subscribe((0,C.x)(L,Yt=>{Ce||(Ce=(0,C.x)(L,void 0,()=>{Ce=null,Dt&&L.complete()}),(0,m.Xf)(N(Yt,he++)).subscribe(Ce))},()=>{Dt=!0,!Ce&&L.complete()}))})}var b=o(27921),D=o(59773),y=o(99087),P=o(60804),S=o(49388),A=o(77273),k=o(10095);const R=["*"];function W(N,O){if(1&N&&e._UZ(0,"nz-avatar",3),2&N){const $=e.oxw();e.Q6J("nzSrc",$.nzSrc)}}function j(N,O){1&N&&e.Hsn(0,0,["*ngIf","!nzSrc"])}function ze(N,O){if(1&N&&e._UZ(0,"nz-list-item-meta-avatar",3),2&N){const $=e.oxw();e.Q6J("nzSrc",$.avatarStr)}}function Y(N,O){if(1&N&&(e.TgZ(0,"nz-list-item-meta-avatar"),e.GkF(1,4),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",$.avatarTpl)}}function G(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(3);e.xp6(1),e.Oqu($.nzTitle)}}function V(N,O){if(1&N&&(e.TgZ(0,"nz-list-item-meta-title"),e.YNc(1,G,2,1,"ng-container",6),e.qZA()),2&N){const $=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzTitle)}}function K(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(3);e.xp6(1),e.Oqu($.nzDescription)}}function ee(N,O){if(1&N&&(e.TgZ(0,"nz-list-item-meta-description"),e.YNc(1,K,2,1,"ng-container",6),e.qZA()),2&N){const $=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzDescription)}}function te(N,O){if(1&N&&(e.TgZ(0,"div",5),e.YNc(1,V,2,1,"nz-list-item-meta-title",1),e.YNc(2,ee,2,1,"nz-list-item-meta-description",1),e.Hsn(3,1),e.Hsn(4,2),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("ngIf",$.nzTitle&&!$.titleComponent),e.xp6(1),e.Q6J("ngIf",$.nzDescription&&!$.descriptionComponent)}}const pe=[[["nz-list-item-meta-avatar"]],[["nz-list-item-meta-title"]],[["nz-list-item-meta-description"]]],re=["nz-list-item-meta-avatar","nz-list-item-meta-title","nz-list-item-meta-description"];function De(N,O){1&N&&e.Hsn(0)}const ae=["nz-list-item-actions",""];function ce(N,O){}function X(N,O){1&N&&e._UZ(0,"em",3)}function ne(N,O){if(1&N&&(e.TgZ(0,"li"),e.YNc(1,ce,0,0,"ng-template",1),e.YNc(2,X,1,0,"em",2),e.qZA()),2&N){const $=O.$implicit,L=O.last;e.xp6(1),e.Q6J("ngTemplateOutlet",$),e.xp6(1),e.Q6J("ngIf",!L)}}function le(N,O){}const Se=function(N,O){return{$implicit:N,index:O}};function Ne(N,O){if(1&N&&(e.ynx(0),e.YNc(1,le,0,0,"ng-template",9),e.BQk()),2&N){const $=O.$implicit,L=O.index,he=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",he.nzRenderItem)("ngTemplateOutletContext",e.WLB(2,Se,$,L))}}function ke(N,O){if(1&N&&(e.TgZ(0,"div",7),e.YNc(1,Ne,2,5,"ng-container",8),e.Hsn(2,4),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("ngForOf",$.nzDataSource)}}function oe(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(2);e.xp6(1),e.Oqu($.nzHeader)}}function _e(N,O){if(1&N&&(e.TgZ(0,"nz-list-header"),e.YNc(1,oe,2,1,"ng-container",10),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzHeader)}}function Q(N,O){1&N&&e._UZ(0,"div"),2&N&&e.Udp("min-height",53,"px")}function He(N,O){}function Re(N,O){if(1&N&&(e.TgZ(0,"div",13),e.YNc(1,He,0,0,"ng-template",9),e.qZA()),2&N){const $=O.$implicit,L=O.index,he=e.oxw(2);e.Q6J("nzSpan",he.nzGrid.span||null)("nzXs",he.nzGrid.xs||null)("nzSm",he.nzGrid.sm||null)("nzMd",he.nzGrid.md||null)("nzLg",he.nzGrid.lg||null)("nzXl",he.nzGrid.xl||null)("nzXXl",he.nzGrid.xxl||null),e.xp6(1),e.Q6J("ngTemplateOutlet",he.nzRenderItem)("ngTemplateOutletContext",e.WLB(9,Se,$,L))}}function lt(N,O){if(1&N&&(e.TgZ(0,"div",11),e.YNc(1,Re,2,12,"div",12),e.qZA()),2&N){const $=e.oxw();e.Q6J("nzGutter",$.nzGrid.gutter||null),e.xp6(1),e.Q6J("ngForOf",$.nzDataSource)}}function Pe(N,O){if(1&N&&e._UZ(0,"nz-list-empty",14),2&N){const $=e.oxw();e.Q6J("nzNoResult",$.nzNoResult)}}function xt(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(2);e.xp6(1),e.Oqu($.nzFooter)}}function $e(N,O){if(1&N&&(e.TgZ(0,"nz-list-footer"),e.YNc(1,xt,2,1,"ng-container",10),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzFooter)}}function ot(N,O){}function mt(N,O){}function we(N,O){if(1&N&&(e.TgZ(0,"nz-list-pagination"),e.YNc(1,mt,0,0,"ng-template",6),e.qZA()),2&N){const $=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",$.nzPagination)}}const de=[[["nz-list-header"]],[["nz-list-footer"],["","nz-list-footer",""]],[["nz-list-load-more"],["","nz-list-load-more",""]],[["nz-list-pagination"],["","nz-list-pagination",""]],"*"],U=["nz-list-header","nz-list-footer, [nz-list-footer]","nz-list-load-more, [nz-list-load-more]","nz-list-pagination, [nz-list-pagination]","*"];function B(N,O){if(1&N&&e._UZ(0,"ul",6),2&N){const $=e.oxw(2);e.Q6J("nzActions",$.nzActions)}}function Me(N,O){if(1&N&&(e.YNc(0,B,1,1,"ul",5),e.Hsn(1)),2&N){const $=e.oxw();e.Q6J("ngIf",$.nzActions&&$.nzActions.length>0)}}function Ae(N,O){if(1&N&&(e.ynx(0),e._uU(1),e.BQk()),2&N){const $=e.oxw(3);e.xp6(1),e.Oqu($.nzContent)}}function Le(N,O){if(1&N&&(e.ynx(0),e.YNc(1,Ae,2,1,"ng-container",8),e.BQk()),2&N){const $=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",$.nzContent)}}function ht(N,O){if(1&N&&(e.Hsn(0,1),e.Hsn(1,2),e.YNc(2,Le,2,1,"ng-container",7)),2&N){const $=e.oxw();e.xp6(2),e.Q6J("ngIf",$.nzContent)}}function Ot(N,O){1&N&&e.Hsn(0,3)}function Lt(N,O){}function Wt(N,O){}function qt(N,O){}function en(N,O){}function Vt(N,O){if(1&N&&(e.YNc(0,Lt,0,0,"ng-template",9),e.YNc(1,Wt,0,0,"ng-template",9),e.YNc(2,qt,0,0,"ng-template",9),e.YNc(3,en,0,0,"ng-template",9)),2&N){const $=e.oxw(),L=e.MAs(3),he=e.MAs(5),Ce=e.MAs(1);e.Q6J("ngTemplateOutlet",L),e.xp6(1),e.Q6J("ngTemplateOutlet",$.nzExtra),e.xp6(1),e.Q6J("ngTemplateOutlet",he),e.xp6(1),e.Q6J("ngTemplateOutlet",Ce)}}function cn(N,O){}function ft(N,O){}function gt(N,O){}function Ie(N,O){if(1&N&&(e.TgZ(0,"nz-list-item-extra"),e.YNc(1,gt,0,0,"ng-template",9),e.qZA()),2&N){const $=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",$.nzExtra)}}function Ct(N,O){}function Nt(N,O){if(1&N&&(e.ynx(0),e.TgZ(1,"div",10),e.YNc(2,cn,0,0,"ng-template",9),e.YNc(3,ft,0,0,"ng-template",9),e.qZA(),e.YNc(4,Ie,2,1,"nz-list-item-extra",7),e.YNc(5,Ct,0,0,"ng-template",9),e.BQk()),2&N){const $=e.oxw(),L=e.MAs(3),he=e.MAs(1),Ce=e.MAs(5);e.xp6(2),e.Q6J("ngTemplateOutlet",L),e.xp6(1),e.Q6J("ngTemplateOutlet",he),e.xp6(1),e.Q6J("ngIf",$.nzExtra),e.xp6(1),e.Q6J("ngTemplateOutlet",Ce)}}const kt=[[["nz-list-item-actions"],["","nz-list-item-actions",""]],[["nz-list-item-meta"],["","nz-list-item-meta",""]],"*",[["nz-list-item-extra"],["","nz-list-item-extra",""]]],St=["nz-list-item-actions, [nz-list-item-actions]","nz-list-item-meta, [nz-list-item-meta]","*","nz-list-item-extra, [nz-list-item-extra]"];let qe=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-meta-title"]],exportAs:["nzListItemMetaTitle"],ngContentSelectors:R,decls:2,vars:0,consts:[[1,"ant-list-item-meta-title"]],template:function(L,he){1&L&&(e.F$t(),e.TgZ(0,"h4",0),e.Hsn(1),e.qZA())},encapsulation:2,changeDetection:0})}return N})(),Fe=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-meta-description"]],exportAs:["nzListItemMetaDescription"],ngContentSelectors:R,decls:2,vars:0,consts:[[1,"ant-list-item-meta-description"]],template:function(L,he){1&L&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},encapsulation:2,changeDetection:0})}return N})(),fe=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-meta-avatar"]],inputs:{nzSrc:"nzSrc"},exportAs:["nzListItemMetaAvatar"],ngContentSelectors:R,decls:3,vars:2,consts:[[1,"ant-list-item-meta-avatar"],[3,"nzSrc",4,"ngIf"],[4,"ngIf"],[3,"nzSrc"]],template:function(L,he){1&L&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,W,1,1,"nz-avatar",1),e.YNc(2,j,1,0,"ng-content",2),e.qZA()),2&L&&(e.xp6(1),e.Q6J("ngIf",he.nzSrc),e.xp6(1),e.Q6J("ngIf",!he.nzSrc))},dependencies:[n.O5,t.Dz],encapsulation:2,changeDetection:0})}return N})(),Xe=(()=>{class N{set nzAvatar($){$ instanceof e.Rgc?(this.avatarStr="",this.avatarTpl=$):this.avatarStr=$}constructor($){this.elementRef=$,this.avatarStr=""}static#e=this.\u0275fac=function(L){return new(L||N)(e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-meta"],["","nz-list-item-meta",""]],contentQueries:function(L,he,Ce){if(1&L&&(e.Suo(Ce,Fe,5),e.Suo(Ce,qe,5)),2&L){let Dt;e.iGM(Dt=e.CRH())&&(he.descriptionComponent=Dt.first),e.iGM(Dt=e.CRH())&&(he.titleComponent=Dt.first)}},hostAttrs:[1,"ant-list-item-meta"],inputs:{nzAvatar:"nzAvatar",nzTitle:"nzTitle",nzDescription:"nzDescription"},exportAs:["nzListItemMeta"],ngContentSelectors:re,decls:4,vars:3,consts:[[3,"nzSrc",4,"ngIf"],[4,"ngIf"],["class","ant-list-item-meta-content",4,"ngIf"],[3,"nzSrc"],[3,"ngTemplateOutlet"],[1,"ant-list-item-meta-content"],[4,"nzStringTemplateOutlet"]],template:function(L,he){1&L&&(e.F$t(pe),e.YNc(0,ze,1,1,"nz-list-item-meta-avatar",0),e.YNc(1,Y,2,1,"nz-list-item-meta-avatar",1),e.Hsn(2),e.YNc(3,te,5,2,"div",2)),2&L&&(e.Q6J("ngIf",he.avatarStr),e.xp6(1),e.Q6J("ngIf",he.avatarTpl),e.xp6(2),e.Q6J("ngIf",he.nzTitle||he.nzDescription||he.descriptionComponent||he.titleComponent))},dependencies:[n.O5,n.tP,i.f,qe,Fe,fe],encapsulation:2,changeDetection:0})}return N})(),ge=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-extra"],["","nz-list-item-extra",""]],hostAttrs:[1,"ant-list-item-extra"],exportAs:["nzListItemExtra"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return N})(),je=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item-action"]],viewQuery:function(L,he){if(1&L&&e.Gf(e.Rgc,5),2&L){let Ce;e.iGM(Ce=e.CRH())&&(he.templateRef=Ce.first)}},exportAs:["nzListItemAction"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.YNc(0,De,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return N})(),Ye=(()=>{class N{constructor($,L,he){this.ngZone=$,this.nzActions=[],this.actions=[],this.inputActionChanges$=new E.x,this.contentChildrenChanges$=(0,u.P)(()=>this.nzListItemActions?(0,z.of)(null):this.ngZone.onStable.pipe((0,_.q)(1),this.enterZone(),T(()=>this.nzListItemActions.changes.pipe((0,b.O)(this.nzListItemActions))))),(0,M.T)(this.contentChildrenChanges$,this.inputActionChanges$).pipe((0,D.R)(he)).subscribe(()=>{this.actions=this.nzActions.length?this.nzActions:this.nzListItemActions.map(Ce=>Ce.templateRef),L.detectChanges()})}ngOnChanges(){this.inputActionChanges$.next(null)}enterZone(){return $=>new p.y(L=>$.subscribe({next:he=>this.ngZone.run(()=>L.next(he))}))}static#e=this.\u0275fac=function(L){return new(L||N)(e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(y.kn))};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["ul","nz-list-item-actions",""]],contentQueries:function(L,he,Ce){if(1&L&&e.Suo(Ce,je,4),2&L){let Dt;e.iGM(Dt=e.CRH())&&(he.nzListItemActions=Dt)}},hostAttrs:[1,"ant-list-item-action"],inputs:{nzActions:"nzActions"},exportAs:["nzListItemActions"],features:[e._Bn([y.kn]),e.TTD],attrs:ae,decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["class","ant-list-item-action-split",4,"ngIf"],[1,"ant-list-item-action-split"]],template:function(L,he){1&L&&e.YNc(0,ne,3,2,"li",0),2&L&&e.Q6J("ngForOf",he.actions)},dependencies:[n.sg,n.O5,n.tP],encapsulation:2,changeDetection:0})}return N})(),We=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-empty"]],hostAttrs:[1,"ant-list-empty-text"],inputs:{nzNoResult:"nzNoResult"},exportAs:["nzListHeader"],decls:1,vars:2,consts:[[3,"nzComponentName","specificContent"]],template:function(L,he){1&L&&e._UZ(0,"nz-embed-empty",0),2&L&&e.Q6J("nzComponentName","list")("specificContent",he.nzNoResult)},dependencies:[P.gB],encapsulation:2,changeDetection:0})}return N})(),wt=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-header"]],hostAttrs:[1,"ant-list-header"],exportAs:["nzListHeader"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return N})(),Ee=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-footer"]],hostAttrs:[1,"ant-list-footer"],exportAs:["nzListFooter"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return N})(),be=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-pagination"]],hostAttrs:[1,"ant-list-pagination"],exportAs:["nzListPagination"],ngContentSelectors:R,decls:1,vars:0,template:function(L,he){1&L&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return N})(),Qe=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275dir=e.lG2({type:N,selectors:[["nz-list-load-more"]],exportAs:["nzListLoadMoreDirective"]})}return N})(),Ze=(()=>{class N{get itemLayoutNotify$(){return this.itemLayoutNotifySource.asObservable()}constructor($){this.directionality=$,this.nzBordered=!1,this.nzGrid="",this.nzItemLayout="horizontal",this.nzRenderItem=null,this.nzLoading=!1,this.nzLoadMore=null,this.nzSize="default",this.nzSplit=!0,this.hasSomethingAfterLastItem=!1,this.dir="ltr",this.itemLayoutNotifySource=new v.X(this.nzItemLayout),this.destroy$=new E.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,D.R)(this.destroy$)).subscribe($=>{this.dir=$})}getSomethingAfterLastItem(){return!!(this.nzLoadMore||this.nzPagination||this.nzFooter||this.nzListFooterComponent||this.nzListPaginationComponent||this.nzListLoadMoreDirective)}ngOnChanges($){$.nzItemLayout&&this.itemLayoutNotifySource.next(this.nzItemLayout)}ngOnDestroy(){this.itemLayoutNotifySource.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.hasSomethingAfterLastItem=this.getSomethingAfterLastItem()}static#e=this.\u0275fac=function(L){return new(L||N)(e.Y36(S.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list"],["","nz-list",""]],contentQueries:function(L,he,Ce){if(1&L&&(e.Suo(Ce,Ee,5),e.Suo(Ce,be,5),e.Suo(Ce,Qe,5)),2&L){let Dt;e.iGM(Dt=e.CRH())&&(he.nzListFooterComponent=Dt.first),e.iGM(Dt=e.CRH())&&(he.nzListPaginationComponent=Dt.first),e.iGM(Dt=e.CRH())&&(he.nzListLoadMoreDirective=Dt.first)}},hostAttrs:[1,"ant-list"],hostVars:16,hostBindings:function(L,he){2&L&&e.ekj("ant-list-rtl","rtl"===he.dir)("ant-list-vertical","vertical"===he.nzItemLayout)("ant-list-lg","large"===he.nzSize)("ant-list-sm","small"===he.nzSize)("ant-list-split",he.nzSplit)("ant-list-bordered",he.nzBordered)("ant-list-loading",he.nzLoading)("ant-list-something-after-last-item",he.hasSomethingAfterLastItem)},inputs:{nzDataSource:"nzDataSource",nzBordered:"nzBordered",nzGrid:"nzGrid",nzHeader:"nzHeader",nzFooter:"nzFooter",nzItemLayout:"nzItemLayout",nzRenderItem:"nzRenderItem",nzLoading:"nzLoading",nzLoadMore:"nzLoadMore",nzPagination:"nzPagination",nzSize:"nzSize",nzSplit:"nzSplit",nzNoResult:"nzNoResult"},exportAs:["nzList"],features:[e.TTD],ngContentSelectors:U,decls:15,vars:9,consts:[["itemsTpl",""],[4,"ngIf"],[3,"nzSpinning"],[3,"min-height",4,"ngIf"],["nz-row","",3,"nzGutter",4,"ngIf","ngIfElse"],[3,"nzNoResult",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-list-items"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"],[3,"nzNoResult"]],template:function(L,he){if(1&L&&(e.F$t(de),e.YNc(0,ke,3,1,"ng-template",null,0,e.W1O),e.YNc(2,_e,2,1,"nz-list-header",1),e.Hsn(3),e.TgZ(4,"nz-spin",2),e.ynx(5),e.YNc(6,Q,1,2,"div",3),e.YNc(7,lt,2,2,"div",4),e.YNc(8,Pe,1,1,"nz-list-empty",5),e.BQk(),e.qZA(),e.YNc(9,$e,2,1,"nz-list-footer",1),e.Hsn(10,1),e.YNc(11,ot,0,0,"ng-template",6),e.Hsn(12,2),e.YNc(13,we,2,1,"nz-list-pagination",1),e.Hsn(14,3)),2&L){const Ce=e.MAs(1);e.xp6(2),e.Q6J("ngIf",he.nzHeader),e.xp6(2),e.Q6J("nzSpinning",he.nzLoading),e.xp6(2),e.Q6J("ngIf",he.nzLoading&&he.nzDataSource&&0===he.nzDataSource.length),e.xp6(1),e.Q6J("ngIf",he.nzGrid&&he.nzDataSource)("ngIfElse",Ce),e.xp6(1),e.Q6J("ngIf",!he.nzLoading&&he.nzDataSource&&0===he.nzDataSource.length),e.xp6(1),e.Q6J("ngIf",he.nzFooter),e.xp6(2),e.Q6J("ngTemplateOutlet",he.nzLoadMore),e.xp6(2),e.Q6J("ngIf",he.nzPagination)}},dependencies:[n.sg,n.O5,n.tP,A.W,k.t3,k.SK,i.f,wt,Ee,be,We],encapsulation:2,changeDetection:0})}return(0,l.gn)([(0,h.yF)()],N.prototype,"nzBordered",void 0),(0,l.gn)([(0,h.yF)()],N.prototype,"nzLoading",void 0),(0,l.gn)([(0,h.yF)()],N.prototype,"nzSplit",void 0),N})(),ve=(()=>{class N{get isVerticalAndExtra(){return!("vertical"!==this.itemLayout||!this.listItemExtraDirective&&!this.nzExtra)}constructor($,L){this.parentComp=$,this.cdr=L,this.nzActions=[],this.nzExtra=null,this.nzNoFlex=!1}ngAfterViewInit(){this.itemLayout$=this.parentComp.itemLayoutNotify$.subscribe($=>{this.itemLayout=$,this.cdr.detectChanges()})}ngOnDestroy(){this.itemLayout$&&this.itemLayout$.unsubscribe()}static#e=this.\u0275fac=function(L){return new(L||N)(e.Y36(Ze),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:N,selectors:[["nz-list-item"],["","nz-list-item",""]],contentQueries:function(L,he,Ce){if(1&L&&e.Suo(Ce,ge,5),2&L){let Dt;e.iGM(Dt=e.CRH())&&(he.listItemExtraDirective=Dt.first)}},hostAttrs:[1,"ant-list-item"],hostVars:2,hostBindings:function(L,he){2&L&&e.ekj("ant-list-item-no-flex",he.nzNoFlex)},inputs:{nzActions:"nzActions",nzContent:"nzContent",nzExtra:"nzExtra",nzNoFlex:"nzNoFlex"},exportAs:["nzListItem"],ngContentSelectors:St,decls:9,vars:2,consts:[["actionsTpl",""],["contentTpl",""],["extraTpl",""],["simpleTpl",""],[4,"ngIf","ngIfElse"],["nz-list-item-actions","",3,"nzActions",4,"ngIf"],["nz-list-item-actions","",3,"nzActions"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngTemplateOutlet"],[1,"ant-list-item-main"]],template:function(L,he){if(1&L&&(e.F$t(kt),e.YNc(0,Me,2,1,"ng-template",null,0,e.W1O),e.YNc(2,ht,3,1,"ng-template",null,1,e.W1O),e.YNc(4,Ot,1,0,"ng-template",null,2,e.W1O),e.YNc(6,Vt,4,4,"ng-template",null,3,e.W1O),e.YNc(8,Nt,6,4,"ng-container",4)),2&L){const Ce=e.MAs(7);e.xp6(8),e.Q6J("ngIf",he.isVerticalAndExtra)("ngIfElse",Ce)}},dependencies:[n.O5,n.tP,i.f,Ye,ge],encapsulation:2,changeDetection:0})}return(0,l.gn)([(0,h.yF)()],N.prototype,"nzNoFlex",void 0),N})(),x=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275mod=e.oAB({type:N});static#n=this.\u0275inj=e.cJS({imports:[S.vT,n.ez,A.j,k.Jb,t.Rt,i.T,P.Xo]})}return N})()},36513:(tt,I,o)=>{"use strict";o.d(I,{Gl:()=>ke,YW:()=>Se,jO:()=>le});var e=o(49388),n=o(33651),t=o(96814),i=o(65879),l=o(60095),h=o(50883),E=o(60804),u=o(90551),z=o(78645),M=o(92438),p=o(22096),v=o(65592),_=o(63019),d=o(47394),m=o(59773),f=o(93997),C=o(42460),T=o(37398),b=o(27921),D=o(94664),y=o(99087),P=o(97582),S=o(36028),A=o(68484),k=o(85448),R=o(27754);const W=["items"];function j(oe,_e){1&oe&&i.GkF(0)}const ze=function(oe){return{$implicit:oe}};function Y(oe,_e){if(1&oe&&(i.ynx(0),i.YNc(1,j,1,0,"ng-container",10),i.BQk()),2&oe){const Q=i.oxw().$implicit,He=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",He.suggestionTemplate)("ngTemplateOutletContext",i.VKq(2,ze,Q))}}function G(oe,_e){if(1&oe&&i._uU(0),2&oe){const Q=i.oxw().$implicit,He=i.oxw(2);i.Oqu(He.nzValueWith(Q))}}function V(oe,_e){if(1&oe){const Q=i.EpF();i.TgZ(0,"li",6,7),i.NdJ("click",function(){const lt=i.CHM(Q).$implicit,Pe=i.oxw(2);return i.KtG(Pe.selectSuggestion(lt))}),i.YNc(2,Y,2,4,"ng-container",8),i.YNc(3,G,1,1,"ng-template",null,9,i.W1O),i.qZA()}if(2&oe){const Q=_e.index,He=i.MAs(4),Re=i.oxw(2);i.ekj("ant-mentions-dropdown-menu-item-active",Q===Re.activeIndex)("ant-mentions-dropdown-menu-item-selected",Q===Re.activeIndex),i.xp6(2),i.Q6J("ngIf",Re.suggestionTemplate)("ngIfElse",He)}}function K(oe,_e){1&oe&&(i.TgZ(0,"span"),i._UZ(1,"span",13),i.qZA())}function ee(oe,_e){if(1&oe&&(i.TgZ(0,"span"),i._UZ(1,"nz-embed-empty",14),i.qZA()),2&oe){const Q=i.oxw(3);i.xp6(1),i.Q6J("specificContent",Q.nzNotFoundContent)}}function te(oe,_e){if(1&oe&&(i.TgZ(0,"li",11),i.YNc(1,K,2,0,"span",12),i.YNc(2,ee,2,1,"span",12),i.qZA()),2&oe){const Q=i.oxw(2);i.xp6(1),i.Q6J("ngIf",Q.nzLoading),i.xp6(1),i.Q6J("ngIf",!Q.nzLoading)}}function pe(oe,_e){if(1&oe&&(i.TgZ(0,"div",2)(1,"ul",3),i.YNc(2,V,5,6,"li",4),i.YNc(3,te,3,2,"li",5),i.qZA()()),2&oe){const Q=i.oxw();i.xp6(2),i.Q6J("ngForOf",Q.filteredSuggestions),i.xp6(1),i.Q6J("ngIf",0===Q.filteredSuggestions.length)}}function re(oe,_e){if(1&oe&&i._UZ(0,"nz-form-item-feedback-icon",15),2&oe){const Q=i.oxw();i.Q6J("status",Q.status)}}const De=["*"];let ae=(()=>{class oe{static#e=this.\u0275fac=function(He){return new(He||oe)};static#t=this.\u0275dir=i.lG2({type:oe,selectors:[["","nzMentionSuggestion",""]],exportAs:["nzMentionSuggestion"]})}return oe})();let X=(()=>{class oe{constructor(){this.triggerChange$=new z.x}triggerChanged(){return this.triggerChange$.asObservable()}registerTrigger(Q){this.trigger!==Q&&(this.trigger=Q,this.triggerChange$.next(Q))}ngOnDestroy(){this.triggerChange$.complete()}static#e=this.\u0275fac=function(He){return new(He||oe)};static#t=this.\u0275prov=i.Yz7({token:oe,factory:oe.\u0275fac})}return oe})();const ne={provide:l.JU,useExisting:(0,i.Gpc)(()=>le),multi:!0};let le=(()=>{class oe{constructor(Q,He,Re,lt,Pe){this.el=Q,this.ngZone=He,this.ref=Re,this.destroy$=lt,this.nzMentionService=Pe,this.onChange=()=>{},this.onTouched=()=>{},this.onFocusin=new i.vpe,this.onBlur=new i.vpe,this.onInput=new i.vpe,this.onKeydown=new i.vpe,this.onClick=new i.vpe}completeEvents(){this.onFocusin.complete(),this.onBlur.complete(),this.onInput.complete(),this.onKeydown.complete(),this.onClick.complete()}focus(Q=null){this.el.nativeElement.focus(),this.el.nativeElement.setSelectionRange(Q,Q)}insertMention(Q){const He=this.el.nativeElement.value,Re=`${Q.mention} `,lt=[He.slice(0,Q.startPos+1),Re,He.slice(Q.endPos,He.length)].join("");this.el.nativeElement.value=lt,this.focus(Q.startPos+Re.length+1),this.onChange(lt),this.value=lt}writeValue(Q){this.value=Q,this.el.nativeElement.value="string"==typeof Q?Q:""}registerOnChange(Q){this.onChange=Q}registerOnTouched(Q){this.onTouched=Q}ngAfterViewInit(){this.nzMentionService.registerTrigger(this),this.setupEventListener("blur",this.onBlur),this.setupEventListener("focusin",this.onFocusin),this.setupEventListener("input",this.onInput,!0),this.setupEventListener("click",this.onClick,!0),this.setupEventListener("keydown",this.onKeydown,!0)}ngOnDestroy(){this.completeEvents()}setupEventListener(Q,He,Re=!1){this.ngZone.runOutsideAngular(()=>{(0,M.R)(this.el.nativeElement,Q).pipe((0,m.R)(this.destroy$)).subscribe(lt=>{He.observers.length&&this.ngZone.run(()=>{He.emit(Re?lt:void 0),this.ref.markForCheck()})})})}static#e=this.\u0275fac=function(He){return new(He||oe)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(y.kn),i.Y36(X))};static#t=this.\u0275dir=i.lG2({type:oe,selectors:[["input","nzMentionTrigger",""],["textarea","nzMentionTrigger",""]],hostAttrs:["autocomplete","off"],outputs:{onFocusin:"onFocusin",onBlur:"onBlur",onInput:"onInput",onKeydown:"onKeydown",onClick:"onClick"},exportAs:["nzMentionTrigger"],features:[i._Bn([y.kn,ne])]})}return oe})(),Se=(()=>{class oe{set suggestionChild(Q){Q&&(this.suggestionTemplate=Q)}get triggerNativeElement(){return this.trigger.el.nativeElement}get focusItemElement(){const Q=this.items?.toArray();return Q&&Q[this.activeIndex]?Q[this.activeIndex].nativeElement:null}constructor(Q,He,Re,lt,Pe,xt,$e,ot,mt,we,de,U){this.ngZone=Q,this.ngDocument=He,this.directionality=Re,this.cdr=lt,this.overlay=Pe,this.viewContainerRef=xt,this.elementRef=$e,this.renderer=ot,this.nzMentionService=mt,this.destroy$=we,this.nzFormStatusService=de,this.nzFormNoStatusService=U,this.nzValueWith=B=>B,this.nzPrefix="@",this.nzLoading=!1,this.nzNotFoundContent="\u65e0\u5339\u914d\u7ed3\u679c\uff0c\u8f7b\u6572\u7a7a\u683c\u5b8c\u6210\u8f93\u5165",this.nzPlacement="bottom",this.nzSuggestions=[],this.nzStatus="",this.nzOnSelect=new i.vpe,this.nzOnSearchChange=new i.vpe,this.isOpen=!1,this.filteredSuggestions=[],this.suggestionTemplate=null,this.activeIndex=-1,this.dir="ltr",this.prefixCls="ant-mentions",this.statusCls={},this.status="",this.hasFeedback=!1,this.previousValue=null,this.cursorMention=null,this.overlayRef=null}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,f.x)((Q,He)=>Q.status===He.status&&Q.hasFeedback===He.hasFeedback),(0,C.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,p.of)(!1)),(0,T.U)(([{status:Q,hasFeedback:He},Re])=>({status:Re?"":Q,hasFeedback:He})),(0,m.R)(this.destroy$)).subscribe(({status:Q,hasFeedback:He})=>{this.setStatusStyles(Q,He)}),this.nzMentionService.triggerChanged().subscribe(Q=>{this.trigger=Q,this.bindTriggerEvents(),this.closeDropdown(),this.overlayRef=null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(Q=>{this.dir=Q})}ngOnChanges(Q){const{nzSuggestions:He,nzStatus:Re}=Q;He&&this.isOpen&&(this.previousValue=null,this.activeIndex=-1,this.resetDropdown(!1)),Re&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngAfterViewInit(){this.items.changes.pipe((0,b.O)(this.items),(0,D.w)(()=>{const Q=this.items.toArray();return new v.y(He=>this.ngZone.runOutsideAngular(()=>(0,_.T)(...Q.map(Re=>(0,M.R)(Re.nativeElement,"mousedown"))).subscribe(He)))})).subscribe(Q=>{Q.preventDefault()})}ngOnDestroy(){this.closeDropdown()}closeDropdown(){this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.overlayOutsideClickSubscription.unsubscribe(),this.isOpen=!1,this.cdr.markForCheck())}openDropdown(){this.attachOverlay(),this.isOpen=!0,this.cdr.markForCheck()}getMentions(){return this.trigger?(0,R.qR)(this.trigger.value,this.nzPrefix):[]}selectSuggestion(Q){const He=this.nzValueWith(Q);this.trigger.insertMention({mention:He,startPos:this.cursorMentionStart,endPos:this.cursorMentionEnd}),this.nzOnSelect.emit(Q),this.closeDropdown(),this.activeIndex=-1}handleInput(Q){const He=Q.target;this.trigger.onChange(He.value),this.trigger.value=He.value,this.resetDropdown()}handleKeydown(Q){const He=Q.keyCode;if(this.isOpen&&He===S.K5&&-1!==this.activeIndex&&this.filteredSuggestions.length)this.selectSuggestion(this.filteredSuggestions[this.activeIndex]),Q.preventDefault();else if(He===S.oh||He===S.SV)this.resetDropdown(),Q.stopPropagation();else{if(this.isOpen&&(He===S.Mf||He===S.hY))return void this.closeDropdown();this.isOpen&&He===S.LH&&(this.setPreviousItemActive(),Q.preventDefault(),Q.stopPropagation()),this.isOpen&&He===S.JH&&(this.setNextItemActive(),Q.preventDefault(),Q.stopPropagation())}}handleClick(){this.resetDropdown()}bindTriggerEvents(){this.trigger.onInput.subscribe(Q=>this.handleInput(Q)),this.trigger.onKeydown.subscribe(Q=>this.handleKeydown(Q)),this.trigger.onClick.subscribe(()=>this.handleClick())}suggestionsFilter(Q,He){const Re=Q.substring(1);if(this.previousValue===Q&&Q!==this.cursorMention[0])return;this.previousValue=Q,He&&this.nzOnSearchChange.emit({value:this.cursorMention.substring(1),prefix:this.cursorMention[0]});const lt=Re.toLowerCase();this.filteredSuggestions=this.nzSuggestions.filter(Pe=>this.nzValueWith(Pe).toLowerCase().includes(lt))}resetDropdown(Q=!0){if(this.resetCursorMention(),"string"!=typeof this.cursorMention||!this.canOpen())return void this.closeDropdown();this.suggestionsFilter(this.cursorMention,Q);const He=this.filteredSuggestions.indexOf(this.cursorMention.substring(1));this.activeIndex=He>=0?He:0,this.openDropdown()}setNextItemActive(){this.activeIndex=this.activeIndex+1<=this.filteredSuggestions.length-1?this.activeIndex+1:0,this.cdr.markForCheck(),this.scrollToFocusItem()}setPreviousItemActive(){this.activeIndex=this.activeIndex-1<0?this.filteredSuggestions.length-1:this.activeIndex-1,this.cdr.markForCheck(),this.scrollToFocusItem()}scrollToFocusItem(){this.focusItemElement&&this.focusItemElement.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}canOpen(){const Q=this.triggerNativeElement;return!Q.readOnly&&!Q.disabled}resetCursorMention(){const Q=this.triggerNativeElement.value.replace(/[\r\n]/g," ")||"",He=this.triggerNativeElement.selectionStart,Re="string"==typeof this.nzPrefix?[this.nzPrefix]:this.nzPrefix;let lt=Re.length;for(;lt>=0;){const Pe=Q.lastIndexOf(Re[lt],He),xt=Q.indexOf(" ",He)>-1?Q.indexOf(" ",He):Q.length,$e=Q.substring(Pe,xt);if(!(Pe>0&&" "!==Q[Pe-1]||Pe<0||$e.includes(Re[lt],1)||$e.includes(" ")))return this.cursorMention=$e,this.cursorMentionStart=Pe,void(this.cursorMentionEnd=xt);this.cursorMention=null,this.cursorMentionStart=-1,this.cursorMentionEnd=-1,lt--}}updatePositions(){const Q=(0,R.Ly)(this.triggerNativeElement,this.cursorMentionStart),He=Q.top-this.triggerNativeElement.getBoundingClientRect().height-this.triggerNativeElement.scrollTop+("bottom"===this.nzPlacement?Q.height-6:-6);this.positionStrategy.withDefaultOffsetX(Q.left-this.triggerNativeElement.scrollLeft).withDefaultOffsetY(He),"bottom"===this.nzPlacement&&this.positionStrategy.withPositions([...k.fG]),"top"===this.nzPlacement&&this.positionStrategy.withPositions([...k.A7]),this.positionStrategy.apply()}subscribeOverlayOutsideClick(){const Q=Re=>{const lt=Re.target;return this.isOpen&<!==this.trigger.el.nativeElement&&!this.overlayRef?.overlayElement.contains(lt)},He=new d.w0;return He.add(this.overlayRef.outsidePointerEvents().subscribe(Re=>Q(Re)&&this.closeDropdown())),He.add(this.ngZone.runOutsideAngular(()=>(0,M.R)(this.ngDocument,"touchend").subscribe(Re=>Q(Re)&&this.ngZone.run(()=>this.closeDropdown())))),He}attachOverlay(){this.overlayRef||(this.portal=new A.UE(this.suggestionsTemp,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick()),this.updatePositions()}getOverlayConfig(){return new n.X_({positionStrategy:this.getOverlayPosition(),scrollStrategy:this.overlay.scrollStrategies.reposition(),disposeOnNavigation:!0})}getOverlayPosition(){const Q=[new n.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new n.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.trigger.el).withPositions(Q).withFlexibleDimensions(!1).withPush(!1),this.positionStrategy}setStatusStyles(Q,He){this.status=Q,this.hasFeedback=He,this.cdr.markForCheck(),this.statusCls=(0,R.Zu)(this.prefixCls,Q,He),Object.keys(this.statusCls).forEach(Re=>{this.statusCls[Re]?this.renderer.addClass(this.elementRef.nativeElement,Re):this.renderer.removeClass(this.elementRef.nativeElement,Re)})}static#e=this.\u0275fac=function(He){return new(He||oe)(i.Y36(i.R0b),i.Y36(t.K0,8),i.Y36(e.Is,8),i.Y36(i.sBO),i.Y36(n.aV),i.Y36(i.s_b),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(X),i.Y36(y.kn),i.Y36(h.kH,8),i.Y36(h.yW,8))};static#t=this.\u0275cmp=i.Xpm({type:oe,selectors:[["nz-mention"]],contentQueries:function(He,Re,lt){if(1&He&&i.Suo(lt,ae,5,i.Rgc),2&He){let Pe;i.iGM(Pe=i.CRH())&&(Re.suggestionChild=Pe.first)}},viewQuery:function(He,Re){if(1&He&&(i.Gf(i.Rgc,5),i.Gf(W,5,i.SBq)),2&He){let lt;i.iGM(lt=i.CRH())&&(Re.suggestionsTemp=lt.first),i.iGM(lt=i.CRH())&&(Re.items=lt)}},hostAttrs:[1,"ant-mentions"],hostVars:2,hostBindings:function(He,Re){2&He&&i.ekj("ant-mentions-rtl","rtl"===Re.dir)},inputs:{nzValueWith:"nzValueWith",nzPrefix:"nzPrefix",nzLoading:"nzLoading",nzNotFoundContent:"nzNotFoundContent",nzPlacement:"nzPlacement",nzSuggestions:"nzSuggestions",nzStatus:"nzStatus"},outputs:{nzOnSelect:"nzOnSelect",nzOnSearchChange:"nzOnSearchChange"},exportAs:["nzMention"],features:[i._Bn([X,y.kn]),i.TTD],ngContentSelectors:De,decls:4,vars:1,consts:[["suggestions",""],["class","ant-mentions-suffix",3,"status",4,"ngIf"],[1,"ant-mentions-dropdown"],["role","menu","tabindex","0",1,"ant-mentions-dropdown-menu"],["class","ant-mentions-dropdown-menu-item","role","menuitem","tabindex","-1",3,"ant-mentions-dropdown-menu-item-active","ant-mentions-dropdown-menu-item-selected","click",4,"ngFor","ngForOf"],["class","ant-mentions-dropdown-menu-item ant-mentions-dropdown-menu-item-disabled",4,"ngIf"],["role","menuitem","tabindex","-1",1,"ant-mentions-dropdown-menu-item",3,"click"],["items",""],[4,"ngIf","ngIfElse"],["defaultSuggestion",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-mentions-dropdown-menu-item","ant-mentions-dropdown-menu-item-disabled"],[4,"ngIf"],["nz-icon","","nzType","loading"],["nzComponentName","select",3,"specificContent"],[1,"ant-mentions-suffix",3,"status"]],template:function(He,Re){1&He&&(i.F$t(),i.Hsn(0),i.YNc(1,pe,4,2,"ng-template",null,0,i.W1O),i.YNc(3,re,1,1,"nz-form-item-feedback-icon",1)),2&He&&(i.xp6(3),i.Q6J("ngIf",Re.hasFeedback&&!!Re.status))},dependencies:[t.sg,t.O5,t.tP,u.Ls,E.gB,h.w_],encapsulation:2,changeDetection:0})}return(0,P.gn)([(0,R.yF)()],oe.prototype,"nzLoading",void 0),oe})(),ke=(()=>{class oe{static#e=this.\u0275fac=function(He){return new(He||oe)};static#t=this.\u0275mod=i.oAB({type:oe});static#n=this.\u0275inj=i.cJS({imports:[e.vT,t.ez,l.u5,n.U8,u.PV,E.Xo,h.mJ]})}return oe})()},73460:(tt,I,o)=>{"use strict";o.d(I,{Cc:()=>Pe,YV:()=>qt,hl:()=>$e,ip:()=>en,r9:()=>mt,rY:()=>Ae,uA:()=>Wt,wO:()=>Ot});var e=o(97582),n=o(65879),t=o(78645),i=o(65619),l=o(63019),h=o(52572),E=o(37398),u=o(21631),z=o(32181),M=o(21441),p=o(29028),v=o(93997),_=o(59773),d=o(27921),m=o(94664),f=o(27754),C=o(52787),T=o(49388),b=o(33651),D=o(85448),y=o(62831),P=o(331),S=o(96814),A=o(90551),k=o(8324),R=o(64194);const W=["nz-submenu-title",""];function j(Vt,cn){if(1&Vt&&n._UZ(0,"span",4),2&Vt){const ft=n.oxw();n.Q6J("nzType",ft.nzIcon)}}function ze(Vt,cn){if(1&Vt&&(n.ynx(0),n.TgZ(1,"span"),n._uU(2),n.qZA(),n.BQk()),2&Vt){const ft=n.oxw();n.xp6(2),n.Oqu(ft.nzTitle)}}function Y(Vt,cn){1&Vt&&n._UZ(0,"span",8)}function G(Vt,cn){1&Vt&&n._UZ(0,"span",9)}function V(Vt,cn){if(1&Vt&&(n.TgZ(0,"span",5),n.YNc(1,Y,1,0,"span",6),n.YNc(2,G,1,0,"span",7),n.qZA()),2&Vt){const ft=n.oxw();n.Q6J("ngSwitch",ft.dir),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function K(Vt,cn){1&Vt&&n._UZ(0,"span",10)}const ee=["*"],te=["nz-submenu-inline-child",""];function pe(Vt,cn){}const re=["nz-submenu-none-inline-child",""];function De(Vt,cn){}const ae=["nz-submenu",""];function ce(Vt,cn){1&Vt&&n.Hsn(0,0,["*ngIf","!nzTitle"])}function X(Vt,cn){if(1&Vt&&n._UZ(0,"div",6),2&Vt){const ft=n.oxw(),gt=n.MAs(7);n.Q6J("mode",ft.mode)("nzOpen",ft.nzOpen)("@.disabled",!(null==ft.noAnimation||!ft.noAnimation.nzNoAnimation))("nzNoAnimation",null==ft.noAnimation?null:ft.noAnimation.nzNoAnimation)("menuClass",ft.nzMenuClassName)("templateOutlet",gt)}}function ne(Vt,cn){if(1&Vt){const ft=n.EpF();n.TgZ(0,"div",8),n.NdJ("subMenuMouseState",function(Ie){n.CHM(ft);const Ct=n.oxw(2);return n.KtG(Ct.setMouseEnterState(Ie))}),n.qZA()}if(2&Vt){const ft=n.oxw(2),gt=n.MAs(7);n.Q6J("theme",ft.theme)("mode",ft.mode)("nzOpen",ft.nzOpen)("position",ft.position)("nzDisabled",ft.nzDisabled)("isMenuInsideDropDown",ft.isMenuInsideDropDown)("templateOutlet",gt)("menuClass",ft.nzMenuClassName)("@.disabled",!(null==ft.noAnimation||!ft.noAnimation.nzNoAnimation))("nzNoAnimation",null==ft.noAnimation?null:ft.noAnimation.nzNoAnimation)}}function le(Vt,cn){if(1&Vt){const ft=n.EpF();n.YNc(0,ne,1,10,"ng-template",7),n.NdJ("positionChange",function(Ie){n.CHM(ft);const Ct=n.oxw();return n.KtG(Ct.onPositionChange(Ie))})}if(2&Vt){const ft=n.oxw(),gt=n.MAs(1);n.Q6J("cdkConnectedOverlayPositions",ft.overlayPositions)("cdkConnectedOverlayOrigin",gt)("cdkConnectedOverlayWidth",ft.triggerWidth)("cdkConnectedOverlayOpen",ft.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function Se(Vt,cn){1&Vt&&n.Hsn(0,1)}const Ne=[[["","title",""]],"*"],ke=["[title]","*"],oe=["titleElement"],_e=["nz-menu-group",""];function Q(Vt,cn){if(1&Vt&&(n.ynx(0),n._uU(1),n.BQk()),2&Vt){const ft=n.oxw();n.xp6(1),n.Oqu(ft.nzTitle)}}function He(Vt,cn){1&Vt&&n.Hsn(0,1,["*ngIf","!nzTitle"])}const Re=["*",[["","title",""]]],lt=["*","[title]"],Pe=new n.OlP("NzIsInDropDownMenuToken"),xt=new n.OlP("NzMenuServiceLocalToken");let $e=(()=>{class Vt{constructor(){this.descendantMenuItemClick$=new t.x,this.childMenuItemClick$=new t.x,this.theme$=new i.X("light"),this.mode$=new i.X("vertical"),this.inlineIndent$=new i.X(24),this.isChildSubMenuOpen$=new i.X(!1)}onDescendantMenuItemClick(ft){this.descendantMenuItemClick$.next(ft)}onChildMenuItemClick(ft){this.childMenuItemClick$.next(ft)}setMode(ft){this.mode$.next(ft)}setTheme(ft){this.theme$.next(ft)}setInlineIndent(ft){this.inlineIndent$.next(ft)}static#e=this.\u0275fac=function(gt){return new(gt||Vt)};static#t=this.\u0275prov=n.Yz7({token:Vt,factory:Vt.\u0275fac})}return Vt})(),ot=(()=>{class Vt{onChildMenuItemClick(ft){this.childMenuItemClick$.next(ft)}setOpenStateWithoutDebounce(ft){this.isCurrentSubMenuOpen$.next(ft)}setMouseEnterTitleOrOverlayState(ft){this.isMouseEnterTitleOrOverlay$.next(ft)}constructor(ft,gt,Ie){this.nzHostSubmenuService=ft,this.nzMenuService=gt,this.isMenuInsideDropDown=Ie,this.mode$=this.nzMenuService.mode$.pipe((0,E.U)(St=>"inline"===St?"inline":"vertical"===St||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new i.X(!1),this.isChildSubMenuOpen$=new i.X(!1),this.isMouseEnterTitleOrOverlay$=new t.x,this.childMenuItemClick$=new t.x,this.destroy$=new t.x,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const Ct=this.childMenuItemClick$.pipe((0,u.z)(()=>this.mode$),(0,z.h)(St=>"inline"!==St||this.isMenuInsideDropDown),(0,M.h)(!1)),Nt=(0,l.T)(this.isMouseEnterTitleOrOverlay$,Ct);(0,h.a)([this.isChildSubMenuOpen$,Nt]).pipe((0,E.U)(([St,qe])=>St||qe),(0,p.e)(150),(0,v.x)(),(0,_.R)(this.destroy$)).pipe((0,v.x)()).subscribe(St=>{this.setOpenStateWithoutDebounce(St),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(St):this.nzMenuService.isChildSubMenuOpen$.next(St)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.LFG(Vt,12),n.LFG($e),n.LFG(Pe))};static#t=this.\u0275prov=n.Yz7({token:Vt,factory:Vt.\u0275fac})}return Vt})(),mt=(()=>{class Vt{clickMenuItem(ft){this.nzDisabled?(ft.preventDefault(),ft.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(ft){this.nzSelected=ft,this.selected$.next(ft)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const ft=this.hasActiveLinks();this.nzSelected!==ft&&(this.nzSelected=ft,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const ft=this.isLinkActive(this.router);return this.routerLink&&ft(this.routerLink)||this.listOfRouterLink.some(ft)}isLinkActive(ft){return gt=>ft.isActive(gt.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}constructor(ft,gt,Ie,Ct,Nt,kt,St){this.nzMenuService=ft,this.cdr=gt,this.nzSubmenuService=Ie,this.isMenuInsideDropDown=Ct,this.directionality=Nt,this.routerLink=kt,this.router=St,this.destroy$=new t.x,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new t.x,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,St&&this.router.events.pipe((0,_.R)(this.destroy$),(0,z.h)(qe=>qe instanceof C.m2)).subscribe(()=>{this.updateRouterActive()})}ngOnInit(){(0,h.a)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,_.R)(this.destroy$)).subscribe(([ft,gt])=>{this.inlinePaddingLeft="inline"===ft?this.level*gt:null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe((0,_.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(ft){ft.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36($e),n.Y36(n.sBO),n.Y36(ot,8),n.Y36(Pe),n.Y36(T.Is,8),n.Y36(C.rH,8),n.Y36(C.F0,8))};static#t=this.\u0275dir=n.lG2({type:Vt,selectors:[["","nz-menu-item",""]],contentQueries:function(gt,Ie,Ct){if(1>&&n.Suo(Ct,C.rH,5),2>){let Nt;n.iGM(Nt=n.CRH())&&(Ie.listOfRouterLink=Nt)}},hostVars:20,hostBindings:function(gt,Ie){1>&&n.NdJ("click",function(Nt){return Ie.clickMenuItem(Nt)}),2>&&(n.Udp("padding-left","rtl"===Ie.dir?null:Ie.nzPaddingLeft||Ie.inlinePaddingLeft,"px")("padding-right","rtl"===Ie.dir?Ie.nzPaddingLeft||Ie.inlinePaddingLeft:null,"px"),n.ekj("ant-dropdown-menu-item",Ie.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",Ie.isMenuInsideDropDown&&Ie.nzSelected)("ant-dropdown-menu-item-danger",Ie.isMenuInsideDropDown&&Ie.nzDanger)("ant-dropdown-menu-item-disabled",Ie.isMenuInsideDropDown&&Ie.nzDisabled)("ant-menu-item",!Ie.isMenuInsideDropDown)("ant-menu-item-selected",!Ie.isMenuInsideDropDown&&Ie.nzSelected)("ant-menu-item-danger",!Ie.isMenuInsideDropDown&&Ie.nzDanger)("ant-menu-item-disabled",!Ie.isMenuInsideDropDown&&Ie.nzDisabled))},inputs:{nzPaddingLeft:"nzPaddingLeft",nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter"},exportAs:["nzMenuItem"],features:[n.TTD]})}return(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzDisabled",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzSelected",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzDanger",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzMatchRouterExact",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzMatchRouter",void 0),Vt})(),we=(()=>{class Vt{constructor(ft,gt){this.cdr=ft,this.directionality=gt,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new n.vpe,this.subMenuMouseState=new n.vpe,this.dir="ltr",this.destroy$=new t.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(ft){this.nzDisabled||this.subMenuMouseState.next(ft)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(n.sBO),n.Y36(T.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(gt,Ie){1>&&n.NdJ("click",function(){return Ie.clickTitle()})("mouseenter",function(){return Ie.setMouseState(!0)})("mouseleave",function(){return Ie.setMouseState(!1)}),2>&&(n.Udp("padding-left","rtl"===Ie.dir?null:Ie.paddingLeft,"px")("padding-right","rtl"===Ie.dir?Ie.paddingLeft:null,"px"),n.ekj("ant-dropdown-menu-submenu-title",Ie.isMenuInsideDropDown)("ant-menu-submenu-title",!Ie.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:W,ngContentSelectors:ee,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(gt,Ie){if(1>&&(n.F$t(),n.YNc(0,j,1,1,"span",0),n.YNc(1,ze,3,1,"ng-container",1),n.Hsn(2),n.YNc(3,V,3,2,"span",2),n.YNc(4,K,1,0,"ng-template",null,3,n.W1O)),2>){const Ct=n.MAs(5);n.Q6J("ngIf",Ie.nzIcon),n.xp6(1),n.Q6J("nzStringTemplateOutlet",Ie.nzTitle),n.xp6(2),n.Q6J("ngIf",Ie.isMenuInsideDropDown)("ngIfElse",Ct)}},dependencies:[S.O5,S.RF,S.n9,S.ED,A.Ls,k.f],encapsulation:2,changeDetection:0})}return Vt})(),de=(()=>{class Vt{constructor(ft,gt,Ie){this.elementRef=ft,this.renderer=gt,this.directionality=Ie,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new t.x}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft})}ngOnChanges(ft){const{mode:gt,nzOpen:Ie,menuClass:Ct}=ft;(gt||Ie)&&this.calcMotionState(),Ct&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(Nt=>!!Nt).forEach(Nt=>{this.renderer.removeClass(this.elementRef.nativeElement,Nt)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(Nt=>!!Nt).forEach(Nt=>{this.renderer.addClass(this.elementRef.nativeElement,Nt)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(T.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(gt,Ie){2>&&(n.d8E("@collapseMotion",Ie.expandState),n.ekj("ant-menu-rtl","rtl"===Ie.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[n.TTD],attrs:te,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(gt,Ie){1>&&n.YNc(0,pe,0,0,"ng-template",0),2>&&n.Q6J("ngTemplateOutlet",Ie.templateOutlet)},dependencies:[S.tP],encapsulation:2,data:{animation:[R.J_]},changeDetection:0})}return Vt})(),U=(()=>{class Vt{constructor(ft){this.directionality=ft,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new n.vpe,this.expandState="collapsed",this.dir="ltr",this.destroy$=new t.x}setMouseState(ft){this.nzDisabled||this.subMenuMouseState.next(ft)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft})}ngOnChanges(ft){const{mode:gt,nzOpen:Ie}=ft;(gt||Ie)&&this.calcMotionState()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(T.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(gt,Ie){1>&&n.NdJ("mouseenter",function(){return Ie.setMouseState(!0)})("mouseleave",function(){return Ie.setMouseState(!1)}),2>&&(n.d8E("@slideMotion",Ie.expandState)("@zoomBigMotion",Ie.expandState),n.ekj("ant-menu-light","light"===Ie.theme)("ant-menu-dark","dark"===Ie.theme)("ant-menu-submenu-placement-bottom","horizontal"===Ie.mode)("ant-menu-submenu-placement-right","vertical"===Ie.mode&&"right"===Ie.position)("ant-menu-submenu-placement-left","vertical"===Ie.mode&&"left"===Ie.position)("ant-menu-submenu-rtl","rtl"===Ie.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[n.TTD],attrs:re,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(gt,Ie){1>&&(n.TgZ(0,"div",0),n.YNc(1,De,0,0,"ng-template",1),n.qZA()),2>&&(n.ekj("ant-dropdown-menu",Ie.isMenuInsideDropDown)("ant-menu",!Ie.isMenuInsideDropDown)("ant-dropdown-menu-vertical",Ie.isMenuInsideDropDown)("ant-menu-vertical",!Ie.isMenuInsideDropDown)("ant-dropdown-menu-sub",Ie.isMenuInsideDropDown)("ant-menu-sub",!Ie.isMenuInsideDropDown)("ant-menu-rtl","rtl"===Ie.dir),n.Q6J("ngClass",Ie.menuClass),n.xp6(1),n.Q6J("ngTemplateOutlet",Ie.templateOutlet))},dependencies:[S.mk,S.tP],encapsulation:2,data:{animation:[R.$C,R.mF]},changeDetection:0})}return Vt})();const B=[D.yW.rightTop,D.yW.right,D.yW.rightBottom,D.yW.leftTop,D.yW.left,D.yW.leftBottom],Me=[D.yW.bottomLeft,D.yW.bottomRight,D.yW.topRight,D.yW.topLeft];let Ae=(()=>{class Vt{setOpenStateWithoutDebounce(ft){this.nzSubmenuService.setOpenStateWithoutDebounce(ft)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(ft){this.isActive=ft,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(ft)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(ft){const gt=(0,D.d_)(ft);"rightTop"===gt||"rightBottom"===gt||"right"===gt?this.position="right":("leftTop"===gt||"leftBottom"===gt||"left"===gt)&&(this.position="left")}constructor(ft,gt,Ie,Ct,Nt,kt,St){this.nzMenuService=ft,this.cdr=gt,this.nzSubmenuService=Ie,this.platform=Ct,this.isMenuInsideDropDown=Nt,this.directionality=kt,this.noAnimation=St,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzPlacement="bottomLeft",this.nzOpenChange=new n.vpe,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new t.x,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=B,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}ngOnInit(){this.nzMenuService.theme$.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.theme=ft,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.mode=ft,"horizontal"===ft?this.overlayPositions=[D.yW[this.nzPlacement],...Me]:"vertical"===ft&&(this.overlayPositions=B),this.cdr.markForCheck()}),(0,h.a)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,_.R)(this.destroy$)).subscribe(([ft,gt])=>{this.inlinePaddingLeft="inline"===ft?this.level*gt:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.isActive=ft,ft!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=ft,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const ft=this.listOfNzMenuItemDirective,gt=ft.changes,Ie=(0,l.T)(gt,...ft.map(Ct=>Ct.selected$));gt.pipe((0,d.O)(ft),(0,m.w)(()=>Ie),(0,d.O)(!0),(0,E.U)(()=>ft.some(Ct=>Ct.nzSelected)),(0,_.R)(this.destroy$)).subscribe(Ct=>{this.isSelected=Ct,this.cdr.markForCheck()})}ngOnChanges(ft){const{nzOpen:gt}=ft;gt&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36($e),n.Y36(n.sBO),n.Y36(ot),n.Y36(y.t4),n.Y36(Pe),n.Y36(T.Is,8),n.Y36(P.P,9))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-submenu",""]],contentQueries:function(gt,Ie,Ct){if(1>&&(n.Suo(Ct,Vt,5),n.Suo(Ct,mt,5)),2>){let Nt;n.iGM(Nt=n.CRH())&&(Ie.listOfNzSubMenuComponent=Nt),n.iGM(Nt=n.CRH())&&(Ie.listOfNzMenuItemDirective=Nt)}},viewQuery:function(gt,Ie){if(1>&&n.Gf(b.xu,7,n.SBq),2>){let Ct;n.iGM(Ct=n.CRH())&&(Ie.cdkOverlayOrigin=Ct.first)}},hostVars:34,hostBindings:function(gt,Ie){2>&&n.ekj("ant-dropdown-menu-submenu",Ie.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",Ie.isMenuInsideDropDown&&Ie.nzDisabled)("ant-dropdown-menu-submenu-open",Ie.isMenuInsideDropDown&&Ie.nzOpen)("ant-dropdown-menu-submenu-selected",Ie.isMenuInsideDropDown&&Ie.isSelected)("ant-dropdown-menu-submenu-vertical",Ie.isMenuInsideDropDown&&"vertical"===Ie.mode)("ant-dropdown-menu-submenu-horizontal",Ie.isMenuInsideDropDown&&"horizontal"===Ie.mode)("ant-dropdown-menu-submenu-inline",Ie.isMenuInsideDropDown&&"inline"===Ie.mode)("ant-dropdown-menu-submenu-active",Ie.isMenuInsideDropDown&&Ie.isActive)("ant-menu-submenu",!Ie.isMenuInsideDropDown)("ant-menu-submenu-disabled",!Ie.isMenuInsideDropDown&&Ie.nzDisabled)("ant-menu-submenu-open",!Ie.isMenuInsideDropDown&&Ie.nzOpen)("ant-menu-submenu-selected",!Ie.isMenuInsideDropDown&&Ie.isSelected)("ant-menu-submenu-vertical",!Ie.isMenuInsideDropDown&&"vertical"===Ie.mode)("ant-menu-submenu-horizontal",!Ie.isMenuInsideDropDown&&"horizontal"===Ie.mode)("ant-menu-submenu-inline",!Ie.isMenuInsideDropDown&&"inline"===Ie.mode)("ant-menu-submenu-active",!Ie.isMenuInsideDropDown&&Ie.isActive)("ant-menu-submenu-rtl","rtl"===Ie.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled",nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[n._Bn([ot]),n.TTD],attrs:ae,ngContentSelectors:ke,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(gt,Ie){if(1>&&(n.F$t(Ne),n.TgZ(0,"div",0,1),n.NdJ("subMenuMouseState",function(Nt){return Ie.setMouseEnterState(Nt)})("toggleSubMenu",function(){return Ie.toggleSubMenu()}),n.YNc(2,ce,1,0,"ng-content",2),n.qZA(),n.YNc(3,X,1,6,"div",3),n.YNc(4,le,1,5,"ng-template",null,4,n.W1O),n.YNc(6,Se,1,0,"ng-template",null,5,n.W1O)),2>){const Ct=n.MAs(5);n.Q6J("nzIcon",Ie.nzIcon)("nzTitle",Ie.nzTitle)("mode",Ie.mode)("nzDisabled",Ie.nzDisabled)("isMenuInsideDropDown",Ie.isMenuInsideDropDown)("paddingLeft",Ie.nzPaddingLeft||Ie.inlinePaddingLeft),n.xp6(2),n.Q6J("ngIf",!Ie.nzTitle),n.xp6(1),n.Q6J("ngIf","inline"===Ie.mode)("ngIfElse",Ct)}},dependencies:[S.O5,b.pI,b.xu,P.P,we,de,U],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzOpen",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzDisabled",void 0),Vt})();function Le(Vt,cn){return Vt||cn}function ht(Vt){return Vt||!1}let Ot=(()=>{class Vt{setInlineCollapsed(ft){this.nzInlineCollapsed=ft,this.inlineCollapsed$.next(ft)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(ft=>ft.nzOpen),this.listOfNzSubMenuComponent.forEach(ft=>ft.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(ft=>ft.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}constructor(ft,gt,Ie,Ct){this.nzMenuService=ft,this.isMenuInsideDropDown=gt,this.cdr=Ie,this.directionality=Ct,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new n.vpe,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new i.X(this.nzInlineCollapsed),this.mode$=new i.X(this.nzMode),this.destroy$=new t.x,this.listOfOpenedNzSubMenuComponent=[]}ngOnInit(){(0,h.a)([this.inlineCollapsed$,this.mode$]).pipe((0,_.R)(this.destroy$)).subscribe(([ft,gt])=>{this.actualMode=ft?"vertical":gt,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.nzClick.emit(ft),this.nzSelectable&&!ft.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(gt=>gt.setSelectedState(gt===ft))}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(ft=>{this.dir=ft,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe((0,_.R)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(ft){const{nzInlineCollapsed:gt,nzInlineIndent:Ie,nzTheme:Ct,nzMode:Nt}=ft;gt&&this.inlineCollapsed$.next(this.nzInlineCollapsed),Ie&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),Ct&&this.nzMenuService.setTheme(this.nzTheme),Nt&&(this.mode$.next(this.nzMode),!ft.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(kt=>kt.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36($e),n.Y36(Pe),n.Y36(n.sBO),n.Y36(T.Is,8))};static#t=this.\u0275dir=n.lG2({type:Vt,selectors:[["","nz-menu",""]],contentQueries:function(gt,Ie,Ct){if(1>&&(n.Suo(Ct,mt,5),n.Suo(Ct,Ae,5)),2>){let Nt;n.iGM(Nt=n.CRH())&&(Ie.listOfNzMenuItemDirective=Nt),n.iGM(Nt=n.CRH())&&(Ie.listOfNzSubMenuComponent=Nt)}},hostVars:34,hostBindings:function(gt,Ie){2>&&n.ekj("ant-dropdown-menu",Ie.isMenuInsideDropDown)("ant-dropdown-menu-root",Ie.isMenuInsideDropDown)("ant-dropdown-menu-light",Ie.isMenuInsideDropDown&&"light"===Ie.nzTheme)("ant-dropdown-menu-dark",Ie.isMenuInsideDropDown&&"dark"===Ie.nzTheme)("ant-dropdown-menu-vertical",Ie.isMenuInsideDropDown&&"vertical"===Ie.actualMode)("ant-dropdown-menu-horizontal",Ie.isMenuInsideDropDown&&"horizontal"===Ie.actualMode)("ant-dropdown-menu-inline",Ie.isMenuInsideDropDown&&"inline"===Ie.actualMode)("ant-dropdown-menu-inline-collapsed",Ie.isMenuInsideDropDown&&Ie.nzInlineCollapsed)("ant-menu",!Ie.isMenuInsideDropDown)("ant-menu-root",!Ie.isMenuInsideDropDown)("ant-menu-light",!Ie.isMenuInsideDropDown&&"light"===Ie.nzTheme)("ant-menu-dark",!Ie.isMenuInsideDropDown&&"dark"===Ie.nzTheme)("ant-menu-vertical",!Ie.isMenuInsideDropDown&&"vertical"===Ie.actualMode)("ant-menu-horizontal",!Ie.isMenuInsideDropDown&&"horizontal"===Ie.actualMode)("ant-menu-inline",!Ie.isMenuInsideDropDown&&"inline"===Ie.actualMode)("ant-menu-inline-collapsed",!Ie.isMenuInsideDropDown&&Ie.nzInlineCollapsed)("ant-menu-rtl","rtl"===Ie.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[n._Bn([{provide:xt,useClass:$e},{provide:$e,useFactory:Le,deps:[[new n.tp0,new n.FiY,$e],xt]},{provide:Pe,useFactory:ht,deps:[[new n.tp0,new n.FiY,Pe]]}]),n.TTD]})}return(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzInlineCollapsed",void 0),(0,e.gn)([(0,f.yF)()],Vt.prototype,"nzSelectable",void 0),Vt})();function Lt(Vt){return Vt||!1}let Wt=(()=>{class Vt{constructor(ft,gt,Ie){this.elementRef=ft,this.renderer=gt,this.isMenuInsideDropDown=Ie,this.renderer.addClass(ft.nativeElement,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group":"ant-menu-item-group")}ngAfterViewInit(){const ft=this.titleElement.nativeElement.nextElementSibling;ft&&this.renderer.addClass(ft,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list")}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(Pe))};static#t=this.\u0275cmp=n.Xpm({type:Vt,selectors:[["","nz-menu-group",""]],viewQuery:function(gt,Ie){if(1>&&n.Gf(oe,5),2>){let Ct;n.iGM(Ct=n.CRH())&&(Ie.titleElement=Ct.first)}},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[n._Bn([{provide:Pe,useFactory:Lt,deps:[[new n.tp0,new n.FiY,Pe]]}])],attrs:_e,ngContentSelectors:lt,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"],[4,"ngIf"]],template:function(gt,Ie){1>&&(n.F$t(Re),n.TgZ(0,"div",null,0),n.YNc(2,Q,2,1,"ng-container",1),n.YNc(3,He,1,0,"ng-content",2),n.qZA(),n.Hsn(4)),2>&&(n.ekj("ant-menu-item-group-title",!Ie.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",Ie.isMenuInsideDropDown),n.xp6(2),n.Q6J("nzStringTemplateOutlet",Ie.nzTitle),n.xp6(1),n.Q6J("ngIf",!Ie.nzTitle))},dependencies:[S.O5,k.f],encapsulation:2,changeDetection:0})}return Vt})(),qt=(()=>{class Vt{constructor(ft){this.elementRef=ft}static#e=this.\u0275fac=function(gt){return new(gt||Vt)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:Vt,selectors:[["","nz-menu-divider",""]],hostAttrs:[1,"ant-dropdown-menu-item-divider"],exportAs:["nzMenuDivider"]})}return Vt})(),en=(()=>{class Vt{static#e=this.\u0275fac=function(gt){return new(gt||Vt)};static#t=this.\u0275mod=n.oAB({type:Vt});static#n=this.\u0275inj=n.cJS({imports:[T.vT,S.ez,y.ud,b.U8,A.PV,P.g,k.T]})}return Vt})()},43460:(tt,I,o)=>{"use strict";o.d(I,{dD:()=>V,gR:()=>G});var e=o(68484),n=o(65879),t=o(78645),i=o(32181),l=o(48180),h=o(59773),E=o(83064),u=o(27754),z=o(96814),M=o(64194),p=o(90551),v=o(8324),_=o(49388),d=o(33651),m=o(99087);function f(K,ee){1&K&&n._UZ(0,"span",10)}function C(K,ee){1&K&&n._UZ(0,"span",11)}function T(K,ee){1&K&&n._UZ(0,"span",12)}function b(K,ee){1&K&&n._UZ(0,"span",13)}function D(K,ee){1&K&&n._UZ(0,"span",14)}function y(K,ee){if(1&K&&(n.ynx(0),n._UZ(1,"span",15),n.BQk()),2&K){const te=n.oxw();n.xp6(1),n.Q6J("innerHTML",te.instance.content,n.oJD)}}function P(K,ee){if(1&K){const te=n.EpF();n.TgZ(0,"nz-message",2),n.NdJ("destroyed",function(re){n.CHM(te);const De=n.oxw();return n.KtG(De.remove(re.id,re.userAction))}),n.qZA()}2&K&&n.Q6J("instance",ee.$implicit)}let S=0;class A{constructor(ee,te,pe){this.nzSingletonService=ee,this.overlay=te,this.injector=pe}remove(ee){this.container&&(ee?this.container.remove(ee):this.container.removeAll())}getInstanceId(){return`${this.componentPrefix}-${S++}`}withContainer(ee){let te=this.nzSingletonService.getSingletonWithKey(this.componentPrefix);if(te)return te;const pe=this.overlay.create({hasBackdrop:!1,scrollStrategy:this.overlay.scrollStrategies.noop(),positionStrategy:this.overlay.position().global()}),re=new e.C5(ee,null,this.injector),De=pe.attach(re);return pe.hostElement.style.zIndex="1010",te||(this.container=te=De.instance,this.nzSingletonService.registerSingletonWithKey(this.componentPrefix,te),this.container.afterAllInstancesRemoved.subscribe(()=>{this.container=void 0,this.nzSingletonService.unregisterSingletonWithKey(this.componentPrefix),pe.dispose()})),te}}let k=(()=>{class K{constructor(te,pe){this.cdr=te,this.nzConfigService=pe,this.instances=[],this._afterAllInstancesRemoved=new t.x,this.afterAllInstancesRemoved=this._afterAllInstancesRemoved.asObservable(),this.destroy$=new t.x,this.updateConfig()}ngOnInit(){this.subscribeConfigChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}create(te){const pe=this.onCreate(te);return this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,pe],this.readyInstances(),pe}remove(te,pe=!1){this.instances.map((re,De)=>({index:De,instance:re})).filter(({instance:re})=>re.messageId===te).forEach(({index:re,instance:De})=>{this.instances.splice(re,1),this.instances=[...this.instances],this.onRemove(De,pe),this.readyInstances()}),this.instances.length||this.onAllInstancesRemoved()}removeAll(){this.instances.forEach(te=>this.onRemove(te,!1)),this.instances=[],this.readyInstances(),this.onAllInstancesRemoved()}onCreate(te){return te.options=this.mergeOptions(te.options),te.onClose=new t.x,te}onRemove(te,pe){te.onClose.next(pe),te.onClose.complete()}onAllInstancesRemoved(){this._afterAllInstancesRemoved.next(),this._afterAllInstancesRemoved.complete()}readyInstances(){this.cdr.detectChanges()}mergeOptions(te){const{nzDuration:pe,nzAnimate:re,nzPauseOnHover:De}=this.config;return{nzDuration:pe,nzAnimate:re,nzPauseOnHover:De,...te}}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.Y36(n.sBO),n.Y36(E.jY))};static#t=this.\u0275dir=n.lG2({type:K})}return K})(),R=(()=>{class K{constructor(te){this.cdr=te,this.destroyed=new n.vpe,this.animationStateChanged=new t.x,this.userAction=!1,this.eraseTimer=null}ngOnInit(){this.options=this.instance.options,this.options.nzAnimate&&(this.instance.state="enter",this.animationStateChanged.pipe((0,i.h)(te=>"done"===te.phaseName&&"leave"===te.toState),(0,l.q)(1)).subscribe(()=>{clearTimeout(this.closeTimer),this.destroyed.next({id:this.instance.messageId,userAction:this.userAction})})),this.autoClose=this.options.nzDuration>0,this.autoClose&&(this.initErase(),this.startEraseTimeout())}ngOnDestroy(){this.autoClose&&this.clearEraseTimeout(),this.animationStateChanged.complete()}onEnter(){this.autoClose&&this.options.nzPauseOnHover&&(this.clearEraseTimeout(),this.updateTTL())}onLeave(){this.autoClose&&this.options.nzPauseOnHover&&this.startEraseTimeout()}destroy(te=!1){this.userAction=te,this.options.nzAnimate?(this.instance.state="leave",this.cdr.detectChanges(),this.closeTimer=setTimeout(()=>{this.closeTimer=void 0,this.destroyed.next({id:this.instance.messageId,userAction:te})},200)):this.destroyed.next({id:this.instance.messageId,userAction:te})}initErase(){this.eraseTTL=this.options.nzDuration,this.eraseTimingStart=Date.now()}updateTTL(){this.autoClose&&(this.eraseTTL-=Date.now()-this.eraseTimingStart)}startEraseTimeout(){this.eraseTTL>0?(this.clearEraseTimeout(),this.eraseTimer=setTimeout(()=>this.destroy(),this.eraseTTL),this.eraseTimingStart=Date.now()):this.destroy()}clearEraseTimeout(){null!==this.eraseTimer&&(clearTimeout(this.eraseTimer),this.eraseTimer=null)}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.Y36(n.sBO))};static#t=this.\u0275dir=n.lG2({type:K})}return K})(),W=(()=>{class K extends R{constructor(te){super(te),this.destroyed=new n.vpe}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:K,selectors:[["nz-message"]],inputs:{instance:"instance"},outputs:{destroyed:"destroyed"},exportAs:["nzMessage"],features:[n.qOj],decls:10,vars:9,consts:[[1,"ant-message-notice",3,"mouseenter","mouseleave"],[1,"ant-message-notice-content"],[1,"ant-message-custom-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle",4,"ngSwitchCase"],["nz-icon","","nzType","loading",4,"ngSwitchCase"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","check-circle"],["nz-icon","","nzType","info-circle"],["nz-icon","","nzType","exclamation-circle"],["nz-icon","","nzType","close-circle"],["nz-icon","","nzType","loading"],[3,"innerHTML"]],template:function(pe,re){1&pe&&(n.TgZ(0,"div",0),n.NdJ("@moveUpMotion.done",function(ae){return re.animationStateChanged.next(ae)})("mouseenter",function(){return re.onEnter()})("mouseleave",function(){return re.onLeave()}),n.TgZ(1,"div",1)(2,"div",2),n.ynx(3,3),n.YNc(4,f,1,0,"span",4),n.YNc(5,C,1,0,"span",5),n.YNc(6,T,1,0,"span",6),n.YNc(7,b,1,0,"span",7),n.YNc(8,D,1,0,"span",8),n.BQk(),n.YNc(9,y,2,1,"ng-container",9),n.qZA()()()),2&pe&&(n.Q6J("@moveUpMotion",re.instance.state),n.xp6(2),n.Q6J("ngClass","ant-message-"+re.instance.type),n.xp6(1),n.Q6J("ngSwitch",re.instance.type),n.xp6(1),n.Q6J("ngSwitchCase","success"),n.xp6(1),n.Q6J("ngSwitchCase","info"),n.xp6(1),n.Q6J("ngSwitchCase","warning"),n.xp6(1),n.Q6J("ngSwitchCase","error"),n.xp6(1),n.Q6J("ngSwitchCase","loading"),n.xp6(1),n.Q6J("nzStringTemplateOutlet",re.instance.content))},dependencies:[z.mk,z.RF,z.n9,p.Ls,v.f],encapsulation:2,data:{animation:[M.YK]},changeDetection:0})}return K})();const j="message",ze={nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24,nzDirection:"ltr"};let Y=(()=>{class K extends k{constructor(te,pe){super(te,pe),this.dir="ltr";const re=this.nzConfigService.getConfigForComponent(j);this.dir=re?.nzDirection||"ltr"}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(j).pipe((0,h.R)(this.destroy$)).subscribe(()=>{this.updateConfig();const te=this.nzConfigService.getConfigForComponent(j);if(te){const{nzDirection:pe}=te;this.dir=pe||this.dir}})}updateConfig(){this.config={...ze,...this.config,...this.nzConfigService.getConfigForComponent(j)},this.top=(0,u.WX)(this.config.nzTop),this.cdr.markForCheck()}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.Y36(n.sBO),n.Y36(E.jY))};static#t=this.\u0275cmp=n.Xpm({type:K,selectors:[["nz-message-container"]],exportAs:["nzMessageContainer"],features:[n.qOj],decls:2,vars:5,consts:[[1,"ant-message"],[3,"instance","destroyed",4,"ngFor","ngForOf"],[3,"instance","destroyed"]],template:function(pe,re){1&pe&&(n.TgZ(0,"div",0),n.YNc(1,P,1,1,"nz-message",1),n.qZA()),2&pe&&(n.Udp("top",re.top),n.ekj("ant-message-rtl","rtl"===re.dir),n.xp6(1),n.Q6J("ngForOf",re.instances))},dependencies:[z.sg,W],encapsulation:2,changeDetection:0})}return K})(),G=(()=>{class K{static#e=this.\u0275fac=function(pe){return new(pe||K)};static#t=this.\u0275mod=n.oAB({type:K});static#n=this.\u0275inj=n.cJS({imports:[_.vT,z.ez,d.U8,p.PV,v.T]})}return K})(),V=(()=>{class K extends A{constructor(te,pe,re){super(te,pe,re),this.componentPrefix="message-"}success(te,pe){return this.createInstance({type:"success",content:te},pe)}error(te,pe){return this.createInstance({type:"error",content:te},pe)}info(te,pe){return this.createInstance({type:"info",content:te},pe)}warning(te,pe){return this.createInstance({type:"warning",content:te},pe)}loading(te,pe){return this.createInstance({type:"loading",content:te},pe)}create(te,pe,re){return this.createInstance({type:te,content:pe},re)}createInstance(te,pe){return this.container=this.withContainer(Y),this.container.create({...te,createdAt:new Date,messageId:this.getInstanceId(),options:pe})}static#e=this.\u0275fac=function(pe){return new(pe||K)(n.LFG(m.KV),n.LFG(d.aV),n.LFG(n.zs3))};static#t=this.\u0275prov=n.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})()},81221:(tt,I,o)=>{"use strict";o.d(I,{Lf:()=>gt,Qp:()=>qe,Sf:()=>Ie});var e=o(49671),n=o(33651),t=o(68484),i=o(65879),l=o(78645),h=o(92438),E=o(74911),u=o(59773),z=o(32181),M=o(48180),p=o(27921),v=o(1608),_=o(27754),d=o(96814),m=o(86825),f=o(56879),C=o(4300),T=o(83064),b=o(12131),D=o(8324),y=o(42840),P=o(70855),S=o(41958),A=o(90551),k=o(6192),R=o(36028),W=o(49388),j=o(331);const ze=["nz-modal-close",""];function Y(fe,Xe){if(1&fe&&(i.ynx(0),i._UZ(1,"span",2),i.BQk()),2&fe){const ge=Xe.$implicit;i.xp6(1),i.Q6J("nzType",ge)}}const G=["modalElement"];function V(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onCloseClick())}),i.qZA()}}function K(fe,Xe){if(1&fe&&(i.ynx(0),i._UZ(1,"span",17),i.BQk()),2&fe){const ge=i.oxw();i.xp6(1),i.Q6J("innerHTML",ge.config.nzTitle,i.oJD)}}function ee(fe,Xe){}function te(fe,Xe){if(1&fe&&i._UZ(0,"div",17),2&fe){const ge=i.oxw();i.Q6J("innerHTML",ge.config.nzContent,i.oJD)}}function pe(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",18),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onCancel())}),i._uU(1),i.qZA()}if(2&fe){const ge=i.oxw();i.Q6J("nzLoading",!!ge.config.nzCancelLoading)("disabled",ge.config.nzCancelDisabled),i.uIk("cdkFocusInitial","cancel"===ge.config.nzAutofocus||null),i.xp6(1),i.hij(" ",ge.config.nzCancelText||ge.locale.cancelText," ")}}function re(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",19),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onOk())}),i._uU(1),i.qZA()}if(2&fe){const ge=i.oxw();i.Q6J("nzType",ge.config.nzOkType)("nzLoading",!!ge.config.nzOkLoading)("disabled",ge.config.nzOkDisabled)("nzDanger",ge.config.nzOkDanger),i.uIk("cdkFocusInitial","ok"===ge.config.nzAutofocus||null),i.xp6(1),i.hij(" ",ge.config.nzOkText||ge.locale.okText," ")}}const De=["nz-modal-footer",""];function ae(fe,Xe){if(1&fe&&i._UZ(0,"div",5),2&fe){const ge=i.oxw(3);i.Q6J("innerHTML",ge.config.nzFooter,i.oJD)}}function ce(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){const We=i.CHM(ge).$implicit,wt=i.oxw(4);return i.KtG(wt.onButtonClick(We))}),i._uU(1),i.qZA()}if(2&fe){const ge=Xe.$implicit,je=i.oxw(4);i.Q6J("hidden",!je.getButtonCallableProp(ge,"show"))("nzLoading",je.getButtonCallableProp(ge,"loading"))("disabled",je.getButtonCallableProp(ge,"disabled"))("nzType",ge.type)("nzDanger",ge.danger)("nzShape",ge.shape)("nzSize",ge.size)("nzGhost",ge.ghost),i.xp6(1),i.hij(" ",ge.label," ")}}function X(fe,Xe){if(1&fe&&(i.ynx(0),i.YNc(1,ce,2,9,"button",6),i.BQk()),2&fe){const ge=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",ge.buttons)}}function ne(fe,Xe){if(1&fe&&(i.ynx(0),i.YNc(1,ae,1,1,"div",3),i.YNc(2,X,2,1,"ng-container",4),i.BQk()),2&fe){const ge=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!ge.buttonsFooter),i.xp6(1),i.Q6J("ngIf",ge.buttonsFooter)}}const le=function(fe,Xe){return{$implicit:fe,modalRef:Xe}};function Se(fe,Xe){if(1&fe&&(i.ynx(0),i.YNc(1,ne,3,2,"ng-container",2),i.BQk()),2&fe){const ge=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",ge.config.nzFooter)("nzStringTemplateOutletContext",i.WLB(2,le,ge.config.nzData,ge.modalRef))}}function Ne(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",10),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw(2);return i.KtG(Ye.onCancel())}),i._uU(1),i.qZA()}if(2&fe){const ge=i.oxw(2);i.Q6J("nzLoading",!!ge.config.nzCancelLoading)("disabled",ge.config.nzCancelDisabled),i.uIk("cdkFocusInitial","cancel"===ge.config.nzAutofocus||null),i.xp6(1),i.hij(" ",ge.config.nzCancelText||ge.locale.cancelText," ")}}function ke(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",11),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw(2);return i.KtG(Ye.onOk())}),i._uU(1),i.qZA()}if(2&fe){const ge=i.oxw(2);i.Q6J("nzType",ge.config.nzOkType)("nzDanger",ge.config.nzOkDanger)("nzLoading",!!ge.config.nzOkLoading)("disabled",ge.config.nzOkDisabled),i.uIk("cdkFocusInitial","ok"===ge.config.nzAutofocus||null),i.xp6(1),i.hij(" ",ge.config.nzOkText||ge.locale.okText," ")}}function oe(fe,Xe){if(1&fe&&(i.YNc(0,Ne,2,4,"button",8),i.YNc(1,ke,2,6,"button",9)),2&fe){const ge=i.oxw();i.Q6J("ngIf",null!==ge.config.nzCancelText),i.xp6(1),i.Q6J("ngIf",null!==ge.config.nzOkText)}}const _e=["nz-modal-title",""];function Q(fe,Xe){if(1&fe&&(i.ynx(0),i._UZ(1,"div",2),i.BQk()),2&fe){const ge=i.oxw();i.xp6(1),i.Q6J("innerHTML",ge.config.nzTitle,i.oJD)}}function He(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"button",9),i.NdJ("click",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onCloseClick())}),i.qZA()}}function Re(fe,Xe){1&fe&&i._UZ(0,"div",10)}function lt(fe,Xe){}function Pe(fe,Xe){if(1&fe&&i._UZ(0,"div",11),2&fe){const ge=i.oxw();i.Q6J("innerHTML",ge.config.nzContent,i.oJD)}}function xt(fe,Xe){if(1&fe){const ge=i.EpF();i.TgZ(0,"div",12),i.NdJ("cancelTriggered",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onCloseClick())})("okTriggered",function(){i.CHM(ge);const Ye=i.oxw();return i.KtG(Ye.onOkClick())}),i.qZA()}if(2&fe){const ge=i.oxw();i.Q6J("modalRef",ge.modalRef)}}const $e=()=>{};class ot{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=$e,this.nzOnOk=$e,this.nzIconType="question-circle"}}const de="ant-modal-mask",U="modal",B=new i.OlP("NZ_MODAL_DATA"),Me={modalContainer:(0,m.X$)("modalContainer",[(0,m.SB)("void, exit",(0,m.oB)({})),(0,m.SB)("enter",(0,m.oB)({})),(0,m.eR)("* => enter",(0,m.jt)(".24s",(0,m.oB)({}))),(0,m.eR)("* => void, * => exit",(0,m.jt)(".2s",(0,m.oB)({})))])};function Le(fe,Xe,ge){return typeof fe>"u"?typeof Xe>"u"?ge:Xe:fe}function Ot(){throw Error("Attempting to attach modal content after content is already attached")}let Lt=(()=>{class fe extends t.en{get showMask(){const ge=this.nzConfigService.getConfigForComponent(U)||{};return!!Le(this.config.nzMask,ge.nzMask,!0)}get maskClosable(){const ge=this.nzConfigService.getConfigForComponent(U)||{};return!!Le(this.config.nzMaskClosable,ge.nzMaskClosable,!0)}constructor(ge,je,Ye,We,wt,Ee,be,Qe,Ke,Ze){super(),this.ngZone=ge,this.host=je,this.focusTrapFactory=Ye,this.cdr=We,this.render=wt,this.overlayRef=Ee,this.nzConfigService=be,this.config=Qe,this.animationType=Ze,this.animationStateChanged=new i.vpe,this.containerClick=new i.vpe,this.cancelTriggered=new i.vpe,this.okTriggered=new i.vpe,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new l.x,this.document=Ke,this.dir=Ee.getDirection(),this.isStringContent="string"==typeof Qe.nzContent,this.nzConfigService.getConfigChangeEventForComponent(U).pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}onContainerClick(ge){ge.target===ge.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(ge){return this.portalOutlet.hasAttached()&&Ot(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(ge)}attachTemplatePortal(ge){return this.portalOutlet.hasAttached()&&Ot(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(ge)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const ge=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const je=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),Ye=(0,_.pW)(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(ge,"transform-origin",`${Ye.left+je.width/2-ge.offsetLeft}px ${Ye.top+je.height/2-ge.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>(0,f.e)(()=>this.host.nativeElement.focus())))}trapFocus(){const ge=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const je=this.document.activeElement;je!==ge&&!ge.contains(je)&&ge.focus()}}restoreFocus(){const ge=this.elementFocusedBeforeModalWasOpened;if(ge&&"function"==typeof ge.focus){const je=this.document.activeElement,Ye=this.host.nativeElement;(!je||je===this.document.body||je===Ye||Ye.contains(je))&&ge.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const ge=this.modalElementRef.nativeElement,je=this.overlayRef.backdropElement;ge.classList.add("ant-zoom-enter"),ge.classList.add("ant-zoom-enter-active"),je&&(je.classList.add("ant-fade-enter"),je.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const ge=this.modalElementRef.nativeElement;ge.classList.add("ant-zoom-leave"),ge.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(ge=!1){const je=this.overlayRef.backdropElement;if(je){if(this.animationDisabled()||ge)return void je.classList.remove(de);je.classList.add("ant-fade-leave"),je.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const ge=this.overlayRef.backdropElement,je=this.modalElementRef.nativeElement;ge&&(ge.classList.remove("ant-fade-enter"),ge.classList.remove("ant-fade-enter-active")),je.classList.remove("ant-zoom-enter"),je.classList.remove("ant-zoom-enter-active"),je.classList.remove("ant-zoom-leave"),je.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const ge=this.overlayRef.backdropElement;ge&&(0,_.DX)(this.config.nzZIndex)&&this.render.setStyle(ge,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const ge=this.overlayRef.backdropElement;if(ge&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(Ye=>{this.render.removeStyle(ge,Ye)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const je={...this.config.nzMaskStyle};Object.keys(je).forEach(Ye=>{this.render.setStyle(ge,Ye,je[Ye])}),this.oldMaskStyle=je}}updateMaskClassname(){const ge=this.overlayRef.backdropElement;ge&&(this.showMask?ge.classList.add(de):ge.classList.remove(de))}onAnimationDone(ge){"enter"===ge.toState?this.trapFocus():"exit"===ge.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(ge)}onAnimationStart(ge){"enter"===ge.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===ge.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(ge)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(!0),this.destroy$.complete()}setupMouseListeners(ge){this.ngZone.runOutsideAngular(()=>{(0,h.R)(this.host.nativeElement,"mouseup").pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),(0,h.R)(ge.nativeElement,"mousedown").pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}static#e=this.\u0275fac=function(je){i.$Z()};static#t=this.\u0275dir=i.lG2({type:fe,features:[i.qOj]})}return fe})(),Wt=(()=>{class fe{constructor(ge){this.config=ge}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(ot))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:ze,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(je,Ye){1&je&&(i.TgZ(0,"span",0),i.YNc(1,Y,2,1,"ng-container",1),i.qZA()),2&je&&(i.xp6(1),i.Q6J("nzStringTemplateOutlet",Ye.config.nzCloseIcon))},dependencies:[D.f,P.w,A.Ls],encapsulation:2,changeDetection:0})}return fe})(),qt=(()=>{class fe extends Lt{constructor(ge,je,Ye,We,wt,Ee,be,Qe,Ke,Ze,ve){super(ge,Ye,We,wt,Ee,be,Qe,Ke,Ze,ve),this.i18n=je,this.config=Ke,this.cancelTriggered=new i.vpe,this.okTriggered=new i.vpe,this.i18n.localeChange.pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(i.R0b),i.Y36(b.wi),i.Y36(i.SBq),i.Y36(C.qV),i.Y36(i.sBO),i.Y36(i.Qsj),i.Y36(n.Iu),i.Y36(T.jY),i.Y36(ot),i.Y36(d.K0,8),i.Y36(i.QbO,8))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["nz-modal-confirm-container"]],viewQuery:function(je,Ye){if(1&je&&(i.Gf(t.Pl,7),i.Gf(G,7)),2&je){let We;i.iGM(We=i.CRH())&&(Ye.portalOutlet=We.first),i.iGM(We=i.CRH())&&(Ye.modalElementRef=We.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(je,Ye){1&je&&(i.WFA("@modalContainer.start",function(wt){return Ye.onAnimationStart(wt)})("@modalContainer.done",function(wt){return Ye.onAnimationDone(wt)}),i.NdJ("click",function(wt){return Ye.onContainerClick(wt)})),2&je&&(i.d8E("@.disabled",Ye.config.nzNoAnimation)("@modalContainer",Ye.state),i.Tol(Ye.config.nzWrapClassName?"ant-modal-wrap "+Ye.config.nzWrapClassName:"ant-modal-wrap"),i.Udp("z-index",Ye.config.nzZIndex),i.ekj("ant-modal-wrap-rtl","rtl"===Ye.dir)("ant-modal-centered",Ye.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[i.qOj],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(je,Ye){1&je&&(i.TgZ(0,"div",0,1),i.ALo(2,"nzToCssUnit"),i.TgZ(3,"div",2),i.YNc(4,V,1,0,"button",3),i.TgZ(5,"div",4)(6,"div",5)(7,"div",6),i._UZ(8,"span",7),i.TgZ(9,"span",8),i.YNc(10,K,2,1,"ng-container",9),i.qZA(),i.TgZ(11,"div",10),i.YNc(12,ee,0,0,"ng-template",11),i.YNc(13,te,1,1,"div",12),i.qZA()(),i.TgZ(14,"div",13),i.YNc(15,pe,2,4,"button",14),i.YNc(16,re,2,6,"button",15),i.qZA()()()()()),2&je&&(i.Udp("width",i.lcZ(2,11,null==Ye.config?null:Ye.config.nzWidth)),i.Q6J("ngClass",Ye.config.nzClassName)("ngStyle",Ye.config.nzStyle),i.xp6(4),i.Q6J("ngIf",Ye.config.nzClosable),i.xp6(1),i.Q6J("ngStyle",Ye.config.nzBodyStyle),i.xp6(3),i.Q6J("nzType",Ye.config.nzIconType),i.xp6(2),i.Q6J("nzStringTemplateOutlet",Ye.config.nzTitle),i.xp6(3),i.Q6J("ngIf",Ye.isStringContent),i.xp6(2),i.Q6J("ngIf",null!==Ye.config.nzCancelText),i.xp6(1),i.Q6J("ngIf",null!==Ye.config.nzOkText))},dependencies:[d.mk,d.O5,d.PC,D.f,t.Pl,y.ix,P.w,S.dQ,A.Ls,Wt,k.ku],encapsulation:2,data:{animation:[Me.modalContainer]}})}return fe})(),en=(()=>{class fe{constructor(ge,je){this.i18n=ge,this.config=je,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new i.vpe,this.okTriggered=new i.vpe,this.destroy$=new l.x,Array.isArray(je.nzFooter)&&(this.buttonsFooter=!0,this.buttons=je.nzFooter.map(Vt)),this.i18n.localeChange.pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(ge,je){const Ye=ge[je],We=this.modalRef.getContentComponent();return"function"==typeof Ye?Ye.apply(ge,We&&[We]):Ye}onButtonClick(ge){if(!this.getButtonCallableProp(ge,"loading")){const Ye=this.getButtonCallableProp(ge,"onClick");ge.autoLoading&&(0,_.tI)(Ye)&&(ge.loading=!0,Ye.then(()=>ge.loading=!1).catch(We=>{throw ge.loading=!1,We}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(b.wi),i.Y36(ot))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:De,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(je,Ye){if(1&je&&(i.YNc(0,Se,2,5,"ng-container",0),i.YNc(1,oe,2,2,"ng-template",null,1,i.W1O)),2&je){const We=i.MAs(2);i.Q6J("ngIf",Ye.config.nzFooter)("ngIfElse",We)}},dependencies:[d.sg,d.O5,D.f,y.ix,P.w,S.dQ],encapsulation:2})}return fe})();function Vt(fe){return{type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1,...fe}}let cn=(()=>{class fe{constructor(ge){this.config=ge}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(ot))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:_e,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(je,Ye){1&je&&(i.TgZ(0,"div",0),i.YNc(1,Q,2,1,"ng-container",1),i.qZA()),2&je&&(i.xp6(1),i.Q6J("nzStringTemplateOutlet",Ye.config.nzTitle))},dependencies:[D.f],encapsulation:2,changeDetection:0})}return fe})(),ft=(()=>{class fe extends Lt{constructor(ge,je,Ye,We,wt,Ee,be,Qe,Ke,Ze){super(ge,je,Ye,We,wt,Ee,be,Qe,Ke,Ze),this.config=Qe}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}static#e=this.\u0275fac=function(je){return new(je||fe)(i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(C.qV),i.Y36(i.sBO),i.Y36(i.Qsj),i.Y36(n.Iu),i.Y36(T.jY),i.Y36(ot),i.Y36(d.K0,8),i.Y36(i.QbO,8))};static#t=this.\u0275cmp=i.Xpm({type:fe,selectors:[["nz-modal-container"]],viewQuery:function(je,Ye){if(1&je&&(i.Gf(t.Pl,7),i.Gf(G,7)),2&je){let We;i.iGM(We=i.CRH())&&(Ye.portalOutlet=We.first),i.iGM(We=i.CRH())&&(Ye.modalElementRef=We.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(je,Ye){1&je&&(i.WFA("@modalContainer.start",function(wt){return Ye.onAnimationStart(wt)})("@modalContainer.done",function(wt){return Ye.onAnimationDone(wt)}),i.NdJ("click",function(wt){return Ye.onContainerClick(wt)})),2&je&&(i.d8E("@.disabled",Ye.config.nzNoAnimation)("@modalContainer",Ye.state),i.Tol(Ye.config.nzWrapClassName?"ant-modal-wrap "+Ye.config.nzWrapClassName:"ant-modal-wrap"),i.Udp("z-index",Ye.config.nzZIndex),i.ekj("ant-modal-wrap-rtl","rtl"===Ye.dir)("ant-modal-centered",Ye.config.nzCentered))},exportAs:["nzModalContainer"],features:[i.qOj],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(je,Ye){1&je&&(i.TgZ(0,"div",0,1),i.ALo(2,"nzToCssUnit"),i.TgZ(3,"div",2),i.YNc(4,He,1,0,"button",3),i.YNc(5,Re,1,0,"div",4),i.TgZ(6,"div",5),i.YNc(7,lt,0,0,"ng-template",6),i.YNc(8,Pe,1,1,"div",7),i.qZA(),i.YNc(9,xt,1,1,"div",8),i.qZA()()),2&je&&(i.Udp("width",i.lcZ(2,9,null==Ye.config?null:Ye.config.nzWidth)),i.Q6J("ngClass",Ye.config.nzClassName)("ngStyle",Ye.config.nzStyle),i.xp6(4),i.Q6J("ngIf",Ye.config.nzClosable),i.xp6(1),i.Q6J("ngIf",Ye.config.nzTitle),i.xp6(1),i.Q6J("ngStyle",Ye.config.nzBodyStyle),i.xp6(2),i.Q6J("ngIf",Ye.isStringContent),i.xp6(1),i.Q6J("ngIf",null!==Ye.config.nzFooter))},dependencies:[d.mk,d.O5,d.PC,t.Pl,Wt,en,cn,k.ku],encapsulation:2,data:{animation:[Me.modalContainer]}})}return fe})();class gt{constructor(Xe,ge,je){this.overlayRef=Xe,this.config=ge,this.containerInstance=je,this.componentInstance=null,this.state=0,this.afterClose=new l.x,this.afterOpen=new l.x,this.destroy$=new l.x,je.animationStateChanged.pipe((0,z.h)(Ye=>"done"===Ye.phaseName&&"enter"===Ye.toState),(0,M.q)(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),ge.nzAfterOpen instanceof i.vpe&&ge.nzAfterOpen.emit()}),je.animationStateChanged.pipe((0,z.h)(Ye=>"done"===Ye.phaseName&&"exit"===Ye.toState),(0,M.q)(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),je.containerClick.pipe((0,M.q)(1),(0,u.R)(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),Xe.keydownEvents().pipe((0,z.h)(Ye=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&Ye.keyCode===R.hY&&!(0,R.Vb)(Ye))).subscribe(Ye=>{Ye.preventDefault(),this.trigger("cancel")}),je.cancelTriggered.pipe((0,u.R)(this.destroy$)).subscribe(()=>this.trigger("cancel")),je.okTriggered.pipe((0,u.R)(this.destroy$)).subscribe(()=>this.trigger("ok")),Xe.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),ge.nzAfterClose instanceof i.vpe&&ge.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(Xe){this.close(Xe)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(Xe){0===this.state&&(this.result=Xe,this.containerInstance.animationStateChanged.pipe((0,z.h)(ge=>"start"===ge.phaseName),(0,M.q)(1)).subscribe(ge=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},ge.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(Xe){Object.assign(this.config,Xe),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(Xe){var ge=this;return(0,e.Z)(function*(){if(1===ge.state)return;const je={ok:ge.config.nzOnOk,cancel:ge.config.nzOnCancel}[Xe],Ye={ok:"nzOkLoading",cancel:"nzCancelLoading"}[Xe];if(!ge.config[Ye])if(je instanceof i.vpe)je.emit(ge.getContentComponent());else if("function"==typeof je){const wt=je(ge.getContentComponent());if((0,_.tI)(wt)){ge.config[Ye]=!0;let Ee=!1;try{Ee=yield wt}finally{ge.config[Ye]=!1,ge.closeWhitResult(Ee)}}else ge.closeWhitResult(wt)}})()}closeWhitResult(Xe){!1!==Xe&&this.close(Xe)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}}let Ie=(()=>{class fe{get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const ge=this.parentModal;return ge?ge._afterAllClosed:this.afterAllClosedAtThisLevel}constructor(ge,je,Ye,We,wt){this.overlay=ge,this.injector=je,this.nzConfigService=Ye,this.parentModal=We,this.directionality=wt,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new l.x,this.afterAllClose=(0,E.P)(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe((0,p.O)(void 0)))}create(ge){return this.open(ge.nzContent,ge)}closeAll(){this.closeModals(this.openModals)}confirm(ge={},je="confirm"){return"nzFooter"in ge&&(0,v.ZK)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in ge||(ge.nzWidth=416),"nzMaskClosable"in ge||(ge.nzMaskClosable=!1),ge.nzModalType="confirm",ge.nzClassName=`ant-modal-confirm ant-modal-confirm-${je} ${ge.nzClassName||""}`,this.create(ge)}info(ge={}){return this.confirmFactory(ge,"info")}success(ge={}){return this.confirmFactory(ge,"success")}error(ge={}){return this.confirmFactory(ge,"error")}warning(ge={}){return this.confirmFactory(ge,"warning")}open(ge,je){const Ye=function Ae(fe,Xe){return{...Xe,...fe}}(je||{},new ot),We=this.createOverlay(Ye),wt=this.attachModalContainer(We,Ye),Ee=this.attachModalContent(ge,wt,We,Ye);return wt.modalRef=Ee,this.openModals.push(Ee),Ee.afterClose.subscribe(()=>this.removeOpenModal(Ee)),Ee}removeOpenModal(ge){const je=this.openModals.indexOf(ge);je>-1&&(this.openModals.splice(je,1),this.openModals.length||this._afterAllClosed.next())}closeModals(ge){let je=ge.length;for(;je--;)ge[je].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(ge){const je=this.nzConfigService.getConfigForComponent(U)||{},Ye=new n.X_({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:Le(ge.nzCloseOnNavigation,je.nzCloseOnNavigation,!0),direction:Le(ge.nzDirection,je.nzDirection,this.directionality.value)});return Le(ge.nzMask,je.nzMask,!0)&&(Ye.backdropClass=de),this.overlay.create(Ye)}attachModalContainer(ge,je){const We=i.zs3.create({parent:je&&je.nzViewContainerRef&&je.nzViewContainerRef.injector||this.injector,providers:[{provide:n.Iu,useValue:ge},{provide:ot,useValue:je}]}),Ee=new t.C5("confirm"===je.nzModalType?qt:ft,je.nzViewContainerRef,We);return ge.attach(Ee).instance}attachModalContent(ge,je,Ye,We){const wt=new gt(Ye,We,je);if(ge instanceof i.Rgc)je.attachTemplatePortal(new t.UE(ge,null,{$implicit:We.nzData,modalRef:wt}));else if((0,_.DX)(ge)&&"string"!=typeof ge){const Ee=this.createInjector(wt,We),be=je.attachComponentPortal(new t.C5(ge,We.nzViewContainerRef,Ee));wt.componentInstance=be.instance}else je.attachStringContent();return wt}createInjector(ge,je){return i.zs3.create({parent:je&&je.nzViewContainerRef&&je.nzViewContainerRef.injector||this.injector,providers:[{provide:gt,useValue:ge},{provide:B,useValue:je.nzData}]})}confirmFactory(ge={},je){return"nzIconType"in ge||(ge.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[je]),"nzCancelText"in ge||(ge.nzCancelText=null),this.confirm(ge,je)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}static#e=this.\u0275fac=function(je){return new(je||fe)(i.LFG(n.aV),i.LFG(i.zs3),i.LFG(T.jY),i.LFG(fe,12),i.LFG(W.Is,8))};static#t=this.\u0275prov=i.Yz7({token:fe,factory:fe.\u0275fac})}return fe})(),qe=(()=>{class fe{static#e=this.\u0275fac=function(je){return new(je||fe)};static#t=this.\u0275mod=i.oAB({type:fe});static#n=this.\u0275inj=i.cJS({providers:[Ie],imports:[d.ez,W.vT,n.U8,D.T,t.eL,b.YI,y.sL,A.PV,k.YS,j.g,k.YS]})}return fe})()},2274:(tt,I,o)=>{"use strict";o.d(I,{dE:()=>xt,uK:()=>$e});var e=o(97582),n=o(65879),t=o(78645),i=o(97328),l=o(59773),h=o(83064),E=o(99087),u=o(27754),z=o(12131),M=o(49388),p=o(96814),v=o(90551),_=o(60095),d=o(9691);const m=["nz-pagination-item",""];function f(ot,mt){if(1&ot&&(n.TgZ(0,"a"),n._uU(1),n.qZA()),2&ot){const we=n.oxw().page;n.xp6(1),n.Oqu(we)}}function C(ot,mt){1&ot&&n._UZ(0,"span",9)}function T(ot,mt){1&ot&&n._UZ(0,"span",10)}function b(ot,mt){if(1&ot&&(n.TgZ(0,"button",6),n.ynx(1,2),n.YNc(2,C,1,0,"span",7),n.YNc(3,T,1,0,"span",8),n.BQk(),n.qZA()),2&ot){const we=n.oxw(2);n.Q6J("disabled",we.disabled),n.xp6(1),n.Q6J("ngSwitch",we.direction),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function D(ot,mt){1&ot&&n._UZ(0,"span",10)}function y(ot,mt){1&ot&&n._UZ(0,"span",9)}function P(ot,mt){if(1&ot&&(n.TgZ(0,"button",6),n.ynx(1,2),n.YNc(2,D,1,0,"span",11),n.YNc(3,y,1,0,"span",12),n.BQk(),n.qZA()),2&ot){const we=n.oxw(2);n.Q6J("disabled",we.disabled),n.xp6(1),n.Q6J("ngSwitch",we.direction),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function S(ot,mt){1&ot&&n._UZ(0,"span",20)}function A(ot,mt){1&ot&&n._UZ(0,"span",21)}function k(ot,mt){if(1&ot&&(n.ynx(0,2),n.YNc(1,S,1,0,"span",18),n.YNc(2,A,1,0,"span",19),n.BQk()),2&ot){const we=n.oxw(4);n.Q6J("ngSwitch",we.direction),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function R(ot,mt){1&ot&&n._UZ(0,"span",21)}function W(ot,mt){1&ot&&n._UZ(0,"span",20)}function j(ot,mt){if(1&ot&&(n.ynx(0,2),n.YNc(1,R,1,0,"span",22),n.YNc(2,W,1,0,"span",23),n.BQk()),2&ot){const we=n.oxw(4);n.Q6J("ngSwitch",we.direction),n.xp6(1),n.Q6J("ngSwitchCase","rtl")}}function ze(ot,mt){if(1&ot&&(n.TgZ(0,"div",15),n.ynx(1,2),n.YNc(2,k,3,2,"ng-container",16),n.YNc(3,j,3,2,"ng-container",16),n.BQk(),n.TgZ(4,"span",17),n._uU(5,"\u2022\u2022\u2022"),n.qZA()()),2&ot){const we=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngSwitch",we),n.xp6(1),n.Q6J("ngSwitchCase","prev_5"),n.xp6(1),n.Q6J("ngSwitchCase","next_5")}}function Y(ot,mt){if(1&ot&&(n.ynx(0),n.TgZ(1,"a",13),n.YNc(2,ze,6,3,"div",14),n.qZA(),n.BQk()),2&ot){const we=n.oxw().$implicit;n.xp6(1),n.Q6J("ngSwitch",we)}}function G(ot,mt){1&ot&&(n.ynx(0,2),n.YNc(1,f,2,1,"a",3),n.YNc(2,b,4,3,"button",4),n.YNc(3,P,4,3,"button",4),n.YNc(4,Y,3,1,"ng-container",5),n.BQk()),2&ot&&(n.Q6J("ngSwitch",mt.$implicit),n.xp6(1),n.Q6J("ngSwitchCase","page"),n.xp6(1),n.Q6J("ngSwitchCase","prev"),n.xp6(1),n.Q6J("ngSwitchCase","next"))}function V(ot,mt){}const K=function(ot,mt){return{$implicit:ot,page:mt}},ee=["containerTemplate"];function te(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"ul")(1,"li",1),n.NdJ("click",function(){n.CHM(we);const U=n.oxw();return n.KtG(U.prePage())}),n.qZA(),n.TgZ(2,"li",2)(3,"input",3),n.NdJ("keydown.enter",function(U){n.CHM(we);const B=n.oxw();return n.KtG(B.jumpToPageViaInput(U))}),n.qZA(),n.TgZ(4,"span",4),n._uU(5,"/"),n.qZA(),n._uU(6),n.qZA(),n.TgZ(7,"li",5),n.NdJ("click",function(){n.CHM(we);const U=n.oxw();return n.KtG(U.nextPage())}),n.qZA()()}if(2&ot){const we=n.oxw();n.xp6(1),n.Q6J("disabled",we.isFirstIndex)("direction",we.dir)("itemRender",we.itemRender),n.uIk("title",we.locale.prev_page),n.xp6(1),n.uIk("title",we.pageIndex+"/"+we.lastIndex),n.xp6(1),n.Q6J("disabled",we.disabled)("value",we.pageIndex),n.xp6(3),n.hij(" ",we.lastIndex," "),n.xp6(1),n.Q6J("disabled",we.isLastIndex)("direction",we.dir)("itemRender",we.itemRender),n.uIk("title",null==we.locale?null:we.locale.next_page)}}const pe=["nz-pagination-options",""];function re(ot,mt){if(1&ot&&n._UZ(0,"nz-option",4),2&ot){const we=mt.$implicit;n.Q6J("nzLabel",we.label)("nzValue",we.value)}}function De(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"nz-select",2),n.NdJ("ngModelChange",function(U){n.CHM(we);const B=n.oxw();return n.KtG(B.onPageSizeChange(U))}),n.YNc(1,re,1,2,"nz-option",3),n.qZA()}if(2&ot){const we=n.oxw();n.Q6J("nzDisabled",we.disabled)("nzSize",we.nzSize)("ngModel",we.pageSize),n.xp6(1),n.Q6J("ngForOf",we.listOfPageSizeOption)("ngForTrackBy",we.trackByOption)}}function ae(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"div",5),n._uU(1),n.TgZ(2,"input",6),n.NdJ("keydown.enter",function(U){n.CHM(we);const B=n.oxw();return n.KtG(B.jumpToPageViaInput(U))}),n.qZA(),n._uU(3),n.qZA()}if(2&ot){const we=n.oxw();n.xp6(1),n.hij(" ",we.locale.jump_to," "),n.xp6(1),n.Q6J("disabled",we.disabled),n.xp6(1),n.hij(" ",we.locale.page," ")}}function ce(ot,mt){}const X=function(ot,mt){return{$implicit:ot,range:mt}};function ne(ot,mt){if(1&ot&&(n.TgZ(0,"li",4),n.YNc(1,ce,0,0,"ng-template",5),n.qZA()),2&ot){const we=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",we.showTotal)("ngTemplateOutletContext",n.WLB(2,X,we.total,we.ranges))}}function le(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"li",6),n.NdJ("gotoIndex",function(U){n.CHM(we);const B=n.oxw(2);return n.KtG(B.jumpPage(U))})("diffIndex",function(U){n.CHM(we);const B=n.oxw(2);return n.KtG(B.jumpDiff(U))}),n.qZA()}if(2&ot){const we=mt.$implicit,de=n.oxw(2);n.Q6J("locale",de.locale)("type",we.type)("index",we.index)("disabled",!!we.disabled)("itemRender",de.itemRender)("active",de.pageIndex===we.index)("direction",de.dir)}}function Se(ot,mt){if(1&ot){const we=n.EpF();n.TgZ(0,"li",7),n.NdJ("pageIndexChange",function(U){n.CHM(we);const B=n.oxw(2);return n.KtG(B.onPageIndexChange(U))})("pageSizeChange",function(U){n.CHM(we);const B=n.oxw(2);return n.KtG(B.onPageSizeChange(U))}),n.qZA()}if(2&ot){const we=n.oxw(2);n.Q6J("total",we.total)("locale",we.locale)("disabled",we.disabled)("nzSize",we.nzSize)("showSizeChanger",we.showSizeChanger)("showQuickJumper",we.showQuickJumper)("pageIndex",we.pageIndex)("pageSize",we.pageSize)("pageSizeOptions",we.pageSizeOptions)}}function Ne(ot,mt){if(1&ot&&(n.TgZ(0,"ul"),n.YNc(1,ne,2,5,"li",1),n.YNc(2,le,1,7,"li",2),n.YNc(3,Se,1,9,"li",3),n.qZA()),2&ot){const we=n.oxw();n.xp6(1),n.Q6J("ngIf",we.showTotal),n.xp6(1),n.Q6J("ngForOf",we.listOfPageItem)("ngForTrackBy",we.trackByPageItem),n.xp6(1),n.Q6J("ngIf",we.showQuickJumper||we.showSizeChanger)}}function ke(ot,mt){}function oe(ot,mt){if(1&ot&&(n.ynx(0),n.YNc(1,ke,0,0,"ng-template",6),n.BQk()),2&ot){n.oxw(2);const we=n.MAs(2);n.xp6(1),n.Q6J("ngTemplateOutlet",we.template)}}function _e(ot,mt){if(1&ot&&(n.ynx(0),n.YNc(1,oe,2,1,"ng-container",5),n.BQk()),2&ot){const we=n.oxw(),de=n.MAs(4);n.xp6(1),n.Q6J("ngIf",we.nzSimple)("ngIfElse",de.template)}}let Q=(()=>{class ot{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new n.vpe,this.gotoIndex=new n.vpe,this.title=null}clickItem(){this.disabled||("page"===this.type?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(we){const{locale:de,index:U,type:B}=we;(de||U||B)&&(this.title={page:`${this.index}`,next:this.locale?.next_page,prev:this.locale?.prev_page,prev_5:this.locale?.prev_5,next_5:this.locale?.next_5}[this.type])}static#e=this.\u0275fac=function(de){return new(de||ot)};static#t=this.\u0275cmp=n.Xpm({type:ot,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(de,U){1&de&&n.NdJ("click",function(){return U.clickItem()}),2&de&&(n.uIk("title",U.title),n.ekj("ant-pagination-prev","prev"===U.type)("ant-pagination-next","next"===U.type)("ant-pagination-item","page"===U.type)("ant-pagination-jump-prev","prev_5"===U.type)("ant-pagination-jump-prev-custom-icon","prev_5"===U.type)("ant-pagination-jump-next","next_5"===U.type)("ant-pagination-jump-next-custom-icon","next_5"===U.type)("ant-pagination-disabled",U.disabled)("ant-pagination-item-active",U.active))},inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[n.TTD],attrs:m,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["type","button","class","ant-pagination-item-link",3,"disabled",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["type","button",1,"ant-pagination-item-link",3,"disabled"],["nz-icon","","nzType","right",4,"ngSwitchCase"],["nz-icon","","nzType","left",4,"ngSwitchDefault"],["nz-icon","","nzType","right"],["nz-icon","","nzType","left"],["nz-icon","","nzType","left",4,"ngSwitchCase"],["nz-icon","","nzType","right",4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"ngSwitch"],["class","ant-pagination-item-container",4,"ngSwitchDefault"],[1,"ant-pagination-item-container"],[3,"ngSwitch",4,"ngSwitchCase"],[1,"ant-pagination-item-ellipsis"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","double-right",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"]],template:function(de,U){if(1&de&&(n.YNc(0,G,5,4,"ng-template",null,0,n.W1O),n.YNc(2,V,0,0,"ng-template",1)),2&de){const B=n.MAs(1);n.xp6(2),n.Q6J("ngTemplateOutlet",U.itemRender||B)("ngTemplateOutletContext",n.WLB(2,K,U.type,U.index))}},dependencies:[p.tP,p.RF,p.n9,p.ED,v.Ls],encapsulation:2,changeDetection:0})}return ot})(),He=(()=>{class ot{constructor(we,de,U,B){this.cdr=we,this.renderer=de,this.elementRef=U,this.directionality=B,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new n.vpe,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new t.x,de.removeChild(de.parentNode(U.nativeElement),U.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.dir=we,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput(we){const de=we.target,U=(0,u.He)(de.value,this.pageIndex);this.onPageIndexChange(U),de.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(we){this.pageIndexChange.next(we)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=1===this.pageIndex,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(we){const{pageIndex:de,total:U,pageSize:B}=we;(de||U||B)&&this.updateBindingValue()}static#e=this.\u0275fac=function(de){return new(de||ot)(n.Y36(n.sBO),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(M.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:ot,selectors:[["nz-pagination-simple"]],viewQuery:function(de,U){if(1&de&&n.Gf(ee,7),2&de){let B;n.iGM(B=n.CRH())&&(U.template=B.first)}},inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},features:[n.TTD],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"disabled","direction","itemRender","click"],[1,"ant-pagination-simple-pager"],["size","3",3,"disabled","value","keydown.enter"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"disabled","direction","itemRender","click"]],template:function(de,U){1&de&&n.YNc(0,te,8,12,"ng-template",null,0,n.W1O)},dependencies:[Q],encapsulation:2,changeDetection:0})}return ot})(),Re=(()=>{class ot{constructor(){this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new n.vpe,this.pageSizeChange=new n.vpe,this.listOfPageSizeOption=[]}onPageSizeChange(we){this.pageSize!==we&&this.pageSizeChange.next(we)}jumpToPageViaInput(we){const de=we.target,U=Math.floor((0,u.He)(de.value,this.pageIndex));this.pageIndexChange.next(U),de.value=""}trackByOption(we,de){return de.value}ngOnChanges(we){const{pageSize:de,pageSizeOptions:U,locale:B}=we;(de||U||B)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(Me=>({value:Me,label:`${Me} ${this.locale.items_per_page}`})))}static#e=this.\u0275fac=function(de){return new(de||ot)};static#t=this.\u0275cmp=n.Xpm({type:ot,selectors:[["li","nz-pagination-options",""]],hostAttrs:[1,"ant-pagination-options"],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[n.TTD],attrs:pe,decls:2,vars:2,consts:[["class","ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange",4,"ngIf"],["class","ant-pagination-options-quick-jumper",4,"ngIf"],[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"ant-pagination-options-quick-jumper"],[3,"disabled","keydown.enter"]],template:function(de,U){1&de&&(n.YNc(0,De,2,5,"nz-select",0),n.YNc(1,ae,4,3,"div",1)),2&de&&(n.Q6J("ngIf",U.showSizeChanger),n.xp6(1),n.Q6J("ngIf",U.showQuickJumper))},dependencies:[p.sg,p.O5,_.JJ,_.On,d.Ip,d.Vq],encapsulation:2,changeDetection:0})}return ot})(),lt=(()=>{class ot{constructor(we,de,U,B){this.cdr=we,this.renderer=de,this.elementRef=U,this.directionality=B,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new n.vpe,this.pageSizeChange=new n.vpe,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new t.x,de.removeChild(de.parentNode(U.nativeElement),U.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.dir=we,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage(we){this.onPageIndexChange(we)}jumpDiff(we){this.jumpPage(this.pageIndex+we)}trackByPageItem(we,de){return`${de.type}-${de.index}`}onPageIndexChange(we){this.pageIndexChange.next(we)}onPageSizeChange(we){this.pageSizeChange.next(we)}getLastIndex(we,de){return Math.ceil(we/de)}buildIndexes(){const we=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,we)}getListOfPageItem(we,de){const B=(Me,Ae)=>{const Le=[];for(let ht=Me;ht<=Ae;ht++)Le.push({index:ht,type:"page"});return Le};return Me=de<=9?B(1,de):((Ae,Le)=>{let ht=[];const Ot={type:"prev_5"},Lt={type:"next_5"},Wt=B(1,1),qt=B(de,de);return ht=Ae<5?[...B(2,4===Ae?6:5),Lt]:Ae{class ot{validatePageIndex(we,de){return we>de?de:we<1?1:we}onPageIndexChange(we){const de=this.getLastIndex(this.nzTotal,this.nzPageSize),U=this.validatePageIndex(we,de);U!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=U,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(we){this.nzPageSize=we,this.nzPageSizeChange.emit(we);const de=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>de&&this.onPageIndexChange(de)}onTotalChange(we){const de=this.getLastIndex(we,this.nzPageSize);this.nzPageIndex>de&&Promise.resolve().then(()=>{this.onPageIndexChange(de),this.cdr.markForCheck()})}getLastIndex(we,de){return Math.ceil(we/de)}constructor(we,de,U,B,Me){this.i18n=we,this.cdr=de,this.breakpointService=U,this.nzConfigService=B,this.directionality=Me,this._nzModuleName="pagination",this.nzPageSizeChange=new n.vpe,this.nzPageIndexChange=new n.vpe,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new t.x,this.total$=new i.t(1)}ngOnInit(){this.i18n.localeChange.pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.onTotalChange(we)}),this.breakpointService.subscribe(E.WV).pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.nzResponsive&&(this.size=we===E.G_.xs?"small":"default",this.cdr.markForCheck())}),this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(we=>{this.dir=we,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(we){const{nzHideOnSinglePage:de,nzTotal:U,nzPageSize:B,nzSize:Me}=we;U&&this.total$.next(this.nzTotal),(de||U||B)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),Me&&(this.size=Me.currentValue)}static#e=this.\u0275fac=function(de){return new(de||ot)(n.Y36(z.wi),n.Y36(n.sBO),n.Y36(E.r3),n.Y36(h.jY),n.Y36(M.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:ot,selectors:[["nz-pagination"]],hostAttrs:[1,"ant-pagination"],hostVars:8,hostBindings:function(de,U){2&de&&n.ekj("ant-pagination-simple",U.nzSimple)("ant-pagination-disabled",U.nzDisabled)("mini",!U.nzSimple&&"small"===U.size)("ant-pagination-rtl","rtl"===U.dir)},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[n.TTD],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function(de,U){1&de&&(n.YNc(0,_e,2,2,"ng-container",0),n.TgZ(1,"nz-pagination-simple",1,2),n.NdJ("pageIndexChange",function(Me){return U.onPageIndexChange(Me)}),n.qZA(),n.TgZ(3,"nz-pagination-default",3,4),n.NdJ("pageIndexChange",function(Me){return U.onPageIndexChange(Me)})("pageSizeChange",function(Me){return U.onPageSizeChange(Me)}),n.qZA()),2&de&&(n.Q6J("ngIf",U.showPagination),n.xp6(1),n.Q6J("disabled",U.nzDisabled)("itemRender",U.nzItemRender)("locale",U.locale)("pageSize",U.nzPageSize)("total",U.nzTotal)("pageIndex",U.nzPageIndex),n.xp6(2),n.Q6J("nzSize",U.size)("itemRender",U.nzItemRender)("showTotal",U.nzShowTotal)("disabled",U.nzDisabled)("locale",U.locale)("showSizeChanger",U.nzShowSizeChanger)("showQuickJumper",U.nzShowQuickJumper)("total",U.nzTotal)("pageIndex",U.nzPageIndex)("pageSize",U.nzPageSize)("pageSizeOptions",U.nzPageSizeOptions))},dependencies:[p.O5,p.tP,He,lt],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,h.oS)()],ot.prototype,"nzSize",void 0),(0,e.gn)([(0,h.oS)()],ot.prototype,"nzPageSizeOptions",void 0),(0,e.gn)([(0,h.oS)(),(0,u.yF)()],ot.prototype,"nzShowSizeChanger",void 0),(0,e.gn)([(0,h.oS)(),(0,u.yF)()],ot.prototype,"nzShowQuickJumper",void 0),(0,e.gn)([(0,h.oS)(),(0,u.yF)()],ot.prototype,"nzSimple",void 0),(0,e.gn)([(0,u.yF)()],ot.prototype,"nzDisabled",void 0),(0,e.gn)([(0,u.yF)()],ot.prototype,"nzResponsive",void 0),(0,e.gn)([(0,u.yF)()],ot.prototype,"nzHideOnSinglePage",void 0),(0,e.gn)([(0,u.Rn)()],ot.prototype,"nzTotal",void 0),(0,e.gn)([(0,u.Rn)()],ot.prototype,"nzPageIndex",void 0),(0,e.gn)([(0,u.Rn)()],ot.prototype,"nzPageSize",void 0),ot})(),$e=(()=>{class ot{static#e=this.\u0275fac=function(de){return new(de||ot)};static#t=this.\u0275mod=n.oAB({type:ot});static#n=this.\u0275inj=n.cJS({imports:[M.vT,p.ez,_.u5,d.LV,z.YI,v.PV]})}return ot})()},6192:(tt,I,o)=>{"use strict";o.d(I,{YS:()=>_,ku:()=>E});var e=o(96814),n=o(65879),t=o(27754);o(6593);class h{static#e=this.formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}};transform(m,f=0,C="B",T){if(!((0,t.ui)(m)&&(0,t.ui)(f)&&f%1==0&&f>=0))return m;let b=m,D=C;for(;"B"!==D;)b*=1024,D=h.formats[D].prev;if(T){const P=(0,t.YM)(h.calculateResult(h.formats[T],b),f);return h.formatResult(P,T)}for(const y in h.formats)if(h.formats.hasOwnProperty(y)){const P=h.formats[y];if(b{class d{transform(f,C="px"){let P="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(S=>S===C)&&(P=C),"number"==typeof f?`${f}${P}`:`${f}`}static#e=this.\u0275fac=function(C){return new(C||d)};static#t=this.\u0275pipe=n.Yjl({name:"nzToCssUnit",type:d,pure:!0})}return d})(),_=(()=>{class d{static#e=this.\u0275fac=function(C){return new(C||d)};static#t=this.\u0275mod=n.oAB({type:d});static#n=this.\u0275inj=n.cJS({imports:[e.ez]})}return d})()},19035:(tt,I,o)=>{"use strict";o.d(I,{JW:()=>ee,_p:()=>pe});var e=o(97582),n=o(96814),t=o(65879),i=o(78645),l=o(59773),h=o(81374),E=o(64716),u=o(64194),z=o(83064),M=o(27754),p=o(96109),v=o(331),_=o(49388),d=o(42840),m=o(70855),f=o(41958),C=o(33651),T=o(90551),b=o(8324),D=o(85448),y=o(4300),P=o(12131);const S=["okBtn"],A=["cancelBtn"];function k(re,De){1&re&&(t.TgZ(0,"div",15),t._UZ(1,"span",16),t.qZA())}function R(re,De){if(1&re&&(t.ynx(0),t._UZ(1,"span",18),t.BQk()),2&re){const ae=De.$implicit;t.xp6(1),t.Q6J("nzType",ae||"exclamation-circle")}}function W(re,De){if(1&re&&(t.ynx(0),t.YNc(1,R,2,1,"ng-container",8),t.TgZ(2,"div",17),t._uU(3),t.qZA(),t.BQk()),2&re){const ae=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",ae.nzIcon),t.xp6(2),t.Oqu(ae.nzTitle)}}function j(re,De){if(1&re&&(t.ynx(0),t._uU(1),t.BQk()),2&re){const ae=t.oxw(2);t.xp6(1),t.Oqu(ae.nzCancelText)}}function ze(re,De){1&re&&(t.ynx(0),t._uU(1),t.ALo(2,"nzI18n"),t.BQk()),2&re&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"Modal.cancelText")))}function Y(re,De){if(1&re&&(t.ynx(0),t._uU(1),t.BQk()),2&re){const ae=t.oxw(2);t.xp6(1),t.Oqu(ae.nzOkText)}}function G(re,De){1&re&&(t.ynx(0),t._uU(1),t.ALo(2,"nzI18n"),t.BQk()),2&re&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"Modal.okText")))}function V(re,De){if(1&re){const ae=t.EpF();t.TgZ(0,"div",2)(1,"div",3),t.YNc(2,k,2,0,"div",4),t.TgZ(3,"div",5)(4,"div")(5,"div",6)(6,"div",7),t.YNc(7,W,4,2,"ng-container",8),t.qZA(),t.TgZ(8,"div",9)(9,"button",10,11),t.NdJ("click",function(){t.CHM(ae);const X=t.oxw();return t.KtG(X.onCancel())}),t.YNc(11,j,2,1,"ng-container",12),t.YNc(12,ze,3,3,"ng-container",12),t.qZA(),t.TgZ(13,"button",13,14),t.NdJ("click",function(){t.CHM(ae);const X=t.oxw();return t.KtG(X.onConfirm())}),t.YNc(15,Y,2,1,"ng-container",12),t.YNc(16,G,3,3,"ng-container",12),t.qZA()()()()()()()}if(2&re){const ae=t.oxw();t.ekj("ant-popover-rtl","rtl"===ae.dir),t.Q6J("cdkTrapFocusAutoCapture",null!==ae.nzAutoFocus)("ngClass",ae._classMap)("ngStyle",ae.nzOverlayStyle)("@.disabled",!(null==ae.noAnimation||!ae.noAnimation.nzNoAnimation))("nzNoAnimation",null==ae.noAnimation?null:ae.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),t.xp6(2),t.Q6J("ngIf",ae.nzPopconfirmShowArrow),t.xp6(5),t.Q6J("nzStringTemplateOutlet",ae.nzTitle),t.xp6(2),t.Q6J("nzSize","small"),t.uIk("cdkFocusInitial","cancel"===ae.nzAutoFocus||null),t.xp6(2),t.Q6J("ngIf",ae.nzCancelText),t.xp6(1),t.Q6J("ngIf",!ae.nzCancelText),t.xp6(1),t.Q6J("nzSize","small")("nzType","danger"!==ae.nzOkType?ae.nzOkType:"primary")("nzDanger",ae.nzOkDanger||"danger"===ae.nzOkType)("nzLoading",ae.confirmLoading),t.uIk("cdkFocusInitial","ok"===ae.nzAutoFocus||null),t.xp6(2),t.Q6J("ngIf",ae.nzOkText),t.xp6(1),t.Q6J("ngIf",!ae.nzOkText)}}let ee=(()=>{class re extends p.Mg{getProxyPropertyMap(){return{nzOkText:["nzOkText",()=>this.nzOkText],nzOkType:["nzOkType",()=>this.nzOkType],nzOkDanger:["nzOkDanger",()=>this.nzOkDanger],nzCancelText:["nzCancelText",()=>this.nzCancelText],nzBeforeConfirm:["nzBeforeConfirm",()=>this.nzBeforeConfirm],nzCondition:["nzCondition",()=>this.nzCondition],nzIcon:["nzIcon",()=>this.nzIcon],nzPopconfirmShowArrow:["nzPopconfirmShowArrow",()=>this.nzPopconfirmShowArrow],nzPopconfirmBackdrop:["nzBackdrop",()=>this.nzPopconfirmBackdrop],nzAutoFocus:["nzAutoFocus",()=>this.nzAutofocus],...super.getProxyPropertyMap()}}constructor(ae,ce,X,ne,le,Se){super(ae,ce,X,ne,le,Se),this._nzModuleName="popconfirm",this.trigger="click",this.placement="top",this.nzCondition=!1,this.nzPopconfirmShowArrow=!0,this.nzPopconfirmBackdrop=!1,this.nzAutofocus=null,this.visibleChange=new t.vpe,this.nzOnCancel=new t.vpe,this.nzOnConfirm=new t.vpe,this.componentRef=this.hostView.createComponent(te)}createComponent(){super.createComponent(),this.component.nzOnCancel.pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.nzOnCancel.emit()}),this.component.nzOnConfirm.pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.nzOnConfirm.emit()})}static#e=this.\u0275fac=function(ce){return new(ce||re)(t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(t._Vd),t.Y36(t.Qsj),t.Y36(v.P,9),t.Y36(z.jY))};static#t=this.\u0275dir=t.lG2({type:re,selectors:[["","nz-popconfirm",""]],hostVars:2,hostBindings:function(ce,X){2&ce&&t.ekj("ant-popover-open",X.visible)},inputs:{arrowPointAtCenter:["nzPopconfirmArrowPointAtCenter","arrowPointAtCenter"],title:["nzPopconfirmTitle","title"],directiveTitle:["nz-popconfirm","directiveTitle"],trigger:["nzPopconfirmTrigger","trigger"],placement:["nzPopconfirmPlacement","placement"],origin:["nzPopconfirmOrigin","origin"],mouseEnterDelay:["nzPopconfirmMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopconfirmMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopconfirmOverlayClassName","overlayClassName"],overlayStyle:["nzPopconfirmOverlayStyle","overlayStyle"],visible:["nzPopconfirmVisible","visible"],nzOkText:"nzOkText",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzCancelText:"nzCancelText",nzBeforeConfirm:"nzBeforeConfirm",nzIcon:"nzIcon",nzCondition:"nzCondition",nzPopconfirmShowArrow:"nzPopconfirmShowArrow",nzPopconfirmBackdrop:"nzPopconfirmBackdrop",nzAutofocus:"nzAutofocus"},outputs:{visibleChange:"nzPopconfirmVisibleChange",nzOnCancel:"nzOnCancel",nzOnConfirm:"nzOnConfirm"},exportAs:["nzPopconfirm"],features:[t.qOj]})}return(0,e.gn)([(0,M.yF)()],re.prototype,"arrowPointAtCenter",void 0),(0,e.gn)([(0,M.yF)()],re.prototype,"nzOkDanger",void 0),(0,e.gn)([(0,M.yF)()],re.prototype,"nzCondition",void 0),(0,e.gn)([(0,M.yF)()],re.prototype,"nzPopconfirmShowArrow",void 0),(0,e.gn)([(0,z.oS)()],re.prototype,"nzPopconfirmBackdrop",void 0),(0,e.gn)([(0,z.oS)()],re.prototype,"nzAutofocus",void 0),re})(),te=(()=>{class re extends p.XK{constructor(ae,ce,X,ne,le){super(ae,X,le),this.elementRef=ce,this.nzCondition=!1,this.nzPopconfirmShowArrow=!0,this.nzOkType="primary",this.nzOkDanger=!1,this.nzAutoFocus=null,this.nzBeforeConfirm=null,this.nzOnCancel=new i.x,this.nzOnConfirm=new i.x,this._trigger="click",this.elementFocusedBeforeModalWasOpened=null,this._prefix="ant-popover",this.confirmLoading=!1,this.document=ne}ngOnDestroy(){super.ngOnDestroy(),this.nzOnCancel.complete(),this.nzOnConfirm.complete()}show(){this.nzCondition?this.onConfirm():(this.capturePreviouslyFocusedElement(),super.show())}hide(){super.hide(),this.restoreFocus()}handleConfirm(){this.nzOnConfirm.next(),super.hide()}onCancel(){this.nzOnCancel.next(),super.hide()}onConfirm(){if(this.nzBeforeConfirm){const ae=(0,M.lN)(this.nzBeforeConfirm()).pipe((0,h.P)());this.confirmLoading=!0,ae.pipe((0,E.x)(()=>{this.confirmLoading=!1,this.cdr.markForCheck()}),(0,l.R)(this.nzVisibleChange),(0,l.R)(this.destroy$)).subscribe(ce=>{ce&&this.handleConfirm()})}else this.handleConfirm()}capturePreviouslyFocusedElement(){this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement)}restoreFocus(){const ae=this.elementFocusedBeforeModalWasOpened;if(ae&&"function"==typeof ae.focus){const ce=this.document.activeElement,X=this.elementRef.nativeElement;(!ce||ce===this.document.body||ce===X||X.contains(ce))&&ae.focus()}}static#e=this.\u0275fac=function(ce){return new(ce||re)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(_.Is,8),t.Y36(n.K0,8),t.Y36(v.P,9))};static#t=this.\u0275cmp=t.Xpm({type:re,selectors:[["nz-popconfirm"]],viewQuery:function(ce,X){if(1&ce&&(t.Gf(S,5,t.SBq),t.Gf(A,5,t.SBq)),2&ce){let ne;t.iGM(ne=t.CRH())&&(X.okBtn=ne),t.iGM(ne=t.CRH())&&(X.cancelBtn=ne)}},exportAs:["nzPopconfirmComponent"],features:[t.qOj],decls:2,vars:6,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],["cdkTrapFocus","",1,"ant-popover",3,"cdkTrapFocusAutoCapture","ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],["class","ant-popover-arrow",4,"ngIf"],[1,"ant-popover-inner"],[1,"ant-popover-inner-content"],[1,"ant-popover-message"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-buttons"],["nz-button","",3,"nzSize","click"],["cancelBtn",""],[4,"ngIf"],["nz-button","",3,"nzSize","nzType","nzDanger","nzLoading","click"],["okBtn",""],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],[1,"ant-popover-message-title"],["nz-icon","","nzTheme","fill",3,"nzType"]],template:function(ce,X){1&ce&&(t.YNc(0,V,17,21,"ng-template",0,1,t.W1O),t.NdJ("overlayOutsideClick",function(le){return X.onClickOutside(le)})("detach",function(){return X.hide()})("positionChange",function(le){return X.onPositionChange(le)})),2&ce&&t.Q6J("cdkConnectedOverlayHasBackdrop",X.nzBackdrop)("cdkConnectedOverlayOrigin",X.origin)("cdkConnectedOverlayPositions",X._positions)("cdkConnectedOverlayOpen",X._visible)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",X.nzArrowPointAtCenter)},dependencies:[n.mk,n.O5,n.PC,d.ix,m.w,f.dQ,C.pI,T.Ls,b.f,D.hQ,v.P,y.mK,P.o9],encapsulation:2,data:{animation:[u.$C]},changeDetection:0})}return re})(),pe=(()=>{class re{static#e=this.\u0275fac=function(ce){return new(ce||re)};static#t=this.\u0275mod=t.oAB({type:re});static#n=this.\u0275inj=t.cJS({imports:[_.vT,n.ez,d.sL,C.U8,P.YI,T.PV,b.T,D.e4,v.g,p.cg,y.rt]})}return re})()},57417:(tt,I,o)=>{"use strict";o.d(I,{$6:()=>D,lU:()=>T});var e=o(97582),n=o(65879),t=o(64194),i=o(83064),l=o(27754),h=o(96109),E=o(331),u=o(49388),z=o(96814),M=o(33651),p=o(8324),v=o(85448);function _(y,P){if(1&y&&(n.ynx(0),n._uU(1),n.BQk()),2&y){const S=n.oxw(3);n.xp6(1),n.Oqu(S.nzTitle)}}function d(y,P){if(1&y&&(n.TgZ(0,"div",10),n.YNc(1,_,2,1,"ng-container",9),n.qZA()),2&y){const S=n.oxw(2);n.xp6(1),n.Q6J("nzStringTemplateOutlet",S.nzTitle)}}function m(y,P){if(1&y&&(n.ynx(0),n._uU(1),n.BQk()),2&y){const S=n.oxw(2);n.xp6(1),n.Oqu(S.nzContent)}}function f(y,P){if(1&y&&(n.TgZ(0,"div",2)(1,"div",3)(2,"div",4),n._UZ(3,"span",5),n.qZA(),n.TgZ(4,"div",6)(5,"div"),n.YNc(6,d,2,1,"div",7),n.TgZ(7,"div",8),n.YNc(8,m,2,1,"ng-container",9),n.qZA()()()()()),2&y){const S=n.oxw();n.ekj("ant-popover-rtl","rtl"===S.dir),n.Q6J("ngClass",S._classMap)("ngStyle",S.nzOverlayStyle)("@.disabled",!(null==S.noAnimation||!S.noAnimation.nzNoAnimation))("nzNoAnimation",null==S.noAnimation?null:S.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),n.xp6(6),n.Q6J("ngIf",S.nzTitle),n.xp6(2),n.Q6J("nzStringTemplateOutlet",S.nzContent)}}let T=(()=>{class y extends h.Mg{getProxyPropertyMap(){return{nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop],...super.getProxyPropertyMap()}}constructor(S,A,k,R,W,j){super(S,A,k,R,W,j),this._nzModuleName="popover",this.trigger="hover",this.placement="top",this.nzPopoverBackdrop=!1,this.visibleChange=new n.vpe,this.componentRef=this.hostView.createComponent(b)}static#e=this.\u0275fac=function(A){return new(A||y)(n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(n._Vd),n.Y36(n.Qsj),n.Y36(E.P,9),n.Y36(i.jY))};static#t=this.\u0275dir=n.lG2({type:y,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(A,k){2&A&&n.ekj("ant-popover-open",k.visible)},inputs:{arrowPointAtCenter:["nzPopoverArrowPointAtCenter","arrowPointAtCenter"],title:["nzPopoverTitle","title"],content:["nzPopoverContent","content"],directiveTitle:["nz-popover","directiveTitle"],trigger:["nzPopoverTrigger","trigger"],placement:["nzPopoverPlacement","placement"],origin:["nzPopoverOrigin","origin"],visible:["nzPopoverVisible","visible"],mouseEnterDelay:["nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopoverOverlayClassName","overlayClassName"],overlayStyle:["nzPopoverOverlayStyle","overlayStyle"],nzPopoverBackdrop:"nzPopoverBackdrop"},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[n.qOj]})}return(0,e.gn)([(0,l.yF)()],y.prototype,"arrowPointAtCenter",void 0),(0,e.gn)([(0,i.oS)()],y.prototype,"nzPopoverBackdrop",void 0),y})(),b=(()=>{class y extends h.XK{constructor(S,A,k){super(S,A,k),this._prefix="ant-popover"}get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return(0,h.pu)(this.nzTitle)&&(0,h.pu)(this.nzContent)}static#e=this.\u0275fac=function(A){return new(A||y)(n.Y36(n.sBO),n.Y36(u.Is,8),n.Y36(E.P,9))};static#t=this.\u0275cmp=n.Xpm({type:y,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[n.qOj],decls:2,vars:6,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],["role","tooltip",1,"ant-popover-inner"],["class","ant-popover-title",4,"ngIf"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-title"]],template:function(A,k){1&A&&(n.YNc(0,f,9,9,"ng-template",0,1,n.W1O),n.NdJ("overlayOutsideClick",function(W){return k.onClickOutside(W)})("detach",function(){return k.hide()})("positionChange",function(W){return k.onPositionChange(W)})),2&A&&n.Q6J("cdkConnectedOverlayHasBackdrop",k.hasBackdrop)("cdkConnectedOverlayOrigin",k.origin)("cdkConnectedOverlayPositions",k._positions)("cdkConnectedOverlayOpen",k._visible)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",k.nzArrowPointAtCenter)},dependencies:[z.mk,z.O5,z.PC,M.pI,p.f,v.hQ,E.P],encapsulation:2,data:{animation:[t.$C]},changeDetection:0})}return y})(),D=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275mod=n.oAB({type:y});static#n=this.\u0275inj=n.cJS({imports:[u.vT,z.ez,M.U8,p.T,v.e4,E.g,h.cg]})}return y})()},48128:(tt,I,o)=>{"use strict";o.d(I,{M:()=>ae,W:()=>ce});var e=o(49388),n=o(96814),t=o(65879),i=o(8324),l=o(90551),h=o(97582),E=o(78645),u=o(59773),z=o(83064),M=o(27754);function p(X,ne){if(1&X&&(t.ynx(0),t._UZ(1,"span",8),t.BQk()),2&X){const le=t.oxw(3);t.xp6(1),t.Q6J("nzType",le.icon)}}function v(X,ne){if(1&X&&(t.ynx(0),t._uU(1),t.BQk()),2&X){const le=ne.$implicit,Se=t.oxw(4);t.xp6(1),t.hij(" ",le(Se.nzPercent)," ")}}const _=function(X){return{$implicit:X}};function d(X,ne){if(1&X&&t.YNc(0,v,2,1,"ng-container",9),2&X){const le=t.oxw(3);t.Q6J("nzStringTemplateOutlet",le.formatter)("nzStringTemplateOutletContext",t.VKq(2,_,le.nzPercent))}}function m(X,ne){if(1&X&&(t.TgZ(0,"span",5),t.YNc(1,p,2,1,"ng-container",6),t.YNc(2,d,1,4,"ng-template",null,7,t.W1O),t.qZA()),2&X){const le=t.MAs(3),Se=t.oxw(2);t.xp6(1),t.Q6J("ngIf",("exception"===Se.status||"success"===Se.status)&&!Se.nzFormat)("ngIfElse",le)}}function f(X,ne){if(1&X&&t.YNc(0,m,4,2,"span",4),2&X){const le=t.oxw();t.Q6J("ngIf",le.nzShowInfo)}}function C(X,ne){if(1&X&&t._UZ(0,"div",17),2&X){const le=t.oxw(4);t.Udp("width",le.nzSuccessPercent,"%")("border-radius","round"===le.nzStrokeLinecap?"100px":"0")("height",le.strokeWidth,"px")}}function T(X,ne){if(1&X&&(t.TgZ(0,"div",13)(1,"div",14),t._UZ(2,"div",15),t.YNc(3,C,1,6,"div",16),t.qZA()()),2&X){const le=t.oxw(3);t.xp6(2),t.Udp("width",le.nzPercent,"%")("border-radius","round"===le.nzStrokeLinecap?"100px":"0")("background",le.isGradient?null:le.nzStrokeColor)("background-image",le.isGradient?le.lineGradient:null)("height",le.strokeWidth,"px"),t.xp6(1),t.Q6J("ngIf",le.nzSuccessPercent||0===le.nzSuccessPercent)}}function b(X,ne){}function D(X,ne){if(1&X&&(t.ynx(0),t.YNc(1,T,4,11,"div",11),t.YNc(2,b,0,0,"ng-template",12),t.BQk()),2&X){const le=t.oxw(2),Se=t.MAs(1);t.xp6(1),t.Q6J("ngIf",!le.isSteps),t.xp6(1),t.Q6J("ngTemplateOutlet",Se)}}function y(X,ne){1&X&&t._UZ(0,"div",20),2&X&&t.Q6J("ngStyle",ne.$implicit)}function P(X,ne){}function S(X,ne){if(1&X&&(t.TgZ(0,"div",18),t.YNc(1,y,1,1,"div",19),t.YNc(2,P,0,0,"ng-template",12),t.qZA()),2&X){const le=t.oxw(2),Se=t.MAs(1);t.xp6(1),t.Q6J("ngForOf",le.steps),t.xp6(1),t.Q6J("ngTemplateOutlet",Se)}}function A(X,ne){if(1&X&&(t.TgZ(0,"div"),t.YNc(1,D,3,2,"ng-container",2),t.YNc(2,S,3,2,"div",10),t.qZA()),2&X){const le=t.oxw();t.xp6(1),t.Q6J("ngIf",!le.isSteps),t.xp6(1),t.Q6J("ngIf",le.isSteps)}}function k(X,ne){if(1&X&&(t.O4$(),t._UZ(0,"stop")),2&X){const le=ne.$implicit;t.uIk("offset",le.offset)("stop-color",le.color)}}function R(X,ne){if(1&X&&(t.O4$(),t.TgZ(0,"defs")(1,"linearGradient",24),t.YNc(2,k,1,2,"stop",25),t.qZA()()),2&X){const le=t.oxw(2);t.xp6(1),t.Q6J("id","gradient-"+le.gradientId),t.xp6(1),t.Q6J("ngForOf",le.circleGradient)}}function W(X,ne){if(1&X&&(t.O4$(),t._UZ(0,"path",26)),2&X){const le=ne.$implicit,Se=t.oxw(2);t.Q6J("ngStyle",le.strokePathStyle),t.uIk("d",Se.pathString)("stroke-linecap",Se.nzStrokeLinecap)("stroke",le.stroke)("stroke-width",Se.nzPercent?Se.strokeWidth:0)}}function j(X,ne){1&X&&t.O4$()}function ze(X,ne){if(1&X&&(t.TgZ(0,"div",14),t.O4$(),t.TgZ(1,"svg",21),t.YNc(2,R,3,2,"defs",2),t._UZ(3,"path",22),t.YNc(4,W,1,5,"path",23),t.qZA(),t.YNc(5,j,0,0,"ng-template",12),t.qZA()),2&X){const le=t.oxw(),Se=t.MAs(1);t.Udp("width",le.nzWidth,"px")("height",le.nzWidth,"px")("font-size",.15*le.nzWidth+6,"px"),t.ekj("ant-progress-circle-gradient",le.isGradient),t.xp6(2),t.Q6J("ngIf",le.isGradient),t.xp6(1),t.Q6J("ngStyle",le.trailPathStyle),t.uIk("stroke-width",le.strokeWidth)("d",le.pathString),t.xp6(1),t.Q6J("ngForOf",le.progressCirclePath)("ngForTrackBy",le.trackByFn),t.xp6(1),t.Q6J("ngTemplateOutlet",Se)}}const G=X=>{let ne=[];return Object.keys(X).forEach(le=>{const Se=X[le],Ne=function Y(X){return+X.replace("%","")}(le);isNaN(Ne)||ne.push({key:Ne,value:Se})}),ne=ne.sort((le,Se)=>le.key-Se.key),ne};let ee=0;const te="progress",pe=new Map([["success","check"],["exception","close"]]),re=new Map([["normal","#108ee9"],["exception","#ff5500"],["success","#87d068"]]),De=X=>`${X}%`;let ae=(()=>{class X{get formatter(){return this.nzFormat||De}get status(){return this.nzStatus||this.inferredStatus}get strokeWidth(){return this.nzStrokeWidth||("line"===this.nzType&&"small"!==this.nzSize?8:6)}get isCircleStyle(){return"circle"===this.nzType||"dashboard"===this.nzType}constructor(le,Se,Ne){this.cdr=le,this.nzConfigService=Se,this.directionality=Ne,this._nzModuleName=te,this.nzShowInfo=!0,this.nzWidth=132,this.nzStrokeColor=void 0,this.nzSize="default",this.nzPercent=0,this.nzStrokeWidth=void 0,this.nzGapDegree=void 0,this.nzType="line",this.nzGapPosition="top",this.nzStrokeLinecap="round",this.nzSteps=0,this.steps=[],this.lineGradient=null,this.isGradient=!1,this.isSteps=!1,this.gradientId=ee++,this.progressCirclePath=[],this.trailPathStyle=null,this.dir="ltr",this.trackByFn=ke=>`${ke}`,this.cachedStatus="normal",this.inferredStatus="normal",this.destroy$=new E.x}ngOnChanges(le){const{nzSteps:Se,nzGapPosition:Ne,nzStrokeLinecap:ke,nzStrokeColor:oe,nzGapDegree:_e,nzType:Q,nzStatus:He,nzPercent:Re,nzSuccessPercent:lt,nzStrokeWidth:Pe}=le;He&&(this.cachedStatus=this.nzStatus||this.cachedStatus),(Re||lt)&&(parseInt(this.nzPercent.toString(),10)>=100?((0,M.DX)(this.nzSuccessPercent)&&this.nzSuccessPercent>=100||void 0===this.nzSuccessPercent)&&(this.inferredStatus="success"):this.inferredStatus=this.cachedStatus),(He||Re||lt||oe)&&this.updateIcon(),oe&&this.setStrokeColor(),(Ne||ke||_e||Q||Re||oe||oe)&&this.getCirclePaths(),(Re||Se||Pe)&&(this.isSteps=this.nzSteps>0,this.isSteps&&this.getSteps())}ngOnInit(){this.nzConfigService.getConfigChangeEventForComponent(te).pipe((0,u.R)(this.destroy$)).subscribe(()=>{this.updateIcon(),this.setStrokeColor(),this.getCirclePaths()}),this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(le=>{this.dir=le,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateIcon(){const le=pe.get(this.status);this.icon=le?le+(this.isCircleStyle?"-o":"-circle-fill"):""}getSteps(){const le=Math.floor(this.nzSteps*(this.nzPercent/100)),Se="small"===this.nzSize?2:14,Ne=[];for(let ke=0;ke{const xt=2===le.length&&0===Pe;return{stroke:this.isGradient&&!xt?`url(#gradient-${this.gradientId})`:null,strokePathStyle:{stroke:this.isGradient?null:xt?re.get("success"):this.nzStrokeColor,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s",strokeDasharray:`${(lt||0)/100*(ke-oe)}px ${ke}px`,strokeDashoffset:`-${oe/2}px`}}}).reverse()}setStrokeColor(){const le=this.nzStrokeColor,Se=this.isGradient=!!le&&"string"!=typeof le;Se&&!this.isCircleStyle?this.lineGradient=(X=>{const{from:ne="#1890ff",to:le="#1890ff",direction:Se="to right",...Ne}=X;return 0!==Object.keys(Ne).length?`linear-gradient(${Se}, ${G(Ne).map(({key:oe,value:_e})=>`${_e} ${oe}%`).join(", ")})`:`linear-gradient(${Se}, ${ne}, ${le})`})(le):Se&&this.isCircleStyle?this.circleGradient=(X=>G(this.nzStrokeColor).map(({key:ne,value:le})=>({offset:`${ne}%`,color:le})))():(this.lineGradient=null,this.circleGradient=[])}static#e=this.\u0275fac=function(Se){return new(Se||X)(t.Y36(t.sBO),t.Y36(z.jY),t.Y36(e.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:X,selectors:[["nz-progress"]],inputs:{nzShowInfo:"nzShowInfo",nzWidth:"nzWidth",nzStrokeColor:"nzStrokeColor",nzSize:"nzSize",nzFormat:"nzFormat",nzSuccessPercent:"nzSuccessPercent",nzPercent:"nzPercent",nzStrokeWidth:"nzStrokeWidth",nzGapDegree:"nzGapDegree",nzStatus:"nzStatus",nzType:"nzType",nzGapPosition:"nzGapPosition",nzStrokeLinecap:"nzStrokeLinecap",nzSteps:"nzSteps"},exportAs:["nzProgress"],features:[t.TTD],decls:5,vars:17,consts:[["progressInfoTemplate",""],[3,"ngClass"],[4,"ngIf"],["class","ant-progress-inner",3,"width","height","fontSize","ant-progress-circle-gradient",4,"ngIf"],["class","ant-progress-text",4,"ngIf"],[1,"ant-progress-text"],[4,"ngIf","ngIfElse"],["formatTemplate",""],["nz-icon","",3,"nzType"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-progress-steps-outer",4,"ngIf"],["class","ant-progress-outer",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-progress-outer"],[1,"ant-progress-inner"],[1,"ant-progress-bg"],["class","ant-progress-success-bg",3,"width","border-radius","height",4,"ngIf"],[1,"ant-progress-success-bg"],[1,"ant-progress-steps-outer"],["class","ant-progress-steps-item",3,"ngStyle",4,"ngFor","ngForOf"],[1,"ant-progress-steps-item",3,"ngStyle"],["viewBox","0 0 100 100",1,"ant-progress-circle"],["stroke","#f3f3f3","fill-opacity","0",1,"ant-progress-circle-trail",3,"ngStyle"],["class","ant-progress-circle-path","fill-opacity","0",3,"ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],["x1","100%","y1","0%","x2","0%","y2","0%",3,"id"],[4,"ngFor","ngForOf"],["fill-opacity","0",1,"ant-progress-circle-path",3,"ngStyle"]],template:function(Se,Ne){1&Se&&(t.YNc(0,f,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1),t.YNc(3,A,3,2,"div",2),t.YNc(4,ze,6,15,"div",3),t.qZA()),2&Se&&(t.xp6(2),t.ekj("ant-progress-line","line"===Ne.nzType)("ant-progress-small","small"===Ne.nzSize)("ant-progress-default","default"===Ne.nzSize)("ant-progress-show-info",Ne.nzShowInfo)("ant-progress-circle",Ne.isCircleStyle)("ant-progress-steps",Ne.isSteps)("ant-progress-rtl","rtl"===Ne.dir),t.Q6J("ngClass","ant-progress ant-progress-status-"+Ne.status),t.xp6(1),t.Q6J("ngIf","line"===Ne.nzType),t.xp6(1),t.Q6J("ngIf",Ne.isCircleStyle))},dependencies:[n.mk,n.sg,n.O5,n.tP,n.PC,l.Ls,i.f],encapsulation:2,changeDetection:0})}return(0,h.gn)([(0,z.oS)()],X.prototype,"nzShowInfo",void 0),(0,h.gn)([(0,z.oS)()],X.prototype,"nzStrokeColor",void 0),(0,h.gn)([(0,z.oS)()],X.prototype,"nzSize",void 0),(0,h.gn)([(0,M.Rn)()],X.prototype,"nzSuccessPercent",void 0),(0,h.gn)([(0,M.Rn)()],X.prototype,"nzPercent",void 0),(0,h.gn)([(0,z.oS)(),(0,M.Rn)()],X.prototype,"nzStrokeWidth",void 0),(0,h.gn)([(0,z.oS)(),(0,M.Rn)()],X.prototype,"nzGapDegree",void 0),(0,h.gn)([(0,z.oS)()],X.prototype,"nzGapPosition",void 0),(0,h.gn)([(0,z.oS)()],X.prototype,"nzStrokeLinecap",void 0),(0,h.gn)([(0,M.Rn)()],X.prototype,"nzSteps",void 0),X})(),ce=(()=>{class X{static#e=this.\u0275fac=function(Se){return new(Se||X)};static#t=this.\u0275mod=t.oAB({type:X});static#n=this.\u0275inj=t.cJS({imports:[e.vT,n.ez,l.PV,i.T]})}return X})()},57907:(tt,I,o)=>{"use strict";o.d(I,{Bq:()=>f,Dg:()=>T,Of:()=>b,aF:()=>D});var e=o(65879),n=o(97582),t=o(60095),i=o(97328),l=o(78645),h=o(92438),E=o(59773),u=o(27754),z=o(49388),M=o(4300),p=o(50883),v=o(96814);const _=["*"],d=["inputElement"],m=["nz-radio",""];let f=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275dir=e.lG2({type:y,selectors:[["","nz-radio-button",""]]})}return y})(),C=(()=>{class y{constructor(){this.selected$=new i.t(1),this.touched$=new l.x,this.disabled$=new i.t(1),this.name$=new i.t(1)}touch(){this.touched$.next()}select(S){this.selected$.next(S)}setDisabled(S){this.disabled$.next(S)}setName(S){this.name$.next(S)}static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275prov=e.Yz7({token:y,factory:y.\u0275fac})}return y})(),T=(()=>{class y{constructor(S,A,k){this.cdr=S,this.nzRadioService=A,this.directionality=k,this.value=null,this.destroy$=new l.x,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr"}ngOnInit(){this.nzRadioService.selected$.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.value!==S&&(this.value=S,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,E.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.dir=S,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(S){const{nzDisabled:A,nzName:k}=S;A&&this.nzRadioService.setDisabled(this.nzDisabled),k&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}writeValue(S){this.value=S,this.nzRadioService.select(S),this.cdr.markForCheck()}registerOnChange(S){this.onChange=S}registerOnTouched(S){this.onTouched=S}setDisabledState(S){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||S,this.isNzDisableFirstChange=!1,this.nzRadioService.setDisabled(this.nzDisabled),this.cdr.markForCheck()}static#e=this.\u0275fac=function(A){return new(A||y)(e.Y36(e.sBO),e.Y36(C),e.Y36(z.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:y,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(A,k){2&A&&e.ekj("ant-radio-group-large","large"===k.nzSize)("ant-radio-group-small","small"===k.nzSize)("ant-radio-group-solid","solid"===k.nzButtonStyle)("ant-radio-group-rtl","rtl"===k.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[e._Bn([C,{provide:t.JU,useExisting:(0,e.Gpc)(()=>y),multi:!0}]),e.TTD],ngContentSelectors:_,decls:1,vars:0,template:function(A,k){1&A&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return(0,n.gn)([(0,u.yF)()],y.prototype,"nzDisabled",void 0),y})(),b=(()=>{class y{focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(S,A,k,R,W,j,ze,Y){this.ngZone=S,this.elementRef=A,this.cdr=k,this.focusMonitor=R,this.directionality=W,this.nzRadioService=j,this.nzRadioButtonDirective=ze,this.nzFormStatusService=Y,this.isNgModel=!1,this.destroy$=new l.x,this.isNzDisableFirstChange=!0,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}setDisabledState(S){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||S,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(S){this.isChecked=S,this.cdr.markForCheck()}registerOnChange(S){this.isNgModel=!0,this.onChange=S}registerOnTouched(S){this.onTouched=S}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.name=S,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||S,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,E.R)(this.destroy$)).subscribe(S=>{const A=this.isChecked;this.isChecked=this.nzValue===S,this.isNgModel&&A!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,E.R)(this.destroy$)).subscribe(S=>{S||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,E.R)(this.destroy$)).subscribe(S=>{this.dir=S,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setupClickListener(){this.ngZone.runOutsideAngular(()=>{(0,h.R)(this.elementRef.nativeElement,"click").pipe((0,E.R)(this.destroy$)).subscribe(S=>{S.stopPropagation(),S.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.focus(),this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})})}static#e=this.\u0275fac=function(A){return new(A||y)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(M.tE),e.Y36(z.Is,8),e.Y36(C,8),e.Y36(f,8),e.Y36(p.kH,8))};static#t=this.\u0275cmp=e.Xpm({type:y,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(A,k){if(1&A&&e.Gf(d,7),2&A){let R;e.iGM(R=e.CRH())&&(k.inputElement=R.first)}},hostVars:18,hostBindings:function(A,k){2&A&&e.ekj("ant-radio-wrapper-in-form-item",!!k.nzFormStatusService)("ant-radio-wrapper",!k.isRadioButton)("ant-radio-button-wrapper",k.isRadioButton)("ant-radio-wrapper-checked",k.isChecked&&!k.isRadioButton)("ant-radio-button-wrapper-checked",k.isChecked&&k.isRadioButton)("ant-radio-wrapper-disabled",k.nzDisabled&&!k.isRadioButton)("ant-radio-button-wrapper-disabled",k.nzDisabled&&k.isRadioButton)("ant-radio-wrapper-rtl",!k.isRadioButton&&"rtl"===k.dir)("ant-radio-button-wrapper-rtl",k.isRadioButton&&"rtl"===k.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[e._Bn([{provide:t.JU,useExisting:(0,e.Gpc)(()=>y),multi:!0}])],attrs:m,ngContentSelectors:_,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(A,k){1&A&&(e.F$t(),e.TgZ(0,"span"),e._UZ(1,"input",0,1)(3,"span"),e.qZA(),e.TgZ(4,"span"),e.Hsn(5),e.qZA()),2&A&&(e.ekj("ant-radio",!k.isRadioButton)("ant-radio-checked",k.isChecked&&!k.isRadioButton)("ant-radio-disabled",k.nzDisabled&&!k.isRadioButton)("ant-radio-button",k.isRadioButton)("ant-radio-button-checked",k.isChecked&&k.isRadioButton)("ant-radio-button-disabled",k.nzDisabled&&k.isRadioButton),e.xp6(1),e.ekj("ant-radio-input",!k.isRadioButton)("ant-radio-button-input",k.isRadioButton),e.Q6J("disabled",k.nzDisabled)("checked",k.isChecked),e.uIk("autofocus",k.nzAutoFocus?"autofocus":null)("name",k.name),e.xp6(2),e.ekj("ant-radio-inner",!k.isRadioButton)("ant-radio-button-inner",k.isRadioButton))},encapsulation:2,changeDetection:0})}return(0,n.gn)([(0,u.yF)()],y.prototype,"nzDisabled",void 0),(0,n.gn)([(0,u.yF)()],y.prototype,"nzAutoFocus",void 0),y})(),D=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275mod=e.oAB({type:y});static#n=this.\u0275inj=e.cJS({imports:[z.vT,v.ez,t.u5]})}return y})()},98421:(tt,I,o)=>{"use strict";o.d(I,{Ju:()=>A,sn:()=>S});var e=o(97582),n=o(36028),t=o(65879),i=o(60095),l=o(92438),h=o(59773),E=o(83064),u=o(99087),z=o(27754),M=o(49388),p=o(96814),v=o(96109),_=o(90551);const d=["nz-rate-item",""];function m(k,R){}function f(k,R){}function C(k,R){1&k&&t._UZ(0,"span",4)}const T=function(k){return{$implicit:k}},b=["ulElement"];function D(k,R){if(1&k){const W=t.EpF();t.TgZ(0,"li",3)(1,"div",4),t.NdJ("itemHover",function(ze){const G=t.CHM(W).index,V=t.oxw();return t.KtG(V.onItemHover(G,ze))})("itemClick",function(ze){const G=t.CHM(W).index,V=t.oxw();return t.KtG(V.onItemClick(G,ze))}),t.qZA()()}if(2&k){const W=R.index,j=t.oxw();t.Q6J("ngClass",j.starStyleArray[W]||"")("nzTooltipTitle",j.nzTooltips[W]),t.xp6(1),t.Q6J("allowHalf",j.nzAllowHalf)("character",j.nzCharacter)("index",W)}}let y=(()=>{class k{constructor(){this.index=0,this.allowHalf=!1,this.itemHover=new t.vpe,this.itemClick=new t.vpe}hoverRate(W){this.itemHover.next(W&&this.allowHalf)}clickRate(W){this.itemClick.next(W&&this.allowHalf)}static#e=this.\u0275fac=function(j){return new(j||k)};static#t=this.\u0275cmp=t.Xpm({type:k,selectors:[["","nz-rate-item",""]],inputs:{character:"character",index:"index",allowHalf:"allowHalf"},outputs:{itemHover:"itemHover",itemClick:"itemClick"},exportAs:["nzRateItem"],attrs:d,decls:6,vars:8,consts:[[1,"ant-rate-star-second",3,"mouseover","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-rate-star-first",3,"mouseover","click"],["defaultCharacter",""],["nz-icon","","nzType","star","nzTheme","fill"]],template:function(j,ze){if(1&j&&(t.TgZ(0,"div",0),t.NdJ("mouseover",function(G){return ze.hoverRate(!1),G.stopPropagation()})("click",function(){return ze.clickRate(!1)}),t.YNc(1,m,0,0,"ng-template",1),t.qZA(),t.TgZ(2,"div",2),t.NdJ("mouseover",function(G){return ze.hoverRate(!0),G.stopPropagation()})("click",function(){return ze.clickRate(!0)}),t.YNc(3,f,0,0,"ng-template",1),t.qZA(),t.YNc(4,C,1,0,"ng-template",null,3,t.W1O)),2&j){const Y=t.MAs(5);t.xp6(1),t.Q6J("ngTemplateOutlet",ze.character||Y)("ngTemplateOutletContext",t.VKq(4,T,ze.index)),t.xp6(2),t.Q6J("ngTemplateOutlet",ze.character||Y)("ngTemplateOutletContext",t.VKq(6,T,ze.index))}},dependencies:[p.tP,_.Ls],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,z.yF)()],k.prototype,"allowHalf",void 0),k})();const P="rate";let S=(()=>{class k{get nzValue(){return this._value}set nzValue(W){this._value!==W&&(this._value=W,this.hasHalf=!Number.isInteger(W),this.hoverValue=Math.ceil(W))}constructor(W,j,ze,Y,G,V){this.nzConfigService=W,this.ngZone=j,this.renderer=ze,this.cdr=Y,this.directionality=G,this.destroy$=V,this._nzModuleName=P,this.nzAllowClear=!0,this.nzAllowHalf=!1,this.nzDisabled=!1,this.nzAutoFocus=!1,this.nzCount=5,this.nzTooltips=[],this.nzOnBlur=new t.vpe,this.nzOnFocus=new t.vpe,this.nzOnHoverChange=new t.vpe,this.nzOnKeyDown=new t.vpe,this.classMap={},this.starArray=[],this.starStyleArray=[],this.dir="ltr",this.hasHalf=!1,this.hoverValue=0,this.isFocused=!1,this._value=0,this.isNzDisableFirstChange=!0,this.onChange=()=>null,this.onTouched=()=>null}ngOnChanges(W){const{nzAutoFocus:j,nzCount:ze,nzValue:Y}=W;if(j&&!j.isFirstChange()){const G=this.ulElement.nativeElement;this.nzAutoFocus&&!this.nzDisabled?this.renderer.setAttribute(G,"autofocus","autofocus"):this.renderer.removeAttribute(G,"autofocus")}ze&&this.updateStarArray(),Y&&this.updateStarStyle()}ngOnInit(){this.nzConfigService.getConfigChangeEventForComponent(P).pipe((0,h.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change.pipe((0,h.R)(this.destroy$)).subscribe(W=>{this.dir=W,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,l.R)(this.ulElement.nativeElement,"focus").pipe((0,h.R)(this.destroy$)).subscribe(W=>{this.isFocused=!0,this.nzOnFocus.observers.length&&this.ngZone.run(()=>this.nzOnFocus.emit(W))}),(0,l.R)(this.ulElement.nativeElement,"blur").pipe((0,h.R)(this.destroy$)).subscribe(W=>{this.isFocused=!1,this.nzOnBlur.observers.length&&this.ngZone.run(()=>this.nzOnBlur.emit(W))})})}onItemClick(W,j){if(this.nzDisabled)return;this.hoverValue=W+1;const ze=j?W+.5:W+1;this.nzValue===ze?this.nzAllowClear&&(this.nzValue=0,this.onChange(this.nzValue)):(this.nzValue=ze,this.onChange(this.nzValue)),this.updateStarStyle()}onItemHover(W,j){this.nzDisabled||this.hoverValue===W+1&&j===this.hasHalf||(this.hoverValue=W+1,this.hasHalf=j,this.nzOnHoverChange.emit(this.hoverValue),this.updateStarStyle())}onRateLeave(){this.hasHalf=!Number.isInteger(this.nzValue),this.hoverValue=Math.ceil(this.nzValue),this.updateStarStyle()}focus(){this.ulElement.nativeElement.focus()}blur(){this.ulElement.nativeElement.blur()}onKeyDown(W){const j=this.nzValue;W.keyCode===n.SV&&this.nzValue0&&(this.nzValue-=this.nzAllowHalf?.5:1),j!==this.nzValue&&(this.onChange(this.nzValue),this.nzOnKeyDown.emit(W),this.updateStarStyle(),this.cdr.markForCheck())}updateStarArray(){this.starArray=Array(this.nzCount).fill(0).map((W,j)=>j),this.updateStarStyle()}updateStarStyle(){this.starStyleArray=this.starArray.map(W=>{const j="ant-rate-star",ze=W+1;return{[`${j}-full`]:zethis.hoverValue,[`${j}-focused`]:this.hasHalf&&ze===this.hoverValue&&this.isFocused}})}writeValue(W){this.nzValue=W||0,this.updateStarArray(),this.cdr.markForCheck()}setDisabledState(W){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||W,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}registerOnChange(W){this.onChange=W}registerOnTouched(W){this.onTouched=W}static#e=this.\u0275fac=function(j){return new(j||k)(t.Y36(E.jY),t.Y36(t.R0b),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(M.Is,8),t.Y36(u.kn))};static#t=this.\u0275cmp=t.Xpm({type:k,selectors:[["nz-rate"]],viewQuery:function(j,ze){if(1&j&&t.Gf(b,7),2&j){let Y;t.iGM(Y=t.CRH())&&(ze.ulElement=Y.first)}},inputs:{nzAllowClear:"nzAllowClear",nzAllowHalf:"nzAllowHalf",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzCharacter:"nzCharacter",nzCount:"nzCount",nzTooltips:"nzTooltips"},outputs:{nzOnBlur:"nzOnBlur",nzOnFocus:"nzOnFocus",nzOnHoverChange:"nzOnHoverChange",nzOnKeyDown:"nzOnKeyDown"},exportAs:["nzRate"],features:[t._Bn([u.kn,{provide:i.JU,useExisting:(0,t.Gpc)(()=>k),multi:!0}]),t.TTD],decls:3,vars:7,consts:[[1,"ant-rate",3,"ngClass","tabindex","keydown","mouseleave"],["ulElement",""],["class","ant-rate-star","nz-tooltip","",3,"ngClass","nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",1,"ant-rate-star",3,"ngClass","nzTooltipTitle"],["nz-rate-item","",3,"allowHalf","character","index","itemHover","itemClick"]],template:function(j,ze){1&j&&(t.TgZ(0,"ul",0,1),t.NdJ("keydown",function(G){return ze.onKeyDown(G),G.preventDefault()})("mouseleave",function(G){return ze.onRateLeave(),G.stopPropagation()}),t.YNc(2,D,2,5,"li",2),t.qZA()),2&j&&(t.ekj("ant-rate-disabled",ze.nzDisabled)("ant-rate-rtl","rtl"===ze.dir),t.Q6J("ngClass",ze.classMap)("tabindex",ze.nzDisabled?-1:1),t.xp6(2),t.Q6J("ngForOf",ze.starArray))},dependencies:[p.mk,p.sg,v.SY,y],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,E.oS)(),(0,z.yF)()],k.prototype,"nzAllowClear",void 0),(0,e.gn)([(0,E.oS)(),(0,z.yF)()],k.prototype,"nzAllowHalf",void 0),(0,e.gn)([(0,z.yF)()],k.prototype,"nzDisabled",void 0),(0,e.gn)([(0,z.yF)()],k.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,z.Rn)()],k.prototype,"nzCount",void 0),k})(),A=(()=>{class k{static#e=this.\u0275fac=function(j){return new(j||k)};static#t=this.\u0275mod=t.oAB({type:k});static#n=this.\u0275inj=t.cJS({imports:[M.vT,p.ez,_.PV,v.cg]})}return k})()},70612:(tt,I,o)=>{"use strict";o.d(I,{GS:()=>S,IJ:()=>f,Op:()=>P,m8:()=>b});var e=o(96814),n=o(65879),t=o(97582),i=o(78645),l=o(92438),h=o(63019),E=o(59773),u=o(32181),z=o(99087),M=o(27754),p=o(62831);const v=["*"];function _(A,k){if(1&A&&n._UZ(0,"nz-resize-handle",1),2&A){const R=k.$implicit;n.Q6J("nzDirection",R.direction)("nzCursorType",R.cursorType)}}function d(A){return(0,M.z6)(A)?A.touches[0]||A.changedTouches[0]:A}let m=(()=>{class A{constructor(R,W){this.ngZone=R,this.listeners=new Map,this.handleMouseDownOutsideAngular$=new i.x,this.documentMouseUpOutsideAngular$=new i.x,this.documentMouseMoveOutsideAngular$=new i.x,this.mouseEnteredOutsideAngular$=new i.x,this.document=W}startResizing(R){const W=(0,M.z6)(R);this.clearListeners();const ze=W?"touchend":"mouseup";this.listeners.set(W?"touchmove":"mousemove",V=>{this.documentMouseMoveOutsideAngular$.next(V)}),this.listeners.set(ze,V=>{this.documentMouseUpOutsideAngular$.next(V),this.clearListeners()}),this.ngZone.runOutsideAngular(()=>{this.listeners.forEach((V,K)=>{this.document.addEventListener(K,V)})})}clearListeners(){this.listeners.forEach((R,W)=>{this.document.removeEventListener(W,R)}),this.listeners.clear()}ngOnDestroy(){this.handleMouseDownOutsideAngular$.complete(),this.documentMouseUpOutsideAngular$.complete(),this.documentMouseMoveOutsideAngular$.complete(),this.mouseEnteredOutsideAngular$.complete(),this.clearListeners()}static#e=this.\u0275fac=function(W){return new(W||A)(n.LFG(n.R0b),n.LFG(e.K0))};static#t=this.\u0275prov=n.Yz7({token:A,factory:A.\u0275fac})}return A})(),f=(()=>{class A{constructor(R,W,j,ze,Y,G){this.elementRef=R,this.renderer=W,this.nzResizableService=j,this.platform=ze,this.ngZone=Y,this.destroy$=G,this.nzBounds="parent",this.nzMinHeight=40,this.nzMinWidth=40,this.nzGridColumnCount=-1,this.nzMaxColumn=-1,this.nzMinColumn=-1,this.nzLockAspectRatio=!1,this.nzPreview=!1,this.nzDisabled=!1,this.nzResize=new n.vpe,this.nzResizeEnd=new n.vpe,this.nzResizeStart=new n.vpe,this.resizing=!1,this.currentHandleEvent=null,this.ghostElement=null,this.sizeCache=null,this.nzResizableService.handleMouseDownOutsideAngular$.pipe((0,E.R)(this.destroy$)).subscribe(V=>{this.nzDisabled||(this.resizing=!0,this.nzResizableService.startResizing(V.mouseEvent),this.currentHandleEvent=V,this.nzResizeStart.observers.length&&this.ngZone.run(()=>this.nzResizeStart.emit({mouseEvent:V.mouseEvent,direction:V.direction})),this.elRect=this.el.getBoundingClientRect())}),this.nzResizableService.documentMouseUpOutsideAngular$.pipe((0,E.R)(this.destroy$),(0,u.h)(Boolean)).subscribe(V=>{this.resizing&&(this.resizing=!1,this.nzResizableService.documentMouseUpOutsideAngular$.next(null),this.endResize(V))}),this.nzResizableService.documentMouseMoveOutsideAngular$.pipe((0,E.R)(this.destroy$)).subscribe(V=>{this.resizing&&this.resize(V)})}setPosition(){const R=getComputedStyle(this.el).position;("static"===R||!R)&&this.renderer.setStyle(this.el,"position","relative")}calcSize(R,W,j){let ze,Y,G,V,K=0,ee=0,te=this.nzMinWidth,pe=1/0,re=1/0;if("parent"===this.nzBounds){const De=this.renderer.parentNode(this.el);if(De instanceof HTMLElement){const ae=De.getBoundingClientRect();pe=ae.width,re=ae.height}}else if("window"===this.nzBounds)typeof window<"u"&&(pe=window.innerWidth,re=window.innerHeight);else if(this.nzBounds&&this.nzBounds.nativeElement&&this.nzBounds.nativeElement instanceof HTMLElement){const De=this.nzBounds.nativeElement.getBoundingClientRect();pe=De.width,re=De.height}return G=(0,M.te)(this.nzMaxWidth,pe),V=(0,M.te)(this.nzMaxHeight,re),-1!==this.nzGridColumnCount&&(ee=G/this.nzGridColumnCount,te=-1!==this.nzMinColumn?ee*this.nzMinColumn:te,G=-1!==this.nzMaxColumn?ee*this.nzMaxColumn:G),-1!==j?/(left|right)/i.test(this.currentHandleEvent.direction)?(ze=Math.min(Math.max(R,te),G),Y=Math.min(Math.max(ze/j,this.nzMinHeight),V),(Y>=V||Y<=this.nzMinHeight)&&(ze=Math.min(Math.max(Y*j,te),G))):(Y=Math.min(Math.max(W,this.nzMinHeight),V),ze=Math.min(Math.max(Y*j,te),G),(ze>=G||ze<=te)&&(Y=Math.min(Math.max(ze/j,this.nzMinHeight),V))):(ze=Math.min(Math.max(R,te),G),Y=Math.min(Math.max(W,this.nzMinHeight),V)),-1!==this.nzGridColumnCount&&(K=Math.round(ze/ee),ze=K*ee),{col:K,width:ze,height:Y}}resize(R){const W=this.elRect,j=d(R),ze=d(this.currentHandleEvent.mouseEvent);let Y=W.width,G=W.height;const V=this.nzLockAspectRatio?Y/G:-1;switch(this.currentHandleEvent.direction){case"bottomRight":Y=j.clientX-W.left,G=j.clientY-W.top;break;case"bottomLeft":Y=W.width+ze.clientX-j.clientX,G=j.clientY-W.top;break;case"topRight":Y=j.clientX-W.left,G=W.height+ze.clientY-j.clientY;break;case"topLeft":Y=W.width+ze.clientX-j.clientX,G=W.height+ze.clientY-j.clientY;break;case"top":G=W.height+ze.clientY-j.clientY;break;case"right":Y=j.clientX-W.left;break;case"bottom":G=j.clientY-W.top;break;case"left":Y=W.width+ze.clientX-j.clientX}const K=this.calcSize(Y,G,V);this.sizeCache={...K},this.nzResize.observers.length&&this.ngZone.run(()=>{this.nzResize.emit({...K,mouseEvent:R,direction:this.currentHandleEvent.direction})}),this.nzPreview&&this.previewResize(K)}endResize(R){this.removeGhostElement();const W=this.sizeCache?{...this.sizeCache}:{width:this.elRect.width,height:this.elRect.height};this.nzResizeEnd.observers.length&&this.ngZone.run(()=>{this.nzResizeEnd.emit({...W,mouseEvent:R,direction:this.currentHandleEvent.direction})}),this.sizeCache=null,this.currentHandleEvent=null}previewResize({width:R,height:W}){this.createGhostElement(),this.renderer.setStyle(this.ghostElement,"width",`${R}px`),this.renderer.setStyle(this.ghostElement,"height",`${W}px`)}createGhostElement(){this.ghostElement||(this.ghostElement=this.renderer.createElement("div"),this.renderer.setAttribute(this.ghostElement,"class","nz-resizable-preview")),this.renderer.appendChild(this.el,this.ghostElement)}removeGhostElement(){this.ghostElement&&this.renderer.removeChild(this.el,this.ghostElement)}ngAfterViewInit(){this.platform.isBrowser&&(this.el=this.elementRef.nativeElement,this.setPosition(),this.ngZone.runOutsideAngular(()=>{(0,l.R)(this.el,"mouseenter").pipe((0,E.R)(this.destroy$)).subscribe(()=>{this.nzResizableService.mouseEnteredOutsideAngular$.next(!0)}),(0,l.R)(this.el,"mouseleave").pipe((0,E.R)(this.destroy$)).subscribe(()=>{this.nzResizableService.mouseEnteredOutsideAngular$.next(!1)})}))}ngOnDestroy(){this.ghostElement=null,this.sizeCache=null}static#e=this.\u0275fac=function(W){return new(W||A)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(m),n.Y36(p.t4),n.Y36(n.R0b),n.Y36(z.kn))};static#t=this.\u0275dir=n.lG2({type:A,selectors:[["","nz-resizable",""]],hostAttrs:[1,"nz-resizable"],hostVars:4,hostBindings:function(W,j){2&W&&n.ekj("nz-resizable-resizing",j.resizing)("nz-resizable-disabled",j.nzDisabled)},inputs:{nzBounds:"nzBounds",nzMaxHeight:"nzMaxHeight",nzMaxWidth:"nzMaxWidth",nzMinHeight:"nzMinHeight",nzMinWidth:"nzMinWidth",nzGridColumnCount:"nzGridColumnCount",nzMaxColumn:"nzMaxColumn",nzMinColumn:"nzMinColumn",nzLockAspectRatio:"nzLockAspectRatio",nzPreview:"nzPreview",nzDisabled:"nzDisabled"},outputs:{nzResize:"nzResize",nzResizeEnd:"nzResizeEnd",nzResizeStart:"nzResizeStart"},exportAs:["nzResizable"],features:[n._Bn([m,z.kn])]})}return(0,t.gn)([(0,M.yF)()],A.prototype,"nzLockAspectRatio",void 0),(0,t.gn)([(0,M.yF)()],A.prototype,"nzPreview",void 0),(0,t.gn)([(0,M.yF)()],A.prototype,"nzDisabled",void 0),A})();class C{constructor(k,R){this.direction=k,this.mouseEvent=R}}const T=(0,p.i$)({passive:!0});let b=(()=>{class A{constructor(R,W,j,ze,Y){this.ngZone=R,this.nzResizableService=W,this.renderer=j,this.host=ze,this.destroy$=Y,this.nzDirection="bottomRight",this.nzCursorType="window",this.nzMouseDown=new n.vpe}ngOnInit(){this.nzResizableService.mouseEnteredOutsideAngular$.pipe((0,E.R)(this.destroy$)).subscribe(R=>{R?this.renderer.addClass(this.host.nativeElement,"nz-resizable-handle-box-hover"):this.renderer.removeClass(this.host.nativeElement,"nz-resizable-handle-box-hover")}),this.ngZone.runOutsideAngular(()=>{(0,h.T)((0,l.R)(this.host.nativeElement,"mousedown",T),(0,l.R)(this.host.nativeElement,"touchstart",T)).pipe((0,E.R)(this.destroy$)).subscribe(R=>{this.nzResizableService.handleMouseDownOutsideAngular$.next(new C(this.nzDirection,R))})})}onPointerDown(R){this.host.nativeElement.setPointerCapture(R.pointerId)}onPointerUp(R){this.host.nativeElement.releasePointerCapture(R.pointerId)}static#e=this.\u0275fac=function(W){return new(W||A)(n.Y36(n.R0b),n.Y36(m),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(z.kn))};static#t=this.\u0275cmp=n.Xpm({type:A,selectors:[["nz-resize-handle"],["","nz-resize-handle",""]],hostAttrs:[1,"nz-resizable-handle"],hostVars:20,hostBindings:function(W,j){1&W&&n.NdJ("pointerdown",function(Y){return j.onPointerDown(Y)})("pointerup",function(Y){return j.onPointerUp(Y)}),2&W&&n.ekj("nz-resizable-handle-top","top"===j.nzDirection)("nz-resizable-handle-right","right"===j.nzDirection)("nz-resizable-handle-bottom","bottom"===j.nzDirection)("nz-resizable-handle-left","left"===j.nzDirection)("nz-resizable-handle-topRight","topRight"===j.nzDirection)("nz-resizable-handle-bottomRight","bottomRight"===j.nzDirection)("nz-resizable-handle-bottomLeft","bottomLeft"===j.nzDirection)("nz-resizable-handle-topLeft","topLeft"===j.nzDirection)("nz-resizable-handle-cursor-type-grid","grid"===j.nzCursorType)("nz-resizable-handle-cursor-type-window","window"===j.nzCursorType)},inputs:{nzDirection:"nzDirection",nzCursorType:"nzCursorType"},outputs:{nzMouseDown:"nzMouseDown"},exportAs:["nzResizeHandle"],features:[n._Bn([z.kn])],ngContentSelectors:v,decls:1,vars:0,template:function(W,j){1&W&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return A})();const D=["bottomRight","topRight","bottomLeft","topLeft","bottom","right","top","left"];function y(A){return A.map(k=>"string"==typeof k?{direction:k,cursorType:"window"}:k)}let P=(()=>{class A{constructor(){this.nzDirections=D,this.resizeHandleOptions=y(this.nzDirections)}ngOnChanges(R){R.nzDirections&&(this.resizeHandleOptions=y(R.nzDirections.currentValue))}static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275cmp=n.Xpm({type:A,selectors:[["nz-resize-handles"]],inputs:{nzDirections:"nzDirections"},exportAs:["nzResizeHandles"],features:[n.TTD],decls:1,vars:1,consts:[[3,"nzDirection","nzCursorType",4,"ngFor","ngForOf"],[3,"nzDirection","nzCursorType"]],template:function(W,j){1&W&&n.YNc(0,_,1,2,"nz-resize-handle",0),2&W&&n.Q6J("ngForOf",j.resizeHandleOptions)},dependencies:[e.sg,b],encapsulation:2,changeDetection:0})}return A})(),S=(()=>{class A{static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275mod=n.oAB({type:A});static#n=this.\u0275inj=n.cJS({imports:[e.ez]})}return A})()},9691:(tt,I,o)=>{"use strict";o.d(I,{Go:()=>je,Gt:()=>ge,Ip:()=>Xe,LV:()=>Ze,Vq:()=>Ke,Y6:()=>Ye,Yy:()=>St,kq:()=>wt,uf:()=>Ee});var e=o(65879),n=o(78645),t=o(92438),i=o(65619),l=o(22096),h=o(52572),E=o(63019),u=o(205),z=o(96814),M=o(60804),p=o(59773),v=o(27921),_=o(93997),d=o(42460),m=o(37398),f=o(94664),C=o(99087),T=o(90551),b=o(70855),D=o(8324),y=o(97582),P=o(27754),S=o(36028),A=o(33651),k=o(60095),R=o(64194),W=o(83064),j=o(85448),ze=o(56879),Y=o(4300),G=o(331),V=o(62831),K=o(49388),ee=o(50883),te=o(12131);const pe=["*"];function re(ve,nt){}function De(ve,nt){if(1&ve&&e.YNc(0,re,0,0,"ng-template",4),2&ve){const x=e.oxw();e.Q6J("ngTemplateOutlet",x.template)}}function ae(ve,nt){if(1&ve&&e._uU(0),2&ve){const x=e.oxw();e.Oqu(x.label)}}function ce(ve,nt){1&ve&&e._UZ(0,"span",7)}function X(ve,nt){if(1&ve&&(e.TgZ(0,"div",5),e.YNc(1,ce,1,0,"span",6),e.qZA()),2&ve){const x=e.oxw();e.xp6(1),e.Q6J("ngIf",!x.icon)("ngIfElse",x.icon)}}function ne(ve,nt){if(1&ve&&(e.ynx(0),e._uU(1),e.BQk()),2&ve){const x=e.oxw();e.xp6(1),e.Oqu(x.nzLabel)}}function le(ve,nt){if(1&ve&&(e.TgZ(0,"div",4),e._UZ(1,"nz-embed-empty",5),e.qZA()),2&ve){const x=e.oxw();e.xp6(1),e.Q6J("specificContent",x.notFoundContent)}}function Se(ve,nt){if(1&ve&&e._UZ(0,"nz-option-item-group",9),2&ve){const x=e.oxw().$implicit;e.Q6J("nzLabel",x.groupLabel)}}function Ne(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"nz-option-item",10),e.NdJ("itemHover",function(O){e.CHM(x);const $=e.oxw(2);return e.KtG($.onItemHover(O))})("itemClick",function(O){e.CHM(x);const $=e.oxw(2);return e.KtG($.onItemClick(O))}),e.qZA()}if(2&ve){const x=e.oxw().$implicit,N=e.oxw();e.Q6J("icon",N.menuItemSelectedIcon)("customContent",x.nzCustomContent)("template",x.template)("grouped",!!x.groupLabel)("disabled",x.nzDisabled)("showState","tags"===N.mode||"multiple"===N.mode)("label",x.nzLabel)("compareWith",N.compareWith)("activatedValue",N.activatedValue)("listOfSelectedValue",N.listOfSelectedValue)("value",x.nzValue)}}function ke(ve,nt){1&ve&&(e.ynx(0,6),e.YNc(1,Se,1,1,"nz-option-item-group",7),e.YNc(2,Ne,1,11,"nz-option-item",8),e.BQk()),2&ve&&(e.Q6J("ngSwitch",nt.$implicit.type),e.xp6(1),e.Q6J("ngSwitchCase","group"),e.xp6(1),e.Q6J("ngSwitchCase","item"))}function oe(ve,nt){}function _e(ve,nt){1&ve&&e.Hsn(0)}const Q=["inputElement"],He=["mirrorElement"];function Re(ve,nt){1&ve&&e._UZ(0,"span",3,4)}function lt(ve,nt){if(1&ve&&(e.TgZ(0,"div",4),e._uU(1),e.qZA()),2&ve){const x=e.oxw(2);e.xp6(1),e.Oqu(x.label)}}function Pe(ve,nt){if(1&ve&&e._uU(0),2&ve){const x=e.oxw(2);e.Oqu(x.label)}}function xt(ve,nt){if(1&ve&&(e.ynx(0),e.YNc(1,lt,2,1,"div",2),e.YNc(2,Pe,1,1,"ng-template",null,3,e.W1O),e.BQk()),2&ve){const x=e.MAs(3),N=e.oxw();e.xp6(1),e.Q6J("ngIf",N.deletable)("ngIfElse",x)}}function $e(ve,nt){1&ve&&e._UZ(0,"span",7)}function ot(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"span",5),e.NdJ("click",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onDelete(O))}),e.YNc(1,$e,1,0,"span",6),e.qZA()}if(2&ve){const x=e.oxw();e.xp6(1),e.Q6J("ngIf",!x.removeIcon)("ngIfElse",x.removeIcon)}}const mt=function(ve){return{$implicit:ve}};function we(ve,nt){if(1&ve&&(e.ynx(0),e._uU(1),e.BQk()),2&ve){const x=e.oxw();e.xp6(1),e.hij(" ",x.placeholder," ")}}function de(ve,nt){if(1&ve&&e._UZ(0,"nz-select-item",6),2&ve){const x=e.oxw(2);e.Q6J("deletable",!1)("disabled",!1)("removeIcon",x.removeIcon)("label",x.listOfTopItem[0].nzLabel)("contentTemplateOutlet",x.customTemplate)("contentTemplateOutletContext",x.listOfTopItem[0])}}function U(ve,nt){if(1&ve){const x=e.EpF();e.ynx(0),e.TgZ(1,"nz-select-search",4),e.NdJ("isComposingChange",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.isComposingChange(O))})("valueChange",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onInputValueChange(O))}),e.qZA(),e.YNc(2,de,1,6,"nz-select-item",5),e.BQk()}if(2&ve){const x=e.oxw();e.xp6(1),e.Q6J("nzId",x.nzId)("disabled",x.disabled)("value",x.inputValue)("showInput",x.showSearch)("mirrorSync",!1)("autofocus",x.autofocus)("focusTrigger",x.open),e.xp6(1),e.Q6J("ngIf",x.isShowSingleLabel)}}function B(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"nz-select-item",9),e.NdJ("delete",function(){const $=e.CHM(x).$implicit,L=e.oxw(2);return e.KtG(L.onDeleteItem($.contentTemplateOutletContext))}),e.qZA()}if(2&ve){const x=nt.$implicit,N=e.oxw(2);e.Q6J("removeIcon",N.removeIcon)("label",x.nzLabel)("disabled",x.nzDisabled||N.disabled)("contentTemplateOutlet",x.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",x.contentTemplateOutletContext)}}function Me(ve,nt){if(1&ve){const x=e.EpF();e.ynx(0),e.YNc(1,B,1,6,"nz-select-item",7),e.TgZ(2,"nz-select-search",8),e.NdJ("isComposingChange",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.isComposingChange(O))})("valueChange",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onInputValueChange(O))}),e.qZA(),e.BQk()}if(2&ve){const x=e.oxw();e.xp6(1),e.Q6J("ngForOf",x.listOfSlicedItem)("ngForTrackBy",x.trackValue),e.xp6(1),e.Q6J("nzId",x.nzId)("disabled",x.disabled)("value",x.inputValue)("autofocus",x.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",x.open)}}function Ae(ve,nt){if(1&ve&&e._UZ(0,"nz-select-placeholder",10),2&ve){const x=e.oxw();e.Q6J("placeholder",x.placeHolder)}}function Le(ve,nt){1&ve&&e._UZ(0,"span",1)}function ht(ve,nt){1&ve&&e._UZ(0,"span",3)}function Ot(ve,nt){1&ve&&e._UZ(0,"span",8)}function Lt(ve,nt){1&ve&&e._UZ(0,"span",9)}function Wt(ve,nt){if(1&ve&&(e.ynx(0),e.YNc(1,Ot,1,0,"span",6),e.YNc(2,Lt,1,0,"span",7),e.BQk()),2&ve){const x=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!x.search),e.xp6(1),e.Q6J("ngIf",x.search)}}function qt(ve,nt){if(1&ve&&e._UZ(0,"span",11),2&ve){const x=e.oxw().$implicit;e.Q6J("nzType",x)}}function en(ve,nt){if(1&ve&&(e.ynx(0),e.YNc(1,qt,1,1,"span",10),e.BQk()),2&ve){const x=nt.$implicit;e.xp6(1),e.Q6J("ngIf",x)}}function Vt(ve,nt){if(1&ve&&e.YNc(0,en,2,1,"ng-container",2),2&ve){const x=e.oxw(2);e.Q6J("nzStringTemplateOutlet",x.suffixIcon)}}function cn(ve,nt){if(1&ve&&(e.YNc(0,Wt,3,2,"ng-container",4),e.YNc(1,Vt,1,1,"ng-template",null,5,e.W1O)),2&ve){const x=e.MAs(2),N=e.oxw();e.Q6J("ngIf",N.showArrow&&!N.suffixIcon)("ngIfElse",x)}}function ft(ve,nt){if(1&ve&&(e.ynx(0),e._uU(1),e.BQk()),2&ve){const x=e.oxw();e.xp6(1),e.Oqu(x.feedbackIcon)}}function gt(ve,nt){if(1&ve&&e._UZ(0,"nz-form-item-feedback-icon",8),2&ve){const x=e.oxw(3);e.Q6J("status",x.status)}}function Ie(ve,nt){if(1&ve&&e.YNc(0,gt,1,1,"nz-form-item-feedback-icon",7),2&ve){const x=e.oxw(2);e.Q6J("ngIf",x.hasFeedback&&!!x.status)}}function Ct(ve,nt){if(1&ve&&(e.TgZ(0,"nz-select-arrow",5),e.YNc(1,Ie,1,1,"ng-template",null,6,e.W1O),e.qZA()),2&ve){const x=e.MAs(2),N=e.oxw();e.Q6J("showArrow",N.nzShowArrow)("loading",N.nzLoading)("search",N.nzOpen&&N.nzShowSearch)("suffixIcon",N.nzSuffixIcon)("feedbackIcon",x)}}function Nt(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"nz-select-clear",9),e.NdJ("clear",function(){e.CHM(x);const O=e.oxw();return e.KtG(O.onClearSelection())}),e.qZA()}if(2&ve){const x=e.oxw();e.Q6J("clearIcon",x.nzClearIcon)}}function kt(ve,nt){if(1&ve){const x=e.EpF();e.TgZ(0,"nz-option-container",10),e.NdJ("keydown",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onKeyDown(O))})("itemClick",function(O){e.CHM(x);const $=e.oxw();return e.KtG($.onItemClick(O))})("scrollToBottom",function(){e.CHM(x);const O=e.oxw();return e.KtG(O.nzScrollToBottom.emit())}),e.qZA()}if(2&ve){const x=e.oxw();e.ekj("ant-select-dropdown-placement-bottomLeft","bottomLeft"===x.dropDownPosition)("ant-select-dropdown-placement-topLeft","topLeft"===x.dropDownPosition)("ant-select-dropdown-placement-bottomRight","bottomRight"===x.dropDownPosition)("ant-select-dropdown-placement-topRight","topRight"===x.dropDownPosition),e.Q6J("ngStyle",x.nzDropdownStyle)("itemSize",x.nzOptionHeightPx)("maxItemLength",x.nzOptionOverflowSize)("matchWidth",x.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",!(null==x.noAnimation||!x.noAnimation.nzNoAnimation))("nzNoAnimation",null==x.noAnimation?null:x.noAnimation.nzNoAnimation)("listOfContainerItem",x.listOfContainerItem)("menuItemSelectedIcon",x.nzMenuItemSelectedIcon)("notFoundContent",x.nzNotFoundContent)("activatedValue",x.activatedValue)("listOfSelectedValue",x.listOfValue)("dropdownRender",x.nzDropdownRender)("compareWith",x.compareWith)("mode",x.nzMode)}}let St=(()=>{class ve{constructor(){this.nzLabel=null,this.changes=new n.x}ngOnChanges(){this.changes.next()}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[e.TTD],ngContentSelectors:pe,decls:1,vars:0,template:function(N,O){1&N&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return ve})(),qe=(()=>{class ve{constructor(x,N,O){this.elementRef=x,this.ngZone=N,this.destroy$=O,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new e.vpe,this.itemHover=new e.vpe}ngOnChanges(x){const{value:N,activatedValue:O,listOfSelectedValue:$}=x;(N||$)&&(this.selected=this.listOfSelectedValue.some(L=>this.compareWith(L,this.value))),(N||O)&&(this.activated=this.compareWith(this.activatedValue,this.value))}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,t.R)(this.elementRef.nativeElement,"click").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value))}),(0,t.R)(this.elementRef.nativeElement,"mouseenter").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value))})})}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(C.kn))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(N,O){2&N&&(e.uIk("title",O.label),e.ekj("ant-select-item-option-grouped",O.grouped)("ant-select-item-option-selected",O.selected&&!O.disabled)("ant-select-item-option-disabled",O.disabled)("ant-select-item-option-active",O.activated&&!O.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[e._Bn([C.kn]),e.TTD],decls:5,vars:3,consts:[[1,"ant-select-item-option-content"],[3,"ngIf","ngIfElse"],["noCustomContent",""],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(N,O){if(1&N&&(e.TgZ(0,"div",0),e.YNc(1,De,1,1,"ng-template",1),e.YNc(2,ae,1,1,"ng-template",null,2,e.W1O),e.qZA(),e.YNc(4,X,2,2,"div",3)),2&N){const $=e.MAs(3);e.xp6(1),e.Q6J("ngIf",O.customContent)("ngIfElse",$),e.xp6(3),e.Q6J("ngIf",O.showState&&O.selected)}},dependencies:[z.O5,z.tP,T.Ls,b.w],encapsulation:2,changeDetection:0})}return ve})(),Fe=(()=>{class ve{constructor(){this.nzLabel=null}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(N,O){1&N&&e.YNc(0,ne,2,1,"ng-container",0),2&N&&e.Q6J("nzStringTemplateOutlet",O.nzLabel)},dependencies:[D.f],encapsulation:2,changeDetection:0})}return ve})(),fe=(()=>{class ve{constructor(){this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new e.vpe,this.scrollToBottom=new e.vpe,this.scrolledIndex=0}onItemClick(x){this.itemClick.emit(x)}onItemHover(x){this.activatedValue=x}trackValue(x,N){return N.key}onScrolledIndexChange(x){this.scrolledIndex=x,x===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const x=this.listOfContainerItem.findIndex(N=>this.compareWith(N.key,this.activatedValue));(x=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(x||0)}ngOnChanges(x){const{listOfContainerItem:N,activatedValue:O}=x;(N||O)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option-container"]],viewQuery:function(N,O){if(1&N&&e.Gf(u.N7,7),2&N){let $;e.iGM($=e.CRH())&&(O.cdkVirtualScrollViewport=$.first)}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[e.TTD],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(N,O){1&N&&(e.TgZ(0,"div"),e.YNc(1,le,2,1,"div",0),e.TgZ(2,"cdk-virtual-scroll-viewport",1),e.NdJ("scrolledIndexChange",function(L){return O.onScrolledIndexChange(L)}),e.YNc(3,ke,3,3,"ng-template",2),e.qZA(),e.YNc(4,oe,0,0,"ng-template",3),e.qZA()),2&N&&(e.xp6(1),e.Q6J("ngIf",0===O.listOfContainerItem.length),e.xp6(1),e.Udp("height",O.listOfContainerItem.length*O.itemSize,"px")("max-height",O.itemSize*O.maxItemLength,"px"),e.ekj("full-width",!O.matchWidth),e.Q6J("itemSize",O.itemSize)("maxBufferPx",O.itemSize*O.maxItemLength)("minBufferPx",O.itemSize*O.maxItemLength),e.xp6(1),e.Q6J("cdkVirtualForOf",O.listOfContainerItem)("cdkVirtualForTrackBy",O.trackValue)("cdkVirtualForTemplateCacheSize",0),e.xp6(1),e.Q6J("ngTemplateOutlet",O.dropdownRender))},dependencies:[z.O5,z.tP,z.RF,z.n9,u.xd,u.x0,u.N7,M.gB,qe,Fe],encapsulation:2,changeDetection:0})}return ve})(),Xe=(()=>{class ve{constructor(x,N){this.nzOptionGroupComponent=x,this.destroy$=N,this.changes=new n.x,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe((0,v.O)(!0),(0,p.R)(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(St,8),e.Y36(C.kn))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-option"]],viewQuery:function(N,O){if(1&N&&e.Gf(e.Rgc,7),2&N){let $;e.iGM($=e.CRH())&&(O.template=$.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzKey:"nzKey",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[e._Bn([C.kn]),e.TTD],ngContentSelectors:pe,decls:1,vars:0,template:function(N,O){1&N&&(e.F$t(),e.YNc(0,_e,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return(0,y.gn)([(0,P.yF)()],ve.prototype,"nzDisabled",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzHide",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzCustomContent",void 0),ve})(),ge=(()=>{class ve{setCompositionState(x){this.isComposingChange.next(x)}onValueChange(x){this.value=x,this.valueChange.next(x),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const x=this.mirrorElement.nativeElement,N=this.elementRef.nativeElement,O=this.inputElement.nativeElement;this.renderer.removeStyle(N,"width"),this.renderer.setProperty(x,"textContent",`${O.value}\xa0`),this.renderer.setStyle(N,"width",`${x.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(x,N,O){this.elementRef=x,this.renderer=N,this.focusMonitor=O,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new e.vpe,this.isComposingChange=new e.vpe}ngOnChanges(x){const N=this.inputElement.nativeElement,{focusTrigger:O,showInput:$}=x;$&&(this.showInput?this.renderer.removeAttribute(N,"readonly"):this.renderer.setAttribute(N,"readonly","readonly")),O&&!0===O.currentValue&&!1===O.previousValue&&N.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Y.tE))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-search"]],viewQuery:function(N,O){if(1&N&&(e.Gf(Q,7),e.Gf(He,5)),2&N){let $;e.iGM($=e.CRH())&&(O.inputElement=$.first),e.iGM($=e.CRH())&&(O.mirrorElement=$.first)}},hostAttrs:[1,"ant-select-selection-search"],inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[e._Bn([{provide:k.ve,useValue:!1}]),e.TTD],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(N,O){1&N&&(e.TgZ(0,"input",0,1),e.NdJ("ngModelChange",function(L){return O.onValueChange(L)})("compositionstart",function(){return O.setCompositionState(!0)})("compositionend",function(){return O.setCompositionState(!1)}),e.qZA(),e.YNc(2,Re,2,0,"span",2)),2&N&&(e.Udp("opacity",O.showInput?null:0),e.Q6J("ngModel",O.value)("disabled",O.disabled),e.uIk("id",O.nzId)("autofocus",O.autofocus?"autofocus":null),e.xp6(2),e.Q6J("ngIf",O.mirrorSync))},dependencies:[z.O5,k.Fj,k.JJ,k.On],encapsulation:2,changeDetection:0})}return ve})(),je=(()=>{class ve{constructor(){this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new e.vpe}onDelete(x){x.preventDefault(),x.stopPropagation(),this.disabled||this.delete.next(x)}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(N,O){2&N&&(e.uIk("title",O.label),e.ekj("ant-select-selection-item-disabled",O.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(N,O){1&N&&(e.YNc(0,xt,4,2,"ng-container",0),e.YNc(1,ot,2,2,"span",1)),2&N&&(e.Q6J("nzStringTemplateOutlet",O.contentTemplateOutlet)("nzStringTemplateOutletContext",e.VKq(3,mt,O.contentTemplateOutletContext)),e.xp6(1),e.Q6J("ngIf",O.deletable&&!O.disabled))},dependencies:[z.O5,T.Ls,D.f,b.w],encapsulation:2,changeDetection:0})}return ve})(),Ye=(()=>{class ve{constructor(){this.placeholder=null}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(N,O){1&N&&e.YNc(0,we,2,1,"ng-container",0),2&N&&e.Q6J("nzStringTemplateOutlet",O.placeholder)},dependencies:[D.f],encapsulation:2,changeDetection:0})}return ve})(),We=(()=>{class ve{updateTemplateVariable(){const x=0===this.listOfTopItem.length;this.isShowPlaceholder=x&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!x&&!this.isComposing&&!this.inputValue}isComposingChange(x){this.isComposing=x,this.updateTemplateVariable()}onInputValueChange(x){x!==this.inputValue&&(this.inputValue=x,this.updateTemplateVariable(),this.inputValueChange.emit(x),this.tokenSeparate(x,this.tokenSeparators))}tokenSeparate(x,N){if(x&&x.length&&N.length&&"default"!==this.mode&&((L,he)=>{for(let Ce=0;Ce0)return!0;return!1})(x,N)){const L=((L,he)=>{const Ce=new RegExp(`[${he.join()}]`),Dt=L.split(Ce).filter(Yt=>Yt);return[...new Set(Dt)]})(x,N);this.tokenize.next(L)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(x,N){return N.nzValue}onDeleteItem(x){!this.disabled&&!x.nzDisabled&&this.deleteItem.next(x)}constructor(x,N,O){this.elementRef=x,this.ngZone=N,this.noAnimation=O,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new e.vpe,this.inputValueChange=new e.vpe,this.deleteItem=new e.vpe,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.destroy$=new n.x}ngOnChanges(x){const{listOfTopItem:N,maxTagCount:O,customTemplate:$,maxTagPlaceholder:L}=x;if(N&&this.updateTemplateVariable(),N||O||$||L){const he=this.listOfTopItem.slice(0,this.maxTagCount).map(Ce=>({nzLabel:Ce.nzLabel,nzValue:Ce.nzValue,nzDisabled:Ce.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:Ce}));if(this.listOfTopItem.length>this.maxTagCount){const Ce=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,Dt=this.listOfTopItem.map(rn=>rn.nzValue),Yt={nzLabel:Ce,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:Dt.slice(this.maxTagCount)};he.push(Yt)}this.listOfSlicedItem=he}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,t.R)(this.elementRef.nativeElement,"click").pipe((0,p.R)(this.destroy$)).subscribe(x=>{x.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus()}),(0,t.R)(this.elementRef.nativeElement,"keydown").pipe((0,p.R)(this.destroy$)).subscribe(x=>{x.target instanceof HTMLInputElement&&x.keyCode===S.ZH&&"default"!==this.mode&&!x.target.value&&this.listOfTopItem.length>0&&(x.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])))})})}ngOnDestroy(){this.destroy$.next()}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(G.P,9))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-top-control"]],viewQuery:function(N,O){if(1&N&&e.Gf(ge,5),2&N){let $;e.iGM($=e.CRH())&&(O.nzSelectSearchComponent=$.first)}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[e.TTD],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(N,O){1&N&&(e.ynx(0,0),e.YNc(1,U,3,8,"ng-container",1),e.YNc(2,Me,3,9,"ng-container",2),e.BQk(),e.YNc(3,Ae,1,1,"nz-select-placeholder",3)),2&N&&(e.Q6J("ngSwitch",O.mode),e.xp6(1),e.Q6J("ngSwitchCase","default"),e.xp6(2),e.Q6J("ngIf",O.isShowPlaceholder))},dependencies:[z.sg,z.O5,z.RF,z.n9,z.ED,b.w,ge,je,Ye],encapsulation:2,changeDetection:0})}return ve})(),wt=(()=>{class ve{constructor(){this.clearIcon=null,this.clear=new e.vpe}onClick(x){x.preventDefault(),x.stopPropagation(),this.clear.emit(x)}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(N,O){1&N&&e.NdJ("click",function(L){return O.onClick(L)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(N,O){1&N&&e.YNc(0,Le,1,0,"span",0),2&N&&e.Q6J("ngIf",!O.clearIcon)("ngIfElse",O.clearIcon)},dependencies:[z.O5,T.Ls,b.w],encapsulation:2,changeDetection:0})}return ve})(),Ee=(()=>{class ve{constructor(){this.loading=!1,this.search=!1,this.showArrow=!1,this.suffixIcon=null,this.feedbackIcon=null}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(N,O){2&N&&e.ekj("ant-select-arrow-loading",O.loading)},inputs:{loading:"loading",search:"search",showArrow:"showArrow",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon"},decls:4,vars:3,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(N,O){if(1&N&&(e.YNc(0,ht,1,0,"span",0),e.YNc(1,cn,3,2,"ng-template",null,1,e.W1O),e.YNc(3,ft,2,1,"ng-container",2)),2&N){const $=e.MAs(2);e.Q6J("ngIf",O.loading)("ngIfElse",$),e.xp6(3),e.Q6J("nzStringTemplateOutlet",O.feedbackIcon)}},dependencies:[z.O5,T.Ls,D.f,b.w],encapsulation:2,changeDetection:0})}return ve})();const be=(ve,nt)=>!(!nt||!nt.nzLabel)&&nt.nzLabel.toString().toLowerCase().indexOf(ve.toLowerCase())>-1;let Ke=(()=>{class ve{set nzShowArrow(x){this._nzShowArrow=x}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(x){return{nzValue:x,nzLabel:x,type:"item"}}onItemClick(x){if(this.activatedValue=x,"default"===this.nzMode)(0===this.listOfValue.length||!this.compareWith(this.listOfValue[0],x))&&this.updateListOfValue([x]),this.setOpenState(!1);else{const N=this.listOfValue.findIndex(O=>this.compareWith(O,x));if(-1!==N){const O=this.listOfValue.filter(($,L)=>L!==N);this.updateListOfValue(O)}else if(this.listOfValue.length!this.compareWith(O,x.nzValue));this.updateListOfValue(N),this.clearInput()}updateListOfContainerItem(){let x=this.listOfTagAndTemplateItem.filter($=>!$.nzHide).filter($=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,$));if("tags"===this.nzMode&&this.searchValue){const $=this.listOfTagAndTemplateItem.find(L=>L.nzLabel===this.searchValue);if($)this.activatedValue=$.nzValue;else{const L=this.generateTagItem(this.searchValue);x=[L,...x],this.activatedValue=L.nzValue}}const N=x.find($=>$.nzLabel===this.searchValue)||x.find($=>this.compareWith($.nzValue,this.activatedValue))||x.find($=>this.compareWith($.nzValue,this.listOfValue[0]))||x[0];this.activatedValue=N&&N.nzValue||null;let O=[];this.isReactiveDriven?O=[...new Set(this.nzOptions.filter($=>$.groupLabel).map($=>$.groupLabel))]:this.listOfNzOptionGroupComponent&&(O=this.listOfNzOptionGroupComponent.map($=>$.nzLabel)),O.forEach($=>{const L=x.findIndex(he=>$===he.groupLabel);L>-1&&x.splice(L,0,{groupLabel:$,type:"group",key:$})}),this.listOfContainerItem=[...x],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(x){const O=(($,L)=>"default"===this.nzMode?$.length>0?$[0]:null:$)(x);this.value!==O&&(this.listOfValue=x,this.listOfValue$.next(x),this.value=O,this.onChange(this.value))}onTokenSeparate(x){const N=this.listOfTagAndTemplateItem.filter(O=>-1!==x.findIndex($=>$===O.nzLabel)).map(O=>O.nzValue).filter(O=>-1===this.listOfValue.findIndex($=>this.compareWith($,O)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...N]);else if("tags"===this.nzMode){const O=x.filter($=>-1===this.listOfTagAndTemplateItem.findIndex(L=>L.nzLabel===$));this.updateListOfValue([...this.listOfValue,...N,...O])}this.clearInput()}onKeyDown(x){if(this.nzDisabled)return;const N=this.listOfContainerItem.filter($=>"item"===$.type).filter($=>!$.nzDisabled),O=N.findIndex($=>this.compareWith($.nzValue,this.activatedValue));switch(x.keyCode){case S.LH:x.preventDefault(),this.nzOpen&&N.length>0&&(this.activatedValue=N[O>0?O-1:N.length-1].nzValue);break;case S.JH:x.preventDefault(),this.nzOpen&&N.length>0?this.activatedValue=N[O{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,x!==this.triggerWidth&&this.cdr.detectChanges()})}}updateCdkConnectedOverlayPositions(){(0,ze.e)(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}constructor(x,N,O,$,L,he,Ce,Dt,Yt,rn,hn,yn){this.ngZone=x,this.destroy$=N,this.nzConfigService=O,this.cdr=$,this.host=L,this.renderer=he,this.platform=Ce,this.focusMonitor=Dt,this.directionality=Yt,this.noAnimation=rn,this.nzFormStatusService=hn,this.nzFormNoStatusService=yn,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzStatus="",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzPlacement=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=be,this.compareWith=(Mn,En)=>Mn===En,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzSelectOnTab=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new e.vpe,this.nzScrollToBottom=new e.vpe,this.nzOpenChange=new e.vpe,this.nzBlur=new e.vpe,this.nzFocus=new e.vpe,this.listOfValue$=new i.X([]),this.listOfTemplateItem$=new i.X([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.requestId=-1,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottomLeft",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.positions=[],this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1}writeValue(x){if(this.value!==x){this.value=x;const O=(($,L)=>null==$?[]:"default"===this.nzMode?[$]:$)(x);this.listOfValue=O,this.listOfValue$.next(O),this.cdr.markForCheck()}}registerOnChange(x){this.onChange=x}registerOnTouched(x){this.onTouched=x}setDisabledState(x){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||x,this.isNzDisableFirstChange=!1,this.nzDisabled&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(x){const{nzOpen:N,nzDisabled:O,nzOptions:$,nzStatus:L,nzPlacement:he}=x;if(N&&this.onOpenChange(),O&&this.nzDisabled&&this.setOpenState(!1),$){this.isReactiveDriven=!0;const Dt=(this.nzOptions||[]).map(Yt=>({template:Yt.label instanceof e.Rgc?Yt.label:null,nzLabel:"string"==typeof Yt.label||"number"==typeof Yt.label?Yt.label:null,nzValue:Yt.value,nzDisabled:Yt.disabled||!1,nzHide:Yt.hide||!1,nzCustomContent:Yt.label instanceof e.Rgc,groupLabel:Yt.groupLabel||null,type:"item",key:void 0===Yt.key?Yt.value:Yt.key}));this.listOfTemplateItem$.next(Dt)}if(L&&this.setStatusStyles(this.nzStatus,this.hasFeedback),he){const{currentValue:Ce}=he;this.dropDownPosition=Ce;const Dt=["bottomLeft","topLeft","bottomRight","topRight"];this.positions=Ce&&Dt.includes(Ce)?[j.yW[Ce]]:Dt.map(Yt=>j.yW[Yt])}}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,_.x)((x,N)=>x.status===N.status&&x.hasFeedback===N.hasFeedback),(0,d.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,l.of)(!1)),(0,m.U)(([{status:x,hasFeedback:N},O])=>({status:O?"":x,hasFeedback:N})),(0,p.R)(this.destroy$)).subscribe(({status:x,hasFeedback:N})=>{this.setStatusStyles(x,N)}),this.focusMonitor.monitor(this.host,!0).pipe((0,p.R)(this.destroy$)).subscribe(x=>{x?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),(0,h.a)([this.listOfValue$,this.listOfTemplateItem$]).pipe((0,p.R)(this.destroy$)).subscribe(([x,N])=>{const O=x.filter(()=>"tags"===this.nzMode).filter($=>-1===N.findIndex(L=>this.compareWith(L.nzValue,$))).map($=>this.listOfTopItem.find(L=>this.compareWith(L.nzValue,$))||this.generateTagItem($));this.listOfTagAndTemplateItem=[...N,...O],this.listOfTopItem=this.listOfValue.map($=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(L=>this.compareWith($,L.nzValue))).filter($=>!!$),this.updateListOfContainerItem()}),this.directionality.change?.pipe((0,p.R)(this.destroy$)).subscribe(x=>{this.dir=x,this.cdr.detectChanges()}),this.nzConfigService.getConfigChangeEventForComponent("select").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>(0,t.R)(this.host.nativeElement,"click").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen))})),this.cdkConnectedOverlay.overlayKeydown.pipe((0,p.R)(this.destroy$)).subscribe(x=>{x.keyCode===S.hY&&this.setOpenState(!1)})}ngAfterContentInit(){this.isReactiveDriven||(0,E.T)(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe((0,v.O)(!0),(0,f.w)(()=>(0,E.T)(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(x=>x.changes),...this.listOfNzOptionGroupComponent.map(x=>x.changes)).pipe((0,v.O)(!0))),(0,p.R)(this.destroy$)).subscribe(()=>{const x=this.listOfNzOptionComponent.toArray().map(N=>{const{template:O,nzLabel:$,nzValue:L,nzKey:he,nzDisabled:Ce,nzHide:Dt,nzCustomContent:Yt,groupLabel:rn}=N;return{template:O,nzLabel:$,nzValue:L,nzDisabled:Ce,nzHide:Dt,nzCustomContent:Yt,groupLabel:rn,type:"item",key:void 0===he?L:he}});this.listOfTemplateItem$.next(x),this.cdr.markForCheck()})}ngOnDestroy(){(0,ze.h)(this.requestId),this.focusMonitor.stopMonitoring(this.host)}setStatusStyles(x,N){this.status=x,this.hasFeedback=N,this.cdr.markForCheck(),this.statusCls=(0,P.Zu)(this.prefixCls,x,N),Object.keys(this.statusCls).forEach(O=>{this.statusCls[O]?this.renderer.addClass(this.host.nativeElement,O):this.renderer.removeClass(this.host.nativeElement,O)})}static#e=this.\u0275fac=function(N){return new(N||ve)(e.Y36(e.R0b),e.Y36(C.kn),e.Y36(W.jY),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(V.t4),e.Y36(Y.tE),e.Y36(K.Is,8),e.Y36(G.P,9),e.Y36(ee.kH,8),e.Y36(ee.yW,8))};static#t=this.\u0275cmp=e.Xpm({type:ve,selectors:[["nz-select"]],contentQueries:function(N,O,$){if(1&N&&(e.Suo($,Xe,5),e.Suo($,St,5)),2&N){let L;e.iGM(L=e.CRH())&&(O.listOfNzOptionComponent=L),e.iGM(L=e.CRH())&&(O.listOfNzOptionGroupComponent=L)}},viewQuery:function(N,O){if(1&N&&(e.Gf(A.xu,7,e.SBq),e.Gf(A.pI,7),e.Gf(We,7),e.Gf(St,7,e.SBq),e.Gf(We,7,e.SBq)),2&N){let $;e.iGM($=e.CRH())&&(O.originElement=$.first),e.iGM($=e.CRH())&&(O.cdkConnectedOverlay=$.first),e.iGM($=e.CRH())&&(O.nzSelectTopControlComponent=$.first),e.iGM($=e.CRH())&&(O.nzOptionGroupComponentElement=$.first),e.iGM($=e.CRH())&&(O.nzSelectTopControlComponentElement=$.first)}},hostAttrs:[1,"ant-select"],hostVars:26,hostBindings:function(N,O){2&N&&e.ekj("ant-select-in-form-item",!!O.nzFormStatusService)("ant-select-lg","large"===O.nzSize)("ant-select-sm","small"===O.nzSize)("ant-select-show-arrow",O.nzShowArrow)("ant-select-disabled",O.nzDisabled)("ant-select-show-search",(O.nzShowSearch||"default"!==O.nzMode)&&!O.nzDisabled)("ant-select-allow-clear",O.nzAllowClear)("ant-select-borderless",O.nzBorderless)("ant-select-open",O.nzOpen)("ant-select-focused",O.nzOpen||O.focused)("ant-select-single","default"===O.nzMode)("ant-select-multiple","default"!==O.nzMode)("ant-select-rtl","rtl"===O.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzPlacement:"nzPlacement",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzSelectOnTab:"nzSelectOnTab",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[e._Bn([C.kn,{provide:k.JU,useExisting:(0,e.Gpc)(()=>ve),multi:!0}]),e.TTD],decls:5,vars:25,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","overlayOutsideClick","detach","positionChange"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon"],["feedbackIconTpl",""],[3,"status",4,"ngIf"],[3,"status"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(N,O){if(1&N&&(e.TgZ(0,"nz-select-top-control",0,1),e.NdJ("inputValueChange",function(L){return O.onInputValueChange(L)})("tokenize",function(L){return O.onTokenSeparate(L)})("deleteItem",function(L){return O.onItemDelete(L)})("keydown",function(L){return O.onKeyDown(L)}),e.qZA(),e.YNc(2,Ct,3,5,"nz-select-arrow",2),e.YNc(3,Nt,1,1,"nz-select-clear",3),e.YNc(4,kt,1,23,"ng-template",4),e.NdJ("overlayOutsideClick",function(L){return O.onClickOutside(L)})("detach",function(){return O.setOpenState(!1)})("positionChange",function(L){return O.onPositionChange(L)})),2&N){const $=e.MAs(1);e.Q6J("nzId",O.nzId)("open",O.nzOpen)("disabled",O.nzDisabled)("mode",O.nzMode)("@.disabled",!(null==O.noAnimation||!O.noAnimation.nzNoAnimation))("nzNoAnimation",null==O.noAnimation?null:O.noAnimation.nzNoAnimation)("maxTagPlaceholder",O.nzMaxTagPlaceholder)("removeIcon",O.nzRemoveIcon)("placeHolder",O.nzPlaceHolder)("maxTagCount",O.nzMaxTagCount)("customTemplate",O.nzCustomTemplate)("tokenSeparators",O.nzTokenSeparators)("showSearch",O.nzShowSearch)("autofocus",O.nzAutoFocus)("listOfTopItem",O.listOfTopItem),e.xp6(2),e.Q6J("ngIf",O.nzShowArrow||O.hasFeedback&&!!O.status),e.xp6(1),e.Q6J("ngIf",O.nzAllowClear&&!O.nzDisabled&&O.listOfValue.length),e.xp6(1),e.Q6J("cdkConnectedOverlayHasBackdrop",O.nzBackdrop)("cdkConnectedOverlayMinWidth",O.nzDropdownMatchSelectWidth?null:O.triggerWidth)("cdkConnectedOverlayWidth",O.nzDropdownMatchSelectWidth?O.triggerWidth:null)("cdkConnectedOverlayOrigin",$)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",O.nzDropdownClassName)("cdkConnectedOverlayOpen",O.nzOpen)("cdkConnectedOverlayPositions",O.positions)}},dependencies:[z.O5,z.PC,A.pI,A.xu,j.hQ,G.P,b.w,ee.w_,fe,We,wt,Ee],encapsulation:2,data:{animation:[R.mF]},changeDetection:0})}return(0,y.gn)([(0,W.oS)()],ve.prototype,"nzSuffixIcon",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzAllowClear",void 0),(0,y.gn)([(0,W.oS)(),(0,P.yF)()],ve.prototype,"nzBorderless",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzShowSearch",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzLoading",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzAutoFocus",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzAutoClearSearchValue",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzServerSearch",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzDisabled",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzOpen",void 0),(0,y.gn)([(0,P.yF)()],ve.prototype,"nzSelectOnTab",void 0),(0,y.gn)([(0,W.oS)(),(0,P.yF)()],ve.prototype,"nzBackdrop",void 0),ve})(),Ze=(()=>{class ve{static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275mod=e.oAB({type:ve});static#n=this.\u0275inj=e.cJS({imports:[K.vT,z.ez,te.YI,k.u5,V.ud,A.U8,T.PV,D.T,M.Xo,j.e4,G.g,b.a,ee.mJ,u.Cl,Y.rt]})}return ve})()},24139:(tt,I,o)=>{"use strict";o.d(I,{H0:()=>S,ng:()=>P});var e=o(65879),n=o(27754),t=o(96814),i=o(97582),l=o(49388);const E=["nzType","avatar"];function M(A,k){if(1&A&&(e.TgZ(0,"div",5),e._UZ(1,"nz-skeleton-element",6),e.qZA()),2&A){const R=e.oxw(2);e.xp6(1),e.Q6J("nzSize",R.avatar.size||"default")("nzShape",R.avatar.shape||"circle")}}function p(A,k){if(1&A&&e._UZ(0,"h3",7),2&A){const R=e.oxw(2);e.Udp("width",R.toCSSUnit(R.title.width))}}function v(A,k){if(1&A&&e._UZ(0,"li"),2&A){const R=k.index,W=e.oxw(3);e.Udp("width",W.toCSSUnit(W.widthList[R]))}}function _(A,k){if(1&A&&(e.TgZ(0,"ul",8),e.YNc(1,v,1,2,"li",9),e.qZA()),2&A){const R=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",R.rowsList)}}function d(A,k){if(1&A&&(e.ynx(0),e.YNc(1,M,2,2,"div",1),e.TgZ(2,"div",2),e.YNc(3,p,1,2,"h3",3),e.YNc(4,_,2,1,"ul",4),e.qZA(),e.BQk()),2&A){const R=e.oxw();e.xp6(1),e.Q6J("ngIf",!!R.nzAvatar),e.xp6(2),e.Q6J("ngIf",!!R.nzTitle),e.xp6(1),e.Q6J("ngIf",!!R.nzParagraph)}}function m(A,k){1&A&&(e.ynx(0),e.Hsn(1),e.BQk())}const f=["*"];let C=(()=>{class A{constructor(){this.nzActive=!1,this.nzBlock=!1}static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275dir=e.lG2({type:A,selectors:[["nz-skeleton-element"]],hostAttrs:[1,"ant-skeleton","ant-skeleton-element"],hostVars:4,hostBindings:function(W,j){2&W&&e.ekj("ant-skeleton-active",j.nzActive)("ant-skeleton-block",j.nzBlock)},inputs:{nzActive:"nzActive",nzType:"nzType",nzBlock:"nzBlock"}})}return(0,i.gn)([(0,n.yF)()],A.prototype,"nzBlock",void 0),A})(),b=(()=>{class A{constructor(){this.nzShape="circle",this.nzSize="default",this.styleMap={}}ngOnChanges(R){if(R.nzSize&&"number"==typeof this.nzSize){const W=`${this.nzSize}px`;this.styleMap={width:W,height:W,"line-height":W}}else this.styleMap={}}static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275cmp=e.Xpm({type:A,selectors:[["nz-skeleton-element","nzType","avatar"]],inputs:{nzShape:"nzShape",nzSize:"nzSize"},features:[e.TTD],attrs:E,decls:1,vars:9,consts:[[1,"ant-skeleton-avatar",3,"ngStyle"]],template:function(W,j){1&W&&e._UZ(0,"span",0),2&W&&(e.ekj("ant-skeleton-avatar-square","square"===j.nzShape)("ant-skeleton-avatar-circle","circle"===j.nzShape)("ant-skeleton-avatar-lg","large"===j.nzSize)("ant-skeleton-avatar-sm","small"===j.nzSize),e.Q6J("ngStyle",j.styleMap))},dependencies:[t.PC],encapsulation:2,changeDetection:0})}return A})(),P=(()=>{class A{constructor(R){this.cdr=R,this.nzActive=!1,this.nzLoading=!0,this.nzRound=!1,this.nzTitle=!0,this.nzAvatar=!1,this.nzParagraph=!0,this.rowsList=[],this.widthList=[]}toCSSUnit(R=""){return(0,n.WX)(R)}getTitleProps(){const R=!!this.nzAvatar,W=!!this.nzParagraph;let j="";return!R&&W?j="38%":R&&W&&(j="50%"),{width:j,...this.getProps(this.nzTitle)}}getAvatarProps(){return{shape:this.nzTitle&&!this.nzParagraph?"square":"circle",size:"large",...this.getProps(this.nzAvatar)}}getParagraphProps(){const R=!!this.nzAvatar,W=!!this.nzTitle,j={};return(!R||!W)&&(j.width="61%"),j.rows=!R&&W?3:2,{...j,...this.getProps(this.nzParagraph)}}getProps(R){return R&&"object"==typeof R?R:{}}getWidthList(){const{width:R,rows:W}=this.paragraph;let j=[];return R&&Array.isArray(R)?j=R:R&&!Array.isArray(R)&&(j=[],j[W-1]=R),j}updateProps(){this.title=this.getTitleProps(),this.avatar=this.getAvatarProps(),this.paragraph=this.getParagraphProps(),this.rowsList=[...Array(this.paragraph.rows)],this.widthList=this.getWidthList(),this.cdr.markForCheck()}ngOnInit(){this.updateProps()}ngOnChanges(R){(R.nzTitle||R.nzAvatar||R.nzParagraph)&&this.updateProps()}static#e=this.\u0275fac=function(W){return new(W||A)(e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:A,selectors:[["nz-skeleton"]],hostAttrs:[1,"ant-skeleton"],hostVars:6,hostBindings:function(W,j){2&W&&e.ekj("ant-skeleton-with-avatar",!!j.nzAvatar)("ant-skeleton-active",j.nzActive)("ant-skeleton-round",!!j.nzRound)},inputs:{nzActive:"nzActive",nzLoading:"nzLoading",nzRound:"nzRound",nzTitle:"nzTitle",nzAvatar:"nzAvatar",nzParagraph:"nzParagraph"},exportAs:["nzSkeleton"],features:[e.TTD],ngContentSelectors:f,decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-skeleton-header",4,"ngIf"],[1,"ant-skeleton-content"],["class","ant-skeleton-title",3,"width",4,"ngIf"],["class","ant-skeleton-paragraph",4,"ngIf"],[1,"ant-skeleton-header"],["nzType","avatar",3,"nzSize","nzShape"],[1,"ant-skeleton-title"],[1,"ant-skeleton-paragraph"],[3,"width",4,"ngFor","ngForOf"]],template:function(W,j){1&W&&(e.F$t(),e.YNc(0,d,5,3,"ng-container",0),e.YNc(1,m,2,0,"ng-container",0)),2&W&&(e.Q6J("ngIf",j.nzLoading),e.xp6(1),e.Q6J("ngIf",!j.nzLoading))},dependencies:[t.sg,t.O5,C,b],encapsulation:2,changeDetection:0})}return A})(),S=(()=>{class A{static#e=this.\u0275fac=function(W){return new(W||A)};static#t=this.\u0275mod=e.oAB({type:A});static#n=this.\u0275inj=e.cJS({imports:[l.vT,t.ez]})}return A})()},20012:(tt,I,o)=>{"use strict";o.d(I,{N3:()=>De,jS:()=>G});var e=o(97582),n=o(36028),t=o(65879),i=o(60095),l=o(78645),h=o(92438),E=o(63019),u=o(59773),z=o(32181),M=o(99397),p=o(37398),v=o(93997),_=o(27754),d=o(96109),m=o(96814),f=o(62831),C=o(49388);const T=["handle"];function b(ce,X){if(1&ce&&t._UZ(0,"span",2),2&ce){const ne=X.$implicit;t.ekj("ant-slider-dot-active",ne.active),t.Q6J("ngStyle",ne.style)}}function D(ce,X){if(1&ce&&t._UZ(0,"span",2),2&ce){const ne=X.$implicit;t.ekj("ant-slider-mark-active",ne.active),t.Q6J("ngStyle",ne.style)("innerHTML",ne.label,t.oJD)}}const y=["slider"];function P(ce,X){if(1&ce&&t._UZ(0,"nz-slider-step",6),2&ce){const ne=t.oxw();t.Q6J("vertical",ne.nzVertical)("min",ne.nzMin)("max",ne.nzMax)("lowerBound",ne.bounds.lower)("upperBound",ne.bounds.upper)("marksArray",ne.marksArray)("included",ne.nzIncluded)("reverse",ne.nzReverse)}}function S(ce,X){if(1&ce){const ne=t.EpF();t.TgZ(0,"nz-slider-handle",7),t.NdJ("focusin",function(){const Ne=t.CHM(ne).index,ke=t.oxw();return t.KtG(ke.onHandleFocusIn(Ne))}),t.qZA()}if(2&ce){const ne=X.$implicit,le=t.oxw();t.Q6J("vertical",le.nzVertical)("reverse",le.nzReverse)("offset",ne.offset)("value",ne.value)("active",ne.active)("tooltipFormatter",le.nzTipFormatter)("tooltipVisible",le.nzTooltipVisible)("tooltipPlacement",le.nzTooltipPlacement)("dir",le.dir)}}function A(ce,X){if(1&ce&&t._UZ(0,"nz-slider-marks",6),2&ce){const ne=t.oxw();t.Q6J("vertical",ne.nzVertical)("min",ne.nzMin)("max",ne.nzMax)("lowerBound",ne.bounds.lower)("upperBound",ne.bounds.upper)("marksArray",ne.marksArray)("included",ne.nzIncluded)("reverse",ne.nzReverse)}}let k=(()=>{class ce{constructor(){this.isDragging=!1}static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac})}return ce})(),R=(()=>{class ce{constructor(ne,le){this.sliderService=ne,this.cdr=le,this.tooltipVisible="default",this.active=!1,this.dir="ltr",this.style={},this.enterHandle=()=>{this.sliderService.isDragging||(this.toggleTooltip(!0),this.updateTooltipPosition(),this.cdr.detectChanges())},this.leaveHandle=()=>{this.sliderService.isDragging||(this.toggleTooltip(!1),this.cdr.detectChanges())}}ngOnChanges(ne){const{offset:le,value:Se,active:Ne,tooltipVisible:ke,reverse:oe,dir:_e}=ne;(le||oe||_e)&&this.updateStyle(),Se&&(this.updateTooltipTitle(),this.updateTooltipPosition()),Ne&&this.toggleTooltip(!!Ne.currentValue),"always"===ke?.currentValue&&Promise.resolve().then(()=>this.toggleTooltip(!0,!0))}focus(){this.handleEl?.nativeElement.focus()}toggleTooltip(ne,le=!1){!le&&("default"!==this.tooltipVisible||!this.tooltip)||(ne?this.tooltip?.show():this.tooltip?.hide())}updateTooltipTitle(){this.tooltipTitle=this.tooltipFormatter?this.tooltipFormatter(this.value):`${this.value}`}updateTooltipPosition(){this.tooltip&&Promise.resolve().then(()=>this.tooltip?.updatePosition())}updateStyle(){const le=this.reverse,Ne=this.vertical?{[le?"top":"bottom"]:`${this.offset}%`,[le?"bottom":"top"]:"auto",transform:le?null:"translateY(+50%)"}:{...this.getHorizontalStylePosition(),transform:`translateX(${le?"rtl"===this.dir?"-":"+":"rtl"===this.dir?"+":"-"}50%)`};this.style=Ne,this.cdr.markForCheck()}getHorizontalStylePosition(){let ne=this.reverse?"auto":`${this.offset}%`,le=this.reverse?`${this.offset}%`:"auto";if("rtl"===this.dir){const Se=ne;ne=le,le=Se}return{left:ne,right:le}}static#e=this.\u0275fac=function(le){return new(le||ce)(t.Y36(k),t.Y36(t.sBO))};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider-handle"]],viewQuery:function(le,Se){if(1&le&&(t.Gf(T,5),t.Gf(d.SY,5)),2&le){let Ne;t.iGM(Ne=t.CRH())&&(Se.handleEl=Ne.first),t.iGM(Ne=t.CRH())&&(Se.tooltip=Ne.first)}},hostBindings:function(le,Se){1&le&&t.NdJ("mouseenter",function(){return Se.enterHandle()})("mouseleave",function(){return Se.leaveHandle()})},inputs:{vertical:"vertical",reverse:"reverse",offset:"offset",value:"value",tooltipVisible:"tooltipVisible",tooltipPlacement:"tooltipPlacement",tooltipFormatter:"tooltipFormatter",active:"active",dir:"dir"},exportAs:["nzSliderHandle"],features:[t.TTD],decls:2,vars:4,consts:[["tabindex","0","nz-tooltip","",1,"ant-slider-handle",3,"ngStyle","nzTooltipTitle","nzTooltipTrigger","nzTooltipPlacement"],["handle",""]],template:function(le,Se){1&le&&t._UZ(0,"div",0,1),2&le&&t.Q6J("ngStyle",Se.style)("nzTooltipTitle",null===Se.tooltipFormatter||"never"===Se.tooltipVisible?null:Se.tooltipTitle)("nzTooltipTrigger",null)("nzTooltipPlacement",Se.tooltipPlacement)},dependencies:[m.PC,d.SY],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.yF)()],ce.prototype,"active",void 0),ce})(),W=(()=>{class ce{constructor(){this.offset=0,this.reverse=!1,this.dir="ltr",this.length=0,this.vertical=!1,this.included=!1,this.style={}}ngOnChanges(){const le=this.reverse,Se=this.included?"visible":"hidden",ke=this.length,oe=this.vertical?{[le?"top":"bottom"]:`${this.offset}%`,[le?"bottom":"top"]:"auto",height:`${ke}%`,visibility:Se}:{...this.getHorizontalStylePosition(),width:`${ke}%`,visibility:Se};this.style=oe}getHorizontalStylePosition(){let ne=this.reverse?"auto":`${this.offset}%`,le=this.reverse?`${this.offset}%`:"auto";if("rtl"===this.dir){const Se=ne;ne=le,le=Se}return{left:ne,right:le}}static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider-track"]],inputs:{offset:"offset",reverse:"reverse",dir:"dir",length:"length",vertical:"vertical",included:"included"},exportAs:["nzSliderTrack"],features:[t.TTD],decls:1,vars:1,consts:[[1,"ant-slider-track",3,"ngStyle"]],template:function(le,Se){1&le&&t._UZ(0,"div",0),2&le&&t.Q6J("ngStyle",Se.style)},dependencies:[m.PC],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.Rn)()],ce.prototype,"offset",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"reverse",void 0),(0,e.gn)([(0,_.Rn)()],ce.prototype,"length",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"vertical",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"included",void 0),ce})(),j=(()=>{class ce{constructor(){this.lowerBound=null,this.upperBound=null,this.marksArray=[],this.vertical=!1,this.included=!1,this.steps=[]}ngOnChanges(ne){const{marksArray:le,lowerBound:Se,upperBound:Ne,reverse:ke}=ne;(le||ke)&&this.buildSteps(),(le||Se||Ne||ke)&&this.togglePointActive()}trackById(ne,le){return le.value}buildSteps(){const ne=this.vertical?"bottom":"left";this.steps=this.marksArray.map(le=>{const{value:Se,config:Ne}=le;let ke=le.offset;return this.reverse&&(ke=(this.max-Se)/(this.max-this.min)*100),{value:Se,offset:ke,config:Ne,active:!1,style:{[ne]:`${ke}%`}}})}togglePointActive(){this.steps&&null!==this.lowerBound&&null!==this.upperBound&&this.steps.forEach(ne=>{const le=ne.value;ne.active=!this.included&&le===this.upperBound||this.included&&le<=this.upperBound&&le>=this.lowerBound})}static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider-step"]],inputs:{lowerBound:"lowerBound",upperBound:"upperBound",marksArray:"marksArray",min:"min",max:"max",vertical:"vertical",included:"included",reverse:"reverse"},exportAs:["nzSliderStep"],features:[t.TTD],decls:2,vars:2,consts:[[1,"ant-slider-step"],["class","ant-slider-dot",3,"ant-slider-dot-active","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-slider-dot",3,"ngStyle"]],template:function(le,Se){1&le&&(t.TgZ(0,"div",0),t.YNc(1,b,1,3,"span",1),t.qZA()),2&le&&(t.xp6(1),t.Q6J("ngForOf",Se.steps)("ngForTrackBy",Se.trackById))},dependencies:[m.sg,m.PC],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.yF)()],ce.prototype,"vertical",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"included",void 0),ce})(),ze=(()=>{class ce{constructor(){this.lowerBound=null,this.upperBound=null,this.marksArray=[],this.vertical=!1,this.included=!1,this.marks=[]}ngOnChanges(ne){const{marksArray:le,lowerBound:Se,upperBound:Ne,reverse:ke}=ne;(le||ke)&&this.buildMarks(),(le||Se||Ne||ke)&&this.togglePointActive()}trackById(ne,le){return le.value}buildMarks(){const ne=this.max-this.min;this.marks=this.marksArray.map(le=>{const{value:Se,offset:Ne,config:ke}=le,oe=this.getMarkStyles(Se,ne,ke);return{label:Y(ke)?ke.label:ke,offset:Ne,style:oe,value:Se,config:ke,active:!1}})}getMarkStyles(ne,le,Se){let Ne;const ke=this.reverse?this.max+this.min-ne:ne;return Ne=this.vertical?{marginBottom:"-50%",bottom:(ke-this.min)/le*100+"%"}:{transform:"translate3d(-50%, 0, 0)",left:(ke-this.min)/le*100+"%"},Y(Se)&&Se.style&&(Ne={...Ne,...Se.style}),Ne}togglePointActive(){this.marks&&null!==this.lowerBound&&null!==this.upperBound&&this.marks.forEach(ne=>{const le=ne.value;ne.active=!this.included&&le===this.upperBound||this.included&&le<=this.upperBound&&le>=this.lowerBound})}static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider-marks"]],inputs:{lowerBound:"lowerBound",upperBound:"upperBound",marksArray:"marksArray",min:"min",max:"max",vertical:"vertical",included:"included",reverse:"reverse"},exportAs:["nzSliderMarks"],features:[t.TTD],decls:2,vars:2,consts:[[1,"ant-slider-mark"],["class","ant-slider-mark-text",3,"ant-slider-mark-active","ngStyle","innerHTML",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-slider-mark-text",3,"ngStyle","innerHTML"]],template:function(le,Se){1&le&&(t.TgZ(0,"div",0),t.YNc(1,D,1,4,"span",1),t.qZA()),2&le&&(t.xp6(1),t.Q6J("ngForOf",Se.marks)("ngForTrackBy",Se.trackById))},dependencies:[m.sg,m.PC],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.yF)()],ce.prototype,"vertical",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"included",void 0),ce})();function Y(ce){return"string"!=typeof ce}let G=(()=>{class ce{constructor(ne,le,Se,Ne){this.sliderService=ne,this.cdr=le,this.platform=Se,this.directionality=Ne,this.nzDisabled=!1,this.nzDots=!1,this.nzIncluded=!0,this.nzRange=!1,this.nzVertical=!1,this.nzReverse=!1,this.nzMarks=null,this.nzMax=100,this.nzMin=0,this.nzStep=1,this.nzTooltipVisible="default",this.nzTooltipPlacement="top",this.nzOnAfterChange=new t.vpe,this.value=null,this.cacheSliderStart=null,this.cacheSliderLength=null,this.activeValueIndex=void 0,this.track={offset:null,length:null},this.handles=[],this.marksArray=null,this.bounds={lower:null,upper:null},this.dir="ltr",this.destroy$=new l.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(ne=>{this.dir=ne,this.cdr.detectChanges(),this.updateTrackAndHandles(),this.onValueChange(this.getValue(!0))}),this.handles=ee(this.nzRange?2:1),this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null,this.bindDraggingHandlers(),this.toggleDragDisabled(this.nzDisabled),null===this.getValue()&&this.setValue(this.formatValue(null))}ngOnChanges(ne){const{nzDisabled:le,nzMarks:Se,nzRange:Ne}=ne;le&&!le.firstChange?this.toggleDragDisabled(le.currentValue):Se&&!Se.firstChange?this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null:Ne&&!Ne.firstChange&&(this.handles=ee(Ne.currentValue?2:1),this.setValue(this.formatValue(null)))}ngOnDestroy(){this.unsubscribeDrag(),this.destroy$.next(!0),this.destroy$.complete()}writeValue(ne){this.setValue(ne,!0)}onValueChange(ne){}onTouched(){}registerOnChange(ne){this.onValueChange=ne}registerOnTouched(ne){this.onTouched=ne}setDisabledState(ne){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||ne,this.isNzDisableFirstChange=!1,this.toggleDragDisabled(this.nzDisabled),this.cdr.markForCheck()}onKeyDown(ne){if(this.nzDisabled)return;const le=ne.keyCode,Ne=le===n.oh||le===n.JH;if(le!==n.SV&&le!==n.LH&&!Ne)return;ne.preventDefault();let ke=(Ne?-this.nzStep:this.nzStep)*(this.nzReverse?-1:1);ke="rtl"===this.dir?-1*ke:ke,this.setActiveValue((0,_.xV)(this.nzRange?this.value[this.activeValueIndex]+ke:this.value+ke,this.nzMin,this.nzMax)),this.nzOnAfterChange.emit(this.getValue(!0))}onHandleFocusIn(ne){this.activeValueIndex=ne}setValue(ne,le=!1){le?(this.value=this.formatValue(ne),this.updateTrackAndHandles()):function re(ce,X){return typeof ce==typeof X&&(K(ce)&&K(X)?(0,_.cO)(ce,X):ce===X)}(this.value,ne)||(this.value=ne,this.updateTrackAndHandles(),this.onValueChange(this.getValue(!0)))}getValue(ne=!1){return ne&&this.value&&K(this.value)?[...this.value].sort((le,Se)=>le-Se):this.value}getValueToOffset(ne){let le=ne;return typeof le>"u"&&(le=this.getValue(!0)),K(le)?le.map(Se=>this.valueToOffset(Se)):this.valueToOffset(le)}setActiveValueIndex(ne){const le=this.getValue();if(K(le)){let Ne,Se=null,ke=-1;le.forEach((oe,_e)=>{Ne=Math.abs(ne-oe),(null===Se||Ne{_e.offset=K(le)?le[Q]:le,_e.value=K(ne)?ne[Q]:ne||0}),[this.bounds.lower,this.bounds.upper]=ke,[this.track.offset,this.track.length]=oe,this.cdr.markForCheck()}onDragStart(ne){this.toggleDragMoving(!0),this.cacheSliderProperty(),this.setActiveValueIndex(this.getLogicalValue(ne)),this.setActiveValue(this.getLogicalValue(ne)),this.showHandleTooltip(this.nzRange?this.activeValueIndex:0)}onDragMove(ne){this.setActiveValue(this.getLogicalValue(ne)),this.cdr.markForCheck()}getLogicalValue(ne){return this.nzReverse?this.nzVertical||"rtl"!==this.dir?this.nzMax-ne+this.nzMin:ne:this.nzVertical||"rtl"!==this.dir?ne:this.nzMax-ne+this.nzMin}onDragEnd(){this.nzOnAfterChange.emit(this.getValue(!0)),this.toggleDragMoving(!1),this.cacheSliderProperty(!0),this.hideAllHandleTooltip(),this.cdr.markForCheck()}bindDraggingHandlers(){if(!this.platform.isBrowser)return;const ne=oe=>_e=>oe.reduce((Q,He)=>Q[He]||Q,_e),le=this.slider.nativeElement,Se=this.nzVertical?"pageY":"pageX",Ne={start:"mousedown",move:"mousemove",end:"mouseup",pluckKey:[Se]},ke={start:"touchstart",move:"touchmove",end:"touchend",pluckKey:["touches","0",Se],filter:oe=>oe instanceof TouchEvent};[Ne,ke].forEach(oe=>{const{start:_e,move:Q,end:He,pluckKey:Re,filter:lt=(()=>!0)}=oe;oe.startPlucked$=(0,h.R)(le,_e).pipe((0,z.h)(lt),(0,M.b)(_.jJ),(0,p.U)(ne(Re)),(0,p.U)(Pe=>this.findClosestValue(Pe))),oe.end$=(0,h.R)(document,He),oe.moveResolved$=(0,h.R)(document,Q).pipe((0,z.h)(lt),(0,M.b)(_.jJ),(0,p.U)(ne(Re)),(0,v.x)(),(0,p.U)(Pe=>this.findClosestValue(Pe)),(0,v.x)(),(0,u.R)(oe.end$))}),this.dragStart$=(0,E.T)(Ne.startPlucked$,ke.startPlucked$),this.dragMove$=(0,E.T)(Ne.moveResolved$,ke.moveResolved$),this.dragEnd$=(0,E.T)(Ne.end$,ke.end$)}subscribeDrag(ne=["start","move","end"]){-1!==ne.indexOf("start")&&this.dragStart$&&!this.dragStart_&&(this.dragStart_=this.dragStart$.subscribe(this.onDragStart.bind(this))),-1!==ne.indexOf("move")&&this.dragMove$&&!this.dragMove_&&(this.dragMove_=this.dragMove$.subscribe(this.onDragMove.bind(this))),-1!==ne.indexOf("end")&&this.dragEnd$&&!this.dragEnd_&&(this.dragEnd_=this.dragEnd$.subscribe(this.onDragEnd.bind(this)))}unsubscribeDrag(ne=["start","move","end"]){-1!==ne.indexOf("start")&&this.dragStart_&&(this.dragStart_.unsubscribe(),this.dragStart_=null),-1!==ne.indexOf("move")&&this.dragMove_&&(this.dragMove_.unsubscribe(),this.dragMove_=null),-1!==ne.indexOf("end")&&this.dragEnd_&&(this.dragEnd_.unsubscribe(),this.dragEnd_=null)}toggleDragMoving(ne){const le=["move","end"];ne?(this.sliderService.isDragging=!0,this.subscribeDrag(le)):(this.sliderService.isDragging=!1,this.unsubscribeDrag(le))}toggleDragDisabled(ne){ne?this.unsubscribeDrag():this.subscribeDrag(["start"])}findClosestValue(ne){const le=this.getSliderStartPosition(),Se=this.getSliderLength(),Ne=(0,_.xV)((ne-le)/Se,0,1),ke=(this.nzMax-this.nzMin)*(this.nzVertical?1-Ne:Ne)+this.nzMin,oe=null===this.nzMarks?[]:Object.keys(this.nzMarks).map(parseFloat).sort((He,Re)=>He-Re);if(0!==this.nzStep&&!this.nzDots){const He=Math.round(ke/this.nzStep)*this.nzStep;oe.push(He)}const _e=oe.map(He=>Math.abs(ke-He)),Q=oe[_e.indexOf(Math.min(..._e))];return 0===this.nzStep?Q:parseFloat(Q.toFixed((0,_.p8)(this.nzStep)))}valueToOffset(ne){return(0,_.OY)(this.nzMin,this.nzMax,ne)}getSliderStartPosition(){if(null!==this.cacheSliderStart)return this.cacheSliderStart;const ne=(0,_.pW)(this.slider.nativeElement);return this.nzVertical?ne.top:ne.left}getSliderLength(){if(null!==this.cacheSliderLength)return this.cacheSliderLength;const ne=this.slider.nativeElement;return this.nzVertical?ne.clientHeight:ne.clientWidth}cacheSliderProperty(ne=!1){this.cacheSliderStart=ne?null:this.getSliderStartPosition(),this.cacheSliderLength=ne?null:this.getSliderLength()}formatValue(ne){return(0,_.kK)(ne)?this.nzRange?[this.nzMin,this.nzMax]:this.nzMin:function te(ce,X){return!(!K(ce)&&isNaN(ce)||K(ce)&&ce.some(ne=>isNaN(ne)))&&function pe(ce,X=!1){if(K(ce)!==X)throw function V(){return new Error('The "nzRange" can\'t match the "ngModel"\'s type, please check these properties: "nzRange", "ngModel", "nzDefaultValue".')}();return!0}(ce,X)}(ne,this.nzRange)?K(ne)?ne.map(le=>(0,_.xV)(le,this.nzMin,this.nzMax)):(0,_.xV)(ne,this.nzMin,this.nzMax):this.nzDefaultValue?this.nzDefaultValue:this.nzRange?[this.nzMin,this.nzMax]:this.nzMin}showHandleTooltip(ne=0){this.handles.forEach((le,Se)=>{le.active=Se===ne})}hideAllHandleTooltip(){this.handles.forEach(ne=>ne.active=!1)}generateMarkItems(ne){const le=[];for(const Se in ne)if(ne.hasOwnProperty(Se)){const Ne=ne[Se],ke="number"==typeof Se?Se:parseFloat(Se);ke>=this.nzMin&&ke<=this.nzMax&&le.push({value:ke,offset:this.valueToOffset(ke),config:Ne})}return le.length?le:null}static#e=this.\u0275fac=function(le){return new(le||ce)(t.Y36(k),t.Y36(t.sBO),t.Y36(f.t4),t.Y36(C.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-slider"]],viewQuery:function(le,Se){if(1&le&&(t.Gf(y,7),t.Gf(R,5)),2&le){let Ne;t.iGM(Ne=t.CRH())&&(Se.slider=Ne.first),t.iGM(Ne=t.CRH())&&(Se.handlerComponents=Ne)}},hostBindings:function(le,Se){1&le&&t.NdJ("keydown",function(ke){return Se.onKeyDown(ke)})},inputs:{nzDisabled:"nzDisabled",nzDots:"nzDots",nzIncluded:"nzIncluded",nzRange:"nzRange",nzVertical:"nzVertical",nzReverse:"nzReverse",nzDefaultValue:"nzDefaultValue",nzMarks:"nzMarks",nzMax:"nzMax",nzMin:"nzMin",nzStep:"nzStep",nzTooltipVisible:"nzTooltipVisible",nzTooltipPlacement:"nzTooltipPlacement",nzTipFormatter:"nzTipFormatter"},outputs:{nzOnAfterChange:"nzOnAfterChange"},exportAs:["nzSlider"],features:[t._Bn([{provide:i.JU,useExisting:(0,t.Gpc)(()=>ce),multi:!0},k]),t.TTD],decls:7,vars:17,consts:[[1,"ant-slider"],["slider",""],[1,"ant-slider-rail"],[3,"vertical","included","offset","length","reverse","dir"],[3,"vertical","min","max","lowerBound","upperBound","marksArray","included","reverse",4,"ngIf"],[3,"vertical","reverse","offset","value","active","tooltipFormatter","tooltipVisible","tooltipPlacement","dir","focusin",4,"ngFor","ngForOf"],[3,"vertical","min","max","lowerBound","upperBound","marksArray","included","reverse"],[3,"vertical","reverse","offset","value","active","tooltipFormatter","tooltipVisible","tooltipPlacement","dir","focusin"]],template:function(le,Se){1&le&&(t.TgZ(0,"div",0,1),t._UZ(2,"div",2)(3,"nz-slider-track",3),t.YNc(4,P,1,8,"nz-slider-step",4),t.YNc(5,S,1,9,"nz-slider-handle",5),t.YNc(6,A,1,8,"nz-slider-marks",4),t.qZA()),2&le&&(t.ekj("ant-slider-rtl","rtl"===Se.dir)("ant-slider-disabled",Se.nzDisabled)("ant-slider-vertical",Se.nzVertical)("ant-slider-with-marks",Se.marksArray),t.xp6(3),t.Q6J("vertical",Se.nzVertical)("included",Se.nzIncluded)("offset",Se.track.offset)("length",Se.track.length)("reverse",Se.nzReverse)("dir",Se.dir),t.xp6(1),t.Q6J("ngIf",Se.marksArray),t.xp6(1),t.Q6J("ngForOf",Se.handles),t.xp6(1),t.Q6J("ngIf",Se.marksArray))},dependencies:[C.Lv,m.sg,m.O5,W,R,j,ze],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,_.yF)()],ce.prototype,"nzDisabled",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzDots",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzIncluded",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzRange",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzVertical",void 0),(0,e.gn)([(0,_.yF)()],ce.prototype,"nzReverse",void 0),(0,e.gn)([(0,_.Rn)()],ce.prototype,"nzMax",void 0),(0,e.gn)([(0,_.Rn)()],ce.prototype,"nzMin",void 0),(0,e.gn)([(0,_.Rn)()],ce.prototype,"nzStep",void 0),ce})();function K(ce){return ce instanceof Array&&2===ce.length}function ee(ce){return Array(ce).fill(0).map(()=>({offset:null,value:null,active:!1}))}let De=(()=>{class ce{static#e=this.\u0275fac=function(le){return new(le||ce)};static#t=this.\u0275mod=t.oAB({type:ce});static#n=this.\u0275inj=t.cJS({imports:[C.vT,m.ez,f.ud,d.cg]})}return ce})()},77273:(tt,I,o)=>{"use strict";o.d(I,{W:()=>A,j:()=>k});var e=o(97582),n=o(65879),t=o(78645),i=o(65619),l=o(97328),h=o(74825),E=o(27921),u=o(93997),z=o(94664),M=o(76111),p=o(59773),v=o(83064),_=o(27754),d=o(49388),m=o(96814),f=o(17131);function C(R,W){1&R&&(n.TgZ(0,"span",3),n._UZ(1,"i",4)(2,"i",4)(3,"i",4)(4,"i",4),n.qZA())}function T(R,W){}function b(R,W){if(1&R&&(n.TgZ(0,"div",8),n._uU(1),n.qZA()),2&R){const j=n.oxw(2);n.xp6(1),n.Oqu(j.nzTip)}}function D(R,W){if(1&R&&(n.TgZ(0,"div")(1,"div",5),n.YNc(2,T,0,0,"ng-template",6),n.YNc(3,b,2,1,"div",7),n.qZA()()),2&R){const j=n.oxw(),ze=n.MAs(1);n.xp6(1),n.ekj("ant-spin-rtl","rtl"===j.dir)("ant-spin-spinning",j.isLoading)("ant-spin-lg","large"===j.nzSize)("ant-spin-sm","small"===j.nzSize)("ant-spin-show-text",j.nzTip),n.xp6(1),n.Q6J("ngTemplateOutlet",j.nzIndicator||ze),n.xp6(1),n.Q6J("ngIf",j.nzTip)}}function y(R,W){if(1&R&&(n.TgZ(0,"div",9),n.Hsn(1),n.qZA()),2&R){const j=n.oxw();n.ekj("ant-spin-blur",j.isLoading)}}const P=["*"],S="spin";let A=(()=>{class R{constructor(j,ze,Y){this.nzConfigService=j,this.cdr=ze,this.directionality=Y,this._nzModuleName=S,this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new t.x,this.spinning$=new i.X(this.nzSpinning),this.delay$=new l.t(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){this.delay$.pipe((0,E.O)(this.nzDelay),(0,u.x)(),(0,z.w)(ze=>0===ze?this.spinning$:this.spinning$.pipe((0,M.D)(Y=>(0,h.H)(Y?ze:0)))),(0,p.R)(this.destroy$)).subscribe(ze=>{this.isLoading=ze,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent(S).pipe((0,p.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change?.pipe((0,p.R)(this.destroy$)).subscribe(ze=>{this.dir=ze,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(j){const{nzSpinning:ze,nzDelay:Y}=j;ze&&this.spinning$.next(this.nzSpinning),Y&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(ze){return new(ze||R)(n.Y36(v.jY),n.Y36(n.sBO),n.Y36(d.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:R,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(ze,Y){2&ze&&n.ekj("ant-spin-nested-loading",!Y.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[n.TTD],ngContentSelectors:P,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(ze,Y){1&ze&&(n.F$t(),n.YNc(0,C,5,0,"ng-template",null,0,n.W1O),n.YNc(2,D,4,12,"div",1),n.YNc(3,y,2,2,"div",2)),2&ze&&(n.xp6(2),n.Q6J("ngIf",Y.isLoading),n.xp6(1),n.Q6J("ngIf",!Y.nzSimple))},dependencies:[m.O5,m.tP],encapsulation:2})}return(0,e.gn)([(0,v.oS)()],R.prototype,"nzIndicator",void 0),(0,e.gn)([(0,_.Rn)()],R.prototype,"nzDelay",void 0),(0,e.gn)([(0,_.yF)()],R.prototype,"nzSimple",void 0),(0,e.gn)([(0,_.yF)()],R.prototype,"nzSpinning",void 0),R})(),k=(()=>{class R{static#e=this.\u0275fac=function(ze){return new(ze||R)};static#t=this.\u0275mod=n.oAB({type:R});static#n=this.\u0275inj=n.cJS({imports:[d.vT,m.ez,f.Q8]})}return R})()},39704:(tt,I,o)=>{"use strict";o.d(I,{$W:()=>pe,N6:()=>De,iy:()=>re});var e=o(65879),n=o(78645),t=o(92438),i=o(47394),l=o(63019),h=o(32181),E=o(59773),u=o(27921),z=o(99087),M=o(27754),p=o(97582),v=o(96814),_=o(90551),d=o(8324),m=o(48128),f=o(49388);const C=["processDotTemplate"],T=["itemContainer"];function b(ae,ce){1&ae&&e._UZ(0,"div",10)}function D(ae,ce){if(1&ae&&(e.TgZ(0,"div",13),e._UZ(1,"nz-progress",14),e.qZA()),2&ae){const X=e.oxw(2);e.xp6(1),e.Q6J("nzPercent",X.nzPercentage)("nzWidth","small"===X.nzSize?32:40)("nzFormat",X.nullProcessFormat)("nzStrokeWidth",4)}}function y(ae,ce){1&ae&&(e.TgZ(0,"span",15),e._UZ(1,"span",16),e.qZA())}function P(ae,ce){1&ae&&(e.TgZ(0,"span",15),e._UZ(1,"span",17),e.qZA())}function S(ae,ce){if(1&ae&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&ae){const X=e.oxw(2);e.xp6(1),e.hij(" ",X.index+1," ")}}function A(ae,ce){if(1&ae&&(e.ynx(0),e._UZ(1,"span",18),e.BQk()),2&ae){const X=ce.$implicit,ne=e.oxw(3);e.xp6(1),e.Q6J("nzType",!ne.oldAPIIcon&&X)("ngClass",ne.oldAPIIcon&&X)}}function k(ae,ce){if(1&ae&&(e.TgZ(0,"span",15),e.YNc(1,A,2,2,"ng-container",7),e.qZA()),2&ae){const X=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",X.nzIcon)}}function R(ae,ce){if(1&ae&&(e.YNc(0,D,2,4,"div",11),e.YNc(1,y,2,0,"span",12),e.YNc(2,P,2,0,"span",12),e.YNc(3,S,2,1,"span",12),e.YNc(4,k,2,1,"span",12)),2&ae){const X=e.oxw();e.Q6J("ngIf",X.showProgress),e.xp6(1),e.Q6J("ngIf","finish"===X.nzStatus&&!X.nzIcon),e.xp6(1),e.Q6J("ngIf","error"===X.nzStatus),e.xp6(1),e.Q6J("ngIf",("process"===X.nzStatus||"wait"===X.nzStatus)&&!X.nzIcon),e.xp6(1),e.Q6J("ngIf",X.nzIcon)}}function W(ae,ce){1&ae&&e._UZ(0,"span",21)}function j(ae,ce){}const ze=function(ae,ce,X){return{$implicit:ae,status:ce,index:X}};function Y(ae,ce){if(1&ae&&(e.TgZ(0,"span",15),e.YNc(1,W,1,0,"ng-template",null,19,e.W1O),e.YNc(3,j,0,0,"ng-template",20),e.qZA()),2&ae){const X=e.MAs(2),ne=e.oxw();e.xp6(3),e.Q6J("ngTemplateOutlet",ne.customProcessTemplate||X)("ngTemplateOutletContext",e.kEZ(2,ze,X,ne.nzStatus,ne.index))}}function G(ae,ce){if(1&ae&&(e.ynx(0),e._uU(1),e.BQk()),2&ae){const X=e.oxw();e.xp6(1),e.Oqu(X.nzTitle)}}function V(ae,ce){if(1&ae&&(e.ynx(0),e._uU(1),e.BQk()),2&ae){const X=e.oxw(2);e.xp6(1),e.Oqu(X.nzSubtitle)}}function K(ae,ce){if(1&ae&&(e.TgZ(0,"div",22),e.YNc(1,V,2,1,"ng-container",7),e.qZA()),2&ae){const X=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",X.nzSubtitle)}}function ee(ae,ce){if(1&ae&&(e.ynx(0),e._uU(1),e.BQk()),2&ae){const X=e.oxw();e.xp6(1),e.Oqu(X.nzDescription)}}const te=["*"];let pe=(()=>{class ae{get nzStatus(){return this._status}set nzStatus(X){this._status=X,this.isCustomStatus=!0}get nzIcon(){return this._icon}set nzIcon(X){X instanceof e.Rgc||(this.oldAPIIcon="string"==typeof X&&X.indexOf("anticon")>-1),this._icon=X}get showProgress(){return null!==this.nzPercentage&&!this.nzIcon&&"process"===this.nzStatus&&this.nzPercentage>=0&&this.nzPercentage<=100}get currentIndex(){return this._currentIndex}set currentIndex(X){this._currentIndex=X,this.isCustomStatus||(this._status=X>this.index?"finish":X===this.index?this.outStatus||"":"wait")}constructor(X,ne,le){this.cdr=X,this.ngZone=ne,this.destroy$=le,this.nzDisabled=!1,this.nzPercentage=null,this.nzSize="default",this.isCustomStatus=!1,this._status="wait",this.oldAPIIcon=!0,this.direction="horizontal",this.index=0,this.last=!1,this.outStatus="process",this.showProcessDot=!1,this.clickable=!1,this.clickOutsideAngular$=new n.x,this.nullProcessFormat=()=>null,this._currentIndex=0}ngOnInit(){this.ngZone.runOutsideAngular(()=>(0,t.R)(this.itemContainer.nativeElement,"click").pipe((0,h.h)(()=>this.clickable&&this.currentIndex!==this.index&&!this.nzDisabled),(0,E.R)(this.destroy$)).subscribe(()=>{this.clickOutsideAngular$.next(this.index)}))}enable(){this.nzDisabled=!1,this.cdr.markForCheck()}disable(){this.nzDisabled=!0,this.cdr.markForCheck()}markForCheck(){this.cdr.markForCheck()}static#e=this.\u0275fac=function(ne){return new(ne||ae)(e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(z.kn))};static#t=this.\u0275cmp=e.Xpm({type:ae,selectors:[["nz-step"]],viewQuery:function(ne,le){if(1&ne&&(e.Gf(C,5),e.Gf(T,7)),2&ne){let Se;e.iGM(Se=e.CRH())&&(le.processDotTemplate=Se.first),e.iGM(Se=e.CRH())&&(le.itemContainer=Se.first)}},hostAttrs:[1,"ant-steps-item"],hostVars:16,hostBindings:function(ne,le){2&ne&&e.ekj("ant-steps-item-wait","wait"===le.nzStatus)("ant-steps-item-process","process"===le.nzStatus)("ant-steps-item-finish","finish"===le.nzStatus)("ant-steps-item-error","error"===le.nzStatus)("ant-steps-item-active",le.currentIndex===le.index)("ant-steps-item-disabled",le.nzDisabled)("ant-steps-item-custom",!!le.nzIcon)("ant-steps-next-error","error"===le.outStatus&&le.currentIndex===le.index+1)},inputs:{nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzDescription:"nzDescription",nzDisabled:"nzDisabled",nzPercentage:"nzPercentage",nzSize:"nzSize",nzStatus:"nzStatus",nzIcon:"nzIcon"},exportAs:["nzStep"],features:[e._Bn([z.kn])],decls:12,vars:8,consts:[[1,"ant-steps-item-container",3,"tabindex"],["itemContainer",""],["class","ant-steps-item-tail",4,"ngIf"],[1,"ant-steps-item-icon"],[3,"ngIf"],[1,"ant-steps-item-content"],[1,"ant-steps-item-title"],[4,"nzStringTemplateOutlet"],["class","ant-steps-item-subtitle",4,"ngIf"],[1,"ant-steps-item-description"],[1,"ant-steps-item-tail"],["class","ant-steps-progress-icon",4,"ngIf"],["class","ant-steps-icon",4,"ngIf"],[1,"ant-steps-progress-icon"],["nzType","circle",3,"nzPercent","nzWidth","nzFormat","nzStrokeWidth"],[1,"ant-steps-icon"],["nz-icon","","nzType","check"],["nz-icon","","nzType","close"],["nz-icon","",3,"nzType","ngClass"],["processDotTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-steps-icon-dot"],[1,"ant-steps-item-subtitle"]],template:function(ne,le){1&ne&&(e.TgZ(0,"div",0,1),e.YNc(2,b,1,0,"div",2),e.TgZ(3,"div",3),e.YNc(4,R,5,5,"ng-template",4),e.YNc(5,Y,4,6,"ng-template",4),e.qZA(),e.TgZ(6,"div",5)(7,"div",6),e.YNc(8,G,2,1,"ng-container",7),e.YNc(9,K,2,1,"div",8),e.qZA(),e.TgZ(10,"div",9),e.YNc(11,ee,2,1,"ng-container",7),e.qZA()()()),2&ne&&(e.Q6J("tabindex",le.clickable&&!le.nzDisabled?0:null),e.uIk("role",le.clickable&&!le.nzDisabled?"button":null),e.xp6(2),e.Q6J("ngIf",!0!==le.last),e.xp6(2),e.Q6J("ngIf",!le.showProcessDot),e.xp6(1),e.Q6J("ngIf",le.showProcessDot),e.xp6(3),e.Q6J("nzStringTemplateOutlet",le.nzTitle),e.xp6(1),e.Q6J("ngIf",le.nzSubtitle),e.xp6(2),e.Q6J("nzStringTemplateOutlet",le.nzDescription))},dependencies:[v.mk,v.O5,v.tP,_.Ls,d.f,m.M],encapsulation:2,changeDetection:0})}return(0,p.gn)([(0,M.yF)()],ae.prototype,"nzDisabled",void 0),ae})(),re=(()=>{class ae{set nzProgressDot(X){X instanceof e.Rgc?(this.showProcessDot=!0,this.customProcessDotTemplate=X):this.showProcessDot=(0,M.sw)(X),this.updateChildrenSteps()}constructor(X,ne,le,Se){this.ngZone=X,this.cdr=ne,this.directionality=le,this.destroy$=Se,this.nzCurrent=0,this.nzDirection="horizontal",this.nzLabelPlacement="horizontal",this.nzType="default",this.nzSize="default",this.nzStartIndex=0,this.nzStatus="process",this.nzIndexChange=new e.vpe,this.indexChangeSubscription=i.w0.EMPTY,this.showProcessDot=!1,this.showProgress=!1,this.dir="ltr"}ngOnChanges(X){(X.nzStartIndex||X.nzDirection||X.nzStatus||X.nzCurrent||X.nzSize)&&this.updateChildrenSteps()}ngOnInit(){this.directionality.change?.pipe((0,E.R)(this.destroy$)).subscribe(X=>{this.dir=X,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateChildrenSteps()}ngAfterContentInit(){this.steps&&this.steps.changes.pipe((0,u.O)(null),(0,E.R)(this.destroy$)).subscribe(()=>{this.updateHostProgressClass(),this.updateChildrenSteps()})}updateHostProgressClass(){this.steps&&!this.showProcessDot&&(this.showProgress=!!this.steps.toArray().find(X=>null!==X.nzPercentage))}updateChildrenSteps(){if(this.steps){const X=this.steps.length;this.steps.toArray().forEach((ne,le)=>{Promise.resolve().then(()=>{ne.nzSize=this.nzSize,ne.outStatus=this.nzStatus,ne.showProcessDot=this.showProcessDot,this.customProcessDotTemplate&&(ne.customProcessTemplate=this.customProcessDotTemplate),ne.clickable=this.nzIndexChange.observers.length>0,ne.direction=this.nzDirection,ne.index=le+this.nzStartIndex,ne.currentIndex=this.nzCurrent,ne.last=X===le+1,ne.markForCheck()})}),this.indexChangeSubscription.unsubscribe(),this.indexChangeSubscription=(0,l.T)(...this.steps.map(ne=>ne.clickOutsideAngular$)).pipe((0,E.R)(this.destroy$)).subscribe(ne=>{this.nzIndexChange.observers.length&&this.ngZone.run(()=>this.nzIndexChange.emit(ne))})}}static#e=this.\u0275fac=function(ne){return new(ne||ae)(e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(f.Is,8),e.Y36(z.kn))};static#t=this.\u0275cmp=e.Xpm({type:ae,selectors:[["nz-steps"]],contentQueries:function(ne,le,Se){if(1&ne&&e.Suo(Se,pe,4),2&ne){let Ne;e.iGM(Ne=e.CRH())&&(le.steps=Ne)}},hostAttrs:[1,"ant-steps"],hostVars:18,hostBindings:function(ne,le){2&ne&&e.ekj("ant-steps-horizontal","horizontal"===le.nzDirection)("ant-steps-vertical","vertical"===le.nzDirection)("ant-steps-label-horizontal","horizontal"===le.nzDirection)("ant-steps-label-vertical",(le.showProcessDot||"vertical"===le.nzLabelPlacement)&&"horizontal"===le.nzDirection)("ant-steps-dot",le.showProcessDot)("ant-steps-small","small"===le.nzSize)("ant-steps-navigation","navigation"===le.nzType)("ant-steps-rtl","rtl"===le.dir)("ant-steps-with-progress",le.showProgress)},inputs:{nzCurrent:"nzCurrent",nzDirection:"nzDirection",nzLabelPlacement:"nzLabelPlacement",nzType:"nzType",nzSize:"nzSize",nzStartIndex:"nzStartIndex",nzStatus:"nzStatus",nzProgressDot:"nzProgressDot"},outputs:{nzIndexChange:"nzIndexChange"},exportAs:["nzSteps"],features:[e._Bn([z.kn]),e.TTD],ngContentSelectors:te,decls:1,vars:0,template:function(ne,le){1&ne&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return ae})(),De=(()=>{class ae{static#e=this.\u0275fac=function(ne){return new(ne||ae)};static#t=this.\u0275mod=e.oAB({type:ae});static#n=this.\u0275inj=e.cJS({imports:[f.vT,v.ez,_.PV,d.T,m.W]})}return ae})()},96494:(tt,I,o)=>{"use strict";o.d(I,{i:()=>S,m:()=>A});var e=o(97582),n=o(36028),t=o(65879),i=o(60095),l=o(78645),h=o(92438),E=o(59773),u=o(83064),z=o(27754),M=o(4300),p=o(49388),v=o(96814),_=o(41958),d=o(90551),m=o(8324);const f=["switchElement"];function C(k,R){1&k&&t._UZ(0,"span",8)}function T(k,R){if(1&k&&(t.ynx(0),t._uU(1),t.BQk()),2&k){const W=t.oxw(2);t.xp6(1),t.Oqu(W.nzCheckedChildren)}}function b(k,R){if(1&k&&(t.ynx(0),t.YNc(1,T,2,1,"ng-container",9),t.BQk()),2&k){const W=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",W.nzCheckedChildren)}}function D(k,R){if(1&k&&(t.ynx(0),t._uU(1),t.BQk()),2&k){const W=t.oxw(2);t.xp6(1),t.Oqu(W.nzUnCheckedChildren)}}function y(k,R){if(1&k&&t.YNc(0,D,2,1,"ng-container",9),2&k){const W=t.oxw();t.Q6J("nzStringTemplateOutlet",W.nzUnCheckedChildren)}}let S=(()=>{class k{updateValue(W){this.isChecked!==W&&(this.isChecked=W,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(W,j,ze,Y,G,V){this.nzConfigService=W,this.host=j,this.ngZone=ze,this.cdr=Y,this.focusMonitor=G,this.directionality=V,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new l.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.directionality.change.pipe((0,E.R)(this.destroy$)).subscribe(W=>{this.dir=W,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,h.R)(this.host.nativeElement,"click").pipe((0,E.R)(this.destroy$)).subscribe(W=>{W.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,h.R)(this.switchElement.nativeElement,"keydown").pipe((0,E.R)(this.destroy$)).subscribe(W=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:j}=W;j!==n.oh&&j!==n.SV&&j!==n.L_&&j!==n.K5||(W.preventDefault(),this.ngZone.run(()=>{j===n.oh?this.updateValue(!1):j===n.SV?this.updateValue(!0):(j===n.L_||j===n.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,E.R)(this.destroy$)).subscribe(W=>{W||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(W){this.isChecked=W,this.cdr.markForCheck()}registerOnChange(W){this.onChange=W}registerOnTouched(W){this.onTouched=W}setDisabledState(W){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||W,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}static#e=this.\u0275fac=function(j){return new(j||k)(t.Y36(u.jY),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(M.tE),t.Y36(p.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:k,selectors:[["nz-switch"]],viewQuery:function(j,ze){if(1&j&&t.Gf(f,7),2&j){let Y;t.iGM(Y=t.CRH())&&(ze.switchElement=Y.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[t._Bn([{provide:i.JU,useExisting:(0,t.Gpc)(()=>k),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(j,ze){if(1&j&&(t.TgZ(0,"button",0,1)(2,"span",2),t.YNc(3,C,1,0,"span",3),t.qZA(),t.TgZ(4,"span",4),t.YNc(5,b,2,1,"ng-container",5),t.YNc(6,y,1,1,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(8,"div",7),t.qZA()),2&j){const Y=t.MAs(7);t.ekj("ant-switch-checked",ze.isChecked)("ant-switch-loading",ze.nzLoading)("ant-switch-disabled",ze.nzDisabled)("ant-switch-small","small"===ze.nzSize)("ant-switch-rtl","rtl"===ze.dir),t.Q6J("disabled",ze.nzDisabled)("nzWaveExtraNode",!0),t.uIk("id",ze.nzId),t.xp6(3),t.Q6J("ngIf",ze.nzLoading),t.xp6(2),t.Q6J("ngIf",ze.isChecked)("ngIfElse",Y)}},dependencies:[v.O5,_.dQ,d.Ls,m.f],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,z.yF)()],k.prototype,"nzLoading",void 0),(0,e.gn)([(0,z.yF)()],k.prototype,"nzDisabled",void 0),(0,e.gn)([(0,z.yF)()],k.prototype,"nzControl",void 0),(0,e.gn)([(0,u.oS)()],k.prototype,"nzSize",void 0),k})(),A=(()=>{class k{static#e=this.\u0275fac=function(j){return new(j||k)};static#t=this.\u0275mod=t.oAB({type:k});static#n=this.\u0275inj=t.cJS({imports:[p.vT,v.ez,_.vG,d.PV,m.T]})}return k})()},79663:(tt,I,o)=>{"use strict";o.d(I,{$Z:()=>Ri,HQ:()=>Vn,N8:()=>bi,Om:()=>Pi,Uo:()=>ai,Vk:()=>$i,_C:()=>fi,d3:()=>ni,h7:()=>Ti,p0:()=>wi,qD:()=>li,qn:()=>di,zu:()=>Di});var e=o(49388),n=o(62831),t=o(205),i=o(96814),l=o(65879),h=o(60095),E=o(42840),u=o(28802),z=o(62612),M=o(8324),p=o(62787),v=o(60804),_=o(12131),d=o(90551),m=o(73460),f=o(2274),C=o(57907),T=o(77273),b=o(97582),D=o(92438),y=o(78645),P=o(97328),S=o(65619),A=o(52572),k=o(63019),R=o(36232),W=o(22096),j=o(59773),ze=o(37398),Y=o(93997),G=o(83620),V=o(836),K=o(32181),ee=o(94664),te=o(27921),pe=o(5177),re=o(21631),De=o(83064),ae=o(99087),ce=o(27754),X=o(70855),ne=o(41958);const le=["*"];function Se(Mt,gn){}function Ne(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"label",15),l.NdJ("ngModelChange",function(){l.CHM(rt);const It=l.oxw().$implicit,Xt=l.oxw(2);return l.KtG(Xt.check(It))}),l.qZA()}if(2&Mt){const rt=l.oxw().$implicit;l.Q6J("ngModel",rt.checked)}}function ke(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"label",16),l.NdJ("ngModelChange",function(){l.CHM(rt);const It=l.oxw().$implicit,Xt=l.oxw(2);return l.KtG(Xt.check(It))}),l.qZA()}if(2&Mt){const rt=l.oxw().$implicit;l.Q6J("ngModel",rt.checked)}}function oe(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"li",12),l.NdJ("click",function(){const Xt=l.CHM(rt).$implicit,_n=l.oxw(2);return l.KtG(_n.check(Xt))}),l.YNc(1,Ne,1,1,"label",13),l.YNc(2,ke,1,1,"label",14),l.TgZ(3,"span"),l._uU(4),l.qZA()()}if(2&Mt){const rt=gn.$implicit,zt=l.oxw(2);l.Q6J("nzSelected",rt.checked),l.xp6(1),l.Q6J("ngIf",!zt.filterMultiple),l.xp6(1),l.Q6J("ngIf",zt.filterMultiple),l.xp6(2),l.Oqu(rt.text)}}function _e(Mt,gn){if(1&Mt){const rt=l.EpF();l.ynx(0),l.TgZ(1,"nz-filter-trigger",3),l.NdJ("nzVisibleChange",function(It){l.CHM(rt);const Xt=l.oxw();return l.KtG(Xt.onVisibleChange(It))}),l._UZ(2,"span",4),l.qZA(),l.TgZ(3,"nz-dropdown-menu",null,5)(5,"div",6)(6,"ul",7),l.YNc(7,oe,5,4,"li",8),l.qZA(),l.TgZ(8,"div",9)(9,"button",10),l.NdJ("click",function(){l.CHM(rt);const It=l.oxw();return l.KtG(It.reset())}),l._uU(10),l.qZA(),l.TgZ(11,"button",11),l.NdJ("click",function(){l.CHM(rt);const It=l.oxw();return l.KtG(It.confirm())}),l._uU(12),l.qZA()()()(),l.BQk()}if(2&Mt){const rt=l.MAs(4),zt=l.oxw();l.xp6(1),l.Q6J("nzVisible",zt.isVisible)("nzActive",zt.isChecked)("nzDropdownMenu",rt),l.xp6(6),l.Q6J("ngForOf",zt.listOfParsedFilter)("ngForTrackBy",zt.trackByValue),l.xp6(2),l.Q6J("disabled",!zt.isChecked),l.xp6(1),l.hij(" ",zt.locale.filterReset," "),l.xp6(2),l.Oqu(zt.locale.filterConfirm)}}function lt(Mt,gn){}function Pe(Mt,gn){if(1&Mt&&l._UZ(0,"span",6),2&Mt){const rt=l.oxw();l.ekj("active","ascend"===rt.sortOrder)}}function xt(Mt,gn){if(1&Mt&&l._UZ(0,"span",7),2&Mt){const rt=l.oxw();l.ekj("active","descend"===rt.sortOrder)}}const $e=["nzChecked",""];function ot(Mt,gn){if(1&Mt){const rt=l.EpF();l.ynx(0),l._UZ(1,"nz-row-indent",2),l.TgZ(2,"button",3),l.NdJ("expandChange",function(It){l.CHM(rt);const Xt=l.oxw();return l.KtG(Xt.onExpandChange(It))}),l.qZA(),l.BQk()}if(2&Mt){const rt=l.oxw();l.xp6(1),l.Q6J("indentSize",rt.nzIndentSize),l.xp6(1),l.Q6J("expand",rt.nzExpand)("spaceMode",!rt.nzShowExpand)}}function mt(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"label",4),l.NdJ("ngModelChange",function(It){l.CHM(rt);const Xt=l.oxw();return l.KtG(Xt.onCheckedChange(It))}),l.qZA()}if(2&Mt){const rt=l.oxw();l.Q6J("nzDisabled",rt.nzDisabled)("ngModel",rt.nzChecked)("nzIndeterminate",rt.nzIndeterminate)}}const we=["nzColumnKey",""];function de(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"nz-table-filter",5),l.NdJ("filterChange",function(It){l.CHM(rt);const Xt=l.oxw();return l.KtG(Xt.onFilterValueChange(It))}),l.qZA()}if(2&Mt){const rt=l.oxw(),zt=l.MAs(2),It=l.MAs(4);l.Q6J("contentTemplate",zt)("extraTemplate",It)("customFilter",rt.nzCustomFilter)("filterMultiple",rt.nzFilterMultiple)("listOfFilter",rt.nzFilters)}}function U(Mt,gn){}function B(Mt,gn){if(1&Mt&&l.YNc(0,U,0,0,"ng-template",6),2&Mt){const rt=l.oxw(),zt=l.MAs(6),It=l.MAs(8);l.Q6J("ngTemplateOutlet",rt.nzShowSort?zt:It)}}function Me(Mt,gn){1&Mt&&(l.Hsn(0),l.Hsn(1,1))}function Ae(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-sorters",7),2&Mt){const rt=l.oxw(),zt=l.MAs(8);l.Q6J("sortOrder",rt.sortOrder)("sortDirections",rt.sortDirections)("contentTemplate",zt)}}function Le(Mt,gn){1&Mt&&l.Hsn(0,2)}const ht=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],Ot=["[nz-th-extra]","nz-filter-trigger","*"],Wt=["nz-table-content",""];function qt(Mt,gn){if(1&Mt&&l._UZ(0,"col"),2&Mt){const rt=gn.$implicit;l.Udp("width",rt)("min-width",rt)}}function en(Mt,gn){}function Vt(Mt,gn){if(1&Mt&&(l.TgZ(0,"thead",3),l.YNc(1,en,0,0,"ng-template",2),l.qZA()),2&Mt){const rt=l.oxw();l.xp6(1),l.Q6J("ngTemplateOutlet",rt.theadTemplate)}}function cn(Mt,gn){}const ft=["tdElement"],gt=["nz-table-fixed-row",""];function Ie(Mt,gn){}function Ct(Mt,gn){if(1&Mt&&(l.TgZ(0,"div",4),l.ALo(1,"async"),l.YNc(2,Ie,0,0,"ng-template",5),l.qZA()),2&Mt){const rt=l.oxw(),zt=l.MAs(5);l.Udp("width",l.lcZ(1,3,rt.hostWidth$),"px"),l.xp6(2),l.Q6J("ngTemplateOutlet",zt)}}function Nt(Mt,gn){1&Mt&&l.Hsn(0)}const kt=["nz-table-measure-row",""];function St(Mt,gn){1&Mt&&l._UZ(0,"td",1,2)}function qe(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"tr",3),l.NdJ("listOfAutoWidth",function(It){l.CHM(rt);const Xt=l.oxw(2);return l.KtG(Xt.onListOfAutoWidthChange(It))}),l.qZA()}if(2&Mt){const rt=l.oxw().ngIf;l.Q6J("listOfMeasureColumn",rt)}}function Fe(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,qe,1,1,"tr",2),l.BQk()),2&Mt){const rt=gn.ngIf,zt=l.oxw();l.xp6(1),l.Q6J("ngIf",zt.isInsideTable&&rt.length)}}function fe(Mt,gn){if(1&Mt&&(l.TgZ(0,"tr",4),l._UZ(1,"nz-embed-empty",5),l.ALo(2,"async"),l.qZA()),2&Mt){const rt=l.oxw();l.xp6(1),l.Q6J("specificContent",l.lcZ(2,1,rt.noResult$))}}const Xe=["tableHeaderElement"],ge=["tableBodyElement"];function je(Mt,gn){if(1&Mt&&(l.TgZ(0,"div",7,8),l._UZ(2,"table",9),l.qZA()),2&Mt){const rt=l.oxw(2);l.Q6J("ngStyle",rt.bodyStyleMap),l.xp6(2),l.Q6J("scrollX",rt.scrollX)("listOfColWidth",rt.listOfColWidth)("contentTemplate",rt.contentTemplate)}}function Ye(Mt,gn){}const We=function(Mt,gn){return{$implicit:Mt,index:gn}};function wt(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,Ye,0,0,"ng-template",13),l.BQk()),2&Mt){const rt=gn.$implicit,zt=gn.index,It=l.oxw(3);l.xp6(1),l.Q6J("ngTemplateOutlet",It.virtualTemplate)("ngTemplateOutletContext",l.WLB(2,We,rt,zt))}}function Ee(Mt,gn){if(1&Mt&&(l.TgZ(0,"cdk-virtual-scroll-viewport",10,8)(2,"table",11)(3,"tbody"),l.YNc(4,wt,2,5,"ng-container",12),l.qZA()()()),2&Mt){const rt=l.oxw(2);l.Udp("height",rt.data.length?rt.scrollY:rt.noDateVirtualHeight),l.Q6J("itemSize",rt.virtualItemSize)("maxBufferPx",rt.virtualMaxBufferPx)("minBufferPx",rt.virtualMinBufferPx),l.xp6(2),l.Q6J("scrollX",rt.scrollX)("listOfColWidth",rt.listOfColWidth),l.xp6(2),l.Q6J("cdkVirtualForOf",rt.data)("cdkVirtualForTrackBy",rt.virtualForTrackBy)}}function be(Mt,gn){if(1&Mt&&(l.ynx(0),l.TgZ(1,"div",2,3),l._UZ(3,"table",4),l.qZA(),l.YNc(4,je,3,4,"div",5),l.YNc(5,Ee,5,9,"cdk-virtual-scroll-viewport",6),l.BQk()),2&Mt){const rt=l.oxw();l.xp6(1),l.Q6J("ngStyle",rt.headerStyleMap),l.xp6(2),l.Q6J("scrollX",rt.scrollX)("listOfColWidth",rt.listOfColWidth)("theadTemplate",rt.theadTemplate),l.xp6(1),l.Q6J("ngIf",!rt.virtualTemplate),l.xp6(1),l.Q6J("ngIf",rt.virtualTemplate)}}function Qe(Mt,gn){if(1&Mt&&(l.TgZ(0,"div",14,8),l._UZ(2,"table",15),l.qZA()),2&Mt){const rt=l.oxw();l.Q6J("ngStyle",rt.bodyStyleMap),l.xp6(2),l.Q6J("scrollX",rt.scrollX)("listOfColWidth",rt.listOfColWidth)("theadTemplate",rt.theadTemplate)("contentTemplate",rt.contentTemplate)}}function Ke(Mt,gn){if(1&Mt&&(l.ynx(0),l._uU(1),l.BQk()),2&Mt){const rt=l.oxw();l.xp6(1),l.Oqu(rt.title)}}function Ze(Mt,gn){if(1&Mt&&(l.ynx(0),l._uU(1),l.BQk()),2&Mt){const rt=l.oxw();l.xp6(1),l.Oqu(rt.footer)}}function ve(Mt,gn){}function nt(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,ve,0,0,"ng-template",10),l.BQk()),2&Mt){l.oxw();const rt=l.MAs(11);l.xp6(1),l.Q6J("ngTemplateOutlet",rt)}}function x(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-title-footer",11),2&Mt){const rt=l.oxw();l.Q6J("title",rt.nzTitle)}}function N(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-inner-scroll",12),2&Mt){const rt=l.oxw(),zt=l.MAs(13),It=l.MAs(3);l.Q6J("data",rt.data)("scrollX",rt.scrollX)("scrollY",rt.scrollY)("contentTemplate",zt)("listOfColWidth",rt.listOfAutoColWidth)("theadTemplate",rt.theadTemplate)("verticalScrollBarWidth",rt.verticalScrollBarWidth)("virtualTemplate",rt.nzVirtualScrollDirective?rt.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",rt.nzVirtualItemSize)("virtualMaxBufferPx",rt.nzVirtualMaxBufferPx)("virtualMinBufferPx",rt.nzVirtualMinBufferPx)("tableMainElement",It)("virtualForTrackBy",rt.nzVirtualForTrackBy)}}function O(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-inner-default",13),2&Mt){const rt=l.oxw(),zt=l.MAs(13);l.Q6J("tableLayout",rt.nzTableLayout)("listOfColWidth",rt.listOfManualColWidth)("theadTemplate",rt.theadTemplate)("contentTemplate",zt)}}function $(Mt,gn){if(1&Mt&&l._UZ(0,"nz-table-title-footer",14),2&Mt){const rt=l.oxw();l.Q6J("footer",rt.nzFooter)}}function L(Mt,gn){}function he(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,L,0,0,"ng-template",10),l.BQk()),2&Mt){l.oxw();const rt=l.MAs(11);l.xp6(1),l.Q6J("ngTemplateOutlet",rt)}}function Ce(Mt,gn){if(1&Mt){const rt=l.EpF();l.TgZ(0,"nz-pagination",16),l.NdJ("nzPageSizeChange",function(It){l.CHM(rt);const Xt=l.oxw(2);return l.KtG(Xt.onPageSizeChange(It))})("nzPageIndexChange",function(It){l.CHM(rt);const Xt=l.oxw(2);return l.KtG(Xt.onPageIndexChange(It))}),l.qZA()}if(2&Mt){const rt=l.oxw(2);l.Q6J("hidden",!rt.showPagination)("nzShowSizeChanger",rt.nzShowSizeChanger)("nzPageSizeOptions",rt.nzPageSizeOptions)("nzItemRender",rt.nzItemRender)("nzShowQuickJumper",rt.nzShowQuickJumper)("nzHideOnSinglePage",rt.nzHideOnSinglePage)("nzShowTotal",rt.nzShowTotal)("nzSize","small"===rt.nzPaginationType?"small":"default"===rt.nzSize?"default":"small")("nzPageSize",rt.nzPageSize)("nzTotal",rt.nzTotal)("nzSimple",rt.nzSimple)("nzPageIndex",rt.nzPageIndex)}}function Dt(Mt,gn){if(1&Mt&&l.YNc(0,Ce,1,12,"nz-pagination",15),2&Mt){const rt=l.oxw();l.Q6J("ngIf",rt.nzShowPagination&&rt.data.length)}}function Yt(Mt,gn){1&Mt&&l.Hsn(0)}const rn=["contentTemplate"];function hn(Mt,gn){1&Mt&&l.Hsn(0)}function yn(Mt,gn){}function Mn(Mt,gn){if(1&Mt&&(l.ynx(0),l.YNc(1,yn,0,0,"ng-template",2),l.BQk()),2&Mt){l.oxw();const rt=l.MAs(1);l.xp6(1),l.Q6J("ngTemplateOutlet",rt)}}let Dn=(()=>{class Mt{onVisibleChange(rt){this.nzVisible=rt,this.nzVisibleChange.next(rt)}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}constructor(rt,zt,It,Xt){this.nzConfigService=rt,this.ngZone=zt,this.cdr=It,this.destroy$=Xt,this._nzModuleName="filterTrigger",this.nzActive=!1,this.nzVisible=!1,this.nzBackdrop=!1,this.nzVisibleChange=new l.vpe}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,D.R)(this.nzDropdown.nativeElement,"click").pipe((0,j.R)(this.destroy$)).subscribe(rt=>{rt.stopPropagation()})})}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(De.jY),l.Y36(l.R0b),l.Y36(l.sBO),l.Y36(ae.kn))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-filter-trigger"]],viewQuery:function(zt,It){if(1&zt&&l.Gf(p.cm,7,l.SBq),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.nzDropdown=Xt.first)}},inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:"nzBackdrop"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],features:[l._Bn([ae.kn])],ngContentSelectors:le,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzBackdrop","nzClickHide","nzDropdownMenu","nzVisible","nzVisibleChange"]],template:function(zt,It){1&zt&&(l.F$t(),l.TgZ(0,"span",0),l.NdJ("nzVisibleChange",function(_n){return It.onVisibleChange(_n)}),l.Hsn(1),l.qZA()),2&zt&&(l.ekj("active",It.nzActive)("ant-table-filter-open",It.nzVisible),l.Q6J("nzBackdrop",It.nzBackdrop)("nzClickHide",!1)("nzDropdownMenu",It.nzDropdownMenu)("nzVisible",It.nzVisible))},dependencies:[p.cm],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzBackdrop",void 0),Mt})(),xn=(()=>{class Mt{trackByValue(rt,zt){return zt.value}check(rt){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(zt=>zt===rt?{...zt,checked:!rt.checked}:zt),rt.checked=!rt.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(zt=>({...zt,checked:zt===rt})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange(rt){this.isVisible=rt,rt?this.listOfChecked=this.listOfParsedFilter.filter(zt=>zt.checked).map(zt=>zt.value):this.emitFilterData()}emitFilterData(){const rt=this.listOfParsedFilter.filter(zt=>zt.checked).map(zt=>zt.value);(0,ce.cO)(this.listOfChecked,rt)||this.filterChange.emit(this.filterMultiple?rt:rt.length>0?rt[0]:null)}parseListOfFilter(rt,zt){return rt.map(It=>({text:It.text,value:It.value,checked:!zt&&!!It.byDefault}))}getCheckedStatus(rt){return rt.some(zt=>zt.checked)}constructor(rt,zt){this.cdr=rt,this.i18n=zt,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new l.vpe,this.destroy$=new y.x,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[],this.listOfChecked=[]}ngOnInit(){this.i18n.localeChange.pipe((0,j.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges(rt){const{listOfFilter:zt}=rt;zt&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.sBO),l.Y36(_.wi))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-filter"]],hostAttrs:[1,"ant-table-filter-column"],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[l.TTD],decls:3,vars:3,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[4,"ngIf","ngIfElse"],[3,"nzVisible","nzActive","nzDropdownMenu","nzVisibleChange"],["nz-icon","","nzType","filter","nzTheme","fill"],["filterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"disabled","click"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"nzSelected","click"],["nz-radio","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-radio","",3,"ngModel","ngModelChange"],["nz-checkbox","",3,"ngModel","ngModelChange"]],template:function(zt,It){1&zt&&(l.TgZ(0,"span",0),l.YNc(1,Se,0,0,"ng-template",1),l.qZA(),l.YNc(2,_e,13,8,"ng-container",2)),2&zt&&(l.xp6(1),l.Q6J("ngTemplateOutlet",It.contentTemplate),l.xp6(1),l.Q6J("ngIf",!It.customFilter)("ngIfElse",It.extraTemplate))},dependencies:[m.wO,m.r9,h.JJ,h.On,C.Of,z.Ie,p.RR,E.ix,X.w,ne.dQ,i.sg,i.O5,i.tP,d.Ls,Dn],encapsulation:2,changeDetection:0})}return Mt})(),Ln=(()=>{class Mt{constructor(){this.expand=!1,this.spaceMode=!1,this.expandChange=new l.vpe}onHostClick(){this.spaceMode||(this.expand=!this.expand,this.expandChange.next(this.expand))}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["button","nz-row-expand-button",""]],hostAttrs:[1,"ant-table-row-expand-icon"],hostVars:7,hostBindings:function(zt,It){1&zt&&l.NdJ("click",function(){return It.onHostClick()}),2&zt&&(l.Ikx("type","button"),l.ekj("ant-table-row-expand-icon-expanded",!It.spaceMode&&!0===It.expand)("ant-table-row-expand-icon-collapsed",!It.spaceMode&&!1===It.expand)("ant-table-row-expand-icon-spaced",It.spaceMode))},inputs:{expand:"expand",spaceMode:"spaceMode"},outputs:{expandChange:"expandChange"}})}return Mt})(),ei=(()=>{class Mt{constructor(){this.indentSize=0}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["nz-row-indent"]],hostAttrs:[1,"ant-table-row-indent"],hostVars:2,hostBindings:function(zt,It){2&zt&&l.Udp("padding-left",It.indentSize,"px")},inputs:{indentSize:"indentSize"}})}return Mt})(),Hn=(()=>{class Mt{constructor(){this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1}ngOnChanges(rt){const{sortDirections:zt}=rt;zt&&(this.isUp=-1!==this.sortDirections.indexOf("ascend"),this.isDown=-1!==this.sortDirections.indexOf("descend"))}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-sorters"]],hostAttrs:[1,"ant-table-column-sorters"],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[l.TTD],decls:6,vars:5,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nz-icon","","nzType","caret-up","class","ant-table-column-sorter-up",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-down","class","ant-table-column-sorter-down",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-up",1,"ant-table-column-sorter-up"],["nz-icon","","nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(zt,It){1&zt&&(l.TgZ(0,"span",0),l.YNc(1,lt,0,0,"ng-template",1),l.qZA(),l.TgZ(2,"span",2)(3,"span",3),l.YNc(4,Pe,1,2,"span",4),l.YNc(5,xt,1,2,"span",5),l.qZA()()),2&zt&&(l.xp6(1),l.Q6J("ngTemplateOutlet",It.contentTemplate),l.xp6(1),l.ekj("ant-table-column-sorter-full",It.isDown&&It.isUp),l.xp6(2),l.Q6J("ngIf",It.isUp),l.xp6(1),l.Q6J("ngIf",It.isDown))},dependencies:[X.w,i.O5,i.tP,d.Ls],encapsulation:2,changeDetection:0})}return Mt})(),di=(()=>{class Mt{setAutoLeftWidth(rt){this.renderer.setStyle(this.elementRef.nativeElement,"left",rt)}setAutoRightWidth(rt){this.renderer.setStyle(this.elementRef.nativeElement,"right",rt)}setIsFirstRight(rt){this.setFixClass(rt,"ant-table-cell-fix-right-first")}setIsLastLeft(rt){this.setFixClass(rt,"ant-table-cell-fix-left-last")}setFixClass(rt,zt){this.renderer.removeClass(this.elementRef.nativeElement,zt),rt&&this.renderer.addClass(this.elementRef.nativeElement,zt)}constructor(rt,zt){this.renderer=rt,this.elementRef=zt,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.colSpan=null,this.changes$=new y.x,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=""===this.nzLeft||!0===this.nzLeft,this.isAutoRight=""===this.nzRight||!0===this.nzRight,this.isFixedLeft=!1!==this.nzLeft,this.isFixedRight=!1!==this.nzRight,this.isFixed=this.isFixedLeft||this.isFixedRight;const rt=zt=>"string"==typeof zt&&""!==zt?zt:null;this.setAutoLeftWidth(rt(this.nzLeft)),this.setAutoRightWidth(rt(this.nzRight)),this.changes$.next()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.Qsj),l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function(zt,It){2&zt&&(l.Udp("position",It.isFixed?"sticky":null),l.ekj("ant-table-cell-fix-right",It.isFixedRight)("ant-table-cell-fix-left",It.isFixedLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[l.TTD]})}return Mt})(),oi=(()=>{class Mt{setTheadTemplate(rt){this.theadTemplate$.next(rt)}setHasFixLeft(rt){this.hasFixLeft$.next(rt)}setHasFixRight(rt){this.hasFixRight$.next(rt)}setTableWidthConfig(rt){this.tableWidthConfigPx$.next(rt)}setListOfTh(rt){let zt=0;rt.forEach(Xt=>{zt+=Xt.colspan&&+Xt.colspan||Xt.colSpan&&+Xt.colSpan||1});const It=rt.map(Xt=>Xt.nzWidth);this.columnCount$.next(zt),this.listOfThWidthConfigPx$.next(It)}setListOfMeasureColumn(rt){const zt=[];rt.forEach(It=>{const Xt=It.colspan&&+It.colspan||It.colSpan&&+It.colSpan||1;for(let _n=0;_n`${zt}px`))}setShowEmpty(rt){this.showEmpty$.next(rt)}setNoResult(rt){this.noResult$.next(rt)}setScroll(rt,zt){const It=!(!rt&&!zt);It||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(It)}constructor(){this.theadTemplate$=new P.t(1),this.hasFixLeft$=new P.t(1),this.hasFixRight$=new P.t(1),this.hostWidth$=new P.t(1),this.columnCount$=new P.t(1),this.showEmpty$=new P.t(1),this.noResult$=new P.t(1),this.listOfThWidthConfigPx$=new S.X([]),this.tableWidthConfigPx$=new S.X([]),this.manualWidthConfigPx$=(0,A.a)([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe((0,ze.U)(([rt,zt])=>rt.length?rt:zt)),this.listOfAutoWidthPx$=new P.t(1),this.listOfListOfThWidthPx$=(0,k.T)(this.manualWidthConfigPx$,(0,A.a)([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe((0,ze.U)(([rt,zt])=>rt.length===zt.length?rt.map((It,Xt)=>"0px"===It?zt[Xt]||null:zt[Xt]||It):zt))),this.listOfMeasureColumn$=new P.t(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe((0,ze.U)(rt=>rt.map(zt=>parseInt(zt,10)))),this.enableAutoMeasure$=new P.t(1)}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275prov=l.Yz7({token:Mt,factory:Mt.\u0275fac})}return Mt})(),ai=(()=>{class Mt{constructor(rt){this.isInsideTable=!1,this.isInsideTable=!!rt}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(oi,8))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["th",9,"nz-disable-th",3,"mat-cell",""],["td",9,"nz-disable-td",3,"mat-cell",""]],hostVars:2,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-cell",It.isInsideTable)}})}return Mt})(),ri=(()=>{class Mt{updatePageSize(rt){this.pageSize$.next(rt)}updateFrontPagination(rt){this.frontPagination$.next(rt)}updatePageIndex(rt){this.pageIndex$.next(rt)}updateListOfData(rt){this.listOfData$.next(rt)}updateListOfCustomColumn(rt){this.listOfCustomColumn$.next(rt)}constructor(){this.destroy$=new y.x,this.pageIndex$=new S.X(1),this.frontPagination$=new S.X(!0),this.pageSize$=new S.X(10),this.listOfData$=new S.X([]),this.listOfCustomColumn$=new S.X([]),this.pageIndexDistinct$=this.pageIndex$.pipe((0,Y.x)()),this.pageSizeDistinct$=this.pageSize$.pipe((0,Y.x)()),this.listOfCalcOperator$=new S.X([]),this.queryParams$=(0,A.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe((0,G.b)(0),(0,V.T)(1),(0,ze.U)(([rt,zt,It])=>({pageIndex:rt,pageSize:zt,sort:It.filter(Xt=>Xt.sortFn).map(Xt=>({key:Xt.key,value:Xt.sortOrder})),filter:It.filter(Xt=>Xt.filterFn).map(Xt=>({key:Xt.key,value:Xt.filterValue}))}))),this.listOfDataAfterCalc$=(0,A.a)([this.listOfData$,this.listOfCalcOperator$]).pipe((0,ze.U)(([rt,zt])=>{let It=[...rt];const Xt=zt.filter(Fn=>{const{filterValue:On,filterFn:mi}=Fn;return!(null==On||Array.isArray(On)&&0===On.length)&&"function"==typeof mi});for(const Fn of Xt){const{filterFn:On,filterValue:mi}=Fn;It=It.filter(bt=>On(mi,bt))}const _n=zt.filter(Fn=>null!==Fn.sortOrder&&"function"==typeof Fn.sortFn).sort((Fn,On)=>+On.sortPriority-+Fn.sortPriority);return zt.length&&It.sort((Fn,On)=>{for(const mi of _n){const{sortFn:bt,sortOrder:at}=mi;if(bt&&at){const Je=bt(Fn,On,at);if(0!==Je)return"ascend"===at?Je:-Je}}return 0}),It})),this.listOfFrontEndCurrentPageData$=(0,A.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe((0,j.R)(this.destroy$),(0,K.h)(rt=>{const[zt,It,Xt]=rt;return zt<=(Math.ceil(Xt.length/It)||1)}),(0,ze.U)(([rt,zt,It])=>It.slice((rt-1)*zt,rt*zt))),this.listOfCurrentPageData$=this.frontPagination$.pipe((0,ee.w)(rt=>rt?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$)),this.total$=this.frontPagination$.pipe((0,ee.w)(rt=>rt?this.listOfDataAfterCalc$:this.listOfData$),(0,ze.U)(rt=>rt.length),(0,Y.x)())}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275prov=l.Yz7({token:Mt,factory:Mt.\u0275fac})}return Mt})(),Ti=(()=>{class Mt{constructor(){this.nzChecked=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzIndentSize=0,this.nzShowExpand=!1,this.nzShowCheckbox=!1,this.nzExpand=!1,this.nzCheckedChange=new l.vpe,this.nzExpandChange=new l.vpe,this.isNzShowExpandChanged=!1,this.isNzShowCheckboxChanged=!1}onCheckedChange(rt){this.nzChecked=rt,this.nzCheckedChange.emit(rt)}onExpandChange(rt){this.nzExpand=rt,this.nzExpandChange.emit(rt)}ngOnChanges(rt){const zt=On=>On&&On.firstChange&&void 0!==On.currentValue,{nzExpand:It,nzChecked:Xt,nzShowExpand:_n,nzShowCheckbox:Fn}=rt;_n&&(this.isNzShowExpandChanged=!0),Fn&&(this.isNzShowCheckboxChanged=!0),zt(It)&&!this.isNzShowExpandChanged&&(this.nzShowExpand=!0),zt(Xt)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["td","nzChecked",""],["td","nzDisabled",""],["td","nzIndeterminate",""],["td","nzIndentSize",""],["td","nzExpand",""],["td","nzShowExpand",""],["td","nzShowCheckbox",""]],hostVars:4,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-cell-with-append",It.nzShowExpand||It.nzIndentSize>0)("ant-table-selection-column",It.nzShowCheckbox)},inputs:{nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzIndentSize:"nzIndentSize",nzShowExpand:"nzShowExpand",nzShowCheckbox:"nzShowCheckbox",nzExpand:"nzExpand"},outputs:{nzCheckedChange:"nzCheckedChange",nzExpandChange:"nzExpandChange"},features:[l.TTD],attrs:$e,ngContentSelectors:le,decls:3,vars:2,consts:[[4,"ngIf"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange",4,"ngIf"],[3,"indentSize"],["nz-row-expand-button","",3,"expand","spaceMode","expandChange"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange"]],template:function(zt,It){1&zt&&(l.F$t(),l.YNc(0,ot,3,3,"ng-container",0),l.YNc(1,mt,1,3,"label",1),l.Hsn(2)),2&zt&&(l.Q6J("ngIf",It.nzShowExpand||It.nzIndentSize>0),l.xp6(1),l.Q6J("ngIf",It.nzShowCheckbox))},dependencies:[h.JJ,h.On,z.Ie,i.O5,ei,Ln],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowExpand",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowCheckbox",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzExpand",void 0),Mt})(),li=(()=>{class Mt{getNextSortDirection(rt,zt){const It=rt.indexOf(zt);return It===rt.length-1?rt[0]:rt[It+1]}setSortOrder(rt){this.sortOrderChange$.next(rt)}clearSortOrder(){null!==this.sortOrder&&this.setSortOrder(null)}onFilterValueChange(rt){this.nzFilterChange.emit(rt),this.nzFilterValue=rt,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}constructor(rt,zt,It,Xt){this.host=rt,this.cdr=zt,this.ngZone=It,this.destroy$=Xt,this.manualClickOrder$=new y.x,this.calcOperatorChange$=new y.x,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new y.x,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new l.vpe,this.nzSortOrderChange=new l.vpe,this.nzFilterChange=new l.vpe}ngOnInit(){this.ngZone.runOutsideAngular(()=>(0,D.R)(this.host.nativeElement,"click").pipe((0,K.h)(()=>this.nzShowSort),(0,j.R)(this.destroy$)).subscribe(()=>{const rt=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.ngZone.run(()=>{this.setSortOrder(rt),this.manualClickOrder$.next(this)})})),this.sortOrderChange$.pipe((0,j.R)(this.destroy$)).subscribe(rt=>{this.sortOrder!==rt&&(this.sortOrder=rt,this.nzSortOrderChange.emit(rt)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges(rt){const{nzSortDirections:zt,nzFilters:It,nzSortOrder:Xt,nzSortFn:_n,nzFilterFn:Fn,nzSortPriority:On,nzFilterMultiple:mi,nzShowSort:bt,nzShowFilter:at}=rt;zt&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),Xt&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),bt&&(this.isNzShowSortChanged=!0),at&&(this.isNzShowFilterChanged=!0);const Je=Rt=>Rt&&Rt.firstChange&&void 0!==Rt.currentValue;if((Je(Xt)||Je(_n))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),Je(It)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(It||mi)&&this.nzShowFilter){const Rt=this.nzFilters.filter(Kt=>Kt.byDefault).map(Kt=>Kt.value);this.nzFilterValue=this.nzFilterMultiple?Rt:Rt[0]||null}(_n||Fn||On||It)&&this.updateCalcOperator()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(l.R0b),l.Y36(ae.kn))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-column-has-sorters",It.nzShowSort)("ant-table-column-sort","descend"===It.sortOrder||"ascend"===It.sortOrder)},inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[l._Bn([ae.kn]),l.TTD],attrs:we,ngContentSelectors:Ot,decls:9,vars:2,consts:[[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange",4,"ngIf","ngIfElse"],["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange"],[3,"ngTemplateOutlet"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(zt,It){if(1&zt&&(l.F$t(ht),l.YNc(0,de,1,5,"nz-table-filter",0),l.YNc(1,B,1,1,"ng-template",null,1,l.W1O),l.YNc(3,Me,2,0,"ng-template",null,2,l.W1O),l.YNc(5,Ae,1,3,"ng-template",null,3,l.W1O),l.YNc(7,Le,1,0,"ng-template",null,4,l.W1O)),2&zt){const Xt=l.MAs(2);l.Q6J("ngIf",It.nzShowFilter||It.nzCustomFilter)("ngIfElse",Xt)}},dependencies:[i.O5,i.tP,Hn,xn],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowSort",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowFilter",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzCustomFilter",void 0),Mt})(),fi=(()=>{class Mt{constructor(rt,zt){this.renderer=rt,this.elementRef=zt,this.changes$=new y.x,this.nzWidth=null,this.colspan=null,this.colSpan=null,this.rowspan=null,this.rowSpan=null}ngOnChanges(rt){const{nzWidth:zt,colspan:It,rowspan:Xt,colSpan:_n,rowSpan:Fn}=rt;if(It||_n){const On=this.colspan||this.colSpan;(0,ce.kK)(On)?this.renderer.removeAttribute(this.elementRef.nativeElement,"colspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"colspan",`${On}`)}if(Xt||Fn){const On=this.rowspan||this.rowSpan;(0,ce.kK)(On)?this.renderer.removeAttribute(this.elementRef.nativeElement,"rowspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"rowspan",`${On}`)}(zt||It)&&this.changes$.next()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.Qsj),l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[l.TTD]})}return Mt})(),ki=(()=>{class Mt{constructor(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(zt,It){2&zt&&(l.Udp("table-layout",It.tableLayout)("width",It.scrollX)("min-width",It.scrollX?"100%":null),l.ekj("ant-table-fixed",It.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:Wt,ngContentSelectors:le,decls:4,vars:3,consts:[[3,"width","minWidth",4,"ngFor","ngForOf"],["class","ant-table-thead",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-table-thead"]],template:function(zt,It){1&zt&&(l.F$t(),l.YNc(0,qt,1,4,"col",0),l.YNc(1,Vt,2,1,"thead",1),l.YNc(2,cn,0,0,"ng-template",2),l.Hsn(3)),2&zt&&(l.Q6J("ngForOf",It.listOfColWidth),l.xp6(1),l.Q6J("ngIf",It.theadTemplate),l.xp6(1),l.Q6J("ngTemplateOutlet",It.contentTemplate))},dependencies:[i.sg,i.O5,i.tP],encapsulation:2,changeDetection:0})}return Mt})(),$i=(()=>{class Mt{constructor(rt,zt){this.nzTableStyleService=rt,this.renderer=zt,this.hostWidth$=new S.X(null),this.enableAutoMeasure$=new S.X(!1),this.destroy$=new y.x}ngOnInit(){if(this.nzTableStyleService){const{enableAutoMeasure$:rt,hostWidth$:zt}=this.nzTableStyleService;rt.pipe((0,j.R)(this.destroy$)).subscribe(this.enableAutoMeasure$),zt.pipe((0,j.R)(this.destroy$)).subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe((0,j.R)(this.destroy$)).subscribe(rt=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${rt}`)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(oi),l.Y36(l.Qsj))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(zt,It){if(1&zt&&l.Gf(ft,7),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.tdElement=Xt.first)}},attrs:gt,ngContentSelectors:le,decls:6,vars:4,consts:[[1,"nz-disable-td","ant-table-cell"],["tdElement",""],["class","ant-table-expanded-row-fixed","style","position: sticky; left: 0px; overflow: hidden;",3,"width",4,"ngIf","ngIfElse"],["contentTemplate",""],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0px","overflow","hidden"],[3,"ngTemplateOutlet"]],template:function(zt,It){if(1&zt&&(l.F$t(),l.TgZ(0,"td",0,1),l.YNc(2,Ct,3,5,"div",2),l.ALo(3,"async"),l.qZA(),l.YNc(4,Nt,1,0,"ng-template",null,3,l.W1O)),2&zt){const Xt=l.MAs(5);l.xp6(2),l.Q6J("ngIf",l.lcZ(3,2,It.enableAutoMeasure$))("ngIfElse",Xt)}},dependencies:[i.O5,i.tP,i.Ov],encapsulation:2,changeDetection:0})}return Mt})(),no=(()=>{class Mt{constructor(){this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-inner-default"]],hostAttrs:[1,"ant-table-container"],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},decls:2,vars:4,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate"]],template:function(zt,It){1&zt&&(l.TgZ(0,"div",0),l._UZ(1,"table",1),l.qZA()),2&zt&&(l.xp6(1),l.Q6J("contentTemplate",It.contentTemplate)("tableLayout",It.tableLayout)("listOfColWidth",It.listOfColWidth)("theadTemplate",It.theadTemplate))},dependencies:[ki],encapsulation:2,changeDetection:0})}return Mt})(),Eo=(()=>{class Mt{constructor(rt,zt){this.nzResizeObserver=rt,this.ngZone=zt,this.listOfMeasureColumn=[],this.listOfAutoWidth=new l.vpe,this.destroy$=new y.x}trackByFunc(rt,zt){return zt}ngAfterViewInit(){this.listOfTdElement.changes.pipe((0,te.O)(this.listOfTdElement)).pipe((0,ee.w)(rt=>(0,A.a)(rt.toArray().map(zt=>this.nzResizeObserver.observe(zt).pipe((0,ze.U)(([It])=>{const{width:Xt}=It.target.getBoundingClientRect();return Math.floor(Xt)}))))),(0,G.b)(16),(0,j.R)(this.destroy$)).subscribe(rt=>{this.ngZone instanceof l.R0b&&l.R0b.isInAngularZone()?this.listOfAutoWidth.next(rt):this.ngZone.run(()=>this.listOfAutoWidth.next(rt))})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(u.D3),l.Y36(l.R0b))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(zt,It){if(1&zt&&l.Gf(ft,5),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.listOfTdElement=Xt)}},hostAttrs:[1,"ant-table-measure-now"],inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:kt,decls:1,vars:2,consts:[["class","nz-disable-td","style","padding: 0px; border: 0px; height: 0px;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nz-disable-td",2,"padding","0px","border","0px","height","0px"],["tdElement",""]],template:function(zt,It){1&zt&&l.YNc(0,St,2,0,"td",0),2&zt&&l.Q6J("ngForOf",It.listOfMeasureColumn)("ngForTrackBy",It.trackByFunc)},dependencies:[i.sg],encapsulation:2,changeDetection:0})}return Mt})(),wi=(()=>{class Mt{constructor(rt){if(this.nzTableStyleService=rt,this.isInsideTable=!1,this.showEmpty$=new S.X(!1),this.noResult$=new S.X(void 0),this.listOfMeasureColumn$=new S.X([]),this.destroy$=new y.x,this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){const{showEmpty$:zt,noResult$:It,listOfMeasureColumn$:Xt}=this.nzTableStyleService;It.pipe((0,j.R)(this.destroy$)).subscribe(this.noResult$),Xt.pipe((0,j.R)(this.destroy$)).subscribe(this.listOfMeasureColumn$),zt.pipe((0,j.R)(this.destroy$)).subscribe(this.showEmpty$)}}onListOfAutoWidthChange(rt){this.nzTableStyleService.setListOfAutoWidth(rt)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(oi,8))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["tbody"]],hostVars:2,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-tbody",It.isInsideTable)},ngContentSelectors:le,decls:5,vars:6,consts:[[4,"ngIf"],["class","ant-table-placeholder","nz-table-fixed-row","",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth"],["nz-table-fixed-row","",1,"ant-table-placeholder"],["nzComponentName","table",3,"specificContent"]],template:function(zt,It){1&zt&&(l.F$t(),l.YNc(0,Fe,2,1,"ng-container",0),l.ALo(1,"async"),l.Hsn(2),l.YNc(3,fe,3,3,"tr",1),l.ALo(4,"async")),2&zt&&(l.Q6J("ngIf",l.lcZ(1,2,It.listOfMeasureColumn$)),l.xp6(3),l.Q6J("ngIf",l.lcZ(4,4,It.showEmpty$)))},dependencies:[i.O5,v.gB,Eo,$i,i.Ov],encapsulation:2,changeDetection:0})}return Mt})(),Ji=(()=>{class Mt{setScrollPositionClassName(rt=!1){const{scrollWidth:zt,scrollLeft:It,clientWidth:Xt}=this.tableBodyElement.nativeElement,_n="ant-table-ping-left",Fn="ant-table-ping-right";zt===Xt&&0!==zt||rt?(this.renderer.removeClass(this.tableMainElement,_n),this.renderer.removeClass(this.tableMainElement,Fn)):0===It?(this.renderer.removeClass(this.tableMainElement,_n),this.renderer.addClass(this.tableMainElement,Fn)):zt===It+Xt?(this.renderer.removeClass(this.tableMainElement,Fn),this.renderer.addClass(this.tableMainElement,_n)):(this.renderer.addClass(this.tableMainElement,_n),this.renderer.addClass(this.tableMainElement,Fn))}constructor(rt,zt,It,Xt){this.renderer=rt,this.ngZone=zt,this.platform=It,this.resizeService=Xt,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=_n=>_n,this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new y.x,this.scroll$=new y.x,this.destroy$=new y.x}ngOnChanges(rt){const{scrollX:zt,scrollY:It,data:Xt}=rt;(zt||It)&&(this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&0!==this.verticalScrollBarWidth?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.ngZone.runOutsideAngular(()=>this.scroll$.next())),Xt&&this.ngZone.runOutsideAngular(()=>this.data$.next())}ngAfterViewInit(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{const rt=this.scroll$.pipe((0,te.O)(null),(0,pe.g)(0),(0,ee.w)(()=>(0,D.R)(this.tableBodyElement.nativeElement,"scroll").pipe((0,te.O)(!0))),(0,j.R)(this.destroy$)),zt=this.resizeService.subscribe().pipe((0,j.R)(this.destroy$)),It=this.data$.pipe((0,j.R)(this.destroy$));(0,k.T)(rt,zt,It,this.scroll$).pipe((0,te.O)(!0),(0,pe.g)(0),(0,j.R)(this.destroy$)).subscribe(()=>this.setScrollPositionClassName()),rt.pipe((0,K.h)(()=>!!this.scrollY)).subscribe(()=>this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}ngOnDestroy(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.Qsj),l.Y36(l.R0b),l.Y36(n.t4),l.Y36(ae.rI))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-inner-scroll"]],viewQuery:function(zt,It){if(1&zt&&(l.Gf(Xe,5,l.SBq),l.Gf(ge,5,l.SBq),l.Gf(t.N7,5,t.N7)),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.tableHeaderElement=Xt.first),l.iGM(Xt=l.CRH())&&(It.tableBodyElement=Xt.first),l.iGM(Xt=l.CRH())&&(It.cdkVirtualScrollViewport=Xt.first)}},hostAttrs:[1,"ant-table-container"],inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth"},features:[l.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-table-content",3,"ngStyle",4,"ngIf"],[1,"ant-table-header","nz-table-hide-scrollbar",3,"ngStyle"],["tableHeaderElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate"],["class","ant-table-body",3,"ngStyle",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","height",4,"ngIf"],[1,"ant-table-body",3,"ngStyle"],["tableBodyElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-content",3,"ngStyle"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate"]],template:function(zt,It){1&zt&&(l.YNc(0,be,6,6,"ng-container",0),l.YNc(1,Qe,3,5,"div",1)),2&zt&&(l.Q6J("ngIf",It.scrollY),l.xp6(1),l.Q6J("ngIf",!It.scrollY))},dependencies:[i.O5,i.tP,i.PC,t.xd,t.x0,t.N7,wi,ki],encapsulation:2,changeDetection:0})}return Mt})(),Di=(()=>{class Mt{constructor(rt){this.templateRef=rt}static ngTemplateContextGuard(rt,zt){return!0}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]})}return Mt})(),Wi=(()=>{class Mt{constructor(){this.title=null,this.footer=null}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-title",null!==It.title)("ant-table-footer",null!==It.footer)},inputs:{title:"title",footer:"footer"},decls:2,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(zt,It){1&zt&&(l.YNc(0,Ke,2,1,"ng-container",0),l.YNc(1,Ze,2,1,"ng-container",0)),2&zt&&(l.Q6J("nzStringTemplateOutlet",It.title),l.xp6(1),l.Q6J("nzStringTemplateOutlet",It.footer))},dependencies:[M.f],encapsulation:2,changeDetection:0})}return Mt})(),bi=(()=>{class Mt{onPageSizeChange(rt){this.nzTableDataService.updatePageSize(rt)}onPageIndexChange(rt){this.nzTableDataService.updatePageIndex(rt)}constructor(rt,zt,It,Xt,_n,Fn,On){this.elementRef=rt,this.nzResizeObserver=zt,this.nzConfigService=It,this.cdr=Xt,this.nzTableStyleService=_n,this.nzTableDataService=Fn,this.directionality=On,this._nzModuleName="table",this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=mi=>mi,this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzCustomColumn=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzPaginationType="default",this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzOuterBordered=!1,this.nzLoadingIndicator=null,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new l.vpe,this.nzPageIndexChange=new l.vpe,this.nzQueryParams=new l.vpe,this.nzCurrentPageDataChange=new l.vpe,this.nzCustomColumnChange=new l.vpe,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfAutoColWidth=[],this.listOfManualColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.showPagination=!0,this.destroy$=new y.x,this.templateMode$=new S.X(!1),this.dir="ltr",this.verticalScrollBarWidth=0,this.nzConfigService.getConfigChangeEventForComponent("table").pipe((0,j.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){const{pageIndexDistinct$:rt,pageSizeDistinct$:zt,listOfCurrentPageData$:It,total$:Xt,queryParams$:_n,listOfCustomColumn$:Fn}=this.nzTableDataService,{theadTemplate$:On,hasFixLeft$:mi,hasFixRight$:bt}=this.nzTableStyleService;this.dir=this.directionality.value,this.directionality.change?.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.dir=at,this.cdr.detectChanges()}),_n.pipe((0,j.R)(this.destroy$)).subscribe(this.nzQueryParams),rt.pipe((0,j.R)(this.destroy$)).subscribe(at=>{at!==this.nzPageIndex&&(this.nzPageIndex=at,this.nzPageIndexChange.next(at))}),zt.pipe((0,j.R)(this.destroy$)).subscribe(at=>{at!==this.nzPageSize&&(this.nzPageSize=at,this.nzPageSizeChange.next(at))}),Xt.pipe((0,j.R)(this.destroy$),(0,K.h)(()=>this.nzFrontPagination)).subscribe(at=>{at!==this.nzTotal&&(this.nzTotal=at,this.cdr.markForCheck())}),It.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.data=at,this.nzCurrentPageDataChange.next(at),this.cdr.markForCheck()}),Fn.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.nzCustomColumn=at,this.nzCustomColumnChange.next(at),this.cdr.markForCheck()}),On.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.theadTemplate=at,this.cdr.markForCheck()}),mi.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.hasFixLeft=at,this.cdr.markForCheck()}),bt.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.hasFixRight=at,this.cdr.markForCheck()}),(0,A.a)([Xt,this.templateMode$]).pipe((0,ze.U)(([at,Je])=>0===at&&!Je),(0,j.R)(this.destroy$)).subscribe(at=>{this.nzTableStyleService.setShowEmpty(at)}),this.verticalScrollBarWidth=(0,ce.D8)("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.listOfAutoColWidth=at,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe((0,j.R)(this.destroy$)).subscribe(at=>{this.listOfManualColWidth=at,this.cdr.markForCheck()})}ngOnChanges(rt){const{nzScroll:zt,nzPageIndex:It,nzPageSize:Xt,nzFrontPagination:_n,nzData:Fn,nzCustomColumn:On,nzWidthConfig:mi,nzNoResult:bt,nzTemplateMode:at}=rt;It&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),Xt&&this.nzTableDataService.updatePageSize(this.nzPageSize),Fn&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),On&&(this.nzCustomColumn=this.nzCustomColumn||[],this.nzTableDataService.updateListOfCustomColumn(this.nzCustomColumn)),_n&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),zt&&this.setScrollOnChanges(),mi&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),at&&this.templateMode$.next(this.nzTemplateMode),bt&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,ze.U)(([rt])=>{const{width:zt}=rt.target.getBoundingClientRect();return Math.floor(zt-(this.scrollY?this.verticalScrollBarWidth:0))}),(0,j.R)(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.SBq),l.Y36(u.D3),l.Y36(De.jY),l.Y36(l.sBO),l.Y36(oi),l.Y36(ri),l.Y36(e.Is,8))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["nz-table"]],contentQueries:function(zt,It,Xt){if(1&zt&&l.Suo(Xt,Di,5),2&zt){let _n;l.iGM(_n=l.CRH())&&(It.nzVirtualScrollDirective=_n.first)}},viewQuery:function(zt,It){if(1&zt&&l.Gf(Ji,5),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.nzTableInnerScrollComponent=Xt.first)}},hostAttrs:[1,"ant-table-wrapper"],hostVars:4,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-wrapper-rtl","rtl"===It.dir)("ant-table-custom-column",It.nzCustomColumn.length)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzCustomColumn:"nzCustomColumn",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzPaginationType:"nzPaginationType",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzOuterBordered:"nzOuterBordered",nzLoadingIndicator:"nzLoadingIndicator",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange",nzCustomColumnChange:"nzCustomColumnChange"},exportAs:["nzTable"],features:[l._Bn([oi,ri]),l.TTD],ngContentSelectors:le,decls:14,vars:27,consts:[[3,"nzDelay","nzSpinning","nzIndicator"],[4,"ngIf"],[1,"ant-table"],["tableMainElement",""],[3,"title",4,"ngIf"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy",4,"ngIf","ngIfElse"],["defaultTemplate",""],[3,"footer",4,"ngIf"],["paginationTemplate",""],["contentTemplate",""],[3,"ngTemplateOutlet"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate"],[3,"footer"],["class","ant-table-pagination ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange",4,"ngIf"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange"]],template:function(zt,It){if(1&zt&&(l.F$t(),l.TgZ(0,"nz-spin",0),l.YNc(1,nt,2,1,"ng-container",1),l.TgZ(2,"div",2,3),l.YNc(4,x,1,1,"nz-table-title-footer",4),l.YNc(5,N,1,13,"nz-table-inner-scroll",5),l.YNc(6,O,1,4,"ng-template",null,6,l.W1O),l.YNc(8,$,1,1,"nz-table-title-footer",7),l.qZA(),l.YNc(9,he,2,1,"ng-container",1),l.qZA(),l.YNc(10,Dt,1,1,"ng-template",null,8,l.W1O),l.YNc(12,Yt,1,0,"ng-template",null,9,l.W1O)),2&zt){const Xt=l.MAs(7);l.Q6J("nzDelay",It.nzLoadingDelay)("nzSpinning",It.nzLoading)("nzIndicator",It.nzLoadingIndicator),l.xp6(1),l.Q6J("ngIf","both"===It.nzPaginationPosition||"top"===It.nzPaginationPosition),l.xp6(1),l.ekj("ant-table-rtl","rtl"===It.dir)("ant-table-fixed-header",It.nzData.length&&It.scrollY)("ant-table-fixed-column",It.scrollX)("ant-table-has-fix-left",It.hasFixLeft)("ant-table-has-fix-right",It.hasFixRight)("ant-table-bordered",It.nzBordered)("nz-table-out-bordered",It.nzOuterBordered&&!It.nzBordered)("ant-table-middle","middle"===It.nzSize)("ant-table-small","small"===It.nzSize),l.xp6(2),l.Q6J("ngIf",It.nzTitle),l.xp6(1),l.Q6J("ngIf",It.scrollY||It.scrollX)("ngIfElse",Xt),l.xp6(3),l.Q6J("ngIf",It.nzFooter),l.xp6(1),l.Q6J("ngIf","both"===It.nzPaginationPosition||"bottom"===It.nzPaginationPosition)}},dependencies:[i.O5,i.tP,f.dE,T.W,Wi,no,Ji],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzFrontPagination",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzTemplateMode",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzShowPagination",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzLoading",void 0),(0,b.gn)([(0,ce.yF)()],Mt.prototype,"nzOuterBordered",void 0),(0,b.gn)([(0,De.oS)()],Mt.prototype,"nzLoadingIndicator",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzBordered",void 0),(0,b.gn)([(0,De.oS)()],Mt.prototype,"nzSize",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzShowSizeChanger",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzHideOnSinglePage",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzShowQuickJumper",void 0),(0,b.gn)([(0,De.oS)(),(0,ce.yF)()],Mt.prototype,"nzSimple",void 0),Mt})(),Ri=(()=>{class Mt{constructor(rt){this.nzTableStyleService=rt,this.destroy$=new y.x,this.listOfFixedColumns$=new P.t(1),this.listOfColumns$=new P.t(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe((0,ee.w)(zt=>(0,k.T)(this.listOfFixedColumns$,...zt.map(It=>It.changes$)).pipe((0,re.z)(()=>this.listOfFixedColumns$))),(0,j.R)(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,ze.U)(zt=>zt.filter(It=>!1!==It.nzLeft))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,ze.U)(zt=>zt.filter(It=>!1!==It.nzRight))),this.listOfColumnsChanges$=this.listOfColumns$.pipe((0,ee.w)(zt=>(0,k.T)(this.listOfColumns$,...zt.map(It=>It.changes$)).pipe((0,re.z)(()=>this.listOfColumns$))),(0,j.R)(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!rt}ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe((0,te.O)(this.listOfCellFixedDirective),(0,j.R)(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe((0,te.O)(this.listOfNzThDirective),(0,j.R)(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(rt=>{rt.forEach(zt=>zt.setIsLastLeft(zt===rt[rt.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe(rt=>{rt.forEach(zt=>zt.setIsFirstRight(zt===rt[0]))}),(0,A.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe((0,j.R)(this.destroy$)).subscribe(([rt,zt])=>{zt.forEach((It,Xt)=>{if(It.isAutoLeft){const Fn=zt.slice(0,Xt).reduce((mi,bt)=>mi+(bt.colspan||bt.colSpan||1),0),On=rt.slice(0,Fn).reduce((mi,bt)=>mi+bt,0);It.setAutoLeftWidth(`${On}px`)}})}),(0,A.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe((0,j.R)(this.destroy$)).subscribe(([rt,zt])=>{zt.forEach((It,Xt)=>{const _n=zt[zt.length-Xt-1];if(_n.isAutoRight){const On=zt.slice(zt.length-Xt,zt.length).reduce((bt,at)=>bt+(at.colspan||at.colSpan||1),0),mi=rt.slice(rt.length-On,rt.length).reduce((bt,at)=>bt+at,0);_n.setAutoRightWidth(`${mi}px`)}})}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(oi,8))};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["tr",3,"mat-row","",3,"mat-header-row","",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(zt,It,Xt){if(1&zt&&(l.Suo(Xt,fi,4),l.Suo(Xt,di,4)),2&zt){let _n;l.iGM(_n=l.CRH())&&(It.listOfNzThDirective=_n),l.iGM(_n=l.CRH())&&(It.listOfCellFixedDirective=_n)}},hostVars:2,hostBindings:function(zt,It){2&zt&&l.ekj("ant-table-row",It.isInsideTable)}})}return Mt})(),Pi=(()=>{class Mt{constructor(rt,zt,It,Xt){this.elementRef=rt,this.renderer=zt,this.nzTableStyleService=It,this.nzTableDataService=Xt,this.destroy$=new y.x,this.isInsideTable=!1,this.nzSortOrderChange=new l.vpe,this.isInsideTable=!!this.nzTableStyleService}ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){const rt=this.listOfNzTrDirective.changes.pipe((0,te.O)(this.listOfNzTrDirective),(0,ze.U)(_n=>_n&&_n.first)),zt=rt.pipe((0,ee.w)(_n=>_n?_n.listOfColumnsChanges$:R.E),(0,j.R)(this.destroy$));zt.subscribe(_n=>this.nzTableStyleService.setListOfTh(_n)),this.nzTableStyleService.enableAutoMeasure$.pipe((0,ee.w)(_n=>_n?zt:(0,W.of)([]))).pipe((0,j.R)(this.destroy$)).subscribe(_n=>this.nzTableStyleService.setListOfMeasureColumn(_n));const It=rt.pipe((0,ee.w)(_n=>_n?_n.listOfFixedLeftColumnChanges$:R.E),(0,j.R)(this.destroy$)),Xt=rt.pipe((0,ee.w)(_n=>_n?_n.listOfFixedRightColumnChanges$:R.E),(0,j.R)(this.destroy$));It.subscribe(_n=>{this.nzTableStyleService.setHasFixLeft(0!==_n.length)}),Xt.subscribe(_n=>{this.nzTableStyleService.setHasFixRight(0!==_n.length)})}if(this.nzTableDataService){const rt=this.listOfNzThAddOnComponent.changes.pipe((0,te.O)(this.listOfNzThAddOnComponent));rt.pipe((0,ee.w)(()=>(0,k.T)(...this.listOfNzThAddOnComponent.map(Xt=>Xt.manualClickOrder$))),(0,j.R)(this.destroy$)).subscribe(Xt=>{this.nzSortOrderChange.emit({key:Xt.nzColumnKey,value:Xt.sortOrder}),Xt.nzSortFn&&!1===Xt.nzSortPriority&&this.listOfNzThAddOnComponent.filter(Fn=>Fn!==Xt).forEach(Fn=>Fn.clearSortOrder())}),rt.pipe((0,ee.w)(Xt=>(0,k.T)(rt,...Xt.map(_n=>_n.calcOperatorChange$)).pipe((0,re.z)(()=>rt))),(0,ze.U)(Xt=>Xt.filter(_n=>!!_n.nzSortFn||!!_n.nzFilterFn).map(_n=>{const{nzSortFn:Fn,sortOrder:On,nzFilterFn:mi,nzFilterValue:bt,nzSortPriority:at,nzColumnKey:Je}=_n;return{key:Je,sortFn:Fn,sortPriority:at,sortOrder:On,filterFn:mi,filterValue:bt}})),(0,pe.g)(0),(0,j.R)(this.destroy$)).subscribe(Xt=>{this.nzTableDataService.listOfCalcOperator$.next(Xt)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(zt){return new(zt||Mt)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(oi,8),l.Y36(ri,8))};static#t=this.\u0275cmp=l.Xpm({type:Mt,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(zt,It,Xt){if(1&zt&&(l.Suo(Xt,Ri,5),l.Suo(Xt,li,5)),2&zt){let _n;l.iGM(_n=l.CRH())&&(It.listOfNzTrDirective=_n),l.iGM(_n=l.CRH())&&(It.listOfNzThAddOnComponent=_n)}},viewQuery:function(zt,It){if(1&zt&&l.Gf(rn,7),2&zt){let Xt;l.iGM(Xt=l.CRH())&&(It.templateRef=Xt.first)}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:le,decls:3,vars:1,consts:[["contentTemplate",""],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(zt,It){1&zt&&(l.F$t(),l.YNc(0,hn,1,0,"ng-template",null,0,l.W1O),l.YNc(2,Mn,2,1,"ng-container",1)),2&zt&&(l.xp6(2),l.Q6J("ngIf",!It.isInsideTable))},dependencies:[i.O5,i.tP],encapsulation:2,changeDetection:0})}return Mt})(),ni=(()=>{class Mt{constructor(){this.nzExpand=!0}static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275dir=l.lG2({type:Mt,selectors:[["tr","nzExpand",""]],hostAttrs:[1,"ant-table-expanded-row"],hostVars:1,hostBindings:function(zt,It){2&zt&&l.Ikx("hidden",!It.nzExpand)},inputs:{nzExpand:"nzExpand"}})}return Mt})(),Vn=(()=>{class Mt{static#e=this.\u0275fac=function(zt){return new(zt||Mt)};static#t=this.\u0275mod=l.oAB({type:Mt});static#n=this.\u0275inj=l.cJS({imports:[e.vT,m.ip,h.u5,M.T,C.aF,z.Wr,p.b1,E.sL,i.ez,n.ud,f.uK,u.y7,T.j,_.YI,d.PV,v.Xo,t.Cl]})}return Mt})()},79382:(tt,I,o)=>{"use strict";o.d(I,{we:()=>Ye,xH:()=>ge,xw:()=>qe});var e=o(65879),n=o(90551),t=o(8324),i=o(56879),l=o(4300),h=o(42495),E=o(36028),u=o(92438),z=o(47394),M=o(80927),p=o(76410),v=o(78645),_=o(22096),d=o(63019),m=o(59773),f=o(29028),C=o(27921),T=o(81374),b=o(32181),D=o(5177),y=o(96814),P=o(73460),S=o(62787),A=o(205),k=o(28802),R=o(49388),W=o(97582),j=o(27754),ze=o(52787),Y=o(17131),G=o(62831),V=o(83064),K=o(1608);function ee(We,wt){if(1&We&&(e.ynx(0),e._UZ(1,"span",1),e.BQk()),2&We){const Ee=wt.$implicit;e.xp6(1),e.Q6J("nzType",Ee)}}function te(We,wt){if(1&We&&(e.ynx(0),e._uU(1),e.BQk()),2&We){const Ee=e.oxw().$implicit;e.xp6(1),e.hij(" ",Ee.tab.label," ")}}const pe=function(){return{visible:!1}};function re(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"li",8),e.NdJ("click",function(){const Ke=e.CHM(Ee).$implicit,Ze=e.oxw(2);return e.KtG(Ze.onSelect(Ke))})("contextmenu",function(Qe){const Ze=e.CHM(Ee).$implicit,ve=e.oxw(2);return e.KtG(ve.onContextmenu(Ze,Qe))}),e.YNc(1,te,2,1,"ng-container",9),e.qZA()}if(2&We){const Ee=wt.$implicit;e.ekj("ant-tabs-dropdown-menu-item-disabled",Ee.disabled),e.Q6J("nzSelected",Ee.active)("nzDisabled",Ee.disabled),e.xp6(1),e.Q6J("nzStringTemplateOutlet",Ee.tab.label)("nzStringTemplateOutletContext",e.DdM(6,pe))}}function De(We,wt){if(1&We&&(e.TgZ(0,"ul",6),e.YNc(1,re,2,7,"li",7),e.qZA()),2&We){const Ee=e.oxw();e.xp6(1),e.Q6J("ngForOf",Ee.items)}}function ae(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(Ee);const Qe=e.oxw();return e.KtG(Qe.addClicked.emit())}),e.qZA()}if(2&We){const Ee=e.oxw();e.Q6J("addIcon",Ee.addIcon)}}const ce=function(){return{minWidth:"46px"}},X=["navWarp"],ne=["navList"];function le(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(Ee);const Qe=e.oxw();return e.KtG(Qe.addClicked.emit())}),e.qZA()}if(2&We){const Ee=e.oxw();e.Q6J("addIcon",Ee.addIcon)}}function Se(We,wt){}function Ne(We,wt){if(1&We&&(e.TgZ(0,"div",9),e.YNc(1,Se,0,0,"ng-template",10),e.qZA()),2&We){const Ee=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",Ee.extraTemplate)}}const ke=["*"],oe=["nz-tab-body",""];function _e(We,wt){}function Q(We,wt){if(1&We&&(e.ynx(0),e.YNc(1,_e,0,0,"ng-template",1),e.BQk()),2&We){const Ee=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",Ee.content)}}function He(We,wt){if(1&We&&(e.ynx(0),e._UZ(1,"span",1),e.BQk()),2&We){const Ee=wt.$implicit;e.xp6(1),e.Q6J("nzType",Ee)}}const Re=["contentTemplate"];function lt(We,wt){1&We&&e.Hsn(0)}function Pe(We,wt){1&We&&e.Hsn(0,1)}const xt=[[["","nz-tab-link",""]],"*"],$e=["[nz-tab-link]","*"];function ot(We,wt){if(1&We&&(e.ynx(0),e._uU(1),e.BQk()),2&We){const Ee=e.oxw().$implicit;e.xp6(1),e.Oqu(Ee.label)}}function mt(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(Qe){e.CHM(Ee);const Ke=e.oxw().index,Ze=e.oxw(2);return e.KtG(Ze.onClose(Ke,Qe))}),e.qZA()}if(2&We){const Ee=e.oxw().$implicit;e.Q6J("closeIcon",Ee.nzCloseIcon)}}const we=function(){return{visible:!0}};function de(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(Qe){const Ke=e.CHM(Ee),Ze=Ke.$implicit,ve=Ke.index,nt=e.oxw(2);return e.KtG(nt.clickNavItem(Ze,ve,Qe))})("contextmenu",function(Qe){const Ze=e.CHM(Ee).$implicit,ve=e.oxw(2);return e.KtG(ve.contextmenuNavItem(Ze,Qe))}),e.TgZ(1,"div",7),e.YNc(2,ot,2,1,"ng-container",8),e.YNc(3,mt,1,1,"button",9),e.qZA()()}if(2&We){const Ee=wt.$implicit,be=wt.index,Qe=e.oxw(2);e.Udp("margin-right","horizontal"===Qe.position?Qe.nzTabBarGutter:null,"px")("margin-bottom","vertical"===Qe.position?Qe.nzTabBarGutter:null,"px"),e.ekj("ant-tabs-tab-active",Qe.nzSelectedIndex===be)("ant-tabs-tab-disabled",Ee.nzDisabled),e.xp6(1),e.Q6J("disabled",Ee.nzDisabled)("tab",Ee)("active",Qe.nzSelectedIndex===be),e.uIk("tabIndex",Qe.getTabIndex(Ee,be))("aria-disabled",Ee.nzDisabled)("aria-selected",Qe.nzSelectedIndex===be&&!Qe.nzHideAll)("aria-controls",Qe.getTabContentId(be)),e.xp6(1),e.Q6J("nzStringTemplateOutlet",Ee.label)("nzStringTemplateOutletContext",e.DdM(18,we)),e.xp6(1),e.Q6J("ngIf",Ee.nzClosable&&Qe.closable&&!Ee.nzDisabled)}}function U(We,wt){if(1&We){const Ee=e.EpF();e.TgZ(0,"nz-tabs-nav",4),e.NdJ("tabScroll",function(Qe){e.CHM(Ee);const Ke=e.oxw();return e.KtG(Ke.nzTabListScroll.emit(Qe))})("selectFocusedIndex",function(Qe){e.CHM(Ee);const Ke=e.oxw();return e.KtG(Ke.setSelectedIndex(Qe))})("addClicked",function(){e.CHM(Ee);const Qe=e.oxw();return e.KtG(Qe.onAdd())}),e.YNc(1,de,4,19,"div",5),e.qZA()}if(2&We){const Ee=e.oxw();e.Q6J("ngStyle",Ee.nzTabBarStyle)("selectedIndex",Ee.nzSelectedIndex||0)("inkBarAnimated",Ee.inkBarAnimated)("addable",Ee.addable)("addIcon",Ee.nzAddIcon)("hideBar",Ee.nzHideAll)("position",Ee.position)("extraTemplate",Ee.nzTabBarExtraContent),e.xp6(1),e.Q6J("ngForOf",Ee.tabs)}}function B(We,wt){if(1&We&&e._UZ(0,"div",11),2&We){const Ee=wt.$implicit,be=wt.index,Qe=e.oxw();e.Q6J("active",Qe.nzSelectedIndex===be&&!Qe.nzHideAll)("content",Ee.content)("forceRender",Ee.nzForceRender)("tabPaneAnimated",Qe.tabPaneAnimated)}}let Me=(()=>{class We{constructor(Ee){this.elementRef=Ee,this.addIcon="plus",this.element=this.elementRef.nativeElement}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(be,Qe){1&be&&e.YNc(0,ee,2,1,"ng-container",0),2&be&&e.Q6J("nzStringTemplateOutlet",Qe.addIcon)},dependencies:[n.Ls,t.f],encapsulation:2})}return We})(),Ae=(()=>{class We{get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}constructor(Ee,be,Qe){this.elementRef=Ee,this.ngZone=be,this.animationMode=Qe,this.position="horizontal",this.animated=!0}alignToElement(Ee){this.ngZone.runOutsideAngular(()=>{(0,i.e)(()=>this.setStyles(Ee))})}setStyles(Ee){const be=this.elementRef.nativeElement;"horizontal"===this.position?(be.style.top="",be.style.height="",be.style.left=this.getLeftPosition(Ee),be.style.width=this.getElementWidth(Ee)):(be.style.left="",be.style.width="",be.style.top=this.getTopPosition(Ee),be.style.height=this.getElementHeight(Ee))}getLeftPosition(Ee){return Ee?`${Ee.offsetLeft||0}px`:"0"}getElementWidth(Ee){return Ee?`${Ee.offsetWidth||0}px`:"0"}getTopPosition(Ee){return Ee?`${Ee.offsetTop||0}px`:"0"}getElementHeight(Ee){return Ee?`${Ee.offsetHeight||0}px`:"0"}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(be,Qe){2&be&&e.ekj("ant-tabs-ink-bar-animated",Qe._animated)},inputs:{position:"position",animated:"animated"}})}return We})(),Le=(()=>{class We{constructor(Ee){this.elementRef=Ee,this.disabled=!1,this.active=!1,this.el=Ee.nativeElement,this.parentElement=this.el.parentElement}focus(){this.el.focus()}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["","nzTabNavItem",""]],inputs:{disabled:"disabled",tab:"tab",active:"active"}})}return We})(),ht=(()=>{class We{constructor(Ee,be){this.cdr=Ee,this.elementRef=be,this.items=[],this.addable=!1,this.addIcon="plus",this.addClicked=new e.vpe,this.selected=new e.vpe,this.closeAnimationWaitTimeoutId=-1,this.menuOpened=!1,this.element=this.elementRef.nativeElement}onSelect(Ee){Ee.disabled||(Ee.tab.nzClick.emit(),this.selected.emit(Ee))}onContextmenu(Ee,be){Ee.disabled||Ee.tab.nzContextmenu.emit(be)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(Ee){Ee||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.sBO),e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(be,Qe){2&be&&e.ekj("ant-tabs-nav-operations-hidden",0===Qe.items.length)},inputs:{items:"items",addable:"addable",addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement","nzVisibleChange","mouseenter"],["dropdownTrigger","nzDropdown"],["nz-icon","","nzType","ellipsis"],["menu","nzDropdownMenu"],["nz-menu","",4,"ngIf"],["nz-tab-add-button","",3,"addIcon","click",4,"ngIf"],["nz-menu",""],["nz-menu-item","","class","ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled","click","contextmenu",4,"ngFor","ngForOf"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"nzSelected","nzDisabled","click","contextmenu"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"addIcon","click"]],template:function(be,Qe){if(1&be&&(e.TgZ(0,"button",0,1),e.NdJ("nzVisibleChange",function(Ze){return Qe.menuVisChange(Ze)})("mouseenter",function(){return Qe.showItems()}),e._UZ(2,"span",2),e.qZA(),e.TgZ(3,"nz-dropdown-menu",null,3),e.YNc(5,De,2,1,"ul",4),e.qZA(),e.YNc(6,ae,1,1,"button",5)),2&be){const Ke=e.MAs(4);e.Q6J("nzDropdownMenu",Ke)("nzOverlayStyle",e.DdM(5,ce))("nzMatchWidthElement",null),e.xp6(5),e.Q6J("ngIf",Qe.menuOpened),e.xp6(1),e.Q6J("ngIf",Qe.addable)}},dependencies:[y.sg,y.O5,n.Ls,t.f,P.wO,P.r9,S.cm,S.RR,Me],encapsulation:2,changeDetection:0})}return We})();const qt=.995**20;let en=(()=>{class We{constructor(Ee,be){this.ngZone=Ee,this.elementRef=be,this.lastWheelDirection=null,this.lastWheelTimestamp=0,this.lastTimestamp=0,this.lastTimeDiff=0,this.lastMixedWheel=0,this.lastWheelPrevent=!1,this.touchPosition=null,this.lastOffset=null,this.motion=-1,this.unsubscribe=()=>{},this.offsetChange=new e.vpe,this.tabScroll=new e.vpe,this.onTouchEnd=Qe=>{if(!this.touchPosition)return;const Ke=this.lastOffset,Ze=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,Ke){const ve=Ke.x/Ze,nt=Ke.y/Ze,x=Math.abs(ve),N=Math.abs(nt);if(Math.max(x,N)<.1)return;let O=ve,$=nt;this.motion=window.setInterval(()=>{Math.abs(O)<.01&&Math.abs($)<.01?window.clearInterval(this.motion):(O*=qt,$*=qt,this.onOffset(20*O,20*$,Qe))},20)}},this.onTouchMove=Qe=>{if(!this.touchPosition)return;Qe.preventDefault();const{screenX:Ke,screenY:Ze}=Qe.touches[0],ve=Ke-this.touchPosition.x,nt=Ze-this.touchPosition.y;this.onOffset(ve,nt,Qe);const x=Date.now();this.lastTimeDiff=x-this.lastTimestamp,this.lastTimestamp=x,this.lastOffset={x:ve,y:nt},this.touchPosition={x:Ke,y:Ze}},this.onTouchStart=Qe=>{const{screenX:Ke,screenY:Ze}=Qe.touches[0];this.touchPosition={x:Ke,y:Ze},window.clearInterval(this.motion)},this.onWheel=Qe=>{const{deltaX:Ke,deltaY:Ze}=Qe;let ve;const nt=Math.abs(Ke),x=Math.abs(Ze);nt===x?ve="x"===this.lastWheelDirection?Ke:Ze:nt>x?(ve=Ke,this.lastWheelDirection="x"):(ve=Ze,this.lastWheelDirection="y");const N=Date.now(),O=Math.abs(ve);(N-this.lastWheelTimestamp>100||O-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-ve,-ve,Qe),(Qe.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=N,this.lastMixedWheel=O}}ngOnInit(){this.unsubscribe=this.ngZone.runOutsideAngular(()=>{const Ee=this.elementRef.nativeElement,be=(0,u.R)(Ee,"wheel"),Qe=(0,u.R)(Ee,"touchstart"),Ke=(0,u.R)(Ee,"touchmove"),Ze=(0,u.R)(Ee,"touchend"),ve=new z.w0;return ve.add(this.subscribeWrap("wheel",be,this.onWheel)),ve.add(this.subscribeWrap("touchstart",Qe,this.onTouchStart)),ve.add(this.subscribeWrap("touchmove",Ke,this.onTouchMove)),ve.add(this.subscribeWrap("touchend",Ze,this.onTouchEnd)),()=>{ve.unsubscribe()}})}subscribeWrap(Ee,be,Qe){return be.subscribe(Ke=>{this.tabScroll.emit({type:Ee,event:Ke}),Ke.defaultPrevented||Qe(Ke)})}onOffset(Ee,be,Qe){this.ngZone.run(()=>{this.offsetChange.emit({x:Ee,y:be,event:Qe})})}ngOnDestroy(){this.unsubscribe()}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.R0b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}})}return We})();const Vt=typeof requestAnimationFrame<"u"?M.Z:p.E;let ft=(()=>{class We{get selectedIndex(){return this._selectedIndex}set selectedIndex(Ee){const be=(0,h.su)(Ee);this._selectedIndex!==be&&(this._selectedIndex=Ee,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(Ee))}get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(Ee){!this.isValidIndex(Ee)||this.focusIndex===Ee||!this.keyManager||this.keyManager.setActiveItem(Ee)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}constructor(Ee,be,Qe,Ke,Ze){this.cdr=Ee,this.ngZone=be,this.viewportRuler=Qe,this.nzResizeObserver=Ke,this.dir=Ze,this.indexFocused=new e.vpe,this.selectFocusedIndex=new e.vpe,this.addClicked=new e.vpe,this.tabScroll=new e.vpe,this.position="horizontal",this.addable=!1,this.hideBar=!1,this.addIcon="plus",this.inkBarAnimated=!0,this.translate=null,this.transformX=0,this.transformY=0,this.pingLeft=!1,this.pingRight=!1,this.pingTop=!1,this.pingBottom=!1,this.hiddenItems=[],this.destroy$=new v.x,this._selectedIndex=0,this.wrapperWidth=0,this.wrapperHeight=0,this.scrollListWidth=0,this.scrollListHeight=0,this.operationWidth=0,this.operationHeight=0,this.addButtonWidth=0,this.addButtonHeight=0,this.selectedIndexChanged=!1,this.lockAnimationTimeoutId=-1,this.cssTransformTimeWaitingId=-1}ngAfterViewInit(){const Ee=this.dir?this.dir.change.asObservable():(0,_.of)(null),be=this.viewportRuler.change(150),Qe=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new l.Em(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),(0,i.e)(Qe),(0,d.T)(this.nzResizeObserver.observe(this.navWarpRef),this.nzResizeObserver.observe(this.navListRef)).pipe((0,m.R)(this.destroy$),(0,f.e)(16,Vt)).subscribe(()=>{Qe()}),(0,d.T)(Ee,be,this.items.changes).pipe((0,m.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(Qe),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe((0,m.R)(this.destroy$)).subscribe(Ke=>{this.indexFocused.emit(Ke),this.setTabFocus(Ke),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}ngOnDestroy(){clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId),this.destroy$.next(),this.destroy$.complete()}onSelectedFromMenu(Ee){const be=this.items.toArray().findIndex(Qe=>Qe===Ee);-1!==be&&(this.keyManager.updateActiveItem(be),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(Ee)))}onOffsetChange(Ee){if("horizontal"===this.position){if(-1===this.lockAnimationTimeoutId&&(this.transformX>=0&&Ee.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&Ee.x<0))return;Ee.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+Ee.x),this.setTransform(this.transformX,0)}else{if(-1===this.lockAnimationTimeoutId&&(this.transformY>=0&&Ee.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&Ee.y<0))return;Ee.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+Ee.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(Ee){const be=this.navWarpRef.nativeElement.contains(Ee.target);if(!(0,E.Vb)(Ee)&&be)switch(Ee.keyCode){case E.oh:case E.LH:case E.SV:case E.JH:this.lockAnimation(),this.keyManager.onKeydown(Ee);break;case E.K5:case E.L_:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(Ee)}}isValidIndex(Ee){if(!this.items)return!0;const be=this.items?this.items.toArray()[Ee]:null;return!!be&&!be.disabled}scrollToTab(Ee){if(!this.items.find(Qe=>Qe===Ee))return;const be=this.items.toArray();if("horizontal"===this.position){let Qe=this.transformX;if("rtl"===this.getLayoutDirection()){const Ke=be[0].left+be[0].width-Ee.left-Ee.width;Kethis.transformX+this.wrapperWidth&&(Qe=Ke+Ee.width-this.wrapperWidth)}else Ee.left<-this.transformX?Qe=-Ee.left:Ee.left+Ee.width>-this.transformX+this.wrapperWidth&&(Qe=-(Ee.left+Ee.width-this.wrapperWidth));this.transformX=Qe,this.transformY=0,this.setTransform(Qe,0)}else{let Qe=this.transformY;Ee.top<-this.transformY?Qe=-Ee.top:Ee.top+Ee.height>-this.transformY+this.wrapperHeight&&(Qe=-(Ee.top+Ee.height-this.wrapperHeight)),this.transformY=Qe,this.transformX=0,this.setTransform(0,Qe)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},150)}lockAnimation(){-1===this.lockAnimationTimeoutId&&this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=-1},150)})}setTransform(Ee,be){this.navListRef.nativeElement.style.transform=`translate(${Ee}px, ${be}px)`}clampTransformX(Ee){const be=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(be,Ee),0):Math.min(Math.max(be,Ee),0)}clampTransformY(Ee){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,Ee),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWarpRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWarpRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const Ee=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,be=Ee?Ee.elementRef.nativeElement:null;be&&this.inkBar.alignToElement(be.parentElement)}setPingStatus(){const Ee={top:!1,right:!1,bottom:!1,left:!1},be=this.navWarpRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(Ee.right=this.transformX>0,Ee.left=this.transformX+this.wrapperWidth{const Ke=`ant-tabs-nav-wrap-ping-${Qe}`;Ee[Qe]?be.classList.add(Ke):be.classList.remove(Ke)})}setVisibleRange(){let Ee,be,Qe,Ke,Ze,ve;const nt=this.items.toArray(),x={width:0,height:0,left:0,top:0,right:0},N=Yt=>{let rn;return rn="right"===be?nt[0].left+nt[0].width-nt[Yt].left-nt[Yt].width:(nt[Yt]||x)[be],rn};"horizontal"===this.position?(Ee="width",Ke=this.wrapperWidth,Ze=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),ve=this.addButtonWidth,Qe=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(be="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidthKe&&(O=Ke-ve),!nt.length)return this.hiddenItems=[],void this.cdr.markForCheck();const $=nt.length;let L=$;for(let Yt=0;Yt<$;Yt+=1)if(N(Yt)+(nt[Yt]||x)[Ee]>Qe+O){L=Yt-1;break}let he=0;for(let Yt=$-1;Yt>=0;Yt-=1)if(N(Yt){class We{constructor(){this.content=null,this.active=!1,this.tabPaneAnimated=!0,this.forceRender=!1}static#e=this.\u0275fac=function(be){return new(be||We)};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:12,hostBindings:function(be,Qe){2&be&&(e.uIk("tabindex",Qe.active?0:-1)("aria-hidden",!Qe.active),e.Udp("visibility",Qe.tabPaneAnimated?Qe.active?null:"hidden":null)("height",Qe.tabPaneAnimated?Qe.active?null:0:null)("overflow-y",Qe.tabPaneAnimated?Qe.active?null:"none":null)("display",Qe.tabPaneAnimated||Qe.active?null:"none"),e.ekj("ant-tabs-tabpane-active",Qe.active))},inputs:{content:"content",active:"active",tabPaneAnimated:"tabPaneAnimated",forceRender:"forceRender"},exportAs:["nzTabBody"],attrs:oe,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(be,Qe){1&be&&e.YNc(0,Q,2,1,"ng-container",0),2&be&&e.Q6J("ngIf",Qe.active||Qe.forceRender)},dependencies:[y.O5,y.tP],encapsulation:2,changeDetection:0})}return We})(),Ie=(()=>{class We{constructor(){this.closeIcon="close"}static#e=this.\u0275fac=function(be){return new(be||We)};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(be,Qe){1&be&&e.YNc(0,He,2,1,"ng-container",0),2&be&&e.Q6J("nzStringTemplateOutlet",Qe.closeIcon)},dependencies:[n.Ls,t.f],encapsulation:2})}return We})(),Ct=(()=>{class We{constructor(Ee){this.templateRef=Ee}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.Rgc,1))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]})}return We})(),Nt=(()=>{class We{constructor(Ee,be){this.elementRef=Ee,this.routerLink=be}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(e.SBq),e.Y36(ze.rH,10))};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]})}return We})(),kt=(()=>{class We{static#e=this.\u0275fac=function(be){return new(be||We)};static#t=this.\u0275dir=e.lG2({type:We,selectors:[["","nz-tab",""]],exportAs:["nzTab"]})}return We})();const St=new e.OlP("NZ_TAB_SET");let qe=(()=>{class We{get content(){return this.template||this.contentTemplate}get label(){return this.nzTitle||this.nzTabLinkTemplateDirective?.templateRef}constructor(Ee){this.closestTabSet=Ee,this.nzTitle="",this.nzClosable=!1,this.nzCloseIcon="close",this.nzDisabled=!1,this.nzForceRender=!1,this.nzSelect=new e.vpe,this.nzDeselect=new e.vpe,this.nzClick=new e.vpe,this.nzContextmenu=new e.vpe,this.template=null,this.isActive=!1,this.position=null,this.origin=null,this.stateChanges=new v.x}ngOnChanges(Ee){const{nzTitle:be,nzDisabled:Qe,nzForceRender:Ke}=Ee;(be||Qe||Ke)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(St))};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tab"]],contentQueries:function(be,Qe,Ke){if(1&be&&(e.Suo(Ke,Ct,5),e.Suo(Ke,kt,5,e.Rgc),e.Suo(Ke,Nt,5)),2&be){let Ze;e.iGM(Ze=e.CRH())&&(Qe.nzTabLinkTemplateDirective=Ze.first),e.iGM(Ze=e.CRH())&&(Qe.template=Ze.first),e.iGM(Ze=e.CRH())&&(Qe.linkDirective=Ze.first)}},viewQuery:function(be,Qe){if(1&be&&e.Gf(Re,7),2&be){let Ke;e.iGM(Ke=e.CRH())&&(Qe.contentTemplate=Ke.first)}},inputs:{nzTitle:"nzTitle",nzClosable:"nzClosable",nzCloseIcon:"nzCloseIcon",nzDisabled:"nzDisabled",nzForceRender:"nzForceRender"},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[e.TTD],ngContentSelectors:$e,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(be,Qe){1&be&&(e.F$t(xt),e.YNc(0,lt,1,0,"ng-template",null,0,e.W1O),e.YNc(2,Pe,1,0,"ng-template",null,1,e.W1O))},encapsulation:2,changeDetection:0})}return(0,W.gn)([(0,j.yF)()],We.prototype,"nzClosable",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzDisabled",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzForceRender",void 0),We})();class Fe{}let Xe=0,ge=(()=>{class We{get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(Ee){this.indexToSelect=(0,h.su)(Ee,null)}get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"horizontal"===this.position&&this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane)}constructor(Ee,be,Qe,Ke,Ze){this.nzConfigService=Ee,this.ngZone=be,this.cdr=Qe,this.directionality=Ke,this.router=Ze,this._nzModuleName="tabs",this.nzTabPosition="top",this.nzCanDeactivate=null,this.nzAddIcon="plus",this.nzTabBarStyle=null,this.nzType="line",this.nzSize="default",this.nzAnimated=!0,this.nzTabBarGutter=void 0,this.nzHideAdd=!1,this.nzCentered=!1,this.nzHideAll=!1,this.nzLinkRouter=!1,this.nzLinkExact=!0,this.nzSelectChange=new e.vpe(!0),this.nzSelectedIndexChange=new e.vpe,this.nzTabListScroll=new e.vpe,this.nzClose=new e.vpe,this.nzAdd=new e.vpe,this.allTabs=new e.n_E,this.tabs=new e.n_E,this.dir="ltr",this.destroy$=new v.x,this.indexToSelect=0,this.selectedIndex=null,this.tabLabelSubscription=z.w0.EMPTY,this.tabsSubscription=z.w0.EMPTY,this.canDeactivateSubscription=z.w0.EMPTY,this.tabSetId=Xe++}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(Ee=>{this.dir=Ee,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.tabsSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()}ngAfterContentInit(){this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>this.setUpRouter())}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabsSubscription=this.tabs.changes.subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const be=this.tabs.toArray();for(let Qe=0;Qe{this.tabs.forEach((Qe,Ke)=>Qe.isActive=Ke===Ee),be||this.nzSelectedIndexChange.emit(Ee)})}this.tabs.forEach((be,Qe)=>{be.position=Qe-Ee,null!=this.selectedIndex&&0===be.position&&!be.origin&&(be.origin=Ee-this.selectedIndex)}),this.selectedIndex!==Ee&&(this.selectedIndex=Ee,this.cdr.markForCheck())}onClose(Ee,be){be.preventDefault(),be.stopPropagation(),this.nzClose.emit({index:Ee})}onAdd(){this.nzAdd.emit()}clampTabIndex(Ee){return Math.min(this.tabs.length-1,Math.max(Ee||0,0))}createChangeEvent(Ee){const be=new Fe;return be.index=Ee,this.tabs&&this.tabs.length&&(be.tab=this.tabs.toArray()[Ee],this.tabs.forEach((Qe,Ke)=>{Ke!==Ee&&Qe.nzDeselect.emit()}),be.tab.nzSelect.emit()),be}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=(0,d.T)(...this.tabs.map(Ee=>Ee.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe((0,C.O)(this.allTabs)).subscribe(Ee=>{this.tabs.reset(Ee.filter(be=>be.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(Ee,be){return"function"==typeof this.nzCanDeactivate?(0,j.lN)(this.nzCanDeactivate(Ee,be)).pipe((0,T.P)(),(0,m.R)(this.destroy$)):(0,_.of)(!0)}clickNavItem(Ee,be,Qe){Ee.nzDisabled||(Ee.nzClick.emit(),this.isRouterLinkClickEvent(be,Qe)||this.setSelectedIndex(be))}isRouterLinkClickEvent(Ee,be){const Qe=be.target;return!!this.nzLinkRouter&&!!this.tabs.toArray()[Ee]?.linkDirective?.elementRef.nativeElement.contains(Qe)}contextmenuNavItem(Ee,be){Ee.nzDisabled||Ee.nzContextmenu.emit(be)}setSelectedIndex(Ee){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,Ee).subscribe(be=>{be&&(this.nzSelectedIndex=Ee,this.tabNavBarRef.focusIndex=Ee,this.cdr.markForCheck())})}getTabIndex(Ee,be){return Ee.nzDisabled?null:this.selectedIndex===be?0:-1}getTabContentId(Ee){return`nz-tabs-${this.tabSetId}-tab-${Ee}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${K.Bq} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);this.router.events.pipe((0,m.R)(this.destroy$),(0,b.h)(Ee=>Ee instanceof ze.m2),(0,C.O)(!0),(0,D.g)(0)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router.navigated){const Ee=this.findShouldActiveTabIndex();Ee!==this.selectedIndex&&this.setSelectedIndex(Ee),this.nzHideAll=-1===Ee}}findShouldActiveTabIndex(){const Ee=this.tabs.toArray(),be=this.isLinkActive(this.router);return Ee.findIndex(Qe=>{const Ke=Qe.linkDirective;return!!Ke&&be(Ke.routerLink)})}isLinkActive(Ee){return be=>!!be&&Ee.isActive(be.urlTree||"",{paths:this.nzLinkExact?"exact":"subset",queryParams:this.nzLinkExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}getTabContentMarginValue(){return 100*-(this.nzSelectedIndex||0)}getTabContentMarginLeft(){return this.tabPaneAnimated&&"rtl"!==this.dir?`${this.getTabContentMarginValue()}%`:""}getTabContentMarginRight(){return this.tabPaneAnimated&&"rtl"===this.dir?`${this.getTabContentMarginValue()}%`:""}static#e=this.\u0275fac=function(be){return new(be||We)(e.Y36(V.jY),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(R.Is,8),e.Y36(ze.F0,8))};static#t=this.\u0275cmp=e.Xpm({type:We,selectors:[["nz-tabset"]],contentQueries:function(be,Qe,Ke){if(1&be&&e.Suo(Ke,qe,5),2&be){let Ze;e.iGM(Ze=e.CRH())&&(Qe.allTabs=Ze)}},viewQuery:function(be,Qe){if(1&be&&e.Gf(ft,5),2&be){let Ke;e.iGM(Ke=e.CRH())&&(Qe.tabNavBarRef=Ke.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(be,Qe){2&be&&e.ekj("ant-tabs-card","card"===Qe.nzType||"editable-card"===Qe.nzType)("ant-tabs-editable","editable-card"===Qe.nzType)("ant-tabs-editable-card","editable-card"===Qe.nzType)("ant-tabs-centered",Qe.nzCentered)("ant-tabs-rtl","rtl"===Qe.dir)("ant-tabs-top","top"===Qe.nzTabPosition)("ant-tabs-bottom","bottom"===Qe.nzTabPosition)("ant-tabs-left","left"===Qe.nzTabPosition)("ant-tabs-right","right"===Qe.nzTabPosition)("ant-tabs-default","default"===Qe.nzSize)("ant-tabs-small","small"===Qe.nzSize)("ant-tabs-large","large"===Qe.nzSize)},inputs:{nzSelectedIndex:"nzSelectedIndex",nzTabPosition:"nzTabPosition",nzTabBarExtraContent:"nzTabBarExtraContent",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:"nzHideAdd",nzCentered:"nzCentered",nzHideAll:"nzHideAll",nzLinkRouter:"nzLinkRouter",nzLinkExact:"nzLinkExact"},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabset"],features:[e._Bn([{provide:St,useExisting:We}])],decls:4,vars:16,consts:[[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked",4,"ngIf"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated",4,"ngFor","ngForOf"],[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked"],["class","ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled","click","contextmenu",4,"ngFor","ngForOf"],[1,"ant-tabs-tab",3,"click","contextmenu"],["role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-close-button","",3,"closeIcon","click",4,"ngIf"],["nz-tab-close-button","",3,"closeIcon","click"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated"]],template:function(be,Qe){1&be&&(e.YNc(0,U,2,9,"nz-tabs-nav",0),e.TgZ(1,"div",1)(2,"div",2),e.YNc(3,B,1,4,"div",3),e.qZA()()),2&be&&(e.Q6J("ngIf",Qe.tabs.length||Qe.addable),e.xp6(2),e.Udp("margin-left",Qe.getTabContentMarginLeft())("margin-right",Qe.getTabContentMarginRight()),e.ekj("ant-tabs-content-top","top"===Qe.nzTabPosition)("ant-tabs-content-bottom","bottom"===Qe.nzTabPosition)("ant-tabs-content-left","left"===Qe.nzTabPosition)("ant-tabs-content-right","right"===Qe.nzTabPosition)("ant-tabs-content-animated",Qe.tabPaneAnimated),e.xp6(1),e.Q6J("ngForOf",Qe.tabs))},dependencies:[y.sg,y.O5,y.PC,t.f,l.kH,ft,Le,Ie,gt],encapsulation:2})}return(0,W.gn)([(0,V.oS)()],We.prototype,"nzType",void 0),(0,W.gn)([(0,V.oS)()],We.prototype,"nzSize",void 0),(0,W.gn)([(0,V.oS)()],We.prototype,"nzAnimated",void 0),(0,W.gn)([(0,V.oS)()],We.prototype,"nzTabBarGutter",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzHideAdd",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzCentered",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzHideAll",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzLinkRouter",void 0),(0,W.gn)([(0,j.yF)()],We.prototype,"nzLinkExact",void 0),We})(),Ye=(()=>{class We{static#e=this.\u0275fac=function(be){return new(be||We)};static#t=this.\u0275mod=e.oAB({type:We});static#n=this.\u0275inj=e.cJS({imports:[R.vT,y.ez,Y.Q8,n.PV,t.T,G.ud,l.rt,A.ZD,S.b1]})}return We})()},55695:(tt,I,o)=>{"use strict";o.d(I,{X:()=>d,j:()=>_});var e=o(97582),n=o(65879),t=o(78645),i=o(59773),l=o(13324),h=o(27754),E=o(49388),u=o(96814),z=o(90551),M=o(60095);function p(m,f){if(1&m){const C=n.EpF();n.TgZ(0,"span",1),n.NdJ("click",function(b){n.CHM(C);const D=n.oxw();return n.KtG(D.closeTag(b))}),n.qZA()}}const v=["*"];let _=(()=>{class m{constructor(C,T,b,D){this.cdr=C,this.renderer=T,this.elementRef=b,this.directionality=D,this.isPresetColor=!1,this.nzMode="default",this.nzChecked=!1,this.nzOnClose=new n.vpe,this.nzCheckedChange=new n.vpe,this.dir="ltr",this.destroy$=new t.x}updateCheckedStatus(){"checkable"===this.nzMode&&(this.nzChecked=!this.nzChecked,this.nzCheckedChange.emit(this.nzChecked))}closeTag(C){this.nzOnClose.emit(C),C.defaultPrevented||this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}clearPresetColor(){const C=this.elementRef.nativeElement,T=new RegExp(`(ant-tag-(?:${[...l.uf,...l.Bh].join("|")}))`,"g"),b=C.classList.toString(),D=[];let y=T.exec(b);for(;null!==y;)D.push(y[1]),y=T.exec(b);C.classList.remove(...D)}setPresetColor(){const C=this.elementRef.nativeElement;this.clearPresetColor(),this.isPresetColor=!!this.nzColor&&((0,l.o2)(this.nzColor)||(0,l.M8)(this.nzColor)),this.isPresetColor&&C.classList.add(`ant-tag-${this.nzColor}`)}ngOnInit(){this.directionality.change?.pipe((0,i.R)(this.destroy$)).subscribe(C=>{this.dir=C,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(C){const{nzColor:T}=C;T&&this.setPresetColor()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(T){return new(T||m)(n.Y36(n.sBO),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(E.Is,8))};static#t=this.\u0275cmp=n.Xpm({type:m,selectors:[["nz-tag"]],hostAttrs:[1,"ant-tag"],hostVars:10,hostBindings:function(T,b){1&T&&n.NdJ("click",function(){return b.updateCheckedStatus()}),2&T&&(n.Udp("background-color",b.isPresetColor?"":b.nzColor),n.ekj("ant-tag-has-color",b.nzColor&&!b.isPresetColor)("ant-tag-checkable","checkable"===b.nzMode)("ant-tag-checkable-checked",b.nzChecked)("ant-tag-rtl","rtl"===b.dir))},inputs:{nzMode:"nzMode",nzColor:"nzColor",nzChecked:"nzChecked"},outputs:{nzOnClose:"nzOnClose",nzCheckedChange:"nzCheckedChange"},exportAs:["nzTag"],features:[n.TTD],ngContentSelectors:v,decls:2,vars:1,consts:[["nz-icon","","nzType","close","class","ant-tag-close-icon","tabindex","-1",3,"click",4,"ngIf"],["nz-icon","","nzType","close","tabindex","-1",1,"ant-tag-close-icon",3,"click"]],template:function(T,b){1&T&&(n.F$t(),n.Hsn(0),n.YNc(1,p,1,0,"span",0)),2&T&&(n.xp6(1),n.Q6J("ngIf","closeable"===b.nzMode))},dependencies:[u.O5,z.Ls],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,h.yF)()],m.prototype,"nzChecked",void 0),m})(),d=(()=>{class m{static#e=this.\u0275fac=function(T){return new(T||m)};static#t=this.\u0275mod=n.oAB({type:m});static#n=this.\u0275inj=n.cJS({imports:[E.vT,u.ez,M.u5,z.PV]})}return m})()},60047:(tt,I,o)=>{"use strict";o.d(I,{Iv:()=>$e,m4:()=>mt,wY:()=>we});var e=o(97582),n=o(33651),t=o(65879),i=o(60095),l=o(78645),h=o(92438),E=o(22096),u=o(59773),z=o(93997),M=o(42460),p=o(37398),v=o(34338),_=o(64194),d=o(83064),m=o(1608),f=o(27754),C=o(12131),T=o(62831),b=o(49388),D=o(50883),y=o(96814),P=o(90551),S=o(85448),A=o(8324),k=o(70855),R=o(56879),W=o(42840),j=o(41958);const ze=["hourListElement"],Y=["minuteListElement"],G=["secondListElement"],V=["use12HoursListElement"];function K(de,U){if(1&de&&(t.TgZ(0,"div",4)(1,"div",5),t._uU(2),t.qZA()()),2&de){const B=t.oxw();t.xp6(2),t.Oqu(B.dateHelper.format(null==B.time?null:B.time.value,B.format)||"\xa0")}}function ee(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw().$implicit,Le=t.oxw(2);return t.KtG(Le.selectHour(Ae))}),t.TgZ(1,"div",11),t._uU(2),t.ALo(3,"number"),t.qZA()()}if(2&de){const B=t.oxw().$implicit,Me=t.oxw(2);t.ekj("ant-picker-time-panel-cell-selected",Me.isSelectedHour(B))("ant-picker-time-panel-cell-disabled",B.disabled),t.xp6(2),t.Oqu(t.xi3(3,5,B.index,"2.0-0"))}}function te(de,U){if(1&de&&(t.ynx(0),t.YNc(1,ee,4,8,"li",9),t.BQk()),2&de){const B=U.$implicit,Me=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!(Me.nzHideDisabledOptions&&B.disabled))}}function pe(de,U){if(1&de&&(t.TgZ(0,"ul",6,7),t.YNc(2,te,2,1,"ng-container",8),t.qZA()),2&de){const B=t.oxw();t.xp6(2),t.Q6J("ngForOf",B.hourRange)("ngForTrackBy",B.trackByFn)}}function re(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw().$implicit,Le=t.oxw(2);return t.KtG(Le.selectMinute(Ae))}),t.TgZ(1,"div",11),t._uU(2),t.ALo(3,"number"),t.qZA()()}if(2&de){const B=t.oxw().$implicit,Me=t.oxw(2);t.ekj("ant-picker-time-panel-cell-selected",Me.isSelectedMinute(B))("ant-picker-time-panel-cell-disabled",B.disabled),t.xp6(2),t.Oqu(t.xi3(3,5,B.index,"2.0-0"))}}function De(de,U){if(1&de&&(t.ynx(0),t.YNc(1,re,4,8,"li",9),t.BQk()),2&de){const B=U.$implicit,Me=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!(Me.nzHideDisabledOptions&&B.disabled))}}function ae(de,U){if(1&de&&(t.TgZ(0,"ul",6,12),t.YNc(2,De,2,1,"ng-container",8),t.qZA()),2&de){const B=t.oxw();t.xp6(2),t.Q6J("ngForOf",B.minuteRange)("ngForTrackBy",B.trackByFn)}}function ce(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw().$implicit,Le=t.oxw(2);return t.KtG(Le.selectSecond(Ae))}),t.TgZ(1,"div",11),t._uU(2),t.ALo(3,"number"),t.qZA()()}if(2&de){const B=t.oxw().$implicit,Me=t.oxw(2);t.ekj("ant-picker-time-panel-cell-selected",Me.isSelectedSecond(B))("ant-picker-time-panel-cell-disabled",B.disabled),t.xp6(2),t.Oqu(t.xi3(3,5,B.index,"2.0-0"))}}function X(de,U){if(1&de&&(t.ynx(0),t.YNc(1,ce,4,8,"li",9),t.BQk()),2&de){const B=U.$implicit,Me=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!(Me.nzHideDisabledOptions&&B.disabled))}}function ne(de,U){if(1&de&&(t.TgZ(0,"ul",6,13),t.YNc(2,X,2,1,"ng-container",8),t.qZA()),2&de){const B=t.oxw();t.xp6(2),t.Q6J("ngForOf",B.secondRange)("ngForTrackBy",B.trackByFn)}}function le(de,U){if(1&de){const B=t.EpF();t.ynx(0),t.TgZ(1,"li",10),t.NdJ("click",function(){const Le=t.CHM(B).$implicit,ht=t.oxw(2);return t.KtG(ht.select12Hours(Le))}),t.TgZ(2,"div",11),t._uU(3),t.qZA()(),t.BQk()}if(2&de){const B=U.$implicit,Me=t.oxw(2);t.xp6(1),t.ekj("ant-picker-time-panel-cell-selected",Me.isSelected12Hours(B)),t.xp6(2),t.Oqu(B.value)}}function Se(de,U){if(1&de&&(t.TgZ(0,"ul",6,14),t.YNc(2,le,4,3,"ng-container",15),t.qZA()),2&de){const B=t.oxw();t.xp6(2),t.Q6J("ngForOf",B.use12HoursRange)}}function Ne(de,U){}function ke(de,U){if(1&de&&(t.TgZ(0,"div",23),t.YNc(1,Ne,0,0,"ng-template",24),t.qZA()),2&de){const B=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",B.nzAddOn)}}function oe(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"div",16),t.YNc(1,ke,2,1,"div",17),t.TgZ(2,"ul",18)(3,"li",19)(4,"a",20),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw();return t.KtG(Ae.onClickNow())}),t._uU(5),t.ALo(6,"nzI18n"),t.qZA()(),t.TgZ(7,"li",21)(8,"button",22),t.NdJ("click",function(){t.CHM(B);const Ae=t.oxw();return t.KtG(Ae.onClickOk())}),t._uU(9),t.ALo(10,"nzI18n"),t.qZA()()()()}if(2&de){const B=t.oxw();t.xp6(1),t.Q6J("ngIf",B.nzAddOn),t.xp6(4),t.hij(" ",B.nzNowText||t.lcZ(6,3,"Calendar.lang.now")," "),t.xp6(4),t.hij(" ",B.nzOkText||t.lcZ(10,5,"Calendar.lang.ok")," ")}}const _e=["inputElement"];function Q(de,U){if(1&de&&(t.ynx(0),t._UZ(1,"span",8),t.BQk()),2&de){const B=U.$implicit;t.xp6(1),t.Q6J("nzType",B)}}function He(de,U){if(1&de&&t._UZ(0,"nz-form-item-feedback-icon",9),2&de){const B=t.oxw();t.Q6J("status",B.status)}}function Re(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"span",10),t.NdJ("click",function(Ae){t.CHM(B);const Le=t.oxw();return t.KtG(Le.onClickClearBtn(Ae))}),t._UZ(1,"span",11),t.qZA()}if(2&de){const B=t.oxw();t.xp6(1),t.uIk("aria-label",B.nzClearText)("title",B.nzClearText)}}function lt(de,U){if(1&de){const B=t.EpF();t.TgZ(0,"div",12)(1,"div",13)(2,"div",14)(3,"nz-time-picker-panel",15),t.NdJ("ngModelChange",function(Ae){t.CHM(B);const Le=t.oxw();return t.KtG(Le.value=Ae)})("ngModelChange",function(Ae){t.CHM(B);const Le=t.oxw();return t.KtG(Le.onPanelValueChange(Ae))})("closePanel",function(){t.CHM(B);const Ae=t.oxw();return t.KtG(Ae.closePanel())}),t.ALo(4,"async"),t.qZA()()()()}if(2&de){const B=t.oxw();t.Q6J("@slideMotion","enter"),t.xp6(3),t.Q6J("ngClass",B.nzPopupClassName)("format",B.nzFormat)("nzHourStep",B.nzHourStep)("nzMinuteStep",B.nzMinuteStep)("nzSecondStep",B.nzSecondStep)("nzDisabledHours",B.nzDisabledHours)("nzDisabledMinutes",B.nzDisabledMinutes)("nzDisabledSeconds",B.nzDisabledSeconds)("nzPlaceHolder",B.nzPlaceHolder||t.lcZ(4,19,B.i18nPlaceHolder$))("nzHideDisabledOptions",B.nzHideDisabledOptions)("nzUse12Hours",B.nzUse12Hours)("nzDefaultOpenValue",B.nzDefaultOpenValue)("nzAddOn",B.nzAddOn)("nzClearText",B.nzClearText)("nzNowText",B.nzNowText)("nzOkText",B.nzOkText)("nzAllowEmpty",B.nzAllowEmpty)("ngModel",B.value)}}class Pe{setMinutes(U,B){return B||(this.initValue(),this.value.setMinutes(U),this.update()),this}setHours(U,B){return B||(this.initValue(),this.value.setHours(this._use12Hours?"PM"===this.selected12Hours&&12!==U?U+12:"AM"===this.selected12Hours&&12===U?0:U:U),this.update()),this}setSeconds(U,B){return B||(this.initValue(),this.value.setSeconds(U),this.update()),this}setUse12Hours(U){return this._use12Hours=U,this}get changes(){return this._changes.asObservable()}setValue(U,B){return(0,f.DX)(B)&&(this._use12Hours=B),U!==this.value&&(this._value=U,(0,f.DX)(this.value)?this._use12Hours&&(0,f.DX)(this.hours)&&(this.selected12Hours=this.hours>=12?"PM":"AM"):this._clear()),this}initValue(){(0,f.kK)(this.value)&&this.setValue(new Date,this._use12Hours)}clear(){this._clear(),this.update()}get isEmpty(){return!((0,f.DX)(this.hours)||(0,f.DX)(this.minutes)||(0,f.DX)(this.seconds))}_clear(){this._value=void 0,this.selected12Hours=void 0}update(){this.isEmpty?this._value=void 0:((0,f.DX)(this.hours)&&this.value.setHours(this.hours),(0,f.DX)(this.minutes)&&this.value.setMinutes(this.minutes),(0,f.DX)(this.seconds)&&this.value.setSeconds(this.seconds),this._use12Hours&&("PM"===this.selected12Hours&&this.hours<12&&this.value.setHours(this.hours+12),"AM"===this.selected12Hours&&this.hours>=12&&this.value.setHours(this.hours-12))),this.changed()}changed(){this._changes.next(this.value)}get viewHours(){return this._use12Hours&&(0,f.DX)(this.hours)?this.calculateViewHour(this.hours):this.hours}setSelected12Hours(U){U.toUpperCase()!==this.selected12Hours&&(this.selected12Hours=U.toUpperCase(),this.update())}get value(){return this._value||this._defaultOpenValue}get hours(){return this.value?.getHours()}get minutes(){return this.value?.getMinutes()}get seconds(){return this.value?.getSeconds()}setDefaultOpenValue(U){return this._defaultOpenValue=U,this}constructor(){this.selected12Hours=void 0,this._use12Hours=!1,this._changes=new l.x}calculateViewHour(U){const B=this.selected12Hours;return"PM"===B&&U>12?U-12:"AM"===B&&0===U?12:U}}function xt(de,U=1,B=0){return new Array(Math.ceil(de/U)).fill(0).map((Me,Ae)=>(Ae+B)*U)}let $e=(()=>{class de{set nzAllowEmpty(B){(0,f.DX)(B)&&(this._allowEmpty=B)}get nzAllowEmpty(){return this._allowEmpty}set nzDisabledHours(B){this._disabledHours=B,this._disabledHours&&this.buildHours()}get nzDisabledHours(){return this._disabledHours}set nzDisabledMinutes(B){(0,f.DX)(B)&&(this._disabledMinutes=B,this.buildMinutes())}get nzDisabledMinutes(){return this._disabledMinutes}set nzDisabledSeconds(B){(0,f.DX)(B)&&(this._disabledSeconds=B,this.buildSeconds())}get nzDisabledSeconds(){return this._disabledSeconds}set format(B){if((0,f.DX)(B)){this._format=B,this.enabledColumns=0;const Me=new Set(B);this.hourEnabled=Me.has("H")||Me.has("h"),this.minuteEnabled=Me.has("m"),this.secondEnabled=Me.has("s"),this.hourEnabled&&this.enabledColumns++,this.minuteEnabled&&this.enabledColumns++,this.secondEnabled&&this.enabledColumns++,this.nzUse12Hours&&this.build12Hours()}}get format(){return this._format}set nzHourStep(B){(0,f.DX)(B)&&(this._nzHourStep=B,this.buildHours())}get nzHourStep(){return this._nzHourStep}set nzMinuteStep(B){(0,f.DX)(B)&&(this._nzMinuteStep=B,this.buildMinutes())}get nzMinuteStep(){return this._nzMinuteStep}set nzSecondStep(B){(0,f.DX)(B)&&(this._nzSecondStep=B,this.buildSeconds())}get nzSecondStep(){return this._nzSecondStep}trackByFn(B){return B}buildHours(){let B=24,Me=this.nzDisabledHours?.(),Ae=0;if(this.nzUse12Hours&&(B=12,Me&&(Me="PM"===this.time.selected12Hours?Me.filter(Le=>Le>=12).map(Le=>Le>12?Le-12:Le):Me.filter(Le=>Le<12||24===Le).map(Le=>24===Le||0===Le?12:Le)),Ae=1),this.hourRange=xt(B,this.nzHourStep,Ae).map(Le=>({index:Le,disabled:!!Me&&-1!==Me.indexOf(Le)})),this.nzUse12Hours&&12===this.hourRange[this.hourRange.length-1].index){const Le=[...this.hourRange];Le.unshift(Le[Le.length-1]),Le.splice(Le.length-1,1),this.hourRange=Le}}buildMinutes(){this.minuteRange=xt(60,this.nzMinuteStep).map(B=>({index:B,disabled:!!this.nzDisabledMinutes&&-1!==this.nzDisabledMinutes(this.time.hours).indexOf(B)}))}buildSeconds(){this.secondRange=xt(60,this.nzSecondStep).map(B=>({index:B,disabled:!!this.nzDisabledSeconds&&-1!==this.nzDisabledSeconds(this.time.hours,this.time.minutes).indexOf(B)}))}build12Hours(){const B=this._format.includes("A");this.use12HoursRange=[{index:0,value:B?"AM":"am"},{index:1,value:B?"PM":"pm"}]}buildTimes(){this.buildHours(),this.buildMinutes(),this.buildSeconds(),this.build12Hours()}scrollToTime(B=0){this.hourEnabled&&this.hourListElement&&this.scrollToSelected(this.hourListElement.nativeElement,this.time.viewHours,B,"hour"),this.minuteEnabled&&this.minuteListElement&&this.scrollToSelected(this.minuteListElement.nativeElement,this.time.minutes,B,"minute"),this.secondEnabled&&this.secondListElement&&this.scrollToSelected(this.secondListElement.nativeElement,this.time.seconds,B,"second"),this.nzUse12Hours&&this.use12HoursListElement&&this.scrollToSelected(this.use12HoursListElement.nativeElement,"AM"===this.time.selected12Hours?0:1,B,"12-hour")}selectHour(B){this.time.setHours(B.index,B.disabled),this._disabledMinutes&&this.buildMinutes(),(this._disabledSeconds||this._disabledMinutes)&&this.buildSeconds()}selectMinute(B){this.time.setMinutes(B.index,B.disabled),this._disabledSeconds&&this.buildSeconds()}selectSecond(B){this.time.setSeconds(B.index,B.disabled)}select12Hours(B){this.time.setSelected12Hours(B.value),this._disabledHours&&this.buildHours(),this._disabledMinutes&&this.buildMinutes(),this._disabledSeconds&&this.buildSeconds()}scrollToSelected(B,Me,Ae=0,Le){if(!B)return;const ht=this.translateIndex(Me,Le);this.scrollTo(B,(B.children[ht]||B.children[0]).offsetTop,Ae)}translateIndex(B,Me){return"hour"===Me?this.calcIndex(this.nzDisabledHours?.(),this.hourRange.map(Ae=>Ae.index).indexOf(B)):"minute"===Me?this.calcIndex(this.nzDisabledMinutes?.(this.time.hours),this.minuteRange.map(Ae=>Ae.index).indexOf(B)):"second"===Me?this.calcIndex(this.nzDisabledSeconds?.(this.time.hours,this.time.minutes),this.secondRange.map(Ae=>Ae.index).indexOf(B)):this.calcIndex([],this.use12HoursRange.map(Ae=>Ae.index).indexOf(B))}scrollTo(B,Me,Ae){if(Ae<=0)return void(B.scrollTop=Me);const ht=(Me-B.scrollTop)/Ae*10;this.ngZone.runOutsideAngular(()=>{(0,R.e)(()=>{B.scrollTop=B.scrollTop+ht,B.scrollTop!==Me&&this.scrollTo(B,Me,Ae-10)})})}calcIndex(B,Me){return B?.length&&this.nzHideDisabledOptions?Me-B.reduce((Ae,Le)=>Ae+(Le-1||(this.nzDisabledMinutes?.(Me).indexOf(Ae)??-1)>-1||(this.nzDisabledSeconds?.(Me,Ae).indexOf(Le)??-1)>-1}onClickNow(){const B=new Date;this.timeDisabled(B)||(this.time.setValue(B),this.changed(),this.closePanel.emit())}onClickOk(){this.time.setValue(this.time.value,this.nzUse12Hours),this.changed(),this.closePanel.emit()}isSelectedHour(B){return B.index===this.time.viewHours}isSelectedMinute(B){return B.index===this.time.minutes}isSelectedSecond(B){return B.index===this.time.seconds}isSelected12Hours(B){return B.value.toUpperCase()===this.time.selected12Hours}constructor(B,Me,Ae,Le){this.ngZone=B,this.cdr=Me,this.dateHelper=Ae,this.elementRef=Le,this._nzHourStep=1,this._nzMinuteStep=1,this._nzSecondStep=1,this.unsubscribe$=new l.x,this._format="HH:mm:ss",this._disabledHours=()=>[],this._disabledMinutes=()=>[],this._disabledSeconds=()=>[],this._allowEmpty=!0,this.time=new Pe,this.hourEnabled=!0,this.minuteEnabled=!0,this.secondEnabled=!0,this.firstScrolled=!1,this.enabledColumns=3,this.nzInDatePicker=!1,this.nzHideDisabledOptions=!1,this.nzUse12Hours=!1,this.closePanel=new t.vpe}ngOnInit(){this.time.changes.pipe((0,u.R)(this.unsubscribe$)).subscribe(()=>{this.changed(),this.touched(),this.scrollToTime(120)}),this.buildTimes(),this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.scrollToTime(),this.firstScrolled=!0}),(0,h.R)(this.elementRef.nativeElement,"mousedown").pipe((0,u.R)(this.unsubscribe$)).subscribe(B=>{B.preventDefault()})})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}ngOnChanges(B){const{nzUse12Hours:Me,nzDefaultOpenValue:Ae}=B;!Me?.previousValue&&Me?.currentValue&&(this.build12Hours(),this.enabledColumns++),Ae?.currentValue&&this.time.setDefaultOpenValue(this.nzDefaultOpenValue||new Date)}writeValue(B){this.time.setValue(B,this.nzUse12Hours),this.buildTimes(),B&&this.firstScrolled&&this.scrollToTime(120),this.cdr.markForCheck()}registerOnChange(B){this.onChange=B}registerOnTouched(B){this.onTouch=B}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(C.mx),t.Y36(t.SBq))};static#t=this.\u0275cmp=t.Xpm({type:de,selectors:[["nz-time-picker-panel"]],viewQuery:function(Me,Ae){if(1&Me&&(t.Gf(ze,5),t.Gf(Y,5),t.Gf(G,5),t.Gf(V,5)),2&Me){let Le;t.iGM(Le=t.CRH())&&(Ae.hourListElement=Le.first),t.iGM(Le=t.CRH())&&(Ae.minuteListElement=Le.first),t.iGM(Le=t.CRH())&&(Ae.secondListElement=Le.first),t.iGM(Le=t.CRH())&&(Ae.use12HoursListElement=Le.first)}},hostAttrs:[1,"ant-picker-time-panel"],hostVars:12,hostBindings:function(Me,Ae){2&Me&&t.ekj("ant-picker-time-panel-column-0",0===Ae.enabledColumns&&!Ae.nzInDatePicker)("ant-picker-time-panel-column-1",1===Ae.enabledColumns&&!Ae.nzInDatePicker)("ant-picker-time-panel-column-2",2===Ae.enabledColumns&&!Ae.nzInDatePicker)("ant-picker-time-panel-column-3",3===Ae.enabledColumns&&!Ae.nzInDatePicker)("ant-picker-time-panel-narrow",Ae.enabledColumns<3)("ant-picker-time-panel-placement-bottomLeft",!Ae.nzInDatePicker)},inputs:{nzInDatePicker:"nzInDatePicker",nzAddOn:"nzAddOn",nzHideDisabledOptions:"nzHideDisabledOptions",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPlaceHolder:"nzPlaceHolder",nzUse12Hours:"nzUse12Hours",nzDefaultOpenValue:"nzDefaultOpenValue",nzAllowEmpty:"nzAllowEmpty",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",format:"format",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep"},outputs:{closePanel:"closePanel"},exportAs:["nzTimePickerPanel"],features:[t._Bn([{provide:i.JU,useExisting:de,multi:!0}]),t.TTD],decls:7,vars:6,consts:[["class","ant-picker-header",4,"ngIf"],[1,"ant-picker-content"],["class","ant-picker-time-panel-column","style","position: relative;",4,"ngIf"],["class","ant-picker-footer",4,"ngIf"],[1,"ant-picker-header"],[1,"ant-picker-header-view"],[1,"ant-picker-time-panel-column",2,"position","relative"],["hourListElement",""],[4,"ngFor","ngForOf","ngForTrackBy"],["class","ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","ant-picker-time-panel-cell-disabled","click",4,"ngIf"],[1,"ant-picker-time-panel-cell",3,"click"],[1,"ant-picker-time-panel-cell-inner"],["minuteListElement",""],["secondListElement",""],["use12HoursListElement",""],[4,"ngFor","ngForOf"],[1,"ant-picker-footer"],["class","ant-picker-footer-extra",4,"ngIf"],[1,"ant-picker-ranges"],[1,"ant-picker-now"],[3,"click"],[1,"ant-picker-ok"],["nz-button","","type","button","nzSize","small","nzType","primary",3,"click"],[1,"ant-picker-footer-extra"],[3,"ngTemplateOutlet"]],template:function(Me,Ae){1&Me&&(t.YNc(0,K,3,1,"div",0),t.TgZ(1,"div",1),t.YNc(2,pe,3,2,"ul",2),t.YNc(3,ae,3,2,"ul",2),t.YNc(4,ne,3,2,"ul",2),t.YNc(5,Se,3,1,"ul",2),t.qZA(),t.YNc(6,oe,11,7,"div",3)),2&Me&&(t.Q6J("ngIf",Ae.nzInDatePicker),t.xp6(2),t.Q6J("ngIf",Ae.hourEnabled),t.xp6(1),t.Q6J("ngIf",Ae.minuteEnabled),t.xp6(1),t.Q6J("ngIf",Ae.secondEnabled),t.xp6(1),t.Q6J("ngIf",Ae.nzUse12Hours),t.xp6(1),t.Q6J("ngIf",!Ae.nzInDatePicker))},dependencies:[y.sg,y.O5,y.tP,W.ix,k.w,j.dQ,y.JJ,C.o9],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,f.yF)()],de.prototype,"nzUse12Hours",void 0),de})(),mt=(()=>{class de{emitValue(B){this.setValue(B,!0),this._onChange&&this._onChange(this.value),this._onTouched&&this._onTouched()}setValue(B,Me=!1){Me&&(this.preValue=(0,v.Z)(B)?new Date(B):null),this.value=(0,v.Z)(B)?new Date(B):null,this.inputValue=this.dateHelper.format(B,this.nzFormat),this.cdr.markForCheck()}open(){this.nzDisabled||this.nzOpen||(this.focus(),this.nzOpen=!0,this.nzOpenChange.emit(this.nzOpen))}close(){this.nzOpen=!1,this.cdr.markForCheck(),this.nzOpenChange.emit(this.nzOpen)}updateAutoFocus(){this.isInit&&!this.nzDisabled&&(this.nzAutoFocus?this.renderer.setAttribute(this.inputRef.nativeElement,"autofocus","autofocus"):this.renderer.removeAttribute(this.inputRef.nativeElement,"autofocus"))}onClickClearBtn(B){B.stopPropagation(),this.emitValue(null)}onClickOutside(B){this.element.nativeElement.contains(B.target)||this.setCurrentValueAndClose()}onFocus(B){this.focused=B,B||(this.checkTimeValid(this.value)?this.setCurrentValueAndClose():(this.setValue(this.preValue),this.close()))}focus(){this.inputRef.nativeElement&&this.inputRef.nativeElement.focus()}blur(){this.inputRef.nativeElement&&this.inputRef.nativeElement.blur()}onKeyupEsc(){this.setValue(this.preValue)}onKeyupEnter(){this.nzOpen&&(0,v.Z)(this.value)?this.setCurrentValueAndClose():this.nzOpen||this.open()}onInputChange(B){!this.platform.TRIDENT&&document.activeElement===this.inputRef.nativeElement&&(this.open(),this.parseTimeString(B))}onPanelValueChange(B){this.setValue(B),this.focus()}closePanel(){this.inputRef.nativeElement.blur()}setCurrentValueAndClose(){this.emitValue(this.value),this.close()}constructor(B,Me,Ae,Le,ht,Ot,Lt,Wt,qt,en){this.nzConfigService=B,this.i18n=Me,this.element=Ae,this.renderer=Le,this.cdr=ht,this.dateHelper=Ot,this.platform=Lt,this.directionality=Wt,this.nzFormStatusService=qt,this.nzFormNoStatusService=en,this._nzModuleName="timePicker",this.destroy$=new l.x,this.isNzDisableFirstChange=!0,this.isInit=!1,this.focused=!1,this.inputValue="",this.value=null,this.preValue=null,this.i18nPlaceHolder$=(0,E.of)(void 0),this.overlayPositions=[{offsetY:3,originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{offsetY:-3,originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{offsetY:3,originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{offsetY:-3,originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],this.dir="ltr",this.prefixCls="ant-picker",this.statusCls={},this.status="",this.hasFeedback=!1,this.nzId=null,this.nzSize=null,this.nzStatus="",this.nzHourStep=1,this.nzMinuteStep=1,this.nzSecondStep=1,this.nzClearText="clear",this.nzNowText="",this.nzOkText="",this.nzPopupClassName="",this.nzPlaceHolder="",this.nzFormat="HH:mm:ss",this.nzOpen=!1,this.nzUse12Hours=!1,this.nzSuffixIcon="clock-circle",this.nzOpenChange=new t.vpe,this.nzHideDisabledOptions=!1,this.nzAllowEmpty=!0,this.nzDisabled=!1,this.nzAutoFocus=!1,this.nzBackdrop=!1,this.nzBorderless=!1,this.nzInputReadOnly=!1}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,z.x)((B,Me)=>B.status===Me.status&&B.hasFeedback===Me.hasFeedback),(0,M.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,E.of)(!1)),(0,p.U)(([{status:B,hasFeedback:Me},Ae])=>({status:Ae?"":B,hasFeedback:Me})),(0,u.R)(this.destroy$)).subscribe(({status:B,hasFeedback:Me})=>{this.setStatusStyles(B,Me)}),this.inputSize=Math.max(8,this.nzFormat.length)+2,this.origin=new n.xu(this.element),this.i18nPlaceHolder$=this.i18n.localeChange.pipe((0,p.U)(B=>B.TimePicker.placeholder)),this.dir=this.directionality.value,this.directionality.change?.pipe((0,u.R)(this.destroy$)).subscribe(B=>{this.dir=B})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(B){const{nzUse12Hours:Me,nzFormat:Ae,nzDisabled:Le,nzAutoFocus:ht,nzStatus:Ot}=B;if(Me&&!Me.previousValue&&Me.currentValue&&!Ae&&(this.nzFormat="h:mm:ss a"),Le){const Wt=this.inputRef.nativeElement;Le.currentValue?this.renderer.setAttribute(Wt,"disabled",""):this.renderer.removeAttribute(Wt,"disabled")}ht&&this.updateAutoFocus(),Ot&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}parseTimeString(B){const Me=this.dateHelper.parseTime(B,this.nzFormat)||null;(0,v.Z)(Me)&&(this.value=Me,this.cdr.markForCheck())}ngAfterViewInit(){this.isInit=!0,this.updateAutoFocus()}writeValue(B){let Me;B instanceof Date?Me=B:(0,f.kK)(B)?Me=null:((0,m.ZK)('Non-Date type is not recommended for time-picker, use "Date" type.'),Me=new Date(B)),this.setValue(Me,!0)}registerOnChange(B){this._onChange=B}registerOnTouched(B){this._onTouched=B}setDisabledState(B){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||B,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}checkTimeValid(B){if(!B)return!0;const Me=this.nzDisabledHours?.(),Ae=this.nzDisabledMinutes?.(B.getHours()),Le=this.nzDisabledSeconds?.(B.getHours(),B.getMinutes());return!(Me?.includes(B.getHours())||Ae?.includes(B.getMinutes())||Le?.includes(B.getSeconds()))}setStatusStyles(B,Me){this.status=B,this.hasFeedback=Me,this.cdr.markForCheck(),this.statusCls=(0,f.Zu)(this.prefixCls,B,Me),Object.keys(this.statusCls).forEach(Ae=>{this.statusCls[Ae]?this.renderer.addClass(this.element.nativeElement,Ae):this.renderer.removeClass(this.element.nativeElement,Ae)})}static#e=this.\u0275fac=function(Me){return new(Me||de)(t.Y36(d.jY),t.Y36(C.wi),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(C.mx),t.Y36(T.t4),t.Y36(b.Is,8),t.Y36(D.kH,8),t.Y36(D.yW,8))};static#t=this.\u0275cmp=t.Xpm({type:de,selectors:[["nz-time-picker"]],viewQuery:function(Me,Ae){if(1&Me&&t.Gf(_e,7),2&Me){let Le;t.iGM(Le=t.CRH())&&(Ae.inputRef=Le.first)}},hostAttrs:[1,"ant-picker"],hostVars:12,hostBindings:function(Me,Ae){1&Me&&t.NdJ("click",function(){return Ae.open()}),2&Me&&t.ekj("ant-picker-large","large"===Ae.nzSize)("ant-picker-small","small"===Ae.nzSize)("ant-picker-disabled",Ae.nzDisabled)("ant-picker-focused",Ae.focused)("ant-picker-rtl","rtl"===Ae.dir)("ant-picker-borderless",Ae.nzBorderless)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPopupClassName:"nzPopupClassName",nzPlaceHolder:"nzPlaceHolder",nzAddOn:"nzAddOn",nzDefaultOpenValue:"nzDefaultOpenValue",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",nzFormat:"nzFormat",nzOpen:"nzOpen",nzUse12Hours:"nzUse12Hours",nzSuffixIcon:"nzSuffixIcon",nzHideDisabledOptions:"nzHideDisabledOptions",nzAllowEmpty:"nzAllowEmpty",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzBackdrop:"nzBackdrop",nzBorderless:"nzBorderless",nzInputReadOnly:"nzInputReadOnly"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzTimePicker"],features:[t._Bn([{provide:i.JU,useExisting:de,multi:!0}]),t.TTD],decls:9,vars:16,consts:[[1,"ant-picker-input"],["type","text","autocomplete","off",3,"size","placeholder","ngModel","disabled","readOnly","ngModelChange","focus","blur","keyup.enter","keyup.escape"],["inputElement",""],[1,"ant-picker-suffix"],[4,"nzStringTemplateOutlet"],[3,"status",4,"ngIf"],["class","ant-picker-clear",3,"click",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","detach","overlayOutsideClick"],["nz-icon","",3,"nzType"],[3,"status"],[1,"ant-picker-clear",3,"click"],["nz-icon","","nzType","close-circle","nzTheme","fill"],[1,"ant-picker-dropdown",2,"position","relative"],[1,"ant-picker-panel-container"],["tabindex","-1",1,"ant-picker-panel"],[3,"ngClass","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzPlaceHolder","nzHideDisabledOptions","nzUse12Hours","nzDefaultOpenValue","nzAddOn","nzClearText","nzNowText","nzOkText","nzAllowEmpty","ngModel","ngModelChange","closePanel"]],template:function(Me,Ae){1&Me&&(t.TgZ(0,"div",0)(1,"input",1,2),t.NdJ("ngModelChange",function(ht){return Ae.inputValue=ht})("focus",function(){return Ae.onFocus(!0)})("blur",function(){return Ae.onFocus(!1)})("keyup.enter",function(){return Ae.onKeyupEnter()})("keyup.escape",function(){return Ae.onKeyupEsc()})("ngModelChange",function(ht){return Ae.onInputChange(ht)}),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"span",3),t.YNc(5,Q,2,1,"ng-container",4),t.YNc(6,He,1,1,"nz-form-item-feedback-icon",5),t.qZA(),t.YNc(7,Re,2,2,"span",6),t.qZA(),t.YNc(8,lt,5,21,"ng-template",7),t.NdJ("detach",function(){return Ae.close()})("overlayOutsideClick",function(ht){return Ae.onClickOutside(ht)})),2&Me&&(t.xp6(1),t.Q6J("size",Ae.inputSize)("placeholder",Ae.nzPlaceHolder||t.lcZ(3,14,Ae.i18nPlaceHolder$))("ngModel",Ae.inputValue)("disabled",Ae.nzDisabled)("readOnly",Ae.nzInputReadOnly),t.uIk("id",Ae.nzId),t.xp6(4),t.Q6J("nzStringTemplateOutlet",Ae.nzSuffixIcon),t.xp6(1),t.Q6J("ngIf",Ae.hasFeedback&&!!Ae.status),t.xp6(1),t.Q6J("ngIf",Ae.nzAllowEmpty&&!Ae.nzDisabled&&Ae.value),t.xp6(1),t.Q6J("cdkConnectedOverlayHasBackdrop",Ae.nzBackdrop)("cdkConnectedOverlayPositions",Ae.overlayPositions)("cdkConnectedOverlayOrigin",Ae.origin)("cdkConnectedOverlayOpen",Ae.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-picker-dropdown"))},dependencies:[y.mk,y.O5,i.Fj,i.JJ,i.On,n.pI,P.Ls,S.hQ,A.f,k.w,D.w_,$e,y.Ov],encapsulation:2,data:{animation:[_.mF]},changeDetection:0})}return(0,e.gn)([(0,d.oS)()],de.prototype,"nzHourStep",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzMinuteStep",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzSecondStep",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzClearText",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzNowText",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzOkText",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzPopupClassName",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzFormat",void 0),(0,e.gn)([(0,d.oS)(),(0,f.yF)()],de.prototype,"nzUse12Hours",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzSuffixIcon",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzHideDisabledOptions",void 0),(0,e.gn)([(0,d.oS)(),(0,f.yF)()],de.prototype,"nzAllowEmpty",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzDisabled",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzAutoFocus",void 0),(0,e.gn)([(0,d.oS)()],de.prototype,"nzBackdrop",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzBorderless",void 0),(0,e.gn)([(0,f.yF)()],de.prototype,"nzInputReadOnly",void 0),de})(),we=(()=>{class de{static#e=this.\u0275fac=function(Me){return new(Me||de)};static#t=this.\u0275mod=t.oAB({type:de});static#n=this.\u0275inj=t.cJS({imports:[b.vT,y.ez,i.u5,C.YI,n.U8,P.PV,S.e4,A.T,W.sL,D.mJ]})}return de})()},96109:(tt,I,o)=>{"use strict";o.d(I,{Mg:()=>P,SY:()=>k,XK:()=>R,cg:()=>W,pu:()=>A});var e=o(97582),n=o(65879),t=o(64194),i=o(13324),l=o(27754),h=o(78645),E=o(76410),u=o(93997),z=o(59773),M=o(32181),p=o(5177),v=o(85448),_=o(331),d=o(83064),m=o(49388),f=o(96814),C=o(33651),T=o(8324);const b=["overlay"];function D(j,ze){if(1&j&&(n.ynx(0),n._uU(1),n.BQk()),2&j){const Y=n.oxw(2);n.xp6(1),n.Oqu(Y.nzTitle)}}function y(j,ze){if(1&j&&(n.TgZ(0,"div",2)(1,"div",3)(2,"div",4),n._UZ(3,"span",5),n.qZA(),n.TgZ(4,"div",6),n.YNc(5,D,2,1,"ng-container",7),n.qZA()()()),2&j){const Y=n.oxw();n.ekj("ant-tooltip-rtl","rtl"===Y.dir),n.Q6J("ngClass",Y._classMap)("ngStyle",Y.nzOverlayStyle)("@.disabled",!(null==Y.noAnimation||!Y.noAnimation.nzNoAnimation))("nzNoAnimation",null==Y.noAnimation?null:Y.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),n.xp6(3),n.Q6J("ngStyle",Y._contentStyleMap),n.xp6(1),n.Q6J("ngStyle",Y._contentStyleMap),n.xp6(1),n.Q6J("nzStringTemplateOutlet",Y.nzTitle)("nzStringTemplateOutletContext",Y.nzTitleContext)}}let P=(()=>{class j{get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){const Y=this.placement;return Array.isArray(Y)&&Y.length>0?Y:"string"==typeof Y&&Y?[Y]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}constructor(Y,G,V,K,ee,te){this.elementRef=Y,this.hostView=G,this.resolver=V,this.renderer=K,this.noAnimation=ee,this.nzConfigService=te,this.visibleChange=new n.vpe,this.internalVisible=!1,this.destroy$=new h.x,this.triggerDisposables=[]}ngOnChanges(Y){const{trigger:G}=Y;G&&!G.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(Y)}ngAfterViewInit(){this.createComponent(),this.registerTriggers()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const Y=this.componentRef;this.component=Y.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),Y.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();const G=this.component.nzVisibleChange.pipe((0,u.x)());G.pipe((0,z.R)(this.destroy$)).subscribe(V=>{this.internalVisible=V,this.visibleChange.emit(V)}),G.pipe((0,M.h)(V=>V),(0,p.g)(0,E.E),(0,M.h)(()=>!!this.component?.overlay?.overlayRef),(0,z.R)(this.destroy$)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){const Y=this.elementRef.nativeElement,G=this.trigger;if(this.removeTriggerListeners(),"hover"===G){let V;this.triggerDisposables.push(this.renderer.listen(Y,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(Y,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!V&&(V=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(V,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(V,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===G?(this.triggerDisposables.push(this.renderer.listen(Y,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(Y,"focusout",()=>this.hide()))):"click"===G&&this.triggerDisposables.push(this.renderer.listen(Y,"click",V=>{V.preventDefault(),this.show()}))}updatePropertiesByChanges(Y){this.updatePropertiesByKeys(Object.keys(Y))}updatePropertiesByKeys(Y){const G={title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],...this.getProxyPropertyMap()};(Y||Object.keys(G).filter(V=>!V.startsWith("directive"))).forEach(V=>{if(G[V]){const[K,ee]=G[V];this.updateComponentValue(K,ee())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(Y,G){typeof G<"u"&&(this.component[Y]=G)}delayEnterLeave(Y,G,V=-1){this.delayTimer?this.clearTogglingTimer():V>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,G?this.show():this.hide()},1e3*V):G&&Y?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(Y=>Y()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}static#e=this.\u0275fac=function(G){return new(G||j)(n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(n._Vd),n.Y36(n.Qsj),n.Y36(_.P),n.Y36(d.jY))};static#t=this.\u0275dir=n.lG2({type:j,features:[n.TTD]})}return j})(),S=(()=>{class j{set nzVisible(Y){const G=(0,l.sw)(Y);this._visible!==G&&(this._visible=G,this.nzVisibleChange.next(G))}get nzVisible(){return this._visible}set nzTrigger(Y){this._trigger=Y}get nzTrigger(){return this._trigger}set nzPlacement(Y){const G=Y.map(V=>v.yW[V]);this._positions=[...G,...v.Ek]}constructor(Y,G,V){this.cdr=Y,this.directionality=G,this.noAnimation=V,this.nzTitle=null,this.nzContent=null,this.nzArrowPointAtCenter=!1,this.nzOverlayStyle={},this.nzBackdrop=!1,this.nzVisibleChange=new h.x,this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this.dir="ltr",this._classMap={},this._prefix="ant-tooltip",this._positions=[...v.Ek],this.destroy$=new h.x}ngOnInit(){this.directionality.change?.pipe((0,z.R)(this.destroy$)).subscribe(Y=>{this.dir=Y,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(Y){this.preferredPlacement=(0,v.d_)(Y),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(Y){this.origin=Y,this.cdr.markForCheck()}onClickOutside(Y){!this.origin.nativeElement.contains(Y.target)&&null!==this.nzTrigger&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}static#e=this.\u0275fac=function(G){return new(G||j)(n.Y36(n.sBO),n.Y36(m.Is,8),n.Y36(_.P))};static#t=this.\u0275dir=n.lG2({type:j,viewQuery:function(G,V){if(1&G&&n.Gf(b,5),2&G){let K;n.iGM(K=n.CRH())&&(V.overlay=K.first)}}})}return j})();function A(j){return!(j instanceof n.Rgc||""!==j&&(0,l.DX)(j))}let k=(()=>{class j extends P{constructor(Y,G,V,K,ee){super(Y,G,V,K,ee),this.titleContext=null,this.trigger="hover",this.placement="top",this.visibleChange=new n.vpe,this.componentRef=this.hostView.createComponent(R)}getProxyPropertyMap(){return{...super.getProxyPropertyMap(),nzTooltipColor:["nzColor",()=>this.nzTooltipColor],nzTooltipTitleContext:["nzTitleContext",()=>this.titleContext]}}static#e=this.\u0275fac=function(G){return new(G||j)(n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(n._Vd),n.Y36(n.Qsj),n.Y36(_.P,9))};static#t=this.\u0275dir=n.lG2({type:j,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(G,V){2&G&&n.ekj("ant-tooltip-open",V.visible)},inputs:{title:["nzTooltipTitle","title"],titleContext:["nzTooltipTitleContext","titleContext"],directiveTitle:["nz-tooltip","directiveTitle"],trigger:["nzTooltipTrigger","trigger"],placement:["nzTooltipPlacement","placement"],origin:["nzTooltipOrigin","origin"],visible:["nzTooltipVisible","visible"],mouseEnterDelay:["nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzTooltipOverlayClassName","overlayClassName"],overlayStyle:["nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:["nzTooltipArrowPointAtCenter","arrowPointAtCenter"],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[n.qOj]})}return(0,e.gn)([(0,l.yF)()],j.prototype,"arrowPointAtCenter",void 0),j})(),R=(()=>{class j extends S{constructor(Y,G,V){super(Y,G,V),this.nzTitle=null,this.nzTitleContext=null,this._contentStyleMap={}}isEmpty(){return A(this.nzTitle)}updateStyles(){const Y=this.nzColor&&(0,i.o2)(this.nzColor);this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:Y},this._contentStyleMap={backgroundColor:this.nzColor&&!Y?this.nzColor:null}}static#e=this.\u0275fac=function(G){return new(G||j)(n.Y36(n.sBO),n.Y36(m.Is,8),n.Y36(_.P,9))};static#t=this.\u0275cmp=n.Xpm({type:j,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[n.qOj],decls:2,vars:5,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content",3,"ngStyle"],[1,"ant-tooltip-inner",3,"ngStyle"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(G,V){1&G&&(n.YNc(0,y,6,11,"ng-template",0,1,n.W1O),n.NdJ("overlayOutsideClick",function(ee){return V.onClickOutside(ee)})("detach",function(){return V.hide()})("positionChange",function(ee){return V.onPositionChange(ee)})),2&G&&n.Q6J("cdkConnectedOverlayOrigin",V.origin)("cdkConnectedOverlayOpen",V._visible)("cdkConnectedOverlayPositions",V._positions)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",V.nzArrowPointAtCenter)},dependencies:[f.mk,f.PC,C.pI,T.f,v.hQ,_.P],encapsulation:2,data:{animation:[t.$C]},changeDetection:0})}return j})(),W=(()=>{class j{static#e=this.\u0275fac=function(G){return new(G||j)};static#t=this.\u0275mod=n.oAB({type:j});static#n=this.\u0275inj=n.cJS({imports:[m.vT,f.ez,C.U8,T.T,v.e4,_.g]})}return j})()},10358:(tt,I,o)=>{"use strict";o.d(I,{BC:()=>mt,st:()=>we});var e=o(65879),n=o(65592),t=o(63019),i=o(92438),l=o(78645),h=o(22096),E=o(27921),u=o(94664),z=o(93997),M=o(42460),p=o(37398),v=o(59773),_=o(62612),d=o(96814),m=o(60804),f=o(60095),C=o(70855),T=o(90551),b=o(97582),D=o(27754),y=o(12131),P=o(49388),S=o(50883),A=o(42840),k=o(41958),R=o(20824);const W=["nz-transfer-search",""];function j(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"span",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae._clear())}),e._UZ(1,"span",5),e.qZA()}}const ze=function(de){return{"ant-input-disabled":de}},Y=["headerCheckbox"],G=["checkboxes"];function V(de,U){if(1&de&&(e.ynx(0),e._uU(1),e.BQk()),2&de){const B=e.oxw().$implicit;e.xp6(1),e.Oqu(B.title)}}function K(de,U){}const ee=function(de){return{"ant-transfer-list-content-item-disabled":de}},te=function(de){return{$implicit:de}};function pe(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"li",13),e.NdJ("click",function(){const Le=e.CHM(B).$implicit,ht=e.oxw(3);return e.KtG(ht.onItemSelect(Le))}),e.TgZ(1,"label",14,15),e.NdJ("nzCheckedChange",function(){const Le=e.CHM(B).$implicit,ht=e.oxw(3);return e.KtG(ht.onItemSelect(Le))}),e.YNc(3,V,2,1,"ng-container",7),e.YNc(4,K,0,0,"ng-template",16,17,e.W1O),e.qZA()()}if(2&de){const B=U.$implicit,Me=e.MAs(5),Ae=e.oxw(3);e.Q6J("ngClass",e.VKq(7,ee,Ae.disabled||B.disabled)),e.xp6(1),e.Q6J("nzChecked",B.checked)("nzDisabled",Ae.disabled||B.disabled),e.xp6(2),e.Q6J("ngIf",!Ae.render)("ngIfElse",Me),e.xp6(1),e.Q6J("ngTemplateOutlet",Ae.render)("ngTemplateOutletContext",e.VKq(9,te,B))}}function re(de,U){if(1&de&&(e.TgZ(0,"ul",11),e.YNc(1,pe,6,11,"li",12),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",B.validData)("ngForTrackBy",B.trackByHide)}}function De(de,U){if(1&de&&(e.TgZ(0,"div",18),e._UZ(1,"nz-embed-empty",19),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Q6J("nzComponentName","transfer")("specificContent",B.notFoundContent)}}function ae(de,U){if(1&de&&(e.YNc(0,re,2,2,"ul",9),e.YNc(1,De,2,2,"div",10)),2&de){const B=e.oxw();e.Q6J("ngIf",B.stat.shownCount>0),e.xp6(1),e.Q6J("ngIf",0===B.stat.shownCount)}}function ce(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("nzCheckedChange",function(Ae){e.CHM(B);const Le=e.oxw();return e.KtG(Le.onItemSelectAll(Ae))}),e.qZA()}if(2&de){const B=e.oxw();e.Q6J("nzChecked",B.stat.checkAll)("nzIndeterminate",B.stat.checkHalf)("nzDisabled",0===B.stat.shownCount||B.disabled)}}function X(de,U){if(1&de&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&de){const B=e.oxw();e.xp6(1),e.Oqu(B.titleText)}}function ne(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"div",23)(1,"span",24),e.NdJ("valueChanged",function(Ae){e.CHM(B);const Le=e.oxw();return e.KtG(Le.handleFilter(Ae))})("valueClear",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.handleClear())}),e.qZA()()}if(2&de){const B=e.oxw();e.xp6(1),e.Q6J("placeholder",B.searchPlaceholder)("disabled",B.disabled)("value",B.filter)}}function le(de,U){1&de&&e.GkF(0)}const Se=function(de,U,B,Me,Ae,Le){return{$implicit:de,direction:U,disabled:B,onItemSelectAll:Me,onItemSelect:Ae,stat:Le}};function Ne(de,U){if(1&de&&(e.ynx(0),e.TgZ(1,"div",25),e.YNc(2,le,1,0,"ng-container",26),e.qZA(),e.BQk()),2&de){const B=e.oxw();e.xp6(2),e.Q6J("ngTemplateOutlet",B.renderList)("ngTemplateOutletContext",e.HTZ(2,Se,B.validData,B.direction,B.disabled,B.onItemSelectAll,B.onItemSelect,B.stat))}}function ke(de,U){}function oe(de,U){if(1&de&&(e.TgZ(0,"div",27),e.YNc(1,ke,0,0,"ng-template",16),e.qZA()),2&de){const B=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",B.footer)("ngTemplateOutletContext",e.VKq(2,te,B.direction))}}const _e=function(de){return{"ant-transfer__nodata":de}};function Q(de,U){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Oqu(B.nzOperations[1])}}function He(de,U){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Oqu(B.nzOperations[0])}}function Re(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"div",3)(1,"button",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.moveToLeft())}),e._UZ(2,"span",5),e.YNc(3,Q,2,1,"span",6),e.qZA(),e.TgZ(4,"button",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.moveToRight())}),e._UZ(5,"span",7),e.YNc(6,He,2,1,"span",6),e.qZA()()}if(2&de){const B=e.oxw();e.xp6(1),e.Q6J("disabled",B.nzDisabled||!B.leftActive)("nzType","primary")("nzSize","small"),e.xp6(2),e.Q6J("ngIf",B.nzOperations[1]),e.xp6(1),e.Q6J("disabled",B.nzDisabled||!B.rightActive)("nzType","primary")("nzSize","small"),e.xp6(2),e.Q6J("ngIf",B.nzOperations[0])}}function lt(de,U){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Oqu(B.nzOperations[0])}}function Pe(de,U){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const B=e.oxw(2);e.xp6(1),e.Oqu(B.nzOperations[1])}}function xt(de,U){if(1&de){const B=e.EpF();e.TgZ(0,"div",3)(1,"button",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.moveToRight())}),e._UZ(2,"span",5),e.YNc(3,lt,2,1,"span",6),e.qZA(),e.TgZ(4,"button",4),e.NdJ("click",function(){e.CHM(B);const Ae=e.oxw();return e.KtG(Ae.moveToLeft())}),e._UZ(5,"span",7),e.YNc(6,Pe,2,1,"span",6),e.qZA()()}if(2&de){const B=e.oxw();e.xp6(1),e.Q6J("disabled",B.nzDisabled||!B.rightActive)("nzType","primary")("nzSize","small"),e.xp6(2),e.Q6J("ngIf",B.nzOperations[0]),e.xp6(1),e.Q6J("disabled",B.nzDisabled||!B.leftActive)("nzType","primary")("nzSize","small"),e.xp6(2),e.Q6J("ngIf",B.nzOperations[1])}}let $e=(()=>{class de{constructor(B){this.cdr=B,this.disabled=!1,this.valueChanged=new e.vpe,this.valueClear=new e.vpe}_handle(){this.valueChanged.emit(this.value)}_clear(){this.disabled||(this.value="",this.valueClear.emit())}ngOnChanges(){this.cdr.detectChanges()}static#e=this.\u0275fac=function(Me){return new(Me||de)(e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["","nz-transfer-search",""]],inputs:{placeholder:"placeholder",value:"value",disabled:"disabled"},outputs:{valueChanged:"valueChanged",valueClear:"valueClear"},exportAs:["nzTransferSearch"],features:[e.TTD],attrs:W,decls:4,vars:7,consts:[[1,"ant-input-prefix"],["nz-icon","","nzType","search"],[1,"ant-input",3,"ngModel","disabled","placeholder","ngClass","ngModelChange"],["class","ant-input-suffix",3,"click",4,"ngIf"],[1,"ant-input-suffix",3,"click"],["nz-icon","","nzType","close-circle",1,"ant-input-clear-icon"]],template:function(Me,Ae){1&Me&&(e.TgZ(0,"span",0),e._UZ(1,"span",1),e.qZA(),e.TgZ(2,"input",2),e.NdJ("ngModelChange",function(ht){return Ae.value=ht})("ngModelChange",function(){return Ae._handle()}),e.qZA(),e.YNc(3,j,2,0,"span",3)),2&Me&&(e.xp6(2),e.Q6J("ngModel",Ae.value)("disabled",Ae.disabled)("placeholder",Ae.placeholder)("ngClass",e.VKq(5,ze,Ae.disabled)),e.xp6(1),e.Q6J("ngIf",Ae.value&&Ae.value.length>0))},dependencies:[d.mk,d.O5,f.Fj,f.JJ,f.On,C.w,T.Ls],encapsulation:2,changeDetection:0})}return de})(),ot=(()=>{class de{get validData(){return this.dataSource.filter(B=>!B.hide)}trackByHide(B,Me){return Me.hide}updateCheckStatus(){const B=this.dataSource.filter(Me=>!Me.disabled).length;this.stat.checkCount=this.dataSource.filter(Me=>Me.checked&&!Me.disabled).length,this.stat.shownCount=this.validData.length,this.stat.checkAll=B>0&&B===this.stat.checkCount,this.stat.checkHalf=this.stat.checkCount>0&&!this.stat.checkAll,this.headerCheckbox&&(this.headerCheckbox.nzChecked=this.stat.checkAll)}handleFilter(B){this.filter=B,this.dataSource.forEach(Me=>{Me.hide=B.length>0&&!this.matchFilter(B,Me)}),this.stat.shownCount=this.validData.length,this.filterChange.emit({direction:this.direction,value:B})}handleClear(){this.handleFilter("")}matchFilter(B,Me){return this.filterOption?this.filterOption(B,Me):Me.title.includes(B)}constructor(B,Me){this.ngZone=B,this.cdr=Me,this.direction="left",this.titleText="",this.showSelectAll=!0,this.dataSource=[],this.itemUnit="",this.itemsUnit="",this.filter="",this.disabled=!1,this.renderList=null,this.render=null,this.footer=null,this.handleSelectAll=new e.vpe,this.handleSelect=new e.vpe,this.filterChange=new e.vpe,this.stat={checkAll:!1,checkHalf:!1,checkCount:0,shownCount:0},this.onItemSelect=Ae=>{this.disabled||Ae.disabled||(Ae.checked=!Ae.checked,this.updateCheckStatus(),this.handleSelect.emit(Ae))},this.onItemSelectAll=Ae=>{this.dataSource.forEach(Le=>{!Le.disabled&&!Le.hide&&(Le.checked=Ae)}),this.updateCheckStatus(),this.handleSelectAll.emit(Ae)}}markForCheck(){this.updateCheckStatus(),this.cdr.markForCheck()}ngAfterViewInit(){this.checkboxes.changes.pipe((0,E.O)(this.checkboxes),(0,u.w)(()=>{const B=this.checkboxes.toArray();return new n.y(Me=>this.ngZone.runOutsideAngular(()=>(0,t.T)(...B.map(Ae=>(0,i.R)(Ae.nativeElement,"click"))).subscribe(Me)))})).subscribe(B=>{B.stopPropagation()})}static#e=this.\u0275fac=function(Me){return new(Me||de)(e.Y36(e.R0b),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["nz-transfer-list"]],viewQuery:function(Me,Ae){if(1&Me&&(e.Gf(Y,5,_.Ie),e.Gf(G,5,e.SBq)),2&Me){let Le;e.iGM(Le=e.CRH())&&(Ae.headerCheckbox=Le.first),e.iGM(Le=e.CRH())&&(Ae.checkboxes=Le)}},hostAttrs:[1,"ant-transfer-list"],hostVars:2,hostBindings:function(Me,Ae){2&Me&&e.ekj("ant-transfer-list-with-footer",!!Ae.footer)},inputs:{direction:"direction",titleText:"titleText",showSelectAll:"showSelectAll",dataSource:"dataSource",itemUnit:"itemUnit",itemsUnit:"itemsUnit",filter:"filter",disabled:"disabled",showSearch:"showSearch",searchPlaceholder:"searchPlaceholder",notFoundContent:"notFoundContent",filterOption:"filterOption",renderList:"renderList",render:"render",footer:"footer"},outputs:{handleSelectAll:"handleSelectAll",handleSelect:"handleSelect",filterChange:"filterChange"},exportAs:["nzTransferList"],decls:12,vars:14,consts:[["defaultRenderList",""],[1,"ant-transfer-list-header"],["class","ant-transfer-list-checkbox","nz-checkbox","",3,"nzChecked","nzIndeterminate","nzDisabled","nzCheckedChange",4,"ngIf"],[1,"ant-transfer-list-header-selected"],["class","ant-transfer-list-header-title",4,"ngIf"],[3,"ngClass"],["class","ant-transfer-list-body-search-wrapper",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","ant-transfer-list-footer",4,"ngIf"],["class","ant-transfer-list-content",4,"ngIf"],["class","ant-transfer-list-body-not-found",4,"ngIf"],[1,"ant-transfer-list-content"],["class","ant-transfer-list-content-item",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-transfer-list-content-item",3,"ngClass","click"],["nz-checkbox","",3,"nzChecked","nzDisabled","nzCheckedChange"],["checkboxes",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["renderContainer",""],[1,"ant-transfer-list-body-not-found"],[3,"nzComponentName","specificContent"],["nz-checkbox","",1,"ant-transfer-list-checkbox",3,"nzChecked","nzIndeterminate","nzDisabled","nzCheckedChange"],["headerCheckbox",""],[1,"ant-transfer-list-header-title"],[1,"ant-transfer-list-body-search-wrapper"],["nz-transfer-search","",1,"ant-input-affix-wrapper","ant-transfer-list-search",3,"placeholder","disabled","value","valueChanged","valueClear"],[1,"ant-transfer-list-body-customize-wrapper"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-transfer-list-footer"]],template:function(Me,Ae){if(1&Me&&(e.YNc(0,ae,2,2,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1),e.YNc(3,ce,2,3,"label",2),e.TgZ(4,"span",3)(5,"span"),e._uU(6),e.qZA()(),e.YNc(7,X,2,1,"span",4),e.qZA(),e.TgZ(8,"div",5),e.YNc(9,ne,2,3,"div",6),e.YNc(10,Ne,3,9,"ng-container",7),e.qZA(),e.YNc(11,oe,2,4,"div",8)),2&Me){const Le=e.MAs(1);e.xp6(3),e.Q6J("ngIf",Ae.showSelectAll),e.xp6(3),e.AsE(" ",(Ae.stat.checkCount>0?Ae.stat.checkCount+"/":"")+Ae.stat.shownCount," ",Ae.validData.length>1?Ae.itemsUnit:Ae.itemUnit," "),e.xp6(1),e.Q6J("ngIf",Ae.titleText),e.xp6(1),e.Tol(Ae.showSearch?"ant-transfer-list-body ant-transfer-list-body-with-search":"ant-transfer-list-body"),e.Q6J("ngClass",e.VKq(12,_e,0===Ae.stat.shownCount)),e.xp6(1),e.Q6J("ngIf",Ae.showSearch),e.xp6(1),e.Q6J("ngIf",Ae.renderList)("ngIfElse",Le),e.xp6(1),e.Q6J("ngIf",Ae.footer)}},dependencies:[d.mk,d.sg,d.O5,d.tP,_.Ie,m.gB,$e],encapsulation:2,changeDetection:0})}return de})(),mt=(()=>{class de{splitDataSource(){this.leftDataSource=[],this.rightDataSource=[],this.nzDataSource.forEach(B=>{"right"===B.direction?(B.direction="right",this.rightDataSource.push(B)):(B.direction="left",this.leftDataSource.push(B))})}getCheckedData(B){return this["left"===B?"leftDataSource":"rightDataSource"].filter(Me=>Me.checked)}handleSelect(B,Me,Ae){const Le=this.getCheckedData(B);this.updateOperationStatus(B,Le.length),this.nzSelectChange.emit({direction:B,checked:Me,list:Le,item:Ae})}handleFilterChange(B){this.nzSearchChange.emit(B)}updateOperationStatus(B,Me){this["right"===B?"leftActive":"rightActive"]=(typeof Me>"u"?this.getCheckedData(B).filter(Ae=>!Ae.disabled).length:Me)>0}moveTo(B){this.updateOperationStatus("left"===B?"right":"left",0);const Le=("left"===B?this.rightDataSource:this.leftDataSource).filter(ht=>!0===ht.checked&&!ht.disabled);this.nzCanMove({direction:B,list:Le}).subscribe(ht=>this.truthMoveTo(B,ht.filter(Ot=>!!Ot)),()=>Le.forEach(ht=>ht.checked=!1))}truthMoveTo(B,Me){const Ae="left"===B?"right":"left",Le="left"===B?this.rightDataSource:this.leftDataSource,ht="left"===B?this.leftDataSource:this.rightDataSource;for(const Ot of Me)Ot.checked=!1,Ot.hide=!1,Ot.direction=B,Le.splice(Le.indexOf(Ot),1);ht.splice(0,0,...Me),this.updateOperationStatus(Ae),this.nzChange.emit({from:Ae,to:B,list:Me}),this.markForCheckAllList()}constructor(B,Me,Ae,Le,ht,Ot,Lt){this.cdr=B,this.i18n=Me,this.elementRef=Ae,this.renderer=Le,this.directionality=ht,this.nzFormStatusService=Ot,this.nzFormNoStatusService=Lt,this.unsubscribe$=new l.x,this.leftFilter="",this.rightFilter="",this.dir="ltr",this.prefixCls="ant-transfer",this.statusCls={},this.hasFeedback=!1,this.nzDisabled=!1,this.nzDataSource=[],this.nzTitles=["",""],this.nzOperations=[],this.nzListStyle={},this.nzShowSelectAll=!0,this.nzCanMove=Wt=>(0,h.of)(Wt.list),this.nzRenderList=null,this.nzRender=null,this.nzFooter=null,this.nzShowSearch=!1,this.nzTargetKeys=[],this.nzSelectedKeys=[],this.nzStatus="",this.nzChange=new e.vpe,this.nzSearchChange=new e.vpe,this.nzSelectChange=new e.vpe,this.leftDataSource=[],this.rightDataSource=[],this.handleLeftSelectAll=Wt=>this.handleSelect("left",Wt),this.handleRightSelectAll=Wt=>this.handleSelect("right",Wt),this.handleLeftSelect=Wt=>this.handleSelect("left",!!Wt.checked,Wt),this.handleRightSelect=Wt=>this.handleSelect("right",!!Wt.checked,Wt),this.leftActive=!1,this.rightActive=!1,this.moveToLeft=()=>this.moveTo("left"),this.moveToRight=()=>this.moveTo("right")}markForCheckAllList(){this.lists&&this.lists.forEach(B=>B.markForCheck())}handleNzTargetKeys(){const B=(0,D.qo)(this.nzTargetKeys);this.leftDataSource.forEach(Ae=>{(Ae=>Ae.hasOwnProperty("key"))(Ae)&&-1!==B.indexOf(Ae.key)&&!Ae.disabled&&(Ae.checked=!0)}),this.moveToRight()}handleNzSelectedKeys(){const B=(0,D.qo)(this.nzSelectedKeys);this.nzDataSource.forEach(Ae=>{-1!==B.indexOf(Ae.key)&&(Ae.checked=!0)});const Me=Ae=>!1===Ae.disabled&&!0===Ae.checked;this.rightActive=this.leftDataSource.some(Me),this.leftActive=this.rightDataSource.some(Me)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,z.x)((B,Me)=>B.status===Me.status&&B.hasFeedback===Me.hasFeedback),(0,M.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,h.of)(!1)),(0,p.U)(([{status:B,hasFeedback:Me},Ae])=>({status:Ae?"":B,hasFeedback:Me})),(0,v.R)(this.unsubscribe$)).subscribe(({status:B,hasFeedback:Me})=>{this.setStatusStyles(B,Me)}),this.i18n.localeChange.pipe((0,v.R)(this.unsubscribe$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Transfer"),this.markForCheckAllList()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,v.R)(this.unsubscribe$)).subscribe(B=>{this.dir=B,this.cdr.detectChanges()})}ngOnChanges(B){const{nzStatus:Me,nzDataSource:Ae,nzTargetKeys:Le,nzSelectedKeys:ht}=B;Ae&&(this.splitDataSource(),this.updateOperationStatus("left"),this.updateOperationStatus("right"),this.cdr.detectChanges(),this.markForCheckAllList()),Le&&this.handleNzTargetKeys(),ht&&this.handleNzSelectedKeys(),Me&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}setStatusStyles(B,Me){this.hasFeedback=Me,this.cdr.markForCheck(),this.statusCls=(0,D.Zu)(this.prefixCls,B,Me),Object.keys(this.statusCls).forEach(Ae=>{this.statusCls[Ae]?this.renderer.addClass(this.elementRef.nativeElement,Ae):this.renderer.removeClass(this.elementRef.nativeElement,Ae)})}static#e=this.\u0275fac=function(Me){return new(Me||de)(e.Y36(e.sBO),e.Y36(y.wi),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(P.Is,8),e.Y36(S.kH,8),e.Y36(S.yW,8))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["nz-transfer"]],viewQuery:function(Me,Ae){if(1&Me&&e.Gf(ot,5),2&Me){let Le;e.iGM(Le=e.CRH())&&(Ae.lists=Le)}},hostAttrs:[1,"ant-transfer"],hostVars:6,hostBindings:function(Me,Ae){2&Me&&e.ekj("ant-transfer-rtl","rtl"===Ae.dir)("ant-transfer-disabled",Ae.nzDisabled)("ant-transfer-customize-list",Ae.nzRenderList)},inputs:{nzDisabled:"nzDisabled",nzDataSource:"nzDataSource",nzTitles:"nzTitles",nzOperations:"nzOperations",nzListStyle:"nzListStyle",nzShowSelectAll:"nzShowSelectAll",nzItemUnit:"nzItemUnit",nzItemsUnit:"nzItemsUnit",nzCanMove:"nzCanMove",nzRenderList:"nzRenderList",nzRender:"nzRender",nzFooter:"nzFooter",nzShowSearch:"nzShowSearch",nzFilterOption:"nzFilterOption",nzSearchPlaceholder:"nzSearchPlaceholder",nzNotFoundContent:"nzNotFoundContent",nzTargetKeys:"nzTargetKeys",nzSelectedKeys:"nzSelectedKeys",nzStatus:"nzStatus"},outputs:{nzChange:"nzChange",nzSearchChange:"nzSearchChange",nzSelectChange:"nzSelectChange"},exportAs:["nzTransfer"],features:[e.TTD],decls:4,vars:32,consts:[["data-direction","left","direction","left",1,"ant-transfer-list",3,"ngStyle","titleText","showSelectAll","dataSource","filter","filterOption","renderList","render","disabled","showSearch","searchPlaceholder","notFoundContent","itemUnit","itemsUnit","footer","filterChange","handleSelect","handleSelectAll"],["class","ant-transfer-operation",4,"ngIf"],["data-direction","right","direction","right",1,"ant-transfer-list",3,"ngStyle","titleText","showSelectAll","dataSource","filter","filterOption","renderList","render","disabled","showSearch","searchPlaceholder","notFoundContent","itemUnit","itemsUnit","footer","filterChange","handleSelect","handleSelectAll"],[1,"ant-transfer-operation"],["nz-button","","type","button",3,"disabled","nzType","nzSize","click"],["nz-icon","","nzType","left"],[4,"ngIf"],["nz-icon","","nzType","right"]],template:function(Me,Ae){1&Me&&(e.TgZ(0,"nz-transfer-list",0),e.NdJ("filterChange",function(ht){return Ae.handleFilterChange(ht)})("handleSelect",function(ht){return Ae.handleLeftSelect(ht)})("handleSelectAll",function(ht){return Ae.handleLeftSelectAll(ht)}),e.qZA(),e.YNc(1,Re,7,8,"div",1),e.YNc(2,xt,7,8,"div",1),e.TgZ(3,"nz-transfer-list",2),e.NdJ("filterChange",function(ht){return Ae.handleFilterChange(ht)})("handleSelect",function(ht){return Ae.handleRightSelect(ht)})("handleSelectAll",function(ht){return Ae.handleRightSelectAll(ht)}),e.qZA()),2&Me&&(e.Q6J("ngStyle",Ae.nzListStyle)("titleText",Ae.nzTitles[0])("showSelectAll",Ae.nzShowSelectAll)("dataSource",Ae.leftDataSource)("filter",Ae.leftFilter)("filterOption",Ae.nzFilterOption)("renderList",Ae.nzRenderList&&Ae.nzRenderList[0])("render",Ae.nzRender)("disabled",Ae.nzDisabled)("showSearch",Ae.nzShowSearch)("searchPlaceholder",Ae.nzSearchPlaceholder||(null==Ae.locale?null:Ae.locale.searchPlaceholder))("notFoundContent",Ae.nzNotFoundContent)("itemUnit",Ae.nzItemUnit||(null==Ae.locale?null:Ae.locale.itemUnit))("itemsUnit",Ae.nzItemsUnit||(null==Ae.locale?null:Ae.locale.itemsUnit))("footer",Ae.nzFooter),e.xp6(1),e.Q6J("ngIf","rtl"!==Ae.dir),e.xp6(1),e.Q6J("ngIf","rtl"===Ae.dir),e.xp6(1),e.Q6J("ngStyle",Ae.nzListStyle)("titleText",Ae.nzTitles[1])("showSelectAll",Ae.nzShowSelectAll)("dataSource",Ae.rightDataSource)("filter",Ae.rightFilter)("filterOption",Ae.nzFilterOption)("renderList",Ae.nzRenderList&&Ae.nzRenderList[1])("render",Ae.nzRender)("disabled",Ae.nzDisabled)("showSearch",Ae.nzShowSearch)("searchPlaceholder",Ae.nzSearchPlaceholder||(null==Ae.locale?null:Ae.locale.searchPlaceholder))("notFoundContent",Ae.nzNotFoundContent)("itemUnit",Ae.nzItemUnit||(null==Ae.locale?null:Ae.locale.itemUnit))("itemsUnit",Ae.nzItemsUnit||(null==Ae.locale?null:Ae.locale.itemsUnit))("footer",Ae.nzFooter))},dependencies:[d.O5,d.PC,A.ix,C.w,k.dQ,T.Ls,ot],encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,D.yF)()],de.prototype,"nzDisabled",void 0),(0,b.gn)([(0,D.yF)()],de.prototype,"nzShowSelectAll",void 0),(0,b.gn)([(0,D.yF)()],de.prototype,"nzShowSearch",void 0),de})(),we=(()=>{class de{static#e=this.\u0275fac=function(Me){return new(Me||de)};static#t=this.\u0275mod=e.oAB({type:de});static#n=this.\u0275inj=e.cJS({imports:[P.vT,d.ez,f.u5,_.Wr,A.sL,R.o7,y.YI,T.PV,m.Xo]})}return de})()},80729:(tt,I,o)=>{"use strict";o.d(I,{zr:()=>Ke,cq:()=>Ze});var e=o(97582),n=o(36028),t=o(33651),i=o(65879),l=o(60095),h=o(78645),E=o(22096),u=o(63019),z=o(93997),M=o(42460),p=o(37398),v=o(59773),_=o(99397),d=o(32181),m=o(64194),f=o(83064),C=o(85448),T=o(56879),b=o(94197),D=o(27754),y=o(9691),P=o(49388),S=o(4300),A=o(331),k=o(50883),R=o(96814),W=o(205),j=o(84267),ze=o(8324),Y=o(90551),G=o(92438);function V(ve,nt){if(1&ve&&i._UZ(0,"span"),2&ve){const x=nt.index,N=i.oxw();i.ekj("ant-tree-indent-unit",!N.nzSelectMode)("ant-select-tree-indent-unit",N.nzSelectMode)("ant-select-tree-indent-unit-start",N.nzSelectMode&&N.nzIsStart[x])("ant-tree-indent-unit-start",!N.nzSelectMode&&N.nzIsStart[x])("ant-select-tree-indent-unit-end",N.nzSelectMode&&N.nzIsEnd[x])("ant-tree-indent-unit-end",!N.nzSelectMode&&N.nzIsEnd[x])}}const K=["builtin",""];function ee(ve,nt){if(1&ve&&(i.ynx(0),i._UZ(1,"span",4),i.BQk()),2&ve){const x=i.oxw(3);i.xp6(1),i.ekj("ant-select-tree-switcher-icon",x.nzSelectMode)("ant-tree-switcher-icon",!x.nzSelectMode)}}const te=function(ve,nt){return{$implicit:ve,origin:nt}};function pe(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,ee,2,4,"ng-container",3),i.BQk()),2&ve){const x=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzExpandedIcon)("nzStringTemplateOutletContext",i.WLB(2,te,x.context,x.context.origin))}}function re(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,pe,2,5,"ng-container",2),i.BQk()),2&ve){const x=i.oxw(),N=i.MAs(3);i.xp6(1),i.Q6J("ngIf",!x.isLoading)("ngIfElse",N)}}function De(ve,nt){if(1&ve&&i._UZ(0,"span",7),2&ve){const x=i.oxw(4);i.Q6J("nzType",x.isSwitcherOpen?"minus-square":"plus-square")}}function ae(ve,nt){1&ve&&i._UZ(0,"span",8)}function ce(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,De,1,1,"span",5),i.YNc(2,ae,1,0,"span",6),i.BQk()),2&ve){const x=i.oxw(3);i.xp6(1),i.Q6J("ngIf",x.isShowLineIcon),i.xp6(1),i.Q6J("ngIf",!x.isShowLineIcon)}}function X(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,ce,3,2,"ng-container",3),i.BQk()),2&ve){const x=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzExpandedIcon)("nzStringTemplateOutletContext",i.WLB(2,te,x.context,x.context.origin))}}function ne(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,X,2,5,"ng-container",2),i.BQk()),2&ve){const x=i.oxw(),N=i.MAs(3);i.xp6(1),i.Q6J("ngIf",!x.isLoading)("ngIfElse",N)}}function le(ve,nt){1&ve&&i._UZ(0,"span",9),2&ve&&i.Q6J("nzSpin",!0)}function Se(ve,nt){}function Ne(ve,nt){if(1&ve&&i._UZ(0,"span",6),2&ve){const x=i.oxw(3);i.Q6J("nzType",x.icon)}}function ke(ve,nt){if(1&ve&&(i.TgZ(0,"span")(1,"span"),i.YNc(2,Ne,1,1,"span",5),i.qZA()()),2&ve){const x=i.oxw(2);i.ekj("ant-tree-icon__open",x.isSwitcherOpen)("ant-tree-icon__close",x.isSwitcherClose)("ant-tree-icon_loading",x.isLoading)("ant-select-tree-iconEle",x.selectMode)("ant-tree-iconEle",!x.selectMode),i.xp6(1),i.ekj("ant-select-tree-iconEle",x.selectMode)("ant-select-tree-icon__customize",x.selectMode)("ant-tree-iconEle",!x.selectMode)("ant-tree-icon__customize",!x.selectMode),i.xp6(1),i.Q6J("ngIf",x.icon)}}function oe(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,ke,3,19,"span",3),i._UZ(2,"span",4),i.ALo(3,"nzHighlight"),i.BQk()),2&ve){const x=i.oxw();i.xp6(1),i.Q6J("ngIf",x.icon&&x.showIcon),i.xp6(1),i.Q6J("innerHTML",i.gM2(3,2,x.title,x.matchedValue,"i","font-highlight"),i.oJD)}}function _e(ve,nt){if(1&ve&&i._UZ(0,"nz-tree-drop-indicator",7),2&ve){const x=i.oxw();i.Q6J("dropPosition",x.dragPosition)("level",x.context.level)}}function Q(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-tree-node-switcher",4),i.NdJ("click",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.clickExpand(O))}),i.qZA()}if(2&ve){const x=i.oxw();i.Q6J("nzShowExpand",x.nzShowExpand)("nzShowLine",x.nzShowLine)("nzExpandedIcon",x.nzExpandedIcon)("nzSelectMode",x.nzSelectMode)("context",x.nzTreeNode)("isLeaf",x.isLeaf)("isExpanded",x.isExpanded)("isLoading",x.isLoading)}}function He(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-tree-node-checkbox",5),i.NdJ("click",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.clickCheckBox(O))}),i.qZA()}if(2&ve){const x=i.oxw();i.Q6J("nzSelectMode",x.nzSelectMode)("isChecked",x.isChecked)("isHalfChecked",x.isHalfChecked)("isDisabled",x.isDisabled)("isDisableCheckbox",x.isDisableCheckbox)}}const Re=["nzTreeTemplate"];function lt(ve,nt){}const Pe=function(ve){return{$implicit:ve}};function xt(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,lt,0,0,"ng-template",10),i.BQk()),2&ve){const x=nt.$implicit;i.oxw(2);const N=i.MAs(9);i.xp6(1),i.Q6J("ngTemplateOutlet",N)("ngTemplateOutletContext",i.VKq(2,Pe,x))}}function $e(ve,nt){if(1&ve&&(i.TgZ(0,"cdk-virtual-scroll-viewport",8),i.YNc(1,xt,2,4,"ng-container",9),i.qZA()),2&ve){const x=i.oxw();i.Udp("height",x.nzVirtualHeight),i.ekj("ant-select-tree-list-holder-inner",x.nzSelectMode)("ant-tree-list-holder-inner",!x.nzSelectMode),i.Q6J("itemSize",x.nzVirtualItemSize)("minBufferPx",x.nzVirtualMinBufferPx)("maxBufferPx",x.nzVirtualMaxBufferPx),i.xp6(1),i.Q6J("cdkVirtualForOf",x.nzFlattenNodes)("cdkVirtualForTrackBy",x.trackByFlattenNode)}}function ot(ve,nt){}function mt(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,ot,0,0,"ng-template",10),i.BQk()),2&ve){const x=nt.$implicit;i.oxw(2);const N=i.MAs(9);i.xp6(1),i.Q6J("ngTemplateOutlet",N)("ngTemplateOutletContext",i.VKq(2,Pe,x))}}function we(ve,nt){if(1&ve&&(i.TgZ(0,"div",11),i.YNc(1,mt,2,4,"ng-container",12),i.qZA()),2&ve){const x=i.oxw();i.ekj("ant-select-tree-list-holder-inner",x.nzSelectMode)("ant-tree-list-holder-inner",!x.nzSelectMode),i.Q6J("@.disabled",x.beforeInit||!(null==x.noAnimation||!x.noAnimation.nzNoAnimation))("nzNoAnimation",null==x.noAnimation?null:x.noAnimation.nzNoAnimation)("@treeCollapseMotion",x.nzFlattenNodes.length),i.xp6(1),i.Q6J("ngForOf",x.nzFlattenNodes)("ngForTrackBy",x.trackByFlattenNode)}}function de(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-tree-node",13),i.NdJ("nzExpandChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzClick",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzDblClick",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzContextMenu",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzCheckBoxChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragStart",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragEnter",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragOver",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragLeave",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDragEnd",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))})("nzOnDrop",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.eventTriggerChanged(O))}),i.qZA()}if(2&ve){const x=nt.$implicit,N=i.oxw();i.Q6J("icon",x.icon)("title",x.title)("isLoading",x.isLoading)("isSelected",x.isSelected)("isDisabled",x.isDisabled)("isMatched",x.isMatched)("isExpanded",x.isExpanded)("isLeaf",x.isLeaf)("isStart",x.isStart)("isEnd",x.isEnd)("isChecked",x.isChecked)("isHalfChecked",x.isHalfChecked)("isDisableCheckbox",x.isDisableCheckbox)("isSelectable",x.isSelectable)("canHide",x.canHide)("nzTreeNode",x)("nzSelectMode",N.nzSelectMode)("nzShowLine",N.nzShowLine)("nzExpandedIcon",N.nzExpandedIcon)("nzDraggable",N.nzDraggable)("nzCheckable",N.nzCheckable)("nzShowExpand",N.nzShowExpand)("nzAsyncData",N.nzAsyncData)("nzSearchValue",N.nzSearchValue)("nzHideUnMatched",N.nzHideUnMatched)("nzBeforeDrop",N.nzBeforeDrop)("nzShowIcon",N.nzShowIcon)("nzTreeTemplate",N.nzTreeTemplate||N.nzTreeTemplateChild)}}let U=(()=>{class ve{constructor(x){this.cdr=x,this.level=1,this.direction="ltr",this.style={}}ngOnChanges(x){this.renderIndicator(this.dropPosition,this.direction)}renderIndicator(x,N="ltr"){const $="ltr"===N?"left":"right",he={[$]:"4px",["ltr"===N?"right":"left"]:"0px"};switch(x){case-1:he.top="-3px";break;case 1:he.bottom="-3px";break;case 0:he.bottom="-3px",he[$]="28px";break;default:he.display="none"}this.style=he,this.cdr.markForCheck()}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(i.sBO))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-drop-indicator"]],hostVars:4,hostBindings:function(N,O){2&N&&(i.Akn(O.style),i.ekj("ant-tree-drop-indicator",!0))},inputs:{dropPosition:"dropPosition",level:"level",direction:"direction"},exportAs:["NzTreeDropIndicator"],features:[i.TTD],decls:0,vars:0,template:function(N,O){},encapsulation:2,changeDetection:0})}return ve})(),B=(()=>{class ve{constructor(){this.nzTreeLevel=0,this.nzIsStart=[],this.nzIsEnd=[],this.nzSelectMode=!1,this.listOfUnit=[]}ngOnChanges(x){const{nzTreeLevel:N}=x;N&&(this.listOfUnit=[...new Array(N.currentValue||0)])}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-indent"]],hostVars:5,hostBindings:function(N,O){2&N&&(i.uIk("aria-hidden",!0),i.ekj("ant-tree-indent",!O.nzSelectMode)("ant-select-tree-indent",O.nzSelectMode))},inputs:{nzTreeLevel:"nzTreeLevel",nzIsStart:"nzIsStart",nzIsEnd:"nzIsEnd",nzSelectMode:"nzSelectMode"},exportAs:["nzTreeIndent"],features:[i.TTD],decls:1,vars:1,consts:[[3,"ant-tree-indent-unit","ant-select-tree-indent-unit","ant-select-tree-indent-unit-start","ant-tree-indent-unit-start","ant-select-tree-indent-unit-end","ant-tree-indent-unit-end",4,"ngFor","ngForOf"]],template:function(N,O){1&N&&i.YNc(0,V,1,12,"span",0),2&N&&i.Q6J("ngForOf",O.listOfUnit)},dependencies:[R.sg],encapsulation:2,changeDetection:0})}return ve})(),Me=(()=>{class ve{constructor(){this.nzSelectMode=!1}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-node-checkbox","builtin",""]],hostVars:16,hostBindings:function(N,O){2&N&&i.ekj("ant-select-tree-checkbox",O.nzSelectMode)("ant-select-tree-checkbox-checked",O.nzSelectMode&&O.isChecked)("ant-select-tree-checkbox-indeterminate",O.nzSelectMode&&O.isHalfChecked)("ant-select-tree-checkbox-disabled",O.nzSelectMode&&(O.isDisabled||O.isDisableCheckbox))("ant-tree-checkbox",!O.nzSelectMode)("ant-tree-checkbox-checked",!O.nzSelectMode&&O.isChecked)("ant-tree-checkbox-indeterminate",!O.nzSelectMode&&O.isHalfChecked)("ant-tree-checkbox-disabled",!O.nzSelectMode&&(O.isDisabled||O.isDisableCheckbox))},inputs:{nzSelectMode:"nzSelectMode",isChecked:"isChecked",isHalfChecked:"isHalfChecked",isDisabled:"isDisabled",isDisableCheckbox:"isDisableCheckbox"},attrs:K,decls:1,vars:4,template:function(N,O){1&N&&i._UZ(0,"span"),2&N&&i.ekj("ant-tree-checkbox-inner",!O.nzSelectMode)("ant-select-tree-checkbox-inner",O.nzSelectMode)},encapsulation:2,changeDetection:0})}return ve})(),Ae=(()=>{class ve{constructor(){this.nzSelectMode=!1}get isShowLineIcon(){return!this.isLeaf&&!!this.nzShowLine}get isShowSwitchIcon(){return!this.isLeaf&&!this.nzShowLine}get isSwitcherOpen(){return!!this.isExpanded&&!this.isLeaf}get isSwitcherClose(){return!this.isExpanded&&!this.isLeaf}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-node-switcher"]],hostVars:16,hostBindings:function(N,O){2&N&&i.ekj("ant-select-tree-switcher",O.nzSelectMode)("ant-select-tree-switcher-noop",O.nzSelectMode&&O.isLeaf)("ant-select-tree-switcher_open",O.nzSelectMode&&O.isSwitcherOpen)("ant-select-tree-switcher_close",O.nzSelectMode&&O.isSwitcherClose)("ant-tree-switcher",!O.nzSelectMode)("ant-tree-switcher-noop",!O.nzSelectMode&&O.isLeaf)("ant-tree-switcher_open",!O.nzSelectMode&&O.isSwitcherOpen)("ant-tree-switcher_close",!O.nzSelectMode&&O.isSwitcherClose)},inputs:{nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzExpandedIcon:"nzExpandedIcon",nzSelectMode:"nzSelectMode",context:"context",isLeaf:"isLeaf",isLoading:"isLoading",isExpanded:"isExpanded"},decls:4,vars:2,consts:[[4,"ngIf"],["loadingTemplate",""],[4,"ngIf","ngIfElse"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-icon","","nzType","caret-down"],["nz-icon","","class","ant-tree-switcher-line-icon",3,"nzType",4,"ngIf"],["nz-icon","","nzType","file","class","ant-tree-switcher-line-icon",4,"ngIf"],["nz-icon","",1,"ant-tree-switcher-line-icon",3,"nzType"],["nz-icon","","nzType","file",1,"ant-tree-switcher-line-icon"],["nz-icon","","nzType","loading",1,"ant-tree-switcher-loading-icon",3,"nzSpin"]],template:function(N,O){1&N&&(i.YNc(0,re,2,2,"ng-container",0),i.YNc(1,ne,2,2,"ng-container",0),i.YNc(2,le,1,1,"ng-template",null,1,i.W1O)),2&N&&(i.Q6J("ngIf",O.isShowSwitchIcon),i.xp6(1),i.Q6J("ngIf",O.nzShowLine))},dependencies:[R.O5,ze.f,Y.Ls],encapsulation:2,changeDetection:0})}return ve})(),Le=(()=>{class ve{get canDraggable(){return!(!this.draggable||this.isDisabled)||null}get matchedValue(){return this.isMatched?this.searchValue:""}get isSwitcherOpen(){return this.isExpanded&&!this.isLeaf}get isSwitcherClose(){return!this.isExpanded&&!this.isLeaf}constructor(x){this.cdr=x,this.treeTemplate=null,this.selectMode=!1,this.showIndicator=!0}ngOnChanges(x){const{showIndicator:N,dragPosition:O}=x;(N||O)&&this.cdr.markForCheck()}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(i.sBO))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-node-title"]],hostVars:21,hostBindings:function(N,O){2&N&&(i.uIk("title",O.title)("draggable",O.canDraggable)("aria-grabbed",O.canDraggable),i.ekj("draggable",O.canDraggable)("ant-select-tree-node-content-wrapper",O.selectMode)("ant-select-tree-node-content-wrapper-open",O.selectMode&&O.isSwitcherOpen)("ant-select-tree-node-content-wrapper-close",O.selectMode&&O.isSwitcherClose)("ant-select-tree-node-selected",O.selectMode&&O.isSelected)("ant-tree-node-content-wrapper",!O.selectMode)("ant-tree-node-content-wrapper-open",!O.selectMode&&O.isSwitcherOpen)("ant-tree-node-content-wrapper-close",!O.selectMode&&O.isSwitcherClose)("ant-tree-node-selected",!O.selectMode&&O.isSelected))},inputs:{searchValue:"searchValue",treeTemplate:"treeTemplate",draggable:"draggable",showIcon:"showIcon",selectMode:"selectMode",context:"context",icon:"icon",title:"title",isLoading:"isLoading",isSelected:"isSelected",isDisabled:"isDisabled",isMatched:"isMatched",isExpanded:"isExpanded",isLeaf:"isLeaf",showIndicator:"showIndicator",dragPosition:"dragPosition"},features:[i.TTD],decls:3,vars:7,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[3,"dropPosition","level",4,"ngIf"],[3,"ant-tree-icon__open","ant-tree-icon__close","ant-tree-icon_loading","ant-select-tree-iconEle","ant-tree-iconEle",4,"ngIf"],[1,"ant-tree-title",3,"innerHTML"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"dropPosition","level"]],template:function(N,O){1&N&&(i.YNc(0,Se,0,0,"ng-template",0),i.YNc(1,oe,4,7,"ng-container",1),i.YNc(2,_e,1,2,"nz-tree-drop-indicator",2)),2&N&&(i.Q6J("ngTemplateOutlet",O.treeTemplate)("ngTemplateOutletContext",i.WLB(4,te,O.context,O.context.origin)),i.xp6(1),i.Q6J("ngIf",!O.treeTemplate),i.xp6(1),i.Q6J("ngIf",O.showIndicator))},dependencies:[R.O5,R.tP,Y.Ls,U,j.U],encapsulation:2,changeDetection:0})}return ve})(),ht=(()=>{class ve{get displayStyle(){return this.nzSearchValue&&this.nzHideUnMatched&&!this.isMatched&&!this.isExpanded&&this.canHide?"none":""}get isSwitcherOpen(){return this.isExpanded&&!this.isLeaf}get isSwitcherClose(){return!this.isExpanded&&!this.isLeaf}clickExpand(x){x.preventDefault(),!this.isLoading&&!this.isLeaf&&(this.nzAsyncData&&0===this.nzTreeNode.children.length&&!this.isExpanded&&(this.nzTreeNode.isLoading=!0),this.nzTreeNode.setExpanded(!this.isExpanded)),this.nzTreeService.setExpandedNodeList(this.nzTreeNode);const N=this.nzTreeService.formatEvent("expand",this.nzTreeNode,x);this.nzExpandChange.emit(N)}clickSelect(x){x.preventDefault(),this.isSelectable&&!this.isDisabled&&(this.nzTreeNode.isSelected=!this.nzTreeNode.isSelected),this.nzTreeService.setSelectedNodeList(this.nzTreeNode);const N=this.nzTreeService.formatEvent("click",this.nzTreeNode,x);this.nzClick.emit(N)}dblClick(x){x.preventDefault();const N=this.nzTreeService.formatEvent("dblclick",this.nzTreeNode,x);this.nzDblClick.emit(N)}contextMenu(x){x.preventDefault();const N=this.nzTreeService.formatEvent("contextmenu",this.nzTreeNode,x);this.nzContextMenu.emit(N)}clickCheckBox(x){if(x.preventDefault(),this.isDisabled||this.isDisableCheckbox)return;this.nzTreeNode.isChecked=!this.nzTreeNode.isChecked,this.nzTreeNode.isHalfChecked=!1,this.nzTreeService.setCheckedNodeList(this.nzTreeNode);const N=this.nzTreeService.formatEvent("check",this.nzTreeNode,x);this.nzCheckBoxChange.emit(N)}clearDragClass(){["drag-over-gap-top","drag-over-gap-bottom","drag-over","drop-target"].forEach(N=>{this.renderer.removeClass(this.elementRef.nativeElement,N)})}handleDragStart(x){try{x.dataTransfer.setData("text/plain",this.nzTreeNode.key)}catch{}this.nzTreeService.setSelectedNode(this.nzTreeNode),this.draggingKey=this.nzTreeNode.key;const N=this.nzTreeService.formatEvent("dragstart",this.nzTreeNode,x);this.nzOnDragStart.emit(N)}handleDragEnter(x){x.preventDefault(),this.showIndicator=this.nzTreeNode.key!==this.nzTreeService.getSelectedNode()?.key,this.renderIndicator(2),this.ngZone.run(()=>{const N=this.nzTreeService.formatEvent("dragenter",this.nzTreeNode,x);this.nzOnDragEnter.emit(N)})}handleDragOver(x){x.preventDefault();const N=this.nzTreeService.calcDropPosition(x);this.dragPos!==N&&(this.clearDragClass(),this.renderIndicator(N),0===this.dragPos&&this.isLeaf||(this.renderer.addClass(this.elementRef.nativeElement,this.dragPosClass[this.dragPos]),this.renderer.addClass(this.elementRef.nativeElement,"drop-target")));const O=this.nzTreeService.formatEvent("dragover",this.nzTreeNode,x);this.nzOnDragOver.emit(O)}handleDragLeave(x){x.preventDefault(),this.renderIndicator(2),this.clearDragClass();const N=this.nzTreeService.formatEvent("dragleave",this.nzTreeNode,x);this.nzOnDragLeave.emit(N)}handleDragDrop(x){x.preventDefault(),x.stopPropagation(),this.ngZone.run(()=>{this.showIndicator=!1,this.clearDragClass();const N=this.nzTreeService.getSelectedNode();if(!N||N&&N.key===this.nzTreeNode.key||0===this.dragPos&&this.isLeaf)return;const O=this.nzTreeService.formatEvent("drop",this.nzTreeNode,x),$=this.nzTreeService.formatEvent("dragend",this.nzTreeNode,x);this.nzBeforeDrop?this.nzBeforeDrop({dragNode:this.nzTreeService.getSelectedNode(),node:this.nzTreeNode,pos:this.dragPos}).subscribe(L=>{L&&this.nzTreeService.dropAndApply(this.nzTreeNode,this.dragPos),this.nzOnDrop.emit(O),this.nzOnDragEnd.emit($)}):this.nzTreeNode&&(this.nzTreeService.dropAndApply(this.nzTreeNode,this.dragPos),this.nzOnDrop.emit(O))})}handleDragEnd(x){x.preventDefault(),this.ngZone.run(()=>{if(this.nzBeforeDrop)this.draggingKey=null,this.markForCheck();else{this.draggingKey=null;const N=this.nzTreeService.formatEvent("dragend",this.nzTreeNode,x);this.nzOnDragEnd.emit(N)}})}handDragEvent(){this.ngZone.runOutsideAngular(()=>{if(this.nzDraggable){const x=this.elementRef.nativeElement;this.destroy$=new h.x,(0,G.R)(x,"dragstart").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragStart(N)),(0,G.R)(x,"dragenter").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragEnter(N)),(0,G.R)(x,"dragover").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragOver(N)),(0,G.R)(x,"dragleave").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragLeave(N)),(0,G.R)(x,"drop").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragDrop(N)),(0,G.R)(x,"dragend").pipe((0,v.R)(this.destroy$)).subscribe(N=>this.handleDragEnd(N))}else this.destroy$.next(!0),this.destroy$.complete()})}markForCheck(){this.cdr.markForCheck()}constructor(x,N,O,$,L,he){this.nzTreeService=x,this.ngZone=N,this.renderer=O,this.elementRef=$,this.cdr=L,this.noAnimation=he,this.icon="",this.title="",this.isLoading=!1,this.isSelected=!1,this.isDisabled=!1,this.isMatched=!1,this.isStart=[],this.isEnd=[],this.nzHideUnMatched=!1,this.nzNoAnimation=!1,this.nzSelectMode=!1,this.nzShowIcon=!1,this.nzTreeTemplate=null,this.nzSearchValue="",this.nzDraggable=!1,this.nzClick=new i.vpe,this.nzDblClick=new i.vpe,this.nzContextMenu=new i.vpe,this.nzCheckBoxChange=new i.vpe,this.nzExpandChange=new i.vpe,this.nzOnDragStart=new i.vpe,this.nzOnDragEnter=new i.vpe,this.nzOnDragOver=new i.vpe,this.nzOnDragLeave=new i.vpe,this.nzOnDrop=new i.vpe,this.nzOnDragEnd=new i.vpe,this.destroy$=new h.x,this.dragPos=2,this.dragPosClass={0:"drag-over",1:"drag-over-gap-bottom","-1":"drag-over-gap-top"},this.draggingKey=null,this.showIndicator=!1}ngOnInit(){this.nzTreeNode.component=this,this.ngZone.runOutsideAngular(()=>{(0,G.R)(this.elementRef.nativeElement,"mousedown").pipe((0,v.R)(this.destroy$)).subscribe(x=>{this.nzSelectMode&&x.preventDefault()})})}ngOnChanges(x){const{nzDraggable:N}=x;N&&this.handDragEvent()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}renderIndicator(x){this.ngZone.run(()=>{this.showIndicator=2!==x,!(this.nzTreeNode.key===this.nzTreeService.getSelectedNode()?.key||0===x&&this.isLeaf)&&(this.dragPos=x,this.cdr.markForCheck())})}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(b.kW),i.Y36(i.R0b),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(A.P,9))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-node","builtin",""]],hostVars:36,hostBindings:function(N,O){2&N&&(i.Udp("display",O.displayStyle),i.ekj("ant-select-tree-treenode",O.nzSelectMode)("ant-select-tree-treenode-disabled",O.nzSelectMode&&O.isDisabled)("ant-select-tree-treenode-switcher-open",O.nzSelectMode&&O.isSwitcherOpen)("ant-select-tree-treenode-switcher-close",O.nzSelectMode&&O.isSwitcherClose)("ant-select-tree-treenode-checkbox-checked",O.nzSelectMode&&O.isChecked)("ant-select-tree-treenode-checkbox-indeterminate",O.nzSelectMode&&O.isHalfChecked)("ant-select-tree-treenode-selected",O.nzSelectMode&&O.isSelected)("ant-select-tree-treenode-loading",O.nzSelectMode&&O.isLoading)("ant-tree-treenode",!O.nzSelectMode)("ant-tree-treenode-disabled",!O.nzSelectMode&&O.isDisabled)("ant-tree-treenode-switcher-open",!O.nzSelectMode&&O.isSwitcherOpen)("ant-tree-treenode-switcher-close",!O.nzSelectMode&&O.isSwitcherClose)("ant-tree-treenode-checkbox-checked",!O.nzSelectMode&&O.isChecked)("ant-tree-treenode-checkbox-indeterminate",!O.nzSelectMode&&O.isHalfChecked)("ant-tree-treenode-selected",!O.nzSelectMode&&O.isSelected)("ant-tree-treenode-loading",!O.nzSelectMode&&O.isLoading)("dragging",O.draggingKey===O.nzTreeNode.key))},inputs:{icon:"icon",title:"title",isLoading:"isLoading",isSelected:"isSelected",isDisabled:"isDisabled",isMatched:"isMatched",isExpanded:"isExpanded",isLeaf:"isLeaf",isChecked:"isChecked",isHalfChecked:"isHalfChecked",isDisableCheckbox:"isDisableCheckbox",isSelectable:"isSelectable",canHide:"canHide",isStart:"isStart",isEnd:"isEnd",nzTreeNode:"nzTreeNode",nzShowLine:"nzShowLine",nzShowExpand:"nzShowExpand",nzCheckable:"nzCheckable",nzAsyncData:"nzAsyncData",nzHideUnMatched:"nzHideUnMatched",nzNoAnimation:"nzNoAnimation",nzSelectMode:"nzSelectMode",nzShowIcon:"nzShowIcon",nzExpandedIcon:"nzExpandedIcon",nzTreeTemplate:"nzTreeTemplate",nzBeforeDrop:"nzBeforeDrop",nzSearchValue:"nzSearchValue",nzDraggable:"nzDraggable"},outputs:{nzClick:"nzClick",nzDblClick:"nzDblClick",nzContextMenu:"nzContextMenu",nzCheckBoxChange:"nzCheckBoxChange",nzExpandChange:"nzExpandChange",nzOnDragStart:"nzOnDragStart",nzOnDragEnter:"nzOnDragEnter",nzOnDragOver:"nzOnDragOver",nzOnDragLeave:"nzOnDragLeave",nzOnDrop:"nzOnDrop",nzOnDragEnd:"nzOnDragEnd"},exportAs:["nzTreeBuiltinNode"],features:[i.TTD],attrs:K,decls:4,vars:22,consts:[[3,"nzTreeLevel","nzSelectMode","nzIsStart","nzIsEnd"],[3,"nzShowExpand","nzShowLine","nzExpandedIcon","nzSelectMode","context","isLeaf","isExpanded","isLoading","click",4,"ngIf"],["builtin","",3,"nzSelectMode","isChecked","isHalfChecked","isDisabled","isDisableCheckbox","click",4,"ngIf"],[3,"icon","title","isLoading","isSelected","isDisabled","isMatched","isExpanded","isLeaf","searchValue","treeTemplate","draggable","showIcon","selectMode","context","showIndicator","dragPosition","dblclick","click","contextmenu"],[3,"nzShowExpand","nzShowLine","nzExpandedIcon","nzSelectMode","context","isLeaf","isExpanded","isLoading","click"],["builtin","",3,"nzSelectMode","isChecked","isHalfChecked","isDisabled","isDisableCheckbox","click"]],template:function(N,O){1&N&&(i._UZ(0,"nz-tree-indent",0),i.YNc(1,Q,1,8,"nz-tree-node-switcher",1),i.YNc(2,He,1,5,"nz-tree-node-checkbox",2),i.TgZ(3,"nz-tree-node-title",3),i.NdJ("dblclick",function(L){return O.dblClick(L)})("click",function(L){return O.clickSelect(L)})("contextmenu",function(L){return O.contextMenu(L)}),i.qZA()),2&N&&(i.Q6J("nzTreeLevel",O.nzTreeNode.level)("nzSelectMode",O.nzSelectMode)("nzIsStart",O.isStart)("nzIsEnd",O.isEnd),i.xp6(1),i.Q6J("ngIf",O.nzShowExpand),i.xp6(1),i.Q6J("ngIf",O.nzCheckable),i.xp6(1),i.Q6J("icon",O.icon)("title",O.title)("isLoading",O.isLoading)("isSelected",O.isSelected)("isDisabled",O.isDisabled)("isMatched",O.isMatched)("isExpanded",O.isExpanded)("isLeaf",O.isLeaf)("searchValue",O.nzSearchValue)("treeTemplate",O.nzTreeTemplate)("draggable",O.nzDraggable)("showIcon",O.nzShowIcon)("selectMode",O.nzSelectMode)("context",O.nzTreeNode)("showIndicator",O.showIndicator)("dragPosition",O.dragPos))},dependencies:[R.O5,B,Ae,Me,Le],encapsulation:2,changeDetection:0})}return(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowLine",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowExpand",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckable",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzAsyncData",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzHideUnMatched",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzNoAnimation",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzSelectMode",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowIcon",void 0),ve})(),Ot=(()=>{class ve extends b.kW{constructor(){super()}static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac})}return ve})();function Lt(ve,nt){return ve||nt}let qt=(()=>{class ve extends b.fP{writeValue(x){this.handleNzData(x)}registerOnChange(x){this.onChange=x}registerOnTouched(x){this.onTouched=x}renderTreeProperties(x){let N=!1,O=!1;const{nzData:$,nzExpandedKeys:L,nzSelectedKeys:he,nzCheckedKeys:Ce,nzCheckStrictly:Dt,nzExpandAll:Yt,nzMultiple:rn,nzSearchValue:hn}=x;Yt&&(N=!0,O=this.nzExpandAll),rn&&(this.nzTreeService.isMultiple=this.nzMultiple),Dt&&(this.nzTreeService.isCheckStrictly=this.nzCheckStrictly),$&&this.handleNzData(this.nzData),Ce&&this.handleCheckedKeys(this.nzCheckedKeys),Dt&&this.handleCheckedKeys(null),(L||Yt)&&(N=!0,this.handleExpandedKeys(O||this.nzExpandedKeys)),he&&this.handleSelectedKeys(this.nzSelectedKeys,this.nzMultiple),hn&&(hn.firstChange&&!this.nzSearchValue||(N=!1,this.handleSearchValue(hn.currentValue,this.nzSearchFunc),this.nzSearchValueChange.emit(this.nzTreeService.formatEvent("search",null,null))));const yn=this.getExpandedNodeList().map(En=>En.key);this.handleFlattenNodes(this.nzTreeService.rootNodes,N?O||this.nzExpandedKeys:yn)}trackByFlattenNode(x,N){return N.key}handleNzData(x){if(Array.isArray(x)){const N=this.coerceTreeNodes(x);this.nzTreeService.initTree(N)}}handleFlattenNodes(x,N=[]){this.nzTreeService.flattenTreeData(x,N)}handleCheckedKeys(x){this.nzTreeService.conductCheck(x,this.nzCheckStrictly)}handleExpandedKeys(x=[]){this.nzTreeService.conductExpandedKeys(x)}handleSelectedKeys(x,N){this.nzTreeService.conductSelectedKeys(x,N)}handleSearchValue(x,N){(0,b.oH)(this.nzTreeService.rootNodes,!0).map(L=>L.data).forEach(L=>{L.isMatched=(L=>N?N(L.origin):!(!x||!L.title.toLowerCase().includes(x.toLowerCase())))(L),L.canHide=!L.isMatched,L.isMatched?this.nzTreeService.expandNodeAllParentBySearch(L):(L.setExpanded(!1),this.nzTreeService.setExpandedNodeList(L)),this.nzTreeService.setMatchedNodeList(L)})}eventTriggerChanged(x){const N=x.node;switch(x.eventName){case"expand":this.renderTree(),this.nzExpandChange.emit(x);break;case"click":this.nzClick.emit(x);break;case"dblclick":this.nzDblClick.emit(x);break;case"contextmenu":this.nzContextMenu.emit(x);break;case"check":this.nzTreeService.setCheckedNodeList(N),this.nzCheckStrictly||this.nzTreeService.conduct(N);const O=this.nzTreeService.formatEvent("check",N,x.event);this.nzCheckBoxChange.emit(O);break;case"dragstart":N.isExpanded&&(N.setExpanded(!N.isExpanded),this.renderTree()),this.nzOnDragStart.emit(x);break;case"dragenter":const $=this.nzTreeService.getSelectedNode();$&&$.key!==N.key&&!N.isExpanded&&!N.isLeaf&&(N.setExpanded(!0),this.renderTree()),this.nzOnDragEnter.emit(x);break;case"dragover":this.nzOnDragOver.emit(x);break;case"dragleave":this.nzOnDragLeave.emit(x);break;case"dragend":this.nzOnDragEnd.emit(x);break;case"drop":this.renderTree(),this.nzOnDrop.emit(x)}}renderTree(){this.handleFlattenNodes(this.nzTreeService.rootNodes,this.getExpandedNodeList().map(x=>x.key)),this.cdr.markForCheck()}constructor(x,N,O,$,L){super(x),this.nzConfigService=N,this.cdr=O,this.directionality=$,this.noAnimation=L,this._nzModuleName="tree",this.nzShowIcon=!1,this.nzHideUnMatched=!1,this.nzBlockNode=!1,this.nzExpandAll=!1,this.nzSelectMode=!1,this.nzCheckStrictly=!1,this.nzShowExpand=!0,this.nzShowLine=!1,this.nzCheckable=!1,this.nzAsyncData=!1,this.nzDraggable=!1,this.nzMultiple=!1,this.nzVirtualItemSize=28,this.nzVirtualMaxBufferPx=500,this.nzVirtualMinBufferPx=28,this.nzVirtualHeight=null,this.nzData=[],this.nzExpandedKeys=[],this.nzSelectedKeys=[],this.nzCheckedKeys=[],this.nzSearchValue="",this.nzFlattenNodes=[],this.beforeInit=!0,this.dir="ltr",this.nzExpandedKeysChange=new i.vpe,this.nzSelectedKeysChange=new i.vpe,this.nzCheckedKeysChange=new i.vpe,this.nzSearchValueChange=new i.vpe,this.nzClick=new i.vpe,this.nzDblClick=new i.vpe,this.nzContextMenu=new i.vpe,this.nzCheckBoxChange=new i.vpe,this.nzExpandChange=new i.vpe,this.nzOnDragStart=new i.vpe,this.nzOnDragEnter=new i.vpe,this.nzOnDragOver=new i.vpe,this.nzOnDragLeave=new i.vpe,this.nzOnDrop=new i.vpe,this.nzOnDragEnd=new i.vpe,this.HIDDEN_STYLE={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},this.HIDDEN_NODE_STYLE={position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"},this.destroy$=new h.x,this.onChange=()=>null,this.onTouched=()=>null}ngOnInit(){this.nzTreeService.flattenNodes$.pipe((0,v.R)(this.destroy$)).subscribe(x=>{this.nzFlattenNodes=this.nzVirtualHeight&&this.nzHideUnMatched&&this.nzSearchValue?.length>0?x.filter(N=>!N.canHide):x,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,v.R)(this.destroy$)).subscribe(x=>{this.dir=x,this.cdr.detectChanges()})}ngOnChanges(x){this.renderTreeProperties(x)}ngAfterViewInit(){this.beforeInit=!1}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(b.kW),i.Y36(f.jY),i.Y36(i.sBO),i.Y36(P.Is,8),i.Y36(A.P,9))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree"]],contentQueries:function(N,O,$){if(1&N&&i.Suo($,Re,7),2&N){let L;i.iGM(L=i.CRH())&&(O.nzTreeTemplateChild=L.first)}},viewQuery:function(N,O){if(1&N&&i.Gf(W.N7,5,W.N7),2&N){let $;i.iGM($=i.CRH())&&(O.cdkVirtualScrollViewport=$.first)}},hostVars:20,hostBindings:function(N,O){2&N&&i.ekj("ant-select-tree",O.nzSelectMode)("ant-select-tree-show-line",O.nzSelectMode&&O.nzShowLine)("ant-select-tree-icon-hide",O.nzSelectMode&&!O.nzShowIcon)("ant-select-tree-block-node",O.nzSelectMode&&O.nzBlockNode)("ant-tree",!O.nzSelectMode)("ant-tree-rtl","rtl"===O.dir)("ant-tree-show-line",!O.nzSelectMode&&O.nzShowLine)("ant-tree-icon-hide",!O.nzSelectMode&&!O.nzShowIcon)("ant-tree-block-node",!O.nzSelectMode&&O.nzBlockNode)("draggable-tree",O.nzDraggable)},inputs:{nzShowIcon:"nzShowIcon",nzHideUnMatched:"nzHideUnMatched",nzBlockNode:"nzBlockNode",nzExpandAll:"nzExpandAll",nzSelectMode:"nzSelectMode",nzCheckStrictly:"nzCheckStrictly",nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzCheckable:"nzCheckable",nzAsyncData:"nzAsyncData",nzDraggable:"nzDraggable",nzMultiple:"nzMultiple",nzExpandedIcon:"nzExpandedIcon",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualHeight:"nzVirtualHeight",nzTreeTemplate:"nzTreeTemplate",nzBeforeDrop:"nzBeforeDrop",nzData:"nzData",nzExpandedKeys:"nzExpandedKeys",nzSelectedKeys:"nzSelectedKeys",nzCheckedKeys:"nzCheckedKeys",nzSearchValue:"nzSearchValue",nzSearchFunc:"nzSearchFunc"},outputs:{nzExpandedKeysChange:"nzExpandedKeysChange",nzSelectedKeysChange:"nzSelectedKeysChange",nzCheckedKeysChange:"nzCheckedKeysChange",nzSearchValueChange:"nzSearchValueChange",nzClick:"nzClick",nzDblClick:"nzDblClick",nzContextMenu:"nzContextMenu",nzCheckBoxChange:"nzCheckBoxChange",nzExpandChange:"nzExpandChange",nzOnDragStart:"nzOnDragStart",nzOnDragEnter:"nzOnDragEnter",nzOnDragOver:"nzOnDragOver",nzOnDragLeave:"nzOnDragLeave",nzOnDrop:"nzOnDrop",nzOnDragEnd:"nzOnDragEnd"},exportAs:["nzTree"],features:[i._Bn([Ot,{provide:b.kW,useFactory:Lt,deps:[[new i.tp0,new i.FiY,b.g2],Ot]},{provide:l.JU,useExisting:(0,i.Gpc)(()=>ve),multi:!0}]),i.qOj,i.TTD],decls:10,vars:6,consts:[[3,"ngStyle"],[1,"ant-tree-treenode",3,"ngStyle"],[1,"ant-tree-indent"],[1,"ant-tree-indent-unit"],[1,"ant-tree-list",2,"position","relative"],[3,"ant-select-tree-list-holder-inner","ant-tree-list-holder-inner","itemSize","minBufferPx","maxBufferPx","height",4,"ngIf"],[3,"ant-select-tree-list-holder-inner","ant-tree-list-holder-inner","nzNoAnimation",4,"ngIf"],["nodeTemplate",""],[3,"itemSize","minBufferPx","maxBufferPx"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzNoAnimation"],[4,"ngFor","ngForOf","ngForTrackBy"],["builtin","",3,"icon","title","isLoading","isSelected","isDisabled","isMatched","isExpanded","isLeaf","isStart","isEnd","isChecked","isHalfChecked","isDisableCheckbox","isSelectable","canHide","nzTreeNode","nzSelectMode","nzShowLine","nzExpandedIcon","nzDraggable","nzCheckable","nzShowExpand","nzAsyncData","nzSearchValue","nzHideUnMatched","nzBeforeDrop","nzShowIcon","nzTreeTemplate","nzExpandChange","nzClick","nzDblClick","nzContextMenu","nzCheckBoxChange","nzOnDragStart","nzOnDragEnter","nzOnDragOver","nzOnDragLeave","nzOnDragEnd","nzOnDrop"]],template:function(N,O){1&N&&(i.TgZ(0,"div"),i._UZ(1,"input",0),i.qZA(),i.TgZ(2,"div",1)(3,"div",2),i._UZ(4,"div",3),i.qZA()(),i.TgZ(5,"div",4),i.YNc(6,$e,2,11,"cdk-virtual-scroll-viewport",5),i.YNc(7,we,2,9,"div",6),i.qZA(),i.YNc(8,de,1,28,"ng-template",null,7,i.W1O)),2&N&&(i.xp6(1),i.Q6J("ngStyle",O.HIDDEN_STYLE),i.xp6(1),i.Q6J("ngStyle",O.HIDDEN_NODE_STYLE),i.xp6(3),i.ekj("ant-select-tree-list",O.nzSelectMode),i.xp6(1),i.Q6J("ngIf",O.nzVirtualHeight),i.xp6(1),i.Q6J("ngIf",!O.nzVirtualHeight))},dependencies:[R.sg,R.O5,R.tP,R.PC,A.P,W.xd,W.x0,W.N7,ht],encapsulation:2,data:{animation:[m.lx]},changeDetection:0})}return(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzShowIcon",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzHideUnMatched",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzBlockNode",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzExpandAll",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzSelectMode",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckStrictly",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowExpand",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowLine",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckable",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzAsyncData",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzDraggable",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzMultiple",void 0),ve})(),en=(()=>{class ve{static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275mod=i.oAB({type:ve});static#n=this.\u0275inj=i.cJS({imports:[P.vT,R.ez,ze.T,Y.PV,A.g,j.C,W.Cl]})}return ve})();var Vt=o(60804);const cn=["nzTreeTemplate"],ft=["treeRef"];function gt(ve,nt){if(1&ve&&(i.TgZ(0,"span",12),i._UZ(1,"nz-embed-empty",13),i.qZA()),2&ve){const x=i.oxw(2);i.xp6(1),i.Q6J("nzComponentName","tree-select")("specificContent",x.nzNotFoundContent)}}const Ie=function(){return[]};function Ct(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"div",8)(1,"nz-tree",9,10),i.NdJ("nzExpandChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.onExpandedKeysChange(O))})("nzClick",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.nzTreeClick.emit(O))})("nzCheckedKeysChange",function(){i.CHM(x);const O=i.oxw();return i.KtG(O.updateSelectedNodes())})("nzSelectedKeysChange",function(){i.CHM(x);const O=i.oxw();return i.KtG(O.updateSelectedNodes())})("nzCheckBoxChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.nzTreeCheckBoxChange.emit(O))})("nzSearchValueChange",function(O){i.CHM(x);const $=i.oxw();return i.KtG($.setSearchValues(O))}),i.qZA(),i.YNc(3,gt,2,2,"span",11),i.qZA()}if(2&ve){const x=i.oxw();i.ekj("ant-select-dropdown-placement-bottomLeft","bottom"===x.dropDownPosition)("ant-select-dropdown-placement-topLeft","top"===x.dropDownPosition)("ant-tree-select-dropdown-rtl","rtl"===x.dir),i.Q6J("@slideMotion","enter")("ngClass",x.dropdownClassName)("@.disabled",!(null==x.noAnimation||!x.noAnimation.nzNoAnimation))("nzNoAnimation",null==x.noAnimation?null:x.noAnimation.nzNoAnimation)("dir",x.dir)("ngStyle",x.nzDropdownStyle),i.xp6(1),i.Q6J("hidden",x.isNotFound)("nzData",x.nzNodes)("nzMultiple",x.nzMultiple)("nzSearchValue",x.inputValue)("nzHideUnMatched",x.nzHideUnMatched)("nzShowIcon",x.nzShowIcon)("nzCheckable",x.nzCheckable)("nzAsyncData",x.nzAsyncData)("nzShowExpand",x.nzShowExpand)("nzShowLine",x.nzShowLine)("nzExpandedIcon",x.nzExpandedIcon)("nzExpandAll",x.nzDefaultExpandAll)("nzExpandedKeys",x.expandedKeys)("nzCheckedKeys",x.nzCheckable?x.value:i.DdM(34,Ie))("nzSelectedKeys",x.nzCheckable?i.DdM(35,Ie):x.value)("nzTreeTemplate",x.treeTemplate)("nzCheckStrictly",x.nzCheckStrictly)("nzVirtualItemSize",x.nzVirtualItemSize)("nzVirtualMaxBufferPx",x.nzVirtualMaxBufferPx)("nzVirtualMinBufferPx",x.nzVirtualMinBufferPx)("nzVirtualHeight",x.nzVirtualHeight),i.xp6(2),i.Q6J("ngIf",0===x.nzNodes.length||x.isNotFound)}}function Nt(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-select-item",16),i.NdJ("delete",function(){const $=i.CHM(x).$implicit,L=i.oxw(2);return i.KtG(L.removeSelected($,!0))}),i.qZA()}if(2&ve){const x=nt.$implicit,N=i.oxw(2);i.Q6J("deletable",!0)("disabled",x.isDisabled||N.nzDisabled)("label",N.nzDisplayWith(x))}}function kt(ve,nt){if(1&ve&&(i._UZ(0,"nz-select-item",17),i.ALo(1,"slice")),2&ve){const x=i.oxw(2);i.Q6J("contentTemplateOutlet",x.nzMaxTagPlaceholder)("contentTemplateOutletContext",i.xi3(1,5,x.selectedNodes,x.nzMaxTagCount))("deletable",!1)("disabled",!1)("label","+ "+(x.selectedNodes.length-x.nzMaxTagCount)+" ...")}}function St(ve,nt){if(1&ve&&(i.ynx(0),i.YNc(1,Nt,1,3,"nz-select-item",14),i.ALo(2,"slice"),i.YNc(3,kt,2,8,"nz-select-item",15),i.BQk()),2&ve){const x=i.oxw();i.xp6(1),i.Q6J("ngForOf",i.Dn7(2,3,x.selectedNodes,0,x.nzMaxTagCount))("ngForTrackBy",x.trackValue),i.xp6(2),i.Q6J("ngIf",x.selectedNodes.length>x.nzMaxTagCount)}}function qe(ve,nt){if(1&ve&&i._UZ(0,"nz-select-placeholder",18),2&ve){const x=i.oxw();i.Udp("display",x.placeHolderDisplay),i.Q6J("placeholder",x.nzPlaceHolder)}}function Fe(ve,nt){if(1&ve&&i._UZ(0,"nz-select-item",19),2&ve){const x=i.oxw();i.Q6J("deletable",!1)("disabled",!1)("label",x.nzDisplayWith(x.selectedNodes[0]))}}function fe(ve,nt){1&ve&&i._UZ(0,"nz-select-arrow")}function Xe(ve,nt){if(1&ve&&i._UZ(0,"nz-form-item-feedback-icon",23),2&ve){const x=i.oxw(3);i.Q6J("status",x.status)}}function ge(ve,nt){if(1&ve&&i.YNc(0,Xe,1,1,"nz-form-item-feedback-icon",22),2&ve){const x=i.oxw(2);i.Q6J("ngIf",x.hasFeedback&&!!x.status)}}function je(ve,nt){if(1&ve&&(i.TgZ(0,"nz-select-arrow",20),i.YNc(1,ge,1,1,"ng-template",null,21,i.W1O),i.qZA()),2&ve){const x=i.MAs(2),N=i.oxw();i.Q6J("showArrow",!N.isMultiple)("feedbackIcon",x)}}function Ye(ve,nt){if(1&ve){const x=i.EpF();i.TgZ(0,"nz-select-clear",24),i.NdJ("clear",function(){i.CHM(x);const O=i.oxw();return i.KtG(O.onClearSelection())}),i.qZA()}}let We=(()=>{class ve extends b.kW{static#e=this.\u0275fac=function(){let x;return function(O){return(x||(x=i.n5z(ve)))(O||ve)}}();static#t=this.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac})}return ve})();function wt(ve){return ve.get(We)}const be="ant-select-dropdown ant-select-tree-dropdown",Qe=[C.yW.bottomLeft,C.yW.bottomRight,C.yW.topRight,C.yW.topLeft];let Ke=(()=>{class ve extends b.fP{set nzExpandedKeys(x){this.expandedKeys=x}get nzExpandedKeys(){return this.expandedKeys}get treeTemplate(){return this.nzTreeTemplate||this.nzTreeTemplateChild}get placeHolderDisplay(){return this.inputValue||this.isComposing||this.selectedNodes.length?"none":"block"}get isMultiple(){return this.nzMultiple||this.nzCheckable}constructor(x,N,O,$,L,he,Ce,Dt,Yt,rn){super(x),this.nzConfigService=N,this.renderer=O,this.cdr=$,this.elementRef=L,this.directionality=he,this.focusMonitor=Ce,this.noAnimation=Dt,this.nzFormStatusService=Yt,this.nzFormNoStatusService=rn,this._nzModuleName="treeSelect",this.nzId=null,this.nzAllowClear=!0,this.nzShowExpand=!0,this.nzShowLine=!1,this.nzDropdownMatchSelectWidth=!0,this.nzCheckable=!1,this.nzHideUnMatched=!1,this.nzShowIcon=!1,this.nzShowSearch=!1,this.nzDisabled=!1,this.nzAsyncData=!1,this.nzMultiple=!1,this.nzDefaultExpandAll=!1,this.nzCheckStrictly=!1,this.nzVirtualItemSize=28,this.nzVirtualMaxBufferPx=500,this.nzVirtualMinBufferPx=28,this.nzVirtualHeight=null,this.nzNodes=[],this.nzOpen=!1,this.nzSize="default",this.nzPlaceHolder="",this.nzDropdownStyle=null,this.nzBackdrop=!1,this.nzStatus="",this.nzPlacement="",this.nzDisplayWith=hn=>hn.title,this.nzMaxTagPlaceholder=null,this.nzOpenChange=new i.vpe,this.nzCleared=new i.vpe,this.nzRemoved=new i.vpe,this.nzExpandChange=new i.vpe,this.nzTreeClick=new i.vpe,this.nzTreeCheckBoxChange=new i.vpe,this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1,this.dropdownClassName=be,this.isComposing=!1,this.isDestroy=!0,this.isNotFound=!1,this.focused=!1,this.inputValue="",this.dropDownPosition="bottom",this.selectedNodes=[],this.expandedKeys=[],this.value=[],this.dir="ltr",this.positions=[],this.destroy$=new h.x,this.isNzDisableFirstChange=!0,this.onChange=hn=>{},this.onTouched=()=>{},this.renderer.addClass(this.elementRef.nativeElement,"ant-select"),this.renderer.addClass(this.elementRef.nativeElement,"ant-tree-select")}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,z.x)((x,N)=>x.status===N.status&&x.hasFeedback===N.hasFeedback),(0,M.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,E.of)(!1)),(0,p.U)(([{status:x,hasFeedback:N},O])=>({status:O?"":x,hasFeedback:N})),(0,v.R)(this.destroy$)).subscribe(({status:x,hasFeedback:N})=>{this.setStatusStyles(x,N)}),this.isDestroy=!1,this.subscribeSelectionChange(),this.directionality.change?.pipe((0,v.R)(this.destroy$)).subscribe(x=>{this.dir=x,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.focusMonitor.monitor(this.elementRef,!0).pipe((0,v.R)(this.destroy$)).subscribe(x=>{x?(this.focused=!0,this.cdr.markForCheck()):(this.focused=!1,this.cdr.markForCheck(),Promise.resolve().then(()=>{this.onTouched()}))})}ngOnDestroy(){this.isDestroy=!0,this.closeDropDown(),this.destroy$.next(),this.destroy$.complete()}isComposingChange(x){this.isComposing=x}setDisabledState(x){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||x,this.closeDropDown(),this.isNzDisableFirstChange=!1}setStatusStyles(x,N){this.status=x,this.hasFeedback=N,this.cdr.markForCheck(),this.statusCls=(0,D.Zu)(this.prefixCls,x,N),Object.keys(this.statusCls).forEach(O=>{this.statusCls[O]?this.renderer.addClass(this.elementRef.nativeElement,O):this.renderer.removeClass(this.elementRef.nativeElement,O)})}ngOnChanges(x){const{nzNodes:N,nzDropdownClassName:O,nzStatus:$,nzPlacement:L}=x;if(N&&this.updateSelectedNodes(!0),O){const he=this.nzDropdownClassName&&this.nzDropdownClassName.trim();this.dropdownClassName=he?`${be} ${he}`:be}$&&this.setStatusStyles(this.nzStatus,this.hasFeedback),L&&this.nzPlacement&&C.yW[this.nzPlacement]&&(this.positions=[C.yW[this.nzPlacement]])}writeValue(x){(0,D.DX)(x)?(this.value=this.isMultiple&&Array.isArray(x)?x:[x],this.updateSelectedNodes(!0)):(this.value=[],this.selectedNodes.forEach(N=>{this.removeSelected(N,!1)}),this.selectedNodes=[]),this.cdr.markForCheck()}registerOnChange(x){this.onChange=x}registerOnTouched(x){this.onTouched=x}onKeydown(x){if(!this.nzDisabled)switch(x.keyCode){case n.hY:break;case n.Mf:this.closeDropDown();break;default:this.nzOpen||this.openDropdown()}}trigger(){this.nzDisabled||!this.nzDisabled&&this.nzOpen?this.closeDropDown():this.openDropdown()}openDropdown(){this.nzDisabled||(this.nzOpen=!0,this.nzOpenChange.emit(this.nzOpen),this.updateCdkConnectedOverlayStatus(),(this.nzShowSearch||this.isMultiple)&&this.focusOnInput())}closeDropDown(){this.onTouched(),this.nzOpen=!1,this.inputValue="",this.isNotFound=!1,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck()}onKeyDownInput(x){this.isMultiple&&!x.target.value&&x.keyCode===n.ZH&&(x.preventDefault(),this.selectedNodes.length)&&this.removeSelected(this.selectedNodes[this.selectedNodes.length-1])}onExpandedKeysChange(x){this.nzExpandChange.emit(x),this.expandedKeys=[...x.keys]}setInputValue(x){this.inputValue=x,this.updatePosition()}removeSelected(x,N=!0){x.isSelected=!1,x.isChecked=!1,this.nzCheckable?this.nzTreeService.conduct(x,this.nzCheckStrictly):this.nzTreeService.setSelectedNodeList(x,this.nzMultiple),N&&this.nzRemoved.emit(x)}focusOnInput(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}subscribeSelectionChange(){(0,u.T)(this.nzTreeClick.pipe((0,_.b)(x=>{const N=x.node;this.nzCheckable&&!N.isDisabled&&!N.isDisableCheckbox&&(N.isChecked=!N.isChecked,N.isHalfChecked=!1,this.nzCheckStrictly||this.nzTreeService.conduct(N)),this.nzCheckable&&(N.isSelected=!1)}),(0,d.h)(x=>{const N=x.node;return this.nzCheckable?!N.isDisabled&&!N.isDisableCheckbox:!N.isDisabled&&N.isSelectable})),this.nzCheckable?this.nzTreeCheckBoxChange.asObservable():(0,E.of)(),this.nzCleared,this.nzRemoved).pipe((0,v.R)(this.destroy$)).subscribe(()=>{this.updateSelectedNodes();const x=this.selectedNodes.map(N=>N.key);this.value=[...x],(this.nzShowSearch||this.isMultiple)&&(this.inputValue="",this.isNotFound=!1),this.isMultiple?(this.onChange(x),this.focusOnInput(),this.updatePosition()):(this.closeDropDown(),this.onChange(x.length?x[0]:null))})}updateSelectedNodes(x=!1){if(x){const N=this.coerceTreeNodes(this.nzNodes);this.nzTreeService.isMultiple=this.isMultiple,this.nzTreeService.isCheckStrictly=this.nzCheckStrictly,this.nzTreeService.initTree(N),this.nzCheckable?this.nzTreeService.conductCheck(this.value,this.nzCheckStrictly):this.nzTreeService.conductSelectedKeys(this.value,this.isMultiple)}this.selectedNodes=[...this.nzCheckable?this.getCheckedNodeList():this.getSelectedNodeList()]}updatePosition(){(0,T.e)(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}onPositionChange(x){this.dropDownPosition=x.connectionPair.originY}onClearSelection(){this.selectedNodes.forEach(x=>{this.removeSelected(x,!1)}),this.nzCleared.emit()}onClickOutside(x){this.elementRef.nativeElement.contains(x.target)||this.closeDropDown()}setSearchValues(x){Promise.resolve().then(()=>{this.isNotFound=(this.nzShowSearch||this.isMultiple)&&!!this.inputValue&&0===x.matchedKeys.length})}updateCdkConnectedOverlayStatus(){(!this.nzPlacement||!Qe.includes(C.yW[this.nzPlacement]))&&(this.triggerWidth=this.cdkOverlayOrigin.elementRef.nativeElement.getBoundingClientRect().width)}trackValue(x,N){return N.key}static#e=this.\u0275fac=function(N){return new(N||ve)(i.Y36(We),i.Y36(f.jY),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(P.Is,8),i.Y36(S.tE),i.Y36(A.P,9),i.Y36(k.kH,8),i.Y36(k.yW,8))};static#t=this.\u0275cmp=i.Xpm({type:ve,selectors:[["nz-tree-select"]],contentQueries:function(N,O,$){if(1&N&&i.Suo($,cn,7),2&N){let L;i.iGM(L=i.CRH())&&(O.nzTreeTemplateChild=L.first)}},viewQuery:function(N,O){if(1&N&&(i.Gf(y.Gt,5),i.Gf(ft,5),i.Gf(t.xu,7),i.Gf(t.pI,5)),2&N){let $;i.iGM($=i.CRH())&&(O.nzSelectSearchComponent=$.first),i.iGM($=i.CRH())&&(O.treeRef=$.first),i.iGM($=i.CRH())&&(O.cdkOverlayOrigin=$.first),i.iGM($=i.CRH())&&(O.cdkConnectedOverlay=$.first)}},hostAttrs:[1,"ant-select"],hostVars:24,hostBindings:function(N,O){1&N&&i.NdJ("click",function(){return O.trigger()})("keydown",function(L){return O.onKeydown(L)}),2&N&&i.ekj("ant-select-in-form-item",!!O.nzFormStatusService)("ant-select-lg","large"===O.nzSize)("ant-select-rtl","rtl"===O.dir)("ant-select-sm","small"===O.nzSize)("ant-select-disabled",O.nzDisabled)("ant-select-single",!O.isMultiple)("ant-select-show-arrow",!O.isMultiple)("ant-select-show-search",!O.isMultiple)("ant-select-multiple",O.isMultiple)("ant-select-allow-clear",O.nzAllowClear)("ant-select-open",O.nzOpen)("ant-select-focused",O.nzOpen||O.focused)},inputs:{nzId:"nzId",nzAllowClear:"nzAllowClear",nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzCheckable:"nzCheckable",nzHideUnMatched:"nzHideUnMatched",nzShowIcon:"nzShowIcon",nzShowSearch:"nzShowSearch",nzDisabled:"nzDisabled",nzAsyncData:"nzAsyncData",nzMultiple:"nzMultiple",nzDefaultExpandAll:"nzDefaultExpandAll",nzCheckStrictly:"nzCheckStrictly",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualHeight:"nzVirtualHeight",nzExpandedIcon:"nzExpandedIcon",nzNotFoundContent:"nzNotFoundContent",nzNodes:"nzNodes",nzOpen:"nzOpen",nzSize:"nzSize",nzPlaceHolder:"nzPlaceHolder",nzDropdownStyle:"nzDropdownStyle",nzDropdownClassName:"nzDropdownClassName",nzBackdrop:"nzBackdrop",nzStatus:"nzStatus",nzPlacement:"nzPlacement",nzExpandedKeys:"nzExpandedKeys",nzDisplayWith:"nzDisplayWith",nzMaxTagCount:"nzMaxTagCount",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzTreeTemplate:"nzTreeTemplate"},outputs:{nzOpenChange:"nzOpenChange",nzCleared:"nzCleared",nzRemoved:"nzRemoved",nzExpandChange:"nzExpandChange",nzTreeClick:"nzTreeClick",nzTreeCheckBoxChange:"nzTreeCheckBoxChange"},exportAs:["nzTreeSelect"],features:[i._Bn([We,{provide:b.g2,useFactory:wt,deps:[[new i.PiD,i.zs3]]},{provide:l.JU,useExisting:(0,i.Gpc)(()=>ve),multi:!0}]),i.qOj,i.TTD],decls:9,vars:20,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","overlayOutsideClick","detach","positionChange"],["cdkOverlayOrigin","",1,"ant-select-selector"],[4,"ngIf"],[3,"nzId","showInput","value","mirrorSync","disabled","focusTrigger","keydown","isComposingChange","valueChange"],[3,"placeholder","display",4,"ngIf"],[3,"deletable","disabled","label",4,"ngIf"],[3,"showArrow","feedbackIcon",4,"ngIf"],[3,"clear",4,"ngIf"],[3,"ngClass","nzNoAnimation","dir","ngStyle"],["nzNoAnimation","","nzSelectMode","","nzBlockNode","",3,"hidden","nzData","nzMultiple","nzSearchValue","nzHideUnMatched","nzShowIcon","nzCheckable","nzAsyncData","nzShowExpand","nzShowLine","nzExpandedIcon","nzExpandAll","nzExpandedKeys","nzCheckedKeys","nzSelectedKeys","nzTreeTemplate","nzCheckStrictly","nzVirtualItemSize","nzVirtualMaxBufferPx","nzVirtualMinBufferPx","nzVirtualHeight","nzExpandChange","nzClick","nzCheckedKeysChange","nzSelectedKeysChange","nzCheckBoxChange","nzSearchValueChange"],["treeRef",""],["class","ant-select-not-found",4,"ngIf"],[1,"ant-select-not-found"],[3,"nzComponentName","specificContent"],[3,"deletable","disabled","label","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"contentTemplateOutlet","contentTemplateOutletContext","deletable","disabled","label",4,"ngIf"],[3,"deletable","disabled","label","delete"],[3,"contentTemplateOutlet","contentTemplateOutletContext","deletable","disabled","label"],[3,"placeholder"],[3,"deletable","disabled","label"],[3,"showArrow","feedbackIcon"],["feedbackIconTpl",""],[3,"status",4,"ngIf"],[3,"status"],[3,"clear"]],template:function(N,O){1&N&&(i.YNc(0,Ct,4,36,"ng-template",0),i.NdJ("overlayOutsideClick",function(L){return O.onClickOutside(L)})("detach",function(){return O.closeDropDown()})("positionChange",function(L){return O.onPositionChange(L)}),i.TgZ(1,"div",1),i.YNc(2,St,4,7,"ng-container",2),i.TgZ(3,"nz-select-search",3),i.NdJ("keydown",function(L){return O.onKeyDownInput(L)})("isComposingChange",function(L){return O.isComposing=L})("valueChange",function(L){return O.setInputValue(L)}),i.qZA(),i.YNc(4,qe,1,3,"nz-select-placeholder",4),i.YNc(5,Fe,1,3,"nz-select-item",5),i.YNc(6,fe,1,0,"nz-select-arrow",2),i.YNc(7,je,3,2,"nz-select-arrow",6),i.YNc(8,Ye,1,0,"nz-select-clear",7),i.qZA()),2&N&&(i.Q6J("cdkConnectedOverlayHasBackdrop",O.nzBackdrop)("cdkConnectedOverlayOrigin",O.cdkOverlayOrigin)("cdkConnectedOverlayPositions",O.nzPlacement?O.positions:i.DdM(19,Ie))("cdkConnectedOverlayOpen",O.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-select-tree-dropdown")("cdkConnectedOverlayMinWidth",O.nzDropdownMatchSelectWidth?null:O.triggerWidth)("cdkConnectedOverlayWidth",O.nzDropdownMatchSelectWidth?O.triggerWidth:null),i.xp6(2),i.Q6J("ngIf",O.isMultiple),i.xp6(1),i.Q6J("nzId",O.nzId)("showInput",O.nzShowSearch)("value",O.inputValue)("mirrorSync",O.isMultiple)("disabled",O.nzDisabled)("focusTrigger",O.nzOpen),i.xp6(1),i.Q6J("ngIf",O.nzPlaceHolder&&0===O.selectedNodes.length),i.xp6(1),i.Q6J("ngIf",!O.isMultiple&&1===O.selectedNodes.length&&!O.isComposing&&""===O.inputValue),i.xp6(1),i.Q6J("ngIf",!O.isMultiple),i.xp6(1),i.Q6J("ngIf",!O.isMultiple||O.hasFeedback&&!!O.status),i.xp6(1),i.Q6J("ngIf",O.nzAllowClear&&!O.nzDisabled&&O.selectedNodes.length))},dependencies:[P.Lv,R.mk,R.sg,R.O5,R.PC,t.pI,t.xu,y.uf,y.kq,y.Go,y.Y6,y.Gt,qt,Vt.gB,C.hQ,A.P,k.w_,R.OU],encapsulation:2,data:{animation:[m.mF]}})}return(0,e.gn)([(0,D.yF)()],ve.prototype,"nzAllowClear",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowExpand",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowLine",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzDropdownMatchSelectWidth",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckable",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzHideUnMatched",void 0),(0,e.gn)([(0,D.yF)(),(0,f.oS)()],ve.prototype,"nzShowIcon",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzShowSearch",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzDisabled",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzAsyncData",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzMultiple",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzDefaultExpandAll",void 0),(0,e.gn)([(0,D.yF)()],ve.prototype,"nzCheckStrictly",void 0),(0,e.gn)([(0,f.oS)()],ve.prototype,"nzSize",void 0),(0,e.gn)([(0,f.oS)()],ve.prototype,"nzBackdrop",void 0),ve})(),Ze=(()=>{class ve{static#e=this.\u0275fac=function(N){return new(N||ve)};static#t=this.\u0275mod=i.oAB({type:ve});static#n=this.\u0275inj=i.cJS({imports:[P.vT,R.ez,t.U8,l.u5,y.LV,en,Y.PV,Vt.Xo,C.e4,A.g,k.mJ]})}return ve})()},41394:(tt,I,o)=>{"use strict";o.d(I,{FY:()=>x,cS:()=>N});var e=o(36028),n=o(69862),t=o(65879),i=o(22096),l=o(65592),h=o(47394),E=o(78645),u=o(92438),z=o(94664),M=o(37398),p=o(99397),v=o(59773),_=o(32181),d=o(1608),m=o(86825),f=o(96814),C=o(62831),T=o(96109),b=o(48128),D=o(90551),y=o(42840),P=o(70855),S=o(97582),A=o(27754),k=o(12131),R=o(49388),W=o(60095);const j=["file"],ze=["nz-upload-btn",""],Y=["*"];function G(O,$){}const V=function(O){return{$implicit:O}};function K(O,$){if(1&O&&(t.TgZ(0,"div",18),t.YNc(1,G,0,0,"ng-template",19),t.qZA()),2&O){const L=t.oxw(2).$implicit,he=t.MAs(5);t.ekj("ant-upload-list-item-file",!L.isUploading),t.xp6(1),t.Q6J("ngTemplateOutlet",he)("ngTemplateOutletContext",t.VKq(4,V,L))}}function ee(O,$){if(1&O&&t._UZ(0,"img",22),2&O){const L=t.oxw(3).$implicit;t.Q6J("src",L.thumbUrl||L.url,t.LSH),t.uIk("alt",L.name)}}function te(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"a",20),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handlePreview(Dt,Ce))}),t.YNc(1,ee,1,2,"img",21),t.qZA()}if(2&O){t.oxw();const L=t.MAs(5),he=t.oxw().$implicit;t.ekj("ant-upload-list-item-file",!he.isImageUrl),t.Q6J("href",he.url||he.thumbUrl,t.LSH),t.xp6(1),t.Q6J("ngIf",he.isImageUrl)("ngIfElse",L)}}function pe(O,$){}function re(O,$){if(1&O&&(t.TgZ(0,"div",23),t.YNc(1,pe,0,0,"ng-template",19),t.qZA()),2&O){const L=t.oxw(2).$implicit,he=t.MAs(5);t.xp6(1),t.Q6J("ngTemplateOutlet",he)("ngTemplateOutletContext",t.VKq(2,V,L))}}function De(O,$){}function ae(O,$){if(1&O&&t.YNc(0,De,0,0,"ng-template",19),2&O){const L=t.oxw(2).$implicit,he=t.MAs(5);t.Q6J("ngTemplateOutlet",he)("ngTemplateOutletContext",t.VKq(2,V,L))}}function ce(O,$){if(1&O&&(t.ynx(0,13),t.YNc(1,K,2,6,"div",14),t.YNc(2,te,2,5,"a",15),t.YNc(3,re,2,4,"div",16),t.BQk(),t.YNc(4,ae,1,4,"ng-template",null,17,t.W1O)),2&O){const L=t.oxw().$implicit;t.Q6J("ngSwitch",L.iconType),t.xp6(1),t.Q6J("ngSwitchCase","uploading"),t.xp6(1),t.Q6J("ngSwitchCase","thumbnail")}}function X(O,$){1&O&&(t.ynx(0),t._UZ(1,"span",29),t.BQk())}function ne(O,$){if(1&O&&(t.ynx(0),t.YNc(1,X,2,0,"ng-container",24),t.BQk()),2&O){const L=t.oxw(2).$implicit,he=t.MAs(4);t.xp6(1),t.Q6J("ngIf",L.isUploading)("ngIfElse",he)}}function le(O,$){if(1&O&&(t.ynx(0),t._uU(1),t.BQk()),2&O){const L=t.oxw(5);t.xp6(1),t.hij(" ",L.locale.uploading," ")}}function Se(O,$){if(1&O&&(t.ynx(0),t.YNc(1,le,2,1,"ng-container",24),t.BQk()),2&O){const L=t.oxw(2).$implicit,he=t.MAs(4);t.xp6(1),t.Q6J("ngIf",L.isUploading)("ngIfElse",he)}}function Ne(O,$){if(1&O&&t._UZ(0,"span",30),2&O){const L=t.oxw(2).$implicit;t.Q6J("nzType",L.isUploading?"loading":"paper-clip")}}function ke(O,$){if(1&O&&(t.ynx(0)(1,13),t.YNc(2,ne,2,2,"ng-container",27),t.YNc(3,Se,2,2,"ng-container",27),t.YNc(4,Ne,1,1,"span",28),t.BQk()()),2&O){const L=t.oxw(3);t.xp6(1),t.Q6J("ngSwitch",L.listType),t.xp6(1),t.Q6J("ngSwitchCase","picture"),t.xp6(1),t.Q6J("ngSwitchCase","picture-card")}}function oe(O,$){}function _e(O,$){if(1&O&&t._UZ(0,"span",31),2&O){const L=t.oxw().$implicit;t.Q6J("nzType",L.isImageUrl?"picture":"file")}}function Q(O,$){if(1&O&&(t.YNc(0,ke,5,3,"ng-container",24),t.YNc(1,oe,0,0,"ng-template",19,25,t.W1O),t.YNc(3,_e,1,1,"ng-template",null,26,t.W1O)),2&O){const L=$.$implicit,he=t.MAs(2),Ce=t.oxw(2);t.Q6J("ngIf",!Ce.iconRender)("ngIfElse",he),t.xp6(1),t.Q6J("ngTemplateOutlet",Ce.iconRender)("ngTemplateOutletContext",t.VKq(4,V,L))}}function He(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"button",33),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handleRemove(Dt,Ce))}),t._UZ(1,"span",34),t.qZA()}if(2&O){const L=t.oxw(3);t.uIk("title",L.locale.removeFile)}}function Re(O,$){if(1&O&&t.YNc(0,He,2,1,"button",32),2&O){const L=t.oxw(2);t.Q6J("ngIf",L.icons.showRemoveIcon)}}function lt(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"button",33),t.NdJ("click",function(){t.CHM(L);const Ce=t.oxw(2).$implicit,Dt=t.oxw();return t.KtG(Dt.handleDownload(Ce))}),t._UZ(1,"span",35),t.qZA()}if(2&O){const L=t.oxw(3);t.uIk("title",L.locale.downloadFile)}}function Pe(O,$){if(1&O&&t.YNc(0,lt,2,1,"button",32),2&O){const L=t.oxw().$implicit;t.Q6J("ngIf",L.showDownload)}}function xt(O,$){}function $e(O,$){}function ot(O,$){if(1&O&&(t.TgZ(0,"span"),t.YNc(1,xt,0,0,"ng-template",10),t.YNc(2,$e,0,0,"ng-template",10),t.qZA()),2&O){t.oxw(2);const L=t.MAs(9),he=t.MAs(7),Ce=t.oxw();t.Gre("ant-upload-list-item-card-actions ","picture"===Ce.listType?"picture":"",""),t.xp6(1),t.Q6J("ngTemplateOutlet",L),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}function mt(O,$){if(1&O&&t.YNc(0,ot,3,5,"span",36),2&O){const L=t.oxw(2);t.Q6J("ngIf","picture-card"!==L.listType)}}function we(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"a",39),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handlePreview(Dt,Ce))}),t._uU(1),t.qZA()}if(2&O){const L=t.oxw(2).$implicit;t.Q6J("href",L.url,t.LSH),t.uIk("title",L.name)("download",L.linkProps&&L.linkProps.download),t.xp6(1),t.hij(" ",L.name," ")}}function de(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"span",40),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handlePreview(Dt,Ce))}),t._uU(1),t.qZA()}if(2&O){const L=t.oxw(2).$implicit;t.uIk("title",L.name),t.xp6(1),t.hij(" ",L.name," ")}}function U(O,$){}function B(O,$){if(1&O&&(t.YNc(0,we,2,4,"a",37),t.YNc(1,de,2,2,"span",38),t.YNc(2,U,0,0,"ng-template",10)),2&O){const L=t.oxw().$implicit,he=t.MAs(11);t.Q6J("ngIf",L.url),t.xp6(1),t.Q6J("ngIf",!L.url),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}function Me(O,$){}function Ae(O,$){}const Le=function(){return{opacity:.5,"pointer-events":"none"}};function ht(O,$){if(1&O){const L=t.EpF();t.TgZ(0,"a",44),t.NdJ("click",function(Ce){t.CHM(L);const Dt=t.oxw(2).$implicit,Yt=t.oxw();return t.KtG(Yt.handlePreview(Dt,Ce))}),t._UZ(1,"span",45),t.qZA()}if(2&O){const L=t.oxw(2).$implicit,he=t.oxw();t.Q6J("href",L.url||L.thumbUrl,t.LSH)("ngStyle",L.url||L.thumbUrl?null:t.DdM(3,Le)),t.uIk("title",he.locale.previewFile)}}function Ot(O,$){}function Lt(O,$){if(1&O&&(t.ynx(0),t.YNc(1,Ot,0,0,"ng-template",10),t.BQk()),2&O){t.oxw(2);const L=t.MAs(9);t.xp6(1),t.Q6J("ngTemplateOutlet",L)}}function Wt(O,$){}function qt(O,$){if(1&O&&(t.TgZ(0,"span",41),t.YNc(1,ht,2,4,"a",42),t.YNc(2,Lt,2,1,"ng-container",43),t.YNc(3,Wt,0,0,"ng-template",10),t.qZA()),2&O){const L=t.oxw().$implicit,he=t.MAs(7),Ce=t.oxw();t.xp6(1),t.Q6J("ngIf",Ce.icons.showPreviewIcon),t.xp6(1),t.Q6J("ngIf","done"===L.status),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}function en(O,$){if(1&O&&(t.TgZ(0,"div",46),t._UZ(1,"nz-progress",47),t.qZA()),2&O){const L=t.oxw().$implicit;t.xp6(1),t.Q6J("nzPercent",L.percent)("nzShowInfo",!1)("nzStrokeWidth",2)}}function Vt(O,$){if(1&O&&(t.TgZ(0,"div")(1,"div",1),t.YNc(2,ce,6,3,"ng-template",null,2,t.W1O),t.YNc(4,Q,5,6,"ng-template",null,3,t.W1O),t.YNc(6,Re,1,1,"ng-template",null,4,t.W1O),t.YNc(8,Pe,1,1,"ng-template",null,5,t.W1O),t.YNc(10,mt,1,1,"ng-template",null,6,t.W1O),t.YNc(12,B,3,3,"ng-template",null,7,t.W1O),t.TgZ(14,"div",8)(15,"span",9),t.YNc(16,Me,0,0,"ng-template",10),t.YNc(17,Ae,0,0,"ng-template",10),t.qZA()(),t.YNc(18,qt,4,3,"span",11),t.YNc(19,en,2,3,"div",12),t.qZA()()),2&O){const L=$.$implicit,he=t.MAs(3),Ce=t.MAs(13),Dt=t.oxw();t.Gre("ant-upload-list-",Dt.listType,"-container"),t.xp6(1),t.MT6("ant-upload-list-item ant-upload-list-item-",L.status," ant-upload-list-item-list-type-",Dt.listType,""),t.Q6J("@itemState",void 0)("nzTooltipTitle","error"===L.status?L.message:null),t.uIk("data-key",L.key),t.xp6(15),t.Q6J("ngTemplateOutlet",he),t.xp6(1),t.Q6J("ngTemplateOutlet",Ce),t.xp6(1),t.Q6J("ngIf","picture-card"===Dt.listType&&!L.isUploading),t.xp6(1),t.Q6J("ngIf",L.isUploading)}}const cn=["uploadComp"],ft=["listComp"],gt=function(){return[]};function Ie(O,$){if(1&O&&t._UZ(0,"nz-upload-list",8,9),2&O){const L=t.oxw(2);t.Udp("display",L.nzShowUploadList?"":"none"),t.Q6J("locale",L.locale)("listType",L.nzListType)("items",L.nzFileList||t.DdM(13,gt))("icons",L.nzShowUploadList)("iconRender",L.nzIconRender)("previewFile",L.nzPreviewFile)("previewIsImage",L.nzPreviewIsImage)("onPreview",L.nzPreview)("onRemove",L.onRemove)("onDownload",L.nzDownload)("dir",L.dir)}}function Ct(O,$){1&O&&t.GkF(0)}function Nt(O,$){if(1&O&&(t.ynx(0),t.YNc(1,Ct,1,0,"ng-container",10),t.BQk()),2&O){const L=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",L.nzFileListRender)("ngTemplateOutletContext",t.VKq(2,V,L.nzFileList))}}function kt(O,$){if(1&O&&(t.YNc(0,Ie,2,14,"nz-upload-list",6),t.YNc(1,Nt,2,4,"ng-container",7)),2&O){const L=t.oxw();t.Q6J("ngIf",L.locale&&!L.nzFileListRender),t.xp6(1),t.Q6J("ngIf",L.nzFileListRender)}}function St(O,$){1&O&&t.Hsn(0)}function qe(O,$){}function Fe(O,$){if(1&O&&(t.TgZ(0,"div",11)(1,"div",12,13),t.YNc(3,qe,0,0,"ng-template",14),t.qZA()()),2&O){const L=t.oxw(),he=t.MAs(3);t.Udp("display",L.nzShowButton?"":"none"),t.Q6J("ngClass",L.classList),t.xp6(1),t.Q6J("options",L._btnOptions),t.xp6(2),t.Q6J("ngTemplateOutlet",he)}}function fe(O,$){}function Xe(O,$){}function ge(O,$){if(1&O){const L=t.EpF();t.ynx(0),t.TgZ(1,"div",15),t.NdJ("drop",function(Ce){t.CHM(L);const Dt=t.oxw();return t.KtG(Dt.fileDrop(Ce))})("dragover",function(Ce){t.CHM(L);const Dt=t.oxw();return t.KtG(Dt.fileDrop(Ce))})("dragleave",function(Ce){t.CHM(L);const Dt=t.oxw();return t.KtG(Dt.fileDrop(Ce))}),t.TgZ(2,"div",16,13)(4,"div",17),t.YNc(5,fe,0,0,"ng-template",14),t.qZA()()(),t.YNc(6,Xe,0,0,"ng-template",14),t.BQk()}if(2&O){const L=t.oxw(),he=t.MAs(3),Ce=t.MAs(1);t.xp6(1),t.Q6J("ngClass",L.classList),t.xp6(1),t.Q6J("options",L._btnOptions),t.xp6(3),t.Q6J("ngTemplateOutlet",he),t.xp6(1),t.Q6J("ngTemplateOutlet",Ce)}}function je(O,$){}function Ye(O,$){}function We(O,$){if(1&O&&(t.ynx(0),t.YNc(1,je,0,0,"ng-template",14),t.YNc(2,Ye,0,0,"ng-template",14),t.BQk()),2&O){t.oxw(2);const L=t.MAs(1),he=t.MAs(5);t.xp6(1),t.Q6J("ngTemplateOutlet",L),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}function wt(O,$){if(1&O&&t.YNc(0,We,3,2,"ng-container",3),2&O){const L=t.oxw(),he=t.MAs(10);t.Q6J("ngIf","picture-card"===L.nzListType)("ngIfElse",he)}}function Ee(O,$){}function be(O,$){}function Qe(O,$){if(1&O&&(t.YNc(0,Ee,0,0,"ng-template",14),t.YNc(1,be,0,0,"ng-template",14)),2&O){t.oxw();const L=t.MAs(5),he=t.MAs(1);t.Q6J("ngTemplateOutlet",L),t.xp6(1),t.Q6J("ngTemplateOutlet",he)}}let Ke=(()=>{class O{onClick(){this.options.disabled||!this.options.openFileDialogOnClick||this.file.nativeElement.click()}onFileDrop(L){if(this.options.disabled||"dragover"===L.type)L.preventDefault();else{if(this.options.directory)this.traverseFileTree(L.dataTransfer.items);else{const he=Array.prototype.slice.call(L.dataTransfer.files).filter(Ce=>this.attrAccept(Ce,this.options.accept));he.length&&this.uploadFiles(he)}L.preventDefault()}}onChange(L){if(this.options.disabled)return;const he=L.target;this.uploadFiles(he.files),he.value=""}traverseFileTree(L){const he=(Ce,Dt)=>{Ce.isFile?Ce.file(Yt=>{this.attrAccept(Yt,this.options.accept)&&this.uploadFiles([Yt])}):Ce.isDirectory&&Ce.createReader().readEntries(rn=>{for(const hn of rn)he(hn,`${Dt}${Ce.name}/`)})};for(const Ce of L)he(Ce.webkitGetAsEntry(),"")}attrAccept(L,he){if(L&&he){const Ce=Array.isArray(he)?he:he.split(","),Dt=`${L.name}`,Yt=`${L.type}`,rn=Yt.replace(/\/.*$/,"");return Ce.some(hn=>{const yn=hn.trim();return"."===yn.charAt(0)?-1!==Dt.toLowerCase().indexOf(yn.toLowerCase(),Dt.toLowerCase().length-yn.toLowerCase().length):/\/\*$/.test(yn)?rn===yn.replace(/\/.*$/,""):Yt===yn})}return!0}attachUid(L){return L.uid||(L.uid=Math.random().toString(36).substring(2)),L}uploadFiles(L){let he=(0,i.of)(Array.prototype.slice.call(L));this.options.filters&&this.options.filters.forEach(Ce=>{he=he.pipe((0,z.w)(Dt=>{const Yt=Ce.fn(Dt);return Yt instanceof l.y?Yt:(0,i.of)(Yt)}))}),he.subscribe(Ce=>{Ce.forEach(Dt=>{this.attachUid(Dt),this.upload(Dt,Ce)})},Ce=>{(0,d.ZK)("Unhandled upload filter error",Ce)})}upload(L,he){if(!this.options.beforeUpload)return this.post(L);const Ce=this.options.beforeUpload(L,he);if(Ce instanceof l.y)Ce.subscribe(Dt=>{const Yt=Object.prototype.toString.call(Dt);"[object File]"===Yt||"[object Blob]"===Yt?(this.attachUid(Dt),this.post(Dt)):"boolean"==typeof Dt&&!1!==Dt&&this.post(L)},Dt=>{(0,d.ZK)("Unhandled upload beforeUpload error",Dt)});else if(!1!==Ce)return this.post(L)}post(L){if(this.destroy)return;let Ce,he=(0,i.of)(L);const Dt=this.options,{uid:Yt}=L,{action:rn,data:hn,headers:yn,transformFile:Mn}=Dt,En={action:"string"==typeof rn?rn:"",name:Dt.name,headers:yn,file:L,postFile:L,data:hn,withCredentials:Dt.withCredentials,onProgress:Dt.onProgress?Dn=>{Dt.onProgress(Dn,L)}:void 0,onSuccess:(Dn,xn)=>{this.clean(Yt),Dt.onSuccess(Dn,L,xn)},onError:Dn=>{this.clean(Yt),Dt.onError(Dn,L)}};if("function"==typeof rn){const Dn=rn(L);Dn instanceof l.y?he=he.pipe((0,z.w)(()=>Dn),(0,M.U)(xn=>(En.action=xn,L))):En.action=Dn}if("function"==typeof Mn){const Dn=Mn(L);he=he.pipe((0,z.w)(()=>Dn instanceof l.y?Dn:(0,i.of)(Dn)),(0,p.b)(xn=>Ce=xn))}if("function"==typeof hn){const Dn=hn(L);Dn instanceof l.y?he=he.pipe((0,z.w)(()=>Dn),(0,M.U)(xn=>(En.data=xn,Ce??L))):En.data=Dn}if("function"==typeof yn){const Dn=yn(L);Dn instanceof l.y?he=he.pipe((0,z.w)(()=>Dn),(0,M.U)(xn=>(En.headers=xn,Ce??L))):En.headers=Dn}he.subscribe(Dn=>{En.postFile=Dn;const xn=(Dt.customRequest||this.xhr).call(this,En);xn instanceof h.w0||(0,d.ZK)("Must return Subscription type in '[nzCustomRequest]' property"),this.reqs[Yt]=xn,Dt.onStart(L)})}xhr(L){const he=new FormData;L.data&&Object.keys(L.data).map(Dt=>{he.append(Dt,L.data[Dt])}),he.append(L.name,L.postFile),L.headers||(L.headers={}),null!==L.headers["X-Requested-With"]?L.headers["X-Requested-With"]="XMLHttpRequest":delete L.headers["X-Requested-With"];const Ce=new n.aW("POST",L.action,he,{reportProgress:!0,withCredentials:L.withCredentials,headers:new n.WM(L.headers)});return this.http.request(Ce).subscribe(Dt=>{Dt.type===n.dt.UploadProgress?(Dt.total>0&&(Dt.percent=Dt.loaded/Dt.total*100),L.onProgress(Dt,L.file)):Dt instanceof n.Zn&&L.onSuccess(Dt.body,L.file,Dt)},Dt=>{this.abort(L.file),L.onError(Dt,L.file)})}clean(L){const he=this.reqs[L];he instanceof h.w0&&he.unsubscribe(),delete this.reqs[L]}abort(L){L?this.clean(L&&L.uid):Object.keys(this.reqs).forEach(he=>this.clean(he))}constructor(L,he,Ce){if(this.ngZone=L,this.http=he,this.elementRef=Ce,this.reqs={},this.destroy=!1,this.destroy$=new E.x,!he)throw new Error("Not found 'HttpClient', You can import 'HttpClientModule' in your root module.")}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,u.R)(this.elementRef.nativeElement,"click").pipe((0,v.R)(this.destroy$)).subscribe(()=>this.onClick()),(0,u.R)(this.elementRef.nativeElement,"keydown").pipe((0,v.R)(this.destroy$)).subscribe(L=>{this.options.disabled||("Enter"===L.key||L.keyCode===e.K5)&&this.onClick()})})}ngOnDestroy(){this.destroy=!0,this.destroy$.next(),this.abort()}static#e=this.\u0275fac=function(he){return new(he||O)(t.Y36(t.R0b),t.Y36(n.eN,8),t.Y36(t.SBq))};static#t=this.\u0275cmp=t.Xpm({type:O,selectors:[["","nz-upload-btn",""]],viewQuery:function(he,Ce){if(1&he&&t.Gf(j,7),2&he){let Dt;t.iGM(Dt=t.CRH())&&(Ce.file=Dt.first)}},hostAttrs:[1,"ant-upload"],hostVars:4,hostBindings:function(he,Ce){1&he&&t.NdJ("drop",function(Yt){return Ce.onFileDrop(Yt)})("dragover",function(Yt){return Ce.onFileDrop(Yt)}),2&he&&(t.uIk("tabindex","0")("role","button"),t.ekj("ant-upload-disabled",Ce.options.disabled))},inputs:{options:"options"},exportAs:["nzUploadBtn"],attrs:ze,ngContentSelectors:Y,decls:3,vars:4,consts:[["type","file",2,"display","none",3,"multiple","change"],["file",""]],template:function(he,Ce){1&he&&(t.F$t(),t.TgZ(0,"input",0,1),t.NdJ("change",function(Yt){return Ce.onChange(Yt)}),t.qZA(),t.Hsn(2)),2&he&&(t.Q6J("multiple",Ce.options.multiple),t.uIk("accept",Ce.options.accept)("directory",Ce.options.directory?"directory":null)("webkitdirectory",Ce.options.directory?"webkitdirectory":null))},encapsulation:2})}return O})();const Ze=O=>!!O&&0===O.indexOf("image/");let nt=(()=>{class O{get showPic(){return"picture"===this.listType||"picture-card"===this.listType}set items(L){this.list=L}genErr(L){return L.response&&"string"==typeof L.response?L.response:L.error&&L.error.statusText||this.locale.uploadError}extname(L){const he=L.split("/"),Dt=he[he.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Dt)||[""])[0]}isImageUrl(L){if(Ze(L.type))return!0;const he=L.thumbUrl||L.url||"";if(!he)return!1;const Ce=this.extname(he);return!(!/^data:image\//.test(he)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg)$/i.test(Ce))||!/^data:/.test(he)&&!Ce}getIconType(L){return this.showPic?L.isUploading||!L.thumbUrl&&!L.url?"uploading":"thumbnail":""}previewImage(L){if(!Ze(L.type)||!this.platform.isBrowser)return(0,i.of)("");const he=this.doc.createElement("canvas");he.width=200,he.height=200,he.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",this.doc.body.appendChild(he);const Ce=he.getContext("2d"),Dt=new Image,Yt=URL.createObjectURL(L);return Dt.src=Yt,(0,u.R)(Dt,"load").pipe((0,M.U)(()=>{const{width:rn,height:hn}=Dt;let yn=200,Mn=200,En=0,Dn=0;rn"u"||typeof L>"u"||!L.FileReader||!L.File||this.list.filter(he=>he.originFileObj instanceof File&&void 0===he.thumbUrl).forEach(he=>{he.thumbUrl="";const Ce=(this.previewFile?this.previewFile(he):this.previewImage(he.originFileObj)).pipe((0,v.R)(this.destroy$));this.ngZone.runOutsideAngular(()=>{Ce.subscribe(Dt=>{this.ngZone.run(()=>{he.thumbUrl=Dt,this.detectChanges()})})})})}showDownload(L){return!(!this.icons.showDownloadIcon||"done"!==L.status)}fixData(){this.list.forEach(L=>{L.isUploading="uploading"===L.status,L.message=this.genErr(L),L.linkProps="string"==typeof L.linkProps?JSON.parse(L.linkProps):L.linkProps,L.isImageUrl=this.previewIsImage?this.previewIsImage(L):this.isImageUrl(L),L.iconType=this.getIconType(L),L.showDownload=this.showDownload(L)})}handlePreview(L,he){if(this.onPreview)return he.preventDefault(),this.onPreview(L)}handleRemove(L,he){he.preventDefault(),this.onRemove&&this.onRemove(L)}handleDownload(L){"function"==typeof this.onDownload?this.onDownload(L):L.url&&window.open(L.url)}constructor(L,he,Ce,Dt){this.cdr=L,this.doc=he,this.ngZone=Ce,this.platform=Dt,this.list=[],this.locale={},this.iconRender=null,this.dir="ltr",this.destroy$=new E.x}detectChanges(){this.fixData(),this.cdr.detectChanges()}ngOnChanges(){this.fixData(),this.genThumb()}ngOnDestroy(){this.destroy$.next()}static#e=this.\u0275fac=function(he){return new(he||O)(t.Y36(t.sBO),t.Y36(f.K0),t.Y36(t.R0b),t.Y36(C.t4))};static#t=this.\u0275cmp=t.Xpm({type:O,selectors:[["nz-upload-list"]],hostAttrs:[1,"ant-upload-list"],hostVars:8,hostBindings:function(he,Ce){2&he&&t.ekj("ant-upload-list-rtl","rtl"===Ce.dir)("ant-upload-list-text","text"===Ce.listType)("ant-upload-list-picture","picture"===Ce.listType)("ant-upload-list-picture-card","picture-card"===Ce.listType)},inputs:{locale:"locale",listType:"listType",items:"items",icons:"icons",onPreview:"onPreview",onRemove:"onRemove",onDownload:"onDownload",previewFile:"previewFile",previewIsImage:"previewIsImage",iconRender:"iconRender",dir:"dir"},exportAs:["nzUploadList"],features:[t.TTD],decls:1,vars:1,consts:[[3,"class",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"],["icon",""],["iconNode",""],["removeIcon",""],["downloadIcon",""],["downloadOrDelete",""],["preview",""],[1,"ant-upload-list-item-info"],[1,"ant-upload-span"],[3,"ngTemplateOutlet"],["class","ant-upload-list-item-actions",4,"ngIf"],["class","ant-upload-list-item-progress",4,"ngIf"],[3,"ngSwitch"],["class","ant-upload-list-item-thumbnail",3,"ant-upload-list-item-file",4,"ngSwitchCase"],["class","ant-upload-list-item-thumbnail","target","_blank","rel","noopener noreferrer",3,"ant-upload-list-item-file","href","click",4,"ngSwitchCase"],["class","ant-upload-text-icon",4,"ngSwitchDefault"],["noImageThumbTpl",""],[1,"ant-upload-list-item-thumbnail"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["target","_blank","rel","noopener noreferrer",1,"ant-upload-list-item-thumbnail",3,"href","click"],["class","ant-upload-list-item-image",3,"src",4,"ngIf","ngIfElse"],[1,"ant-upload-list-item-image",3,"src"],[1,"ant-upload-text-icon"],[4,"ngIf","ngIfElse"],["customIconRender",""],["iconNodeFileIcon",""],[4,"ngSwitchCase"],["nz-icon","",3,"nzType",4,"ngSwitchDefault"],["nz-icon","","nzType","loading"],["nz-icon","",3,"nzType"],["nz-icon","","nzTheme","twotone",3,"nzType"],["type","button","nz-button","","nzType","text","nzSize","small","class","ant-upload-list-item-card-actions-btn",3,"click",4,"ngIf"],["type","button","nz-button","","nzType","text","nzSize","small",1,"ant-upload-list-item-card-actions-btn",3,"click"],["nz-icon","","nzType","delete"],["nz-icon","","nzType","download"],[3,"class",4,"ngIf"],["target","_blank","rel","noopener noreferrer","class","ant-upload-list-item-name",3,"href","click",4,"ngIf"],["class","ant-upload-list-item-name",3,"click",4,"ngIf"],["target","_blank","rel","noopener noreferrer",1,"ant-upload-list-item-name",3,"href","click"],[1,"ant-upload-list-item-name",3,"click"],[1,"ant-upload-list-item-actions"],["target","_blank","rel","noopener noreferrer",3,"href","ngStyle","click",4,"ngIf"],[4,"ngIf"],["target","_blank","rel","noopener noreferrer",3,"href","ngStyle","click"],["nz-icon","","nzType","eye"],[1,"ant-upload-list-item-progress"],["nzType","line",3,"nzPercent","nzShowInfo","nzStrokeWidth"]],template:function(he,Ce){1&he&&t.YNc(0,Vt,20,14,"div",0),2&he&&t.Q6J("ngForOf",Ce.list)},dependencies:[f.sg,f.O5,f.tP,f.PC,f.RF,f.n9,f.ED,T.SY,b.M,D.Ls,y.ix,P.w],encapsulation:2,data:{animation:[(0,m.X$)("itemState",[(0,m.eR)(":enter",[(0,m.oB)({height:"0",width:"0",opacity:0}),(0,m.jt)(150,(0,m.oB)({height:"*",width:"*",opacity:1}))]),(0,m.eR)(":leave",[(0,m.jt)(150,(0,m.oB)({height:"0",width:"0",opacity:0}))])])]},changeDetection:0})}return O})(),x=(()=>{class O{set nzShowUploadList(L){this._showUploadList="boolean"==typeof L?(0,A.sw)(L):L}get nzShowUploadList(){return this._showUploadList}zipOptions(){"boolean"==typeof this.nzShowUploadList&&this.nzShowUploadList&&(this.nzShowUploadList={showPreviewIcon:!0,showRemoveIcon:!0,showDownloadIcon:!0});const L=this.nzFilter.slice();if(this.nzMultiple&&this.nzLimit>0&&-1===L.findIndex(he=>"limit"===he.name)&&L.push({name:"limit",fn:he=>he.slice(-this.nzLimit)}),this.nzSize>0&&-1===L.findIndex(he=>"size"===he.name)&&L.push({name:"size",fn:he=>he.filter(Ce=>Ce.size/1024<=this.nzSize)}),this.nzFileType&&this.nzFileType.length>0&&-1===L.findIndex(he=>"type"===he.name)){const he=this.nzFileType.split(",");L.push({name:"type",fn:Ce=>Ce.filter(Dt=>~he.indexOf(Dt.type))})}return this._btnOptions={disabled:this.nzDisabled,accept:this.nzAccept,action:this.nzAction,directory:this.nzDirectory,openFileDialogOnClick:this.nzOpenFileDialogOnClick,beforeUpload:this.nzBeforeUpload,customRequest:this.nzCustomRequest,data:this.nzData,headers:this.nzHeaders,name:this.nzName,multiple:this.nzMultiple,withCredentials:this.nzWithCredentials,filters:L,transformFile:this.nzTransformFile,onStart:this.onStart,onProgress:this.onProgress,onSuccess:this.onSuccess,onError:this.onError},this}constructor(L,he,Ce,Dt,Yt){this.ngZone=L,this.document=he,this.cdr=Ce,this.i18n=Dt,this.directionality=Yt,this.destroy$=new E.x,this.dir="ltr",this.nzType="select",this.nzLimit=0,this.nzSize=0,this.nzDirectory=!1,this.nzOpenFileDialogOnClick=!0,this.nzFilter=[],this.nzFileList=[],this.nzDisabled=!1,this.nzListType="text",this.nzMultiple=!1,this.nzName="file",this._showUploadList=!0,this.nzShowButton=!0,this.nzWithCredentials=!1,this.nzIconRender=null,this.nzFileListRender=null,this.nzChange=new t.vpe,this.nzFileListChange=new t.vpe,this.onStart=rn=>{this.nzFileList||(this.nzFileList=[]);const hn=this.fileToObject(rn);hn.status="uploading",this.nzFileList=this.nzFileList.concat(hn),this.nzFileListChange.emit(this.nzFileList),this.nzChange.emit({file:hn,fileList:this.nzFileList,type:"start"}),this.detectChangesList()},this.onProgress=(rn,hn)=>{const Mn=this.getFileItem(hn,this.nzFileList);Mn.percent=rn.percent,this.nzChange.emit({event:rn,file:{...Mn},fileList:this.nzFileList,type:"progress"}),this.detectChangesList()},this.onSuccess=(rn,hn)=>{const yn=this.nzFileList,Mn=this.getFileItem(hn,yn);Mn.status="done",Mn.response=rn,this.nzChange.emit({file:{...Mn},fileList:yn,type:"success"}),this.detectChangesList()},this.onError=(rn,hn)=>{const yn=this.nzFileList,Mn=this.getFileItem(hn,yn);Mn.error=rn,Mn.status="error",this.nzChange.emit({file:{...Mn},fileList:yn,type:"error"}),this.detectChangesList()},this.onRemove=rn=>{this.uploadComp.abort(rn),rn.status="removed";const hn="function"==typeof this.nzRemove?this.nzRemove(rn):null==this.nzRemove||this.nzRemove;(hn instanceof l.y?hn:(0,i.of)(hn)).pipe((0,_.h)(yn=>yn)).subscribe(()=>{this.nzFileList=this.removeFileItem(rn,this.nzFileList),this.nzChange.emit({file:rn,fileList:this.nzFileList,type:"removed"}),this.nzFileListChange.emit(this.nzFileList),this.cdr.detectChanges()})},this.prefixCls="ant-upload",this.classList=[]}fileToObject(L){return{lastModified:L.lastModified,lastModifiedDate:L.lastModifiedDate,name:L.filename||L.name,size:L.size,type:L.type,uid:L.uid,response:L.response,error:L.error,percent:0,originFileObj:L}}getFileItem(L,he){return he.filter(Ce=>Ce.uid===L.uid)[0]}removeFileItem(L,he){return he.filter(Ce=>Ce.uid!==L.uid)}fileDrop(L){L.type!==this.dragState&&(this.dragState=L.type,this.setClassMap())}detectChangesList(){this.cdr.detectChanges(),this.listComp?.detectChanges()}setClassMap(){let L=[];"drag"===this.nzType?(this.nzFileList.some(he=>"uploading"===he.status)&&L.push(`${this.prefixCls}-drag-uploading`),"dragover"===this.dragState&&L.push(`${this.prefixCls}-drag-hover`)):L=[`${this.prefixCls}-select-${this.nzListType}`],this.classList=[this.prefixCls,`${this.prefixCls}-${this.nzType}`,...L,this.nzDisabled&&`${this.prefixCls}-disabled`||"","rtl"===this.dir&&`${this.prefixCls}-rtl`||""].filter(he=>!!he),this.cdr.detectChanges()}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,v.R)(this.destroy$)).subscribe(L=>{this.dir=L,this.setClassMap(),this.cdr.detectChanges()}),this.i18n.localeChange.pipe((0,v.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Upload"),this.detectChangesList()})}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>(0,u.R)(this.document.body,"drop").pipe((0,v.R)(this.destroy$)).subscribe(L=>{L.preventDefault(),L.stopPropagation()}))}ngOnChanges(){this.zipOptions().setClassMap()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(he){return new(he||O)(t.Y36(t.R0b),t.Y36(f.K0),t.Y36(t.sBO),t.Y36(k.wi),t.Y36(R.Is,8))};static#t=this.\u0275cmp=t.Xpm({type:O,selectors:[["nz-upload"]],viewQuery:function(he,Ce){if(1&he&&(t.Gf(cn,5),t.Gf(ft,5)),2&he){let Dt;t.iGM(Dt=t.CRH())&&(Ce.uploadComp=Dt.first),t.iGM(Dt=t.CRH())&&(Ce.listComp=Dt.first)}},hostVars:2,hostBindings:function(he,Ce){2&he&&t.ekj("ant-upload-picture-card-wrapper","picture-card"===Ce.nzListType)},inputs:{nzType:"nzType",nzLimit:"nzLimit",nzSize:"nzSize",nzFileType:"nzFileType",nzAccept:"nzAccept",nzAction:"nzAction",nzDirectory:"nzDirectory",nzOpenFileDialogOnClick:"nzOpenFileDialogOnClick",nzBeforeUpload:"nzBeforeUpload",nzCustomRequest:"nzCustomRequest",nzData:"nzData",nzFilter:"nzFilter",nzFileList:"nzFileList",nzDisabled:"nzDisabled",nzHeaders:"nzHeaders",nzListType:"nzListType",nzMultiple:"nzMultiple",nzName:"nzName",nzShowUploadList:"nzShowUploadList",nzShowButton:"nzShowButton",nzWithCredentials:"nzWithCredentials",nzRemove:"nzRemove",nzPreview:"nzPreview",nzPreviewFile:"nzPreviewFile",nzPreviewIsImage:"nzPreviewIsImage",nzTransformFile:"nzTransformFile",nzDownload:"nzDownload",nzIconRender:"nzIconRender",nzFileListRender:"nzFileListRender"},outputs:{nzChange:"nzChange",nzFileListChange:"nzFileListChange"},exportAs:["nzUpload"],features:[t.TTD],ngContentSelectors:Y,decls:11,vars:2,consts:[["list",""],["con",""],["btn",""],[4,"ngIf","ngIfElse"],["select",""],["pic",""],[3,"display","locale","listType","items","icons","iconRender","previewFile","previewIsImage","onPreview","onRemove","onDownload","dir",4,"ngIf"],[4,"ngIf"],[3,"locale","listType","items","icons","iconRender","previewFile","previewIsImage","onPreview","onRemove","onDownload","dir"],["listComp",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],["nz-upload-btn","",3,"options"],["uploadComp",""],[3,"ngTemplateOutlet"],[3,"ngClass","drop","dragover","dragleave"],["nz-upload-btn","",1,"ant-upload-btn",3,"options"],[1,"ant-upload-drag-container"]],template:function(he,Ce){if(1&he&&(t.F$t(),t.YNc(0,kt,2,2,"ng-template",null,0,t.W1O),t.YNc(2,St,1,0,"ng-template",null,1,t.W1O),t.YNc(4,Fe,4,5,"ng-template",null,2,t.W1O),t.YNc(6,ge,7,4,"ng-container",3),t.YNc(7,wt,1,2,"ng-template",null,4,t.W1O),t.YNc(9,Qe,2,2,"ng-template",null,5,t.W1O)),2&he){const Dt=t.MAs(8);t.xp6(6),t.Q6J("ngIf","drag"===Ce.nzType)("ngIfElse",Dt)}},dependencies:[R.Lv,f.mk,f.O5,f.tP,Ke,nt],encapsulation:2,changeDetection:0})}return(0,S.gn)([(0,A.Rn)()],O.prototype,"nzLimit",void 0),(0,S.gn)([(0,A.Rn)()],O.prototype,"nzSize",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzDirectory",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzOpenFileDialogOnClick",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzDisabled",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzMultiple",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzShowButton",void 0),(0,S.gn)([(0,A.yF)()],O.prototype,"nzWithCredentials",void 0),O})(),N=(()=>{class O{static#e=this.\u0275fac=function(he){return new(he||O)};static#t=this.\u0275mod=t.oAB({type:O});static#n=this.\u0275inj=t.cJS({imports:[R.vT,f.ez,W.u5,C.ud,T.cg,b.W,k.YI,D.PV,y.sL]})}return O})()},45567:(tt,I,o)=>{"use strict";o.d(I,{fq:()=>lt,KY:()=>Re});var e=o(65879),n=o(96814),t=o(78645),i=o(47394),l=o(92438),h=o(93997),E=o(83620),u=o(99397),z=o(30889),M=o(60095);function p(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"span",3),e.NdJ("mousedown",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleMousedown(mt))}),e._uU(1),e.qZA()}if(2&Pe){const $e=e.oxw();e.Q6J("id",$e.uniqueId)("ngStyle",$e.labelStyle),e.xp6(1),e.hij(" ",$e.label," ")}}function v(Pe,xt){if(1&Pe&&(e.TgZ(0,"div",2),e._UZ(1,"div",3),e.qZA()),2&Pe){const $e=e.oxw();e.Udp("left",$e.left)("top",$e.top),e.xp6(1),e.Q6J("ngStyle",$e.pointer)}}const _=["*"];function d(Pe,xt){1&Pe&&e._UZ(0,"color-checkboard",2)}const m={};let T=(()=>{class Pe{white="transparent";size=8;grey="rgba(0,0,0,.08)";boxShadow;borderRadius;gridStyles;ngOnInit(){const $e=function C(Pe,xt,$e){const ot=`${Pe}-${xt}-${$e}`;if(m[ot])return m[ot];const mt=function f(Pe,xt,$e){if(typeof document>"u")return null;const ot=document.createElement("canvas");ot.width=2*$e,ot.height=2*$e;const mt=ot.getContext("2d");return mt?(mt.fillStyle=Pe,mt.fillRect(0,0,ot.width,ot.height),mt.fillStyle=xt,mt.fillRect(0,0,$e,$e),mt.translate($e,$e),mt.fillRect(0,0,$e,$e),ot.toDataURL()):null}(Pe,xt,$e);return mt?(m[ot]=mt,mt):null}(this.white,this.grey,this.size);this.gridStyles={borderRadius:this.borderRadius,boxShadow:this.boxShadow,background:`url(${$e}) center left`}}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-checkboard"]],inputs:{white:"white",size:"size",grey:"grey",boxShadow:"boxShadow",borderRadius:"borderRadius"},decls:1,vars:1,consts:[[1,"grid",3,"ngStyle"]],template:function(ot,mt){1&ot&&e._UZ(0,"div",0),2&ot&&e.Q6J("ngStyle",mt.gridStyles)},dependencies:[n.PC],styles:[".grid[_ngcontent-%COMP%]{inset:0;position:absolute}"],changeDetection:0})}return Pe})(),b=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez]})}return Pe})(),D=(()=>{class Pe{el;coordinatesChange=new t.x;mousechange=new t.x;mouseListening=!1;sub;mousemove($e,ot,mt,we=!1){this.mouseListening&&($e.preventDefault(),this.mousechange.next({$event:$e,x:ot,y:mt,isTouch:we}))}mouseup(){this.mouseListening=!1}mousedown($e,ot,mt,we=!1){$e.preventDefault(),this.mouseListening=!0,this.mousechange.next({$event:$e,x:ot,y:mt,isTouch:we})}constructor($e){this.el=$e}ngOnInit(){this.sub=this.mousechange.pipe((0,h.x)(($e,ot)=>$e.x===ot.x&&$e.y===ot.y)).subscribe($e=>this.handleChange($e.x,$e.y,$e.$event,$e.isTouch))}ngOnDestroy(){this.sub?.unsubscribe()}handleChange($e,ot,mt,we){const de=this.el.nativeElement.clientWidth,U=this.el.nativeElement.clientHeight,B=$e-(this.el.nativeElement.getBoundingClientRect().left+window.pageXOffset);let Me=ot-this.el.nativeElement.getBoundingClientRect().top;we||(Me-=window.pageYOffset),this.coordinatesChange.next({x:$e,y:ot,top:Me,left:B,containerWidth:de,containerHeight:U,$event:mt})}static \u0275fac=function(ot){return new(ot||Pe)(e.Y36(e.SBq))};static \u0275dir=e.lG2({type:Pe,selectors:[["","ngx-color-coordinates",""]],hostBindings:function(ot,mt){1&ot&&e.NdJ("mousemove",function(de){return mt.mousemove(de,de.pageX,de.pageY)},!1,e.Jf7)("touchmove",function(de){return mt.mousemove(de,de.touches[0].clientX,de.touches[0].clientY,!0)},!1,e.Jf7)("mouseup",function(){return mt.mouseup()},!1,e.Jf7)("touchend",function(){return mt.mouseup()},!1,e.Jf7)("mousedown",function(de){return mt.mousedown(de,de.pageX,de.pageY)})("touchstart",function(de){return mt.mousedown(de,de.touches[0].clientX,de.touches[0].clientY,!0)})},outputs:{coordinatesChange:"coordinatesChange"}})}return Pe})(),y=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({})}return Pe})(),P=(()=>{class Pe{hsl;rgb;pointer;shadow;radius;direction="horizontal";onChange=new e.vpe;gradient;pointerLeft;pointerTop;ngOnChanges(){"vertical"===this.direction?(this.pointerLeft=0,this.pointerTop=100*this.rgb.a,this.gradient={background:`linear-gradient(to bottom, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`}):(this.gradient={background:`linear-gradient(to right, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`},this.pointerLeft=100*this.rgb.a)}handleChange({top:$e,left:ot,containerHeight:mt,containerWidth:we,$event:de}){let U;if("vertical"===this.direction){let B;B=$e<0?0:$e>mt?1:Math.round(100*$e/mt)/100,this.hsl.a!==B&&(U={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:B,source:"rgb"})}else{let B;B=ot<0?0:ot>we?1:Math.round(100*ot/we)/100,this.hsl.a!==B&&(U={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:B,source:"rgb"})}U&&this.onChange.emit({data:U,$event:de})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-alpha"]],inputs:{hsl:"hsl",rgb:"rgb",pointer:"pointer",shadow:"shadow",radius:"radius",direction:"direction"},outputs:{onChange:"onChange"},features:[e.TTD],decls:7,vars:15,consts:[[1,"alpha"],[1,"alpha-checkboard"],[1,"alpha-gradient",3,"ngStyle"],["ngx-color-coordinates","",3,"coordinatesChange"],[1,"alpha-pointer"],[1,"alpha-slider",3,"ngStyle"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"color-checkboard"),e.qZA(),e._UZ(3,"div",2),e.TgZ(4,"div",3),e.NdJ("coordinatesChange",function(de){return mt.handleChange(de)}),e.TgZ(5,"div",4),e._UZ(6,"div",5),e.qZA()()()),2&ot&&(e.Udp("border-radius",mt.radius),e.xp6(3),e.Udp("box-shadow",mt.shadow)("border-radius",mt.radius),e.Q6J("ngStyle",mt.gradient),e.xp6(1),e.Gre("alpha-container color-alpha-",mt.direction,""),e.xp6(1),e.Udp("left",mt.pointerLeft,"%")("top",mt.pointerTop,"%"),e.xp6(1),e.Q6J("ngStyle",mt.pointer))},dependencies:[n.PC,T,D],styles:[".alpha[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-checkboard[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden}.alpha-gradient[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-container[_ngcontent-%COMP%]{position:relative;height:100%;margin:0 3px}.alpha-pointer[_ngcontent-%COMP%]{position:absolute}.alpha-slider[_ngcontent-%COMP%]{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}"],changeDetection:0})}return Pe})(),S=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,b,y]})}return Pe})();function A(Pe){let $e=0,ot=0;return["r","g","b","a","h","s","l","v"].forEach(mt=>{Pe[mt]&&($e+=1,isNaN(Pe[mt])||(ot+=1),("s"===mt||"l"===mt)&&/^\d+%$/.test(Pe[mt])&&(ot+=1))}),$e===ot&&Pe}function k(Pe,xt,$e){const ot=new z.C(Pe.hex?Pe.hex:Pe);$e&&ot.setAlpha(1);const mt=ot.toHsl(),we=ot.toHsv(),de=ot.toRgb(),U=ot.toHex();return 0===mt.s&&(mt.h=xt||0,we.h=xt||0),{hsl:mt,hex:"000000"===U&&0===de.a?"transparent":ot.toHexString(),rgb:de,hsv:we,oldHue:Pe.h||xt||mt.h,source:Pe.source}}function R(Pe){return new z.C(Pe).isValid}var j=function(Pe){return Pe.HEX="hex",Pe.HSL="hsl",Pe.HSV="hsv",Pe.RGB="rgb",Pe}(j||{});let ze=(()=>{class Pe{className;mode=j.HEX;color={h:250,s:.5,l:.2,a:1};colorChange=new e.vpe;onChange=new e.vpe;onChangeComplete=new e.vpe;onSwatchHover=new e.vpe;oldHue;hsl;hsv;rgb;hex;source;currentColor;changes;disableAlpha;_onChangeCompleteSubscription=new i.w0;_onSwatchHoverSubscription=new i.w0;ngOnInit(){this.changes=this.onChange.pipe((0,E.b)(100),(0,u.b)($e=>{switch(this.onChangeComplete.emit($e),this.mode){case j.HEX:this.colorChange.emit($e.color.hex);break;case j.HSL:this.colorChange.emit($e.color.hsl);break;case j.HSV:this.colorChange.emit($e.color.hsv);break;case j.RGB:this.colorChange.emit($e.color.rgb);break;default:const ot=`The mode '${this.mode}' is not supported`;if((0,e.X6Q)())throw new Error(ot);console.warn(ot)}})).subscribe(),this.setState(k(this.color,0)),this.currentColor=this.hex}ngOnChanges(){this.setState(k(this.color,this.oldHue))}ngOnDestroy(){this.changes?.unsubscribe(),this._onChangeCompleteSubscription?.unsubscribe(),this._onSwatchHoverSubscription?.unsubscribe()}setState($e){this.oldHue=$e.oldHue,this.hsl=$e.hsl,this.hsv=$e.hsv,this.rgb=$e.rgb,this.hex=$e.hex,this.source=$e.source,this.afterValidChange()}handleChange($e,ot){if(A($e)){const we=k($e,$e.h||this.oldHue,this.disableAlpha);this.setState(we),this.onChange.emit({color:we,$event:ot}),this.afterValidChange()}}afterValidChange(){}handleSwatchHover($e,ot){if(A($e)){const we=k($e,$e.h||this.oldHue);this.setState(we),this.onSwatchHover.emit({color:we,$event:ot})}}registerOnChange($e){this._onChangeCompleteSubscription.add(this.onChangeComplete.pipe((0,u.b)(ot=>$e(ot.color.hex))).subscribe())}registerOnTouched($e){this._onSwatchHoverSubscription.add(this.onSwatchHover.pipe((0,u.b)(()=>$e())).subscribe())}setDisabledState($e){}writeValue($e){this.color=$e}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-wrap"]],inputs:{className:"className",mode:"mode",color:"color"},outputs:{colorChange:"colorChange",onChange:"onChange",onChangeComplete:"onChangeComplete",onSwatchHover:"onSwatchHover"},features:[e._Bn([{provide:M.JU,useExisting:(0,e.Gpc)(()=>Pe),multi:!0}]),e.TTD],decls:0,vars:0,template:function(ot,mt){},encapsulation:2})}return Pe})(),G=0,V=(()=>{class Pe{style;label;value;arrowOffset;dragLabel;dragMax;placeholder="";onChange=new e.vpe;currentValue;blurValue;wrapStyle;inputStyle;labelStyle;focus=!1;mousemove;mouseup;uniqueId="editableInput-"+ ++G;ngOnInit(){this.wrapStyle=this.style&&this.style.wrap?this.style.wrap:{},this.inputStyle=this.style&&this.style.input?this.style.input:{},this.labelStyle=this.style&&this.style.label?this.style.label:{},this.dragLabel&&(this.labelStyle.cursor="ew-resize")}handleFocus($e){this.focus=!0}handleFocusOut($e){this.focus=!1,this.currentValue=this.blurValue}handleKeydown($e){const ot=String($e.target.value),mt=ot.indexOf("%")>-1,we=Number(ot.replace(/%/g,""));if(isNaN(we))return;const de=this.arrowOffset||1;38===$e.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:we+de},$event:$e}:{data:we+de,$event:$e}),this.currentValue=mt?`${we+de}%`:we+de),40===$e.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:we-de},$event:$e}:{data:we-de,$event:$e}),this.currentValue=mt?we-de+"%":we-de)}handleKeyup($e){40===$e.keyCode||38===$e.keyCode||`${this.currentValue}`!==$e.target.value&&this.onChange.emit(this.label?{data:{[this.label]:$e.target.value},$event:$e}:{data:$e.target.value,$event:$e})}ngOnChanges(){this.focus||(this.currentValue=String(this.value).toUpperCase()),this.blurValue=String(this.value).toUpperCase()}ngOnDestroy(){this.unsubscribe()}subscribe(){this.mousemove=(0,l.R)(document,"mousemove").subscribe($e=>this.handleDrag($e)),this.mouseup=(0,l.R)(document,"mouseup").subscribe(()=>this.unsubscribe())}unsubscribe(){this.mousemove?.unsubscribe(),this.mouseup?.unsubscribe()}handleMousedown($e){this.dragLabel&&($e.preventDefault(),this.handleDrag($e),this.subscribe())}handleDrag($e){if(this.dragLabel){const ot=Math.round(this.value+$e.movementX);ot>=0&&ot<=this.dragMax&&this.onChange.emit({data:{[this.label]:ot},$event:$e})}}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-editable-input"]],inputs:{style:"style",label:"label",value:"value",arrowOffset:"arrowOffset",dragLabel:"dragLabel",dragMax:"dragMax",placeholder:"placeholder"},outputs:{onChange:"onChange"},features:[e.TTD],decls:3,vars:6,consts:[[1,"wrap",3,"ngStyle"],["spellCheck","false",3,"ngStyle","value","placeholder","keydown","keyup","focus","focusout"],[3,"id","ngStyle","mousedown",4,"ngIf"],[3,"id","ngStyle","mousedown"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0)(1,"input",1),e.NdJ("keydown",function(de){return mt.handleKeydown(de)})("keyup",function(de){return mt.handleKeyup(de)})("focus",function(de){return mt.handleFocus(de)})("focusout",function(de){return mt.handleFocusOut(de)}),e.qZA(),e.YNc(2,p,2,3,"span",2),e.qZA()),2&ot&&(e.Q6J("ngStyle",mt.wrapStyle),e.xp6(1),e.Q6J("ngStyle",mt.inputStyle)("value",mt.currentValue)("placeholder",mt.placeholder),e.uIk("aria-labelledby",mt.uniqueId),e.xp6(1),e.Q6J("ngIf",mt.label))},dependencies:[n.O5,n.PC],styles:["[_nghost-%COMP%]{display:flex}.wrap[_ngcontent-%COMP%]{position:relative}"],changeDetection:0})}return Pe})(),K=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez]})}return Pe})(),ee=(()=>{class Pe{hsl;pointer;radius;shadow;hidePointer=!1;direction="horizontal";onChange=new e.vpe;left="0px";top="";ngOnChanges(){"horizontal"===this.direction?this.left=100*this.hsl.h/360+"%":this.top=-100*this.hsl.h/360+100+"%"}handleChange({top:$e,left:ot,containerHeight:mt,containerWidth:we,$event:de}){let U;if("vertical"===this.direction){let B;B=$e<0?359:$e>mt?0:360*(-100*$e/mt+100)/100,this.hsl.h!==B&&(U={h:B,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}else{let B;B=ot<0?0:ot>we?359:100*ot/we*360/100,this.hsl.h!==B&&(U={h:B,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}U&&this.onChange.emit({data:U,$event:de})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-hue"]],inputs:{hsl:"hsl",pointer:"pointer",radius:"radius",shadow:"shadow",hidePointer:"hidePointer",direction:"direction"},outputs:{onChange:"onChange"},features:[e.TTD],decls:3,vars:8,consts:[["ngx-color-coordinates","",1,"color-hue-container",3,"coordinatesChange"],["class","color-hue-pointer",3,"left","top",4,"ngIf"],[1,"color-hue-pointer"],[1,"color-hue-slider",3,"ngStyle"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div")(1,"div",0),e.NdJ("coordinatesChange",function(de){return mt.handleChange(de)}),e.YNc(2,v,2,5,"div",1),e.qZA()()),2&ot&&(e.Gre("color-hue color-hue-",mt.direction,""),e.Udp("border-radius",mt.radius,"px")("box-shadow",mt.shadow),e.xp6(2),e.Q6J("ngIf",!mt.hidePointer))},dependencies:[n.O5,n.PC,D],styles:[".color-hue[_ngcontent-%COMP%]{position:absolute;inset:0}.color-hue-container[_ngcontent-%COMP%]{margin:0 2px;position:relative;height:100%}.color-hue-pointer[_ngcontent-%COMP%]{position:absolute}.color-hue-slider[_ngcontent-%COMP%]{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal[_ngcontent-%COMP%]{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.color-hue-vertical[_ngcontent-%COMP%]{background:linear-gradient(to top,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}"],changeDetection:0})}return Pe})(),te=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,y]})}return Pe})(),De=(()=>{class Pe{hsl;hsv;radius;pointer;circle;onChange=new e.vpe;background;pointerTop;pointerLeft;ngOnChanges(){this.background=`hsl(${this.hsl.h}, 100%, 50%)`,this.pointerTop=-100*this.hsv.v+1+100+"%",this.pointerLeft=100*this.hsv.s+"%"}handleChange({top:$e,left:ot,containerHeight:mt,containerWidth:we,$event:de}){ot<0?ot=0:ot>we?ot=we:$e<0?$e=0:$e>mt&&($e=mt);let B=-$e/mt+1;B=B>0?B:0,B=B>1?1:B,this.onChange.emit({data:{h:this.hsl.h,s:ot/we,v:B,a:this.hsl.a,source:"hsva"},$event:de})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-saturation"]],inputs:{hsl:"hsl",hsv:"hsv",radius:"radius",pointer:"pointer",circle:"circle"},outputs:{onChange:"onChange"},features:[e.TTD],decls:5,vars:8,consts:[["ngx-color-coordinates","",1,"color-saturation",3,"coordinatesChange"],[1,"saturation-white"],[1,"saturation-black"],[1,"saturation-pointer",3,"ngStyle"],[1,"saturation-circle",3,"ngStyle"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0),e.NdJ("coordinatesChange",function(de){return mt.handleChange(de)}),e.TgZ(1,"div",1),e._UZ(2,"div",2),e.TgZ(3,"div",3),e._UZ(4,"div",4),e.qZA()()()),2&ot&&(e.Udp("background",mt.background),e.xp6(3),e.Udp("top",mt.pointerTop)("left",mt.pointerLeft),e.Q6J("ngStyle",mt.pointer),e.xp6(1),e.Q6J("ngStyle",mt.circle))},dependencies:[n.PC,D],styles:[".saturation-white[_ngcontent-%COMP%]{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;inset:0}.saturation-black[_ngcontent-%COMP%]{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;inset:0}.color-saturation[_ngcontent-%COMP%]{position:absolute;inset:0}.saturation-pointer[_ngcontent-%COMP%]{position:absolute;cursor:default}.saturation-circle[_ngcontent-%COMP%]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}"],changeDetection:0})}return Pe})(),ae=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,y]})}return Pe})(),ce=(()=>{class Pe{color;style={};focusStyle={};focus;onClick=new e.vpe;onHover=new e.vpe;divStyles={};focusStyles={};inFocus=!1;ngOnInit(){this.divStyles={background:this.color,...this.style}}currentStyles(){return this.focusStyles={...this.divStyles,...this.focusStyle},this.focus||this.inFocus?this.focusStyles:this.divStyles}handleFocusOut(){this.inFocus=!1}handleFocus(){this.inFocus=!0}handleHover($e,ot){this.onHover.emit({hex:$e,$event:ot})}handleClick($e,ot){this.onClick.emit({hex:$e,$event:ot})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-swatch"]],inputs:{color:"color",style:"style",focusStyle:"focusStyle",focus:"focus"},outputs:{onClick:"onClick",onHover:"onHover"},ngContentSelectors:_,decls:3,vars:3,consts:[["tabindex","0",1,"swatch",3,"ngStyle","click","keydown.enter","focus","blur","mouseover"],["boxShadow","inset 0 0 0 1px rgba(0,0,0,0.1)",4,"ngIf"],["boxShadow","inset 0 0 0 1px rgba(0,0,0,0.1)"]],template:function(ot,mt){1&ot&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(de){return mt.handleClick(mt.color,de)})("keydown.enter",function(de){return mt.handleClick(mt.color,de)})("focus",function(){return mt.handleFocus()})("blur",function(){return mt.handleFocusOut()})("mouseover",function(de){return mt.handleHover(mt.color,de)}),e.Hsn(1),e.YNc(2,d,1,0,"color-checkboard",1),e.qZA()),2&ot&&(e.Q6J("ngStyle",mt.currentStyles()),e.uIk("title",mt.color),e.xp6(2),e.Q6J("ngIf","transparent"===mt.color))},dependencies:[n.O5,n.PC,T],styles:[".swatch[_ngcontent-%COMP%]{outline:none;height:100%;width:100%;cursor:pointer;position:relative}"],changeDetection:0})}return Pe})(),X=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,b]})}return Pe})();const Se=function(Pe,xt){return{input:Pe,label:xt}};function Ne(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"div",8)(1,"color-editable-input",9),e.NdJ("onChange",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleChange(mt))}),e.qZA()()}if(2&Pe){const $e=e.oxw();e.xp6(1),e.Akn(e.WLB(5,Se,$e.input,$e.label)),e.Q6J("value",$e.round(100*$e.rgb.a))("dragLabel",!0)("dragMax",100)}}function ke(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"div",2)(1,"color-swatch",3),e.NdJ("onClick",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleClick(mt))})("onHover",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.onSwatchHover.emit(mt))}),e.qZA()()}if(2&Pe){const $e=xt.$implicit,ot=e.oxw();e.xp6(1),e.Akn(ot.swatchStyle),e.Q6J("color",ot.normalizeValue($e).color)("focusStyle",ot.focusStyle($e))}}function oe(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"div",12)(1,"color-alpha",13),e.NdJ("onChange",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleValueChange(mt))}),e.qZA()()}if(2&Pe){const $e=e.oxw();e.xp6(1),e.Q6J("radius",2)("rgb",$e.rgb)("hsl",$e.hsl)}}function _e(Pe,xt){if(1&Pe){const $e=e.EpF();e.TgZ(0,"div",14)(1,"color-sketch-preset-colors",15),e.NdJ("onClick",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.handleBlockChange(mt))})("onSwatchHover",function(mt){e.CHM($e);const we=e.oxw();return e.KtG(we.onSwatchHover.emit(mt))}),e.qZA()()}if(2&Pe){const $e=e.oxw();e.xp6(1),e.Q6J("colors",$e.presetColors)}}let Q=(()=>{class Pe{hsl;rgb;hex;disableAlpha=!1;onChange=new e.vpe;input={width:"100%",padding:"4px 10% 3px",border:"none",boxSizing:"border-box",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"};label={display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"};round($e){return Math.round($e)}handleChange({data:$e,$event:ot}){if($e.hex){if(R($e.hex)){const mt=new z.C($e.hex);this.onChange.emit({data:{hex:this.disableAlpha||$e.hex.length<=6?mt.toHex():mt.toHex8(),source:"hex"},$event:ot})}}else $e.r||$e.g||$e.b?this.onChange.emit({data:{r:$e.r||this.rgb.r,g:$e.g||this.rgb.g,b:$e.b||this.rgb.b,source:"rgb"},$event:ot}):$e.a?($e.a<0?$e.a=0:$e.a>100&&($e.a=100),$e.a/=100,this.disableAlpha&&($e.a=1),this.onChange.emit({data:{h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Math.round(100*$e.a)/100,source:"rgb"},$event:ot})):($e.h||$e.s||$e.l)&&this.onChange.emit({data:{h:$e.h||this.hsl.h,s:Number($e.s&&$e.s||this.hsl.s),l:Number($e.l&&$e.l||this.hsl.l),source:"hsl"},$event:ot})}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-sketch-fields"]],inputs:{hsl:"hsl",rgb:"rgb",hex:"hex",disableAlpha:"disableAlpha"},outputs:{onChange:"onChange"},decls:10,vars:31,consts:[[1,"sketch-fields"],[1,"sketch-double"],["label","hex",3,"value","onChange"],[1,"sketch-single"],["label","r",3,"value","dragLabel","dragMax","onChange"],["label","g",3,"value","dragLabel","dragMax","onChange"],["label","b",3,"value","dragLabel","dragMax","onChange"],["class","sketch-alpha",4,"ngIf"],[1,"sketch-alpha"],["label","a",3,"value","dragLabel","dragMax","onChange"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0)(1,"div",1)(2,"color-editable-input",2),e.NdJ("onChange",function(de){return mt.handleChange(de)}),e.qZA()(),e.TgZ(3,"div",3)(4,"color-editable-input",4),e.NdJ("onChange",function(de){return mt.handleChange(de)}),e.qZA()(),e.TgZ(5,"div",3)(6,"color-editable-input",5),e.NdJ("onChange",function(de){return mt.handleChange(de)}),e.qZA()(),e.TgZ(7,"div",3)(8,"color-editable-input",6),e.NdJ("onChange",function(de){return mt.handleChange(de)}),e.qZA()(),e.YNc(9,Ne,2,8,"div",7),e.qZA()),2&ot&&(e.xp6(2),e.Akn(e.WLB(19,Se,mt.input,mt.label)),e.Q6J("value",mt.hex.replace("#","")),e.xp6(2),e.Akn(e.WLB(22,Se,mt.input,mt.label)),e.Q6J("value",mt.rgb.r)("dragLabel",!0)("dragMax",255),e.xp6(2),e.Akn(e.WLB(25,Se,mt.input,mt.label)),e.Q6J("value",mt.rgb.g)("dragLabel",!0)("dragMax",255),e.xp6(2),e.Akn(e.WLB(28,Se,mt.input,mt.label)),e.Q6J("value",mt.rgb.b)("dragLabel",!0)("dragMax",255),e.xp6(1),e.Q6J("ngIf",!1===mt.disableAlpha))},dependencies:[n.O5,V],styles:[".sketch-fields[_ngcontent-%COMP%]{display:flex;padding-top:4px}.sketch-double[_ngcontent-%COMP%]{flex:2 1 0%}.sketch-single[_ngcontent-%COMP%], .sketch-alpha[_ngcontent-%COMP%]{flex:1 1 0%;padding-left:6px}[dir=rtl][_nghost-%COMP%] .sketch-single[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-single[_ngcontent-%COMP%]{padding-right:6px;padding-left:0}[dir=rtl][_nghost-%COMP%] .sketch-alpha[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-alpha[_ngcontent-%COMP%]{padding-right:6px;padding-left:0}"],changeDetection:0})}return Pe})(),He=(()=>{class Pe{colors;onClick=new e.vpe;onSwatchHover=new e.vpe;swatchStyle={borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"};handleClick({hex:$e,$event:ot}){this.onClick.emit({hex:$e,$event:ot})}normalizeValue($e){return"string"==typeof $e?{color:$e}:$e}focusStyle($e){return{boxShadow:`inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px ${this.normalizeValue($e).color}`}}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-sketch-preset-colors"]],inputs:{colors:"colors"},outputs:{onClick:"onClick",onSwatchHover:"onSwatchHover"},decls:2,vars:1,consts:[[1,"sketch-swatches"],["class","sketch-wrap",4,"ngFor","ngForOf"],[1,"sketch-wrap"],[1,"swatch",3,"color","focusStyle","onClick","onHover"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div",0),e.YNc(1,ke,2,4,"div",1),e.qZA()),2&ot&&(e.xp6(1),e.Q6J("ngForOf",mt.colors))},dependencies:[n.sg,ce],styles:[".sketch-swatches[_ngcontent-%COMP%]{position:relative;display:flex;flex-wrap:wrap;margin:0 -10px;padding:10px 0 0 10px;border-top:1px solid rgb(238,238,238)}.sketch-wrap[_ngcontent-%COMP%]{width:16px;height:16px;margin:0 10px 10px 0}[dir=rtl][_nghost-%COMP%] .sketch-swatches[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-swatches[_ngcontent-%COMP%]{padding-right:10px;padding-left:0}[dir=rtl][_nghost-%COMP%] .sketch-wrap[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-wrap[_ngcontent-%COMP%]{margin-left:10px;margin-right:0}"],changeDetection:0})}return Pe})(),Re=(()=>{class Pe extends ze{disableAlpha=!1;presetColors=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"];width=200;activeBackground;constructor(){super()}afterValidChange(){this.activeBackground=`rgba(${this.rgb.r}, ${this.rgb.g}, ${this.rgb.b}, ${this.disableAlpha?1:this.rgb.a})`}handleValueChange({data:$e,$event:ot}){this.handleChange($e,ot)}handleBlockChange({hex:$e,$event:ot}){R($e)&&this.handleChange({hex:$e,source:"hex"},ot)}static \u0275fac=function(ot){return new(ot||Pe)};static \u0275cmp=e.Xpm({type:Pe,selectors:[["color-sketch"]],inputs:{disableAlpha:"disableAlpha",presetColors:"presetColors",width:"width"},features:[e._Bn([{provide:M.JU,useExisting:(0,e.Gpc)(()=>Pe),multi:!0},{provide:ze,useExisting:(0,e.Gpc)(()=>Pe)}]),e.qOj],decls:14,vars:16,consts:[[1,"sketch-saturation"],[3,"hsl","hsv","onChange"],[1,"sketch-controls"],[1,"sketch-sliders"],[1,"sketch-hue"],[3,"hsl","onChange"],["class","sketch-alpha",4,"ngIf"],[1,"sketch-color"],[1,"sketch-active"],[1,"sketch-fields-container"],[3,"rgb","hsl","hex","disableAlpha","onChange"],["class","sketch-swatches-container",4,"ngIf"],[1,"sketch-alpha"],[3,"radius","rgb","hsl","onChange"],[1,"sketch-swatches-container"],[3,"colors","onClick","onSwatchHover"]],template:function(ot,mt){1&ot&&(e.TgZ(0,"div")(1,"div",0)(2,"color-saturation",1),e.NdJ("onChange",function(de){return mt.handleValueChange(de)}),e.qZA()(),e.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"color-hue",5),e.NdJ("onChange",function(de){return mt.handleValueChange(de)}),e.qZA()(),e.YNc(7,oe,2,3,"div",6),e.qZA(),e.TgZ(8,"div",7),e._UZ(9,"color-checkboard")(10,"div",8),e.qZA()(),e.TgZ(11,"div",9)(12,"color-sketch-fields",10),e.NdJ("onChange",function(de){return mt.handleValueChange(de)}),e.qZA()(),e.YNc(13,_e,2,1,"div",11),e.qZA()),2&ot&&(e.Gre("sketch-picker ",mt.className,""),e.Udp("width",mt.width,"px"),e.xp6(2),e.Q6J("hsl",mt.hsl)("hsv",mt.hsv),e.xp6(4),e.Q6J("hsl",mt.hsl),e.xp6(1),e.Q6J("ngIf",!1===mt.disableAlpha),e.xp6(3),e.Udp("background",mt.activeBackground),e.xp6(2),e.Q6J("rgb",mt.rgb)("hsl",mt.hsl)("hex",mt.hex)("disableAlpha",mt.disableAlpha),e.xp6(1),e.Q6J("ngIf",mt.presetColors&&mt.presetColors.length))},dependencies:function(){return[n.O5,P,T,ee,De,Q,He]},styles:[".sketch-picker[_ngcontent-%COMP%]{padding:10px 10px 3px;box-sizing:initial;background:#fff;border-radius:4px;box-shadow:0 0 0 1px #00000026,0 8px 16px #00000026}.sketch-saturation[_ngcontent-%COMP%]{width:100%;padding-bottom:75%;position:relative;overflow:hidden}.sketch-fields-container[_ngcontent-%COMP%], .sketch-swatches-container[_ngcontent-%COMP%]{display:block}.sketch-controls[_ngcontent-%COMP%]{display:flex}.sketch-sliders[_ngcontent-%COMP%]{padding:4px 0;flex:1 1 0%}.sketch-hue[_ngcontent-%COMP%]{position:relative;height:10px;overflow:hidden}.sketch-alpha[_ngcontent-%COMP%]{position:relative;height:10px;margin-top:4px;overflow:hidden}.sketch-color[_ngcontent-%COMP%]{width:24px;height:24px;position:relative;margin-top:4px;margin-left:4px;border-radius:3px}.sketch-active[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:2px;box-shadow:#00000026 0 0 0 1px inset,#00000040 0 0 4px inset}[dir=rtl][_nghost-%COMP%] .sketch-color[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .sketch-color[_ngcontent-%COMP%]{margin-right:4px;margin-left:0}"],changeDetection:0})}return Pe})(),lt=(()=>{class Pe{static \u0275fac=function(ot){return new(ot||Pe)};static \u0275mod=e.oAB({type:Pe});static \u0275inj=e.cJS({imports:[n.ez,S,b,K,te,ae,X]})}return Pe})()},44556:(tt,I,o)=>{"use strict";o.d(I,{MR:()=>z,cD:()=>M});var e=o(65879),n=o(96814);function t(p,v){if(1&p&&(e.ynx(0),e._UZ(1,"span",2),e.BQk()),2&p){const _=e.oxw();e.xp6(1),e.Q6J("innerHTML",_.i.text,e.oJD)}}function i(p,v){1&p&&e.GkF(0)}const l=function(p){return{$implicit:p}};var h=function(p){return p[p.ing=0]="ing",p[p.pause=1]="pause",p[p.stop=2]="stop",p[p.done=3]="done",p}(h||{});let E=(()=>{class p{constructor(_){this.ngZone=_,this.fns=[],this.commands=[],this.nextTime=0,this.ing=!1}start(){!0!==this.ing&&(this.ing=!0,this.nextTime=+new Date,this.ngZone.runOutsideAngular(()=>{this.process()}))}process(){for(;this.commands.length;)this.commands.shift()();let _=+new Date-this.nextTime;const d=1+Math.floor(_/100);_=100-_%100,this.nextTime+=100*d;for(let m=0,f=this.fns.length;m0&&this.fns[m](T),this.fns[m+1]=C%20+1}}this.ing&&setTimeout(()=>this.process(),_)}add(_,d){return this.commands.push(()=>{this.fns.push(_),this.fns.push(1e3===d?1:0),this.ing=!0}),this}remove(_){return this.commands.push(()=>{const d=this.fns.indexOf(_);-1!==d&&this.fns.splice(d,2),this.ing=this.fns.length>0}),this}static#e=this.\u0275fac=function(d){return new(d||p)(e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac})}return p})(),u=(()=>{class p{constructor(_){this.locale=_,this.demand=!1,this.leftTime=0,this.format="HH:mm:ss",this.timezone="+0000",this.formatDate=({date:d,formatStr:m,timezone:f})=>(0,n.p6)(new Date(d),m,this.locale,f||this.timezone||"+0000")}static#e=this.\u0275fac=function(d){return new(d||p)(e.LFG(e.soG))};static#t=this.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),z=(()=>{class p{set config(_){null!=_.notify&&!Array.isArray(_.notify)&&_.notify>0&&(_.notify=[_.notify]),this._config=_}get config(){return this._config}constructor(_,d,m,f,C){this.locale=_,this.timer=d,this.defCog=m,this.cdr=f,this.ngZone=C,this.frequency=1e3,this._notify={},this.status=h.ing,this.isDestroy=!1,this.i={},this.left=0,this.event=new e.vpe}begin(){this.status=h.ing,this.callEvent("start")}restart(){this.status!==h.stop&&this.destroy(),this.init(),this.callEvent("restart")}stop(){this.status!==h.stop&&(this.status=h.stop,this.destroy(),this.callEvent("stop"))}pause(){this.status===h.stop||this.status===h.pause||(this.status=h.pause,this.callEvent("pause"))}resume(){this.status===h.stop||this.status!==h.pause||(this.status=h.ing,this.callEvent("resume"))}callEvent(_){this.event.emit({action:_,left:this.left,status:this.status,text:this.i.text})}init(){const{locale:_,defCog:d}=this,m=this.config={...new u(_),...d,...this.config},f=this.frequency=~m.format.indexOf("S")?100:1e3;this.status=m.demand?h.pause:h.ing,this.getLeft();const C=this.reflow;this.reflow=(T=0,b=!1)=>C.apply(this,[T,b]),Array.isArray(m.notify)&&m.notify.forEach(T=>{if(T<1)throw new Error("The notify config must be a positive integer.");T*=1e3,this._notify[T-=T%f]=!0}),this.timer.add(this.reflow,f).start(),this.reflow(0,!0)}destroy(){return this.timer.remove(this.reflow),this}reflow(_=0,d=!1){if(this.isDestroy)return;const{status:m,config:f,_notify:C}=this;if(!d&&m!==h.ing)return;let T=this.left=this.left-this.frequency*_;T<1&&(T=0),this.i={value:T,text:f.formatDate({date:T,formatStr:f.format,timezone:f.timezone})},"function"==typeof f.prettyText&&(this.i.text=f.prettyText(this.i.text)),this.cdr.detectChanges(),(0===f.notify||C[T])&&this.ngZone.run(()=>{this.callEvent("notify")}),0===T&&this.ngZone.run(()=>{this.status=h.done,this.destroy(),this.callEvent("done")})}getLeft(){const{config:_,frequency:d}=this;let m=1e3*_.leftTime;const f=_.stopTime;!m&&f&&(m=f-(new Date).getTime()),this.left=m-m%d}ngOnInit(){this.init(),this.config.demand||this.begin()}ngOnDestroy(){this.isDestroy=!0,this.destroy()}ngOnChanges(_){_.config.firstChange||this.restart()}static#e=this.\u0275fac=function(d){return new(d||p)(e.Y36(e.soG),e.Y36(E),e.Y36(u),e.Y36(e.sBO),e.Y36(e.R0b))};static#t=this.\u0275cmp=e.Xpm({type:p,selectors:[["countdown"]],hostVars:2,hostBindings:function(d,m){2&d&&e.ekj("count-down",!0)},inputs:{config:"config",render:"render"},outputs:{event:"event"},standalone:!0,features:[e._Bn([E]),e.TTD,e.jDz],decls:2,vars:5,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(d,m){1&d&&(e.YNc(0,t,2,1,"ng-container",0),e.YNc(1,i,1,0,"ng-container",1)),2&d&&(e.Q6J("ngIf",!m.render),e.xp6(1),e.Q6J("ngTemplateOutlet",m.render)("ngTemplateOutletContext",e.VKq(3,l,m.i)))},dependencies:[n.ez,n.O5,n.tP],encapsulation:2,changeDetection:0})}return p})(),M=(()=>{class p{static#e=this.\u0275fac=function(d){return new(d||p)};static#t=this.\u0275mod=e.oAB({type:p});static#n=this.\u0275inj=e.cJS({imports:[z]})}return p})()},6595:(tt,I,o)=>{"use strict";o.d(I,{TN:()=>A,Ot:()=>S});var e=o(97582),n=o(65879),t=o(60095);function i(k,R,W){return function j(ze,Y,G){const V=`$$__${Y}`;return Object.prototype.hasOwnProperty.call(ze,V)&&console.warn(`The prop "${V}" is already exist, it will be overrided by ${k} decorator.`),Object.defineProperty(ze,V,{configurable:!0,writable:!0}),{get(){return G&&G.get?G.get.bind(this)():this[V]},set(K){G&&G.set&&G.set.bind(this)(R(K,W)),this[V]=R(K,W)}}}}function l(k,R=!1){return R&&typeof k>"u"?void 0:null!=k&&"false"!=`${k}`}function h(k=!1){return i("InputNumber",l,k)}function E(k,R=0){return isNaN(parseFloat(k))||isNaN(Number(k))?R:Number(k)}function u(k=0){return i("InputNumber",E,k)}var z=o(96814),M=o(49671),p=o(65619),v=o(88407),_=o(63020),d=o(32181);let m=(()=>{class k{constructor(W){this.doc=W,this.list={},this.cached={},this._notify=new p.X([])}fixPaths(W){return W=W||[],Array.isArray(W)||(W=[W]),W.map(j=>{const ze="string"==typeof j?{path:j}:j;return ze.type||(ze.type=ze.path.endsWith(".js")||ze.callback?"script":"style"),ze})}monitor(W){const j=this.fixPaths(W),ze=[(0,_.B)(),(0,d.h)(Y=>0!==Y.length)];return j.length>0&&ze.push((0,d.h)(Y=>Y.length===j.length&&Y.every(G=>"ok"===G.status&&j.find(V=>V.path===G.path)))),this._notify.asObservable().pipe(v.z.apply(this,ze))}clear(){this.list={},this.cached={}}load(W){var j=this;return(0,M.Z)(function*(){return W=j.fixPaths(W),Promise.all(W.map(ze=>"script"===ze.type?j.loadScript(ze.path,{callback:ze.callback}):j.loadStyle(ze.path))).then(ze=>(j._notify.next(ze),Promise.resolve(ze)))})()}loadScript(W,j){const{innerContent:ze}={...j};return new Promise(Y=>{if(!0===this.list[W])return void Y({...this.cached[W],status:"loading"});this.list[W]=!0;const G=ee=>{"ok"===ee.status&&j?.callback?window[j?.callback]=()=>{V(ee)}:V(ee)},V=ee=>{ee.type="script",this.cached[W]=ee,Y(ee),this._notify.next([ee])},K=this.doc.createElement("script");K.type="text/javascript",K.src=W,K.charset="utf-8",ze&&(K.innerHTML=ze),K.readyState?K.onreadystatechange=()=>{("loaded"===K.readyState||"complete"===K.readyState)&&(K.onreadystatechange=null,G({path:W,status:"ok"}))}:K.onload=()=>G({path:W,status:"ok"}),K.onerror=ee=>G({path:W,status:"error",error:ee}),this.doc.getElementsByTagName("head")[0].appendChild(K)})}loadStyle(W,j){const{rel:ze,innerContent:Y}={rel:"stylesheet",...j};return new Promise(G=>{if(!0===this.list[W])return void G(this.cached[W]);this.list[W]=!0;const V=this.doc.createElement("link");V.rel=ze,V.type="text/css",V.href=W,Y&&(V.innerHTML=Y),this.doc.getElementsByTagName("head")[0].appendChild(V);const K={path:W,status:"ok",type:"style"};this.cached[W]=K,G(K)})}}return k.\u0275fac=function(W){return new(W||k)(n.LFG(z.K0))},k.\u0275prov=n.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();function f(k,R){if(1&k&&n._UZ(0,"textarea",3),2&k){const W=n.oxw();n.uIk("id",W.id)("placeholder",W.placeholder)}}function C(k,R){if(1&k&&(n.TgZ(0,"div"),n.Hsn(1),n.qZA()),2&k){const W=n.oxw();n.uIk("id",W.id)}}function T(k,R){if(1&k&&(n.ynx(0),n._uU(1),n.BQk()),2&k){const W=n.oxw(2);n.xp6(1),n.Oqu(W._loading)}}function b(k,R){if(1&k&&(n.TgZ(0,"div",4),n.YNc(1,T,2,1,"ng-container",5),n.qZA()),2&k){const W=n.oxw();n.xp6(1),n.Q6J("ngIf",W._loading)("ngIfElse",W._loadingTpl)}}const D=["*"];class y{constructor(){this.baseURL="./assets/tinymce/",this.fileName="tinymce.min.js"}}const P=!("object"==typeof document&&document);let S=(()=>{class k{set disabled(W){this._disabled=W,this.setDisabled()}set loading(W){W instanceof n.Rgc?(this._loading=null,this._loadingTpl=W):this._loading=W}get instance(){return this._instance}_getWin(){return this.doc.defaultView||window}constructor(W,j,ze,Y,G){this.defConfig=W,this.lazySrv=j,this.ngZone=ze,this.doc=Y,this.cd=G,this.value="",this.load=!0,this.id=`_tinymce-${Math.random().toString(36).substring(2)}`,this.placeholder="",this.inline=!1,this._disabled=!1,this._loading=null,this._loadingTpl=null,this.delay=0,this.ready=new n.vpe}initDelay(){P||setTimeout(()=>this.init(),Math.max(0,this.delay))}init(){const W=this._getWin();if(!W.tinymce)throw new Error("tinymce js\u6587\u4ef6\u52a0\u8f7d\u5931\u8d25");const{defConfig:j,config:ze,id:Y,inline:G}=this;if(this._instance)return;if(j.baseURL){let ee=""+j.baseURL;ee.endsWith("/")&&(ee=ee.substring(0,ee.length-1)),W.tinymce.baseURL=ee}const V={...j.config,...ze},K={selector:"#"+Y,inline:G,...j.config,...ze,setup:ee=>{this._instance=ee,this.onChange&&ee.on("change keyup",()=>{this.value=ee.getContent(),this.ngZone.run(()=>this.onChange(this.value))}),"function"==typeof V.setup&&V.setup(ee)},init_instance_callback:ee=>{ee&&this.value&&ee.setContent(this.value),this.setDisabled(),"function"==typeof V.init_instance_callback&&V.init_instance_callback(ee),this.ready.emit(this._instance)}};V.auto_focus&&(K.auto_focus=Y),this.ngZone.runOutsideAngular(()=>W.tinymce.init(K)),this.load=!1,this.cd.detectChanges()}destroy(){this._instance&&(this.ngZone.runOutsideAngular(()=>{this._instance.off(),this._instance.remove("#"+this.id)}),this._instance=null)}setDisabled(){this._instance&&this.ngZone.runOutsideAngular(()=>{const W=this._disabled?"readonly":"design";"function"==typeof this._instance.setMode?this._instance.setMode(W):this._instance.mode.set(W)})}ngAfterViewInit(){if(P)return;if(this._getWin().tinymce)return void this.initDelay();const{defConfig:W}=this,Y=(W&&W.baseURL||"./assets/tinymce/")+(W&&W.fileName||"tinymce.min.js");this.lazySrv.monitor(Y).subscribe(()=>this.initDelay()),this.lazySrv.load(Y)}ngOnChanges(W){this._instance&&W.config&&(this.destroy(),this.initDelay())}ngOnDestroy(){this.destroy()}writeValue(W){this.value=W||"",this._instance&&this.ngZone.runOutsideAngular(()=>this._instance.setContent(this.value))}registerOnChange(W){this.onChange=W}registerOnTouched(W){this.onTouched=W}setDisabledState(W){this.disabled=W,this.setDisabled()}static#e=this.\u0275fac=function(j){return new(j||k)(n.Y36(y),n.Y36(m),n.Y36(n.R0b),n.Y36(z.K0),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:k,selectors:[["tinymce"]],inputs:{config:"config",placeholder:"placeholder",inline:"inline",disabled:"disabled",loading:"loading",delay:"delay"},outputs:{ready:"ready"},exportAs:["tinymce"],features:[n._Bn([{provide:t.JU,useExisting:(0,n.Gpc)(()=>k),multi:!0}]),n.TTD],ngContentSelectors:D,decls:3,vars:3,consts:[["class","tinymce-selector",4,"ngIf"],[4,"ngIf"],["class","loading",4,"ngIf"],[1,"tinymce-selector"],[1,"loading"],[4,"ngIf","ngIfElse"]],template:function(j,ze){1&j&&(n.F$t(),n.YNc(0,f,1,2,"textarea",0),n.YNc(1,C,2,1,"div",1),n.YNc(2,b,2,2,"div",2)),2&j&&(n.Q6J("ngIf",!ze.inline),n.xp6(1),n.Q6J("ngIf",ze.inline),n.xp6(1),n.Q6J("ngIf",ze.load))},dependencies:[z.O5],styles:["tinymce .tinymce-selector{display:none}\n"],encapsulation:2,changeDetection:0})}return(0,e.gn)([h()],k.prototype,"inline",void 0),(0,e.gn)([h()],k.prototype,"disabled",null),(0,e.gn)([u()],k.prototype,"delay",void 0),k})(),A=(()=>{class k{static forRoot(W){return{ngModule:k,providers:[{provide:y,useValue:W}]}}static#e=this.\u0275fac=function(j){return new(j||k)};static#t=this.\u0275mod=n.oAB({type:k});static#n=this.\u0275inj=n.cJS({imports:[z.ez]})}return k})()},71002:(tt,I,o)=>{"use strict";function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}o.d(I,{Z:()=>e})},97582:(tt,I,o)=>{"use strict";function l(pe,re,De,ae){var ne,ce=arguments.length,X=ce<3?re:null===ae?ae=Object.getOwnPropertyDescriptor(re,De):ae;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)X=Reflect.decorate(pe,re,De,ae);else for(var le=pe.length-1;le>=0;le--)(ne=pe[le])&&(X=(ce<3?ne(X):ce>3?ne(re,De,X):ne(re,De))||X);return ce>3&&X&&Object.defineProperty(re,De,X),X}function v(pe,re,De,ae){return new(De||(De=Promise))(function(X,ne){function le(ke){try{Ne(ae.next(ke))}catch(oe){ne(oe)}}function Se(ke){try{Ne(ae.throw(ke))}catch(oe){ne(oe)}}function Ne(ke){ke.done?X(ke.value):function ce(X){return X instanceof De?X:new De(function(ne){ne(X)})}(ke.value).then(le,Se)}Ne((ae=ae.apply(pe,re||[])).next())})}function y(pe){return this instanceof y?(this.v=pe,this):new y(pe)}function P(pe,re,De){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ce,ae=De.apply(pe,re||[]),X=[];return ce={},ne("next"),ne("throw"),ne("return"),ce[Symbol.asyncIterator]=function(){return this},ce;function ne(_e){ae[_e]&&(ce[_e]=function(Q){return new Promise(function(He,Re){X.push([_e,Q,He,Re])>1||le(_e,Q)})})}function le(_e,Q){try{!function Se(_e){_e.value instanceof y?Promise.resolve(_e.value.v).then(Ne,ke):oe(X[0][2],_e)}(ae[_e](Q))}catch(He){oe(X[0][3],He)}}function Ne(_e){le("next",_e)}function ke(_e){le("throw",_e)}function oe(_e,Q){_e(Q),X.shift(),X.length&&le(X[0][0],X[0][1])}}function A(pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var De,re=pe[Symbol.asyncIterator];return re?re.call(pe):(pe=function f(pe){var re="function"==typeof Symbol&&Symbol.iterator,De=re&&pe[re],ae=0;if(De)return De.call(pe);if(pe&&"number"==typeof pe.length)return{next:function(){return pe&&ae>=pe.length&&(pe=void 0),{value:pe&&pe[ae++],done:!pe}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}(pe),De={},ae("next"),ae("throw"),ae("return"),De[Symbol.asyncIterator]=function(){return this},De);function ae(X){De[X]=pe[X]&&function(ne){return new Promise(function(le,Se){!function ce(X,ne,le,Se){Promise.resolve(Se).then(function(Ne){X({value:Ne,done:le})},ne)}(le,Se,(ne=pe[X](ne)).done,ne.value)})}}}o.d(I,{FC:()=>P,KL:()=>A,gn:()=>l,mG:()=>v,qq:()=>y}),"function"==typeof SuppressedError&&SuppressedError},64775:tt=>{"use strict";tt.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},98:tt=>{"use strict";tt.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},4147:tt=>{"use strict";tt.exports=JSON.parse('{"name":"delon","version":"16.4.1","description":"Delon is a set of essential modules for NG-ALAIN.","keywords":["delon","ng-alain","alain","antd","ng-zorro-antd","angular"],"author":"cipchk ","license":"MIT","bugs":{"url":"https://github.com/ng-alain/ng-alain/issues"},"repository":{"type":"git","url":"git+https://github.com/ng-alain/delon.git"},"homepage":"https://ng-alain.com","engines":{"node":"^16.13.0 || ^18.10.0","yarn":">=1.21.1 <2","npm":"Please use yarn instead of NPM to install dependencies"},"scripts":{"ng-high-memory":"node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng","prepare":"husky install","start":"npm run site:gen && ng s -o --hmr","lint":"bash scripts/ci/lint.sh -ts -less","lint:ts":"eslint --cache . --ext .ts,.html","lint:fix":"eslint --cache . --ext .ts,.html --fix","lint:style":"npx stylelint \'packages/**/*.less\'","test":"ng test --no-progress --browsers=ChromeHeadlessCI --code-coverage --no-watch","test:cli":"bash scripts/ci/build-schematics.sh -t -clone","test:integration":"bash scripts/ci/build-schematics.sh -b -t -clone -integration","build":"bash scripts/ci/build.sh","build_artifacts":"bash scripts/ci/build-artifacts.sh","analyze":"npm run ng-high-memory build -- --source-map","analyze:view":"source-map-explorer src/dist/browser/*.js","site:gen":"node scripts/site/main init && ng-alain-plugin-theme -t=themeCss && ng-alain-plugin-theme -t=colorLess","site:build":"npm run site:gen && ng b site && npm run site:ngsw && npm run site:minify && npm run site:sitemap && npm run site:helper","site:build:ssr":"npm run site:gen && npm run ssr:prerender && npm run site:ngsw && npm run site:minify && npm run site:sitemap && npm run site:helper","site:helper":"bash scripts/ci/helper.sh","site:minify":"node scripts/build/minify.js","site:sitemap":"node scripts/build/sitemap.js","site:ngsw":"node scripts/build/ngsw.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --pkg package.json","pre-publish":"node scripts/publish/publish.js && node scripts/publish/publish-scaffold.js","publish:next":"bash scripts/publish/publish.sh -next","publish":"bash scripts/publish/publish.sh","sync-scaffold-version":"node scripts/publish/sync-scaffold-version.js","ssr":"npm run ng-high-memory run site:serve-ssr","ssr:serve":"node src/dist/server/main.js","ssr:prerender":"npm run ng-high-memory run site:prerender"},"dependencies":{"@angular/animations":"^16.2.0","@angular/common":"^16.2.0","@angular/compiler":"^16.2.0","@angular/core":"^16.2.0","@angular/forms":"^16.2.0","@angular/platform-browser":"^16.2.0","@angular/platform-browser-dynamic":"^16.2.0","@angular/router":"^16.2.0","rxjs":"~7.8.0","tslib":"^2.3.0","zone.js":"~0.13.0","@angular/service-worker":"^16.2.0","@angular/platform-server":"^16.2.0","@angular/elements":"^16.2.0","@antv/data-set":"^0.11.8","@antv/g2":"^4.2.10","echarts":"^5.4.3","@stackblitz/sdk":"^1.9.0","codesandbox":"^2.2.3","ajv":"^8.12.0","ajv-formats":"^2.1.1","extend":"^3.0.2","file-saver":"^2.0.5","ng-github-button":"^16.0.0","ng-zorro-antd":"16.2.0","ngx-color":"~9.0.0","ngx-countdown":"^16.0.0","ngx-highlight-js":"^16.1.0","ngx-tinymce":"^16.0.0","qrious":"^4.0.2","@webcomponents/custom-elements":"^1.6.0","aos":"^3.0.0-beta.6","@ng-util/monaco-editor":"^16.0.0","@nguniversal/express-engine":"^16.2.0","express":"^4.18.2","isutf8":"^4.0.0","@github/hotkey":"^2.0.1"},"devDependencies":{"@angular-devkit/build-angular":"^16.2.0","@angular/cli":"~16.2.0","@angular/compiler-cli":"^16.2.0","@types/jasmine":"~4.3.0","jasmine-core":"~4.6.0","karma":"~6.4.0","karma-chrome-launcher":"~3.2.0","karma-coverage":"~2.2.0","karma-jasmine":"~5.1.0","karma-jasmine-html-reporter":"~2.1.0","typescript":"~5.1.3","codelyzer":"^6.0.2","jasmine-spec-reporter":"^7.0.0","protractor":"~7.0.0","ts-node":"~10.9.1","@angular/language-service":"^16.2.0","@types/jasminewd2":"~2.0.10","karma-junit-reporter":"^2.0.1","karma-spec-reporter":"0.0.36","karma-viewport":"^1.0.9","@types/aos":"^3.0.4","@types/file-saver":"^2.0.5","@types/deep-extend":"^0.6.0","@types/extend":"^3.0.1","@types/mockjs":"^1.0.7","@types/parse5":"^7.0.0","karma-summary-reporter":"^3.1.1","karma-parallel":"^0.3.1","chalk":"^5.3.0","codecov":"^3.8.3","conventional-changelog-cli":"^4.0.0","fs-extra":"^11.1.1","@types/fs-extra":"^11.0.1","husky":"^8.0.3","jsonml.js":"^0.1.0","klaw-sync":"^6.0.0","less-vars-to-js":"^1.3.0","less-plugin-clean-css":"^1.5.1","less-plugin-npm-import":"^2.1.0","mark-twain":"^2.0.3","mockjs":"^1.1.0","mustache":"^4.2.0","ng-packagr":"^16.2.1","parse5":"^7.1.2","prettier":"^3.0.2","readline-sync":"^1.4.10","stream":"0.0.2","stylelint":"^15.10.3","stylelint-config-rational-order":"^0.1.2","stylelint-config-standard":"^34.0.0","stylelint-declaration-block-no-ignored-properties":"^2.7.0","stylelint-order":"^6.0.3","source-map-explorer":"^2.5.3","xlsx":"^0.18.5","jszip":"^3.10.1","plyr":"^3.7.8","screenfull":"^6.0.2","less-bundle-promise":"^1.0.11","ng-alain-codelyzer":"^0.0.1","ng-alain-sts":"^0.0.2","ng-alain-plugin-theme":"^15.0.1","tsconfig-paths":"^4.2.0","@nguniversal/builders":"^16.2.0","@types/express":"^4.17.17","html-minifier-terser":"^7.2.0","terser":"^5.19.2","@commitlint/cli":"^17.7.1","@commitlint/config-angular":"^17.7.0","@angular-eslint/builder":"~16.1.1","@angular-eslint/eslint-plugin":"~16.1.1","@angular-eslint/eslint-plugin-template":"~16.1.1","@angular-eslint/schematics":"~16.1.1","@angular-eslint/template-parser":"~16.1.1","@typescript-eslint/eslint-plugin":"~6.4.1","@typescript-eslint/parser":"~6.4.1","eslint":"^8.48.0","eslint-config-prettier":"~9.0.0","eslint-plugin-import":"~2.28.1","eslint-plugin-jsdoc":"~46.5.0","eslint-plugin-prefer-arrow":"~1.2.3","eslint-plugin-prettier":"~5.0.0","eslint-plugin-deprecation":"~1.5.0","lint-staged":"^14.0.1","raw-loader":"^4.0.2","swagger-typescript-api":"^12.0.4","sitemap":"^7.1.1"},"lint-staged":{"(schematics|scripts|packages)/**/!(tslint-rules|testing)/!(polyfills).{html,ts}":["eslint --fix"],"packages/**/*.less":["npm run lint:style"]}}')}},tt=>{tt(tt.s=3975)}]); \ No newline at end of file diff --git a/ngsw.en.json b/ngsw.en.json index 0efb643e1..2d92b832e 100644 --- a/ngsw.en.json +++ b/ngsw.en.json @@ -1 +1 @@ -{"configVersion":1,"timestamp":1697711658136,"index":"/index.html","assetGroups":[{"name":"app","installMode":"prefetch","updateMode":"prefetch","cacheQueryOptions":{"ignoreVary":true},"urls":["/160.8933dcb761850593.js","/274.5054fb0545474495.js","/311.640905cecd79cc2d.js","/324.7b8f4d584c4d0e3b.js","/414.bc6c8dde47fd17a6.js","/440.22e24eb06a6cfa61.js","/491.d266fd791b98c4a4.js","/520.ef1eb512a64527da.js","/598.000ee902c5c77d7d.js","/696.09f163fa9e095620.js","/711.82e87176b4aa9476.js","/739.4d97e40d86fc9d17.js","/821.bd243b482a51497d.js","/960.ef1d2e57f89cc309.js","/967.2c74f7f0ee62fb89.js","/index.html","/main.8087bcf55d4faa9e.js","/ngsw-worker.js","/polyfills.6bed21258378d496.js","/runtime.452bb9336815337b.js","/safety-worker.js","/scripts.c2e9a31bbab5d761.js","/styles.de0008e7ab4a49a2.css","/worker-basic.min.js"],"patterns":["https:\\/\\/gw\\.alipayobjects\\.com\\/.*","https:\\/\\/img\\.alicdn\\.com\\/.*","https:\\/\\/dummyimage\\.com\\/.*"]},{"name":"assets","installMode":"lazy","updateMode":"prefetch","cacheQueryOptions":{"ignoreVary":true},"urls":["/assets/LOGO.ai","/assets/color.less","/assets/demo.docx","/assets/demo.pdf","/assets/demo.pptx","/assets/demo.xlsx","/assets/demo.zip","/assets/donate.png","/assets/highlight.pack.js","/assets/icons/icon-128x128.png","/assets/icons/icon-144x144.png","/assets/icons/icon-152x152.png","/assets/icons/icon-192x192.png","/assets/icons/icon-384x384.png","/assets/icons/icon-512x512.png","/assets/icons/icon-72x72.png","/assets/icons/icon-96x96.png","/assets/img/404.jpg","/assets/img/avatar.jpg","/assets/img/form-input.png","/assets/img/logo-color.png","/assets/img/logo-color.svg","/assets/img/logo-full.svg","/assets/img/logo.png","/assets/img/logo.svg","/assets/img/ng-alain.svg","/assets/img/plnkr.png","/assets/img/zorro.svg","/assets/jszip/jszip.min.js","/assets/logo-color.svg","/assets/logo-full.svg","/assets/logo.svg","/assets/plyr/plyr.css","/assets/plyr/plyr.min.js","/assets/plyr/plyr.svg","/assets/pro.png","/assets/qq-group.png","/assets/qrious/qrious.min.js","/assets/schema/basic.json","/assets/schema/conditional.json","/assets/schema/fixed.json","/assets/schema/onboarding.json","/assets/schema/sort.json","/assets/schema/validation.json","/assets/screenshot/architecture.png","/assets/screenshot/basic.png","/assets/screenshot/bundle-size.png","/assets/screenshot/desktop.png","/assets/screenshot/ipad.png","/assets/screenshot/iphone.png","/assets/screenshot/ms.png","/assets/screenshot/pro.png","/assets/screenshot/start.png","/assets/screenshot/yun.png","/assets/style.compact.css","/assets/style.dark.css","/assets/xlsx/cpexcel.js","/assets/xlsx/xlsx.full.min.js"],"patterns":[]}],"dataGroups":[],"hashTable":{"/160.8933dcb761850593.js":"5c445bbdcf88580757bfc74de2ef3c0410de8202","/274.5054fb0545474495.js":"fcfe8c021a3a088f8eb592cd6172b02c55125a2c","/311.640905cecd79cc2d.js":"8a8e7f76776bb6c2c126304a08791a3d7160cf38","/324.7b8f4d584c4d0e3b.js":"44684a5477e4efcb350b2ab0bcb5d587e42af7da","/414.bc6c8dde47fd17a6.js":"383b53a54b7e07f7fc4bbfd9c38708352637ba38","/440.22e24eb06a6cfa61.js":"c6b45ad15b2add7fdfcd65359581db0f2703efc6","/491.d266fd791b98c4a4.js":"f74d65faa909e1daa02ef85aa64a5fd8d1f665ab","/520.ef1eb512a64527da.js":"bcebb1a63a11b743454f40ad02ab4ddc393f0df1","/598.000ee902c5c77d7d.js":"f71518a7d1a84dfa226a6207c00fbf5a9616b92e","/696.09f163fa9e095620.js":"4babf678bb0d8be6aeee6b3ac543a6fb748acfb8","/711.82e87176b4aa9476.js":"1743f5ba1eac4dfe62b3680b4493bd8a0c2b2da4","/739.4d97e40d86fc9d17.js":"65f0da91db4548587421813635a8219095e4ea21","/821.bd243b482a51497d.js":"e7b00aba6724d9d0ffeb0a486f163057aa0a9ae5","/960.ef1d2e57f89cc309.js":"46cd06393c1ccc42801ac441128a4a3da216abe3","/967.2c74f7f0ee62fb89.js":"9dcaee343178a7765108a02dda92939ce16d032b","/assets/LOGO.ai":"f0eb50ff534d6596d2e66439066909d965fd74f2","/assets/color.less":"412eb726abb18f6960c32fc0bb0d589384e41f8a","/assets/demo.docx":"e6cf4a7b4a490811ed5bec39e8cf203824e8703f","/assets/demo.pdf":"05248c1d4a636ee577f515809534ca1c85cd45c2","/assets/demo.pptx":"09fcb13206d59676838c2682a2a9b62f0a11863b","/assets/demo.xlsx":"fbfaf8aa861857adadaf89b28fe31ad3100395ea","/assets/demo.zip":"99584e56a5910ccb3d58d6dbbbf4c341747b9d57","/assets/donate.png":"e00d7905db3e9e5a8365072da22bf4816224a79c","/assets/highlight.pack.js":"d43298ac40a94f15d24baaa1f9d4087a7c1a2146","/assets/icons/icon-128x128.png":"a64acae4187c0ac026f569727d427e510e57bd3c","/assets/icons/icon-144x144.png":"3777651bff501b02af74e14a4a7d97330ed06b51","/assets/icons/icon-152x152.png":"1ce29288030cd2787bca6f9e20a9d9ea543c807d","/assets/icons/icon-192x192.png":"027f8042ef3f22333b7f57463f764c14fb10ddda","/assets/icons/icon-384x384.png":"8c398368508ae5b7e7b0f0b500493cb75e5d1ada","/assets/icons/icon-512x512.png":"a8d39cf76ddcb33fa87d534476b2cdefa733d5fe","/assets/icons/icon-72x72.png":"3771059af6090c411bae02002f2e1d7877c368e9","/assets/icons/icon-96x96.png":"400b8ad0e5b8bf5ac0740b3f480e713b2a3fc0e5","/assets/img/404.jpg":"9604038f6b13cb304a14a13b2fa76d43444b4414","/assets/img/avatar.jpg":"1258f9ead6901ff45abd313a1b4f265749749b58","/assets/img/form-input.png":"75c924b9bd023a5e27e9745936a27caaf20a1537","/assets/img/logo-color.png":"8defcb0c2b47a66d7c1b57f78525e488adc62642","/assets/img/logo-color.svg":"587f7e7d6cacc6eb7222b99c08d3df8abc8edd4e","/assets/img/logo-full.svg":"fed68d999561a3180b925071180d3d4cfd2b8440","/assets/img/logo.png":"7dcbf051ab322ef1bd076940e981bf9abdd5ae78","/assets/img/logo.svg":"a2334b77c19d8dc880bbbd82e9939a0aa8d59573","/assets/img/ng-alain.svg":"fb55683a364df5de725cb98a7c51b2eb21ca4de6","/assets/img/plnkr.png":"dc4da4819d5a9b4ff44f1457f96808a761ab9143","/assets/img/zorro.svg":"82d83c92dff3114bd45e985e3c8e402f37a4beb9","/assets/jszip/jszip.min.js":"c96375d50e72b199aa54de7b9ad908fd5a2dc7bc","/assets/logo-color.svg":"587f7e7d6cacc6eb7222b99c08d3df8abc8edd4e","/assets/logo-full.svg":"fed68d999561a3180b925071180d3d4cfd2b8440","/assets/logo.svg":"a2334b77c19d8dc880bbbd82e9939a0aa8d59573","/assets/plyr/plyr.css":"3e9561fb7a2a70b93bb1014f5d958b123fe61764","/assets/plyr/plyr.min.js":"9b165c0e728a0ac4e2cddc944c9a2c5819ca7342","/assets/plyr/plyr.svg":"bc98e4a347921594352fbae53aaad185c0c7f6b5","/assets/pro.png":"0e8e2bd64766aab6e12f44607ad7e92aec241468","/assets/qq-group.png":"1effddfab735644966df1759c2768f282a3e650e","/assets/qrious/qrious.min.js":"a9271e81e2ac6a692b1c133811afa33f0f3d7dc5","/assets/schema/basic.json":"d3b26817208571cfed1a5dd667875c358b1d7e1f","/assets/schema/conditional.json":"204f15af35cc98d5d692c7265d84d2645a6394f0","/assets/schema/fixed.json":"f4d6c6c66503ec0c817ab89e8538c2be028c7cff","/assets/schema/onboarding.json":"20c6f311cc99ccbf7180afb906e9abf74473786b","/assets/schema/sort.json":"850f554e1a7db144e9ad305b6a3ad79bfb58ca28","/assets/schema/validation.json":"0a5971cb42a49672e0005b88036ef47bc8cebe94","/assets/screenshot/architecture.png":"9e19b12a25deab3280ebf5795597a90af29c4c38","/assets/screenshot/basic.png":"42a70c07d9f35413991972634011459fdb010022","/assets/screenshot/bundle-size.png":"f67a8b0678161abce9afcb694db3c02d3b4b5f73","/assets/screenshot/desktop.png":"42a70c07d9f35413991972634011459fdb010022","/assets/screenshot/ipad.png":"0fc5d85a81da2057ec68fc9094c0cb5c862bf309","/assets/screenshot/iphone.png":"6b7d70c66cd422ad5aee06d91ddb39c7fd0558bb","/assets/screenshot/ms.png":"26b0065c7c5d4f9f9c6b0efa4915eb6576caee75","/assets/screenshot/pro.png":"37bd67671530613e955593eb3fc818e27d18dcb6","/assets/screenshot/start.png":"8af50c7dbc9bab333f7e88b67debb6657bc61ed9","/assets/screenshot/yun.png":"b0e3dec2af4dfae8f25e5d90f19cd3c60107e89f","/assets/style.compact.css":"67e22f2a85b270c97c0ecafb6b1a81216940467d","/assets/style.dark.css":"c80f48de51ffaef4505b64e69bf72724372706c3","/assets/xlsx/cpexcel.js":"9191595b39ba1918d32fb250d3ff21d07f99fc19","/assets/xlsx/xlsx.full.min.js":"7f749f81a45a53229136c6c1f1d50dcb16ddc233","/index.html":"bf0f551271046c170cc08bf0ce368ee2ca52e6eb","/main.8087bcf55d4faa9e.js":"331ccacad41d626d2afb6a40c995d45361ed0f3b","/ngsw-worker.js":"72aa104f807a27569236249011de1e06b58f2fd0","/polyfills.6bed21258378d496.js":"d7baf2ea4ad968030720714f5655abad5c1f278e","/runtime.452bb9336815337b.js":"98bfcbef7467c89cd0ba45d1dfd46fd2673ac38c","/safety-worker.js":"70914dc203fa1f881e56f2b794d7a4f9c48ee745","/scripts.c2e9a31bbab5d761.js":"ca73a628d638d603be98d5eb8fd41f25740268e4","/styles.de0008e7ab4a49a2.css":"29deaeb56c3fd36e9ae602f5bcd79cdbe8d4e41d","/worker-basic.min.js":"70914dc203fa1f881e56f2b794d7a4f9c48ee745"},"navigationUrls":[{"positive":true,"regex":"^\\/.*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*\\.[^/]*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*__[^/]*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*__[^/]*\\/.*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?stackblitz$"},{"positive":false,"regex":"^\\/version\\/.*$"},{"positive":false,"regex":"^\\/issue-helper\\/.*$"},{"positive":false,"regex":"^\\/docs\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/docs\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/components\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/components\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/cli\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/cli\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/theme\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/theme\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/auth\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/auth\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/acl\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/acl\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/form\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/form\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/cache\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/cache\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/chart\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/chart\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/mock\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/mock\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/util\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/util\\/[^/][^/]*$"}],"navigationRequestStrategy":"performance","local":"en"} +{"configVersion":1,"timestamp":1697798971788,"index":"/index.html","assetGroups":[{"name":"app","installMode":"prefetch","updateMode":"prefetch","cacheQueryOptions":{"ignoreVary":true},"urls":["/160.8933dcb761850593.js","/274.5054fb0545474495.js","/311.f44daf8ad262677d.js","/324.7b8f4d584c4d0e3b.js","/414.bc6c8dde47fd17a6.js","/440.22e24eb06a6cfa61.js","/491.d266fd791b98c4a4.js","/520.ef1eb512a64527da.js","/598.000ee902c5c77d7d.js","/696.09f163fa9e095620.js","/711.82e87176b4aa9476.js","/739.4d97e40d86fc9d17.js","/821.bd243b482a51497d.js","/960.ef1d2e57f89cc309.js","/967.2c74f7f0ee62fb89.js","/index.html","/main.17624238cd20d61f.js","/ngsw-worker.js","/polyfills.6bed21258378d496.js","/runtime.feca721eac1c7652.js","/safety-worker.js","/scripts.c2e9a31bbab5d761.js","/styles.de0008e7ab4a49a2.css","/worker-basic.min.js"],"patterns":["https:\\/\\/gw\\.alipayobjects\\.com\\/.*","https:\\/\\/img\\.alicdn\\.com\\/.*","https:\\/\\/dummyimage\\.com\\/.*"]},{"name":"assets","installMode":"lazy","updateMode":"prefetch","cacheQueryOptions":{"ignoreVary":true},"urls":["/assets/LOGO.ai","/assets/color.less","/assets/demo.docx","/assets/demo.pdf","/assets/demo.pptx","/assets/demo.xlsx","/assets/demo.zip","/assets/donate.png","/assets/highlight.pack.js","/assets/icons/icon-128x128.png","/assets/icons/icon-144x144.png","/assets/icons/icon-152x152.png","/assets/icons/icon-192x192.png","/assets/icons/icon-384x384.png","/assets/icons/icon-512x512.png","/assets/icons/icon-72x72.png","/assets/icons/icon-96x96.png","/assets/img/404.jpg","/assets/img/avatar.jpg","/assets/img/form-input.png","/assets/img/logo-color.png","/assets/img/logo-color.svg","/assets/img/logo-full.svg","/assets/img/logo.png","/assets/img/logo.svg","/assets/img/ng-alain.svg","/assets/img/plnkr.png","/assets/img/zorro.svg","/assets/jszip/jszip.min.js","/assets/logo-color.svg","/assets/logo-full.svg","/assets/logo.svg","/assets/plyr/plyr.css","/assets/plyr/plyr.min.js","/assets/plyr/plyr.svg","/assets/pro.png","/assets/qq-group.png","/assets/qrious/qrious.min.js","/assets/schema/basic.json","/assets/schema/conditional.json","/assets/schema/fixed.json","/assets/schema/onboarding.json","/assets/schema/sort.json","/assets/schema/validation.json","/assets/screenshot/architecture.png","/assets/screenshot/basic.png","/assets/screenshot/bundle-size.png","/assets/screenshot/desktop.png","/assets/screenshot/ipad.png","/assets/screenshot/iphone.png","/assets/screenshot/ms.png","/assets/screenshot/pro.png","/assets/screenshot/start.png","/assets/screenshot/yun.png","/assets/style.compact.css","/assets/style.dark.css","/assets/xlsx/cpexcel.js","/assets/xlsx/xlsx.full.min.js"],"patterns":[]}],"dataGroups":[],"hashTable":{"/160.8933dcb761850593.js":"5c445bbdcf88580757bfc74de2ef3c0410de8202","/274.5054fb0545474495.js":"fcfe8c021a3a088f8eb592cd6172b02c55125a2c","/311.f44daf8ad262677d.js":"d8220acb06fb6db77ab0a08b59723b38a7b3f45f","/324.7b8f4d584c4d0e3b.js":"44684a5477e4efcb350b2ab0bcb5d587e42af7da","/414.bc6c8dde47fd17a6.js":"383b53a54b7e07f7fc4bbfd9c38708352637ba38","/440.22e24eb06a6cfa61.js":"c6b45ad15b2add7fdfcd65359581db0f2703efc6","/491.d266fd791b98c4a4.js":"f74d65faa909e1daa02ef85aa64a5fd8d1f665ab","/520.ef1eb512a64527da.js":"bcebb1a63a11b743454f40ad02ab4ddc393f0df1","/598.000ee902c5c77d7d.js":"f71518a7d1a84dfa226a6207c00fbf5a9616b92e","/696.09f163fa9e095620.js":"4babf678bb0d8be6aeee6b3ac543a6fb748acfb8","/711.82e87176b4aa9476.js":"1743f5ba1eac4dfe62b3680b4493bd8a0c2b2da4","/739.4d97e40d86fc9d17.js":"65f0da91db4548587421813635a8219095e4ea21","/821.bd243b482a51497d.js":"e7b00aba6724d9d0ffeb0a486f163057aa0a9ae5","/960.ef1d2e57f89cc309.js":"46cd06393c1ccc42801ac441128a4a3da216abe3","/967.2c74f7f0ee62fb89.js":"9dcaee343178a7765108a02dda92939ce16d032b","/assets/LOGO.ai":"f0eb50ff534d6596d2e66439066909d965fd74f2","/assets/color.less":"412eb726abb18f6960c32fc0bb0d589384e41f8a","/assets/demo.docx":"e6cf4a7b4a490811ed5bec39e8cf203824e8703f","/assets/demo.pdf":"05248c1d4a636ee577f515809534ca1c85cd45c2","/assets/demo.pptx":"09fcb13206d59676838c2682a2a9b62f0a11863b","/assets/demo.xlsx":"fbfaf8aa861857adadaf89b28fe31ad3100395ea","/assets/demo.zip":"99584e56a5910ccb3d58d6dbbbf4c341747b9d57","/assets/donate.png":"e00d7905db3e9e5a8365072da22bf4816224a79c","/assets/highlight.pack.js":"d43298ac40a94f15d24baaa1f9d4087a7c1a2146","/assets/icons/icon-128x128.png":"a64acae4187c0ac026f569727d427e510e57bd3c","/assets/icons/icon-144x144.png":"3777651bff501b02af74e14a4a7d97330ed06b51","/assets/icons/icon-152x152.png":"1ce29288030cd2787bca6f9e20a9d9ea543c807d","/assets/icons/icon-192x192.png":"027f8042ef3f22333b7f57463f764c14fb10ddda","/assets/icons/icon-384x384.png":"8c398368508ae5b7e7b0f0b500493cb75e5d1ada","/assets/icons/icon-512x512.png":"a8d39cf76ddcb33fa87d534476b2cdefa733d5fe","/assets/icons/icon-72x72.png":"3771059af6090c411bae02002f2e1d7877c368e9","/assets/icons/icon-96x96.png":"400b8ad0e5b8bf5ac0740b3f480e713b2a3fc0e5","/assets/img/404.jpg":"9604038f6b13cb304a14a13b2fa76d43444b4414","/assets/img/avatar.jpg":"1258f9ead6901ff45abd313a1b4f265749749b58","/assets/img/form-input.png":"75c924b9bd023a5e27e9745936a27caaf20a1537","/assets/img/logo-color.png":"8defcb0c2b47a66d7c1b57f78525e488adc62642","/assets/img/logo-color.svg":"587f7e7d6cacc6eb7222b99c08d3df8abc8edd4e","/assets/img/logo-full.svg":"fed68d999561a3180b925071180d3d4cfd2b8440","/assets/img/logo.png":"7dcbf051ab322ef1bd076940e981bf9abdd5ae78","/assets/img/logo.svg":"a2334b77c19d8dc880bbbd82e9939a0aa8d59573","/assets/img/ng-alain.svg":"fb55683a364df5de725cb98a7c51b2eb21ca4de6","/assets/img/plnkr.png":"dc4da4819d5a9b4ff44f1457f96808a761ab9143","/assets/img/zorro.svg":"82d83c92dff3114bd45e985e3c8e402f37a4beb9","/assets/jszip/jszip.min.js":"c96375d50e72b199aa54de7b9ad908fd5a2dc7bc","/assets/logo-color.svg":"587f7e7d6cacc6eb7222b99c08d3df8abc8edd4e","/assets/logo-full.svg":"fed68d999561a3180b925071180d3d4cfd2b8440","/assets/logo.svg":"a2334b77c19d8dc880bbbd82e9939a0aa8d59573","/assets/plyr/plyr.css":"3e9561fb7a2a70b93bb1014f5d958b123fe61764","/assets/plyr/plyr.min.js":"9b165c0e728a0ac4e2cddc944c9a2c5819ca7342","/assets/plyr/plyr.svg":"bc98e4a347921594352fbae53aaad185c0c7f6b5","/assets/pro.png":"0e8e2bd64766aab6e12f44607ad7e92aec241468","/assets/qq-group.png":"1effddfab735644966df1759c2768f282a3e650e","/assets/qrious/qrious.min.js":"a9271e81e2ac6a692b1c133811afa33f0f3d7dc5","/assets/schema/basic.json":"d3b26817208571cfed1a5dd667875c358b1d7e1f","/assets/schema/conditional.json":"204f15af35cc98d5d692c7265d84d2645a6394f0","/assets/schema/fixed.json":"f4d6c6c66503ec0c817ab89e8538c2be028c7cff","/assets/schema/onboarding.json":"20c6f311cc99ccbf7180afb906e9abf74473786b","/assets/schema/sort.json":"850f554e1a7db144e9ad305b6a3ad79bfb58ca28","/assets/schema/validation.json":"0a5971cb42a49672e0005b88036ef47bc8cebe94","/assets/screenshot/architecture.png":"9e19b12a25deab3280ebf5795597a90af29c4c38","/assets/screenshot/basic.png":"42a70c07d9f35413991972634011459fdb010022","/assets/screenshot/bundle-size.png":"f67a8b0678161abce9afcb694db3c02d3b4b5f73","/assets/screenshot/desktop.png":"42a70c07d9f35413991972634011459fdb010022","/assets/screenshot/ipad.png":"0fc5d85a81da2057ec68fc9094c0cb5c862bf309","/assets/screenshot/iphone.png":"6b7d70c66cd422ad5aee06d91ddb39c7fd0558bb","/assets/screenshot/ms.png":"26b0065c7c5d4f9f9c6b0efa4915eb6576caee75","/assets/screenshot/pro.png":"37bd67671530613e955593eb3fc818e27d18dcb6","/assets/screenshot/start.png":"8af50c7dbc9bab333f7e88b67debb6657bc61ed9","/assets/screenshot/yun.png":"b0e3dec2af4dfae8f25e5d90f19cd3c60107e89f","/assets/style.compact.css":"67e22f2a85b270c97c0ecafb6b1a81216940467d","/assets/style.dark.css":"c80f48de51ffaef4505b64e69bf72724372706c3","/assets/xlsx/cpexcel.js":"9191595b39ba1918d32fb250d3ff21d07f99fc19","/assets/xlsx/xlsx.full.min.js":"7f749f81a45a53229136c6c1f1d50dcb16ddc233","/index.html":"7a051e6de6cc068adf319ad11dca9726ae8b3c45","/main.17624238cd20d61f.js":"5c6618eb208b6e553765c09fe8fda7314ed71210","/ngsw-worker.js":"72aa104f807a27569236249011de1e06b58f2fd0","/polyfills.6bed21258378d496.js":"d7baf2ea4ad968030720714f5655abad5c1f278e","/runtime.feca721eac1c7652.js":"0c2fcd04cd33e7bd7a29b98fccaafcdbfb91a042","/safety-worker.js":"70914dc203fa1f881e56f2b794d7a4f9c48ee745","/scripts.c2e9a31bbab5d761.js":"ca73a628d638d603be98d5eb8fd41f25740268e4","/styles.de0008e7ab4a49a2.css":"29deaeb56c3fd36e9ae602f5bcd79cdbe8d4e41d","/worker-basic.min.js":"70914dc203fa1f881e56f2b794d7a4f9c48ee745"},"navigationUrls":[{"positive":true,"regex":"^\\/.*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*\\.[^/]*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*__[^/]*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*__[^/]*\\/.*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?stackblitz$"},{"positive":false,"regex":"^\\/version\\/.*$"},{"positive":false,"regex":"^\\/issue-helper\\/.*$"},{"positive":false,"regex":"^\\/docs\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/docs\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/components\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/components\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/cli\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/cli\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/theme\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/theme\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/auth\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/auth\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/acl\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/acl\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/form\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/form\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/cache\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/cache\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/chart\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/chart\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/mock\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/mock\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/util\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/util\\/[^/][^/]*$"}],"navigationRequestStrategy":"performance","local":"en"} diff --git a/ngsw.json b/ngsw.json index 8dd5c1378..6931d653a 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1697711658136, + "timestamp": 1697798971788, "index": "/index.html", "assetGroups": [ { @@ -13,7 +13,7 @@ "urls": [ "/160.8933dcb761850593.js", "/274.5054fb0545474495.js", - "/311.640905cecd79cc2d.js", + "/311.f44daf8ad262677d.js", "/324.7b8f4d584c4d0e3b.js", "/414.bc6c8dde47fd17a6.js", "/440.22e24eb06a6cfa61.js", @@ -27,10 +27,10 @@ "/960.ef1d2e57f89cc309.js", "/967.2c74f7f0ee62fb89.js", "/index.html", - "/main.8087bcf55d4faa9e.js", + "/main.17624238cd20d61f.js", "/ngsw-worker.js", "/polyfills.6bed21258378d496.js", - "/runtime.452bb9336815337b.js", + "/runtime.feca721eac1c7652.js", "/safety-worker.js", "/scripts.c2e9a31bbab5d761.js", "/styles.de0008e7ab4a49a2.css", @@ -116,7 +116,7 @@ "hashTable": { "/160.8933dcb761850593.js": "5c445bbdcf88580757bfc74de2ef3c0410de8202", "/274.5054fb0545474495.js": "fcfe8c021a3a088f8eb592cd6172b02c55125a2c", - "/311.640905cecd79cc2d.js": "8a8e7f76776bb6c2c126304a08791a3d7160cf38", + "/311.f44daf8ad262677d.js": "d8220acb06fb6db77ab0a08b59723b38a7b3f45f", "/324.7b8f4d584c4d0e3b.js": "44684a5477e4efcb350b2ab0bcb5d587e42af7da", "/414.bc6c8dde47fd17a6.js": "383b53a54b7e07f7fc4bbfd9c38708352637ba38", "/440.22e24eb06a6cfa61.js": "c6b45ad15b2add7fdfcd65359581db0f2703efc6", @@ -187,11 +187,11 @@ "/assets/style.dark.css": "c80f48de51ffaef4505b64e69bf72724372706c3", "/assets/xlsx/cpexcel.js": "9191595b39ba1918d32fb250d3ff21d07f99fc19", "/assets/xlsx/xlsx.full.min.js": "7f749f81a45a53229136c6c1f1d50dcb16ddc233", - "/index.html": "bf0f551271046c170cc08bf0ce368ee2ca52e6eb", - "/main.8087bcf55d4faa9e.js": "331ccacad41d626d2afb6a40c995d45361ed0f3b", + "/index.html": "7a051e6de6cc068adf319ad11dca9726ae8b3c45", + "/main.17624238cd20d61f.js": "5c6618eb208b6e553765c09fe8fda7314ed71210", "/ngsw-worker.js": "72aa104f807a27569236249011de1e06b58f2fd0", "/polyfills.6bed21258378d496.js": "d7baf2ea4ad968030720714f5655abad5c1f278e", - "/runtime.452bb9336815337b.js": "98bfcbef7467c89cd0ba45d1dfd46fd2673ac38c", + "/runtime.feca721eac1c7652.js": "0c2fcd04cd33e7bd7a29b98fccaafcdbfb91a042", "/safety-worker.js": "70914dc203fa1f881e56f2b794d7a4f9c48ee745", "/scripts.c2e9a31bbab5d761.js": "ca73a628d638d603be98d5eb8fd41f25740268e4", "/styles.de0008e7ab4a49a2.css": "29deaeb56c3fd36e9ae602f5bcd79cdbe8d4e41d", diff --git a/ngsw.zh.json b/ngsw.zh.json index 28ac85f44..daef03625 100644 --- a/ngsw.zh.json +++ b/ngsw.zh.json @@ -1 +1 @@ -{"configVersion":1,"timestamp":1697711655283,"index":"/index.html","assetGroups":[{"name":"app","installMode":"prefetch","updateMode":"prefetch","cacheQueryOptions":{"ignoreVary":true},"urls":["/160.8933dcb761850593.js","/274.5054fb0545474495.js","/311.640905cecd79cc2d.js","/324.7b8f4d584c4d0e3b.js","/414.bc6c8dde47fd17a6.js","/440.22e24eb06a6cfa61.js","/491.d266fd791b98c4a4.js","/520.ef1eb512a64527da.js","/598.000ee902c5c77d7d.js","/696.09f163fa9e095620.js","/711.82e87176b4aa9476.js","/739.4d97e40d86fc9d17.js","/821.bd243b482a51497d.js","/960.ef1d2e57f89cc309.js","/967.2c74f7f0ee62fb89.js","/index.html","/main.8087bcf55d4faa9e.js","/ngsw-worker.js","/polyfills.6bed21258378d496.js","/runtime.452bb9336815337b.js","/safety-worker.js","/scripts.c2e9a31bbab5d761.js","/styles.de0008e7ab4a49a2.css","/worker-basic.min.js"],"patterns":["https:\\/\\/gw\\.alipayobjects\\.com\\/.*","https:\\/\\/img\\.alicdn\\.com\\/.*","https:\\/\\/dummyimage\\.com\\/.*"]},{"name":"assets","installMode":"lazy","updateMode":"prefetch","cacheQueryOptions":{"ignoreVary":true},"urls":["/assets/LOGO.ai","/assets/color.less","/assets/demo.docx","/assets/demo.pdf","/assets/demo.pptx","/assets/demo.xlsx","/assets/demo.zip","/assets/donate.png","/assets/highlight.pack.js","/assets/icons/icon-128x128.png","/assets/icons/icon-144x144.png","/assets/icons/icon-152x152.png","/assets/icons/icon-192x192.png","/assets/icons/icon-384x384.png","/assets/icons/icon-512x512.png","/assets/icons/icon-72x72.png","/assets/icons/icon-96x96.png","/assets/img/404.jpg","/assets/img/avatar.jpg","/assets/img/form-input.png","/assets/img/logo-color.png","/assets/img/logo-color.svg","/assets/img/logo-full.svg","/assets/img/logo.png","/assets/img/logo.svg","/assets/img/ng-alain.svg","/assets/img/plnkr.png","/assets/img/zorro.svg","/assets/jszip/jszip.min.js","/assets/logo-color.svg","/assets/logo-full.svg","/assets/logo.svg","/assets/plyr/plyr.css","/assets/plyr/plyr.min.js","/assets/plyr/plyr.svg","/assets/pro.png","/assets/qq-group.png","/assets/qrious/qrious.min.js","/assets/schema/basic.json","/assets/schema/conditional.json","/assets/schema/fixed.json","/assets/schema/onboarding.json","/assets/schema/sort.json","/assets/schema/validation.json","/assets/screenshot/architecture.png","/assets/screenshot/basic.png","/assets/screenshot/bundle-size.png","/assets/screenshot/desktop.png","/assets/screenshot/ipad.png","/assets/screenshot/iphone.png","/assets/screenshot/ms.png","/assets/screenshot/pro.png","/assets/screenshot/start.png","/assets/screenshot/yun.png","/assets/style.compact.css","/assets/style.dark.css","/assets/xlsx/cpexcel.js","/assets/xlsx/xlsx.full.min.js"],"patterns":[]}],"dataGroups":[],"hashTable":{"/160.8933dcb761850593.js":"5c445bbdcf88580757bfc74de2ef3c0410de8202","/274.5054fb0545474495.js":"fcfe8c021a3a088f8eb592cd6172b02c55125a2c","/311.640905cecd79cc2d.js":"8a8e7f76776bb6c2c126304a08791a3d7160cf38","/324.7b8f4d584c4d0e3b.js":"44684a5477e4efcb350b2ab0bcb5d587e42af7da","/414.bc6c8dde47fd17a6.js":"383b53a54b7e07f7fc4bbfd9c38708352637ba38","/440.22e24eb06a6cfa61.js":"c6b45ad15b2add7fdfcd65359581db0f2703efc6","/491.d266fd791b98c4a4.js":"f74d65faa909e1daa02ef85aa64a5fd8d1f665ab","/520.ef1eb512a64527da.js":"bcebb1a63a11b743454f40ad02ab4ddc393f0df1","/598.000ee902c5c77d7d.js":"f71518a7d1a84dfa226a6207c00fbf5a9616b92e","/696.09f163fa9e095620.js":"4babf678bb0d8be6aeee6b3ac543a6fb748acfb8","/711.82e87176b4aa9476.js":"1743f5ba1eac4dfe62b3680b4493bd8a0c2b2da4","/739.4d97e40d86fc9d17.js":"65f0da91db4548587421813635a8219095e4ea21","/821.bd243b482a51497d.js":"e7b00aba6724d9d0ffeb0a486f163057aa0a9ae5","/960.ef1d2e57f89cc309.js":"46cd06393c1ccc42801ac441128a4a3da216abe3","/967.2c74f7f0ee62fb89.js":"9dcaee343178a7765108a02dda92939ce16d032b","/assets/LOGO.ai":"f0eb50ff534d6596d2e66439066909d965fd74f2","/assets/color.less":"412eb726abb18f6960c32fc0bb0d589384e41f8a","/assets/demo.docx":"e6cf4a7b4a490811ed5bec39e8cf203824e8703f","/assets/demo.pdf":"05248c1d4a636ee577f515809534ca1c85cd45c2","/assets/demo.pptx":"09fcb13206d59676838c2682a2a9b62f0a11863b","/assets/demo.xlsx":"fbfaf8aa861857adadaf89b28fe31ad3100395ea","/assets/demo.zip":"99584e56a5910ccb3d58d6dbbbf4c341747b9d57","/assets/donate.png":"e00d7905db3e9e5a8365072da22bf4816224a79c","/assets/highlight.pack.js":"d43298ac40a94f15d24baaa1f9d4087a7c1a2146","/assets/icons/icon-128x128.png":"a64acae4187c0ac026f569727d427e510e57bd3c","/assets/icons/icon-144x144.png":"3777651bff501b02af74e14a4a7d97330ed06b51","/assets/icons/icon-152x152.png":"1ce29288030cd2787bca6f9e20a9d9ea543c807d","/assets/icons/icon-192x192.png":"027f8042ef3f22333b7f57463f764c14fb10ddda","/assets/icons/icon-384x384.png":"8c398368508ae5b7e7b0f0b500493cb75e5d1ada","/assets/icons/icon-512x512.png":"a8d39cf76ddcb33fa87d534476b2cdefa733d5fe","/assets/icons/icon-72x72.png":"3771059af6090c411bae02002f2e1d7877c368e9","/assets/icons/icon-96x96.png":"400b8ad0e5b8bf5ac0740b3f480e713b2a3fc0e5","/assets/img/404.jpg":"9604038f6b13cb304a14a13b2fa76d43444b4414","/assets/img/avatar.jpg":"1258f9ead6901ff45abd313a1b4f265749749b58","/assets/img/form-input.png":"75c924b9bd023a5e27e9745936a27caaf20a1537","/assets/img/logo-color.png":"8defcb0c2b47a66d7c1b57f78525e488adc62642","/assets/img/logo-color.svg":"587f7e7d6cacc6eb7222b99c08d3df8abc8edd4e","/assets/img/logo-full.svg":"fed68d999561a3180b925071180d3d4cfd2b8440","/assets/img/logo.png":"7dcbf051ab322ef1bd076940e981bf9abdd5ae78","/assets/img/logo.svg":"a2334b77c19d8dc880bbbd82e9939a0aa8d59573","/assets/img/ng-alain.svg":"fb55683a364df5de725cb98a7c51b2eb21ca4de6","/assets/img/plnkr.png":"dc4da4819d5a9b4ff44f1457f96808a761ab9143","/assets/img/zorro.svg":"82d83c92dff3114bd45e985e3c8e402f37a4beb9","/assets/jszip/jszip.min.js":"c96375d50e72b199aa54de7b9ad908fd5a2dc7bc","/assets/logo-color.svg":"587f7e7d6cacc6eb7222b99c08d3df8abc8edd4e","/assets/logo-full.svg":"fed68d999561a3180b925071180d3d4cfd2b8440","/assets/logo.svg":"a2334b77c19d8dc880bbbd82e9939a0aa8d59573","/assets/plyr/plyr.css":"3e9561fb7a2a70b93bb1014f5d958b123fe61764","/assets/plyr/plyr.min.js":"9b165c0e728a0ac4e2cddc944c9a2c5819ca7342","/assets/plyr/plyr.svg":"bc98e4a347921594352fbae53aaad185c0c7f6b5","/assets/pro.png":"0e8e2bd64766aab6e12f44607ad7e92aec241468","/assets/qq-group.png":"1effddfab735644966df1759c2768f282a3e650e","/assets/qrious/qrious.min.js":"a9271e81e2ac6a692b1c133811afa33f0f3d7dc5","/assets/schema/basic.json":"d3b26817208571cfed1a5dd667875c358b1d7e1f","/assets/schema/conditional.json":"204f15af35cc98d5d692c7265d84d2645a6394f0","/assets/schema/fixed.json":"f4d6c6c66503ec0c817ab89e8538c2be028c7cff","/assets/schema/onboarding.json":"20c6f311cc99ccbf7180afb906e9abf74473786b","/assets/schema/sort.json":"850f554e1a7db144e9ad305b6a3ad79bfb58ca28","/assets/schema/validation.json":"0a5971cb42a49672e0005b88036ef47bc8cebe94","/assets/screenshot/architecture.png":"9e19b12a25deab3280ebf5795597a90af29c4c38","/assets/screenshot/basic.png":"42a70c07d9f35413991972634011459fdb010022","/assets/screenshot/bundle-size.png":"f67a8b0678161abce9afcb694db3c02d3b4b5f73","/assets/screenshot/desktop.png":"42a70c07d9f35413991972634011459fdb010022","/assets/screenshot/ipad.png":"0fc5d85a81da2057ec68fc9094c0cb5c862bf309","/assets/screenshot/iphone.png":"6b7d70c66cd422ad5aee06d91ddb39c7fd0558bb","/assets/screenshot/ms.png":"26b0065c7c5d4f9f9c6b0efa4915eb6576caee75","/assets/screenshot/pro.png":"37bd67671530613e955593eb3fc818e27d18dcb6","/assets/screenshot/start.png":"8af50c7dbc9bab333f7e88b67debb6657bc61ed9","/assets/screenshot/yun.png":"b0e3dec2af4dfae8f25e5d90f19cd3c60107e89f","/assets/style.compact.css":"67e22f2a85b270c97c0ecafb6b1a81216940467d","/assets/style.dark.css":"c80f48de51ffaef4505b64e69bf72724372706c3","/assets/xlsx/cpexcel.js":"9191595b39ba1918d32fb250d3ff21d07f99fc19","/assets/xlsx/xlsx.full.min.js":"7f749f81a45a53229136c6c1f1d50dcb16ddc233","/index.html":"bf0f551271046c170cc08bf0ce368ee2ca52e6eb","/main.8087bcf55d4faa9e.js":"331ccacad41d626d2afb6a40c995d45361ed0f3b","/ngsw-worker.js":"72aa104f807a27569236249011de1e06b58f2fd0","/polyfills.6bed21258378d496.js":"d7baf2ea4ad968030720714f5655abad5c1f278e","/runtime.452bb9336815337b.js":"98bfcbef7467c89cd0ba45d1dfd46fd2673ac38c","/safety-worker.js":"70914dc203fa1f881e56f2b794d7a4f9c48ee745","/scripts.c2e9a31bbab5d761.js":"ca73a628d638d603be98d5eb8fd41f25740268e4","/styles.de0008e7ab4a49a2.css":"29deaeb56c3fd36e9ae602f5bcd79cdbe8d4e41d","/worker-basic.min.js":"70914dc203fa1f881e56f2b794d7a4f9c48ee745"},"navigationUrls":[{"positive":true,"regex":"^\\/.*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*\\.[^/]*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*__[^/]*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*__[^/]*\\/.*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?stackblitz$"},{"positive":false,"regex":"^\\/version\\/.*$"},{"positive":false,"regex":"^\\/issue-helper\\/.*$"},{"positive":false,"regex":"^\\/docs\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/docs\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/components\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/components\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/cli\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/cli\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/theme\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/theme\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/auth\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/auth\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/acl\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/acl\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/form\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/form\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/cache\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/cache\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/chart\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/chart\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/mock\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/mock\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/util\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/util\\/[^/][^/]*$"}],"navigationRequestStrategy":"performance","local":"zh"} +{"configVersion":1,"timestamp":1697798969708,"index":"/index.html","assetGroups":[{"name":"app","installMode":"prefetch","updateMode":"prefetch","cacheQueryOptions":{"ignoreVary":true},"urls":["/160.8933dcb761850593.js","/274.5054fb0545474495.js","/311.f44daf8ad262677d.js","/324.7b8f4d584c4d0e3b.js","/414.bc6c8dde47fd17a6.js","/440.22e24eb06a6cfa61.js","/491.d266fd791b98c4a4.js","/520.ef1eb512a64527da.js","/598.000ee902c5c77d7d.js","/696.09f163fa9e095620.js","/711.82e87176b4aa9476.js","/739.4d97e40d86fc9d17.js","/821.bd243b482a51497d.js","/960.ef1d2e57f89cc309.js","/967.2c74f7f0ee62fb89.js","/index.html","/main.17624238cd20d61f.js","/ngsw-worker.js","/polyfills.6bed21258378d496.js","/runtime.feca721eac1c7652.js","/safety-worker.js","/scripts.c2e9a31bbab5d761.js","/styles.de0008e7ab4a49a2.css","/worker-basic.min.js"],"patterns":["https:\\/\\/gw\\.alipayobjects\\.com\\/.*","https:\\/\\/img\\.alicdn\\.com\\/.*","https:\\/\\/dummyimage\\.com\\/.*"]},{"name":"assets","installMode":"lazy","updateMode":"prefetch","cacheQueryOptions":{"ignoreVary":true},"urls":["/assets/LOGO.ai","/assets/color.less","/assets/demo.docx","/assets/demo.pdf","/assets/demo.pptx","/assets/demo.xlsx","/assets/demo.zip","/assets/donate.png","/assets/highlight.pack.js","/assets/icons/icon-128x128.png","/assets/icons/icon-144x144.png","/assets/icons/icon-152x152.png","/assets/icons/icon-192x192.png","/assets/icons/icon-384x384.png","/assets/icons/icon-512x512.png","/assets/icons/icon-72x72.png","/assets/icons/icon-96x96.png","/assets/img/404.jpg","/assets/img/avatar.jpg","/assets/img/form-input.png","/assets/img/logo-color.png","/assets/img/logo-color.svg","/assets/img/logo-full.svg","/assets/img/logo.png","/assets/img/logo.svg","/assets/img/ng-alain.svg","/assets/img/plnkr.png","/assets/img/zorro.svg","/assets/jszip/jszip.min.js","/assets/logo-color.svg","/assets/logo-full.svg","/assets/logo.svg","/assets/plyr/plyr.css","/assets/plyr/plyr.min.js","/assets/plyr/plyr.svg","/assets/pro.png","/assets/qq-group.png","/assets/qrious/qrious.min.js","/assets/schema/basic.json","/assets/schema/conditional.json","/assets/schema/fixed.json","/assets/schema/onboarding.json","/assets/schema/sort.json","/assets/schema/validation.json","/assets/screenshot/architecture.png","/assets/screenshot/basic.png","/assets/screenshot/bundle-size.png","/assets/screenshot/desktop.png","/assets/screenshot/ipad.png","/assets/screenshot/iphone.png","/assets/screenshot/ms.png","/assets/screenshot/pro.png","/assets/screenshot/start.png","/assets/screenshot/yun.png","/assets/style.compact.css","/assets/style.dark.css","/assets/xlsx/cpexcel.js","/assets/xlsx/xlsx.full.min.js"],"patterns":[]}],"dataGroups":[],"hashTable":{"/160.8933dcb761850593.js":"5c445bbdcf88580757bfc74de2ef3c0410de8202","/274.5054fb0545474495.js":"fcfe8c021a3a088f8eb592cd6172b02c55125a2c","/311.f44daf8ad262677d.js":"d8220acb06fb6db77ab0a08b59723b38a7b3f45f","/324.7b8f4d584c4d0e3b.js":"44684a5477e4efcb350b2ab0bcb5d587e42af7da","/414.bc6c8dde47fd17a6.js":"383b53a54b7e07f7fc4bbfd9c38708352637ba38","/440.22e24eb06a6cfa61.js":"c6b45ad15b2add7fdfcd65359581db0f2703efc6","/491.d266fd791b98c4a4.js":"f74d65faa909e1daa02ef85aa64a5fd8d1f665ab","/520.ef1eb512a64527da.js":"bcebb1a63a11b743454f40ad02ab4ddc393f0df1","/598.000ee902c5c77d7d.js":"f71518a7d1a84dfa226a6207c00fbf5a9616b92e","/696.09f163fa9e095620.js":"4babf678bb0d8be6aeee6b3ac543a6fb748acfb8","/711.82e87176b4aa9476.js":"1743f5ba1eac4dfe62b3680b4493bd8a0c2b2da4","/739.4d97e40d86fc9d17.js":"65f0da91db4548587421813635a8219095e4ea21","/821.bd243b482a51497d.js":"e7b00aba6724d9d0ffeb0a486f163057aa0a9ae5","/960.ef1d2e57f89cc309.js":"46cd06393c1ccc42801ac441128a4a3da216abe3","/967.2c74f7f0ee62fb89.js":"9dcaee343178a7765108a02dda92939ce16d032b","/assets/LOGO.ai":"f0eb50ff534d6596d2e66439066909d965fd74f2","/assets/color.less":"412eb726abb18f6960c32fc0bb0d589384e41f8a","/assets/demo.docx":"e6cf4a7b4a490811ed5bec39e8cf203824e8703f","/assets/demo.pdf":"05248c1d4a636ee577f515809534ca1c85cd45c2","/assets/demo.pptx":"09fcb13206d59676838c2682a2a9b62f0a11863b","/assets/demo.xlsx":"fbfaf8aa861857adadaf89b28fe31ad3100395ea","/assets/demo.zip":"99584e56a5910ccb3d58d6dbbbf4c341747b9d57","/assets/donate.png":"e00d7905db3e9e5a8365072da22bf4816224a79c","/assets/highlight.pack.js":"d43298ac40a94f15d24baaa1f9d4087a7c1a2146","/assets/icons/icon-128x128.png":"a64acae4187c0ac026f569727d427e510e57bd3c","/assets/icons/icon-144x144.png":"3777651bff501b02af74e14a4a7d97330ed06b51","/assets/icons/icon-152x152.png":"1ce29288030cd2787bca6f9e20a9d9ea543c807d","/assets/icons/icon-192x192.png":"027f8042ef3f22333b7f57463f764c14fb10ddda","/assets/icons/icon-384x384.png":"8c398368508ae5b7e7b0f0b500493cb75e5d1ada","/assets/icons/icon-512x512.png":"a8d39cf76ddcb33fa87d534476b2cdefa733d5fe","/assets/icons/icon-72x72.png":"3771059af6090c411bae02002f2e1d7877c368e9","/assets/icons/icon-96x96.png":"400b8ad0e5b8bf5ac0740b3f480e713b2a3fc0e5","/assets/img/404.jpg":"9604038f6b13cb304a14a13b2fa76d43444b4414","/assets/img/avatar.jpg":"1258f9ead6901ff45abd313a1b4f265749749b58","/assets/img/form-input.png":"75c924b9bd023a5e27e9745936a27caaf20a1537","/assets/img/logo-color.png":"8defcb0c2b47a66d7c1b57f78525e488adc62642","/assets/img/logo-color.svg":"587f7e7d6cacc6eb7222b99c08d3df8abc8edd4e","/assets/img/logo-full.svg":"fed68d999561a3180b925071180d3d4cfd2b8440","/assets/img/logo.png":"7dcbf051ab322ef1bd076940e981bf9abdd5ae78","/assets/img/logo.svg":"a2334b77c19d8dc880bbbd82e9939a0aa8d59573","/assets/img/ng-alain.svg":"fb55683a364df5de725cb98a7c51b2eb21ca4de6","/assets/img/plnkr.png":"dc4da4819d5a9b4ff44f1457f96808a761ab9143","/assets/img/zorro.svg":"82d83c92dff3114bd45e985e3c8e402f37a4beb9","/assets/jszip/jszip.min.js":"c96375d50e72b199aa54de7b9ad908fd5a2dc7bc","/assets/logo-color.svg":"587f7e7d6cacc6eb7222b99c08d3df8abc8edd4e","/assets/logo-full.svg":"fed68d999561a3180b925071180d3d4cfd2b8440","/assets/logo.svg":"a2334b77c19d8dc880bbbd82e9939a0aa8d59573","/assets/plyr/plyr.css":"3e9561fb7a2a70b93bb1014f5d958b123fe61764","/assets/plyr/plyr.min.js":"9b165c0e728a0ac4e2cddc944c9a2c5819ca7342","/assets/plyr/plyr.svg":"bc98e4a347921594352fbae53aaad185c0c7f6b5","/assets/pro.png":"0e8e2bd64766aab6e12f44607ad7e92aec241468","/assets/qq-group.png":"1effddfab735644966df1759c2768f282a3e650e","/assets/qrious/qrious.min.js":"a9271e81e2ac6a692b1c133811afa33f0f3d7dc5","/assets/schema/basic.json":"d3b26817208571cfed1a5dd667875c358b1d7e1f","/assets/schema/conditional.json":"204f15af35cc98d5d692c7265d84d2645a6394f0","/assets/schema/fixed.json":"f4d6c6c66503ec0c817ab89e8538c2be028c7cff","/assets/schema/onboarding.json":"20c6f311cc99ccbf7180afb906e9abf74473786b","/assets/schema/sort.json":"850f554e1a7db144e9ad305b6a3ad79bfb58ca28","/assets/schema/validation.json":"0a5971cb42a49672e0005b88036ef47bc8cebe94","/assets/screenshot/architecture.png":"9e19b12a25deab3280ebf5795597a90af29c4c38","/assets/screenshot/basic.png":"42a70c07d9f35413991972634011459fdb010022","/assets/screenshot/bundle-size.png":"f67a8b0678161abce9afcb694db3c02d3b4b5f73","/assets/screenshot/desktop.png":"42a70c07d9f35413991972634011459fdb010022","/assets/screenshot/ipad.png":"0fc5d85a81da2057ec68fc9094c0cb5c862bf309","/assets/screenshot/iphone.png":"6b7d70c66cd422ad5aee06d91ddb39c7fd0558bb","/assets/screenshot/ms.png":"26b0065c7c5d4f9f9c6b0efa4915eb6576caee75","/assets/screenshot/pro.png":"37bd67671530613e955593eb3fc818e27d18dcb6","/assets/screenshot/start.png":"8af50c7dbc9bab333f7e88b67debb6657bc61ed9","/assets/screenshot/yun.png":"b0e3dec2af4dfae8f25e5d90f19cd3c60107e89f","/assets/style.compact.css":"67e22f2a85b270c97c0ecafb6b1a81216940467d","/assets/style.dark.css":"c80f48de51ffaef4505b64e69bf72724372706c3","/assets/xlsx/cpexcel.js":"9191595b39ba1918d32fb250d3ff21d07f99fc19","/assets/xlsx/xlsx.full.min.js":"7f749f81a45a53229136c6c1f1d50dcb16ddc233","/index.html":"7a051e6de6cc068adf319ad11dca9726ae8b3c45","/main.17624238cd20d61f.js":"5c6618eb208b6e553765c09fe8fda7314ed71210","/ngsw-worker.js":"72aa104f807a27569236249011de1e06b58f2fd0","/polyfills.6bed21258378d496.js":"d7baf2ea4ad968030720714f5655abad5c1f278e","/runtime.feca721eac1c7652.js":"0c2fcd04cd33e7bd7a29b98fccaafcdbfb91a042","/safety-worker.js":"70914dc203fa1f881e56f2b794d7a4f9c48ee745","/scripts.c2e9a31bbab5d761.js":"ca73a628d638d603be98d5eb8fd41f25740268e4","/styles.de0008e7ab4a49a2.css":"29deaeb56c3fd36e9ae602f5bcd79cdbe8d4e41d","/worker-basic.min.js":"70914dc203fa1f881e56f2b794d7a4f9c48ee745"},"navigationUrls":[{"positive":true,"regex":"^\\/.*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*\\.[^/]*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*__[^/]*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?[^/]*__[^/]*\\/.*$"},{"positive":false,"regex":"^\\/(?:.+\\/)?stackblitz$"},{"positive":false,"regex":"^\\/version\\/.*$"},{"positive":false,"regex":"^\\/issue-helper\\/.*$"},{"positive":false,"regex":"^\\/docs\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/docs\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/components\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/components\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/cli\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/cli\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/theme\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/theme\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/auth\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/auth\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/acl\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/acl\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/form\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/form\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/cache\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/cache\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/chart\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/chart\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/mock\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/mock\\/[^/][^/]*$"},{"positive":false,"regex":"^\\/util\\/(?:.+\\/)?[^/]*$"},{"positive":false,"regex":"^\\/util\\/[^/][^/]*$"}],"navigationRequestStrategy":"performance","local":"zh"} diff --git a/runtime.452bb9336815337b.js b/runtime.feca721eac1c7652.js similarity index 60% rename from runtime.452bb9336815337b.js rename to runtime.feca721eac1c7652.js index ee97818e0..68263bf7e 100644 --- a/runtime.452bb9336815337b.js +++ b/runtime.feca721eac1c7652.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return v[e].call(t.exports,t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,i,d)=>{if(!t){var a=1/0;for(f=0;f=d)&&Object.keys(r.O).every(p=>r.O[p](t[o]))?t.splice(o--,1):(l=!1,d0&&e[f-1][2]>d;f--)e[f]=e[f-1];e[f]=[t,i,d]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{160:"8933dcb761850593",274:"5054fb0545474495",311:"640905cecd79cc2d",324:"7b8f4d584c4d0e3b",414:"bc6c8dde47fd17a6",440:"22e24eb06a6cfa61",491:"d266fd791b98c4a4",520:"ef1eb512a64527da",598:"000ee902c5c77d7d",696:"09f163fa9e095620",711:"82e87176b4aa9476",739:"4d97e40d86fc9d17",821:"bd243b482a51497d",960:"ef1d2e57f89cc309",967:"2c74f7f0ee62fb89"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="site:";r.l=(t,i,d,f)=>{if(e[t])e[t].push(i);else{var a,l;if(void 0!==d)for(var o=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(b);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(p)),g)return g(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(i,d)=>{var f=r.o(e,i)?e[i]:void 0;if(0!==f)if(f)d.push(f[2]);else if(666!=i){var a=new Promise((c,s)=>f=e[i]=[c,s]);d.push(f[2]=a);var l=r.p+r.u(i),o=new Error;r.l(l,c=>{if(r.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var s=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;o.message="Loading chunk "+i+" failed.\n("+s+": "+b+")",o.name="ChunkLoadError",o.type=s,o.request=b,f[1](o)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,d)=>{var o,u,[f,a,l]=d,c=0;if(f.some(b=>0!==e[b])){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(l)var s=l(r)}for(i&&i(d);c{"use strict";var e,v={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return v[e].call(t.exports,t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,d,i)=>{if(!t){var a=1/0;for(f=0;f=i)&&Object.keys(r.O).every(p=>r.O[p](t[o]))?t.splice(o--,1):(l=!1,i0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[t,d,i]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{160:"8933dcb761850593",274:"5054fb0545474495",311:"f44daf8ad262677d",324:"7b8f4d584c4d0e3b",414:"bc6c8dde47fd17a6",440:"22e24eb06a6cfa61",491:"d266fd791b98c4a4",520:"ef1eb512a64527da",598:"000ee902c5c77d7d",696:"09f163fa9e095620",711:"82e87176b4aa9476",739:"4d97e40d86fc9d17",821:"bd243b482a51497d",960:"ef1d2e57f89cc309",967:"2c74f7f0ee62fb89"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="site:";r.l=(t,d,i,f)=>{if(e[t])e[t].push(d);else{var a,l;if(void 0!==i)for(var o=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(b);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(p)),g)return g(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(d,i)=>{var f=r.o(e,d)?e[d]:void 0;if(0!==f)if(f)i.push(f[2]);else if(666!=d){var a=new Promise((c,s)=>f=e[d]=[c,s]);i.push(f[2]=a);var l=r.p+r.u(d),o=new Error;r.l(l,c=>{if(r.o(e,d)&&(0!==(f=e[d])&&(e[d]=void 0),f)){var s=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;o.message="Loading chunk "+d+" failed.\n("+s+": "+b+")",o.name="ChunkLoadError",o.type=s,o.request=b,f[1](o)}},"chunk-"+d,d)}else e[d]=0},r.O.j=d=>0===e[d];var n=(d,i)=>{var o,u,[f,a,l]=i,c=0;if(f.some(b=>0!==e[b])){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(l)var s=l(r)}for(d&&d(i);chttps://ng-alain.com/2023-10-19T10:34:19.746Zhourly1.0https://ng-alain.com/acl/control/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/acl/getting-started/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/acl/guard/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/auth/get/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/auth/getting-started/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/auth/guard/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/auth/qa/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/auth/send/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/auth/service/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/auth/set/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/cache/getting-started/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/cache/service/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/bar/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/card/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/chart-echarts/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/custom/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/faq/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/gauge/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/getting-started/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/mini-area/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/mini-bar/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/mini-progress/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/number-info/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/pie/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/radar/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/single-bar/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/tag-cloud/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/timeline/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/trend/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/chart/water-wave/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/cli/add/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/cli/default/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/cli/generate/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/cli/getting-started/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/cli/plugin/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/cli/sta/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/auto-focus/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/avatar-list/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/cell/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/count-down/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/date-picker/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/down-file/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/ellipsis/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/error-collect/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/exception/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/footer-toolbar/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/full-content/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/global-footer/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/highlight/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/hotkey/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/let/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/loading/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/lodop/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/media/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/notice-icon/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/observers/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/onboarding/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/page-header/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/pdf/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/qr/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/quick-menu/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/result/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/reuse-tab/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/se/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/sg/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/st/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/sv/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/tag-select/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/xlsx/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/components/zip/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/acl/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/architecture/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/auth/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/cache/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/changelog/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/cli/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/contributing/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/deploy/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/faq/en2023-10-19T10:34:19.746Zhourly0.8https://ng-alain.com/docs/getting-started/en2023-10-19T10:34:19.746Zhourly0.8https://ng-alain.com/docs/global-config/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/graph/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/how-to-start/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/i18n/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/import/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/mock/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/module/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/new-component/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/new-page/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/performance/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/server/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/ssr/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/style-guide/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/theme/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/upgrade-v16/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/docs/upgrade/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/acl/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/array/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/autocomplete/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/boolean/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/cascader/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/checkbox/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/conditional/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/custom/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/customize/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/date/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/error/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/getting-started/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/i18n/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/layout/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/markdown/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/mention/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/modal/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/number/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/object/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/qa/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/radio/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/rate/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/schema/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/select/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/slider/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/string/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/tag/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/text/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/textarea/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/time/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/tinymce/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/transfer/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/tree-select/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/form/upload/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/mock/getting-started/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/mock/rule/en2023-10-19T10:34:19.746Zhourly0.6https://ng-alain.com/theme/component-styles/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/customize-theme/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/date/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/drawer/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/getting-started/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/global/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/http/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/icon/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/index/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/keys/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/layout-blank/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/layout-default/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/locale/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/menu/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/modal/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/performance/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/responsive/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/rtl/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/safe/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/settings/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/theme-btn/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/title/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/tools/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/yn/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/array/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/browser/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/date-time/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/decorator/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/form/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/format/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/getting-started/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/math/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/other/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/pipes-currency/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/pipes-filter/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/pipes-format/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/token/en2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/acl/control/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/acl/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/acl/guard/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/auth/get/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/auth/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/auth/guard/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/auth/qa/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/auth/send/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/auth/service/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/auth/set/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/cache/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/cache/service/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/bar/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/card/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/chart-echarts/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/custom/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/faq/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/gauge/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/mini-area/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/mini-bar/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/mini-progress/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/number-info/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/pie/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/radar/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/single-bar/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/tag-cloud/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/timeline/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/trend/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/chart/water-wave/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/cli/add/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/cli/default/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/cli/generate/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/cli/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/cli/plugin/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/cli/sta/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/auto-focus/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/avatar-list/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/cell/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/count-down/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/date-picker/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/down-file/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/ellipsis/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/error-collect/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/exception/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/footer-toolbar/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/full-content/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/global-footer/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/highlight/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/hotkey/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/let/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/loading/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/lodop/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/media/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/notice-icon/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/observers/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/onboarding/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/page-header/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/pdf/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/qr/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/quick-menu/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/result/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/reuse-tab/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/se/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/sg/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/st/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/sv/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/tag-select/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/xlsx/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/components/zip/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/acl/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/architecture/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/auth/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/cache/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/changelog/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/cli/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/contributing/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/deploy/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/faq/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/global-config/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/graph/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/how-to-start/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/i18n/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/import/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/mock/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/module/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/new-component/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/new-page/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/performance/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/server/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/ssr/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/style-guide/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/theme/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/upgrade-v16/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/docs/upgrade/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/acl/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/array/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/autocomplete/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/boolean/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/cascader/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/checkbox/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/conditional/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/custom/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/customize/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/date/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/error/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/i18n/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/layout/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/markdown/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/mention/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/modal/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/number/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/object/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/qa/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/radio/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/rate/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/schema/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/select/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/slider/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/string/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/tag/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/text/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/textarea/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/time/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/tinymce/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/transfer/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/tree-select/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/form/upload/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/mock/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/mock/rule/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/component-styles/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/customize-theme/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/date/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/drawer/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/global/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/http/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/icon/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/index/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/keys/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/layout-blank/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/layout-default/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/locale/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/menu/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/modal/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/performance/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/responsive/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/rtl/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/safe/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/settings/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/theme-btn/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/title/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/tools/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/theme/yn/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/array/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/browser/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/date-time/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/decorator/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/form/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/format/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/getting-started/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/math/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/other/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/pipes-currency/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/pipes-filter/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/pipes-format/zh2023-10-19T10:34:19.747Zhourly0.6https://ng-alain.com/util/token/zh2023-10-19T10:34:19.747Zhourly0.6 \ No newline at end of file +https://ng-alain.com/2023-10-20T10:49:33.301Zhourly1.0https://ng-alain.com/acl/control/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/acl/getting-started/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/acl/guard/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/get/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/getting-started/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/guard/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/qa/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/send/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/service/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/set/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cache/getting-started/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cache/service/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/bar/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/card/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/chart-echarts/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/custom/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/faq/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/gauge/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/getting-started/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/mini-area/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/mini-bar/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/mini-progress/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/number-info/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/pie/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/radar/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/single-bar/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/tag-cloud/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/timeline/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/trend/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/water-wave/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/add/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/default/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/generate/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/getting-started/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/plugin/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/sta/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/auto-focus/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/avatar-list/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/cell/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/count-down/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/date-picker/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/down-file/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/ellipsis/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/error-collect/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/exception/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/footer-toolbar/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/full-content/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/global-footer/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/highlight/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/hotkey/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/let/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/loading/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/lodop/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/media/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/notice-icon/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/observers/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/onboarding/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/page-header/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/pdf/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/qr/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/quick-menu/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/result/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/reuse-tab/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/se/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/sg/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/st/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/sv/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/tag-select/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/xlsx/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/zip/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/acl/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/architecture/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/auth/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/cache/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/changelog/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/cli/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/contributing/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/deploy/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/faq/en2023-10-20T10:49:33.302Zhourly0.8https://ng-alain.com/docs/getting-started/en2023-10-20T10:49:33.302Zhourly0.8https://ng-alain.com/docs/global-config/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/graph/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/how-to-start/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/i18n/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/import/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/mock/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/module/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/new-component/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/new-page/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/performance/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/server/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/ssr/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/style-guide/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/theme/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/upgrade-v16/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/upgrade/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/acl/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/array/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/autocomplete/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/boolean/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/cascader/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/checkbox/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/conditional/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/custom/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/customize/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/date/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/error/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/getting-started/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/i18n/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/layout/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/markdown/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/mention/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/modal/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/number/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/object/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/qa/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/radio/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/rate/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/schema/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/select/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/slider/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/string/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/tag/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/text/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/textarea/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/time/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/tinymce/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/transfer/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/tree-select/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/upload/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/mock/getting-started/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/mock/rule/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/component-styles/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/customize-theme/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/date/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/drawer/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/getting-started/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/global/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/http/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/icon/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/index/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/keys/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/layout-blank/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/layout-default/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/locale/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/menu/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/modal/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/performance/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/responsive/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/rtl/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/safe/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/settings/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/theme-btn/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/title/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/tools/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/theme/yn/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/array/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/browser/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/date-time/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/decorator/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/form/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/format/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/getting-started/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/math/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/other/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/pipes-currency/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/pipes-filter/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/pipes-format/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/util/token/en2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/acl/control/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/acl/getting-started/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/acl/guard/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/get/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/getting-started/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/guard/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/qa/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/send/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/service/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/auth/set/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cache/getting-started/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cache/service/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/bar/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/card/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/chart-echarts/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/custom/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/faq/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/gauge/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/getting-started/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/mini-area/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/mini-bar/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/mini-progress/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/number-info/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/pie/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/radar/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/single-bar/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/tag-cloud/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/timeline/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/trend/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/chart/water-wave/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/add/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/default/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/generate/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/getting-started/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/plugin/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/cli/sta/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/auto-focus/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/avatar-list/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/cell/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/count-down/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/date-picker/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/down-file/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/ellipsis/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/error-collect/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/exception/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/footer-toolbar/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/full-content/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/global-footer/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/highlight/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/hotkey/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/let/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/loading/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/lodop/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/media/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/notice-icon/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/observers/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/onboarding/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/page-header/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/pdf/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/qr/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/quick-menu/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/result/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/reuse-tab/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/se/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/sg/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/st/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/sv/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/tag-select/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/xlsx/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/components/zip/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/acl/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/architecture/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/auth/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/cache/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/changelog/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/cli/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/contributing/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/deploy/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/faq/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/getting-started/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/global-config/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/graph/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/how-to-start/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/i18n/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/import/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/mock/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/module/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/new-component/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/new-page/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/performance/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/server/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/ssr/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/style-guide/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/theme/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/upgrade-v16/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/docs/upgrade/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/acl/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/array/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/autocomplete/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/boolean/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/cascader/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/checkbox/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/conditional/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/custom/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/customize/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/date/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/error/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/getting-started/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/i18n/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/layout/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/markdown/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/mention/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/modal/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/number/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/object/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/qa/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/radio/zh2023-10-20T10:49:33.302Zhourly0.6https://ng-alain.com/form/rate/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/schema/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/select/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/slider/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/string/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/tag/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/text/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/textarea/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/time/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/tinymce/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/transfer/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/tree-select/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/form/upload/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/mock/getting-started/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/mock/rule/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/component-styles/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/customize-theme/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/date/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/drawer/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/getting-started/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/global/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/http/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/icon/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/index/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/keys/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/layout-blank/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/layout-default/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/locale/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/menu/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/modal/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/performance/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/responsive/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/rtl/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/safe/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/settings/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/theme-btn/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/title/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/tools/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/theme/yn/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/array/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/browser/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/date-time/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/decorator/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/form/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/format/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/getting-started/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/math/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/other/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/pipes-currency/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/pipes-filter/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/pipes-format/zh2023-10-20T10:49:33.303Zhourly0.6https://ng-alain.com/util/token/zh2023-10-20T10:49:33.303Zhourly0.6 \ No newline at end of file