From 1b925817f2b7ef8f898e366768aea41e46a5abe8 Mon Sep 17 00:00:00 2001 From: Nikita Kryuchkov Date: Thu, 2 Apr 2020 12:21:19 +0300 Subject: [PATCH 1/2] Change ports for skychat, skysocks, hypervisor API/UI --- README.md | 12 +-- cmd/apps/skychat/README.md | 4 +- cmd/apps/skychat/chat.go | 2 +- cmd/apps/skysocks/README.md | 2 +- cmd/hypervisor/README.md | 4 +- .../hypervisor.postman_collection.json | 80 +++++++++---------- pkg/hypervisor/config.go | 2 +- pkg/skyenv/values.go | 4 +- pkg/visor/visor_test.go | 2 +- static/skywire-manager-src/README.md | 4 +- static/skywire-manager-src/proxy.config.json | 4 +- .../pages/node/actions/actions.component.ts | 2 +- .../actions/terminal/terminal.component.ts | 2 +- 13 files changed, 62 insertions(+), 62 deletions(-) diff --git a/README.md b/README.md index 6a192cbd5..33479be04 100644 --- a/README.md +++ b/README.md @@ -369,7 +369,7 @@ $ docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' S #### 3. Open in browser containerized `skychat` application ```bash -$ firefox http://$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' SKY01):8000 +$ firefox http://$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' SKY01):8001 ``` #### 4. Create new dockerized `skywire-visor`s @@ -410,7 +410,7 @@ $ docker run -it -v /tmp/SKYNODE:/sky --network=SKYNET --name=SKYNODE skywire-ru # [2019-03-15T13:55:10Z] INFO [trmanager]: Starting transport manager # [2019-03-15T13:55:10Z] INFO [router]: Got new App request with type Init: {"app-name":"skychat",# "app-version":"1.0","protocol-version":"0.0.1"} # [2019-03-15T13:55:10Z] INFO [router]: Handshaked new connection with the app skychat.v1.0 -# [2019-03-15T13:55:10Z] INFO [skychat.v1.0]: 2019/03/15 13:55:10 Serving HTTP on :8000 +# [2019-03-15T13:55:10Z] INFO [skychat.v1.0]: 2019/03/15 13:55:10 Serving HTTP on :8001 # [2019-03-15T13:55:10Z] INFO [router]: Got new App request with type Init: {"app-name":"skysocks",# "app-version":"1.0","protocol-version":"0.0.1"} # [2019-03-15T13:55:10Z] INFO [router]: Handshaked new connection with the app skysocks.v1.0 ``` @@ -440,13 +440,13 @@ Idea of test from Erlang classics: $ make run $ make docker-run # Open in browser skychat application -$ firefox http://$SW_VISOR_B:8000 & +$ firefox http://$SW_VISOR_B:8001 & # add transport $ ./skywire-cli add-transport $SW_VISOR_B_PK # "Hello Mike!" - "Hello Joe!" - "System is working!" -$ curl --data {'"recipient":"'$SW_VISOR_A_PK'", "message":"Hello Mike!"}' -X POST http://$SW_VISOR_B:8000/message -$ curl --data {'"recipient":"'$SW_VISOR_B_PK'", "message":"Hello Joe!"}' -X POST http://$SW_VISOR_A:8000/message -$ curl --data {'"recipient":"'$SW_VISOR_A_PK'", "message":"System is working!"}' -X POST http://$SW_VISOR_B:8000/message +$ curl --data {'"recipient":"'$SW_VISOR_A_PK'", "message":"Hello Mike!"}' -X POST http://$SW_VISOR_B:8001/message +$ curl --data {'"recipient":"'$SW_VISOR_B_PK'", "message":"Hello Joe!"}' -X POST http://$SW_VISOR_A:8001/message +$ curl --data {'"recipient":"'$SW_VISOR_A_PK'", "message":"System is working!"}' -X POST http://$SW_VISOR_B:8001/message # Teardown $ make stop && make docker-stop ``` diff --git a/cmd/apps/skychat/README.md b/cmd/apps/skychat/README.md index 0aa9b2cde..043b2ca65 100644 --- a/cmd/apps/skychat/README.md +++ b/cmd/apps/skychat/README.md @@ -35,7 +35,7 @@ Create 2 visor config files: "version": "1.0", "auto_start": true, "port": 1, - "args": ["-addr", ":8001"] + "args": ["-addr", ":8002"] } ] } @@ -49,4 +49,4 @@ $ ./skywire-visor skywire1.json $ ./skywire-visor skywire2.json ``` -Chat interface will be available on ports `8000` and `8001`. +Chat interface will be available on ports `8001` and `8002`. diff --git a/cmd/apps/skychat/chat.go b/cmd/apps/skychat/chat.go index 189f354f0..4dfe3d76b 100644 --- a/cmd/apps/skychat/chat.go +++ b/cmd/apps/skychat/chat.go @@ -30,7 +30,7 @@ const ( port = routing.Port(1) ) -var addr = flag.String("addr", ":8000", "address to bind") +var addr = flag.String("addr", ":8001", "address to bind") var r = netutil.NewRetrier(50*time.Millisecond, 5, 2) var ( diff --git a/cmd/apps/skysocks/README.md b/cmd/apps/skysocks/README.md index f69f0e60a..e3b1dfa1f 100644 --- a/cmd/apps/skysocks/README.md +++ b/cmd/apps/skysocks/README.md @@ -56,5 +56,5 @@ $ ./skywire-visor skywire2.json You should be able to connect to a secondary visor via `curl`: ```sh -$ curl -v -x socks5://123456:@localhost:1080 https://api.ipify.org +$ curl -v -x socks5://123456:@localhost:9443 https://api.ipify.org ``` diff --git a/cmd/hypervisor/README.md b/cmd/hypervisor/README.md index 4ba9cc9cf..d37a25be4 100644 --- a/cmd/hypervisor/README.md +++ b/cmd/hypervisor/README.md @@ -14,7 +14,7 @@ $ hypervisor gen-config $ hypervisor --mock ``` -By default, the RESTful API is served on `:8080`. +By default, the RESTful API is served on `:8000`. ## Endpoints Documentation @@ -22,7 +22,7 @@ Endpoints are documented in the provided [Postman](https://www.getpostman.com/) ## Web UI -UI is served on the same port as the API (`:8080` by default). Directory to search for the build frontend is passed in the `web_dir` field of the hypervisor's config. +UI is served on the same port as the API (`:8000` by default). Directory to search for the build frontend is passed in the `web_dir` field of the hypervisor's config. ### Authentication information diff --git a/cmd/hypervisor/hypervisor.postman_collection.json b/cmd/hypervisor/hypervisor.postman_collection.json index 3e1ae6b2d..85b963a62 100644 --- a/cmd/hypervisor/hypervisor.postman_collection.json +++ b/cmd/hypervisor/hypervisor.postman_collection.json @@ -15,12 +15,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors", + "raw": "http://localhost:8000/api/visors", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors" @@ -39,12 +39,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors", + "raw": "http://localhost:8000/api/visors", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors" @@ -83,12 +83,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/021c535e45756c63151820c8f31bfbb0efd6d7d49305e133e1650aae889d60ff02", + "raw": "http://localhost:8000/api/visors/021c535e45756c63151820c8f31bfbb0efd6d7d49305e133e1650aae889d60ff02", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -115,12 +115,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/02500488fc25814e55e6c740537ed14ca677aebe8a883681bae718a36516a7b0a2", + "raw": "http://localhost:8000/api/visors/02500488fc25814e55e6c740537ed14ca677aebe8a883681bae718a36516a7b0a2", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -167,12 +167,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/021c535e45756c63151820c8f31bfbb0efd6d7d49305e133e1650aae889d60ff02/apps", + "raw": "http://localhost:8000/api/visors/021c535e45756c63151820c8f31bfbb0efd6d7d49305e133e1650aae889d60ff02/apps", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -193,12 +193,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/02500488fc25814e55e6c740537ed14ca677aebe8a883681bae718a36516a7b0a2/apps", + "raw": "http://localhost:8000/api/visors/02500488fc25814e55e6c740537ed14ca677aebe8a883681bae718a36516a7b0a2/apps", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -239,12 +239,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/021c535e45756c63151820c8f31bfbb0efd6d7d49305e133e1650aae889d60ff02/apps/foo.v1.0", + "raw": "http://localhost:8000/api/visors/021c535e45756c63151820c8f31bfbb0efd6d7d49305e133e1650aae889d60ff02/apps/foo.v1.0", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -266,12 +266,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/02500488fc25814e55e6c740537ed14ca677aebe8a883681bae718a36516a7b0a2/apps/foo.v1.0/start", + "raw": "http://localhost:8000/api/visors/02500488fc25814e55e6c740537ed14ca677aebe8a883681bae718a36516a7b0a2/apps/foo.v1.0/start", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -321,12 +321,12 @@ "raw": "{\n\t\"autostart\": true,\n\t\"status\": 1\n}" }, "url": { - "raw": "http://localhost:8080/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/apps/foo.v1.0", + "raw": "http://localhost:8000/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/apps/foo.v1.0", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -355,12 +355,12 @@ "raw": "{\n\t\"autostart\": true,\n\t\"status\": 1\n}" }, "url": { - "raw": "http://localhost:8080/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/apps/foo.v1.0", + "raw": "http://localhost:8000/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/apps/foo.v1.0", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -402,12 +402,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transport-types", + "raw": "http://localhost:8000/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transport-types", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -428,12 +428,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transport-types", + "raw": "http://localhost:8000/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transport-types", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -474,12 +474,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transports?logs=true", + "raw": "http://localhost:8000/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transports?logs=true", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -507,12 +507,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transports?logs=true", + "raw": "http://localhost:8000/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transports?logs=true", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -567,12 +567,12 @@ "raw": "{\n\t\"remote_pk\": \"03c497380efd87e19208bb484ee322ede1e091b2a0b653e6d25475f641602376a9\",\n\t\"transport_type\": \"native\",\n\t\"public\": true\n}" }, "url": { - "raw": "http://localhost:8080/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transports", + "raw": "http://localhost:8000/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transports", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -600,12 +600,12 @@ "raw": "{\n\t\"remote_pk\": \"03c497380efd87e19208bb484ee322ede1e091b2a0b653e6d25475f641602376a9\",\n\t\"transport_type\": \"native\",\n\t\"public\": true\n}" }, "url": { - "raw": "http://localhost:8080/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transports", + "raw": "http://localhost:8000/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transports", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -646,12 +646,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transports/70836b44-f6e5-4c17-a5e8-e1cbef89a10f", + "raw": "http://localhost:8000/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transports/70836b44-f6e5-4c17-a5e8-e1cbef89a10f", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -673,12 +673,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transports/2ff2d608-fe14-4c17-938c-3af8afd053ae", + "raw": "http://localhost:8000/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transports/2ff2d608-fe14-4c17-938c-3af8afd053ae", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -720,12 +720,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transports/d5ace20e-06c8-4867-bda2-9449459a9e5a", + "raw": "http://localhost:8000/api/visors/023ab9f45c0eb3625f9848a9ff6822c6d0965a94d3e7955f1869f38153df0e5b64/transports/d5ace20e-06c8-4867-bda2-9449459a9e5a", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", @@ -747,12 +747,12 @@ "raw": "" }, "url": { - "raw": "http://localhost:8080/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transports/2ff2d608-fe14-4c17-938c-3af8afd053ae", + "raw": "http://localhost:8000/api/visors/039337a306ffbd6a7495f79b65aec91ce65756e4fd1cb2cd726840b2eee4fa59c2/transports/2ff2d608-fe14-4c17-938c-3af8afd053ae", "protocol": "http", "host": [ "localhost" ], - "port": "8080", + "port": "8000", "path": [ "api", "visors", diff --git a/pkg/hypervisor/config.go b/pkg/hypervisor/config.go index a057e25ae..a7c9e27f2 100644 --- a/pkg/hypervisor/config.go +++ b/pkg/hypervisor/config.go @@ -16,7 +16,7 @@ import ( const ( defaultWebDir = "./static/skywire-manager-src/dist" - defaultHTTPAddr = ":8080" + defaultHTTPAddr = ":8000" defaultCookieExpiration = 12 * time.Hour hashKeyLen = 64 blockKeyLen = 32 diff --git a/pkg/skyenv/values.go b/pkg/skyenv/values.go index 8b7ca78c6..a508c9727 100644 --- a/pkg/skyenv/values.go +++ b/pkg/skyenv/values.go @@ -41,14 +41,14 @@ const ( const ( SkychatName = "skychat" SkychatPort = uint16(1) - SkychatAddr = ":8000" + SkychatAddr = ":8001" SkysocksName = "skysocks" SkysocksPort = uint16(3) SkysocksClientName = "skysocks-client" SkysocksClientPort = uint16(13) - SkysocksClientAddr = ":1080" + SkysocksClientAddr = ":9443" ) // MustPK unmarshals string PK to cipher.PubKey. It panics if unmarshaling fails. diff --git a/pkg/visor/visor_test.go b/pkg/visor/visor_test.go index a204053c2..85d1b0bbe 100644 --- a/pkg/visor/visor_test.go +++ b/pkg/visor/visor_test.go @@ -55,7 +55,7 @@ func TestMain(m *testing.M) { // conf := Config{LocalPath: "local", AppsPath: "apps"} // conf.Visor.PubKey = pk // conf.Visor.SecKey = sk -// conf.Dmsg.Discovery = "http://skywire.skycoin.com:8001" +// conf.Dmsg.Discovery = "http://skywire.skycoin.com:8002" // conf.Dmsg.ServerCount = 10 // conf.Transport.Discovery = srv.URL // conf.Apps = []AppConfig{ diff --git a/static/skywire-manager-src/README.md b/static/skywire-manager-src/README.md index 2c2b8f3db..166653065 100644 --- a/static/skywire-manager-src/README.md +++ b/static/skywire-manager-src/README.md @@ -21,7 +21,7 @@ a custom certificate, follow the steps in the [ssl folder](./ssl/README.md) ## Hypervisor configuration -The Hypervisor instance must be running in `http://127.0.0.1:8080`. If it is running in another URL, you can change it in +The Hypervisor instance must be running in `http://127.0.0.1:8000`. If it is running in another URL, you can change it in [proxy.config.json](proxy.config.json) before running the app. ## Running the app @@ -42,4 +42,4 @@ Run `npm run build` to build the project. The build artifacts will be stored in ## Translations -You can find information about how to work with translation files in the [Translations README](/static/skywire-manager-src/src/assets/i18n/README.md). \ No newline at end of file +You can find information about how to work with translation files in the [Translations README](/static/skywire-manager-src/src/assets/i18n/README.md). diff --git a/static/skywire-manager-src/proxy.config.json b/static/skywire-manager-src/proxy.config.json index 25f5ca40d..4d59f228d 100644 --- a/static/skywire-manager-src/proxy.config.json +++ b/static/skywire-manager-src/proxy.config.json @@ -1,11 +1,11 @@ { "/api": { - "target": "https://127.0.0.1:8080", + "target": "https://127.0.0.1:8000", "secure": false, "changeOrigin": true }, "/http-api": { - "target": "http://127.0.0.1:8080", + "target": "http://127.0.0.1:8000", "secure": false, "changeOrigin": true, "pathRewrite": { diff --git a/static/skywire-manager-src/src/app/components/pages/node/actions/actions.component.ts b/static/skywire-manager-src/src/app/components/pages/node/actions/actions.component.ts index b3d77b262..b992ebfa2 100644 --- a/static/skywire-manager-src/src/app/components/pages/node/actions/actions.component.ts +++ b/static/skywire-manager-src/src/app/components/pages/node/actions/actions.component.ts @@ -241,7 +241,7 @@ export class ActionsComponent implements AfterViewInit, OnDestroy { if (selectedOption === 1) { // Open the complete terminal in a new tab. const protocol = window.location.protocol; - const hostname = window.location.host.replace('localhost:4200', '127.0.0.1:8080'); + const hostname = window.location.host.replace('localhost:4200', '127.0.0.1:8000'); window.open(protocol + '//' + hostname + '/pty/' + NodeComponent.getCurrentNodeKey(), '_blank', 'noopener noreferrer'); } else if (selectedOption === 2) { // Open the simple terminal in a modal window. diff --git a/static/skywire-manager-src/src/app/components/pages/node/actions/terminal/terminal.component.ts b/static/skywire-manager-src/src/app/components/pages/node/actions/terminal/terminal.component.ts index 9f5c891b6..e0fb2ae3f 100644 --- a/static/skywire-manager-src/src/app/components/pages/node/actions/terminal/terminal.component.ts +++ b/static/skywire-manager-src/src/app/components/pages/node/actions/terminal/terminal.component.ts @@ -48,7 +48,7 @@ export class TerminalComponent { sanitizer: DomSanitizer, ) { const protocol = location.protocol; - const hostname = window.location.host.replace('localhost:4200', '127.0.0.1:8080'); + const hostname = window.location.host.replace('localhost:4200', '127.0.0.1:8000'); // Calculate the URL of the dmsgpty-ui terminal. this.consoleUrl = sanitizer.bypassSecurityTrustResourceUrl(protocol + '//' + hostname + '/pty/' + data.pk); From 372d53225ef859b8f6c0002a5e290c1c43f2c6a2 Mon Sep 17 00:00:00 2001 From: Nikita Kryuchkov Date: Thu, 2 Apr 2020 12:42:37 +0300 Subject: [PATCH 2/2] Change port in the packed frontend --- static/skywire-manager-src/dist/main.654b18e8a3333365fcc6.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/skywire-manager-src/dist/main.654b18e8a3333365fcc6.js b/static/skywire-manager-src/dist/main.654b18e8a3333365fcc6.js index e238fd54c..044d75a46 100644 --- a/static/skywire-manager-src/dist/main.654b18e8a3333365fcc6.js +++ b/static/skywire-manager-src/dist/main.654b18e8a3333365fcc6.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+s0g":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(t,e,n){!function(t){"use strict";t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/X5v":function(t,e,n){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},0:function(t,e,n){t.exports=n("zUnb")},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"2UWG":function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3");function o(t){return void 0!==t._view.width}function l(t){var e,n,i,r,l=t._view;if(o(t)){var a=l.width/2;e=l.x-a,n=l.x+a,i=Math.min(l.y,l.base),r=Math.max(l.y,l.base)}else{var s=l.height/2;e=Math.min(l.x,l.base),n=Math.max(l.x,l.base),i=l.y-s,r=l.y+s}return{left:e,top:i,right:n,bottom:r}}i._set("global",{elements:{rectangle:{backgroundColor:i.global.defaultColor,borderColor:i.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),t.exports=r.extend({draw:function(){var t,e,n,i,r,o,l,a=this._chart.ctx,s=this._view,u=s.borderWidth;if(s.horizontal?(n=s.y-s.height/2,i=s.y+s.height/2,r=(e=s.x)>(t=s.base)?1:-1,o=1,l=s.borderSkipped||"left"):(t=s.x-s.width/2,e=s.x+s.width/2,r=1,o=(i=s.base)>(n=s.y)?1:-1,l=s.borderSkipped||"bottom"),u){var c=Math.min(Math.abs(t-e),Math.abs(n-i)),d=(u=u>c?c:u)/2,h=t+("left"!==l?d*r:0),p=e+("right"!==l?-d*r:0),f=n+("top"!==l?d*o:0),m=i+("bottom"!==l?-d*o:0);h!==p&&(n=f,i=m),f!==m&&(t=h,e=p)}a.beginPath(),a.fillStyle=s.backgroundColor,a.strokeStyle=s.borderColor,a.lineWidth=u;var g=[[t,i],[t,n],[e,n],[e,i]],_=["bottom","left","top","right"].indexOf(l,0);function y(t){return g[(_+t)%4]}-1===_&&(_=0);var v=y(0);a.moveTo(v[0],v[1]);for(var b=1;b<4;b++)v=y(b),a.lineTo(v[0],v[1]);a.fill(),u&&a.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=!1;if(this._view){var i=l(this);n=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return n},inLabelRange:function(t,e){if(!this._view)return!1;var n=l(this);return o(this)?t>=n.left&&t<=n.right:e>=n.top&&e<=n.bottom},inXRange:function(t){var e=l(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=l(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,n=this._view;return o(this)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},"2fjn":function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2ykv":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"35yf":function(t,e,n){"use strict";n("CDJp")._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),t.exports=function(t){t.controllers.scatter=t.controllers.line}},"3E1r":function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n("wd/R"))},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"5ZZ7":function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('
    ');var n=t.data,i=n.datasets,r=n.labels;if(i.length)for(var o=0;o'),r[o]&&e.push(r[o]),e.push("");return e.push("
"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var r=t.getDatasetMeta(0),l=e.datasets[0],a=r.data[i].custom||{},s=o.valueAtIndexOrDefault,u=t.options.elements.arc;return{text:n,fillStyle:a.backgroundColor?a.backgroundColor:s(l.backgroundColor,i,u.backgroundColor),strokeStyle:a.borderColor?a.borderColor:s(l.borderColor,i,u.borderColor),lineWidth:a.borderWidth?a.borderWidth:s(l.borderWidth,i,u.borderWidth),hidden:isNaN(l.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,o=e.index,l=this.chart;for(n=0,i=(l.data.datasets||[]).length;n0&&!isNaN(t)?2*Math.PI/e:0}})}},"5ey7":function(t,e,n){var i={"./en.json":["amrp",5],"./es.json":["ZF/7",6],"./es_base.json":["bIFx",7]};function r(t){if(!n.o(i,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=i[t],r=e[0];return n.e(e[1]).then((function(){return n.t(r,3)}))}r.keys=function(){return Object.keys(i)},r.id="5ey7",t.exports=r},"6+QB":function(t,e,n){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(t,e,n){!function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6rqY":function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),o=n("mlr9"),l=n("fELs"),a=n("iM7B"),s=n("VgNv");t.exports=function(t){function e(e){var n=e.options;r.each(e.scales,(function(t){l.removeBox(e,t)})),n=r.configMerge(t.defaults.global,t.defaults[e.config.type],n),e.options=e.config.options=n,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=n.tooltips,e.tooltip.initialize()}function n(t){return"top"===t||"bottom"===t}t.types={},t.instances={},t.controllers={},r.extend(t.prototype,{construct:function(e,n){var o=this;n=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=r.configMerge(i.global,i[t.type],t.options||{}),t}(n);var l=a.acquireContext(e,n),s=l&&l.canvas,u=s&&s.height,c=s&&s.width;o.id=r.uid(),o.ctx=l,o.canvas=s,o.config=n,o.width=c,o.height=u,o.aspectRatio=u?c/u:null,o.options=n.options,o._bufferedRender=!1,o.chart=o,o.controller=o,t.instances[o.id]=o,Object.defineProperty(o,"data",{get:function(){return o.config.data},set:function(t){o.config.data=t}}),l&&s?(o.initialize(),o.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return s.notify(t,"beforeInit"),r.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),s.notify(t,"afterInit"),t},clear:function(){return r.canvas.clear(this),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,o=n.maintainAspectRatio&&e.aspectRatio||null,l=Math.max(0,Math.floor(r.getMaximumWidth(i))),a=Math.max(0,Math.floor(o?l/o:r.getMaximumHeight(i)));if((e.width!==l||e.height!==a)&&(i.width=e.width=l,i.height=e.height=a,i.style.width=l+"px",i.style.height=a+"px",r.retinaScale(e,n.devicePixelRatio),!t)){var u={width:l,height:a};s.notify(e,"resize",[u]),e.options.onResize&&e.options.onResize(e,u),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;r.each(e.xAxes,(function(t,e){t.id=t.id||"x-axis-"+e})),r.each(e.yAxes,(function(t,e){t.id=t.id||"y-axis-"+e})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,i=e.options,o=e.scales||{},l=[],a=Object.keys(o).reduce((function(t,e){return t[e]=!1,t}),{});i.scales&&(l=l.concat((i.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(i.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),i.scale&&l.push({options:i.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),r.each(l,(function(i){var l=i.options,s=l.id,u=r.valueOrDefault(l.type,i.dtype);n(l.position)!==n(i.dposition)&&(l.position=i.dposition),a[s]=!0;var c=null;if(s in o&&o[s].type===u)(c=o[s]).options=l,c.ctx=e.ctx,c.chart=e;else{var d=t.scaleService.getScaleConstructor(u);if(!d)return;c=new d({id:s,type:u,options:l,ctx:e.ctx,chart:e}),o[c.id]=c}c.mergeTicksOptions(),i.isDefault&&(e.scale=c)})),r.each(a,(function(t,e){t||delete o[e]})),e.scales=o,t.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,n=[],i=[];return r.each(e.data.datasets,(function(r,o){var l=e.getDatasetMeta(o),a=r.type||e.config.type;if(l.type&&l.type!==a&&(e.destroyDatasetMeta(o),l=e.getDatasetMeta(o)),l.type=a,n.push(l.type),l.controller)l.controller.updateIndex(o),l.controller.linkScales();else{var s=t.controllers[l.type];if(void 0===s)throw new Error('"'+l.type+'" is not a chart type.');l.controller=new s(e,o),i.push(l.controller)}}),e),i},resetElements:function(){var t=this;r.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var n=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),e(n),s._invalidate(n),!1!==s.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var i=n.buildOrUpdateControllers();r.each(n.data.datasets,(function(t,e){n.getDatasetMeta(e).controller.buildOrUpdateElements()}),n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&r.each(i,(function(t){t.reset()})),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],s.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:n.render(t)}},updateLayout:function(){!1!==s.notify(this,"beforeLayout")&&(l.update(this,this.width,this.height),s.notify(this,"afterScaleUpdate"),s.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==s.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t=0;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);s.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this.getDatasetMeta(t),i={meta:n,index:t,easingValue:e};!1!==s.notify(this,"beforeDatasetDraw",[i])&&(n.controller.draw(e),s.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==s.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),s.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return o.modes.single(this,t)},getElementsAtEvent:function(t){return o.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return o.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=o.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return o.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;en?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,r=2*i-1,o=this.alpha()-n.alpha(),l=((r*o==-1?r:(r+o)/(1+r*o))+1)/2,a=1-l;return this.rgb(l*this.red()+a*n.red(),l*this.green()+a*n.green(),l*this.blue()+a*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new o,i=this.values,r=n.values;for(var l in i)i.hasOwnProperty(l)&&("[object Array]"===(e={}.toString.call(t=i[l]))?r[l]=t.slice(0):"[object Number]"===e?r[l]=t:console.error("unexpected color value:",t));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n("wd/R"))},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n("wd/R"))},"8//i":function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),o=n("g8vO");t.exports=function(t){var e=i.global,n={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:o.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function l(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function a(t){var n=t.options.pointLabels,i=r.valueOrDefault(n.fontSize,e.defaultFontSize),o=r.valueOrDefault(n.fontStyle,e.defaultFontStyle),l=r.valueOrDefault(n.fontFamily,e.defaultFontFamily);return{size:i,style:o,family:l,font:r.fontString(i,o,l)}}function s(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:tr?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function u(t){return 0===t||180===t?"center":t<180?"left":"right"}function c(t,e,n,i){if(r.isArray(e))for(var o=n.y,l=1.5*i,a=0;a270||t<90)&&(n.y-=e.h)}function h(t){return r.isNumber(t)?t:0}var p=t.LinearScaleBase.extend({setDimensions:function(){var t=this,n=t.options,i=n.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var o=r.min([t.height,t.width]),l=r.valueOrDefault(i.fontSize,e.defaultFontSize);t.drawingArea=n.display?o/2-(l/2+i.backdropPaddingY):o/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;r.each(e.data.datasets,(function(o,l){if(e.isDatasetVisible(l)){var a=e.getDatasetMeta(l);r.each(o.data,(function(e,r){var o=+t.getRightValue(e);isNaN(o)||a.data[r].hidden||(n=Math.min(o,n),i=Math.max(o,i))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,n=r.valueOrDefault(t.fontSize,e.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*n)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t;this.options.pointLabels.display?function(t){var e,n,i,o=a(t),u=Math.min(t.height/2,t.width/2),c={r:t.width,l:0,t:t.height,b:0},d={};t.ctx.font=o.font,t._pointLabelSizes=[];var h,p,f,m=l(t);for(e=0;ec.r&&(c.r=y.end,d.r=g),v.startc.b&&(c.b=v.end,d.b=g)}t.setReductions(u,c,d)}(this):(t=Math.min(this.height/2,this.width/2),this.drawingArea=Math.round(t),this.setCenterPoint(0,0,0,0))},setReductions:function(t,e,n){var i=e.l/Math.sin(n.l),r=Math.max(e.r-this.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),l=-Math.max(e.b-this.height,0)/Math.cos(n.b);i=h(i),r=h(r),o=h(o),l=h(l),this.drawingArea=Math.min(Math.round(t-(i+r)/2),Math.round(t-(o+l)/2)),this.setCenterPoint(i,r,o,l)},setCenterPoint:function(t,e,n,i){var r=this,o=n+r.drawingArea,l=r.height-i-r.drawingArea;r.xCenter=Math.round((t+r.drawingArea+(r.width-e-r.drawingArea))/2+r.left),r.yCenter=Math.round((o+l)/2+r.top)},getIndexAngle:function(t){return t*(2*Math.PI/l(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(n)*e)+this.xCenter,y:Math.round(Math.sin(n)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0)},draw:function(){var t=this,n=t.options,i=n.gridLines,o=n.ticks,s=r.valueOrDefault;if(n.display){var h=t.ctx,p=this.getIndexAngle(0),f=s(o.fontSize,e.defaultFontSize),m=s(o.fontStyle,e.defaultFontStyle),g=s(o.fontFamily,e.defaultFontFamily),_=r.fontString(f,m,g);r.each(t.ticks,(function(n,a){if(a>0||o.reverse){var u=t.getDistanceFromCenterForValue(t.ticksAsNumbers[a]);if(i.display&&0!==a&&function(t,e,n,i){var o=t.ctx;if(o.strokeStyle=r.valueAtIndexOrDefault(e.color,i-1),o.lineWidth=r.valueAtIndexOrDefault(e.lineWidth,i-1),t.options.gridLines.circular)o.beginPath(),o.arc(t.xCenter,t.yCenter,n,0,2*Math.PI),o.closePath(),o.stroke();else{var a=l(t);if(0===a)return;o.beginPath();var s=t.getPointPosition(0,n);o.moveTo(s.x,s.y);for(var u=1;u=0;f--){if(o.display){var m=t.getPointPosition(f,h);n.beginPath(),n.moveTo(t.xCenter,t.yCenter),n.lineTo(m.x,m.y),n.stroke(),n.closePath()}if(s.display){var g=t.getPointPosition(f,h+5),_=r.valueAtIndexOrDefault(s.fontColor,f,e.defaultFontColor);n.font=p.font,n.fillStyle=_;var y=t.getIndexAngle(f),v=r.toDegrees(y);n.textAlign=u(v),d(v,t._pointLabelSizes[f],g),c(n,t.pointLabels[f]||"",g,p.size)}}}(t)}}});t.scaleService.registerScaleType("radialLinear",p,n)}},"8TtQ":function(t,e,n){"use strict";t.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1,void 0!==e.options.ticks.min&&(t=n.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=n.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,r=n.isHorizontal();return i.yLabels&&!r?n.getRightValue(i.datasets[e].data[t]):n.ticks[t-n.minIndex]},getPixelForValue:function(t,e){var n,i=this,r=i.options.offset,o=Math.max(i.maxIndex+1-i.minIndex-(r?0:1),1);if(null!=t&&(n=i.isHorizontal()?t.x:t.y),void 0!==n||void 0!==t&&isNaN(e)){var l=i.getLabels().indexOf(t=n||t);e=-1!==l?l:e}if(i.isHorizontal()){var a=i.width/o,s=a*(e-i.minIndex);return r&&(s+=a/2),i.left+Math.round(s)}var u=i.height/o,c=u*(e-i.minIndex);return r&&(c+=u/2),i.top+Math.round(c)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,n=e.options.offset,i=Math.max(e._ticks.length-(n?0:1),1),r=e.isHorizontal(),o=(r?e.width:e.height)/i;return t-=r?e.left:e.top,n&&(t-=o/2),(t<=0?0:Math.round(t/o))+e.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},"9rRi":function(t,e,n){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n("wd/R"))},A5uo:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha");i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:o.noop,onComplete:o.noop}}),t.exports=function(t){t.Animation=r.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var r,o,l=this.animations;for(e.chart=t,i||(t.animating=!0),r=0,o=l.length;r1&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,t.animations.length>0&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,r=0;r=e.numSteps?(o.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(r,1)):++r}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AX6q:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha"),l=n("fELs"),a=o.noop;function s(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}i._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return o.isArray(e.datasets)?e.datasets.map((function(e,n){return{text:e.label,fillStyle:o.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(n),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:n}}),this):[]}}},legendCallback:function(t){var e=[];e.push('
    ');for(var n=0;n'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("");return e.push("
"),e.join("")}});var u=r.extend({initialize:function(t){o.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:a,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:a,beforeSetDimensions:a,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:a,beforeBuildLabels:a,buildLabels:function(){var t=this,e=t.options.labels||{},n=o.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:a,beforeFit:a,fit:function(){var t=this,e=t.options,n=e.labels,r=e.display,l=t.ctx,a=i.global,u=o.valueOrDefault,c=u(n.fontSize,a.defaultFontSize),d=u(n.fontStyle,a.defaultFontStyle),h=u(n.fontFamily,a.defaultFontFamily),p=o.fontString(c,d,h),f=t.legendHitBoxes=[],m=t.minSize,g=t.isHorizontal();if(g?(m.width=t.maxWidth,m.height=r?10:0):(m.width=r?10:0,m.height=t.maxHeight),r)if(l.font=p,g){var _=t.lineWidths=[0],y=t.legendItems.length?c+n.padding:0;l.textAlign="left",l.textBaseline="top",o.each(t.legendItems,(function(e,i){var r=s(n,c)+c/2+l.measureText(e.text).width;_[_.length-1]+r+n.padding>=t.width&&(y+=c+n.padding,_[_.length]=t.left),f[i]={left:0,top:0,width:r,height:c},_[_.length-1]+=r+n.padding})),m.height+=y}else{var v=n.padding,b=t.columnWidths=[],w=n.padding,k=0,x=0,M=c+v;o.each(t.legendItems,(function(t,e){var i=s(n,c)+c/2+l.measureText(t.text).width;x+M>m.height&&(w+=k+n.padding,b.push(k),k=0,x=0),k=Math.max(k,i),x+=M,f[e]={left:0,top:0,width:i,height:c}})),w+=k,b.push(k),m.width+=w}t.width=m.width,t.height=m.height},afterFit:a,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,r=i.global,l=r.elements.line,a=t.width,u=t.lineWidths;if(e.display){var c,d=t.ctx,h=o.valueOrDefault,p=h(n.fontColor,r.defaultFontColor),f=h(n.fontSize,r.defaultFontSize),m=h(n.fontStyle,r.defaultFontStyle),g=h(n.fontFamily,r.defaultFontFamily),_=o.fontString(f,m,g);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=_;var y=s(n,f),v=t.legendHitBoxes,b=t.isHorizontal();c=b?{x:t.left+(a-u[0])/2,y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+n.padding,line:0};var w=f+n.padding;o.each(t.legendItems,(function(i,s){var p=d.measureText(i.text).width,m=y+f/2+p,g=c.x,_=c.y;b?g+m>=a&&(_=c.y+=w,c.line++,g=c.x=t.left+(a-u[c.line])/2):_+w>t.bottom&&(g=c.x=g+t.columnWidths[c.line]+n.padding,_=c.y=t.top+n.padding,c.line++),function(t,n,i){if(!(isNaN(y)||y<=0)){d.save(),d.fillStyle=h(i.fillStyle,r.defaultColor),d.lineCap=h(i.lineCap,l.borderCapStyle),d.lineDashOffset=h(i.lineDashOffset,l.borderDashOffset),d.lineJoin=h(i.lineJoin,l.borderJoinStyle),d.lineWidth=h(i.lineWidth,l.borderWidth),d.strokeStyle=h(i.strokeStyle,r.defaultColor);var a=0===h(i.lineWidth,l.borderWidth);if(d.setLineDash&&d.setLineDash(h(i.lineDash,l.borderDash)),e.labels&&e.labels.usePointStyle){var s=f*Math.SQRT2/2,u=s/Math.SQRT2;o.canvas.drawPoint(d,i.pointStyle,s,t+u,n+u)}else a||d.strokeRect(t,n,y,f),d.fillRect(t,n,y,f);d.restore()}}(g,_,i),v[s].left=g,v[s].top=_,function(t,e,n,i){var r=f/2,o=y+r+t,l=e+r;d.fillText(n.text,o,l),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(o,l),d.lineTo(o+i,l),d.stroke())}(g,_,i,p),b?c.x+=m+n.padding:c.y+=w}))}},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,r=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var o=t.x,l=t.y;if(o>=e.left&&o<=e.right&&l>=e.top&&l<=e.bottom)for(var a=e.legendHitBoxes,s=0;s=u.left&&o<=u.left+u.width&&l>=u.top&&l<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[s]),r=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[s]),r=!0;break}}}return r}});function c(t,e){var n=new u({ctx:t.ctx,options:e,chart:t});l.configure(t,n,e),l.addBox(t,n),t.legend=n}t.exports={id:"legend",_element:u,beforeInit:function(t){var e=t.options.legend;e&&c(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(o.mergeIf(e,i.global.legend),n?(l.configure(t,n,e),n.options=e):c(t,e)):n&&(l.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}},As3K:function(t,e,n){"use strict";var i=n("TC34");t.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,r,o;return i.isObject(t)?(e=+t.top||0,n=+t.right||0,r=+t.bottom||0,o=+t.left||0):e=n=r=o=+t||0,{top:e,right:n,bottom:r,left:o,height:e+r,width:o+n}},resolve:function(t,e,n){var r,o,l;for(r=0,o=t.length;r=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(n("wd/R"))},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n("wd/R"))},G0Q6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),t.exports=function(t){function e(t,e){return o.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:r.Line,dataElementType:r.Point,update:function(t){var n,i,r,l=this,a=l.getMeta(),s=a.dataset,u=a.data||[],c=l.chart.options,d=c.elements.line,h=l.getScaleForId(a.yAxisID),p=l.getDataset(),f=e(p,c);for(f&&(r=s.custom||{},void 0!==p.tension&&void 0===p.lineTension&&(p.lineTension=p.tension),s._scale=h,s._datasetIndex=l.index,s._children=u,s._model={spanGaps:p.spanGaps?p.spanGaps:c.spanGaps,tension:r.tension?r.tension:o.valueOrDefault(p.lineTension,d.tension),backgroundColor:r.backgroundColor?r.backgroundColor:p.backgroundColor||d.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:p.borderWidth||d.borderWidth,borderColor:r.borderColor?r.borderColor:p.borderColor||d.borderColor,borderCapStyle:r.borderCapStyle?r.borderCapStyle:p.borderCapStyle||d.borderCapStyle,borderDash:r.borderDash?r.borderDash:p.borderDash||d.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:p.borderDashOffset||d.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:p.borderJoinStyle||d.borderJoinStyle,fill:r.fill?r.fill:void 0!==p.fill?p.fill:d.fill,steppedLine:r.steppedLine?r.steppedLine:o.valueOrDefault(p.steppedLine,d.stepped),cubicInterpolationMode:r.cubicInterpolationMode?r.cubicInterpolationMode:o.valueOrDefault(p.cubicInterpolationMode,d.cubicInterpolationMode)},s.pivot()),n=0,i=u.length;n=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,r,o,l){var a=n(e),s=i[t][n(e)];return 2===a&&(s=s[r?0:1]),s.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},Hg4g:function(t,e){t.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(n("wd/R"))},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})}(n("wd/R"))},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(t){return t%10==0||t>10&&t<20}function r(t){return e[t].split("_")}function o(t,e,o,l){var a=t+" ";return 1===t?a+n(0,e,o[0],l):e?a+(i(t)?r(o)[1]:r(o)[0]):l?a+r(o)[1]:a+(i(t)?r(o)[1]:r(o)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K2E3:function(t,e,n){"use strict";var i=n("6ww4"),r=n("RDha"),o=function(t){r.extend(this,t),this.initialize.apply(this,arguments)};r.extend(o.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=r.clone(t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,r=e._start,o=e._view;return n&&1!==t?(o||(o=e._view={}),r||(r=e._start={}),function(t,e,n,r){var o,l,a,s,u,c,d,h,p,f=Object.keys(n);for(o=0,l=f.length;o0||(e.forEach((function(e){delete t[e]})),delete t._chartjs)}}t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(t=0,e=i.length;tn&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},LdGl:function(t,e){function n(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,l=Math.min(i,r,o),a=Math.max(i,r,o),s=a-l;return a==l?e=0:i==a?e=(r-o)/s:r==a?e=2+(o-i)/s:o==a&&(e=4+(i-r)/s),(e=Math.min(60*e,360))<0&&(e+=360),n=(l+a)/2,[e,100*(a==l?0:n<=.5?s/(a+l):s/(2-a-l)),100*n]}function i(t){var e,n,i=t[0],r=t[1],o=t[2],l=Math.min(i,r,o),a=Math.max(i,r,o),s=a-l;return n=0==a?0:s/a*1e3/10,a==l?e=0:i==a?e=(r-o)/s:r==a?e=2+(o-i)/s:o==a&&(e=4+(i-r)/s),(e=Math.min(60*e,360))<0&&(e+=360),[e,n,a/255*1e3/10]}function o(t){var e=t[0],i=t[1],r=t[2];return[n(t)[0],1/255*Math.min(e,Math.min(i,r))*100,100*(r=1-1/255*Math.max(e,Math.max(i,r)))]}function l(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-r)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]}function a(t){return M[JSON.stringify(t)]}function s(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]}function u(t){var e=s(t),n=e[0],i=e[1],r=e[2];return i/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function c(t){var e,n,i,r,o,l=t[0]/360,a=t[1]/100,s=t[2]/100;if(0==a)return[o=255*s,o,o];e=2*s-(n=s<.5?s*(1+a):s+a-s*a),r=[0,0,0];for(var u=0;u<3;u++)(i=l+1/3*-(u-1))<0&&i++,i>1&&i--,r[u]=255*(o=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e);return r}function d(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,o=e-Math.floor(e),l=255*i*(1-n),a=255*i*(1-n*o),s=255*i*(1-n*(1-o));switch(i*=255,r){case 0:return[i,s,l];case 1:return[a,i,l];case 2:return[l,i,s];case 3:return[l,a,i];case 4:return[s,l,i];case 5:return[i,l,a]}}function h(t){var e,n,i,o,l=t[0]/360,a=t[1]/100,s=t[2]/100,u=a+s;switch(u>1&&(a/=u,s/=u),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),o=a+i*((n=1-s)-a),e){default:case 6:case 0:r=n,g=o,b=a;break;case 1:r=o,g=n,b=a;break;case 2:r=a,g=n,b=o;break;case 3:r=a,g=o,b=n;break;case 4:r=o,g=a,b=n;break;case 5:r=n,g=a,b=o}return[255*r,255*g,255*b]}function p(t){var e=t[1]/100,n=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-i)+i)),255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]}function f(t){var e,n,i,r=t[0]/100,o=t[1]/100,l=t[2]/100;return n=-.9689*r+1.8758*o+.0415*l,i=.0557*r+-.204*o+1.057*l,e=(e=3.2406*r+-1.5372*o+-.4986*l)>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]}function m(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function _(t){var e,n,i,r,o=t[0],l=t[1],a=t[2];return o<=8?r=(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),r=Math.pow(n/100,1/3)),[e=e/95.047<=.008856?e=95.047*(l/500+r-16/116)/7.787:95.047*Math.pow(l/500+r,3),n,i=i/108.883<=.008859?i=108.883*(r-a/200-16/116)/7.787:108.883*Math.pow(r-a/200,3)]}function y(t){var e,n=t[0],i=t[1],r=t[2];return(e=360*Math.atan2(r,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+r*r),e]}function v(t){return f(_(t))}function w(t){var e,n=t[1];return e=t[2]/360*2*Math.PI,[t[0],n*Math.cos(e),n*Math.sin(e)]}function k(t){return x[t]}t.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:l,rgb2keyword:a,rgb2xyz:s,rgb2lab:u,rgb2lch:function(t){return y(u(t))},hsl2rgb:c,hsl2hsv:function(t){var e=t[1]/100,n=t[2]/100;return 0===n?[0,0,0]:[t[0],2*(e*=(n*=2)<=1?n:2-n)/(n+e)*100,(n+e)/2*100]},hsl2hwb:function(t){return o(c(t))},hsl2cmyk:function(t){return l(c(t))},hsl2keyword:function(t){return a(c(t))},hsv2rgb:d,hsv2hsl:function(t){var e,n,i=t[1]/100,r=t[2]/100;return e=i*r,[t[0],100*(e=(e/=(n=(2-i)*r)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(t){return o(d(t))},hsv2cmyk:function(t){return l(d(t))},hsv2keyword:function(t){return a(d(t))},hwb2rgb:h,hwb2hsl:function(t){return n(h(t))},hwb2hsv:function(t){return i(h(t))},hwb2cmyk:function(t){return l(h(t))},hwb2keyword:function(t){return a(h(t))},cmyk2rgb:p,cmyk2hsl:function(t){return n(p(t))},cmyk2hsv:function(t){return i(p(t))},cmyk2hwb:function(t){return o(p(t))},cmyk2keyword:function(t){return a(p(t))},keyword2rgb:k,keyword2hsl:function(t){return n(k(t))},keyword2hsv:function(t){return i(k(t))},keyword2hwb:function(t){return o(k(t))},keyword2cmyk:function(t){return l(k(t))},keyword2lab:function(t){return u(k(t))},keyword2xyz:function(t){return s(k(t))},xyz2rgb:f,xyz2lab:m,xyz2lch:function(t){return y(m(t))},lab2xyz:_,lab2rgb:v,lab2lch:y,lch2lab:w,lch2xyz:function(t){return _(w(t))},lch2rgb:function(t){return v(w(t))}};var x={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},M={};for(var S in x)M[JSON.stringify(x[S])]=S},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n("wd/R"))},ODdm:function(t,e,n){"use strict";t.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},OXbD:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha"),l=i.global.defaultColor;function a(t){var e=this._view;return!!e&&Math.abs(t-e.x)=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात्री":t<10?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},OzsZ:function(t,e,n){var i=n("LdGl"),r=function(){return new u};for(var o in i){r[o+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(o);var l=/(\w+)2(\w+)/.exec(o),a=l[1],s=l[2];(r[a]=r[a]||{})[s]=r[o]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var r=0;r1&&t<5&&1!=~~(t/10)}function r(t,e,n,r){var o=t+" ";switch(n){case"s":return e||r?"pár sekund":"pár sekundami";case"ss":return e||r?o+(i(t)?"sekundy":"sekund"):o+"sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?o+(i(t)?"minuty":"minut"):o+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?o+(i(t)?"hodiny":"hodin"):o+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?o+(i(t)?"dny":"dní"):o+"dny";case"M":return e||r?"měsíc":"měsícem";case"MM":return e||r?o+(i(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?o+(i(t)?"roky":"let"):o+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsParse:function(t,e){var n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return i}(e,n),shortMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(n),longMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(e),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e?t:"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(n("wd/R"))},Qexa:function(t,e,n){"use strict";t.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n("wd/R"))},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RCHg:function(t,e,n){"use strict";var i=n("wd/R");i="function"==typeof i?i:window.moment;var r=n("CDJp"),o=n("RDha"),l=Number.MIN_SAFE_INTEGER||-9007199254740991,a=Number.MAX_SAFE_INTEGER||9007199254740991,s={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},u=Object.keys(s);function c(t,e){return t-e}function d(t){var e,n,i,r={},o=[];for(e=0,n=t.length;e=0&&l<=a;){if(o=t[i=l+a>>1],!(r=t[i-1]||null))return{lo:null,hi:o};if(o[e]n))return{lo:r,hi:o};a=i-1}}return{lo:o,hi:null}}(t,e,n),o=r.lo?r.hi?r.lo:t[t.length-2]:t[0],l=r.lo?r.hi?r.hi:t[t.length-1]:t[1],a=l[e]-o[e];return o[i]+(l[i]-o[i])*(a?(n-o[e])/a:0)}function p(t,e){var n=e.parser,r=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof r?i(t,r):(t instanceof i||(t=i(t)),t.isValid()?t:"function"==typeof r?r(t):t)}function f(t,e){if(o.isNullOrUndef(t))return null;var n=e.options.time,i=p(e.getRightValue(t),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function m(t){for(var e=u.indexOf(t)+1,n=u.length;e=l&&n<=c&&y.push(n);return r.min=l,r.max=c,r._unit=g.unit||function(t,e,n,r){var o,l,a=i.duration(i(r).diff(i(n)));for(o=u.length-1;o>=u.indexOf(e);o--)if(s[l=u[o]].common&&a.as(l)>=t.length)return l;return u[e?u.indexOf(e):0]}(y,g.minUnit,r.min,r.max),r._majorUnit=m(r._unit),r._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var r,o,l,a,s,u=[],c=[e];for(r=0,o=t.length;re&&a1?e[1]:i,"pos")-h(t,"time",o,"pos"))/2),r.time.max||(o=e.length>1?e[e.length-2]:n,a=(h(t,"time",e[e.length-1],"pos")-h(t,"time",o,"pos"))/2)),{left:l,right:a}}(r._table,y,l,c,d),r._labelFormat=function(t,e){var n,i,r,o=t.length;for(n=0;n=0&&t0?a:1}});t.scaleService.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},RDha:function(t,e,n){"use strict";t.exports=n("TC34"),t.exports.easing=n("u0Op"),t.exports.canvas=n("Sfow"),t.exports.options=n("As3K")},RnhZ:function(t,e,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="RnhZ"},"S3/U":function(t,e,n){"use strict";t.exports=function(t){t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},S7Ns:function(t,e,n){"use strict";t.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},SFxW:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},Sfow:function(t,e,n){"use strict";var i=n("TC34");e=t.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,o){if(o){var l=Math.min(o,i/2),a=Math.min(o,r/2);t.moveTo(e+l,n),t.lineTo(e+i-l,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+r-a),t.quadraticCurveTo(e+i,n+r,e+i-l,n+r),t.lineTo(e+l,n+r),t.quadraticCurveTo(e,n+r,e,n+r-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+l,n)}else t.rect(e,n,i,r)},drawPoint:function(t,e,n,i,r){var o,l,a,s,u,c;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(o=e.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,r,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(l=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-l/2,r+u/3),t.lineTo(i+l/2,r+u/3),t.lineTo(i,r-2*u/3),t.closePath(),t.fill();break;case"rect":c=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-c,r-c,2*c,2*c),t.strokeRect(i-c,r-c,2*c,2*c);break;case"rectRounded":var d=n/Math.SQRT2,h=i-d,p=r-d,f=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,h,p,f,f,n/2),t.closePath(),t.fill();break;case"rectRot":c=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-c,r),t.lineTo(i,r+c),t.lineTo(i+c,r),t.lineTo(i,r-c),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,r+n),t.lineTo(i,r-n),t.moveTo(i-n,r),t.lineTo(i+n,r),t.closePath();break;case"crossRot":t.beginPath(),a=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-a,r-s),t.lineTo(i+a,r+s),t.moveTo(i-a,r+s),t.lineTo(i+a,r-s),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,r+n),t.lineTo(i,r-n),t.moveTo(i-n,r),t.lineTo(i+n,r),a=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-a,r-s),t.lineTo(i+a,r+s),t.moveTo(i-a,r+s),t.lineTo(i+a,r-s),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,r),t.lineTo(i+n,r),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,r),t.lineTo(i+n,r),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,r-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},i.clear=e.clear,i.drawRoundedRectangle=function(t){t.beginPath(),e.roundedRect.apply(e,arguments),t.closePath()}},T016:function(t,e){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},TC34:function(t,e,n){"use strict";var i,r={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return r.valueOrDefault(r.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var o,l,a;if(r.isArray(t))if(l=t.length,i)for(o=l-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;o=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},UpQW:function(t,e,n){!function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("wd/R"))},UqmZ:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha"),l=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:l.defaultColor,borderWidth:3,borderColor:l.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),t.exports=r.extend({draw:function(){var t,e,n,i,r=this._view,a=this._chart.ctx,s=r.spanGaps,u=this._children.slice(),c=l.elements.line,d=-1;for(this._loop&&u.length&&u.push(u[0]),a.save(),a.lineCap=r.borderCapStyle||c.borderCapStyle,a.setLineDash&&a.setLineDash(r.borderDash||c.borderDash),a.lineDashOffset=r.borderDashOffset||c.borderDashOffset,a.lineJoin=r.borderJoinStyle||c.borderJoinStyle,a.lineWidth=r.borderWidth||c.borderWidth,a.strokeStyle=r.borderColor||l.defaultColor,a.beginPath(),d=-1,t=0;t=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Vclq:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n("wd/R"))},VgNv:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha");i._set("global",{plugins:{}}),t.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,o,l,a,s=this.descriptors(t),u=s.length;for(i=0;is;)r-=2*Math.PI;for(;r=a&&r<=s&&l>=n.innerRadius&&l<=n.outerRadius}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n("wd/R"))},"XQh+":function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('
    ');var n=t.data,i=n.datasets,r=n.labels;if(i.length)for(var o=0;o'),r[o]&&e.push(r[o]),e.push("");return e.push("
"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var r=t.getDatasetMeta(0),l=e.datasets[0],a=r.data[i],s=a&&a.custom||{},u=o.valueAtIndexOrDefault,c=t.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:u(l.backgroundColor,i,c.backgroundColor),strokeStyle:s.borderColor?s.borderColor:u(l.borderColor,i,c.borderColor),lineWidth:s.borderWidth?s.borderWidth:u(l.borderWidth,i,c.borderWidth),hidden:isNaN(l.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,o=e.index,l=this.chart;for(n=0,i=(l.data.datasets||[]).length;n=Math.PI?-1:f<-Math.PI?1:0))+p,g={x:Math.cos(f),y:Math.sin(f)},_={x:Math.cos(m),y:Math.sin(m)},y=f<=0&&m>=0||f<=2*Math.PI&&2*Math.PI<=m,v=f<=.5*Math.PI&&.5*Math.PI<=m||f<=2.5*Math.PI&&2.5*Math.PI<=m,b=f<=-Math.PI&&-Math.PI<=m||f<=Math.PI&&Math.PI<=m,w=f<=.5*-Math.PI&&.5*-Math.PI<=m||f<=1.5*Math.PI&&1.5*Math.PI<=m,k=h/100,x={x:b?-1:Math.min(g.x*(g.x<0?1:k),_.x*(_.x<0?1:k)),y:w?-1:Math.min(g.y*(g.y<0?1:k),_.y*(_.y<0?1:k))},M={x:y?1:Math.max(g.x*(g.x>0?1:k),_.x*(_.x>0?1:k)),y:v?1:Math.max(g.y*(g.y>0?1:k),_.y*(_.y>0?1:k))},S={width:.5*(M.x-x.x),height:.5*(M.y-x.y)};u=Math.min(a/S.width,s/S.height),c={x:-.5*(M.x+x.x),y:-.5*(M.y+x.y)}}n.borderWidth=e.getMaxBorderWidth(d.data),n.outerRadius=Math.max((u-n.borderWidth)/2,0),n.innerRadius=Math.max(h?n.outerRadius/100*h:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=c.x*n.outerRadius,n.offsetY=c.y*n.outerRadius,d.total=e.calculateTotal(),e.outerRadius=n.outerRadius-n.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-n.radiusLength,0),o.each(d.data,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,r=i.chart,l=r.chartArea,a=r.options,s=a.animation,u=(l.left+l.right)/2,c=(l.top+l.bottom)/2,d=a.rotation,h=a.rotation,p=i.getDataset(),f=n&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(p.data[e])*(a.circumference/(2*Math.PI));o.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:u+r.offsetX,y:c+r.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:n&&s.animateScale?0:i.outerRadius,innerRadius:n&&s.animateScale?0:i.innerRadius,label:(0,o.valueAtIndexOrDefault)(p.label,e,r.data.labels[e])}});var m=t._model;this.removeHoverStyle(t),n&&s.animateRotate||(m.startAngle=0===e?a.rotation:i.getMeta().data[e-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return o.each(n.data,(function(n,r){t=e.data[r],isNaN(t)||n.hidden||(i+=Math.abs(t))})),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,r=this.index,o=t.length,l=0;l(i=(e=t[l]._model?t[l]._model.borderWidth:0)>i?e:i)?n:i;return i}})}},Y4Rb:function(t,e,n){"use strict";var i=n("RDha"),r=n("g8vO");t.exports=function(t){var e={position:"left",ticks:{callback:r.formatters.logarithmic}},n=t.Scale.extend({determineDataLimits:function(){var t=this,e=t.options,n=t.chart,r=n.data.datasets,o=t.isHorizontal();function l(e){return o?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var a=e.stacked;if(void 0===a&&i.each(r,(function(t,e){if(!a){var i=n.getDatasetMeta(e);n.isDatasetVisible(e)&&l(i)&&void 0!==i.stack&&(a=!0)}})),e.stacked||a){var s={};i.each(r,(function(r,o){var a=n.getDatasetMeta(o),u=[a.type,void 0===e.stacked&&void 0===a.stack?o:"",a.stack].join(".");n.isDatasetVisible(o)&&l(a)&&(void 0===s[u]&&(s[u]=[]),i.each(r.data,(function(e,n){var i=s[u],r=+t.getRightValue(e);isNaN(r)||a.data[n].hidden||r<0||(i[n]=i[n]||0,i[n]+=r)})))})),i.each(s,(function(e){if(e.length>0){var n=i.min(e),r=i.max(e);t.min=null===t.min?n:Math.min(t.min,n),t.max=null===t.max?r:Math.max(t.max,r)}}))}else i.each(r,(function(e,r){var o=n.getDatasetMeta(r);n.isDatasetVisible(r)&&l(o)&&i.each(e.data,(function(e,n){var i=+t.getRightValue(e);isNaN(i)||o.data[n].hidden||i<0||(null===t.min?t.min=i:it.max&&(t.max=i),0!==i&&(null===t.minNotZero||i0?t.min:t.max<1?Math.pow(10,Math.floor(i.log10(t.max))):1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),r=t.ticks=function(t,e){var n,r,o=[],l=i.valueOrDefault,a=l(t.min,Math.pow(10,Math.floor(i.log10(e.min)))),s=Math.floor(i.log10(e.max)),u=Math.ceil(e.max/Math.pow(10,s));0===a?(n=Math.floor(i.log10(e.minNotZero)),r=Math.floor(e.minNotZero/Math.pow(10,n)),o.push(a),a=r*Math.pow(10,n)):(n=Math.floor(i.log10(a)),r=Math.floor(a/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{o.push(a),10==++r&&(r=1,c=++n>=0?1:c),a=Math.round(r*Math.pow(10,n)*c)/c}while(n=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n("wd/R"))},YSsK:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),o=n("g8vO");t.exports=function(t){var e={position:"left",ticks:{callback:o.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){var t=this,e=t.options,n=t.chart,i=n.data.datasets,o=t.isHorizontal();function l(e){return o?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null;var a=e.stacked;if(void 0===a&&r.each(i,(function(t,e){if(!a){var i=n.getDatasetMeta(e);n.isDatasetVisible(e)&&l(i)&&void 0!==i.stack&&(a=!0)}})),e.stacked||a){var s={};r.each(i,(function(i,o){var a=n.getDatasetMeta(o),u=[a.type,void 0===e.stacked&&void 0===a.stack?o:"",a.stack].join(".");void 0===s[u]&&(s[u]={positiveValues:[],negativeValues:[]});var c=s[u].positiveValues,d=s[u].negativeValues;n.isDatasetVisible(o)&&l(a)&&r.each(i.data,(function(n,i){var r=+t.getRightValue(n);isNaN(r)||a.data[i].hidden||(c[i]=c[i]||0,d[i]=d[i]||0,e.relativePoints?c[i]=100:r<0?d[i]+=r:c[i]+=r)}))})),r.each(s,(function(e){var n=e.positiveValues.concat(e.negativeValues),i=r.min(n),o=r.max(n);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?o:Math.max(t.max,o)}))}else r.each(i,(function(e,i){var o=n.getDatasetMeta(i);n.isDatasetVisible(i)&&l(o)&&r.each(e.data,(function(e,n){var i=+t.getRightValue(e);isNaN(i)||o.data[n].hidden||(null===t.min?t.min=i:it.max&&(t.max=i))}))}));t.min=isFinite(t.min)&&!isNaN(t.min)?t.min:0,t.max=isFinite(t.max)&&!isNaN(t.max)?t.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=r.valueOrDefault(e.fontSize,i.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,n=e.start,i=+e.getRightValue(t),r=e.end-n;return e.isHorizontal()?e.left+e.width/r*(i-n):e.bottom-e.height/r*(i-n)},getValueForPixel:function(t){var e=this,n=e.isHorizontal();return e.start+(n?t-e.left:e.bottom-t)/(n?e.width:e.height)*(e.end-e.start)},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z4QM:function(t,e,n){!function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZANz:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return t.length>0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index0?Math.min(l,i-n):l,n=i;return l}(n,u):-1,pixels:u,start:a,end:s,stackCount:i,scale:n}},calculateBarValuePixels:function(t,e){var n,i,r,o,l,a,s=this.chart,u=this.getMeta(),c=this.getValueScale(),d=s.data.datasets,h=c.getRightValue(d[t].data[e]),p=c.options.stacked,f=u.stack,m=0;if(p||void 0===p&&void 0!==f)for(n=0;n=0&&r>0)&&(m+=r));return o=c.getPixelForValue(m),{size:a=((l=c.getPixelForValue(m+h))-o)/2,base:o,head:l,center:l+a/2}},calculateBarIndexPixels:function(t,e,n){var i=n.scale.options,r="flex"===i.barThickness?function(t,e,n){var i=e.pixels,r=i[t],o=t>0?i[t-1]:null,l=t11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},aB2c:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),t.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:r.Line,dataElementType:r.Point,linkScales:o.noop,update:function(t){var e=this,n=e.getMeta(),i=n.data,r=n.dataset.custom||{},l=e.getDataset(),a=e.chart.options.elements.line,s=e.chart.scale;void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o.extend(n.dataset,{_datasetIndex:e.index,_scale:s,_children:i,_loop:!0,_model:{tension:r.tension?r.tension:o.valueOrDefault(l.lineTension,a.tension),backgroundColor:r.backgroundColor?r.backgroundColor:l.backgroundColor||a.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:l.borderWidth||a.borderWidth,borderColor:r.borderColor?r.borderColor:l.borderColor||a.borderColor,fill:r.fill?r.fill:void 0!==l.fill?l.fill:a.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:l.borderCapStyle||a.borderCapStyle,borderDash:r.borderDash?r.borderDash:l.borderDash||a.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:l.borderDashOffset||a.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:l.borderJoinStyle||a.borderJoinStyle}}),n.dataset.pivot(),o.each(i,(function(n,i){e.updateElement(n,i,t)}),e),e.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,r=t.custom||{},l=i.getDataset(),a=i.chart.scale,s=i.chart.options.elements.point,u=a.getPointPositionForValue(e,l.data[e]);void 0!==l.radius&&void 0===l.pointRadius&&(l.pointRadius=l.radius),void 0!==l.hitRadius&&void 0===l.pointHitRadius&&(l.pointHitRadius=l.hitRadius),o.extend(t,{_datasetIndex:i.index,_index:e,_scale:a,_model:{x:n?a.xCenter:u.x,y:n?a.yCenter:u.y,tension:r.tension?r.tension:o.valueOrDefault(l.lineTension,i.chart.options.elements.line.tension),radius:r.radius?r.radius:o.valueAtIndexOrDefault(l.pointRadius,e,s.radius),backgroundColor:r.backgroundColor?r.backgroundColor:o.valueAtIndexOrDefault(l.pointBackgroundColor,e,s.backgroundColor),borderColor:r.borderColor?r.borderColor:o.valueAtIndexOrDefault(l.pointBorderColor,e,s.borderColor),borderWidth:r.borderWidth?r.borderWidth:o.valueAtIndexOrDefault(l.pointBorderWidth,e,s.borderWidth),pointStyle:r.pointStyle?r.pointStyle:o.valueAtIndexOrDefault(l.pointStyle,e,s.pointStyle),hitRadius:r.hitRadius?r.hitRadius:o.valueAtIndexOrDefault(l.pointHitRadius,e,s.hitRadius)}}),t._model.skip=r.skip?r.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();o.each(e.data,(function(n,i){var r=n._model,l=o.splineCurve(o.previousItem(e.data,i,!0)._model,r,o.nextItem(e.data,i,!0)._model,r.tension);r.controlPointPreviousX=Math.max(Math.min(l.previous.x,t.right),t.left),r.controlPointPreviousY=Math.max(Math.min(l.previous.y,t.bottom),t.top),r.controlPointNextX=Math.max(Math.min(l.next.x,t.right),t.left),r.controlPointNextY=Math.max(Math.min(l.next.y,t.bottom),t.top),n.pivot()}))},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,r=t._model;r.radius=n.hoverRadius?n.hoverRadius:o.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),r.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:o.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,o.getHoverColor(r.backgroundColor)),r.borderColor=n.hoverBorderColor?n.hoverBorderColor:o.valueAtIndexOrDefault(e.pointHoverBorderColor,i,o.getHoverColor(r.borderColor)),r.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:o.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,r.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,r=t._model,l=this.chart.options.elements.point;r.radius=n.radius?n.radius:o.valueAtIndexOrDefault(e.pointRadius,i,l.radius),r.backgroundColor=n.backgroundColor?n.backgroundColor:o.valueAtIndexOrDefault(e.pointBackgroundColor,i,l.backgroundColor),r.borderColor=n.borderColor?n.borderColor:o.valueAtIndexOrDefault(e.pointBorderColor,i,l.borderColor),r.borderWidth=n.borderWidth?n.borderWidth:o.valueAtIndexOrDefault(e.pointBorderWidth,i,l.borderWidth)}})}},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n("wd/R"))},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n("wd/R"))},bidN:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": ("+t.xLabel+", "+t.yLabel+", "+e.datasets[t.datasetIndex].data[t.index].r+")"}}}}),t.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:r.Point,update:function(t){var e=this,n=e.getMeta();o.each(n.data,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,r=i.getMeta(),o=t.custom||{},l=i.getScaleForId(r.xAxisID),a=i.getScaleForId(r.yAxisID),s=i._resolveElementOptions(t,e),u=i.getDataset().data[e],c=i.index,d=n?l.getPixelForDecimal(.5):l.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?a.getBasePixel():a.getPixelForValue(u,e,c);t._xScale=l,t._yScale=a,t._options=s,t._datasetIndex=c,t._index=e,t._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,radius:n?0:s.radius,skip:o.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=o.valueOrDefault(n.hoverBackgroundColor,o.getHoverColor(n.backgroundColor)),e.borderColor=o.valueOrDefault(n.hoverBorderColor,o.getHoverColor(n.borderColor)),e.borderWidth=o.valueOrDefault(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},removeHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=n.backgroundColor,e.borderColor=n.borderColor,e.borderWidth=n.borderWidth,e.radius=n.radius},_resolveElementOptions:function(t,e){var n,i,r,l=this.chart,a=l.data.datasets[this.index],s=t.custom||{},u=l.options.elements.point,c=o.options.resolve,d=a.data[e],h={},p={chart:l,dataIndex:e,dataset:a,datasetIndex:this.index},f=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=f.length;n=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cdu6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha"),l=n("g8vO");function a(t){var e,n,i=[];for(e=0,n=t.length;eh&&st.maxHeight){s--;break}s++,d=u*c}t.labelRotation=s},afterCalculateTickRotation:function(){o.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){o.callback(this.options.beforeFit,[this])},fit:function(){var t=this,i=t.minSize={width:0,height:0},r=a(t._ticks),s=t.options,u=s.ticks,c=s.scaleLabel,d=s.gridLines,h=s.display,p=t.isHorizontal(),f=n(u),m=s.gridLines.tickMarkLength;if(i.width=p?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:h&&d.drawTicks?m:0,i.height=p?h&&d.drawTicks?m:0:t.maxHeight,c.display&&h){var g=l(c)+o.options.toPadding(c.padding).height;p?i.height+=g:i.width+=g}if(u.display&&h){var _=o.longestText(t.ctx,f.font,r,t.longestTextCache),y=o.numberOfLabelLines(r),v=.5*f.size,b=t.options.ticks.padding;if(p){t.longestLabelWidth=_;var w=o.toRadians(t.labelRotation),k=Math.cos(w),x=Math.sin(w);i.height=Math.min(t.maxHeight,i.height+(x*_+f.size*y+v*(y-1)+v)+b),t.ctx.font=f.font;var M=e(t.ctx,r[0],f.font),S=e(t.ctx,r[r.length-1],f.font);0!==t.labelRotation?(t.paddingLeft="bottom"===s.position?k*M+3:k*v+3,t.paddingRight="bottom"===s.position?k*v+3:k*S+3):(t.paddingLeft=M/2+3,t.paddingRight=S/2+3)}else u.mirror?_=0:_+=b+v,i.width=Math.min(t.maxWidth,i.width+_),t.paddingTop=f.size/2,t.paddingBottom=f.size/2}t.handleMargins(),t.width=i.width,t.height=i.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){o.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(o.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:o.noop,getPixelForValue:o.noop,getValueForPixel:o.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),r=i*t+e.paddingLeft;return n&&(r+=i/2),e.left+Math.round(r)+(e.isFullWidth()?e.margins.left:0)}return e.top+t*((e.height-(e.paddingTop+e.paddingBottom))/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;return e.isHorizontal()?e.left+Math.round((e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft)+(e.isFullWidth()?e.margins.left:0):e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,r,l=this,a=l.isHorizontal(),s=l.options.ticks.minor,u=t.length,c=o.toRadians(l.labelRotation),d=Math.cos(c),h=l.longestLabelWidth*d,p=[];for(s.maxTicksLimit&&(r=s.maxTicksLimit),a&&(e=!1,(h+s.autoSkipPadding)*u>l.width-(l.paddingLeft+l.paddingRight)&&(e=1+Math.floor((h+s.autoSkipPadding)*u/(l.width-(l.paddingLeft+l.paddingRight)))),r&&u>r&&(e=Math.max(e,Math.floor(u/r)))),n=0;n1&&n%e>0||n%e==0&&n+e>=u)&&n!==u-1&&delete i.label,p.push(i);return p},draw:function(t){var e=this,r=e.options;if(r.display){var a=e.ctx,u=i.global,c=r.ticks.minor,d=r.ticks.major||c,h=r.gridLines,p=r.scaleLabel,f=0!==e.labelRotation,m=e.isHorizontal(),g=c.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),_=o.valueOrDefault(c.fontColor,u.defaultFontColor),y=n(c),v=o.valueOrDefault(d.fontColor,u.defaultFontColor),b=n(d),w=h.drawTicks?h.tickMarkLength:0,k=o.valueOrDefault(p.fontColor,u.defaultFontColor),x=n(p),M=o.options.toPadding(p.padding),S=o.toRadians(e.labelRotation),C=[],L=e.options.gridLines.lineWidth,D="right"===r.position?e.right:e.right-L-w,T="right"===r.position?e.right+w:e.right,O="bottom"===r.position?e.top+L:e.bottom-w-L,P="bottom"===r.position?e.top+L+w:e.bottom+L;if(o.each(g,(function(n,i){if(!o.isNullOrUndef(n.label)){var l,a,d,p,_,y,v,b,k,x,M,E,I,Y,A=n.label;i===e.zeroLineIndex&&r.offset===h.offsetGridLines?(l=h.zeroLineWidth,a=h.zeroLineColor,d=h.zeroLineBorderDash,p=h.zeroLineBorderDashOffset):(l=o.valueAtIndexOrDefault(h.lineWidth,i),a=o.valueAtIndexOrDefault(h.color,i),d=o.valueOrDefault(h.borderDash,u.borderDash),p=o.valueOrDefault(h.borderDashOffset,u.borderDashOffset));var R="middle",j="middle",F=c.padding;if(m){var N=w+F;"bottom"===r.position?(j=f?"middle":"top",R=f?"right":"center",Y=e.top+N):(j=f?"middle":"bottom",R=f?"left":"center",Y=e.bottom-N);var H=s(e,i,h.offsetGridLines&&g.length>1);H1);B1&&t<5}function r(t,e,n,r){var o=t+" ";switch(n){case"s":return e||r?"pár sekúnd":"pár sekundami";case"ss":return e||r?o+(i(t)?"sekundy":"sekúnd"):o+"sekundami";case"m":return e?"minúta":r?"minútu":"minútou";case"mm":return e||r?o+(i(t)?"minúty":"minút"):o+"minútami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?o+(i(t)?"hodiny":"hodín"):o+"hodinami";case"d":return e||r?"deň":"dňom";case"dd":return e||r?o+(i(t)?"dni":"dní"):o+"dňami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?o+(i(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?o+(i(t)?"roky":"rokov"):o+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},fELs:function(t,e,n){"use strict";var i=n("RDha");function r(t,e){return i.where(t,(function(t){return t.position===e}))}function o(t,e){t.forEach((function(t,e){return t._tmpIndex_=e,t})),t.sort((function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i._tmpIndex_-r._tmpIndex_:i.weight-r.weight})),t.forEach((function(t){delete t._tmpIndex_}))}t.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,r=["fullWidth","position","weight"],o=r.length,l=0;l3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&t!==Math.floor(t)&&(r=t-Math.floor(t));var o=i.log10(Math.abs(r)),l="";if(0!==t){var a=-1*Math.floor(o);a=Math.max(Math.min(a,20),0),l=t.toFixed(a)}else l="0";return l},logarithmic:function(t,e,n){var r=t/Math.pow(10,Math.floor(i.log10(t)));return 0===t?"0":1===r||2===r||5===r||0===e||e===n.length-1?t.toExponential():""}}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return r+(1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return r+(1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami");case"d":return e||i?"en dan":"enim dnem";case"dd":return r+(1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi");case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+(1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci");case"y":return e||i?"eno leto":"enim letom";case"yy":return r+(1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti")}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function i(t,i,r,o){var l="";switch(r){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":l=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":l=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":l=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":l=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":l=o?"vuoden":"vuotta"}return function(t,i){return t<10?i?n[t]:e[t]:t}(t,o)+" "+l}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n("wd/R"))},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(t,e,n){!function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},iM7B:function(t,e,n){"use strict";var i=n("RDha"),r=n("Hg4g"),o=n("q8Fl");t.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},o._enabled?o:r)},iYGd:function(t,e,n){"use strict";t.exports=function(t){t.Radar=function(e,n){return n.type="radar",new t(e,n)}}},iYuL:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,i=this._calendarEl[t],r=e&&e.hours();return((n=i)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(e)),i.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function r(t,e,n){var r=t+" ";switch(n){case"ss":return r+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return r+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return r+(i(t)?"godziny":"godzin");case"MM":return r+(i(t)?"miesiące":"miesięcy");case"yy":return r+(i(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,i){return t?""===i?"("+n[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jXIB:function(t,e,n){"use strict";t.exports={},t.exports.filler=n("vpM6"),t.exports.legend=n("AX6q"),t.exports.title=n("mjYD")},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(t){return function(e,n,o,l){var a=i(e),s=r[t][i(e)];return 2===a&&(s=s[n?0:1]),s.replace(/%d/i,e)}},l=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:l,monthsShort:l,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},kB5k:function(t,e,n){var i;!function(r){"use strict";var o,l=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,a=Math.ceil,s=Math.floor,u="[BigNumber Error] ",c=u+"Number primitive has more than 15 significant digits: ",d=1e14,h=14,p=9007199254740991,f=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],m=1e7;function g(t){var e=0|t;return t>0||t===e?e:e-1}function _(t){for(var e,n,i=1,r=t.length,o=t[0]+"";iu^n?1:-1;for(a=(s=r.length)<(u=o.length)?s:u,l=0;lo[l]^n?1:-1;return s==u?0:s>u^n?1:-1}function v(t,e,n,i){if(tn||t!==(t<0?a(t):s(t)))throw Error(u+(i||"Argument")+("number"==typeof t?tn?" out of range: ":" not an integer: ":" not a primitive number: ")+t)}function b(t){return"[object Array]"==Object.prototype.toString.call(t)}function w(t){var e=t.c.length-1;return g(t.e/h)==e&&t.c[e]%2!=0}function k(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function x(t,e,n){var i,r;if(e<0){for(r=n+".";++e;r+=n);t=r+t}else if(++e>(i=t.length)){for(r=n,e-=i;--e;r+=n);t+=r}else e=10;d/=10,u++);return _.e=u,void(_.c=[t])}g=t+""}else{if(!l.test(g=t+""))return r(_,g,f);_.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(u=g.indexOf("."))>-1&&(g=g.replace(".","")),(d=g.search(/e/i))>0?(u<0&&(u=d),u+=+g.slice(d+1),g=g.substring(0,d)):u<0&&(u=g.length)}else{if(v(e,2,z.length,"Base"),g=t+"",10==e)return q(_=new V(t instanceof V?t:g),P+_.e+1,E);if(f="number"==typeof t){if(0*t!=0)return r(_,g,f,e);if(_.s=1/t<0?(g=g.slice(1),-1):1,V.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(c+t);f=!1}else _.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(n=z.slice(0,e),u=d=0,m=g.length;du){u=m;continue}}else if(!a&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){a=!0,d=-1,u=0;continue}return r(_,t+"",f,e)}(u=(g=i(g,e,10,_.s)).indexOf("."))>-1?g=g.replace(".",""):u=g.length}for(d=0;48===g.charCodeAt(d);d++);for(m=g.length;48===g.charCodeAt(--m););if(g=g.slice(d,++m)){if(m-=d,f&&V.DEBUG&&m>15&&(t>p||t!==s(t)))throw Error(c+_.s*t);if((u=u-d-1)>R)_.c=_.e=null;else if(ua){if(--e>0)for(s+=".";e--;s+="0");}else if((e+=o-a)>0)for(o+1==a&&(s+=".");e--;s+="0");return t.s<0&&r?"-"+s:s}function W(t,e){var n,i,r=0;for(b(t[0])&&(t=t[0]),n=new V(t[0]);++r=10;r/=10,i++);return(n=i+n*h-1)>R?t.c=t.e=null:n=10;u/=10,r++);if((o=e-r)<0)o+=h,m=(c=g[p=0])/_[r-(l=e)-1]%10|0;else if((p=a((o+1)/h))>=g.length){if(!i)break t;for(;g.length<=p;g.push(0));c=m=0,r=1,l=(o%=h)-h+1}else{for(c=u=g[p],r=1;u>=10;u/=10,r++);m=(l=(o%=h)-h+r)<0?0:c/_[r-l-1]%10|0}if(i=i||e<0||null!=g[p+1]||(l<0?c:c%_[r-l-1]),i=n<4?(m||i)&&(0==n||n==(t.s<0?3:2)):m>5||5==m&&(4==n||i||6==n&&(o>0?l>0?c/_[r-l]:0:g[p-1])%10&1||n==(t.s<0?8:7)),e<1||!g[0])return g.length=0,i?(g[0]=_[(h-(e-=t.e+1)%h)%h],t.e=-e||0):g[0]=t.e=0,t;if(0==o?(g.length=p,u=1,p--):(g.length=p+1,u=_[h-o],g[p]=l>0?s(c/_[r-l]%_[l])*u:0),i)for(;;){if(0==p){for(o=1,l=g[0];l>=10;l/=10,o++);for(l=g[0]+=u,u=1;l>=10;l/=10,u++);o!=u&&(t.e++,g[0]==d&&(g[0]=1));break}if(g[p]+=u,g[p]!=d)break;g[p--]=0,u=1}for(o=g.length;0===g[--o];g.pop());}t.e>R?t.c=t.e=null:t.e>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),e[c]=n[0],e[c+1]=n[1]):(d.push(l%1e14),c+=2);c=r/2}else{if(!crypto.randomBytes)throw j=!1,Error(u+"crypto unavailable");for(e=crypto.randomBytes(r*=7);c=9e15?crypto.randomBytes(7).copy(e,c):(d.push(l%1e14),c+=7);c=r/7}if(!j)for(;c=10;l/=10,c++);cn-1&&(null==l[r+1]&&(l[r+1]=0),l[r+1]+=l[r]/n|0,l[r]%=n)}return l.reverse()}return function(e,i,r,o,l){var a,s,u,c,d,h,p,f,m=e.indexOf("."),g=P,y=E;for(m>=0&&(c=N,N=0,e=e.replace(".",""),h=(f=new V(i)).pow(e.length-m),N=c,f.c=t(x(_(h.c),h.e,"0"),10,r,"0123456789"),f.e=f.c.length),u=c=(p=t(e,i,r,l?(a=z,"0123456789"):(a="0123456789",z))).length;0==p[--c];p.pop());if(!p[0])return a.charAt(0);if(m<0?--u:(h.c=p,h.e=u,h.s=o,p=(h=n(h,f,g,y,r)).c,d=h.r,u=h.e),m=p[s=u+g+1],c=r/2,d=d||s<0||null!=p[s+1],d=y<4?(null!=m||d)&&(0==y||y==(h.s<0?3:2)):m>c||m==c&&(4==y||d||6==y&&1&p[s-1]||y==(h.s<0?8:7)),s<1||!p[0])e=d?x(a.charAt(1),-g,a.charAt(0)):a.charAt(0);else{if(p.length=s,d)for(--r;++p[--s]>r;)p[s]=0,s||(++u,p=[1].concat(p));for(c=p.length;!p[--c];);for(m=0,e="";m<=c;e+=a.charAt(p[m++]));e=x(e,u,a.charAt(0))}return e}}(),n=function(){function t(t,e,n){var i,r,o,l,a=0,s=t.length,u=e%m,c=e/m|0;for(t=t.slice();s--;)a=((r=u*(o=t[s]%m)+(i=c*o+(l=t[s]/m|0)*u)%m*m+a)/n|0)+(i/m|0)+c*l,t[s]=r%n;return a&&(t=[a].concat(t)),t}function e(t,e,n,i){var r,o;if(n!=i)o=n>i?1:-1;else for(r=o=0;re[r]?1:-1;break}return o}function n(t,e,n,i){for(var r=0;n--;)t[n]-=r,t[n]=(r=t[n]1;t.splice(0,1));}return function(i,r,o,l,a){var u,c,p,f,m,_,y,v,b,w,k,x,M,S,C,L,D,T=i.s==r.s?1:-1,O=i.c,P=r.c;if(!(O&&O[0]&&P&&P[0]))return new V(i.s&&r.s&&(O?!P||O[0]!=P[0]:P)?O&&0==O[0]||!P?0*T:T/0:NaN);for(b=(v=new V(T)).c=[],T=o+(c=i.e-r.e)+1,a||(a=d,c=g(i.e/h)-g(r.e/h),T=T/h|0),p=0;P[p]==(O[p]||0);p++);if(P[p]>(O[p]||0)&&c--,T<0)b.push(1),f=!0;else{for(S=O.length,L=P.length,p=0,T+=2,(m=s(a/(P[0]+1)))>1&&(P=t(P,m,a),O=t(O,m,a),L=P.length,S=O.length),M=L,k=(w=O.slice(0,L)).length;k=a/2&&C++;do{if(m=0,(u=e(P,w,L,k))<0){if(x=w[0],L!=k&&(x=x*a+(w[1]||0)),(m=s(x/C))>1)for(m>=a&&(m=a-1),y=(_=t(P,m,a)).length,k=w.length;1==e(_,w,y,k);)m--,n(_,L=10;T/=10,p++);q(v,o+(v.e=p+c*h-1)+1,l,f)}else v.e=c,v.r=+f;return v}}(),M=/^(-?)0([xbo])(?=\w[\w.]*$)/i,S=/^([^.]+)\.$/,C=/^\.([^.]+)$/,L=/^-?(Infinity|NaN)$/,D=/^\s*\+(?=[\w.])|^\s+|\s+$/g,r=function(t,e,n,i){var r,o=n?e:e.replace(D,"");if(L.test(o))t.s=isNaN(o)?null:o<0?-1:1,t.c=t.e=null;else{if(!n&&(o=o.replace(M,(function(t,e,n){return r="x"==(n=n.toLowerCase())?16:"b"==n?2:8,i&&i!=r?t:e})),i&&(r=i,o=o.replace(S,"$1").replace(C,"0.$1")),e!=o))return new V(o,r);if(V.DEBUG)throw Error(u+"Not a"+(i?" base "+i:"")+" number: "+e);t.c=t.e=t.s=null}},T.absoluteValue=T.abs=function(){var t=new V(this);return t.s<0&&(t.s=1),t},T.comparedTo=function(t,e){return y(this,new V(t,e))},T.decimalPlaces=T.dp=function(t,e){var n,i,r,o=this;if(null!=t)return v(t,0,1e9),null==e?e=E:v(e,0,8),q(new V(o),t+o.e+1,e);if(!(n=o.c))return null;if(i=((r=n.length-1)-g(this.e/h))*h,r=n[r])for(;r%10==0;r/=10,i--);return i<0&&(i=0),i},T.dividedBy=T.div=function(t,e){return n(this,new V(t,e),P,E)},T.dividedToIntegerBy=T.idiv=function(t,e){return n(this,new V(t,e),0,1)},T.exponentiatedBy=T.pow=function(t,e){var n,i,r,o,l,c,d,p=this;if((t=new V(t)).c&&!t.isInteger())throw Error(u+"Exponent not an integer: "+t);if(null!=e&&(e=new V(e)),o=t.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!t.c||!t.c[0])return d=new V(Math.pow(+p.valueOf(),o?2-w(t):+t)),e?d.mod(e):d;if(l=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new V(NaN);(i=!l&&p.isInteger()&&e.isInteger())&&(p=p.mod(e))}else{if(t.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||o&&p.c[1]>=24e7:p.c[0]<8e13||o&&p.c[0]<=9999975e7)))return r=p.s<0&&w(t)?-0:0,p.e>-1&&(r=1/r),new V(l?1/r:r);N&&(r=a(N/h+2))}for(o?(n=new V(.5),c=w(t)):c=t%2,l&&(t.s=1),d=new V(O);;){if(c){if(!(d=d.times(p)).c)break;r?d.c.length>r&&(d.c.length=r):i&&(d=d.mod(e))}if(o){if(q(t=t.times(n),t.e+1,1),!t.c[0])break;o=t.e>14,c=w(t)}else{if(!(t=s(t/2)))break;c=t%2}p=p.times(p),r?p.c&&p.c.length>r&&(p.c.length=r):i&&(p=p.mod(e))}return i?d:(l&&(d=O.div(d)),e?d.mod(e):r?q(d,N,E,void 0):d)},T.integerValue=function(t){var e=new V(this);return null==t?t=E:v(t,0,8),q(e,e.e+1,t)},T.isEqualTo=T.eq=function(t,e){return 0===y(this,new V(t,e))},T.isFinite=function(){return!!this.c},T.isGreaterThan=T.gt=function(t,e){return y(this,new V(t,e))>0},T.isGreaterThanOrEqualTo=T.gte=function(t,e){return 1===(e=y(this,new V(t,e)))||0===e},T.isInteger=function(){return!!this.c&&g(this.e/h)>this.c.length-2},T.isLessThan=T.lt=function(t,e){return y(this,new V(t,e))<0},T.isLessThanOrEqualTo=T.lte=function(t,e){return-1===(e=y(this,new V(t,e)))||0===e},T.isNaN=function(){return!this.s},T.isNegative=function(){return this.s<0},T.isPositive=function(){return this.s>0},T.isZero=function(){return!!this.c&&0==this.c[0]},T.minus=function(t,e){var n,i,r,o,l=this,a=l.s;if(e=(t=new V(t,e)).s,!a||!e)return new V(NaN);if(a!=e)return t.s=-e,l.plus(t);var s=l.e/h,u=t.e/h,c=l.c,p=t.c;if(!s||!u){if(!c||!p)return c?(t.s=-e,t):new V(p?l:NaN);if(!c[0]||!p[0])return p[0]?(t.s=-e,t):new V(c[0]?l:3==E?-0:0)}if(s=g(s),u=g(u),c=c.slice(),a=s-u){for((o=a<0)?(a=-a,r=c):(u=s,r=p),r.reverse(),e=a;e--;r.push(0));r.reverse()}else for(i=(o=(a=c.length)<(e=p.length))?a:e,a=e=0;e0)for(;e--;c[n++]=0);for(e=d-1;i>a;){if(c[--i]=0;){for(n=0,f=x[r]%b,_=x[r]/b|0,o=r+(l=s);o>r;)n=((u=f*(u=k[--l]%b)+(a=_*u+(c=k[l]/b|0)*f)%b*b+y[o]+n)/v|0)+(a/b|0)+_*c,y[o--]=u%v;y[o]=n}return n?++i:y.splice(0,1),U(t,y,i)},T.negated=function(){var t=new V(this);return t.s=-t.s||null,t},T.plus=function(t,e){var n,i=this,r=i.s;if(e=(t=new V(t,e)).s,!r||!e)return new V(NaN);if(r!=e)return t.s=-e,i.minus(t);var o=i.e/h,l=t.e/h,a=i.c,s=t.c;if(!o||!l){if(!a||!s)return new V(r/0);if(!a[0]||!s[0])return s[0]?t:new V(a[0]?i:0*r)}if(o=g(o),l=g(l),a=a.slice(),r=o-l){for(r>0?(l=o,n=s):(r=-r,n=a),n.reverse();r--;n.push(0));n.reverse()}for((r=a.length)-(e=s.length)<0&&(n=s,s=a,a=n,e=r),r=0;e;)r=(a[--e]=a[e]+s[e]+r)/d|0,a[e]=d===a[e]?0:a[e]%d;return r&&(a=[r].concat(a),++l),U(t,a,l)},T.precision=T.sd=function(t,e){var n,i,r,o=this;if(null!=t&&t!==!!t)return v(t,1,1e9),null==e?e=E:v(e,0,8),q(new V(o),t,e);if(!(n=o.c))return null;if(i=(r=n.length-1)*h+1,r=n[r]){for(;r%10==0;r/=10,i--);for(r=n[0];r>=10;r/=10,i++);}return t&&o.e+1>i&&(i=o.e+1),i},T.shiftedBy=function(t){return v(t,-p,p),this.times("1e"+t)},T.squareRoot=T.sqrt=function(){var t,e,i,r,o,l=this,a=l.c,s=l.s,u=l.e,c=P+4,d=new V("0.5");if(1!==s||!a||!a[0])return new V(!s||s<0&&(!a||a[0])?NaN:a?l:1/0);if(0==(s=Math.sqrt(+l))||s==1/0?(((e=_(a)).length+u)%2==0&&(e+="0"),s=Math.sqrt(e),u=g((u+1)/2)-(u<0||u%2),i=new V(e=s==1/0?"1e"+u:(e=s.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new V(s+""),i.c[0])for((s=(u=i.e)+c)<3&&(s=0);;)if(i=d.times((o=i).plus(n(l,o,c,1))),_(o.c).slice(0,s)===(e=_(i.c)).slice(0,s)){if(i.e0&&h>0){for(s=d.substr(0,i=h%o||o);i0&&(s+=a+d.slice(i)),c&&(s="-"+s)}n=u?s+H.decimalSeparator+((l=+H.fractionGroupSize)?u.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+H.fractionGroupSeparator):u):s}return n},T.toFraction=function(t){var e,i,r,o,l,a,s,c,d,p,m,g,y=this,v=y.c;if(null!=t&&(!(c=new V(t)).isInteger()&&(c.c||1!==c.s)||c.lt(O)))throw Error(u+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+t);if(!v)return y.toString();for(i=new V(O),p=r=new V(O),o=d=new V(O),g=_(v),a=i.e=g.length-y.e-1,i.c[0]=f[(s=a%h)<0?h+s:s],t=!t||c.comparedTo(i)>0?a>0?i:p:c,s=R,R=1/0,c=new V(g),d.c[0]=0;m=n(c,i,0,1),1!=(l=r.plus(m.times(o))).comparedTo(t);)r=o,o=l,p=d.plus(m.times(l=p)),d=l,i=c.minus(m.times(l=i)),c=l;return l=n(t.minus(r),o,0,1),d=d.plus(l.times(p)),r=r.plus(l.times(o)),d.s=p.s=y.s,e=n(p,o,a*=2,E).minus(y).abs().comparedTo(n(d,r,a,E).minus(y).abs())<1?[p.toString(),o.toString()]:[d.toString(),r.toString()],R=s,e},T.toNumber=function(){return+this},T.toPrecision=function(t,e){return null!=t&&v(t,1,1e9),B(this,t,e,2)},T.toString=function(t){var e,n=this,r=n.s,o=n.e;return null===o?r?(e="Infinity",r<0&&(e="-"+e)):e="NaN":(e=_(n.c),null==t?e=o<=I||o>=Y?k(e,o):x(e,o,"0"):(v(t,2,z.length,"Base"),e=i(x(e,o,"0"),10,t,r,!0)),r<0&&n.c[0]&&(e="-"+e)),e},T.valueOf=T.toJSON=function(){var t,e=this,n=e.e;return null===n?e.toString():(t=_(e.c),t=n<=I||n>=Y?k(t,n):x(t,n,"0"),e.s<0?"-"+t:t)},T._isBigNumber=!0,null!=e&&V.set(e),V}()).default=o.BigNumber=o,void 0===(i=(function(){return o}).call(e,n,e,t))||(t.exports=i)}()},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n("wd/R"))},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i,r;return"m"===n?e?"минута":"минуту":t+" "+(i=+t,r={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){switch(n){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},mgIt:function(t,e,n){var i=n("T016");function r(t){if(t){var e=[0,0,0],n=1,r=t.match(/^#([a-fA-F0-9]{3})$/i);if(r){r=r[1];for(var o=0;o0&&(u=t.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(t,e){return u(t,e,{intersect:!1})},point:function(t,e){return l(t,r(e,t))},nearest:function(t,e,n){var i=r(e,t);n.axis=n.axis||"xy";var o=s(n.axis),l=a(t,i,n.intersect,o);return l.length>1&&l.sort((function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n})),l.slice(0,1)},x:function(t,e,n){var i=r(e,t),l=[],a=!1;return o(t,(function(t){t.inXRange(i.x)&&l.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(l=[]),l},y:function(t,e,n){var i=r(e,t),l=[],a=!1;return o(t,(function(t){t.inYRange(i.y)&&l.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(l=[]),l}}}},mrSG:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return r})),n.d(e,"__assign",(function(){return o})),n.d(e,"__rest",(function(){return l})),n.d(e,"__decorate",(function(){return a})),n.d(e,"__param",(function(){return s})),n.d(e,"__metadata",(function(){return u})),n.d(e,"__awaiter",(function(){return c})),n.d(e,"__generator",(function(){return d})),n.d(e,"__exportStar",(function(){return h})),n.d(e,"__values",(function(){return p})),n.d(e,"__read",(function(){return f})),n.d(e,"__spread",(function(){return m})),n.d(e,"__await",(function(){return g})),n.d(e,"__asyncGenerator",(function(){return _})),n.d(e,"__asyncDelegator",(function(){return y})),n.d(e,"__asyncValues",(function(){return v})),n.d(e,"__makeTemplateObject",(function(){return b})),n.d(e,"__importStar",(function(){return w})),n.d(e,"__importDefault",(function(){return k}));var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=0;a--)(r=t[a])&&(l=(o<3?r(l):o>3?r(e,n,l):r(e,n))||l);return o>3&&l&&Object.defineProperty(e,n,l),l}function s(t,e){return function(n,i){e(n,i,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,i){return new(n||(n=Promise))((function(r,o){function l(t){try{s(i.next(t))}catch(e){o(e)}}function a(t){try{s(i.throw(t))}catch(e){o(e)}}function s(t){t.done?r(t.value):new n((function(e){e(t.value)})).then(l,a)}s((i=i.apply(t,e||[])).next())}))}function d(t,e){var n,i,r,o,l={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!(r=(r=l.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function f(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)l.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return l}function m(){for(var t=[],e=0;e1||a(t,e)}))})}function a(t,e){try{!function(t){t.value instanceof g?Promise.resolve(t.value.v).then(s,u):c(o[0][2],t)}(r[t](e))}catch(n){c(o[0][3],n)}}function s(t){a("next",t)}function u(t){a("throw",t)}function c(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function y(t){var e,n;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(n=!n)?{value:g(t[i](e)),done:"return"===i}:r?r(e):e}:r}}function v(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){!function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)}(i,r,(e=t[n](e)).done,e.value)}))}}}function b(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function w(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function k(t){return t&&t.__esModule?t:{default:t}}},nDWh:function(t,e,n){"use strict";var i=n("6ww4"),r=n("CDJp"),o=n("RDha");t.exports=function(t){function e(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function n(t){return null!=t&&"none"!==t}function l(t,i,r){var o=document.defaultView,l=t.parentNode,a=o.getComputedStyle(t)[i],s=o.getComputedStyle(l)[i],u=n(a),c=n(s),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(a,t,r):d,c?e(s,l,r):d):"none"}o.configMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,r){var l=n[e]||{},a=i[e];"scales"===e?n[e]=o.scaleMerge(l,a):"scale"===e?n[e]=o.merge(l,[t.scaleService.getScaleDefaults(a.type),a]):o._merger(e,n,i,r)}})},o.scaleMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,r){if("xAxes"===e||"yAxes"===e){var l,a,s,u=i[e].length;for(n[e]||(n[e]=[]),l=0;l=n[e].length&&n[e].push({}),o.merge(n[e][l],!n[e][l].type||s.type&&s.type!==n[e][l].type?[t.scaleService.getScaleDefaults(a),s]:s)}else o._merger(e,n,i,r)}})},o.where=function(t,e){if(o.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return o.each(t,(function(t){e(t)&&n.push(t)})),n},o.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,r=t.length;i=0;i--){var r=t[i];if(e(r))return r}},o.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},o.almostEquals=function(t,e,n){return Math.abs(t-e)t},o.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},o.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},o.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},o.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e},o.toRadians=function(t){return t*(Math.PI/180)},o.toDegrees=function(t){return t*(180/Math.PI)},o.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},o.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},o.aliasPixel=function(t){return t%2==0?0:.5},o.splineCurve=function(t,e,n,i){var r=t.skip?e:t,o=e,l=n.skip?e:n,a=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),s=Math.sqrt(Math.pow(l.x-o.x,2)+Math.pow(l.y-o.y,2)),u=a/(a+s),c=s/(a+s),d=i*(u=isNaN(u)?0:u),h=i*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(l.x-r.x),y:o.y-d*(l.y-r.y)},next:{x:o.x+h*(l.x-r.x),y:o.y+h*(l.y-r.y)}}},o.EPSILON=Number.EPSILON||1e-14,o.splineCurveMonotone=function(t){var e,n,i,r,l,a,s,u,c,d=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),h=d.length;for(e=0;e0?d[e-1]:null,(r=e0?d[e-1]:null)&&!n.model.skip&&(i.model.controlPointPreviousX=i.model.x-(c=(i.model.x-n.model.x)/3),i.model.controlPointPreviousY=i.model.y-c*i.mK),r&&!r.model.skip&&(i.model.controlPointNextX=i.model.x+(c=(r.model.x-i.model.x)/3),i.model.controlPointNextY=i.model.y+c*i.mK))},o.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},o.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},o.niceNum=function(t,e){var n=Math.floor(o.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},o.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},o.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,l=t.currentTarget||t.srcElement,a=l.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var u=parseFloat(o.getStyle(l,"padding-left")),c=parseFloat(o.getStyle(l,"padding-top")),d=parseFloat(o.getStyle(l,"padding-right")),h=parseFloat(o.getStyle(l,"padding-bottom")),p=a.bottom-a.top-c-h;return{x:n=Math.round((n-a.left-u)/(a.right-a.left-u-d)*l.width/e.currentDevicePixelRatio),y:i=Math.round((i-a.top-c)/p*l.height/e.currentDevicePixelRatio)}},o.getConstraintWidth=function(t){return l(t,"max-width","clientWidth")},o.getConstraintHeight=function(t){return l(t,"max-height","clientHeight")},o.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(o.getStyle(e,"padding-left"),10),i=parseInt(o.getStyle(e,"padding-right"),10),r=e.clientWidth-n-i,l=o.getConstraintWidth(t);return isNaN(l)?r:Math.min(r,l)},o.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(o.getStyle(e,"padding-top"),10),i=parseInt(o.getStyle(e,"padding-bottom"),10),r=e.clientHeight-n-i,l=o.getConstraintHeight(t);return isNaN(l)?r:Math.min(r,l)},o.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},o.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,o=t.width;i.height=r*n,i.width=o*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=o+"px")}},o.fontString=function(t,e,n){return e+" "+t+"px "+n},o.longestText=function(t,e,n,i){var r=(i=i||{}).data=i.data||{},l=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},l=i.garbageCollect=[],i.font=e),t.font=e;var a=0;o.each(n,(function(e){null!=e&&!0!==o.isArray(e)?a=o.measureText(t,r,l,a,e):o.isArray(e)&&o.each(e,(function(e){null==e||o.isArray(e)||(a=o.measureText(t,r,l,a,e))}))}));var s=l.length/2;if(s>n.length){for(var u=0;ui&&(i=o),i},o.numberOfLabelLines=function(t){var e=1;return o.each(t,(function(t){o.isArray(t)&&t.length>e&&(e=t.length)})),e},o.color=i?function(t){return t instanceof CanvasGradient&&(t=r.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},o.getHoverColor=function(t){return t instanceof CanvasPattern?t:o.color(t).saturate(.5).darken(.1).rgbString()}}},nyYc:function(t,e,n){!function(t){"use strict";t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n("wd/R"))},"p/rL":function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},paOr:function(t,e,n){"use strict";var i=n("RDha");t.exports=function(t){var e=i.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=i.sign(t.min),r=i.sign(t.max);n<0&&r<0?t.max=0:n>0&&r>0&&(t.min=0)}var o=void 0!==e.min||void 0!==e.suggestedMin,l=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(t.min=null===t.min?e.suggestedMin:Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(t.max=null===t.max?e.suggestedMax:Math.max(t.max,e.suggestedMax)),o!==l&&t.min>=t.max&&(o?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,stepSize:i.valueOrDefault(e.fixedStepSize,e.stepSize)},o=t.ticks=function(t,e){var n,r=[];if(t.stepSize&&t.stepSize>0)n=t.stepSize;else{var o=i.niceNum(e.max-e.min,!1);n=i.niceNum(o/(t.maxTicks-1),!0)}var l=Math.floor(e.min/n)*n,a=Math.ceil(e.max/n)*n;t.min&&t.max&&t.stepSize&&i.almostWhole((t.max-t.min)/t.stepSize,n/1e3)&&(l=t.min,a=t.max);var s=(a-l)/n;s=i.almostEquals(s,Math.round(s),n/1e3)?Math.round(s):Math.ceil(s);var u=1;n<1&&(u=Math.pow(10,n.toString().length-2),l=Math.round(l*u)/u,a=Math.round(a*u)/u),r.push(void 0!==t.min?t.min:l);for(var c=1;c
';var r=e.childNodes[0],o=e.childNodes[1];e._reset=function(){r.scrollLeft=1e6,r.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6};var l=function(){e._reset(),t()};return s(r,"scroll",l.bind(r,"expand")),s(o,"scroll",l.bind(o,"shrink")),e}((o=function(){if(d.resizer)return e(c("resize",n))},a=!1,u=[],function(){u=Array.prototype.slice.call(arguments),l=l||this,a||(a=!0,i.requestAnimFrame.call(window,(function(){a=!1,o.apply(l,u)})))}));!function(t,e){var n=t.$chartjs||(t.$chartjs={}),o=n.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&e()};i.each(r,(function(e){s(t,e,o)})),n.reflow=!!t.offsetParent,t.classList.add("chartjs-render-monitor")}(t,(function(){if(d.resizer){var e=t.parentNode;e&&e!==h.parentNode&&e.insertBefore(h,e.firstChild),h._reset()}}))}(l,n,t)},removeEventListener:function(t,e,n){var o,l,a,s=t.canvas;if("resize"!==e){var c=((n.$chartjs||{}).proxies||{})[t.id+"_"+e];c&&u(s,e,c)}else a=(l=(o=s).$chartjs||{}).resizer,delete l.resizer,function(t){var e=t.$chartjs||{},n=e.renderProxy;n&&(i.each(r,(function(e){u(t,e,n)})),delete e.renderProxy),t.classList.remove("chartjs-render-monitor")}(o),a&&a.parentNode&&a.parentNode.removeChild(a)}},i.addEvent=s,i.removeEvent=u},qzaf:function(t,e,n){"use strict";t.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i,r;return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+(i=+t,r={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}function n(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sp3z:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})}(n("wd/R"))},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(t,e,n){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tjFV:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),o=n("fELs");t.exports=function(t){t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=r.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?r.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=r.extend(this.defaults[t],e))},addScalesToLayout:function(t){r.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,o.addBox(t,e)}))}}}},u0Op:function(t,e,n){"use strict";var i=n("TC34"),r={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-r.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*r.easeInBounce(2*t):.5*r.easeOutBounce(2*t-1)+.5}};t.exports={effects:r},i.easingEffects=r},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uXwI:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},vpM6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("global",{plugins:{filler:{propagate:!0}}});var l={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e)&&i.dataset._children||[],o=r.length||0;return o?function(t,e){return e=n)&&i;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function s(t){var e,n=t.el._model||{},i=t.el._scale||{},r=t.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePosition?o=i.getBasePosition():i.getBasePixel&&(o=i.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if("number"==typeof o&&isFinite(o))return{x:(e=i.isHorizontal())?o:null,y:e?null:o}}return null}function u(t,e,n){var i,r=t[e].fill,o=[e];if(!n)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!isFinite(r))return r;if(!(i=t[r]))return!1;if(i.visible)return r;o.push(r),r=i.fill}return!1}function c(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),l[n](t))}function d(t){return t&&!t.skip}function h(t,e,n,i,r){var l;if(i&&r){for(t.moveTo(e[0].x,e[0].y),l=1;l0;--l)o.canvas.lineTo(t,n[l],n[l-1],!0)}}t.exports={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,o,l,d=(t.data.datasets||[]).length,h=e.propagate,p=[];for(i=0;i>>0,i=0;i0)for(n=0;n<_.length;n++)a(r=e[i=_[n]])||(t[i]=r);return t}var v=!1;function b(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,r.updateOffset(this),v=!1)}function w(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function k(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=k(e)),n}function M(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),l=0;for(i=0;i=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},B={};function W(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(B[t]=r),e&&(B[e[0]]=function(){return N(r.apply(this,arguments),e[1],e[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=q(e,t.localeData()),V[e]=V[e]||function(t){var e,n,i,r=t.match(H);for(e=0,n=r.length;e=0&&z.test(t);)t=t.replace(z,i),z.lastIndex=0,n-=1;return t}var K=/\d/,G=/\d\d/,J=/\d{3}/,Z=/\d{4}/,$=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,nt=/\d{1,4}/,it=/[+-]?\d{1,6}/,rt=/\d+/,ot=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ut={};function ct(t,e,n){ut[t]=O(e)?e:function(t,i){return t&&n?n:e}}function dt(t,e){return d(ut,t)?ut[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r}))))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={};function ft(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),s(e)&&(i=function(t,n){n[e]=x(t)}),n=0;n68?1900:2e3)};var Dt,Tt=Ot("FullYear",!0);function Ot(t,e){return function(n){return null!=n?(Et(this,t,n),r.updateOffset(this,e),this):Pt(this,t)}}function Pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Et(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Lt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),It(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function It(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?Lt(t)?29:28:31-n%7%2}Dt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0&&isFinite(a.getFullYear())&&a.setFullYear(t),a}function Wt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Ut(t,e,n){var i=7+e-n;return-(7+Wt(t,0,i).getUTCDay()-e)%7+i-1}function qt(t,e,n,i,r){var o,l,a=1+7*(e-1)+(7+n-i)%7+Ut(t,i,r);return a<=0?l=Ct(o=t-1)+a:a>Ct(t)?(o=t+1,l=a-Ct(t)):(o=t,l=a),{year:o,dayOfYear:l}}function Kt(t,e,n){var i,r,o=Ut(t.year(),e,n),l=Math.floor((t.dayOfYear()-o-1)/7)+1;return l<1?i=l+Gt(r=t.year()-1,e,n):l>Gt(t.year(),e,n)?(i=l-Gt(t.year(),e,n),r=t.year()+1):(r=t.year(),i=l),{week:i,year:r}}function Gt(t,e,n){var i=Ut(t,e,n),r=Ut(t+1,e,n);return(Ct(t)-i+r)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),F("week",5),F("isoWeek",5),ct("w",X),ct("ww",X,G),ct("W",X),ct("WW",X,G),mt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=x(t)})),W("d",0,"do","day"),W("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),W("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),W("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),ct("d",X),ct("e",X),ct("E",X),ct("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ct("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ct("dddd",(function(t,e){return e.weekdaysRegex(t)})),mt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:f(n).invalidWeekday=t})),mt(["d","e","E"],(function(t,e,n,i){e[i]=x(t)}));var Jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$t="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Xt(t,e,n){var i,r,o,l=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=Dt.call(this._weekdaysParse,l))?r:null:"ddd"===e?-1!==(r=Dt.call(this._shortWeekdaysParse,l))?r:null:-1!==(r=Dt.call(this._minWeekdaysParse,l))?r:null:"dddd"===e?-1!==(r=Dt.call(this._weekdaysParse,l))?r:-1!==(r=Dt.call(this._shortWeekdaysParse,l))?r:-1!==(r=Dt.call(this._minWeekdaysParse,l))?r:null:"ddd"===e?-1!==(r=Dt.call(this._shortWeekdaysParse,l))?r:-1!==(r=Dt.call(this._weekdaysParse,l))?r:-1!==(r=Dt.call(this._minWeekdaysParse,l))?r:null:-1!==(r=Dt.call(this._minWeekdaysParse,l))?r:-1!==(r=Dt.call(this._weekdaysParse,l))?r:-1!==(r=Dt.call(this._shortWeekdaysParse,l))?r:null}var Qt=st,te=st,ee=st;function ne(){function t(t,e){return e.length-t.length}var e,n,i,r,o,l=[],a=[],s=[],u=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),l.push(i),a.push(r),s.push(o),u.push(i),u.push(r),u.push(o);for(l.sort(t),a.sort(t),s.sort(t),u.sort(t),e=0;e<7;e++)a[e]=ht(a[e]),s[e]=ht(s[e]),u[e]=ht(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+l.join("|")+")","i")}function ie(){return this.hours()%12||12}function re(t,e){W(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function oe(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,ie),W("k",["kk",2],0,(function(){return this.hours()||24})),W("hmm",0,0,(function(){return""+ie.apply(this)+N(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+ie.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),re("a",!0),re("A",!1),Y("hour","h"),F("hour",13),ct("a",oe),ct("A",oe),ct("H",X),ct("h",X),ct("k",X),ct("HH",X,G),ct("hh",X,G),ct("kk",X,G),ct("hmm",Q),ct("hmmss",tt),ct("Hmm",Q),ct("Hmmss",tt),ft(["H","HH"],bt),ft(["k","kk"],(function(t,e,n){var i=x(t);e[bt]=24===i?0:i})),ft(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),ft(["h","hh"],(function(t,e,n){e[bt]=x(t),f(n).bigHour=!0})),ft("hmm",(function(t,e,n){var i=t.length-2;e[bt]=x(t.substr(0,i)),e[wt]=x(t.substr(i)),f(n).bigHour=!0})),ft("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[bt]=x(t.substr(0,i)),e[wt]=x(t.substr(i,2)),e[kt]=x(t.substr(r)),f(n).bigHour=!0})),ft("Hmm",(function(t,e,n){var i=t.length-2;e[bt]=x(t.substr(0,i)),e[wt]=x(t.substr(i))})),ft("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[bt]=x(t.substr(0,i)),e[wt]=x(t.substr(i,2)),e[kt]=x(t.substr(r))}));var le,ae=Ot("Hours",!0),se={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:At,monthsShort:Rt,week:{dow:0,doy:6},weekdays:Jt,weekdaysMin:$t,weekdaysShort:Zt,meridiemParse:/[ap]\.?m?\.?/i},ue={},ce={};function de(t){return t?t.toLowerCase().replace("_","-"):t}function he(e){var i=null;if(!ue[e]&&void 0!==t&&t&&t.exports)try{i=le._abbr,n("RnhZ")("./"+e),pe(i)}catch(r){}return ue[e]}function pe(t,e){var n;return t&&((n=a(e)?me(t):fe(t,e))?le=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),le._abbr}function fe(t,e){if(null!==e){var n,i=se;if(e.abbr=t,null!=ue[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ue[t]._config;else if(null!=e.parentLocale)if(null!=ue[e.parentLocale])i=ue[e.parentLocale]._config;else{if(null==(n=he(e.parentLocale)))return ce[e.parentLocale]||(ce[e.parentLocale]=[]),ce[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ue[t]=new E(P(i,e)),ce[t]&&ce[t].forEach((function(t){fe(t.name,t.config)})),pe(t),ue[t]}return delete ue[t],null}function me(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return le;if(!o(t)){if(e=he(t))return e;t=[t]}return function(t){for(var e,n,i,r,o=0;o0;){if(i=he(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&M(r,n,!0)>=e-1)break;e--}o++}return le}(t)}function ge(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[yt]<0||n[yt]>11?yt:n[vt]<1||n[vt]>It(n[_t],n[yt])?vt:n[bt]<0||n[bt]>24||24===n[bt]&&(0!==n[wt]||0!==n[kt]||0!==n[xt])?bt:n[wt]<0||n[wt]>59?wt:n[kt]<0||n[kt]>59?kt:n[xt]<0||n[xt]>999?xt:-1,f(t)._overflowDayOfYear&&(e<_t||e>vt)&&(e=vt),f(t)._overflowWeeks&&-1===e&&(e=Mt),f(t)._overflowWeekday&&-1===e&&(e=St),f(t).overflow=e),t}function _e(t,e,n){return null!=t?t:null!=e?e:n}function ye(t){var e,n,i,o,l,a=[];if(!t._d){for(i=function(t){var e=new Date(r.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[vt]&&null==t._a[yt]&&function(t){var e,n,i,r,o,l,a,s;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,l=4,n=_e(e.GG,t._a[_t],Kt(Ee(),1,4).year),i=_e(e.W,1),((r=_e(e.E,1))<1||r>7)&&(s=!0);else{o=t._locale._week.dow,l=t._locale._week.doy;var u=Kt(Ee(),o,l);n=_e(e.gg,t._a[_t],u.year),i=_e(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(s=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(s=!0)):r=o}i<1||i>Gt(n,o,l)?f(t)._overflowWeeks=!0:null!=s?f(t)._overflowWeekday=!0:(a=qt(n,i,r,o,l),t._a[_t]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(l=_e(t._a[_t],i[_t]),(t._dayOfYear>Ct(l)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),n=Wt(l,0,t._dayOfYear),t._a[yt]=n.getUTCMonth(),t._a[vt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[bt]&&0===t._a[wt]&&0===t._a[kt]&&0===t._a[xt]&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Wt:Bt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[bt]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(f(t).weekdayMismatch=!0)}}var ve=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,be=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,we=/Z|[+-]\d\d(?::?\d\d)?/,ke=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Me=/^\/?Date\((\-?\d+)/i;function Se(t){var e,n,i,r,o,l,a=t._i,s=ve.exec(a)||be.exec(a);if(s){for(f(t).iso=!0,e=0,n=ke.length;e0&&f(t).unusedInput.push(l),a=a.slice(a.indexOf(n)+n.length),u+=n.length),B[o]?(n?f(t).empty=!1:f(t).unusedTokens.push(o),gt(o,n,t)):t._strict&&!n&&f(t).unusedTokens.push(o);f(t).charsLeftOver=s-u,a.length>0&&f(t).unusedInput.push(a),t._a[bt]<=12&&!0===f(t).bigHour&&t._a[bt]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[bt]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[bt],t._meridiem),ye(t),ge(t)}else De(t);else Se(t)}function Oe(t){var e=t._i,n=t._f;return t._locale=t._locale||me(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),w(e)?new b(ge(e)):(u(e)?t._d=e:o(n)?function(t){var e,n,i,r,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:g()}));function Ae(t,e){var n,i;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ee();for(n=e[0],i=1;i(o=Gt(t,i,r))&&(e=o),sn.call(this,t,e,n,i,r))}function sn(t,e,n,i,r){var o=qt(t,e,n,i,r),l=Wt(o.year,0,o.dayOfYear);return this.year(l.getUTCFullYear()),this.month(l.getUTCMonth()),this.date(l.getUTCDate()),this}W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),ct("G",ot),ct("g",ot),ct("GG",X,G),ct("gg",X,G),ct("GGGG",nt,Z),ct("gggg",nt,Z),ct("GGGGG",it,$),ct("ggggg",it,$),mt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=x(t)})),mt(["gg","GG"],(function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)})),W("Q",0,"Qo","quarter"),Y("quarter","Q"),F("quarter",7),ct("Q",K),ft("Q",(function(t,e){e[yt]=3*(x(t)-1)})),W("D",["DD",2],"Do","date"),Y("date","D"),F("date",9),ct("D",X),ct("DD",X,G),ct("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),ft(["D","DD"],vt),ft("Do",(function(t,e){e[vt]=x(t.match(X)[0])}));var un=Ot("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),F("dayOfYear",4),ct("DDD",et),ct("DDDD",J),ft(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=x(t)})),W("m",["mm",2],0,"minute"),Y("minute","m"),F("minute",14),ct("m",X),ct("mm",X,G),ft(["m","mm"],wt);var cn=Ot("Minutes",!1);W("s",["ss",2],0,"second"),Y("second","s"),F("second",15),ct("s",X),ct("ss",X,G),ft(["s","ss"],kt);var dn,hn=Ot("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Y("millisecond","ms"),F("millisecond",16),ct("S",et,K),ct("SS",et,G),ct("SSS",et,J),dn="SSSS";dn.length<=9;dn+="S")ct(dn,rt);function pn(t,e){e[xt]=x(1e3*("0."+t))}for(dn="S";dn.length<=9;dn+="S")ft(dn,pn);var fn=Ot("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var mn=b.prototype;function gn(t){return t}mn.add=Qe,mn.calendar=function(t,e){var n=t||Ee(),i=Be(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",l=e&&(O(e[o])?e[o].call(this,n):e[o]);return this.format(l||this.localeData().calendar(o,this,Ee(n)))},mn.clone=function(){return new b(this)},mn.diff=function(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Be(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=A(e)){case"year":o=en(this,i)/12;break;case"month":o=en(this,i);break;case"quarter":o=en(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:k(o)},mn.endOf=function(t){return void 0===(t=A(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},mn.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},mn.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Ee(t).isValid())?Ge({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mn.fromNow=function(t){return this.from(Ee(),t)},mn.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Ee(t).isValid())?Ge({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mn.toNow=function(t){return this.to(Ee(),t)},mn.get=function(t){return O(this[t=A(t)])?this[t]():this},mn.invalidAt=function(){return f(this).overflow},mn.isAfter=function(t,e){var n=w(t)?t:Ee(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=A(a(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()9999?U(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},mn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},mn.toJSON=function(){return this.isValid()?this.toISOString():null},mn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},mn.unix=function(){return Math.floor(this.valueOf()/1e3)},mn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},mn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},mn.year=Tt,mn.isLeapYear=function(){return Lt(this.year())},mn.weekYear=function(t){return an.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},mn.isoWeekYear=function(t){return an.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},mn.quarter=mn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},mn.month=Nt,mn.daysInMonth=function(){return It(this.year(),this.month())},mn.week=mn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},mn.isoWeek=mn.isoWeeks=function(t){var e=Kt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},mn.weeksInYear=function(){var t=this.localeData()._week;return Gt(this.year(),t.dow,t.doy)},mn.isoWeeksInYear=function(){return Gt(this.year(),1,4)},mn.date=un,mn.day=mn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},mn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},mn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},mn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},mn.hour=mn.hours=ae,mn.minute=mn.minutes=cn,mn.second=mn.seconds=hn,mn.millisecond=mn.milliseconds=fn,mn.utcOffset=function(t,e,n){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ve(at,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=We(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!e||this._changeInProgress?Xe(this,Ge(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:We(this)},mn.utc=function(t){return this.utcOffset(0,t)},mn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(We(this),"m")),this},mn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ve(lt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},mn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ee(t).utcOffset():0,(this.utcOffset()-t)%60==0)},mn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mn.isLocal=function(){return!!this.isValid()&&!this._isUTC},mn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mn.isUtc=Ue,mn.isUTC=Ue,mn.zoneAbbr=function(){return this._isUTC?"UTC":""},mn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},mn.dates=C("dates accessor is deprecated. Use date instead.",un),mn.months=C("months accessor is deprecated. Use month instead",Nt),mn.years=C("years accessor is deprecated. Use year instead",Tt),mn.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),mn.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=Oe(t))._a){var e=t._isUTC?p(t._a):Ee(t._a);this._isDSTShifted=this.isValid()&&M(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var _n=E.prototype;function yn(t,e,n,i){var r=me(),o=p().set(i,e);return r[n](o,t)}function vn(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return yn(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=yn(t,i,n,"month");return r}function bn(t,e,n,i){"boolean"==typeof t?(s(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,s(e)&&(n=e,e=void 0),e=e||"");var r,o=me(),l=t?o._week.dow:0;if(null!=n)return yn(e,(n+l)%7,i,"day");var a=[];for(r=0;r<7;r++)a[r]=yn(e,(r+l)%7,i,"day");return a}_n.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return O(i)?i.call(e,n):i},_n.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])},_n.invalidDate=function(){return this._invalidDate},_n.ordinal=function(t){return this._ordinal.replace("%d",t)},_n.preparse=gn,_n.postformat=gn,_n.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return O(r)?r(t,e,n,i):r.replace(/%d/i,t)},_n.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return O(n)?n(e):n.replace(/%s/i,e)},_n.set=function(t){var e,n;for(n in t)O(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_n.months=function(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Yt).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone},_n.monthsShort=function(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Yt.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_n.monthsParse=function(t,e,n){var i,r,o;if(this._monthsParseExact)return jt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=p([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},_n.monthsRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||Vt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=zt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},_n.monthsShortRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||Vt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Ht),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},_n.week=function(t){return Kt(t,this._week.dow,this._week.doy).week},_n.firstDayOfYear=function(){return this._week.doy},_n.firstDayOfWeek=function(){return this._week.dow},_n.weekdays=function(t,e){return t?o(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},_n.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},_n.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},_n.weekdaysParse=function(t,e,n){var i,r,o;if(this._weekdaysParseExact)return Xt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=p([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},_n.weekdaysRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Qt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},_n.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=te),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_n.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ee),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_n.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},_n.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},pe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=C("moment.lang is deprecated. Use moment.locale instead.",pe),r.langData=C("moment.langData is deprecated. Use moment.localeData instead.",me);var wn=Math.abs;function kn(t,e,n,i){var r=Ge(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function xn(t){return t<0?Math.floor(t):Math.ceil(t)}function Mn(t){return 4800*t/146097}function Sn(t){return 146097*t/4800}function Cn(t){return function(){return this.as(t)}}var Ln=Cn("ms"),Dn=Cn("s"),Tn=Cn("m"),On=Cn("h"),Pn=Cn("d"),En=Cn("w"),In=Cn("M"),Yn=Cn("y");function An(t){return function(){return this.isValid()?this._data[t]:NaN}}var Rn=An("milliseconds"),jn=An("seconds"),Fn=An("minutes"),Nn=An("hours"),Hn=An("days"),zn=An("months"),Vn=An("years"),Bn=Math.round,Wn={ss:44,s:45,m:45,h:22,d:26,M:11};function Un(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var qn=Math.abs;function Kn(t){return(t>0)-(t<0)||+t}function Gn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=qn(this._milliseconds)/1e3,i=qn(this._days),r=qn(this._months);t=k(n/60),e=k(t/60),n%=60,t%=60;var o=k(r/12),l=r%=12,a=i,s=e,u=t,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",p=Kn(this._months)!==Kn(d)?"-":"",f=Kn(this._days)!==Kn(d)?"-":"",m=Kn(this._milliseconds)!==Kn(d)?"-":"";return h+"P"+(o?p+o+"Y":"")+(l?p+l+"M":"")+(a?f+a+"D":"")+(s||u||c?"T":"")+(s?m+s+"H":"")+(u?m+u+"M":"")+(c?m+c+"S":"")}var Jn=je.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var t=this._data;return this._milliseconds=wn(this._milliseconds),this._days=wn(this._days),this._months=wn(this._months),t.milliseconds=wn(t.milliseconds),t.seconds=wn(t.seconds),t.minutes=wn(t.minutes),t.hours=wn(t.hours),t.months=wn(t.months),t.years=wn(t.years),this},Jn.add=function(t,e){return kn(this,t,e,1)},Jn.subtract=function(t,e){return kn(this,t,e,-1)},Jn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=A(t))||"year"===t)return n=this._months+Mn(e=this._days+i/864e5),"month"===t?n:n/12;switch(e=this._days+Math.round(Sn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Jn.asMilliseconds=Ln,Jn.asSeconds=Dn,Jn.asMinutes=Tn,Jn.asHours=On,Jn.asDays=Pn,Jn.asWeeks=En,Jn.asMonths=In,Jn.asYears=Yn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN},Jn._bubble=function(){var t,e,n,i,r,o=this._milliseconds,l=this._days,a=this._months,s=this._data;return o>=0&&l>=0&&a>=0||o<=0&&l<=0&&a<=0||(o+=864e5*xn(Sn(a)+l),l=0,a=0),s.milliseconds=o%1e3,t=k(o/1e3),s.seconds=t%60,e=k(t/60),s.minutes=e%60,n=k(e/60),s.hours=n%24,l+=k(n/24),a+=r=k(Mn(l)),l-=xn(Sn(r)),i=k(a/12),a%=12,s.days=l,s.months=a,s.years=i,this},Jn.clone=function(){return Ge(this)},Jn.get=function(t){return t=A(t),this.isValid()?this[t+"s"]():NaN},Jn.milliseconds=Rn,Jn.seconds=jn,Jn.minutes=Fn,Jn.hours=Nn,Jn.days=Hn,Jn.weeks=function(){return k(this.days()/7)},Jn.months=zn,Jn.years=Vn,Jn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var i=Ge(t).abs(),r=Bn(i.as("s")),o=Bn(i.as("m")),l=Bn(i.as("h")),a=Bn(i.as("d")),s=Bn(i.as("M")),u=Bn(i.as("y")),c=r<=Wn.ss&&["s",r]||r0,c[4]=n,Un.apply(null,c)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Jn.toISOString=Gn,Jn.toString=Gn,Jn.toJSON=Gn,Jn.locale=nn,Jn.localeData=on,Jn.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gn),Jn.lang=rn,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ct("x",ot),ct("X",/[+-]?\d+(\.\d{1,3})?/),ft("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))})),ft("x",(function(t,e,n){n._d=new Date(x(t))})),r.version="2.22.2",e=Ee,r.fn=mn,r.min=function(){return Ae("isBefore",[].slice.call(arguments,0))},r.max=function(){return Ae("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(t){return Ee(1e3*t)},r.months=function(t,e){return vn(t,e,"months")},r.isDate=u,r.locale=pe,r.invalid=g,r.duration=Ge,r.isMoment=w,r.weekdays=function(t,e,n){return bn(t,e,n,"weekdays")},r.parseZone=function(){return Ee.apply(null,arguments).parseZone()},r.localeData=me,r.isDuration=Fe,r.monthsShort=function(t,e){return vn(t,e,"monthsShort")},r.weekdaysMin=function(t,e,n){return bn(t,e,n,"weekdaysMin")},r.defineLocale=fe,r.updateLocale=function(t,e){if(null!=e){var n,i,r=se;null!=(i=he(t))&&(r=i._config),(n=new E(e=P(r,e))).parentLocale=ue[t],ue[t]=n,pe(t)}else null!=ue[t]&&(null!=ue[t].parentLocale?ue[t]=ue[t].parentLocale:null!=ue[t]&&delete ue[t]);return ue[t]},r.locales=function(){return L(ue)},r.weekdaysShort=function(t,e,n){return bn(t,e,n,"weekdaysShort")},r.normalizeUnits=A,r.relativeTimeRounding=function(t){return void 0===t?Bn:"function"==typeof t&&(Bn=t,!0)},r.relativeTimeThreshold=function(t,e){return void 0!==Wn[t]&&(void 0===e?Wn[t]:(Wn[t]=e,"s"===t&&(Wn.ss=e-1),!0))},r.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=mn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n("YuTi")(t))},x6pH:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n("wd/R"))},x8uC:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha");i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:o.noop,title:function(t,e){var n="",i=e.labels,r=i?i.length:0;if(t.length>0){var o=t[0];o.xLabel?n=o.xLabel:r>0&&o.indexi.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===s?o+=u:o-="bottom"===s?e.height+u:e.height/2,"center"===s?"left"===a?r+=u:"right"===a&&(r-=u):"left"===a?r-=c:"right"===a&&(r+=c),{x:r,y:o}}(f,v,_=function(t,e){var n,i,r,o,l,a=t._model,s=t._chart,u=t._chart.chartArea,c="center",d="center";a.ys.height-e.height&&(d="bottom");var h=(u.left+u.right)/2,p=(u.top+u.bottom)/2;"center"===d?(n=function(t){return t<=h},i=function(t){return t>h}):(n=function(t){return t<=e.width/2},i=function(t){return t>=s.width-e.width/2}),r=function(t){return t+e.width+a.caretSize+a.caretPadding>s.width},o=function(t){return t-e.width-a.caretSize-a.caretPadding<0},l=function(t){return t<=p?"top":"bottom"},n(a.x)?(c="left",r(a.x)&&(c="center",d=l(a.y))):i(a.x)&&(c="right",o(a.x)&&(c="center",d=l(a.y)));var f=t._options;return{xAlign:f.xAlign?f.xAlign:c,yAlign:f.yAlign?f.yAlign:d}}(this,v),d._chart)}else f.opacity=0;return f.xAlign=_.xAlign,f.yAlign=_.yAlign,f.x=y.x,f.y=y.y,f.width=v.width,f.height=v.height,f.caretX=b.x,f.caretY=b.y,d._model=f,e&&h.custom&&h.custom.call(d,f),d},drawCaret:function(t,e){var n=this._chart.ctx,i=this.getCaretPosition(t,e,this._view);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(t,e,n){var i,r,o,l,a,s,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,p=t.x,f=t.y,m=e.width,g=e.height;if("center"===h)a=f+g/2,"left"===d?(r=(i=p)-u,o=i,l=a+u,s=a-u):(r=(i=p+m)+u,o=i,l=a-u,s=a+u);else if("left"===d?(i=(r=p+c+u)-u,o=r+u):"right"===d?(i=(r=p+m-c-u)-u,o=r+u):(i=(r=n.caretX)-u,o=r+u),"top"===h)a=(l=f)-u,s=l;else{a=(l=f+g)+u,s=l;var _=o;o=i,i=_}return{x1:i,x2:r,x3:o,y1:l,y2:a,y3:s}},drawTitle:function(t,n,i,r){var l=n.title;if(l.length){i.textAlign=n._titleAlign,i.textBaseline="top";var a,s,u=n.titleFontSize,c=n.titleSpacing;for(i.fillStyle=e(n.titleFontColor,r),i.font=o.fontString(u,n._titleFontStyle,n._titleFontFamily),a=0,s=l.length;a0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length)&&(this.drawBackground(i,e,t,n,r),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,r),this.drawBody(i,e,t,r),this.drawFooter(i,e,t,r))}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],n._active="mouseout"===t.type?[]:n._chart.getElementsAtEventForMode(t,i.mode,i),(e=!o.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),t.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,n,i=0,r=0,o=0;for(e=0,n=t.length;e\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}s="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n-1}function T(t){return t.trim().split(/\s+/g)}function O(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;in[e]})):i.sort()),i}function I(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o1&&!n.firstMultiple?n.firstMultiple=nt(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,l=n.firstMultiple,s=l?l.center:o.center,u=e.center=it(i);e.timeStamp=f(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=at(s,u),e.distance=lt(s,u),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==H&&o.eventType!==V||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=ot(e.deltaX,e.deltaY);var c,d,h=rt(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=h.x,e.overallVelocityY=h.y,e.overallVelocity=p(h.x)>p(h.y)?h.x:h.y,e.scale=l?(c=l.pointers,lt((d=i)[0],d[1],Q)/lt(c[0],c[1],Q)):1,e.rotation=l?function(t,e){return at(e[1],e[0],Q)+at(t[1],t[0],Q)}(l.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,r,o,l=t.lastInterval||e,s=e.timeStamp-l.timeStamp;if(e.eventType!=B&&(s>N||l.velocity===a)){var u=e.deltaX-l.deltaX,c=e.deltaY-l.deltaY,d=rt(s,u,c);i=d.x,r=d.y,n=p(d.x)>p(d.y)?d.x:d.y,o=ot(u,c),t.lastInterval=e}else n=l.velocity,i=l.velocityX,r=l.velocityY,o=l.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}(n,e);var m=t.element;L(e.srcEvent.target,m)&&(m=e.srcEvent.target),e.target=m}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function nt(t){for(var e=[],n=0;n=p(e)?t<0?U:q:e<0?K:G}function lt(t,e,n){n||(n=X);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function at(t,e,n){return n||(n=X),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}tt.prototype={handler:function(){},init:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(A(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(A(this.element),this.evWin,this.domHandler)}};var st={mousedown:H,mousemove:z,mouseup:V},ut="mousedown",ct="mousemove mouseup";function dt(){this.evEl=ut,this.evWin=ct,this.pressed=!1,tt.apply(this,arguments)}w(dt,tt,{handler:function(t){var e=st[t.type];e&H&&0===t.button&&(this.pressed=!0),e&z&&1!==t.which&&(e=V),this.pressed&&(e&V&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var ht={pointerdown:H,pointermove:z,pointerup:V,pointercancel:B,pointerout:B},pt={2:"touch",3:"pen",4:"mouse",5:"kinect"},ft="pointerdown",mt="pointermove pointerup pointercancel";function gt(){this.evEl=ft,this.evWin=mt,tt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(ft="MSPointerDown",mt="MSPointerMove MSPointerUp MSPointerCancel"),w(gt,tt,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=ht[i],o=pt[t.pointerType]||t.pointerType,l="touch"==o,a=O(e,t.pointerId,"pointerId");r&H&&(0===t.button||l)?a<0&&(e.push(t),a=e.length-1):r&(V|B)&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(a,1))}});var _t={touchstart:H,touchmove:z,touchend:V,touchcancel:B},yt="touchstart",vt="touchstart touchmove touchend touchcancel";function bt(){this.evTarget=yt,this.evWin=vt,this.started=!1,tt.apply(this,arguments)}function wt(t,e){var n=P(t.touches),i=P(t.changedTouches);return e&(V|B)&&(n=E(n.concat(i),"identifier",!0)),[n,i]}w(bt,tt,{handler:function(t){var e=_t[t.type];if(e===H&&(this.started=!0),this.started){var n=wt.call(this,t,e);e&(V|B)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var kt={touchstart:H,touchmove:z,touchend:V,touchcancel:B},xt="touchstart touchmove touchend touchcancel";function Mt(){this.evTarget=xt,this.targetIds={},tt.apply(this,arguments)}function St(t,e){var n=P(t.touches),i=this.targetIds;if(e&(H|z)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,l=P(t.changedTouches),a=[],s=this.target;if(o=n.filter((function(t){return L(t.target,s)})),e===H)for(r=0;r-1&&i.splice(t,1)}),Ct)}}function Pt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n=Nt&&i(e.options.event+Bt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;te.threshold&&r&e.direction},attrTest:function(t){return qt.prototype.attrTest.call(this,t)&&(this.state&jt||!(this.state&jt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Wt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w(Gt,qt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&jt)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),w(Jt,Vt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distancee.time;if(this._input=t,!i||!n||t.eventType&(V|B)&&!r)this.reset();else if(t.eventType&H)this.reset(),this._timer=m((function(){this.state=Ht,this.tryEmit()}),e.time,this);else if(t.eventType&V)return Ht;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Ht&&(t&&t.eventType&V?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(Zt,qt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&jt)}}),w($t,qt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:J|Z,pointers:1},getTouchAction:function(){return Kt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(J|Z)?e=t.overallVelocity:n&J?e=t.overallVelocityX:n&Z&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&p(e)>this.options.velocity&&t.eventType&V},emit:function(t){var e=Wt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(Xt,Vt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,r){var o=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,o="";return n>0&&(o+=e[n]+"vatlh"),i>0&&(o+=(""!==o?" ":"")+e[i]+"maH"),r>0&&(o+=(""!==o?" ":"")+e[r]),""===o?"pagh":o}(t);switch(i){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},zUnb:function(t,e,n){"use strict";n.r(e);var i=n("mrSG"),r=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}();function o(t){return null!==t&&"object"==typeof t}function l(t){return"function"==typeof t}var a=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),s=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this._parentOrParents,i=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var c=0;c0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(j);function q(t){return t}function K(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),B(q,t)}function G(t,e){return e?z(t,e):new w(O(t))}function J(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof r&&(n=t.pop()),null===i&&1===t.length&&t[0]instanceof w?t[0]:K(n)(G(t,i))}function Z(){return function(t){return t.lift(new $(t))}}var $=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var i=new X(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r},t}(),X=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return i.__extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null},e}(m),Q=function(t){function e(e,n){var i=t.call(this)||this;return i.source=e,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return i.__extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s).add(this.source.subscribe(new et(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.EMPTY)),t},e.prototype.refCount=function(){return Z()(this)},e}(w),tt=function(){var t=Q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),et=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return i.__extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(S);function nt(){return new C}function it(){return function(t){return Z()((e=nt,function(t){var n;n="function"==typeof e?e:function(){return e};var i=Object.create(t,tt);return i.source=t,i.subjectFactory=n,i})(t));var e}}var rt="__parameters__";function ot(t,e,n){var r=function(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var o=[];for(var l in e)if(e.hasOwnProperty(l)){var a=e[l];o.push(l+":"+("string"==typeof a?JSON.stringify(a):mt(a)))}r="{"+o.join(", ")+"}"}return n+(i?"("+i+")":"")+"["+r+"]: "+t.replace(Dt,"\n ")}var Nt=function(){return function(){}}(),Ht=function(){return function(){}}();function zt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Vt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var Bt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),Wt=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Mt)}(),Ut="ngDebugContext",qt="ngOriginalError",Kt="ngErrorLogger";function Gt(t){return t[Ut]}function Jt(t){return t[qt]}function Zt(t){for(var e=[],n=1;n',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(i){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();he.hasOwnProperty(e)&&!se.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(be(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),ye=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ve=/([^\#-~ |!])/g;function be(t){return t.replace(/&/g,"&").replace(ye,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(ve,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}function we(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ke=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),xe=function(){return function(){}}(),Me=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Se=/^url\(([^)]+)\)$/,Ce=/([A-Z])/g;function Le(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}var De=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Te()},t}(),Te=function(){for(var t=[],e=0;e-1}(i,r.providedIn)||"root"===r.providedIn&&i._def.isRoot))){var c=t._providers.length;return t._def.providers[c]=t._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:c,token:e.token},t._providers[c]=Di,t._providers[c]=Yi(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{It(o)}}function Yi(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Ii(t,n[0]));case 2:return new e(Ii(t,n[0]),Ii(t,n[1]));case 3:return new e(Ii(t,n[0]),Ii(t,n[1]),Ii(t,n[2]));default:for(var o=new Array(r),l=0;l=n.length)&&(e=n.length-1),e<0)return null;var i=n[e];return i.viewContainerParent=null,Vt(n,e),Un.dirtyParentQueries(i),ji(i),i}function Ri(t,e,n){var i=e?si(e,e.def.lastRenderRootNode):t.renderElement,r=n.renderer.parentNode(i),o=n.renderer.nextSibling(i);_i(n,2,r,o,void 0)}function ji(t){_i(t,3,null,null,void 0)}var Fi=new Object;function Ni(t,e,n,i,r,o){return new Hi(t,e,n,i,r,o)}var Hi=function(t){function e(e,n,i,r,o,l){var a=t.call(this)||this;return a.selector=e,a.componentType=n,a._inputs=r,a._outputs=o,a.ngContentSelectors=l,a.viewDefFactory=i,a}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,i){if(!i)throw new Error("ngModule should be provided");var r=gi(this.viewDefFactory),o=r.nodes[0].element.componentProvider.nodeIndex,l=Un.createRootView(t,e||[],n,r,i,Fi),a=Vn(l,o).instance;return n&&l.renderer.setAttribute(zn(l,0).renderElement,"ng-version",mn.full),new zi(l,new Ui(l),a)},e}(Xe),zi=function(t){function e(e,n,i){var r=t.call(this)||this;return r._view=e,r._viewRef=n,r._component=i,r._elDef=r._view.def.nodes[0],r.hostView=n,r.changeDetectorRef=n,r.instance=i,r}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new an(zn(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}($e);function Vi(t,e,n){return new Bi(t,e,n)}var Bi=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new an(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=ai(t),t=t.parent;return t?new Ji(t,e):new Ji(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Ai(this._data,t);Un.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Ui(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i},t.prototype.createComponent=function(t,e,n,i,r){var o=n||this.parentInjector;r||t instanceof on||(r=o.get(Nt));var l=t.create(o,i,void 0,r);return this.insert(l.hostView,e),l},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,i,r,o,l=t;return o=(n=this._data).viewContainer._embeddedViews,null==(i=e)&&(i=o.length),(r=l._view).viewContainerParent=this._view,zt(o,i,r),function(t,e){var n=li(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(e),function(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}(e.parent.def,e.parentNodeDef)}}(n,r),Un.dirtyParentQueries(r),Ri(n,i>0?o[i-1]:null,r),l.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,i,r,o,l,a=this._embeddedViews.indexOf(t._view);return r=e,l=(o=(n=this._data).viewContainer._embeddedViews)[i=a],Vt(o,i),null==r&&(r=o.length),zt(o,r,l),Un.dirtyParentQueries(l),ji(l),Ri(n,r>0?o[r-1]:null,l),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ai(this._data,t);e&&Un.destroyView(e)},t.prototype.detach=function(t){var e=Ai(this._data,t);return e?new Ui(e):null},t}();function Wi(t){return new Ui(t)}var Ui=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return _i(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){ii(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Un.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Un.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Un.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ji(this._view),Un.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function qi(t,e){return new Ki(t,e)}var Ki=function(t){function e(e,n){var i=t.call(this)||this;return i._parentView=e,i._def=n,i}return Object(i.__extends)(e,t),e.prototype.createEmbeddedView=function(t){return new Ui(Un.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new an(zn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Pn);function Gi(t,e){return new Ji(t,e)}var Ji=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Ee.THROW_IF_NOT_FOUND),Un.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Gn(t)},e)},t}();function Zi(t,e){var n=t.def.nodes[e];if(1&n.flags){var i=zn(t,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return Hn(t,n.nodeIndex).renderText;if(20240&n.flags)return Vn(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function $i(t){return new Xi(t.renderer)}var Xi=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Object(i.__read)(xi(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var i=0;i0,r=e.provider;switch(201347067&e.flags){case 512:return yr(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,o){var l=o.length;switch(l){case 0:return r();case 1:return r(br(t,e,n,o[0]));case 2:return r(br(t,e,n,o[0]),br(t,e,n,o[1]));case 3:return r(br(t,e,n,o[0]),br(t,e,n,o[1]),br(t,e,n,o[2]));default:for(var a=Array(l),s=0;s0&&(r=setTimeout((function(){i._callbacks=i._callbacks.filter((function(t){return t.timeoutId!==r})),t(i._didWork,i.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),bo=function(){function t(){this._applications=new Map,wo.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),wo.findTestabilityInTree(this,t,e)},t}(),wo=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),ko=new St("AllowMultipleToken"),xo=function(){return function(t,e){this.name=t,this.token=e}}();function Mo(t,e,n){void 0===n&&(n=[]);var i="Platform: "+e,r=new St(i);return function(e){void 0===e&&(e=[]);var o=So();if(!o||o.injector.get(ko,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var l=n.concat(e).concat({provide:r,useValue:!0});!function(t){if(_o&&!_o.destroyed&&!_o.injector.get(ko,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");_o=t.get(Co);var e=t.get(Vr,null);e&&e.forEach((function(t){return t()}))}(Ee.create({providers:l,name:i}))}return function(t){var e=So();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function So(){return _o&&!_o.destroyed?_o:null}var Co=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,i=this,r="noop"===(n=e?e.ngZone:void 0)?new yo:("zone.js"===n?void 0:n)||new co({enableLongStackTrace:te()}),o=[{provide:co,useValue:r}];return r.run((function(){var e=Ee.create({providers:o,parent:i.injector,name:t.moduleType.name}),n=t.create(e),l=n.injector.get($t,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Kr&&Ir(n.injector.get(qr,Er)||Er),n.onDestroy((function(){return To(i._modules,n)})),r.runOutsideAngular((function(){return r.onError.subscribe({next:function(t){l.handleError(t)}})})),function(t,e,r){try{var o=((l=n.injector.get(Fr)).runInitializers(),l.donePromise.then((function(){return i._moduleDoBootstrap(n),n})));return Ge(o)?o.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):o}catch(a){throw e.runOutsideAngular((function(){return t.handleError(a)})),a}var l}(l,r)}))},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var i=Lo({},e);return function(t,e,n){return t.get(no).createCompiler([e]).compileModuleAsync(n)}(this.injector,i,t).then((function(t){return n.bootstrapModuleFactory(t,i)}))},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Do);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+mt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function Lo(t,e){return Array.isArray(e)?e.reduce(Lo,t):Object(i.__assign)({},t,e)}var Do=function(){function t(t,e,n,i,r,o){var l=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=te(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run((function(){l.tick()}))}});var a=new w((function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular((function(){t.next(l._stable),t.complete()}))})),s=new w((function(t){var e;l._zone.runOutsideAngular((function(){e=l._zone.onStable.subscribe((function(){co.assertNotInAngularZone(),uo((function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))}))}))}));var n=l._zone.onUnstable.subscribe((function(){co.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=J(a,s.pipe(it()))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Xe?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n instanceof on?null:this._injector.get(Nt),o=n.create(Ee.NULL,[],e||n.selector,r);o.onDestroy((function(){i._unloadComponent(o)}));var l=o.injector.get(vo,null);return l&&o.injector.get(bo).registerApplication(o.location.nativeElement,l),this._loadComponent(o),te()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t,n,r,o,l=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=e._tickScope();try{this._runningTick=!0;try{for(var s=Object(i.__values)(this._views),u=s.next();!u.done;u=s.next())u.value.detectChanges()}catch(h){t={error:h}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}if(this._enforceNoNewChanges)try{for(var c=Object(i.__values)(this._views),d=c.next();!d.done;d=c.next())d.value.checkNoChanges()}catch(p){r={error:p}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}}catch(f){this._zone.runOutsideAngular((function(){return l._exceptionHandler.handleError(f)}))}finally{this._runningTick=!1,ao(a)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;To(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Wr,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),To(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(t){return t.destroy()}))},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=lo("ApplicationRef#tick()"),t}();function To(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Oo=function(){return function(){}}(),Po=function(){return function(){}}(),Eo={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Io=function(){function t(t,e){this._compiler=t,this._config=e||Eo}return t.prototype.load=function(t){return!Kr&&this._compiler instanceof eo?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=Object(i.__read)(t.split("#"),2),o=r[0],l=r[1];return void 0===l&&(l="default"),n("crnd")(o).then((function(t){return t[l]})).then((function(t){return Yo(t,o,l)})).then((function(t){return e._compiler.compileModuleAsync(t)}))},t.prototype.loadFactory=function(t){var e=Object(i.__read)(t.split("#"),2),r=e[0],o=e[1],l="NgFactory";return void 0===o&&(o="default",l=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(t){return t[o+l]})).then((function(t){return Yo(t,r,o)}))},t}();function Yo(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Ao=function(){return function(t,e){this.name=t,this.callback=e}}(),Ro=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof jo&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),jo=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=e,r}return Object(i.__extends)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,Object(i.__spread)([o+1,0],e)),e.forEach((function(e){e.parent&&e.parent.removeChild(e),t.parent=r})))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,i){e.childNodes.forEach((function(e){e instanceof jo&&(n(e)&&i.push(e),t(e,n,i))}))}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,i){e instanceof jo&&e.childNodes.forEach((function(e){n(e)&&i.push(e),e instanceof jo&&t(e,n,i)}))}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter((function(t){return t instanceof e}))},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach((function(n){n.name==t&&n.callback(e)}))},e}(Ro),Fo=new Map,No=function(t){return Fo.get(t)||null};function Ho(t){Fo.set(t.nativeNode,t)}var zo=Mo(null,"core",[{provide:Br,useValue:"unknown"},{provide:Co,deps:[Ee]},{provide:bo,deps:[]},{provide:Ur,deps:[]}]);function Vo(){return Tn}function Bo(){return On}function Wo(t){return t?(Kr&&Ir(t),t):Er}function Uo(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}var qo=function(){return function(t){}}();function Ko(t,e,n,i,r,o){t|=1;var l=hi(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l.matchedQueries,matchedQueryIds:l.matchedQueryIds,references:l.references,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?gi(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||qn},provider:null,text:null,query:null,ngContent:null}}function Go(t,e,n,r,o,l,a,s,u,c,d,h){var p;void 0===a&&(a=[]),c||(c=qn);var f=hi(n),m=f.matchedQueries,g=f.references,_=f.matchedQueryIds,y=null,v=null;l&&(y=(p=Object(i.__read)(xi(l),2))[0],v=p[1]),s=s||[];for(var b=new Array(s.length),w=0;w0)u=m,fl(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var y=u.parent;y&&(y.childFlags|=u.childFlags,y.childMatchedQueries|=u.childMatchedQueries),c=(u=y)&&fl(u)?u.renderParent:u}}return{factory:null,nodeFlags:l,rootNodeFlags:a,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||qn,updateRenderer:i||qn,handleEvent:function(t,n,i,r){return e[n].element.handleEvent(t,i,r)},bindingCount:r,outputCount:o,lastRenderRootNode:p}}function fl(t){return 0!=(1&t.flags)&&null===t.element.name}function ml(t,e,n){var i=e.element&&e.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var r=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=r&&e.nodeIndex+e.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function gl(t,e,n,i){var r=vl(t.root,t.renderer,t,e,n);return bl(r,t.component,i),wl(r),r}function _l(t,e,n){var i=vl(t,t.renderer,null,null,e);return bl(i,n,n),wl(i),i}function yl(t,e,n,i){var r,o=e.element.componentRendererType;return r=o?t.root.rendererFactory.createRenderer(i,o):t.root.renderer,vl(t.root,r,t,e.element.componentProvider,n)}function vl(t,e,n,i,r){var o=new Array(r.nodes.length),l=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:l,initIndex:-1}}function bl(t,e,n){t.component=e,t.context=n}function wl(t){var e;ui(t)&&(e=zn(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,i=t.nodes,r=0;r0&&Xo(t,e,0,n)&&(p=!0),h>1&&Xo(t,e,1,i)&&(p=!0),h>2&&Xo(t,e,2,r)&&(p=!0),h>3&&Xo(t,e,3,o)&&(p=!0),h>4&&Xo(t,e,4,l)&&(p=!0),h>5&&Xo(t,e,5,a)&&(p=!0),h>6&&Xo(t,e,6,s)&&(p=!0),h>7&&Xo(t,e,7,u)&&(p=!0),h>8&&Xo(t,e,8,c)&&(p=!0),h>9&&Xo(t,e,9,d)&&(p=!0),p}(t,e,n,i,r,o,l,a,s,u,c,d);case 2:return function(t,e,n,i,r,o,l,a,s,u,c,d){var h=!1,p=e.bindings,f=p.length;if(f>0&&ei(t,e,0,n)&&(h=!0),f>1&&ei(t,e,1,i)&&(h=!0),f>2&&ei(t,e,2,r)&&(h=!0),f>3&&ei(t,e,3,o)&&(h=!0),f>4&&ei(t,e,4,l)&&(h=!0),f>5&&ei(t,e,5,a)&&(h=!0),f>6&&ei(t,e,6,s)&&(h=!0),f>7&&ei(t,e,7,u)&&(h=!0),f>8&&ei(t,e,8,c)&&(h=!0),f>9&&ei(t,e,9,d)&&(h=!0),h){var m=e.text.prefix;f>0&&(m+=hl(n,p[0])),f>1&&(m+=hl(i,p[1])),f>2&&(m+=hl(r,p[2])),f>3&&(m+=hl(o,p[3])),f>4&&(m+=hl(l,p[4])),f>5&&(m+=hl(a,p[5])),f>6&&(m+=hl(s,p[6])),f>7&&(m+=hl(u,p[7])),f>8&&(m+=hl(c,p[8])),f>9&&(m+=hl(d,p[9]));var g=Hn(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return h}(t,e,n,i,r,o,l,a,s,u,c,d);case 16384:return function(t,e,n,i,r,o,l,a,s,u,c,d){var h=Vn(t,e.nodeIndex),p=h.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&ti(t,e,0,n)&&(f=!0,m=kr(t,h,e,0,n,m)),g>1&&ti(t,e,1,i)&&(f=!0,m=kr(t,h,e,1,i,m)),g>2&&ti(t,e,2,r)&&(f=!0,m=kr(t,h,e,2,r,m)),g>3&&ti(t,e,3,o)&&(f=!0,m=kr(t,h,e,3,o,m)),g>4&&ti(t,e,4,l)&&(f=!0,m=kr(t,h,e,4,l,m)),g>5&&ti(t,e,5,a)&&(f=!0,m=kr(t,h,e,5,a,m)),g>6&&ti(t,e,6,s)&&(f=!0,m=kr(t,h,e,6,s,m)),g>7&&ti(t,e,7,u)&&(f=!0,m=kr(t,h,e,7,u,m)),g>8&&ti(t,e,8,c)&&(f=!0,m=kr(t,h,e,8,c,m)),g>9&&ti(t,e,9,d)&&(f=!0,m=kr(t,h,e,9,d,m)),m&&p.ngOnChanges(m),65536&e.flags&&Nn(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),f}(t,e,n,i,r,o,l,a,s,u,c,d);case 32:case 64:case 128:return function(t,e,n,i,r,o,l,a,s,u,c,d){var h=e.bindings,p=!1,f=h.length;if(f>0&&ei(t,e,0,n)&&(p=!0),f>1&&ei(t,e,1,i)&&(p=!0),f>2&&ei(t,e,2,r)&&(p=!0),f>3&&ei(t,e,3,o)&&(p=!0),f>4&&ei(t,e,4,l)&&(p=!0),f>5&&ei(t,e,5,a)&&(p=!0),f>6&&ei(t,e,6,s)&&(p=!0),f>7&&ei(t,e,7,u)&&(p=!0),f>8&&ei(t,e,8,c)&&(p=!0),f>9&&ei(t,e,9,d)&&(p=!0),p){var m=Bn(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(h.length),f>0&&(g[0]=n),f>1&&(g[1]=i),f>2&&(g[2]=r),f>3&&(g[3]=o),f>4&&(g[4]=l),f>5&&(g[5]=a),f>6&&(g[6]=s),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[h[0].name]=n),f>1&&(g[h[1].name]=i),f>2&&(g[h[2].name]=r),f>3&&(g[h[3].name]=o),f>4&&(g[h[4].name]=l),f>5&&(g[h[5].name]=a),f>6&&(g[h[6].name]=s),f>7&&(g[h[7].name]=u),f>8&&(g[h[8].name]=c),f>9&&(g[h[9].name]=d);break;case 128:var _=n;switch(f){case 1:g=_.transform(n);break;case 2:g=_.transform(i);break;case 3:g=_.transform(i,r);break;case 4:g=_.transform(i,r,o);break;case 5:g=_.transform(i,r,o,l);break;case 6:g=_.transform(i,r,o,l,a);break;case 7:g=_.transform(i,r,o,l,a,s);break;case 8:g=_.transform(i,r,o,l,a,s,u);break;case 9:g=_.transform(i,r,o,l,a,s,u,c);break;case 10:g=_.transform(i,r,o,l,a,s,u,c,d)}}m.value=g}return p}(t,e,n,i,r,o,l,a,s,u,c,d);default:throw"unreachable"}}(t,e,r,o,l,a,s,u,c,d,h,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var i=!1,r=0;r0&&ni(t,e,0,n),h>1&&ni(t,e,1,i),h>2&&ni(t,e,2,r),h>3&&ni(t,e,3,o),h>4&&ni(t,e,4,l),h>5&&ni(t,e,5,a),h>6&&ni(t,e,6,s),h>7&&ni(t,e,7,u),h>8&&ni(t,e,8,c),h>9&&ni(t,e,9,d)}(t,e,i,r,o,l,a,s,u,c,d,h):function(t,e,n){for(var i=0;i0){var o=new Set(t.modules);Bl.forEach((function(e,i){if(o.has(pt(i).providedIn)){var r={token:i,flags:e.flags|(n?4096:0),deps:pi(e.deps),value:e.value,index:t.providers.length};t.providers.push(r),t.providersByKey[Gn(i)]=r}}))}}(t=t.factory((function(){return qn}))),t):t}(i))}var Vl=new Map,Bl=new Map,Wl=new Map;function Ul(t){var e;Vl.set(t.token,t),"function"==typeof t.token&&(e=pt(t.token))&&"function"==typeof e.providedIn&&Bl.set(t.token,t)}function ql(t,e){var n=gi(e.viewDefFactory),i=gi(n.nodes[0].element.componentView);Wl.set(t,i)}function Kl(){Vl.clear(),Bl.clear(),Wl.clear()}function Gl(t){if(0===Vl.size)return t;var e=function(t){for(var e=[],n=null,i=0;i0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Oa.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Oa.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Oa.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Da),Ia=function(t){function e(e,n){var i=t.call(this)||this;if(i._platformLocation=e,null==n&&(n=i._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=n,i}return Object(i.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return Oa.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Oa.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Oa.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Oa.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Da),Ya=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Aa=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),Ra=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),ja=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),Fa=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function Na(t,e){return Wa(Pr(t)[Dr.DateFormat],e)}function Ha(t,e){return Wa(Pr(t)[Dr.TimeFormat],e)}function za(t,e){return Wa(Pr(t)[Dr.DateTimeFormat],e)}function Va(t,e){var n=Pr(t),i=n[Dr.NumberSymbols][e];if(void 0===i){if(e===Fa.CurrencyDecimal)return n[Dr.NumberSymbols][Fa.Decimal];if(e===Fa.CurrencyGroup)return n[Dr.NumberSymbols][Fa.Group]}return i}function Ba(t){if(!t[Dr.ExtraData])throw new Error('Missing extra locale data for the locale "'+t[Dr.LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function Wa(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function Ua(t){var e=Object(i.__read)(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var qa=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ka={},Ga=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{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]*)/,Ja=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),Za=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),$a=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function Xa(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function Qa(t,e,n,i,r){void 0===n&&(n="-");var o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=n));for(var l=String(t);l.length0||s>-n)&&(s+=n),t===Za.Hours)0===s&&-12===n&&(s=12);else if(t===Za.FractionalSeconds)return a=e,Qa(s,3).substr(0,a);var u=Va(l,Fa.MinusSign);return Qa(s,e,u,i,r)}}function es(t,e,n,i){return void 0===n&&(n=Aa.Format),void 0===i&&(i=!1),function(r,o){return function(t,e,n,i,r,o){switch(n){case $a.Months:return function(t,e,n){var i=Pr(t),r=Wa([i[Dr.MonthsFormat],i[Dr.MonthsStandalone]],e);return Wa(r,n)}(e,r,i)[t.getMonth()];case $a.Days:return function(t,e,n){var i=Pr(t),r=Wa([i[Dr.DaysFormat],i[Dr.DaysStandalone]],e);return Wa(r,n)}(e,r,i)[t.getDay()];case $a.DayPeriods:var l=t.getHours(),a=t.getMinutes();if(o){var s,u=function(t){var e=Pr(t);return Ba(e),(e[Dr.ExtraData][2]||[]).map((function(t){return"string"==typeof t?Ua(t):[Ua(t[0]),Ua(t[1])]}))}(e),c=function(t,e,n){var i=Pr(t);Ba(i);var r=Wa([i[Dr.ExtraData][0],i[Dr.ExtraData][1]],e)||[];return Wa(r,n)||[]}(e,r,i);if(u.forEach((function(t,e){if(Array.isArray(t)){var n=t[0],i=t[1],r=i.hours;l>=n.hours&&a>=n.minutes&&(l0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Ja.Short:return(r>=0?"+":"")+Qa(l,2,o)+Qa(Math.abs(r%60),2,o);case Ja.ShortGMT:return"GMT"+(r>=0?"+":"")+Qa(l,1,o);case Ja.Long:return"GMT"+(r>=0?"+":"")+Qa(l,2,o)+":"+Qa(Math.abs(r%60),2,o);case Ja.Extended:return 0===i?"Z":(r>=0?"+":"")+Qa(l,2,o)+":"+Qa(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}var is=0,rs=4;function os(t,e){return void 0===e&&(e=!1),function(n,i){var r,o,l,a;if(e){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();r=1+Math.floor((u+s)/7)}else{var c=(l=n.getFullYear(),a=new Date(l,is,1).getDay(),new Date(l,0,1+(a<=rs?rs:rs+7)-a)),d=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(rs-o.getDay()))).getTime()-c.getTime();r=1+Math.round(d/6048e5)}return Qa(r,t,Va(i,Fa.MinusSign))}}var ls={};function as(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function ss(t){return t instanceof Date&&!isNaN(t.valueOf())}var us=new St("UseV4Plurals"),cs=function(){return function(){}}(),ds=function(t){function e(e,n){var i=t.call(this)||this;return i.locale=e,i.deprecatedPluralFn=n,i}return Object(i.__extends)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return Pr(t)[Dr.PluralCase]}(e||this.locale)(t)){case Ya.Zero:return"zero";case Ya.One:return"one";case Ya.Two:return"two";case Ya.Few:return"few";case Ya.Many:return"many";default:return"other"}},e}(cs);function hs(t,e){var n,r;e=encodeURIComponent(e);try{for(var o=Object(i.__values)(t.split(";")),l=o.next();!l.done;l=o.next()){var a=l.value,s=a.indexOf("="),u=Object(i.__read)(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),c=u[1];if(u[0].trim()===e)return decodeURIComponent(c)}}catch(d){n={error:d}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}var ps=function(){return function(){}}(),fs=function(){function t(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._initialClasses=[]}return t.prototype.getValue=function(){return null},t.prototype.setClass=function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},t.prototype.setNgClass=function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(qe(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},t.prototype.applyChanges=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){t.previousValue&&e._toggleClass(t.key,!1)}))},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem((function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+mt(t.item));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!0)})):Object.keys(t).forEach((function(n){return e._toggleClass(n,!!t[n])})))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!1)})):Object.keys(t).forEach((function(t){return e._toggleClass(t,!1)})))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach((function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)}))},t}(),ms=function(t){function e(e){return t.call(this,e)||this}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"klass",{set:function(t){this._delegate.setClass(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(t){this._delegate.setNgClass(t)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(function(){function t(t){this._delegate=t}return t.prototype.getValue=function(){return this._delegate.getValue()},t.ngDirectiveDef=void 0,t}()),gs=function(){function t(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),_s=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){te()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation((function(t,i,r){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new gs(null,e._ngForOf,-1,-1),null===r?void 0:r),l=new ys(t,o);n.push(l)}else null==r?e._viewContainer.remove(null===i?void 0:i):null!==i&&(o=e._viewContainer.get(i),e._viewContainer.move(o,r),l=new ys(t,o),n.push(l))}));for(var i=0;i0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r=2;return function(i){return i.pipe(t?$s((function(e,n){return t(e,n,i)})):q,eu(1),n?su(e):ru((function(){return new Vs})))}}function hu(t){return function(e){var n=new pu(t),i=e.lift(n);return n.caught=i}}var pu=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new fu(t,this.selector,this.caught))},t}(),fu=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.selector=n,r.caught=i,r}return i.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(r){return void t.prototype.error.call(this,r)}this._unsubscribeAndRecycle();var i=new T(this,void 0,void 0);this.add(i),R(this,n,void 0,void 0,i)}},e}(j);function mu(t){return function(e){return 0===t?Gs():e.lift(new gu(t))}}var gu=function(){function t(t){if(this.total=t,this.total<0)throw new tu}return t.prototype.call=function(t,e){return e.subscribe(new _u(t,this.total))},t}(),_u=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.count=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(m);function yu(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?$s((function(e,n){return t(e,n,i)})):q,mu(1),n?su(e):ru((function(){return new Vs})))}}var vu=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new bu(t,this.predicate,this.thisArg,this.source))},t}(),bu=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=i,o.source=r,o.index=0,o.thisArg=i||o,o}return i.__extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(m);function wu(t,e){return"function"==typeof e?function(n){return n.pipe(wu((function(n,i){return V(t(n,i)).pipe(F((function(t,r){return e(n,t,i,r)})))})))}:function(e){return e.lift(new ku(t))}}var ku=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new xu(t,this.project))},t}(),xu=function(t){function e(e,n){var i=t.call(this,e)||this;return i.project=n,i.index=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new T(this,void 0,void 0);this.destination.add(r),this.innerSubscription=R(this,t,e,n,r)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e}(j);function Mu(){for(var t=[],e=0;e=2&&(n=!0),function(i){return i.lift(new Lu(t,e,n))}}var Lu=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Du(t,this.accumulator,this.seed,this.hasSeed))},t}(),Du=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=i,o.hasSeed=r,o.index=0,o}return i.__extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)},e}(m);function Tu(t,e){return B(t,e,1)}function Ou(t,e){return arguments.length>=2?function(n){return v(Cu(t,e),eu(1),su(e))(n)}:function(e){return v(Cu((function(e,n,i){return t(e,n,i+1)})),eu(1))(e)}}function Pu(t,e,n){return function(i){return i.lift(new Eu(t,e,n))}}var Eu=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new Iu(t,this.nextOrObserver,this.error,this.complete))},t}(),Iu=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o._tapNext=y,o._tapError=y,o._tapComplete=y,o._tapError=i||y,o._tapComplete=r||y,l(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||y,o._tapError=n.error||y,o._tapComplete=n.complete||y),o}return i.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(m);function Yu(t){return function(e){return e.lift(new Au(t))}}var Au=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Ru(t,this.callback))},t}(),Ru=function(t){function e(e,n){var i=t.call(this,e)||this;return i.add(new s(n)),i}return i.__extends(e,t),e}(m),ju=null;function Fu(){return ju}var Nu,Hu=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var i=["Webkit","Moz","O","ms"],r=0;r0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,i=0;i0;l||(l=t[o]=[]);var s=Mc(e)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:r});else{for(var u=!1,c=0;c-1},e}(ic),Ec=["alt","control","meta","shift"],Ic={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Yc=function(t){function e(e){return t.call(this,e)||this}var n;return Object(i.__extends)(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,i){var r=n.parseEventName(e),o=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Fu().onAndCancel(t,r.domEventName,o)}))},e.parseEventName=function(t){var e=t.toLowerCase().split("."),i=e.shift();if(0===e.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(e.pop()),o="";if(Ec.forEach((function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")})),o+=r,0!=e.length||0===r.length)return null;var l={};return l.domEventName=i,l.fullKey=o,l},e.getEventFullKey=function(t){var e="",n=Fu().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Ec.forEach((function(i){i!=n&&(0,Ic[i])(t)&&(e+=i+".")})),e+=n},e.eventCallback=function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded((function(){return e(r)}))}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(ic),Ac=function(){return function(){}}(),Rc=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(i.__extends)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case ke.NONE:return e;case ke.HTML:return e instanceof Fc?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{ae=ae||new ee(t);var i=e?String(e):"";n=ae.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=ae.getInertBodyElement(i)}while(i!==o);var l=new _e,a=l.sanitizeChildren(we(n)||n);return te()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var s=we(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case ke.STYLE:return e instanceof Nc?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(Se);return e&&re(e[1])===e[1]||t.match(Me)&&function(t){for(var e=!0,n=!0,i=0;it.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length0?t[t.length-1]:null}function Md(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Sd(t){return Je(t)?t:Ge(t)?V(Promise.resolve(t)):Hs(t)}function Cd(t,e,n){return n?function(t,e){return wd(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Od(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return e[n]===t[n]}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,r){if(n.segments.length>r.length)return!!Od(l=n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Od(n.segments,r))return!1;for(var o in i.children){if(!n.children[o])return!1;if(!t(n.children[o],i.children[o]))return!1}return!0}var l=r.slice(0,n.segments.length),a=r.slice(n.segments.length);return!!Od(n.segments,l)&&!!n.children[cd]&&e(n.children[cd],i,a)}(e,n,n.segments)}(t.root,e.root)}var Ld=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=hd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Yd.serialize(this)},t}(),Dd=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Md(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Ad(this)},t}(),Td=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=hd(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return zd(this)},t}();function Od(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function Pd(t,e){var n=[];return Md(t.children,(function(t,i){i===cd&&(n=n.concat(e(t,i)))})),Md(t.children,(function(t,i){i!==cd&&(n=n.concat(e(t,i)))})),n}var Ed=function(){return function(){}}(),Id=function(){function t(){}return t.prototype.parse=function(t){var e=new qd(t);return new Ld(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Ad(e);if(n){var i=e.children[cd]?t(e.children[cd],!1):"",r=[];return Md(e.children,(function(e,n){n!==cd&&r.push(n+":"+t(e,!1))})),r.length>0?i+"("+r.join("//")+")":i}var o=Pd(e,(function(n,i){return i===cd?[t(e.children[cd],!1)]:[i+":"+t(n,!1)]}));return Ad(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map((function(t){var n=e[t];return Array.isArray(n)?n.map((function(e){return jd(t)+"="+jd(e)})).join("&"):jd(t)+"="+jd(n)}))).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Yd=new Id;function Ad(t){return t.segments.map((function(t){return zd(t)})).join("/")}function Rd(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jd(t){return Rd(t).replace(/%3B/gi,";")}function Fd(t){return Rd(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nd(t){return decodeURIComponent(t)}function Hd(t){return Nd(t.replace(/\+/g,"%20"))}function zd(t){return""+Fd(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+Fd(t)+"="+Fd(e[t])})).join(""));var e}var Vd=/^[^\/()?;=#]+/;function Bd(t){var e=t.match(Vd);return e?e[0]:""}var Wd=/^[^=?&#]+/,Ud=/^[^?&#]+/,qd=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dd([],{}):new Dd([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[cd]=new Dd(t,e)),n},t.prototype.parseSegment=function(){var t=Bd(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Td(Nd(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Bd(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=Bd(this.remaining);i&&this.capture(n=i)}t[Nd(e)]=Nd(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Wd))?e[0]:"";if(n){this.capture(n);var i="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(Ud);return e?e[0]:""}(this.remaining);r&&this.capture(i=r)}var o=Hd(n),l=Hd(i);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(t[o]=a=[a]),a.push(l)}else t[o]=l}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Bd(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '"+this.url+"'");var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=cd);var o=this.parseChildren();e[r]=1===Object.keys(o).length?o[cd]:new Dd([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Kd=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Gd(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=Gd(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Jd(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return Jd(t,this._root).map((function(t){return t.value}))},t}();function Gd(t,e){var n,r;if(t===e.value)return e;try{for(var o=Object(i.__values)(e.children),l=o.next();!l.done;l=o.next()){var a=Gd(t,l.value);if(a)return a}}catch(s){n={error:s}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Jd(t,e){var n,r;if(t===e.value)return[e];try{for(var o=Object(i.__values)(e.children),l=o.next();!l.done;l=o.next()){var a=Jd(t,l.value);if(a.length)return a.unshift(e),a}}catch(s){n={error:s}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Zd=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function $d(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var Xd=function(t){function e(e,n){var i=t.call(this,e)||this;return i.snapshot=n,rh(i,e),i}return Object(i.__extends)(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Kd);function Qd(t,e){var n=function(t,e){var n=new nh([],{},{},"",{},cd,e,null,t.root,-1,{});return new ih("",new Zd(n,[]))}(t,e),i=new zs([new Td("",{})]),r=new zs({}),o=new zs({}),l=new zs({}),a=new zs(""),s=new th(i,r,l,a,o,cd,e,n.root);return s.snapshot=n.root,new Xd(new Zd(s,[]),n)}var th=function(){function t(t,e,n,i,r,o,l,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=l,this._futureSnapshot=a}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(F((function(t){return hd(t)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(F((function(t){return hd(t)})))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function eh(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var o=n[r],l=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(l.component)break;r--}}return function(t){return t.reduce((function(t,e){return{params:Object(i.__assign)({},t.params,e.params),data:Object(i.__assign)({},t.data,e.data),resolve:Object(i.__assign)({},t.resolve,e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var nh=function(){function t(t,e,n,i,r,o,l,a,s,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=l,this.routeConfig=a,this._urlSegment=s,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=hd(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=hd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),ih=function(t){function e(e,n){var i=t.call(this,n)||this;return i.url=e,rh(i,n),i}return Object(i.__extends)(e,t),e.prototype.toString=function(){return oh(this._root)},e}(Kd);function rh(t,e){e.value._routerState=t,e.children.forEach((function(e){return rh(t,e)}))}function oh(t){var e=t.children.length>0?" { "+t.children.map(oh).join(", ")+" } ":"";return""+t.value+e}function lh(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,wd(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),wd(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&sh(n[0]))throw new Error("Root segment cannot have matrix parameters");var i=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(i&&i!==xd(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),dh=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function hh(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[cd]:""+t}function ph(t,e,n){if(t||(t=new Dd([],{})),0===t.segments.length&&t.hasChildren())return fh(t,e,n);var i=function(t,e,n){for(var i=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};r=n.length)return o;var l=t.segments[r],a=hh(n[i]),s=i0&&void 0===a)break;if(a&&s&&"object"==typeof s&&void 0===s.outlets){if(!yh(a,s,l))return o;i+=2}else{if(!yh(a,{},l))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex0?new Dd([],((i={})[cd]=t,i)):t;return new Ld(r,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(F((function(t){return new Dd([],t)}))):this.expandSegment(t,n,e,n.segments,i,!0)},t.prototype.expandChildren=function(t,e,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return Hs({});var o=[],l=[],a={};return Md(n,(function(n,r){var s,u,c=(s=r,u=n,i.expandSegmentGroup(t,e,u,s)).pipe(F((function(t){return a[r]=t})));r===cd?o.push(c):l.push(c)})),Hs.apply(null,o.concat(l)).pipe(Zs(),du(),F((function(){return a})))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,l){var a=this;return Hs.apply(void 0,Object(i.__spread)(n)).pipe(F((function(i){return a.expandSegmentAgainstRoute(t,e,n,i,r,o,l).pipe(hu((function(t){if(t instanceof xh)return Hs(null);throw t})))})),Zs(),yu((function(t){return!!t})),hu((function(t,n){if(t instanceof Vs||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,o))return Hs(new Dd([],{}));throw new xh(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,i,r,o,l){return Eh(i)!==o?Sh(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o):Sh(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ch(o):this.lineralizeSegments(n,o).pipe(B((function(n){var o=new Dd(n,{});return r.expandSegment(t,o,e,n,i,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,i,r,o){var l=this,a=Th(e,i,r),s=a.consumedSegments,u=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return Sh(e);var d=this.applyRedirectCommands(s,i.redirectTo,c);return i.redirectTo.startsWith("/")?Ch(d):this.lineralizeSegments(i,d).pipe(B((function(i){return l.expandSegment(t,e,n,i.concat(r.slice(u)),o,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(F((function(t){return n._loadedConfig=t,new Dd(r,{})}))):Hs(new Dd(r,{}));var l=Th(e,n,r),a=l.consumedSegments,s=l.lastChild;if(!l.matched)return Sh(e);var u=r.slice(s);return this.getChildConfig(t,n,r).pipe(B((function(t){var n=t.module,r=t.routes,l=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some((function(n){return Ph(t,e,n)&&Eh(n)!==cd}))}(t,n,r)?{segmentGroup:Oh(new Dd(e,function(t,e){var n,r,o={};o[cd]=e;try{for(var l=Object(i.__values)(t),a=l.next();!a.done;a=l.next()){var s=a.value;""===s.path&&Eh(s)!==cd&&(o[Eh(s)]=new Dd([],{}))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return o}(r,new Dd(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return Ph(t,e,n)}))}(t,n,r)?{segmentGroup:Oh(new Dd(t.segments,function(t,e,n,r){var o,l,a={};try{for(var s=Object(i.__values)(n),u=s.next();!u.done;u=s.next()){var c=u.value;Ph(t,e,c)&&!r[Eh(c)]&&(a[Eh(c)]=new Dd([],{}))}}catch(d){o={error:d}}finally{try{u&&!u.done&&(l=s.return)&&l.call(s)}finally{if(o)throw o.error}}return Object(i.__assign)({},r,a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,u,r),s=l.segmentGroup,c=l.slicedSegments;return 0===c.length&&s.hasChildren()?o.expandChildren(n,r,s).pipe(F((function(t){return new Dd(a,t)}))):0===r.length&&0===c.length?Hs(new Dd(a,{})):o.expandSegment(n,s,r,c,cd,!0).pipe(F((function(t){return new Dd(a.concat(t.segments),t.children)})))})))},t.prototype.getChildConfig=function(t,e,n){var i=this;return e.children?Hs(new gd(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Hs(e._loadedConfig):function(t,e,n){var i,r=e.canLoad;return r&&0!==r.length?V(r).pipe(F((function(i){var r,o=t.get(i);if(function(t){return t&&wh(t.canLoad)}(o))r=o.canLoad(e,n);else{if(!wh(o))throw new Error("Invalid CanLoad guard");r=o(e,n)}return Sd(r)}))).pipe(Zs(),(i=function(t){return!0===t},function(t){return t.lift(new vu(i,void 0,t))})):Hs(!0)}(t.injector,e,n).pipe(B((function(n){return n?i.configLoader.load(t.injector,e).pipe(F((function(t){return e._loadedConfig=t,t}))):function(t){return new w((function(e){return e.error(fd("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))}))}(e)}))):Hs(new gd([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Hs(n);if(i.numberOfChildren>1||!i.children[cd])return Lh(t.redirectTo);i=i.children[cd]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new Ld(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Md(t,(function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,i){var r=this,o=this.createSegments(t,e.segments,n,i),l={};return Md(e.children,(function(e,o){l[o]=r.createSegmentGroup(t,e,n,i)})),new Dd(o,l)},t.prototype.createSegments=function(t,e,n,i){var r=this;return e.map((function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return i},t.prototype.findOrReturn=function(t,e){var n,r,o=0;try{for(var l=Object(i.__values)(e),a=l.next();!a.done;a=l.next()){var s=a.value;if(s.path===t.path)return e.splice(o),s;o++}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return t},t}();function Th(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(e.matcher||md)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Oh(t){if(1===t.numberOfChildren&&t.children[cd]){var e=t.children[cd];return new Dd(t.segments.concat(e.segments),e.children)}return t}function Ph(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Eh(t){return t.outlet||cd}var Ih=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Yh=function(){return function(t,e){this.component=t,this.route=e}}();function Ah(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Rh(t,e,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=$d(e);return t.children.forEach((function(t){!function(t,e,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=t.value,l=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(l&&o.routeConfig===l.routeConfig){var s=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Od(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Od(t.url,e.url)||!wd(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ah(t,e)||!wd(t.queryParams,e.queryParams);case"paramsChange":default:return!ah(t,e)}}(l,o,o.routeConfig.runGuardsAndResolvers);s?r.canActivateChecks.push(new Ih(i)):(o.data=l.data,o._resolvedData=l._resolvedData),Rh(t,e,o.component?a?a.children:null:n,i,r),s&&r.canDeactivateChecks.push(new Yh(a&&a.outlet&&a.outlet.component||null,l))}else l&&jh(e,a,r),r.canActivateChecks.push(new Ih(i)),Rh(t,null,o.component?a?a.children:null:n,i,r)}(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]})),Md(o,(function(t,e){return jh(t,n.getContext(e),r)})),r}function jh(t,e,n){var i=$d(t),r=t.value;Md(i,(function(t,i){jh(t,r.component?e?e.children.getContext(i):null:e,n)})),n.canDeactivateChecks.push(new Yh(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var Fh=Symbol("INITIAL_VALUE");function Nh(){return wu((function(t){return Ws.apply(void 0,Object(i.__spread)(t.map((function(t){return t.pipe(mu(1),Su(Fh))})))).pipe(Cu((function(t,e){var n=!1;return e.reduce((function(t,i,r){if(t!==Fh)return t;if(i===Fh&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||kh(i))return i}return t}),t)}),Fh),$s((function(t){return t!==Fh})),F((function(t){return kh(t)?t:!0===t})),mu(1))}))}function Hh(t,e){return null!==t&&e&&e(new ld(t)),Hs(!0)}function zh(t,e){return null!==t&&e&&e(new rd(t)),Hs(!0)}function Vh(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?Hs(i.map((function(i){return Js((function(){var r,o=Ah(i,e,n);if(function(t){return t&&wh(t.canActivate)}(o))r=Sd(o.canActivate(e,t));else{if(!wh(o))throw new Error("Invalid CanActivate guard");r=Sd(o(e,t))}return r.pipe(yu())}))}))).pipe(Nh()):Hs(!0)}function Bh(t,e,n){var i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map((function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)})).filter((function(t){return null!==t})).map((function(e){return Js((function(){return Hs(e.guards.map((function(r){var o,l=Ah(r,e.node,n);if(function(t){return t&&wh(t.canActivateChild)}(l))o=Sd(l.canActivateChild(i,t));else{if(!wh(l))throw new Error("Invalid CanActivateChild guard");o=Sd(l(i,t))}return o.pipe(yu())}))).pipe(Nh())}))}));return Hs(r).pipe(Nh())}var Wh=function(){return function(){}}(),Uh=function(){function t(t,e,n,i,r,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=Gh(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,cd),n=new nh([],Object.freeze({}),Object.freeze(Object(i.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,{},cd,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Zd(n,e),o=new ih(this.url,r);return this.inheritParamsAndData(o._root),Hs(o)}catch(l){return new w((function(t){return t.error(l)}))}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,i=eh(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,i=this,r=Pd(e,(function(e,n){return i.processSegmentGroup(t,e,n)}));return n={},r.forEach((function(t){var e=n[t.value.outlet];if(e){var i=e.url.map((function(t){return t.toString()})).join("/"),r=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+i+"' and '"+r+"'.")}n[t.value.outlet]=t.value})),r.sort((function(t,e){return t.value.outlet===cd?-1:e.value.outlet===cd?1:t.value.outlet.localeCompare(e.value.outlet)})),r},t.prototype.processSegment=function(t,e,n,r){var o,l;try{for(var a=Object(i.__values)(t),s=a.next();!s.done;s=a.next()){var u=s.value;try{return this.processSegmentAgainstRoute(u,e,n,r)}catch(c){if(!(c instanceof Wh))throw c}}}catch(d){o={error:d}}finally{try{s&&!s.done&&(l=a.return)&&l.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new Wh},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new Wh;if((t.outlet||cd)!==r)throw new Wh;var o,l=[],a=[];if("**"===t.path){var s=n.length>0?xd(n).parameters:{};o=new nh(n,s,Object.freeze(Object(i.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,$h(t),r,t.component,t,qh(e),Kh(e)+n.length,Xh(t))}else{var u=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Wh;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||md)(n,t,e);if(!r)throw new Wh;var o={};Md(r.posParams,(function(t,e){o[e]=t.path}));var l=r.consumed.length>0?Object(i.__assign)({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:l}}(e,t,n);l=u.consumedSegments,a=n.slice(u.lastChild),o=new nh(l,u.parameters,Object.freeze(Object(i.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,$h(t),r,t.component,t,qh(e),Kh(e)+l.length,Xh(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),d=Gh(e,l,a,c,this.relativeLinkResolution),h=d.segmentGroup,p=d.slicedSegments;if(0===p.length&&h.hasChildren()){var f=this.processChildren(c,h);return[new Zd(o,f)]}if(0===c.length&&0===p.length)return[new Zd(o,[])];var m=this.processSegment(c,h,p,cd);return[new Zd(o,m)]},t}();function qh(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Kh(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Gh(t,e,n,r,o){if(n.length>0&&function(t,e,n){return n.some((function(n){return Jh(t,e,n)&&Zh(n)!==cd}))}(t,n,r)){var l=new Dd(e,function(t,e,n,r){var o,l,a={};a[cd]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var s=Object(i.__values)(n),u=s.next();!u.done;u=s.next()){var c=u.value;if(""===c.path&&Zh(c)!==cd){var d=new Dd([],{});d._sourceSegment=t,d._segmentIndexShift=e.length,a[Zh(c)]=d}}}catch(h){o={error:h}}finally{try{u&&!u.done&&(l=s.return)&&l.call(s)}finally{if(o)throw o.error}}return a}(t,e,r,new Dd(n,t.children)));return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return Jh(t,e,n)}))}(t,n,r)){var a=new Dd(t.segments,function(t,e,n,r,o,l){var a,s,u={};try{for(var c=Object(i.__values)(r),d=c.next();!d.done;d=c.next()){var h=d.value;if(Jh(t,n,h)&&!o[Zh(h)]){var p=new Dd([],{});p._sourceSegment=t,p._segmentIndexShift="legacy"===l?t.segments.length:e.length,u[Zh(h)]=p}}}catch(f){a={error:f}}finally{try{d&&!d.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}return Object(i.__assign)({},o,u)}(t,e,n,r,t.children,o));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var s=new Dd(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Jh(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Zh(t){return t.outlet||cd}function $h(t){return t.data||{}}function Xh(t){return t.resolve||{}}function Qh(t,e,n,i){var r=Ah(t,e,i);return Sd(r.resolve?r.resolve(e,n):r(e,n))}function tp(t){return function(e){return e.pipe(wu((function(e){var n=t(e);return n?V(n).pipe(F((function(){return e}))):V([e])})))}}var ep=function(){return function(){}}(),np=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),ip=new St("ROUTES"),rp=function(){function t(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(F((function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new gd(kd(r.injector.get(ip)).map(bd),r)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?V(this.loader.load(t)):Sd(t()).pipe(B((function(t){return t instanceof Ht?Hs(t):V(e.compiler.compileModuleAsync(t))})))},t}(),op=function(){return function(){}}(),lp=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function ap(t){throw t}function sp(t,e,n){return e.parse("/")}function up(t,e){return Hs(null)}var cp=function(){function t(t,e,n,i,r,o,l,a){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new C,this.errorHandler=ap,this.malformedUriErrorHandler=sp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:up,afterPreactivation:up},this.urlHandlingStrategy=new lp,this.routeReuseStrategy=new np,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(Nt),this.console=r.get(Ur);var u=r.get(co);this.isNgZoneEnabled=u instanceof co,this.resetConfig(a),this.currentUrlTree=new Ld(new Dd([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rp(o,l,(function(t){return s.triggerEvent(new nd(t))}),(function(t){return s.triggerEvent(new id(t))})),this.routerState=Qd(this.currentUrlTree,this.rootComponentType),this.transitions=new zs({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe($s((function(t){return 0!==t.id})),F((function(t){return Object(i.__assign)({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),wu((function(t){var r,o,l,a=!1,s=!1;return Hs(t).pipe(Pu((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object(i.__assign)({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}})),wu((function(t){var r,o,l,a,s=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Hs(t).pipe(wu((function(t){var i=e.transitions.getValue();return n.next(new Kc(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==e.transitions.getValue()?Ks:[t]})),wu((function(t){return Promise.resolve(t)})),(r=e.ngModule.injector,o=e.configLoader,l=e.urlSerializer,a=e.config,function(t){return t.pipe(wu((function(t){return function(t,e,n,i,r){return new Dh(t,e,n,i,r).apply()}(r,o,l,t.extractedUrl,a).pipe(F((function(e){return Object(i.__assign)({},t,{urlAfterRedirects:e})})))})))}),Pu((function(t){e.currentNavigation=Object(i.__assign)({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})})),function(t,n,r,o,l){return function(r){return r.pipe(B((function(r){return function(t,e,n,i,r,o){return void 0===r&&(r="emptyOnly"),void 0===o&&(o="legacy"),new Uh(t,e,n,i,r,o).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),o,l).pipe(F((function(t){return Object(i.__assign)({},r,{targetSnapshot:t})})));var a})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Pu((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Pu((function(t){var i=new $c(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)})));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.extractedUrl,c=t.source,d=t.restoredState,h=t.extras,p=new Kc(t.id,e.serializeUrl(u),c,d);n.next(p);var f=Qd(u,e.rootComponentType).snapshot;return Hs(Object(i.__assign)({},t,{targetSnapshot:f,urlAfterRedirects:u,extras:Object(i.__assign)({},h,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Ks})),tp((function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Pu((function(t){var n=new Xc(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),F((function(t){return Object(i.__assign)({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,o=e.rootContexts,l=n._root,Rh(l,r?r._root:null,o,[l.value]))});var n,r,o,l})),function(t,e){return function(n){return n.pipe(B((function(n){var r=n.targetSnapshot,o=n.currentSnapshot,l=n.guards,a=l.canActivateChecks,s=l.canDeactivateChecks;return 0===s.length&&0===a.length?Hs(Object(i.__assign)({},n,{guardsResult:!0})):function(t,e,n,i){return V(t).pipe(B((function(t){return function(t,e,n,i,r){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?Hs(o.map((function(o){var l,a=Ah(o,e,r);if(function(t){return t&&wh(t.canDeactivate)}(a))l=Sd(a.canDeactivate(t,e,n,i));else{if(!wh(a))throw new Error("Invalid CanDeactivate guard");l=Sd(a(t,e,n,i))}return l.pipe(yu())}))).pipe(Nh()):Hs(!0)}(t.component,t.route,n,e,i)})),yu((function(t){return!0!==t}),!0))}(s,r,o,t).pipe(B((function(n){return n&&"boolean"==typeof n?function(t,e,n,i){return V(e).pipe(Tu((function(e){return V([zh(e.route.parent,i),Hh(e.route,i),Bh(t,e.path,n),Vh(t,e.route,n)]).pipe(Zs(),yu((function(t){return!0!==t}),!0))})),yu((function(t){return!0!==t}),!0))}(r,a,t,e):Hs(n)})),F((function(t){return Object(i.__assign)({},n,{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),Pu((function(t){if(kh(t.guardsResult)){var n=fd('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),Pu((function(t){var n=new Qc(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),$s((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var i=new Jc(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(i),t.resolve(!1),!1}return!0})),tp((function(t){if(t.guards.canActivateChecks.length)return Hs(t).pipe(Pu((function(t){var n=new td(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(B((function(t){var e=t.targetSnapshot,o=t.guards.canActivateChecks;return o.length?V(o).pipe(Tu((function(t){return function(t,e,n,r){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return Hs({});if(1===r.length){var o=r[0];return Qh(t[o],e,n,i).pipe(F((function(t){var e;return(e={})[o]=t,e})))}var l={};return V(r).pipe(B((function(r){return Qh(t[r],e,n,i).pipe(F((function(t){return l[r]=t,t})))}))).pipe(du(),F((function(){return l})))}(t._resolve,t,e,r).pipe(F((function(e){return t._resolvedData=e,t.data=Object(i.__assign)({},t.data,eh(t,n).resolve),null})))}(t.route,e,n,r)})),Ou((function(t,e){return t})),F((function(e){return t}))):Hs(t)})))}),Pu((function(t){var n=new ed(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})));var n,r})),tp((function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),F((function(t){var n,r,o,l=(o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(u=r.value)._futureSnapshot=n.value;var o=function(e,n,r){return n.children.map((function(n){var o,l;try{for(var a=Object(i.__values)(r.children),s=a.next();!s.done;s=a.next()){var u=s.value;if(e.shouldReuseRoute(u.value.snapshot,n.value))return t(e,n,u)}}catch(c){o={error:c}}finally{try{s&&!s.done&&(l=a.return)&&l.call(a)}finally{if(o)throw o.error}}return t(e,n)}))}(e,n,r);return new Zd(u,o)}var l=e.retrieve(n.value);if(l){var a=l.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var i=0;ir;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new dh(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(l,e,t),s=a.processChildren?fh(a.segmentGroup,a.index,l.commands):ph(a.segmentGroup,a.index,l.commands);return uh(a.segmentGroup,s,e,r,o)}(u,this.currentUrlTree,t,d,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),te()&&this.isNgZoneEnabled&&!co.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=kh(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e1?Array.prototype.slice.call(arguments):t)}),i,n)}))}var wf=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return i.__extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return i.__extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(s)),kf=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),xf=function(t){function e(n,i){void 0===i&&(i=kf.now);var r=t.call(this,n,(function(){return e.delegate&&e.delegate!==r?e.delegate.now():i()}))||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return i.__extends(e,t),e.prototype.schedule=function(n,i,r){return void 0===i&&(i=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,i,r):t.prototype.schedule.call(this,n,i,r)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(kf),Mf=1,Sf={},Cf=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return i.__extends(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=(r=e.flush.bind(e,null),o=Mf++,Sf[o]=r,Promise.resolve().then((function(){return function(t){var e=Sf[t];e&&e()}(o)})),o)));var r,o},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(delete Sf[n],e.scheduled=void 0)},e}(wf),Lf=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i=0}function Af(t,e,n){void 0===t&&(t=0);var i=-1;return Yf(e)?i=Number(e)<1?1:Number(e):D(e)&&(n=e),D(n)||(n=Pf),new w((function(e){var r=Yf(t)?t:+t-n.now();return n.schedule(Rf,r,{index:0,period:i,subscriber:e})}))}function Rf(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function jf(t,e){return void 0===e&&(e=Pf),n=function(){return Af(t,e)},function(t){return t.lift(new Ef(n))};var n}var Ff=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return i.__extends(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,i):e.flush(this)},e}(wf),Nf=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(xf))(Ff);function Hf(t,e){return new w(e?function(n){return e.schedule(zf,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function zf(t){t.subscriber.error(t.error)}var Vf,Bf=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Hs(this.value);case"E":return Hf(this.error);case"C":return Gs()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),Wf=function(t){function e(e,n,i){void 0===i&&(i=0);var r=t.call(this,e)||this;return r.scheduler=n,r.delay=i,r}return i.__extends(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new Uf(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(Bf.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(Bf.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(Bf.createComplete()),this.unsubscribe()},e}(m),Uf=function(){return function(t,e){this.notification=t,this.destination=e}}(),qf=function(t){function e(e,n,i){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this)||this;return r.scheduler=i,r._events=[],r._infiniteTimeWindow=!1,r._bufferSize=e<1?1:e,r._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(r._infiniteTimeWindow=!0,r.next=r.nextInfiniteTimeWindow):r.next=r.nextTimeWindow,r}return i.__extends(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new Kf(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;if(this.closed)throw new x;if(this.isStopped||this.hasError?e=s.EMPTY:(this.observers.push(t),e=new M(this,t)),r&&t.add(t=new Wf(t,r)),n)for(var l=0;le&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i},e}(C),Kf=function(){return function(t,e){this.time=t,this.value=e}}();try{Vf="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(aR){Vf=!1}var Gf,Jf,Zf=function(){function t(t){this._platformId=t,this.isBrowser=this._platformId?this._platformId===Rs:"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&&!Vf)&&"undefined"!=typeof CSS&&!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}return t.ngInjectableDef=ht({factory:function(){return new t(At(Br,8))},token:t,providedIn:"root"}),t}(),$f=function(){return function(){}}(),Xf=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Qf(){if(Gf)return Gf;if("object"!=typeof document||!document)return Gf=new Set(Xf);var t=document.createElement("input");return Gf=new Set(Xf.filter((function(e){return t.setAttribute("type",e),t.type===e})))}function tm(t){return function(){if(null==Jf&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Jf=!0}}))}finally{Jf=Jf||!1}return Jf}()?t:!!t.capture}var em=function(){return function(){}}();function nm(t){return t&&"function"==typeof t.connect}var im=function(){function t(t,e,n){var i=this;void 0===t&&(t=!1),void 0===n&&(n=!0),this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new C,this.onChange=this.changed,e&&e.length&&(t?e.forEach((function(t){return i._markSelected(t)})):this._markSelected(e[0]),this._selectedToEmit.length=0)}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),t.prototype.select=function(){for(var t=this,e=[],n=0;n1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},t}(),rm=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new C,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?new w((function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(jf(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Hs()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe($s((function(t){return!t||n.indexOf(t)>-1})))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach((function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)})),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return bf(window.document,"scroll").subscribe((function(){return t._scrolled.next()}))}))},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.ngInjectableDef=ht({factory:function(){return new t(At(co),At(Zf))},token:t,providedIn:"root"}),t}(),om=function(){return function(){}}(),lm=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular((function(){n._change=t.isBrowser?J(bf(window,"resize"),bf(window,"orientationchange")):Hs(),n._invalidateCache=n.change().subscribe((function(){return n._updateViewportSize()}))}))}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(jf(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.ngInjectableDef=ht({factory:function(){return new t(At(Zf),At(co))},token:t,providedIn:"root"}),t}(),am=27;function sm(t){for(var e=[],n=1;ne.height||t.scrollWidth>e.width},t}();function cm(){return Error("Scroll strategy has already been attached.")}var dm=function(){function t(t,e,n,i){var r=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run((function(){return r._overlayRef.detach()}))}}return t.prototype.attach=function(t){if(this._overlayRef)throw cm();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe((function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()}))):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),hm=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function pm(t,e){return e.some((function(e){return t.bottome.bottom||t.righte.right}))}function fm(t,e){return e.some((function(e){return t.tope.bottom||t.lefte.right}))}var mm=function(){function t(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw cm();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,r=n.height;pm(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run((function(){return t._overlayRef.detach()})))}})))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),gm=function(){function t(t,e,n,i){var r=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new hm},this.close=function(t){return new dm(r._scrollDispatcher,r._ngZone,r._viewportRuler,t)},this.block=function(){return new um(r._viewportRuler,r._document)},this.reposition=function(t){return new mm(r._scrollDispatcher,r._viewportRuler,r._ngZone,t)},this._document=i}return t.ngInjectableDef=ht({factory:function(){return new t(At(rm),At(lm),At(co),At(As))},token:t,providedIn:"root"}),t}(),_m=function(){return function(t){if(this.scrollStrategy=new hm,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var e=0,n=Object.keys(t);e-1;i--)if(n[i]._keydownEventSubscriptions>0){n[i]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},t.ngInjectableDef=ht({factory:function(){return new t(At(As))},token:t,providedIn:"root"}),t}(),xm=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){for(var t=this._document.getElementsByClassName("cdk-overlay-container"),e=0;eh&&(h=g,d=m)}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Cm(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},t.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}},t.prototype.withScrollableContainers=function(t){return this._scrollables=t,this},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var i;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+i,y:t.y+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,i){var r=t.x,o=t.y,l=this._getOffset(i,"x"),a=this._getOffset(i,"y");l&&(r+=l),a&&(o+=a);var s=0-o,u=o+e.height-n.height,c=this._subtractOverflows(e.width,0-r,r+e.width-n.width),d=this._subtractOverflows(e.height,s,u),h=c*d;return{visibleArea:h,isCompletelyWithinViewport:e.width*e.height===h,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:c==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,o=this._overlayRef.getConfig().minHeight,l=this._overlayRef.getConfig().minWidth;return(t.fitsInViewportVertically||null!=o&&o<=i)&&(t.fitsInViewportHorizontally||null!=l&&l<=r)}return!1},t.prototype._pushOverlayOnScreen=function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,r,o=this._viewportRect,l=Math.max(t.x+e.width-o.right,0),a=Math.max(t.y+e.height-o.bottom,0),s=Math.max(o.top-n.top-t.y,0),u=Math.max(o.left-n.left-t.x,0);return this._previousPushAmount={x:i=e.width<=o.width?u||-l:t.xd&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-d/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)a=s.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)l=t.x,o=s.right-t.x;else{c=Math.min(s.right-t.x+s.left,t.x);var h=this._lastBoundingBoxSize.width;l=t.x-c,(o=2*c)>h&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-h/2)}return{top:i,left:l,bottom:r,right:a,width:o,height:n}},t.prototype._setBoundingBoxStyles=function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=yf(n.height),i.top=yf(n.top),i.bottom=yf(n.bottom),i.width=yf(n.width),i.left=yf(n.left),i.right=yf(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=yf(r)),o&&(i.maxWidth=yf(o))}this._lastBoundingBoxSize=n,Cm(this._boundingBox.style,i)},t.prototype._resetBoundingBoxStyles=function(){Cm(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){Cm(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var i=this._viewportRuler.getViewportScrollPosition();Cm(n,this._getExactOverlayY(e,t,i)),Cm(n,this._getExactOverlayX(e,t,i))}else n.position="static";var r="",o=this._getOffset(e,"x"),l=this._getOffset(e,"y");o&&(r+="translateX("+o+"px) "),l&&(r+="translateY("+l+"px)"),n.transform=r.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),Cm(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var i={top:null,bottom:null},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=yf(r.y),i},t.prototype._getExactOverlayX=function(t,e,n){var i={left:null,right:null},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=yf(r.x),i},t.prototype._getScrollVisibility=function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(t){return t.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:fm(t,n),isOriginOutsideView:pm(t,n),isOverlayClipped:fm(e,n),isOverlayOutsideView:pm(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}}))}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(t){return void 0===t&&(t=!0),this._wrap=t,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withAllowedModifierKeys=function(t){return this._allowedModifierKeys=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some((function(t){return"function"!=typeof t.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Pu((function(t){return e._pressedLetters.push(t)})),Fm(t),$s((function(){return e._pressedLetters.length>0})),F((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),i=1;i-1}));switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||sm(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItem=function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n},t.prototype.updateActiveItemIndex=function(t){this.updateActiveItem(t)},t.prototype._setActiveItemByDelta=function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)},t.prototype._setActiveInWrapMode=function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}},t.prototype._setActiveInDefaultMode=function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)},t.prototype._setActiveItemByIndex=function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t.prototype._getItemsArray=function(){return this._items instanceof Rr?this._items.toArray():this._items},t}(),Gm=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(Km),Jm=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._origin="program",e}return Object(i.__extends)(e,t),e.prototype.setFocusOrigin=function(t){return this._origin=t,this},e.prototype.setActiveItem=function(e){t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(Km),Zm=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(aR){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){var i=n&&n.nodeName.toLowerCase();if(-1===Xm(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===i)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var r=t.nodeName.toLowerCase(),o=Xm(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===r)return!1;if("audio"===r){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||$m(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t.ngInjectableDef=ht({factory:function(){return new t(At(Zf))},token:t,providedIn:"root"}),t}();function $m(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Xm(t){if(!$m(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var Qm=function(){function t(t,e,n,i,r){var o=this;void 0===r&&(r=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,r||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.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)},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusInitialElement())}))}))},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusFirstTabbableElement())}))}))},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusLastTabbableElement())}))}))},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t},t.prototype._toggleAnchorTabIndex=function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(mu(1)).subscribe(t)},t}(),tg=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new Qm(t,this._checker,this._ngZone,this._document,e)},t.ngInjectableDef=ht({factory:function(){return new t(At(Zm),At(co),At(As))},token:t,providedIn:"root"}),t}(),eg=new St("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),ng=new St("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),ig=function(){function t(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t){for(var e=this,n=[],i=1;ithis.total&&this.destination.next(t)},e}(m),pg=new Set,fg=function(){function t(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):mg}return t.prototype.matchMedia=function(t){return this._platform.WEBKIT&&function(t){if(!pg.has(t))try{ug||((ug=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(ug)),ug.sheet&&(ug.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),pg.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t.ngInjectableDef=ht({factory:function(){return new t(At(Zf))},token:t,providedIn:"root"}),t}();function mg(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var gg=function(){function t(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new C}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return _g(_f(t)).some((function(t){return e._registerQuery(t).mql.matches}))},t.prototype.observe=function(t){var e=this,n=Ws(_g(_f(t)).map((function(t){return e._registerQuery(t).observable})));return(n=Mu(n.pipe(mu(1)),n.pipe((function(t){return t.lift(new dg(1))}),Fm(0)))).pipe(F((function(t){var e={matches:!1,breakpoints:{}};return t.forEach((function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches})),e})))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),i={observable:new w((function(t){var i=function(n){return e._zone.run((function(){return t.next(n)}))};return n.addListener(i),function(){n.removeListener(i)}})).pipe(Su(n),F((function(e){return{query:t,matches:e.matches}})),df(this._destroySubject)),mql:n};return this._queries.set(t,i),i},t.ngInjectableDef=ht({factory:function(){return new t(At(fg),At(co))},token:t,providedIn:"root"}),t}();function _g(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}var yg={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},vg=function(){function t(t,e){var n=this;this._overlayRef=e,this._afterDismissed=new C,this._afterOpened=new C,this._onAction=new C,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe((function(){return n.dismiss()})),t._onExit.subscribe((function(){return n._finishDismiss()}))}return t.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},t.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},t.prototype.closeWithAction=function(){this.dismissWithAction()},t.prototype._dismissAfter=function(t){var e=this;this._durationTimeoutId=setTimeout((function(){return e.dismiss()}),t)},t.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},t.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},t.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},t.prototype.afterOpened=function(){return this.containerInstance._onEnter},t.prototype.onAction=function(){return this._onAction.asObservable()},t}(),bg=new St("MatSnackBarData"),wg=function(){return function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}(),kg=function(){function t(t,e){this.snackBarRef=t,this.data=e}return t.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(t.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),t}(),xg=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._ngZone=e,o._elementRef=n,o._changeDetectorRef=i,o.snackBarConfig=r,o._destroyed=!1,o._onExit=new C,o._onEnter=new C,o._animationState="void",o._role="assertive"!==r.politeness||r.announcementMessage?"off"===r.politeness?null:"status":"alert",o}return Object(i.__extends)(e,t),e.prototype.attachComponentPortal=function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)},e.prototype.onAnimationEnd=function(t){var e=t.toState;if(("void"===e&&"void"!==t.fromState||"hidden"===e)&&this._completeExit(),"visible"===e){var n=this._onEnter;this._ngZone.run((function(){n.next(),n.complete()}))}},e.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},e.prototype.exit=function(){return this._animationState="hidden",this._onExit},e.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},e.prototype._completeExit=function(){var t=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(mu(1)).subscribe((function(){t._onExit.next(),t._onExit.complete()}))},e.prototype._applySnackBarClasses=function(){var t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach((function(e){return t.classList.add(e)})):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")},e.prototype._assertNotAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")},e}(lf),Mg=function(){return function(){}}(),Sg=new St("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new wg}}),Cg=function(){function t(t,e,n,i,r,o){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=o,this._snackBarRefAtThisLevel=null}return Object.defineProperty(t.prototype,"_openedSnackBarRef",{get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t},enumerable:!0,configurable:!0}),t.prototype.openFromComponent=function(t,e){return this._attach(t,e)},t.prototype.openFromTemplate=function(t,e){return this._attach(t,e)},t.prototype.open=function(t,e,n){void 0===e&&(e="");var r=Object(i.__assign)({},this._defaultConfig,n);return r.data={message:t,action:e},r.announcementMessage||(r.announcementMessage=t),this.openFromComponent(kg,r)},t.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},t.prototype.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()},t.prototype._attachSnackBarContainer=function(t,e){var n=new cf(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[wg,e]])),i=new rf(xg,e.viewContainerRef,n),r=t.attach(i);return r.instance.snackBarConfig=e,r.instance},t.prototype._attach=function(t,e){var n=Object(i.__assign)({},new wg,this._defaultConfig,e),r=this._createOverlay(n),o=this._attachSnackBarContainer(r,n),l=new vg(o,r);if(t instanceof Pn){var a=new of(t,null,{$implicit:n.data,snackBarRef:l});l.instance=o.attachTemplatePortal(a)}else{var s=this._createInjector(n,l),u=(a=new rf(t,void 0,s),o.attachComponentPortal(a));l.instance=u.instance}return this._breakpointObserver.observe(yg.HandsetPortrait).pipe(df(r.detachments())).subscribe((function(t){var e=r.overlayElement.classList;t.matches?e.add("mat-snack-bar-handset"):e.remove("mat-snack-bar-handset")})),this._animateSnackBar(l,n),this._openedSnackBarRef=l,this._openedSnackBarRef},t.prototype._animateSnackBar=function(t,e){var n=this;t.afterDismissed().subscribe((function(){n._openedSnackBarRef==t&&(n._openedSnackBarRef=null),e.announcementMessage&&n._live.clear()})),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe((function(){t.containerInstance.enter()})),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe((function(){return t._dismissAfter(e.duration)})),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)},t.prototype._createOverlay=function(t){var e=new _m;e.direction=t.direction;var n=this._overlay.position().global(),i="rtl"===t.direction,r="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!i||"end"===t.horizontalPosition&&i,o=!r&&"center"!==t.horizontalPosition;return r?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)},t.prototype._createInjector=function(t,e){return new cf(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[vg,e],[bg,t.data]]))},t.ngInjectableDef=ht({factory:function(){return new t(At(Pm),At(ig),At(Ct),At(gg),At(t,12),At(Sg))},token:t,providedIn:Mg}),t}(),Lg=function(){function t(t){this.snackBar=t,this.lastWasTemporaryError=!1}return t.prototype.showError=function(t,e,n,i,r){void 0===e&&(e=null),void 0===n&&(n=!1),void 0===i&&(i=null),void 0===r&&(r=null),t=Up(t),i=i?Up(i):null,this.lastWasTemporaryError=n,this.show(t.translatableErrorMsg,e,i?i.translatableErrorMsg:null,r,Np.Error,Hp.Red,15e3)},t.prototype.showWarning=function(t,e){void 0===e&&(e=null),this.lastWasTemporaryError=!1,this.show(t,e,null,null,Np.Warning,Hp.Yellow,15e3)},t.prototype.showDone=function(t,e){void 0===e&&(e=null),this.lastWasTemporaryError=!1,this.show(t,e,null,null,Np.Done,Hp.Green,5e3)},t.prototype.closeCurrent=function(){this.snackBar.dismiss()},t.prototype.closeCurrentIfTemporaryError=function(){this.lastWasTemporaryError&&this.snackBar.dismiss()},t.prototype.show=function(t,e,n,i,r,o,l){this.snackBar.openFromComponent(zp,{duration:l,panelClass:"p-0",data:{text:t,textTranslationParams:e,smallText:n,smallTextTranslationParams:i,icon:r,color:o}})},t.ngInjectableDef=ht({factory:function(){return new t(At(Cg))},token:t,providedIn:"root"}),t}(),Dg={maxShortListElements:5,maxFullListElements:40,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Español",iconName:"es.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px"};function Tg(t,e,n){return 0===n?[e]:(t.push(e),t)}var Og=function(){return function(){}}(),Pg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getTranslation=function(t){return Hs({})},e}(Og),Eg=function(){return function(){}}(),Ig=function(){function t(){}return t.prototype.handle=function(t){return t.key},t}(),Yg=function(){return function(){}}(),Ag=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.compile=function(t,e){return t},e.prototype.compileTranslations=function(t,e){return t},e}(Yg);function Rg(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;var n,i,r,o=typeof t;if(o==typeof e&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in r=Object.create(null),t){if(!Rg(t[i],e[i]))return!1;r[i]=!0}for(i in e)if(!(i in r)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=r[1],l=r[2],a=r[3];e.push(jy(o,a)),"<"!=l[0]||o==Yy&&a==Yy||e.push(jy(a,o))}(t,r,i)})):r.push(n),r),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:By(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return Ey(n,t,e)})),options:By(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,i=e.currentTime,r=0,o=t.steps.map((function(t){e.currentTime=i;var o=Ey(n,t,e);return r=Math.max(r,e.currentTime),o}));return e.currentTime=r,{type:3,steps:o,options:By(t.options)}},t.prototype.visitAnimate=function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Wy(gy(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var r=Wy(0,0,"");return r.dynamic=!0,r.strValue=i,r}return Wy((n=n||gy(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var r=t.styles?t.styles:Zp({});if(5==r.type)n=this.visitKeyframes(r,e);else{var o=t.styles,l=!1;if(!o){l=!0;var a={};i.easing&&(a.easing=i.easing),o=Zp(a)}e.currentTime+=i.duration+i.delay;var s=this.visitStyle(o,e);s.isEmptyStep=l,n=s}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(t){"string"==typeof t?t==Gp?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)})):n.push(t.styles);var i=!1,r=null;return n.forEach((function(t){if(Vy(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var o in e)if(e[o].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(i){if(n._driver.validateStyleProperty(i)){var l,a,s,u=e.collectedStyles[e.currentQuerySelector],c=u[i],d=!0;c&&(o!=r&&o>=c.startTime&&r<=c.endTime&&(e.errors.push('The CSS property "'+i+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+r+'ms"'),d=!1),o=c.startTime),d&&(u[i]={startTime:o,endTime:r}),e.options&&(l=e.errors,a=e.options.params||{},(s=Sy(t[i])).length&&s.forEach((function(t){a.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")})))}else e.errors.push('The provided animation property "'+i+'" is not a supported CSS property for animations')}))}))},t.prototype.visitKeyframes=function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],l=!1,a=!1,s=0,u=t.steps.map((function(t){var i=n._makeStyleAst(t,e),u=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if(Vy(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(Vy(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),a=a||c<0||c>1,l=l||c0&&r0?r==h?1:d*r:o[r],a=l*m;e.currentTime=p+f.delay+a,f.duration=a,n._validateStyleAst(t,e),t.offset=l,i.styles.push(t)})),i},t.prototype.visitReference=function(t,e){return{type:8,animation:Ey(this,xy(t.animation),e),options:By(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:By(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:By(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var o=Object(i.__read)(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(Fy,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),l=o[0],a=o[1];e.currentQuerySelector=n.length?n+" "+l:l,X_(e.collectedStyles,e.currentQuerySelector,{});var s=Ey(this,xy(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:l,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:By(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:gy(t.timings,e.errors,!0);return{type:12,animation:Ey(this,xy(t.animation),e),timings:n,options:null}},t}(),zy=function(){return function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function Vy(t){return!Array.isArray(t)&&"object"==typeof t}function By(t){var e;return t?(t=_y(t)).params&&(t.params=(e=t.params)?_y(e):null):t={},t}function Wy(t,e,n){return{duration:t,delay:e,easing:n}}function Uy(t,e,n,i,r,o,l,a){return void 0===l&&(l=null),void 0===a&&(a=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:l,subTimeline:a}}var qy=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,Object(i.__spread)(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),Ky=new RegExp(":enter","g"),Gy=new RegExp(":leave","g");function Jy(t,e,n,i,r,o,l,a,s,u){return void 0===o&&(o={}),void 0===l&&(l={}),void 0===u&&(u=[]),(new Zy).buildKeyframes(t,e,n,i,r,o,l,a,s,u)}var Zy=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,i,r,o,l,a,s,u){void 0===u&&(u=[]),s=s||new qy;var c=new Xy(t,e,s,i,r,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),Ey(this,n,c);var d=c.timelines.filter((function(t){return t.containsAnimation()}));if(d.length&&Object.keys(l).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([l],null,c.errors,a)}return d.length?d.map((function(t){return t.buildKeyframes()})):[Uy(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?fy(n.duration):null,o=null!=n.delay?fy(n.delay):null;return 0!==r&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)})),i},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),Ey(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&((r=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=$y);var l=fy(o.delay);r.delayNextStep(l)}t.steps.length&&(t.steps.forEach((function(t){return Ey(n,t,r)})),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?fy(t.options.delay):0;t.steps.forEach((function(l){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),Ey(n,l,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)})),i.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(r),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return gy(e.params?Cy(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((function(t){o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?fy(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$y);var l=i,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;var s=null;a.forEach((function(i,r){e.currentQueryIndex=r;var a=e.createSubContext(t.options,i);o&&a.delayNextStep(o),i===e.element&&(s=a.currentTimeline),Ey(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,a.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),l=o*(e.currentQueryTotal-1),a=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=l-a;break;case"full":a=n.currentStaggerTime}var s=e.currentTimeline;a&&s.delayNextStep(a);var u=s.currentTime;Ey(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)},t}(),$y={},Xy=function(){function t(t,e,n,i,r,o,l,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=$y,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Qy(this._driver,e,0),l.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=fy(i.duration)),null!=i.delay&&(r.delay=fy(i.delay));var o=i.params;if(o){var l=r.params;l||(l=this.options.params={}),Object.keys(o).forEach((function(t){e&&l.hasOwnProperty(t)||(l[t]=Cy(o[t],l,n.errors))}))}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach((function(t){n[t]=e[t]}))}}return t},t.prototype.createSubContext=function(e,n,i){void 0===e&&(e=null);var r=n||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=$y,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new tv(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,o,l){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Ky,"."+this._enterClassName)).replace(Gy,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,Object(i.__spread)(s))}return o||0!=a.length||l.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),Qy=function(){function t(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||Gp,e._currentKeyframe[t]=Gp})),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var o=i&&i.params||{},l=function(t,e){var n,i={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){i[t]=Gp})):yy(t,!1,i)})),i}(t,this._globalTimelineStyles);Object.keys(l).forEach((function(t){var e=Cy(l[t],o,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:Gp),r._updateStyle(t,e)}))},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){t._currentKeyframe[n]=e[n]})),Object.keys(this._localTimelineStyles).forEach((function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])})))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)}))},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach((function(o,l){var a=yy(o,!0);Object.keys(a).forEach((function(t){var i=a[t];i==tf?e.add(t):i==Gp&&n.add(t)})),i||(a.offset=l/t.duration),r.push(a)}));var o=e.size?Ly(e.values()):[],l=n.size?Ly(n.values()):[];if(i){var a=r[0],s=_y(a);a.offset=0,s.offset=1,r=[a,s]}return Uy(this.element,r,o,l,this.duration,this.startTime,this.easing,!1)},t}(),tv=function(t){function e(e,n,i,r,o,l,a){void 0===a&&(a=!1);var s=t.call(this,e,n,l.delay)||this;return s.element=n,s.keyframes=i,s.preStyleProps=r,s.postStyleProps=o,s._stretchStartingKeyframe=a,s.timings={duration:l.duration,delay:l.delay,easing:l.easing},s}return Object(i.__extends)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],l=i+n,a=n/l,s=yy(t[0],!1);s.offset=0,o.push(s);var u=yy(t[0],!1);u.offset=ev(a),o.push(u);for(var c=t.length-1,d=1;d<=c;d++){var h=yy(t[d],!1);h.offset=ev((n+h.offset*i)/l),o.push(h)}i=l,n=0,r="",t=o}return Uy(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)},e}(Qy);function ev(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var nv=function(){return function(){}}(),iv=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.normalizePropertyName=function(t,e){return Ty(t)},e.prototype.normalizeStyleValue=function(t,e,n,i){var r="",o=n.toString().trim();if(rv[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var l=n.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&i.push("Please provide a CSS unit value for "+t+":"+n)}return o+r},e}(nv),rv=function(){return t="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),e={},t.forEach((function(t){return e[t]=!0})),e;var t,e}();function ov(t,e,n,i,r,o,l,a,s,u,c,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:l,timelines:a,queriedElements:s,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}var lv={},av=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,i){return function(t,e,n,i,r){return t.some((function(t){return t(e,n,i,r)}))}(this.ast.matchers,t,e,n,i)},t.prototype.buildStyles=function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],o=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,o,l,a,s,u,c){var d=[],h=this.ast.options&&this.ast.options.params||lv,p=this.buildStyles(n,a&&a.params||lv,d),f=s&&s.params||lv,m=this.buildStyles(r,f,d),g=new Set,_=new Map,y=new Map,v="void"===r,b={params:Object(i.__assign)({},h,f)},w=c?[]:Jy(t,e,this.ast.animation,o,l,p,m,b,u,d),k=0;if(w.forEach((function(t){k=Math.max(t.duration+t.delay,k)})),d.length)return ov(e,this._triggerName,n,r,v,p,m,[],[],_,y,k,d);w.forEach((function(t){var n=t.element,i=X_(_,n,{});t.preStyleProps.forEach((function(t){return i[t]=!0}));var r=X_(y,n,{});t.postStyleProps.forEach((function(t){return r[t]=!0})),n!==e&&g.add(n)}));var x=Ly(g.values());return ov(e,this._triggerName,n,r,v,p,m,w,x,_,y,k)},t}(),sv=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},i=_y(this.defaultParams);return Object.keys(t).forEach((function(e){var n=t[e];null!=n&&(i[e]=n)})),this.styles.styles.forEach((function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach((function(t){var o=r[t];o.length>1&&(o=Cy(o,i,e)),n[t]=o}))}})),n},t}(),uv=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((function(t){n.states[t.name]=new sv(t.style,t.options&&t.options.params||{})})),cv(this.states,"true","1"),cv(this.states,"false","0"),e.transitions.forEach((function(e){n.transitionFactories.push(new av(t,e,n.states))})),this.fallbackTransition=new av(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,i){return this.transitionFactories.find((function(r){return r.match(t,e,n,i)}))||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function cv(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var dv=new qy,hv=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],i=Ny(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i},t.prototype._buildPlayer=function(t,e,n){var i=t.element,r=G_(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var i=this;void 0===n&&(n={});var r,o=[],l=this._animations[t],a=new Map;if(l?(r=Jy(this._driver,e,l,"ng-enter","ng-leave",{},{},n,dv,o)).forEach((function(t){var e=X_(a,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),r=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=i._driver.computeStyle(e,n,Gp)}))}));var s=K_(r.map((function(t){var e=a.get(t.element);return i._buildPlayer(t,{},e)})));return this._playersById[t]=s,s.onDestroy((function(){return i.destroy(t)})),this.players.push(s),s},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,i){var r=$_(e,"","","");return J_(this._getPlayer(t),n,r,i),function(){}},t.prototype.command=function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])},t}(),pv=[],fv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mv={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gv="__ng_removed",_v=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n,i=t&&t.hasOwnProperty("value");if(this.value=null!=(n=i?t.value:t)?n:null,i){var r=_y(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach((function(t){null==n[t]&&(n[t]=e[t])}))}},t}(),yv=new _v("void"),vv=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Lv(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var l=X_(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};l.push(a);var s=X_(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(Lv(t,"ng-trigger"),Lv(t,"ng-trigger-"+e),s[e]=yv),function(){o._engine.afterFlush((function(){var t=l.indexOf(a);t>=0&&l.splice(t,1),o._triggers[e]||delete s[e]}))}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,i){var r=this;void 0===i&&(i=!0);var o=this._getTrigger(e),l=new wv(this.id,e,t),a=this._engine.statesByElement.get(t);a||(Lv(t,"ng-trigger"),Lv(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var s=a[e],u=new _v(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&u.absorbOptions(s.options),a[e]=u,s||(s=yv),"void"===u.value||s.value!==u.value){var c=X_(this._engine.playersByElement,t,[]);c.forEach((function(t){t.namespaceId==r.id&&t.triggerName==e&&t.queued&&t.destroy()}));var d=o.matchTransition(s.value,u.value,t,u.params),h=!1;if(!d){if(!i)return;d=o.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:s,toState:u,player:l,isFallbackTransition:h}),h||(Lv(t,"ng-animate-queued"),l.onStart((function(){Dv(t,"ng-animate-queued")}))),l.onDone((function(){var e=r.players.indexOf(l);e>=0&&r.players.splice(e,1);var n=r._engine.playersByElement.get(t);if(n){var i=n.indexOf(l);i>=0&&n.splice(i,1)}})),this.players.push(l),c.push(l),l}if(!function(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return i.destroy(e)}))}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(t){var l=this._fetchNamespace(t);l&&l.insertNode(e,n)}i&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Lv(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Dv(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,i){if(kv(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}}else this._onRemovalComplete(e,i)},t.prototype.markElementAsRemoved=function(t,e,n,i){this.collectedLeaveElements.push(e),e[gv]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,i,r){return kv(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}},t.prototype._buildInstruction=function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise((function(e){if(t.players.length)return K_(t.players).onDone((function(){return e()}));e()}))},t.prototype.processLeaveNode=function(t){var e=this,n=t[gv];if(n&&n.setForRemoval){if(t[gv]=fv,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach((function(t){e.markElementAsDisabled(t,!1)}))},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;S--)this._namespaceList[S].drainQueuedTransitions(e).forEach((function(t){var e=t.player,i=t.element;if(x.push(e),n.collectedEnterElements.length){var l=i[gv];if(l&&l.setForMove)return void e.destroy()}var d=!h||!n.driver.containsElement(h,i),p=w.get(i),f=m.get(i),g=n._buildInstruction(t,r,f,p,d);if(g.errors&&g.errors.length)M.push(g);else{if(d)return e.onStart((function(){return ky(i,g.fromStyles)})),e.onDestroy((function(){return wy(i,g.toStyles)})),void o.push(e);if(t.isFallbackTransition)return e.onStart((function(){return ky(i,g.fromStyles)})),e.onDestroy((function(){return wy(i,g.toStyles)})),void o.push(e);g.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),r.append(i,g.timelines),a.push({instruction:g,player:e,element:i}),g.queriedElements.forEach((function(t){return X_(s,t,[]).push(e)})),g.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var i=u.get(e);i||u.set(e,i=new Set),n.forEach((function(t){return i.add(t)}))}})),g.postStyleProps.forEach((function(t,e){var n=Object.keys(t),i=c.get(e);i||c.set(e,i=new Set),n.forEach((function(t){return i.add(t)}))}))}}));if(M.length){var C=[];M.forEach((function(t){C.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach((function(t){return C.push("- "+t+"\n")}))})),x.forEach((function(t){return t.destroy()})),this.reportError(C)}var L=new Map,D=new Map;a.forEach((function(t){var e=t.element;r.has(e)&&(D.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,L))})),o.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){X_(L,e,[]).push(t),t.destroy()}))}));var T=_.filter((function(t){return Ov(t,u,c)})),O=new Map;Mv(O,this.driver,v,c,Gp).forEach((function(t){Ov(t,u,c)&&T.push(t)}));var P=new Map;f.forEach((function(t,e){Mv(P,n.driver,new Set(t),u,tf)})),T.forEach((function(t){var e=O.get(t),n=P.get(t);O.set(t,Object(i.__assign)({},e,n))}));var E=[],I=[],Y={};a.forEach((function(t){var e=t.element,i=t.player,a=t.instruction;if(r.has(e)){if(d.has(e))return i.onDestroy((function(){return wy(e,a.toStyles)})),i.disabled=!0,i.overrideTotalTime(a.totalTime),void o.push(i);var s=Y;if(D.size>1){for(var u=e,c=[];u=u.parentNode;){var h=D.get(u);if(h){s=h;break}c.push(u)}c.forEach((function(t){return D.set(t,s)}))}var p=n._buildAnimation(i.namespaceId,a,L,l,P,O);if(i.setRealPlayer(p),s===Y)E.push(i);else{var f=n.playersByElement.get(s);f&&f.length&&(i.parentPlayer=K_(f)),o.push(i)}}else ky(e,a.fromStyles),i.onDestroy((function(){return wy(e,a.toStyles)})),I.push(i),d.has(e)&&o.push(i)})),I.forEach((function(t){var e=l.get(t.element);if(e&&e.length){var n=K_(e);t.setRealPlayer(n)}})),o.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var A=0;A<_.length;A++){var R,j=(R=_[A])[gv];if(Dv(R,"ng-leave"),!j||!j.hasAnimation){var F=[];if(s.size){var N=s.get(R);N&&N.length&&F.push.apply(F,Object(i.__spread)(N));for(var H=this.driver.query(R,".ng-animating",!0),z=0;z0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Xp(t.duration,t.delay)},t}(),wv=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Xp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return J_(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart((function(){return n.triggerCallback("start")})),t.onDone((function(){return e.finish()})),t.onDestroy((function(){return e.destroy()}))},t.prototype._queueEvent=function(t,e){X_(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function kv(t){return t&&1===t.nodeType}function xv(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Mv(t,e,n,i,r){var o=[];n.forEach((function(t){return o.push(xv(t))}));var l=[];i.forEach((function(n,i){var o={};n.forEach((function(t){var n=o[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i[gv]=mv,l.push(i))})),t.set(i,o)}));var a=0;return n.forEach((function(t){return xv(t,o[a++])})),l}function Sv(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var i=new Set(e),r=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var o=r.get(e);if(o)return o;var l=e.parentNode;return o=n.has(l)?l:i.has(l)?1:t(l),r.set(e,o),o}(t);1!==e&&n.get(e).push(t)})),n}var Cv="$$classes";function Lv(t,e){if(t.classList)t.classList.add(e);else{var n=t[Cv];n||(n=t[Cv]={}),n[e]=!0}}function Dv(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Cv];n&&delete n[e]}}function Tv(t,e,n){K_(n).onDone((function(){return t.processLeaveNode(e)}))}function Ov(t,e,n){var i=n.get(t);if(!i)return!1;var r=e.get(t);return r?i.forEach((function(t){return r.add(t)})):e.set(t,i),n.delete(t),!0}var Pv=function(){function t(t,e,n){var i=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new bv(t,e,n),this._timelineEngine=new hv(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return i.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,i,r){var o=t+"-"+i,l=this._triggerCache[o];if(!l){var a=[],s=Ny(this._driver,r,a);if(a.length)throw new Error('The animation trigger "'+i+'" has failed to build due to the following errors:\n - '+a.join("\n - "));l=function(t,e){return new uv(t,e)}(i,s),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(e,i,l)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)},t.prototype.onRemove=function(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var o=Object(i.__read)(Q_(n),2);this._timelineEngine.command(o[0],e,o[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,o){if("@"==n.charAt(0)){var l=Object(i.__read)(Q_(n),2);return this._timelineEngine.listen(l[0],e,l[1],o)}return this._transitionEngine.listen(t,e,n,r,o)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function Ev(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=Yv(e[0]),e.length>1&&(i=Yv(e[e.length-1]))):e&&(n=Yv(e)),n||i?new Iv(t,n,i):null}var Iv=function(){function t(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return t.prototype.start=function(){this._state<1&&(this._startStyles&&wy(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(wy(this._element,this._initialStyles),this._endStyles&&(wy(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(ky(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ky(this._element,this._endStyles),this._endStyles=null),wy(this._element,this._initialStyles),this._state=3)},t.initialStylesByElement=new WeakMap,t}();function Yv(t){for(var e=null,n=Object.keys(t),i=0;i=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Vv(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(i=zv(n=Wv(t=this._element,"").split(","),e))>=0&&(n.splice(i,1),Bv(t,"",n.join(","))))},t}();function Nv(t,e,n){Bv(t,"PlayState",n,Hv(t,e))}function Hv(t,e){var n=Wv(t,"");return n.indexOf(",")>0?zv(n.split(","),e):zv([n],e)}function zv(t,e){for(var n=0;n=0)return n;return-1}function Vv(t,e,n){n?t.removeEventListener(jv,e):t.addEventListener(jv,e)}function Bv(t,e,n,i){var r=Rv+e;if(null!=i){var o=t.style[r];if(o.length){var l=o.split(",");l[i]=n,n=l.join(",")}}t.style[r]=n}function Wv(t,e){return t.style[Rv+e]}var Uv="linear",qv=function(){function t(t,e,n,i,r,o,l,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=l,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||Uv,this.totalTime=i+r,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new Fv(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:Iy(t.element,i))}))}this.currentSnapshot=e},t}(),Kv=function(t){function e(e,n){var i=t.call(this)||this;return i.element=e,i._startingStyles={},i.__initialized=!1,i._styles=cy(n),i}return Object(i.__extends)(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,t.prototype.destroy.call(this))},e}(Xp),Gv=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return ly(t)},t.prototype.matchesElement=function(t,e){return ay(t,e)},t.prototype.containsElement=function(t,e){return sy(t,e)},t.prototype.query=function(t,e,n){return uy(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map((function(t){return cy(t)}));var i="@keyframes "+e+" {\n",r="";n.forEach((function(t){r=" ";var e=parseFloat(t.offset);i+=""+r+100*e+"% {\n",r+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=r+"animation-timing-function: "+n+";\n"));default:return void(i+=""+r+e+": "+n+";\n")}})),i+=r+"}\n"})),i+="}\n";var o=document.createElement("style");return o.innerHTML=i,o},t.prototype.animate=function(t,e,n,i,r,o,l){void 0===o&&(o=[]),l&&this._notifyFaultyScrubber();var a=o.filter((function(t){return t instanceof qv})),s={};Oy(n,i)&&a.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return s[t]=e[t]}))}));var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach((function(t){Object.keys(t).forEach((function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])}))})),e}(e=Py(t,e,s));if(0==n)return new Kv(t,u);var c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);var h=Ev(t,e),p=new qv(t,e,c,n,i,r,u,h);return p.onDestroy((function(){var t;(t=d).parentNode.removeChild(t)})),p},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),Jv=function(){function t(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return t._onFinish()}))}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Iy(t.element,n))})),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),Zv=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test($v().toString()),this._cssKeyframesDriver=new Gv}return t.prototype.validateStyleProperty=function(t){return ly(t)},t.prototype.matchesElement=function(t,e){return ay(t,e)},t.prototype.containsElement=function(t,e){return sy(t,e)},t.prototype.query=function(t,e,n){return uy(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,i,r,o,l){if(void 0===o&&(o=[]),!l&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,o);var a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);var s={},u=o.filter((function(t){return t instanceof Jv}));Oy(n,i)&&u.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return s[t]=e[t]}))}));var c=Ev(t,e=Py(t,e=e.map((function(t){return yy(t,!1)})),s));return new Jv(t,e,a,c)},t}();function $v(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Xv=function(t){function e(e,n){var i=t.call(this)||this;return i._nextAnimationId=0,i._renderer=e.createRenderer(n.body,{id:"0",encapsulation:Bt.None,styles:[],data:{animation:[]}}),i}return Object(i.__extends)(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Jp(t):t;return eb(this._renderer,null,e,"register",[n]),new Qv(e,this._renderer)},e}(qp),Qv=function(t){function e(e,n){var i=t.call(this)||this;return i._id=e,i._renderer=n,i}return Object(i.__extends)(e,t),e.prototype.create=function(t,e){return new tb(this._id,t,e||{},this._renderer)},e}(Kp),tb=function(){function t(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n=0&&t*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function pb(t){return pl(2,[Qo(671088640,1,{ripple:0}),(t()(),Go(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),rl(null,0),(t()(),Go(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(4,212992,[[1,4]],0,S_,[an,co,Zf,[2,M_],[2,ub]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),Go(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,Zi(e,4).unbounded)}))}var fb=Xn({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function mb(t){return pl(2,[Qo(671088640,1,{ripple:0}),(t()(),Go(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),rl(null,0),(t()(),Go(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(4,212992,[[1,4]],0,S_,[an,co,Zf,[2,M_],[2,ub]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),Go(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,Zi(e,4).unbounded)}))}var gb=20;function _b(t){return Error('Tooltip position "'+t+'" is invalid.')}var yb=new St("mat-tooltip-scroll-strategy");function vb(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:gb})}}var bb=new St("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),wb=function(){function t(t,e,n,i,r,o,l,a,s,u,c,d){var h=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._ariaDescriber=l,this._focusMonitor=a,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new C,this._scrollStrategy=s;var p=e.nativeElement,f="undefined"==typeof window||window.Hammer||d;o.IOS||o.ANDROID?f||this._manualListeners.set("touchstart",(function(){return h.show()})):this._manualListeners.set("mouseenter",(function(){return h.show()})).set("mouseleave",(function(){return h.hide()})),this._manualListeners.forEach((function(t,e){return p.addEventListener(e,t)})),a.monitor(e).pipe(df(this._destroyed)).subscribe((function(t){t?"keyboard"===t&&r.run((function(){return h.show()})):r.run((function(){return h.hide(0)}))})),c&&c.position&&(this.position=c.position)}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=ff(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")},t.prototype.ngOnDestroy=function(){var t=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((function(e,n){t._elementRef.nativeElement.removeEventListener(n,e)})),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},t.prototype.show=function(t){var e=this;if(void 0===t&&(t=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new rf(kb,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(df(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&t.keyCode===am&&!sm(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},t.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(df(this._destroyed)).subscribe((function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run((function(){return t.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(df(this._destroyed)).subscribe((function(){return t._detach()})),this._overlayRef},t.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},t.prototype._updatePosition=function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object(i.__assign)({},e.main,n.main),Object(i.__assign)({},e.fallback,n.fallback)])},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw _b(n);t={originX:"end",originY:"center"}}var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw _b(n);t={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(mu(1),df(this._destroyed)).subscribe((function(){t._tooltipInstance&&t._overlayRef.updatePosition()})))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t}(),kb=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new C,this._isHandset=this._breakpointObserver.observe(yg.Handset)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype.ngOnDestroy=function(){this._onHide.complete()},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t}(),xb=function(){return function(){}}(),Mb=function(){return function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}();function Sb(){throw Error("Attempting to attach dialog content after content is already attached")}var Cb=function(t){function e(e,n,i,r,o){var l=t.call(this)||this;return l._elementRef=e,l._focusTrapFactory=n,l._changeDetectorRef=i,l._document=r,l._config=o,l._elementFocusedBeforeDialogWasOpened=null,l._state="enter",l._animationStateChanged=new Yr,l._ariaLabelledBy=o.ariaLabelledBy||null,l}return Object(i.__extends)(e,t),e.prototype.attachComponentPortal=function(t){return this._portalOutlet.hasAttached()&&Sb(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._portalOutlet.hasAttached()&&Sb(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)},e.prototype._trapFocus=function(){var t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var e=this._document.activeElement;e===t||t.contains(e)||t.focus()}},e.prototype._restoreFocus=function(){var t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){var t=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return t._elementRef.nativeElement.focus()})))},e.prototype._onAnimationDone=function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)},e.prototype._onAnimationStart=function(t){this._animationStateChanged.emit(t)},e.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},e}(lf),Lb=0,Db=function(){function t(t,e,n,i){var r=this;void 0===i&&(i="mat-dialog-"+Lb++),this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new C,this._afterClosed=new C,this._beforeClosed=new C,this._state=0,e._id=i,e._animationStateChanged.pipe($s((function(t){return"done"===t.phaseName&&"enter"===t.toState})),mu(1)).subscribe((function(){r._afterOpened.next(),r._afterOpened.complete()})),e._animationStateChanged.pipe($s((function(t){return"done"===t.phaseName&&"exit"===t.toState})),mu(1)).subscribe((function(){clearTimeout(r._closeFallbackTimeout),r._overlayRef.dispose()})),t.detachments().subscribe((function(){r._beforeClosed.next(r._result),r._beforeClosed.complete(),r._afterClosed.next(r._result),r._afterClosed.complete(),r.componentInstance=null,r._overlayRef.dispose()})),t.keydownEvents().pipe($s((function(t){return t.keyCode===am&&!r.disableClose&&!sm(t)}))).subscribe((function(t){t.preventDefault(),r.close()}))}return t.prototype.close=function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe($s((function(t){return"start"===t.phaseName})),mu(1)).subscribe((function(n){e._beforeClosed.next(t),e._beforeClosed.complete(),e._state=2,e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout((function(){e._overlayRef.dispose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1},t.prototype.afterOpened=function(){return this._afterOpened.asObservable()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},t.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},t.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},t.prototype.updatePosition=function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},t.prototype.updateSize=function(t,e){return void 0===t&&(t=""),void 0===e&&(e=""),this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this},t.prototype.addPanelClass=function(t){return this._overlayRef.addPanelClass(t),this},t.prototype.removePanelClass=function(t){return this._overlayRef.removePanelClass(t),this},t.prototype.afterOpen=function(){return this.afterOpened()},t.prototype.beforeClose=function(){return this.beforeClosed()},t.prototype.getState=function(){return this._state},t.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},t}(),Tb=new St("MatDialogData"),Ob=new St("mat-dialog-default-options"),Pb=new St("mat-dialog-scroll-strategy");function Eb(t){return function(){return t.scrollStrategies.block()}}var Ib=function(){function t(t,e,n,i,r,o,l){var a=this;this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=i,this._parentDialog=o,this._overlayContainer=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new C,this._afterOpenedAtThisLevel=new C,this._ariaHiddenElements=new Map,this.afterAllClosed=Js((function(){return a.openDialogs.length?a._afterAllClosed:a._afterAllClosed.pipe(Su(void 0))})),this._scrollStrategy=r}return Object.defineProperty(t.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpen",{get:function(){return this.afterOpened},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_afterAllClosed",{get:function(){var t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),t.prototype.open=function(t,e){var n=this;if((e=function(t,e){return Object(i.__assign)({},e,t)}(e,this._defaultOptions||new Mb)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var r=this._createOverlay(e),o=this._attachDialogContainer(r,e),l=this._attachDialogContent(t,o,r,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.afterClosed().subscribe((function(){return n._removeOpenDialog(l)})),this.afterOpened.next(l),l},t.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},t.prototype.getDialogById=function(t){return this.openDialogs.find((function(e){return e.id===t}))},t.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()},t.prototype._createOverlay=function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)},t.prototype._getOverlayConfig=function(t){var e=new _m({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e},t.prototype._attachDialogContainer=function(t,e){var n=new cf(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[Mb,e]])),i=new rf(Cb,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance},t.prototype._attachDialogContent=function(t,e,n,i){var r=new Db(n,e,this._location,i.id);if(i.hasBackdrop&&n.backdropClick().subscribe((function(){r.disableClose||r.close()})),t instanceof Pn)e.attachTemplatePortal(new of(t,null,{$implicit:i.data,dialogRef:r}));else{var o=this._createInjector(i,r,e),l=e.attachComponentPortal(new rf(t,void 0,o));r.componentInstance=l.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r},t.prototype._createInjector=function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=new WeakMap([[Cb,n],[Tb,t.data],[Db,e]]);return!t.direction||i&&i.get(W_,null)||r.set(W_,{value:t.direction,change:Hs()}),new cf(i||this._injector,r)},t.prototype._removeOpenDialog=function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}},t.prototype._closeDialogs=function(t){for(var e=t.length;e--;)t[e].close()},t}(),Yb=0,Ab=function(){function t(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}return t.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=Nb(this._elementRef,this._dialog.openDialogs))},t.prototype.ngOnChanges=function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)},t}(),Rb=function(){function t(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+Yb++}return t.prototype.ngOnInit=function(){var t=this;this._dialogRef||(this._dialogRef=Nb(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)}))},t}(),jb=function(){return function(){}}(),Fb=function(){return function(){}}();function Nb(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find((function(t){return t.id===n.id})):null}var Hb=function(){return function(){}}(),zb=function(){function t(t,e){this.dialogRef=t,this.languageService=e,this.languages=[]}return t.openDialog=function(e){var n=new Mb;return n.autoFocus=!1,n.width=Dg.mediumModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){var t=this;this.subscription=this.languageService.languages.subscribe((function(e){t.languages=e}))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.closePopup=function(t){void 0===t&&(t=null),t&&this.languageService.changeLanguage(t.code),this.dialogRef.close()},t}(),Vb=function(){function t(t,e){this.languageService=t,this.dialog=e}return t.prototype.ngOnInit=function(){var t=this;this.subscription=this.languageService.currentLanguage.subscribe((function(e){t.language=e}))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.openLanguageWindow=function(){zb.openDialog(this.dialog)},t}(),Bb=Xn({encapsulation:0,styles:[[".lang-button[_ngcontent-%COMP%]{height:40px;border-radius:10px}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]],data:{}});function Wb(t){return pl(0,[(t()(),Go(0,0,null,null,0,"img",[["class","flag"]],[[8,"src",4]],null,null,null,null))],null,(function(t,e){t(e,0,0,"assets/img/lang/"+e.component.language.iconName)}))}function Ub(t){return pl(0,[(t()(),Go(0,16777216,null,null,5,"button",[["class","lang-button grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.openLanguageWindow()&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,Wb)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("language.title"))),t(e,5,0,n.language)}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode)}))}function qb(){for(var t=[],e=0;et?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return ow(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return ow(t.value)?null:aw.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(ow(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(ow(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}):t.nullValidator;var n,i},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(uw);return 0==e.length?null:function(t){return dw(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(uw);return 0==e.length?null:function(t){return qb(function(t,e){return e.map((function(e){return e(t)}))}(t,e).map(cw)).pipe(F(dw))}},t}();function uw(t){return null!=t}function cw(t){var e=Ge(t)?V(t):t;if(!Je(e))throw new Error("Expected validator to return Promise or Observable.");return e}function dw(t){var e=t.reduce((function(t,e){return null!=e?Object(i.__assign)({},t,e):t}),{});return 0===Object.keys(e).length?null:e}function hw(t){return t.validate?function(e){return t.validate(e)}:t}function pw(t){return t.validate?function(e){return t.validate(e)}:t}var fw=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),mw=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach((function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)}))},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),gw=function(){function t(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(ew),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}(),_w=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),yw='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',vw='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',bw=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+yw)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+vw+'\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n \n
\n
\n \n
\n
')},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+yw)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+vw)},t.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}();function ww(t,e){return Object(i.__spread)(e.path,[t])}function kw(t,e){t||Cw(e,"Cannot find control with"),e.valueAccessor||Cw(e,"No value accessor for form control with"),t.validator=sw.compose([t.validator,e.validator]),t.asyncValidator=sw.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange((function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&xw(t,e)}))}(t,e),function(t,e){t.registerOnChange((function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&xw(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange((function(t){e.valueAccessor.setDisabledState(t)})),e._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))})),e._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))}))}function xw(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Mw(t,e){null==t&&Cw(e,"Cannot find control with"),t.validator=sw.compose([t.validator,e.validator]),t.asyncValidator=sw.composeAsync([t.asyncValidator,e.asyncValidator])}function Sw(t){return Cw(t,"There is no FormControl instance attached to form control element with")}function Cw(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Lw(t){return null!=t?sw.compose(t.map(hw)):null}function Dw(t){return null!=t?sw.composeAsync(t.map(pw)):null}function Tw(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Be(e,n.currentValue)}var Ow=[Jb,_w,fw,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Be}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var r=Object(i.__values)(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var l=o.value;if(this._compareWith(this._optionMap.get(l),t))return l}}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Be}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var i=t.map((function(t){return n._getOptionId(t)}));e=function(t,e){t._setSelected(i.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,o=0;o-1&&t.splice(n,1)}function Yw(t,e,n,i){te()&&"never"!==i&&((null!==i&&"once"!==i||e._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(bw.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function Aw(t){var e=jw(t)?t.validators:t;return Array.isArray(e)?Lw(e):e||null}function Rw(t,e){var n=jw(e)?e.asyncValidators:t;return Array.isArray(n)?Dw(n):n||null}function jw(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var Fw=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=Aw(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Rw(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object(i.__assign)({},t,{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(i.__assign)({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object(i.__assign)({},t,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object(i.__assign)({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=cw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((function(t,e){return t instanceof Hw?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof zw&&t.at(e)||null}),t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new Yr,this.statusChanges=new Yr},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls((function(e){return e.status===t}))},t.prototype._anyControlsDirty=function(){return this._anyControls((function(t){return t.dirty}))},t.prototype._anyControlsTouched=function(){return this._anyControls((function(t){return t.touched}))},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){jw(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),Nw=function(t){function e(e,n,i){void 0===e&&(e=null);var r=t.call(this,Aw(n),Rw(i,n))||this;return r._onChange=[],r._applyFormState(e),r._setUpdateStrategy(n),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return Object(i.__extends)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((function(t){return t(n.value,!1!==e.emitViewToModelChange)})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(Fw),Hw=function(t){function e(e,n,i){var r=t.call(this,Aw(n),Rw(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(i.__extends)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach((function(i){n._throwIfControlMissing(i),n.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach((function(i){n.controls[i]&&n.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof Nw?e.value:e.getRawValue(),t}))},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild((function(i,r){n=n||e.contains(r)&&t(i)})),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},(function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e}))},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild((function(t,i){n=e(n,t,i)})),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(i.__values)(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},e}(Fw),zw=function(t){function e(e,n,i){var r=t.call(this,Aw(n),Rw(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(i.__extends)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach((function(t,i){n._throwIfControlMissing(i),n.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach((function(t,i){n.at(i)&&n.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map((function(t){return t instanceof Nw?t.value:t.getRawValue()}))},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach((function(e,n){t(e,n)}))},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))},e.prototype._anyControls=function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(i.__values)(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Fw),Vw=function(){return Promise.resolve(null)}(),Bw=function(t){function e(e,n){var i=t.call(this)||this;return i.submitted=!1,i._directives=[],i.ngSubmit=new Yr,i.form=new Hw({},Lw(e),Dw(n)),i}return Object(i.__extends)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Vw.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),kw(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Vw.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),Iw(e._directives,t)}))},e.prototype.addFormGroup=function(t){var e=this;Vw.then((function(){var n=e._findContainer(t.path),i=new Hw({});Mw(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})}))},e.prototype.removeFormGroup=function(t){var e=this;Vw.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Vw.then((function(){n.form.get(t.path).setValue(e)}))},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,Pw(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(Qb),Ww=new St("NgFormSelectorWarning"),Uw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return ww(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Lw(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dw(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(Qb),qw=function(){return function(){}}(),Kw=new St("NgModelWithFormControlWarning"),Gw=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._ngModelWarningConfig=r,o.update=new Yr,o._ngModelWarningSent=!1,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=Ew(o,i),o}var n;return Object(i.__extends)(e,t),n=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(t){bw.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(kw(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Tw(t,this.viewModel)&&(Yw("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Lw(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dw(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e._ngModelWarningSentOnce=!1,e}(ew),Jw=function(t){function e(e,n){var i=t.call(this)||this;return i._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new Yr,i}return Object(i.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return kw(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){Iw(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);Mw(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);Mw(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,Pw(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach((function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange((function(){return Sw(e)})),e.valueAccessor.registerOnTouched((function(){return Sw(e)})),e._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),t&&t._clearChangeFns()}(e.control,e),n&&kw(n,e),e.control=n)})),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange((function(){return t._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=Lw(this._validators);this.form.validator=sw.compose([this.form.validator,t]);var e=Dw(this._asyncValidators);this.form.asyncValidator=sw.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||bw.missingFormException()},e}(Qb),Zw=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(i.__extends)(e,t),e.prototype._checkParentType=function(){Xw(this._parent)&&bw.groupParentException()},e}(Uw),$w=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(i.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return ww(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Lw(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dw(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){Xw(this._parent)&&bw.arrayParentException()},e}(Qb);function Xw(t){return!(t instanceof Zw||t instanceof Jw||t instanceof $w)}var Qw=function(t){function e(e,n,i,r,o){var l=t.call(this)||this;return l._ngModelWarningConfig=o,l._added=!1,l.update=new Yr,l._ngModelWarningSent=!1,l._parent=e,l._rawValidators=n||[],l._rawAsyncValidators=i||[],l.valueAccessor=Ew(l,r),l}var n;return Object(i.__extends)(e,t),n=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(t){bw.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),Tw(t,this.viewModel)&&(Yw("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return ww(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Lw(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dw(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Zw)&&this._parent instanceof Uw?bw.ngModelGroupException():this._parent instanceof Zw||this._parent instanceof Jw||this._parent instanceof $w||bw.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e._ngModelWarningSentOnce=!1,e}(ew),tk=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=sw.maxLength(parseInt(this.maxlength,10))},t}(),ek=function(){return function(){}}(),nk=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),i=null,r=null,o=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,o=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new Hw(n,{asyncValidators:r,updateOn:o,validators:i})},t.prototype.control=function(t,e,n){return new Nw(t,e,n)},t.prototype.array=function(t,e,n){var i=this,r=t.map((function(t){return i._createControl(t)}));return new zw(r,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach((function(i){n[i]=e._createControl(t[i])})),n},t.prototype._createControl=function(t){return t instanceof Nw||t instanceof Hw||t instanceof zw?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t}(),ik=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Ww,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),rk=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Kw,useValue:t.warnOnNgModelWithFormControl}]}},t}(),ok=function(){return function(){}}(),lk=function(){return function(){}}(),ak=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach((function(t){var n=t.indexOf(":");if(n>0){var i=t.slice(0,n),r=i.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(i,r),e.headers.has(r)?e.headers.get(r).push(o):e.headers.set(r,[o])}}))}:function(){e.headers=new Map,Object.keys(t).forEach((function(n){var i=t[n],r=n.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(e.headers.set(r,i),e.maybeSetNormalizedName(n,r))}))}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,Object(i.__spread)(n)),this.headers.set(e,r);break;case"d":var o=t.value;if(o){var l=this.headers.get(e);if(!l)return;0===(l=l.filter((function(t){return-1===o.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,l)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))},t}(),sk=function(){function t(){}return t.prototype.encodeKey=function(t){return uk(t)},t.prototype.encodeValue=function(t){return uk(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function uk(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var ck=function(){function t(t){var e,n,r,o=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new sk,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),o=Object(i.__read)(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),l=o[0],a=o[1],s=r.get(l)||[];s.push(a),r.set(l,s)})),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((function(e){var n=t.fromObject[e];o.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(e.value);-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},t}();function dk(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function hk(t){return"undefined"!=typeof Blob&&t instanceof Blob}function pk(t){return"undefined"!=typeof FormData&&t instanceof FormData}var fk=function(){function t(t,e,n,i){var r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new ak),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":l=200&&this.status<300}}(),_k=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=mk.ResponseHeader,n}return Object(i.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(gk),yk=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=mk.Response,n.body=void 0!==e.body?e.body:null,n}return Object(i.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(gk),vk=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(i.__extends)(e,t),e}(gk);function bk(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var wk=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var i,r=this;if(void 0===n&&(n={}),t instanceof fk)i=t;else{var o;o=n.headers instanceof ak?n.headers:new ak(n.headers);var l=void 0;n.params&&(l=n.params instanceof ck?n.params:new ck({fromObject:n.params})),i=new fk(t,e,void 0!==n.body?n.body:null,{headers:o,params:l,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=Hs(i).pipe(Tu((function(t){return r.handler.handle(t)})));if(t instanceof fk||"events"===n.observe)return a;var s=a.pipe($s((function(t){return t instanceof yk})));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe(F((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return s.pipe(F((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return s.pipe(F((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return s.pipe(F((function(t){return t.body})))}case"response":return s;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new ck).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,bk(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,bk(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,bk(n,e))},t}(),kk=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),xk=new St("HTTP_INTERCEPTORS"),Mk=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),Sk=/^\)\]\}',?\n/,Ck=function(){return function(){}}(),Lk=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),Dk=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new w((function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((function(t,e){return i.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var l=t.serializeBody(),a=null,s=function(){if(null!==a)return a;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new ak(i.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return a=new _k({headers:r,status:e,statusText:n,url:o})},u=function(){var e=s(),r=e.headers,o=e.status,l=e.statusText,a=e.url,u=null;204!==o&&(u=void 0===i.response?i.responseText:i.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var d=u;u=u.replace(Sk,"");try{u=""!==u?JSON.parse(u):null}catch(h){u=d,c&&(c=!1,u={error:h,text:u})}}c?(n.next(new yk({body:u,headers:r,status:o,statusText:l,url:a||void 0})),n.complete()):n.error(new vk({error:u,headers:r,status:o,statusText:l,url:a||void 0}))},c=function(t){var e=s().url,r=new vk({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e||void 0});n.error(r)},d=!1,h=function(e){d||(n.next(s()),d=!0);var r={type:mk.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},p=function(t){var e={type:mk.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",u),i.addEventListener("error",c),t.reportProgress&&(i.addEventListener("progress",h),null!==l&&i.upload&&i.upload.addEventListener("progress",p)),i.send(l),n.next({type:mk.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",u),t.reportProgress&&(i.removeEventListener("progress",h),null!==l&&i.upload&&i.upload.removeEventListener("progress",p)),i.abort()}}))},t}(),Tk=new St("XSRF_COOKIE_NAME"),Ok=new St("XSRF_HEADER_NAME"),Pk=function(){return function(){}}(),Ek=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=hs(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),Ik=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)},t}(),Yk=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(xk,[]);this.chain=e.reduceRight((function(t,e){return new kk(t,e)}),this.backend)}return this.chain.handle(t)},t}(),Ak=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:Ik,useClass:Mk}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:Tk,useValue:t.cookieName}:[],t.headerName?{provide:Ok,useValue:t.headerName}:[]]}},t}(),Rk=function(){return function(){}}();function jk(t){return Error('Unable to find icon with the name "'+t+'"')}function Fk(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+t+'".')}function Nk(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+t+'".')}var Hk=function(){return function(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}(),zk=function(){function t(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}return t.prototype.addSvgIcon=function(t,e,n){return this.addSvgIconInNamespace("",t,e,n)},t.prototype.addSvgIconLiteral=function(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)},t.prototype.addSvgIconInNamespace=function(t,e,n,i){return this._addSvgIconConfig(t,e,new Hk(n,i))},t.prototype.addSvgIconLiteralInNamespace=function(t,e,n,i){var r=this._sanitizer.sanitize(ke.HTML,n);if(!r)throw Nk(n);var o=this._createSvgElementForSingleIcon(r,i);return this._addSvgIconConfig(t,e,new Hk(o,i))},t.prototype.addSvgIconSet=function(t,e){return this.addSvgIconSetInNamespace("",t,e)},t.prototype.addSvgIconSetLiteral=function(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)},t.prototype.addSvgIconSetInNamespace=function(t,e,n){return this._addSvgIconSetConfig(t,new Hk(e,n))},t.prototype.addSvgIconSetLiteralInNamespace=function(t,e,n){var i=this._sanitizer.sanitize(ke.HTML,e);if(!i)throw Nk(e);var r=this._svgElementFromString(i);return this._addSvgIconSetConfig(t,new Hk(r,n))},t.prototype.registerFontClassAlias=function(t,e){return void 0===e&&(e=t),this._fontCssClassesByAlias.set(t,e),this},t.prototype.classNameForFontAlias=function(t){return this._fontCssClassesByAlias.get(t)||t},t.prototype.setDefaultFontSetClass=function(t){return this._defaultFontSetClass=t,this},t.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},t.prototype.getSvgIconFromUrl=function(t){var e=this,n=this._sanitizer.sanitize(ke.RESOURCE_URL,t);if(!n)throw Fk(t);var i=this._cachedIconsByUrl.get(n);return i?Hs(Vk(i)):this._loadSvgIconFromConfig(new Hk(t)).pipe(Pu((function(t){return e._cachedIconsByUrl.set(n,t)})),F((function(t){return Vk(t)})))},t.prototype.getNamedSvgIcon=function(t,e){void 0===e&&(e="");var n=Bk(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Hf(jk(n))},t.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},t.prototype._getSvgFromConfig=function(t){return t.svgElement?Hs(Vk(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Pu((function(e){return t.svgElement=e})),F((function(t){return Vk(t)})))},t.prototype._getSvgFromIconSetConfigs=function(t,e){var n=this,i=this._extractIconWithNameFromAnySet(t,e);return i?Hs(i):qb(e.filter((function(t){return!t.svgElement})).map((function(t){return n._loadSvgIconSetFromConfig(t).pipe(hu((function(e){var i="Loading icon set URL: "+n._sanitizer.sanitize(ke.RESOURCE_URL,t.url)+" failed: "+e.message;return n._errorHandler?n._errorHandler.handleError(new Error(i)):console.error(i),Hs(null)})))}))).pipe(F((function(){var i=n._extractIconWithNameFromAnySet(t,e);if(!i)throw jk(t);return i})))},t.prototype._extractIconWithNameFromAnySet=function(t,e){for(var n=e.length-1;n>=0;n--){var i=e[n];if(i.svgElement){var r=this._extractSvgIconFromSet(i.svgElement,t,i.options);if(r)return r}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(F((function(n){return e._createSvgElementForSingleIcon(n,t.options)})))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return t.svgElement?Hs(t.svgElement):this._fetchUrl(t.url).pipe(F((function(n){return t.svgElement||(t.svgElement=e._svgElementFromString(n)),t.svgElement})))},t.prototype._createSvgElementForSingleIcon=function(t,e){var n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n},t.prototype._extractSvgIconFromSet=function(t,e,n){var i=t.querySelector('[id="'+e+'"]');if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var o=this._svgElementFromString("");return o.appendChild(r),this._setSvgAttributes(o,n)},t.prototype._svgElementFromString=function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString(""),n=t.attributes,i=0;i0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new fx(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(Bf.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(Bf.createComplete()),this.unsubscribe()},e}(m),fx=function(){return function(t,e){this.time=t,this.notification=e}}(),mx=new St("MAT_MENU_PANEL"),gx=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._elementRef=e,o._focusMonitor=i,o._parentMenu=r,o.role="menuitem",o._hovered=new C,o._highlighted=!1,o._triggersSubmenu=!1,i&&i.monitor(o._elementRef,!1),r&&r.addItem&&r.addItem(o),o._document=n,o}return Object(i.__extends)(e,t),e.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)},e.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._checkDisabled=function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())},e.prototype._handleMouseEnter=function(){this._hovered.next(this)},e.prototype.getLabel=function(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,n="";if(t.childNodes)for(var i=t.childNodes.length,r=0;r')}(),this._xPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yPosition",{get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(t){e._classList[t]=!1})),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach((function(t){e._classList[t]=!0})),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.panelClass},set:function(t){this.panelClass=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.setPositionClasses()},t.prototype.ngAfterContentInit=function(){var t=this;this._updateDirectDescendants(),this._keyManager=new Jm(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return t.closed.emit("tab")}))},t.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},t.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(Su(this._directDescendantItems),wu((function(t){return J.apply(void 0,t.map((function(t){return t._hovered})))})))},t.prototype.addItem=function(t){},t.prototype.removeItem=function(t){},t.prototype._handleKeydown=function(t){var e=t.keyCode,n=this._keyManager;switch(e){case am:sm(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:sm(t)||(36===e?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:38!==e&&40!==e||n.setFocusOrigin("keyboard"),n.onKeydown(t)}},t.prototype.focusFirstItem=function(t){void 0===t&&(t="program");var e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(mu(1)).subscribe((function(){return e.setFocusOrigin(t).setFirstItemActive()})):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}},t.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},t.prototype.setElevation=function(t){var e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find((function(t){return t.startsWith("mat-elevation-z")}));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},t.prototype.setPositionClasses=function(t,e){void 0===t&&(t=this.xPosition),void 0===e&&(e=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e},t.prototype._startAnimation=function(){this._panelAnimationState="enter"},t.prototype._resetAnimation=function(){this._panelAnimationState="void"},t.prototype._onAnimationDone=function(t){this._animationDone.next(t),this._isAnimating=!1},t.prototype._onAnimationStart=function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)},t.prototype._updateDirectDescendants=function(){var t=this;this._allItems.changes.pipe(Su(this._allItems)).subscribe((function(e){t._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===t}))),t._directDescendantItems.notifyOnChanges()}))},t}()),vx=function(t){function e(e,n,i){return t.call(this,e,n,i)||this}return Object(i.__extends)(e,t),e}(yx),bx=new St("mat-menu-scroll-strategy");function wx(t){return function(){return t.scrollStrategies.reposition()}}var kx=tm({passive:!0}),xx=function(){function t(t,e,n,i,r,o,l,a){var u=this;this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=r,this._menuItemInstance=o,this._dir=l,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=s.EMPTY,this._hoverSubscription=s.EMPTY,this._menuCloseSubscription=s.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Yr,this.onMenuOpen=this.menuOpened,this.menuClosed=new Yr,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,kx),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=i}return Object.defineProperty(t.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(t){this.menu=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)}))))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},t.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,kx),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return t.closeMenu()})),this._initMenu(),this.menu instanceof yx&&this.menu._startAnimation()}},t.prototype.closeMenu=function(){this.menu.close.emit()},t.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)},t.prototype._destroyMenu=function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof yx?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe($s((function(t){return"void"===t.toState})),mu(1),df(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach()),this._restoreFocus()}},t.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},t.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}},t.prototype._restoreFocus=function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)},t.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()},t.prototype._createOverlay=function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},t.prototype._getOverlayConfig=function(){return new _m({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},t.prototype._subscribeToPositions=function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe((function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")}))},t.prototype._setPosition=function(t){var e="before"===this.menu.xPosition?["end","start"]:["start","end"],n=e[0],i=e[1],r="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],o=r[0],l=r[1],a=[o,l],s=a[0],u=a[1],c=[n,i],d=c[0],h=c[1],p=0;this.triggersSubmenu()?(h=n="before"===this.menu.xPosition?"start":"end",i=d="end"===n?"start":"end",p="bottom"===o?8:-8):this.menu.overlapTrigger||(s="top"===o?"bottom":"top",u="top"===l?"bottom":"top"),t.withPositions([{originX:n,originY:s,overlayX:d,overlayY:o,offsetY:p},{originX:i,originY:s,overlayX:h,overlayY:o,offsetY:p},{originX:n,originY:u,overlayX:d,overlayY:l,offsetY:-p},{originX:i,originY:u,overlayX:h,overlayY:l,offsetY:-p}])},t.prototype._menuClosingActions=function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return J(e,this._parentMenu?this._parentMenu.closed:Hs(),this._parentMenu?this._parentMenu._hovered().pipe($s((function(e){return e!==t._menuItemInstance})),$s((function(){return t._menuOpen}))):Hs(),n)},t.prototype._handleMousedown=function(t){sg(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())},t.prototype._handleKeydown=function(t){var e=t.keyCode;this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&this.openMenu()},t.prototype._handleClick=function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()},t.prototype._handleHover=function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe($s((function(e){return e===t._menuItemInstance&&!e.disabled})),dx(0,Lf)).subscribe((function(){t._openedBy="mouse",t.menu instanceof yx&&t.menu._isAnimating?t.menu._animationDone.pipe(mu(1),dx(0,Lf),df(t._parentMenu._hovered())).subscribe((function(){return t.openMenu()})):t.openMenu()})))},t.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new of(this.menu.templateRef,this._viewContainerRef)),this._portal},t}(),Mx=function(){return function(){}}(),Sx=function(){return function(){}}(),Cx=Xn({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Lx(t){return pl(0,[(t()(),Go(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.closed.emit("click")&&i),"@transformMenu.start"===e&&(i=!1!==r._onAnimationStart(n)&&i),"@transformMenu.done"===e&&(i=!1!==r._onAnimationDone(n)&&i),i}),null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),Go(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),rl(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function Dx(t){return pl(2,[Qo(671088640,1,{templateRef:0}),(t()(),Ko(0,[[1,2]],null,0,null,Lx))],null,null)}var Tx=Xn({encapsulation:2,styles:[],data:{}});function Ox(t){return pl(2,[rl(null,0),(t()(),Go(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(2,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,Zi(e,2).unbounded)}))}var Px=100,Ex=l_(function(){return function(t){this._elementRef=t}}(),"primary"),Ix=new St("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:Px}}}),Yx=function(t){function e(e,n,i,r,o){var l=t.call(this,e,n,i,r,o)||this;return l.mode="indeterminate",l}return Object(i.__extends)(e,t),e}(function(t){function e(n,i,r,o,l){var a=t.call(this,n)||this;a._elementRef=n,a._document=r,a._diameter=Px,a._value=0,a._fallbackAnimation=!1,a.mode="determinate";var s=e._diameters;return s.has(r.head)||s.set(r.head,new Set([Px])),a._fallbackAnimation=i.EDGE||i.TRIDENT,a._noopAnimations="NoopAnimations"===o&&!!l&&!l._forceAnimations,l&&(l.diameter&&(a.diameter=l.diameter),l.strokeWidth&&(a.strokeWidth=l.strokeWidth)),a}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},set:function(t){this._diameter=mf(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=mf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(t){this._value=Math.max(0,Math.min(100,mf(t)))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this._elementRef.nativeElement;this._styleRoot=function(t,e){if("undefined"!=typeof window){var n=e.head;if(n&&(n.createShadowRoot||n.attachShadow)){var i=t.getRootNode?t.getRootNode():null;if(i instanceof window.ShadowRoot)return i}}return null}(t,this._document)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate"+(this._fallbackAnimation?"-fallback":"")+"-animation")},Object.defineProperty(e.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_viewBox",{get:function(){var t=2*this._circleRadius+this.strokeWidth;return"0 0 "+t+" "+t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),e.prototype._attachStyleNode=function(){var t=this._styleRoot,n=this._diameter,i=e._diameters,r=i.get(t);if(!r||!r.has(n)){var o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",n+""),o.textContent=this._getAnimationText(),t.appendChild(o),r||(r=new Set,i.set(t,r)),r.add(n)}},e.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},e._diameters=new WeakMap,e}(Ex)),Ax=function(){return function(){}}(),Rx=Xn({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function jx(t){return pl(0,[(t()(),Go(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function Fx(t){return pl(0,[(t()(),Go(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function Nx(t){return pl(2,[(t()(),Go(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),ur(1,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ko(16777216,null,null,1,null,jx)),ur(3,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,Fx)),ur(5,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)}),(function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)}))}var Hx=function(t){return t[t.Normal=0]="Normal",t[t.Success=1]="Success",t[t.Error=2]="Error",t[t.Loading=3]="Loading",t}({}),zx=function(){function t(){this.type="mat-button",this.disabled=!1,this.color="",this.loadingSize=24,this.action=new Yr,this.notification=!1,this.state=Hx.Normal,this.buttonStates=Hx,this.successDuration=3e3}return t.prototype.ngOnDestroy=function(){this.action.complete()},t.prototype.click=function(){this.disabled||(this.reset(),this.action.emit())},t.prototype.reset=function(){this.state=Hx.Normal,this.disabled=!1,this.notification=!1},t.prototype.focus=function(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()},t.prototype.showEnabled=function(){this.disabled=!1},t.prototype.showDisabled=function(){this.disabled=!0},t.prototype.showLoading=function(){this.state=Hx.Loading,this.disabled=!0},t.prototype.showSuccess=function(){var t=this;this.state=Hx.Success,this.disabled=!1,setTimeout((function(){return t.state=Hx.Normal}),this.successDuration)},t.prototype.showError=function(){this.state=Hx.Error,this.disabled=!1},t.prototype.notify=function(t){this.notification=t},t}(),Vx=Xn({encapsulation:0,styles:[["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}button[_ngcontent-%COMP%] .dot-red[_ngcontent-%COMP%]{margin-left:10px}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}"]],data:{}});function Bx(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Nx,Rx)),ur(1,114688,null,0,Yx,[an,Zf,[2,As],[2,ub],Ix],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,e.component.loadingSize)}),(function(t,e){t(e,0,0,Zi(e,1)._noopAnimations,Zi(e,1).diameter,Zi(e,1).diameter)}))}function Wx(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["done"]))],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function Ux(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["error_outline"]))],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function qx(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.icon)}))}function Kx(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red sm"]],null,null,null,null,null))],null,null)}function Gx(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,Bx)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,Wx)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,Ux)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,qx)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),rl(null,0),(t()(),Ko(16777216,null,null,1,null,Kx)),ur(10,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,n.state===n.buttonStates.Loading),t(e,3,0,n.state===n.buttonStates.Success),t(e,5,0,n.state===n.buttonStates.Error),t(e,7,0,n.state===n.buttonStates.Normal&&n.icon),t(e,10,0,n.notification)}),null)}function Jx(t){return pl(0,[(t()(),Go(0,0,null,null,6,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.click()&&i),i}),pb,hb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(3,{"grey-button-background":0}),ur(4,180224,[[1,4],["button1",4]],0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"],color:[1,"color"]},null),(t()(),Go(5,16777216,null,0,1,null,null,null,null,null,null,null)),ur(6,540672,null,0,Ts,[In],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,!n.disabled);t(e,2,0,i),t(e,4,0,n.disabled,n.color),t(e,6,0,Zi(e.parent,2))}),(function(t,e){t(e,0,0,Zi(e,4).disabled||null,"NoopAnimations"===Zi(e,4)._animationMode)}))}function Zx(t){return pl(0,[(t()(),Go(0,0,null,null,3,"button",[["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.click()&&i),i}),pb,hb)),ur(1,180224,[[2,4],["button2",4]],0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"],color:[1,"color"]},null),(t()(),Go(2,16777216,null,0,1,null,null,null,null,null,null,null)),ur(3,540672,null,0,Ts,[In],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.disabled,n.color),t(e,3,0,Zi(e.parent,2))}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode)}))}function $x(t){return pl(0,[Qo(671088640,1,{button1:0}),Qo(671088640,2,{button2:0}),(t()(),Ko(0,[["contentTpl",2]],null,0,null,Gx)),(t()(),Ko(16777216,null,null,1,null,Jx)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,Zx)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0,"mat-button"===n.type),t(e,6,0,"mat-raised-button"===n.type)}),null)}var Xx=function(){function t(){}return Object.defineProperty(t.prototype,"upperContents",{get:function(){return this.upperContentsInternal},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lowerContents",{get:function(){return this.lowerContentsInternal},enumerable:!0,configurable:!0}),t.prototype.setContents=function(t,e){return this.actionsSubject&&this.actionsSubject.complete(),this.upperContentsInternal=t,this.lowerContentsInternal=e,this.actionsSubject=new C,this.actionsSubject.asObservable()},t.prototype.requestAction=function(t){this.actionsSubject&&this.actionsSubject.next(t)},t.ngInjectableDef=ht({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Qx=function(){function t(t,e,n){this.sidenavService=t,this.languageService=e,this.dialog=n,this.hideLanguageButton=!0,this.langSubscriptionsGroup=[]}return t.prototype.ngOnInit=function(){var t=this;this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe((function(e){t.language=e}))),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe((function(e){t.hideLanguageButton=!(e.length>1)})))},t.prototype.ngOnDestroy=function(){this.langSubscriptionsGroup.forEach((function(t){return t.unsubscribe()}))},t.prototype.requestAction=function(t){this.sidenavService.requestAction(t)},t.prototype.openLanguageWindow=function(){zb.openDialog(this.dialog)},t}(),tM=Xn({encapsulation:0,styles:[["[_nghost-%COMP%]{height:100%;display:flex;flex-direction:column}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:1;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex;box-shadow:0 0 5px 2px rgba(0,0,0,.1),1px 1px 5px 1px rgba(0,0,0,.1)}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:rgba(0,0,0,.12)}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.left-bar-container[_ngcontent-%COMP%]{width:250px;flex-shrink:0}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;display:flex}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{width:250px;flex-grow:1;display:flex;flex-direction:column;padding:15px;background:rgba(255,255,255,.1)}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;align-items:center;height:87px;border-bottom:1px solid rgba(255,255,255,.44)}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:170px}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%]{flex:1;margin-top:30px;display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] app-button{width:100%}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] app-button button{width:100%;text-align:left;margin-bottom:6px}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .upper-actions[_ngcontent-%COMP%] .button-group[_ngcontent-%COMP%]{margin-bottom:30px}.content[_ngcontent-%COMP%]{padding:20px!important;overflow:hidden}.transparent[_ngcontent-%COMP%]{opacity:.5}"]],data:{}});function eM(t){return pl(0,[(t()(),Go(0,0,null,null,10,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,9,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,2)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,2)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.requestAction(t.context.$implicit.actionName)&&i),i}),Ox,Tx)),ur(2,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),Go(3,0,null,0,5,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(5,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(6,{transparent:0}),ur(7,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(8,0,["",""])),(t()(),cl(9,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,2,0,e.context.$implicit.disabled);var n=t(e,6,0,e.context.$implicit.disabled);t(e,5,0,n),t(e,7,0)}),(function(t,e){t(e,1,0,Zi(e,2).role,Zi(e,2)._highlighted,Zi(e,2)._triggersSubmenu,Zi(e,2)._getTabIndex(),Zi(e,2).disabled.toString(),Zi(e,2).disabled||null),t(e,3,0,Zi(e,7).inline,"primary"!==Zi(e,7).color&&"accent"!==Zi(e,7).color&&"warn"!==Zi(e,7).color),t(e,8,0,e.context.$implicit.icon),t(e,9,0,Jn(e,9,0,Zi(e,10).transform(e.context.$implicit.name)))}))}function nM(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,eM)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,e.component.sidenavService.upperContents)}),null)}function iM(t){return pl(0,[(t()(),Go(0,0,null,null,0,"div",[["class","menu-separator"]],null,null,null,null,null))],null,null)}function rM(t){return pl(0,[(t()(),Go(0,0,null,null,10,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,9,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,2)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,2)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.requestAction(t.context.$implicit.actionName)&&i),i}),Ox,Tx)),ur(2,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),Go(3,0,null,0,5,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(5,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(6,{transparent:0}),ur(7,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(8,0,["",""])),(t()(),cl(9,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,2,0,e.context.$implicit.disabled);var n=t(e,6,0,e.context.$implicit.disabled);t(e,5,0,n),t(e,7,0)}),(function(t,e){t(e,1,0,Zi(e,2).role,Zi(e,2)._highlighted,Zi(e,2)._triggersSubmenu,Zi(e,2)._getTabIndex(),Zi(e,2).disabled.toString(),Zi(e,2).disabled||null),t(e,3,0,Zi(e,7).inline,"primary"!==Zi(e,7).color&&"accent"!==Zi(e,7).color&&"warn"!==Zi(e,7).color),t(e,8,0,e.context.$implicit.icon),t(e,9,0,Jn(e,9,0,Zi(e,10).transform(e.context.$implicit.name)))}))}function oM(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,rM)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,e.component.sidenavService.lowerContents)}),null)}function lM(t){return pl(0,[(t()(),Go(0,0,null,null,0,"div",[["class","menu-separator"]],null,null,null,null,null))],null,null)}function aM(t){return pl(0,[(t()(),Go(0,0,null,null,0,"img",[["class","flag"]],[[8,"src",4]],null,null,null,null))],null,(function(t,e){t(e,0,0,"assets/img/lang/"+e.component.language.iconName)}))}function sM(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.openLanguageWindow()&&i),i}),Ox,Tx)),ur(1,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),Ko(16777216,null,0,1,null,aM)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(4,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,e.component.language)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).role,Zi(e,1)._highlighted,Zi(e,1)._triggersSubmenu,Zi(e,1)._getTabIndex(),Zi(e,1).disabled.toString(),Zi(e,1).disabled||null),t(e,4,0,Jn(e,4,0,Zi(e,5).transform(n.language?n.language.name:"")))}))}function uM(t){return pl(0,[(t()(),Go(0,0,null,null,4,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"app-button",[],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.requestAction(t.context.$implicit.actionName)&&i),i}),$x,Vx)),ur(2,180224,null,0,zx,[],{disabled:[0,"disabled"],icon:[1,"icon"]},{action:"action"}),(t()(),cl(3,0,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,2,0,e.context.$implicit.disabled,e.context.$implicit.icon)}),(function(t,e){t(e,3,0,Jn(e,3,0,Zi(e,4).transform(e.context.$implicit.name)))}))}function cM(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,uM)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,e.component.sidenavService.upperContents)}),null)}function dM(t){return pl(0,[(t()(),Go(0,0,null,null,4,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"app-button",[],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.requestAction(t.context.$implicit.actionName)&&i),i}),$x,Vx)),ur(2,180224,null,0,zx,[],{disabled:[0,"disabled"],icon:[1,"icon"]},{action:"action"}),(t()(),cl(3,0,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,2,0,e.context.$implicit.disabled,e.context.$implicit.icon)}),(function(t,e){t(e,3,0,Jn(e,3,0,Zi(e,4).transform(e.context.$implicit.name)))}))}function hM(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,dM)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,e.component.sidenavService.lowerContents)}),null)}function pM(t){return pl(0,[(t()(),Go(0,0,null,null,27,"div",[["class","top-bar d-lg-none"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,0,"div",[["class","button-container"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,1,"div",[["class","logo-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,0,"img",[["src","/assets/img/logo-s.png"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,23,"div",[["class","button-container"]],null,null,null,null,null)),(t()(),Go(5,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==Zi(t,7)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==Zi(t,7)._handleKeydown(n)&&i),"click"===e&&(i=!1!==Zi(t,7)._handleClick(n)&&i),i}),pb,hb)),ur(6,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(7,1196032,null,0,xx,[Pm,an,In,bx,[2,yx],[8,null],[2,W_],lg],{menu:[0,"menu"]},null),(t()(),Go(8,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(9,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["menu"])),(t()(),Go(11,0,null,null,16,"mat-menu",[],null,null,null,Dx,Cx)),dr(6144,null,yx,null,[vx]),dr(6144,null,mx,null,[yx]),ur(14,1294336,[["menu",4]],3,vx,[an,co,_x],{overlapTrigger:[0,"overlapTrigger"]},null),Qo(603979776,1,{_allItems:1}),Qo(603979776,2,{items:1}),Qo(603979776,3,{lazyContent:0}),(t()(),Ko(16777216,null,0,1,null,nM)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,iM)),ur(21,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,oM)),ur(23,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,lM)),ur(25,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,sM)),ur(27,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(28,0,null,null,0,"div",[["class","top-bar-margin d-lg-none"]],null,null,null,null,null)),(t()(),Go(29,0,null,null,16,"div",[["class","h-100 d-flex"]],null,null,null,null,null)),(t()(),Go(30,0,null,null,12,"div",[["class","left-bar-container d-none d-lg-block"]],null,null,null,null,null)),(t()(),Go(31,0,null,null,11,"div",[["class","left-bar-internal-container"]],null,null,null,null,null)),(t()(),Go(32,0,null,null,10,"nav",[],null,null,null,null,null)),(t()(),Go(33,0,null,null,1,"div",[["class","header"]],null,null,null,null,null)),(t()(),Go(34,0,null,null,0,"img",[["src","/assets/img/logo-h.png"]],null,null,null,null,null)),(t()(),Go(35,0,null,null,7,"div",[["class","menu-container"]],null,null,null,null,null)),(t()(),Go(36,0,null,null,3,"div",[["class","upper-actions"]],null,null,null,null,null)),(t()(),Go(37,0,null,null,2,"div",[["class","button-group"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,cM)),ur(39,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(40,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,hM)),ur(42,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(43,0,null,null,2,"div",[["class","content container-fluid"]],null,null,null,null,null)),(t()(),Go(44,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ur(45,212992,null,0,mp,[fp,In,nn,[8,null],De],null,null)],(function(t,e){var n=e.component;t(e,7,0,Zi(e,14)),t(e,9,0),t(e,14,0,!1),t(e,19,0,n.sidenavService.upperContents),t(e,21,0,n.sidenavService.upperContents&&n.sidenavService.lowerContents),t(e,23,0,n.sidenavService.lowerContents),t(e,25,0,!n.hideLanguageButton&&(n.sidenavService.upperContents||n.sidenavService.lowerContents)),t(e,27,0,!n.hideLanguageButton),t(e,39,0,n.sidenavService.upperContents),t(e,42,0,n.sidenavService.lowerContents),t(e,45,0)}),(function(t,e){t(e,5,0,Zi(e,6).disabled||null,"NoopAnimations"===Zi(e,6)._animationMode,Zi(e,7).menuOpen||null),t(e,8,0,Zi(e,9).inline,"primary"!==Zi(e,9).color&&"accent"!==Zi(e,9).color&&"warn"!==Zi(e,9).color)}))}function fM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sidenav",[],null,null,null,pM,tM)),ur(1,245760,null,0,Qx,[Xx,Jg,Ib],null,null)],(function(t,e){t(e,1,0)}),null)}var mM=Ni("app-sidenav",Qx,fM,{},{},[]),gM=function(t){return t[t.Seconds=0]="Seconds",t[t.Minutes=1]="Minutes",t[t.Hours=2]="Hours",t[t.Days=3]="Days",t[t.Weeks=4]="Weeks",t}({}),_M=function(){return function(){}}(),yM=function(){function t(){}return t.getElapsedTime=function(t){var e=new _M;e.timeRepresentation=gM.Seconds,e.totalMinutes=Math.floor(t/60).toString(),e.translationVarName="second";var n=1;t>=60&&t<3600?(e.timeRepresentation=gM.Minutes,n=60,e.translationVarName="minute"):t>=3600&&t<86400?(e.timeRepresentation=gM.Hours,n=3600,e.translationVarName="hour"):t>=86400&&t<604800?(e.timeRepresentation=gM.Days,n=86400,e.translationVarName="day"):t>=604800&&(e.timeRepresentation=gM.Weeks,n=604800,e.translationVarName="week");var i=Math.floor(t/n);return e.elapsedTime=i.toString(),(e.timeRepresentation===gM.Seconds||i>1)&&(e.translationVarName=e.translationVarName+"s"),e},t}(),vM=function(){function t(){this.refeshRate=-1}return Object.defineProperty(t.prototype,"secondsSinceLastUpdate",{set:function(t){this.elapsedTime=yM.getElapsedTime(t)},enumerable:!0,configurable:!0}),t}(),bM=Xn({encapsulation:0,styles:[[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width:767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]],data:{}});function wM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-spinner",[["class","icon d-none d-md-inline-block mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Nx,Rx)),ur(1,114688,null,0,Yx,[an,Zf,[2,As],[2,ub],Ix],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,14)}),(function(t,e){t(e,0,0,Zi(e,1)._noopAnimations,Zi(e,1).diameter,Zi(e,1).diameter)}))}function kM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-spinner",[["class","icon d-md-none mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Nx,Rx)),ur(1,114688,null,0,Yx,[an,Zf,[2,As],[2,ub],Ix],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,18)}),(function(t,e){t(e,0,0,Zi(e,1)._noopAnimations,Zi(e,1).diameter,Zi(e,1).diameter)}))}function xM(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["refresh"]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function MM(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","icon alert mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["warning"]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function SM(t){return pl(0,[(t()(),Go(0,0,null,null,4,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,xM)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,MM)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){var n=e.component;t(e,2,0,!n.showAlert),t(e,4,0,n.showAlert)}),null)}function CM(t){return pl(0,[(t()(),Go(0,0,null,null,3,"span",[["class","d-none d-md-inline"]],null,null,null,null,null)),(t()(),cl(1,null,["",""])),sl(2,{time:0}),cr(131072,qg,[Wg,De])],null,(function(t,e){var n=e.component,i=Jn(e,1,0,Zi(e,3).transform("refresh-button."+n.elapsedTime.translationVarName,t(e,2,0,n.elapsedTime.elapsedTime)));t(e,1,0,i)}))}function LM(t){return pl(0,[(t()(),Go(0,16777216,null,null,15,"button",[["class","time-button white-theme"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,5).show()&&i),"keydown"===e&&(i=!1!==Zi(t,5)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,5)._handleTouchend()&&i),i}),pb,hb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"grey-button-background":0}),ur(4,180224,null,0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"]},null),ur(5,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),sl(6,{time:0}),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,wM)),ur(9,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,kM)),ur(11,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,SM)),ur(13,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,CM)),ur(15,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,!n.showLoading);t(e,2,0,"time-button white-theme",i),t(e,4,0,n.showLoading);var r=n.showAlert?Jn(e,5,0,Zi(e,7).transform("refresh-button.error-tooltip",t(e,6,0,n.refeshRate))):"";t(e,5,0,r),t(e,9,0,n.showLoading),t(e,11,0,n.showLoading),t(e,13,0,!n.showLoading),t(e,15,0,n.elapsedTime)}),(function(t,e){t(e,0,0,Zi(e,4).disabled||null,"NoopAnimations"===Zi(e,4)._animationMode)}))}var DM=function(){function t(t,e){this.data=t,this.dialogRef=e}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.closePopup=function(t){this.dialogRef.close(t+1)},t}(),TM=function(){function t(t,e,n){this.languageService=t,this.dialog=e,this.router=n,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.refreshRequested=new Yr,this.hideLanguageButton=!0}return t.prototype.ngOnInit=function(){var t=this;this.langSubscription=this.languageService.languages.subscribe((function(e){t.hideLanguageButton=!(e.length>1)}))},t.prototype.ngOnDestroy=function(){this.langSubscription.unsubscribe(),this.refreshRequested.complete()},t.prototype.sendRefreshEvent=function(){this.refreshRequested.emit()},t.prototype.openTabSelector=function(){var t=this;DM.openDialog(this.dialog,this.tabsData).afterClosed().subscribe((function(e){e&&(e-=1)!==t.selectedTabIndex&&t.router.navigate(t.tabsData[e].linkParts,{replaceUrl:!0})}))},t}(),OM=Xn({encapsulation:0,styles:[[".main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.44);padding-bottom:10px;margin-bottom:-5px;height:82px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:5px;margin-left:5px;opacity:.75;font-weight:lighter}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .old[_ngcontent-%COMP%]{opacity:.75}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{margin:0 2px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1;color:#f8f9f9;background-color:rgba(32,34,38,.44)}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:5px;opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-2px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .full-opacity[_ngcontent-%COMP%]{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] app-lang-button[_ngcontent-%COMP%]{margin-left:2px}"]],data:{}});function PM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[["class","separator"]],null,null,null,null,null)),(t()(),cl(-1,null,["/"]))],null,null)}function EM(t){return pl(0,[(t()(),Go(0,0,null,null,7,"span",[],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(3,{old:0}),(t()(),cl(4,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,PM)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,e.context.index!==n.titleParts.length-1);t(e,2,0,i),t(e,7,0,e.context.index!==n.titleParts.length-1)}),(function(t,e){t(e,4,0,Jn(e,4,0,Zi(e,5).transform(e.context.$implicit)))}))}function IM(t){return pl(0,[(t()(),Go(0,0,null,null,15,"div",[],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(3,{"d-lg-none":0,"d-none d-md-inline-block":1}),(t()(),Go(4,0,null,null,11,"a",[["class","tab-button white-theme"],["mat-button",""],["replaceUrl",""]],[[1,"target",0],[8,"href",4],[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,8).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),"click"===e&&(i=!1!==Zi(t,9)._haltDisabledEvents(n)&&i),i}),mb,fb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"mouse-disabled":0,"grey-button-background":1}),ur(8,671744,null,0,dp,[cp,th,Da],{replaceUrl:[0,"replaceUrl"],routerLink:[1,"routerLink"]},null),ur(9,180224,null,0,z_,[lg,an,[2,ub]],{disabled:[0,"disabled"]},null),(t()(),Go(10,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(11,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(12,0,["",""])),(t()(),Go(13,0,null,0,2,"span",[],null,null,null,null,null)),(t()(),cl(14,null,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component,i=t(e,3,0,e.context.$implicit.onlyIfLessThanLg,1!==n.tabsData.length);t(e,2,0,i);var r=t(e,7,0,n.disableMouse,!n.disableMouse&&e.context.index!==n.selectedTabIndex);t(e,6,0,"tab-button white-theme",r),t(e,8,0,"",e.context.$implicit.linkParts),t(e,9,0,e.context.index===n.selectedTabIndex),t(e,11,0,!0)}),(function(t,e){t(e,4,0,Zi(e,8).target,Zi(e,8).href,Zi(e,9).disabled?-1:Zi(e,9).tabIndex||0,Zi(e,9).disabled||null,Zi(e,9).disabled.toString(),"NoopAnimations"===Zi(e,9)._animationMode),t(e,10,0,Zi(e,11).inline,"primary"!==Zi(e,11).color&&"accent"!==Zi(e,11).color&&"warn"!==Zi(e,11).color),t(e,12,0,e.context.$implicit.icon),t(e,14,0,Jn(e,14,0,Zi(e,15).transform(e.context.$implicit.label)))}))}function YM(t){return pl(0,[(t()(),Go(0,0,null,null,17,"div",[["class","d-md-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"d-none":0}),(t()(),Go(4,0,null,null,13,"button",[["class","tab-button full-opacity white-theme"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openTabSelector()&&i),i}),pb,hb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"mouse-disabled":0,"grey-button-background":1}),ur(8,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(9,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(10,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(11,0,["",""])),(t()(),Go(12,0,null,0,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(16,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"]))],(function(t,e){var n=e.component,i=t(e,3,0,1===n.tabsData.length);t(e,2,0,"d-md-none",i);var r=t(e,7,0,n.disableMouse,!n.disableMouse);t(e,6,0,"tab-button full-opacity white-theme",r),t(e,10,0,!0),t(e,16,0,!0)}),(function(t,e){var n=e.component;t(e,4,0,Zi(e,8).disabled||null,"NoopAnimations"===Zi(e,8)._animationMode),t(e,9,0,Zi(e,10).inline,"primary"!==Zi(e,10).color&&"accent"!==Zi(e,10).color&&"warn"!==Zi(e,10).color),t(e,11,0,n.tabsData[n.selectedTabIndex].icon),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.tabsData[n.selectedTabIndex].label))),t(e,15,0,Zi(e,16).inline,"primary"!==Zi(e,16).color&&"accent"!==Zi(e,16).color&&"warn"!==Zi(e,16).color)}))}function AM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-refresh-button",[],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.sendRefreshEvent()&&i),i}),LM,bM)),ur(1,49152,null,0,vM,[],{secondsSinceLastUpdate:[0,"secondsSinceLastUpdate"],showLoading:[1,"showLoading"],showAlert:[2,"showAlert"],refeshRate:[3,"refeshRate"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.secondsSinceLastUpdate,n.showLoading,n.showAlert,n.refeshRate)}),null)}function RM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-lang-button",[["class","d-none d-lg-inline"]],null,null,null,Ub,Bb)),ur(1,245760,null,0,Vb,[Jg,Ib],null,null)],(function(t,e){t(e,1,0)}),null)}function jM(t){return pl(0,[(t()(),Go(0,0,null,null,14,"div",[["class","main-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,EM)),ur(3,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(4,0,null,null,10,"div",[["class","lower-container"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,IM)),ur(6,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,YM)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(9,0,null,null,0,"div",[["class","blank-space"]],null,null,null,null,null)),(t()(),Go(10,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,AM)),ur(12,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,RM)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.titleParts),t(e,6,0,n.tabsData),t(e,8,0,n.tabsData&&n.tabsData[n.selectedTabIndex]),t(e,12,0,n.showUpdateButton),t(e,14,0,!n.hideLanguageButton)}),null)}var FM=function(){return function(){this.showWhite=!0}}(),NM=Xn({encapsulation:0,styles:[["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]],data:{}});function HM(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","container"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"white-theme":0}),(t()(),Go(4,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Nx,Rx)),ur(5,114688,null,0,Yx,[an,Zf,[2,As],[2,ub],Ix],{diameter:[0,"diameter"]},null)],(function(t,e){var n=t(e,3,0,e.component.showWhite);t(e,2,0,"container",n),t(e,5,0,50)}),(function(t,e){t(e,4,0,Zi(e,5)._noopAnimations,Zi(e,5).diameter,Zi(e,5).diameter)}))}var zM=function(){return function(){}}(),VM=function(){function t(t){this.apiService=t}return t.prototype.getTransports=function(t){return this.apiService.get("visors/"+t+"/transports")},t.prototype.create=function(t,e,n){return this.apiService.post("visors/"+t+"/transports",{remote_pk:e,transport_type:n,public:!0})},t.prototype.delete=function(t,e){return this.apiService.delete("visors/"+t+"/transports/"+e)},t.prototype.types=function(t){return this.apiService.get("visors/"+t+"/transport-types")},t.ngInjectableDef=ht({factory:function(){return new t(At(nx))},token:t,providedIn:"root"}),t}(),BM=function(){function t(t){this.apiService=t}return t.prototype.getRoutes=function(t){return this.apiService.get("visors/"+t+"/routes")},t.prototype.get=function(t,e){return this.apiService.get("visors/"+t+"/routes/"+e)},t.prototype.delete=function(t,e){return this.apiService.delete("visors/"+t+"/routes/"+e)},t.ngInjectableDef=ht({factory:function(){return new t(At(nx))},token:t,providedIn:"root"}),t}(),WM=function(){function t(t,e,n,i){this.apiService=t,this.storageService=e,this.transportService=n,this.routeService=i}return t.prototype.getNodes=function(){var t=this;return this.apiService.get("visors").pipe(F((function(e){e=e||[];var n=new Map;e.forEach((function(e){e.ip=t.getAddressPart(e.tcp_addr,0),e.port=t.getAddressPart(e.tcp_addr,1),e.label=t.storageService.getNodeLabel(e.local_pk),n.set(e.local_pk,e)}));var i=[];return t.storageService.getNodes().forEach((function(e){if(!n.has(e.publicKey)&&!e.deleted){var r=new zM;r.local_pk=e.publicKey,r.label=e.label,r.online=!1,i.push(r)}n.has(e.publicKey)&&!n.get(e.publicKey).online&&e.deleted&&n.delete(e.publicKey),n.has(e.publicKey)&&n.get(e.publicKey).online&&e.deleted&&t.storageService.changeNodeState(e.publicKey,!1)})),e=[],n.forEach((function(t){return e.push(t)})),e=e.concat(i)})))},t.prototype.getNode=function(t){var e,n=this;return this.apiService.get("visors/"+t).pipe(B((function(i){return i.ip=n.getAddressPart(i.tcp_addr,0),i.port=n.getAddressPart(i.tcp_addr,1),i.label=n.storageService.getNodeLabel(i.local_pk),e=i,n.apiService.get("visors/"+t+"/health")})),B((function(i){return e.health=i,n.apiService.get("visors/"+t+"/uptime")})),B((function(i){return e.seconds_online=Math.floor(Number.parseFloat(i)),n.transportService.getTransports(t)})),B((function(i){return e.transports=i,n.routeService.getRoutes(t)})),F((function(t){return e.routes=t,e})))},t.prototype.getAddressPart=function(t,e){var n=t.split(":"),i=t;return n&&2===n.length&&(i=n[e]),i},t.prototype.reboot=function(t){return this.apiService.post("visors/"+t+"/restart")},t.prototype.checkUpdate=function(t){return this.apiService.get("visors/"+t+"/update/available")},t.prototype.update=function(t){return this.apiService.post("visors/"+t+"/update")},t.ngInjectableDef=ht({factory:function(){return new t(At(nx),At(Fp),At(VM),At(BM))},token:t,providedIn:"root"}),t}(),UM=function(){function t(t,e,n,i,r){this.dialogRef=t,this.data=e,this.formBuilder=n,this.storageService=i,this.snackbarService=r}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){this.form=this.formBuilder.group({label:[this.data.label]})},t.prototype.ngAfterViewInit=function(){var t=this;setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.save=function(){var t=this.form.get("label").value.trim();this.storageService.setNodeLabel(this.data.local_pk,t),t?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.default-label-warning"),this.dialogRef.close(!0)},t}(),qM=function(){function t(t,e){this.data=t,this.dialogRef=e}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.closePopup=function(t,e){this.dialogRef.close({label:t,sortReverse:e})},t}(),KM=function(t){return t.Asking="Asking",t.Processing="Processing",t.Done="Done",t}({}),GM=function(){function t(t,e){this.dialogRef=t,this.data=e,this.disableDismiss=!1,this.state=KM.Asking,this.confirmationStates=KM,this.operationAccepted=new Yr,this.disableDismiss=!!e.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}return t.prototype.ngAfterViewInit=function(){var t=this;this.data.cancelButtonText?setTimeout((function(){return t.cancelButton.focus()})):setTimeout((function(){return t.confirmButton.focus()}))},t.prototype.ngOnDestroy=function(){this.operationAccepted.complete()},t.prototype.closeModal=function(){this.dialogRef.close()},t.prototype.sendOperationAcceptedEvent=function(){this.operationAccepted.emit()},t.prototype.showAsking=function(t){t&&(this.data=t),this.state=KM.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()},t.prototype.showProcessing=function(){this.state=KM.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()},t.prototype.showDone=function(t,e){var n=this;this.doneTitle=t||this.data.headerText,this.doneText=e,this.confirmButton.reset(),setTimeout((function(){return n.confirmButton.focus()})),this.state=KM.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1},t}(),JM=function(){function t(){}return t.createConfirmationDialog=function(t,e){var n={text:e,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!0},i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,t.open(GM,i)},t}(),ZM=function(){function t(t,e){this.data=t,this.dialogRef=e}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.closePopup=function(t){this.dialogRef.close(t)},t}(),$M=function(t){return t.Label="nodes.label",t.Key="nodes.key",t}({}),XM=function(){function t(t,e,n,i,r,o,l,a){this.nodeService=t,this.router=e,this.dialog=n,this.authService=i,this.storageService=r,this.ngZone=o,this.snackbarService=l,this.sidenavService=a,this.sortableColumns=$M,this.loading=!0,this.tabsData=[],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}]}return Object.defineProperty(t.prototype,"sortBy",{get:function(){return t.sortByInternal},set:function(e){t.sortByInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortReverse",{get:function(){return t.sortReverseInternal},set:function(e){t.sortReverseInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.refresh(0),this.ngZone.runOutsideAngular((function(){t.updateTimeSubscription=Af(5e3,5e3).subscribe((function(){return t.ngZone.run((function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)}))}))})),setTimeout((function(){t.menuSubscription=t.sidenavService.setContents([{name:"common.logout",actionName:"logout",icon:"power_settings_new"}],null).subscribe((function(e){"logout"===e&&t.logout()}))}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.menuSubscription&&this.menuSubscription.unsubscribe()},t.prototype.nodeStatusClass=function(t,e){switch(t.online){case!0:return e?"dot-green":"green-text";default:return e?"dot-red":"red-text"}},t.prototype.nodeStatusText=function(t,e){switch(t.online){case!0:return"node.statuses.online"+(e?"-tooltip":"");default:return"node.statuses.offline"+(e?"-tooltip":"")}},t.prototype.changeSortingOrder=function(t){this.sortBy!==t?(this.sortBy=t,this.sortReverse=!1):this.sortReverse=!this.sortReverse,this.sortList()},t.prototype.openSortingOrderModal=function(){var t=this,e=Object.keys($M),n=new Map,i=e.map((function(t){var e=$M[t];return n.set(e,$M[t]),e}));qM.openDialog(this.dialog,i).afterClosed().subscribe((function(e){e&&(!n.has(e.label)||e.sortReverse===t.sortReverse&&n.get(e.label)===t.sortBy||(t.sortBy=n.get(e.label),t.sortReverse=e.sortReverse,t.sortList()))}))},t.prototype.refresh=function(t,e){var n=this;void 0===e&&(e=!1),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.ngZone.runOutsideAngular((function(){n.dataSubscription=Hs(1).pipe(dx(t),Pu((function(){return n.ngZone.run((function(){return n.updating=!0}))})),dx(120),B((function(){return n.nodeService.getNodes()}))).subscribe((function(t){n.ngZone.run((function(){n.dataSource=t,n.sortList(),n.loading=!1,n.snackbarService.closeCurrentIfTemporaryError(),n.lastUpdate=Date.now(),n.secondsSinceLastUpdate=0,n.updating=!1,n.errorsUpdating=!1,e&&n.snackbarService.showDone("common.refreshed",null),n.refresh(1e3*n.storageService.getRefreshTime())}))}),(function(t){n.ngZone.run((function(){t=Up(t),n.errorsUpdating||n.snackbarService.showError(n.loading?"common.loading-error":"nodes.error-load",null,!0,t),n.updating=!1,n.errorsUpdating=!0,n.refresh(n.loading?3e3:1e3*n.storageService.getRefreshTime(),e)}))}))}))},t.prototype.sortList=function(){var t=this;this.dataSource=this.dataSource.sort((function(e,n){var i,r=e.local_pk.localeCompare(n.local_pk);return 0!==(i=t.sortBy===$M.Key?t.sortReverse?n.local_pk.localeCompare(e.local_pk):e.local_pk.localeCompare(n.local_pk):t.sortBy===$M.Label?t.sortReverse?n.label.localeCompare(e.label):e.label.localeCompare(n.label):r)?i:r}))},t.prototype.logout=function(){var t=this;this.authService.logout().subscribe((function(){return t.router.navigate(["login"])}),(function(){return t.snackbarService.showError("common.logout-error")}))},t.prototype.showOptionsDialog=function(t){var e=this;ZM.openDialog(this.dialog,[{icon:"short_text",label:"edit-label.title"},{icon:"close",label:"nodes.delete-node"}]).afterClosed().subscribe((function(n){1===n?e.showEditLabelDialog(t):2===n&&e.deleteNode(t)}))},t.prototype.showEditLabelDialog=function(t){var e=this;UM.openDialog(this.dialog,t).afterClosed().subscribe((function(t){t&&e.refresh(0)}))},t.prototype.deleteNode=function(t){var e=this,n=JM.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.close(),e.storageService.changeNodeState(t.local_pk,!0),e.refresh(0),e.snackbarService.showDone("nodes.deleted")}))},t.prototype.open=function(t){t.online&&this.router.navigate(["nodes",t.local_pk])},t.sortByInternal=$M.Key,t.sortReverseInternal=!1,t}(),QM=Xn({encapsulation:0,styles:[["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}.node-list-container[_ngcontent-%COMP%]{width:100%;overflow-x:auto}.node-list-container[_ngcontent-%COMP%] .nodes-empty[_ngcontent-%COMP%], .node-list-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{box-shadow:none!important}.node-list-container[_ngcontent-%COMP%] .nodes-empty[_ngcontent-%COMP%]{color:#777;font-size:.875rem}.node-list-container[_ngcontent-%COMP%] .nodes-empty[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-right:10px}.node-list-container[_ngcontent-%COMP%] .nodes-empty[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:2px}@media (max-width:767px){.responsive-table-white[_ngcontent-%COMP%]{padding:0}}.responsive-table-white[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{text-align:right;width:110px}.responsive-table-white[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:32px;height:32px;line-height:24px}.responsive-table-white[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:last-child{margin-left:15px}"]],data:{}});function tS(t){return pl(0,[(t()(),Go(0,0,null,null,6,"div",[["class","flex-column h-100 w-100"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"app-tab-bar",[],null,null,null,jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],showUpdateButton:[3,"showUpdateButton"]},null),al(4,1),(t()(),Go(5,0,null,null,1,"app-loading-indicator",[["class","h-100"]],null,null,null,HM,NM)),ur(6,49152,null,0,FM,[],null,null)],(function(t,e){var n=e.component,i=t(e,4,0,"start.title");t(e,3,0,i,n.tabsData,0,!1)}),null)}function eS(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function nS(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function iS(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.open(t.parent.context.$implicit)&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(5,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["chevron_right"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("nodes.view-node"))),t(e,5,0)}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode),t(e,4,0,Zi(e,5).inline,"primary"!==Zi(e,5).color&&"accent"!==Zi(e,5).color&&"warn"!==Zi(e,5).color)}))}function rS(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.deleteNode(t.parent.context.$implicit)&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(5,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["close"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("nodes.delete-node"))),t(e,5,0)}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode),t(e,4,0,Zi(e,5).inline,"primary"!==Zi(e,5).color&&"accent"!==Zi(e,5).color&&"warn"!==Zi(e,5).color)}))}function oS(t){return pl(0,[(t()(),Go(0,0,null,null,20,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.open(t.context.$implicit)&&i),i}),null,null)),(t()(),Go(1,0,null,null,3,"td",[],null,null,null,null,null)),(t()(),Go(2,16777216,null,null,2,"span",[],[[8,"className",0]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,3).show()&&i),"keydown"===e&&(i=!1!==Zi(t,3)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,3)._handleTouchend()&&i),i}),null,null)),ur(3,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),(t()(),Go(7,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(8,null,[" "," "])),(t()(),Go(9,0,null,null,11,"td",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==n.stopPropagation()&&i),i}),null,null)),(t()(),Go(10,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,12).show()&&i),"keydown"===e&&(i=!1!==Zi(t,12)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,12)._handleTouchend()&&i),"click"===e&&(i=!1!==r.showEditLabelDialog(t.context.$implicit)&&i),i}),pb,hb)),ur(11,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(12,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(14,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(15,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["short_text"])),(t()(),Ko(16777216,null,null,1,null,iS)),ur(18,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,rS)),ur(20,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform(n.nodeStatusText(e.context.$implicit,!0)))),t(e,12,0,Jn(e,12,0,Zi(e,13).transform("edit-label.title"))),t(e,15,0),t(e,18,0,e.context.$implicit.online),t(e,20,0,!e.context.$implicit.online)}),(function(t,e){t(e,2,0,e.component.nodeStatusClass(e.context.$implicit,!0)),t(e,6,0,e.context.$implicit.label),t(e,8,0,e.context.$implicit.local_pk),t(e,10,0,Zi(e,11).disabled||null,"NoopAnimations"===Zi(e,11)._animationMode),t(e,14,0,Zi(e,15).inline,"primary"!==Zi(e,15).color&&"accent"!==Zi(e,15).color&&"warn"!==Zi(e,15).color)}))}function lS(t){return pl(0,[(t()(),Go(0,0,null,null,15,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-white container-elevated-white d-none d-md-table"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,12,"tr",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,0,"th",[],null,null,null,null,null)),(t()(),Go(3,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Label)&&i),i}),null,null)),(t()(),cl(4,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,eS)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(8,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Key)&&i),i}),null,null)),(t()(),cl(9,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,nS)),ur(12,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(13,0,null,null,0,"th",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,oS)),ur(15,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,7,0,n.sortBy===n.sortableColumns.Label),t(e,12,0,n.sortBy===n.sortableColumns.Key),t(e,15,0,n.dataSource)}),(function(t,e){t(e,4,0,Jn(e,4,0,Zi(e,5).transform("nodes.label"))),t(e,9,0,Jn(e,9,0,Zi(e,10).transform("nodes.key")))}))}function aS(t){return pl(0,[(t()(),Go(0,0,null,null,30,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.open(t.context.$implicit)&&i),i}),null,null)),(t()(),Go(1,0,null,null,29,"td",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,28,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,18,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,7,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(9,0,null,null,2,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(12,0,null,null,4,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(14,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(16,null,[": "," "])),(t()(),Go(17,0,null,null,4,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(18,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(19,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(21,null,[": "," "])),(t()(),Go(22,0,null,null,0,"div",[["class","margin-part"]],null,null,null,null,null)),(t()(),Go(23,0,null,null,7,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(24,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,26).show()&&i),"keydown"===e&&(i=!1!==Zi(t,26)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,26)._handleTouchend()&&i),"click"===e&&(n.stopPropagation(),i=!1!==(t.context.$implicit.online?r.showEditLabelDialog(t.context.$implicit):r.showOptionsDialog(t.context.$implicit))&&i),i}),pb,hb)),ur(25,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(26,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(28,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(29,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(30,0,["",""]))],(function(t,e){t(e,26,0,Jn(e,26,0,Zi(e,27).transform(e.context.$implicit.online?"edit-label.title":"common.options"))),t(e,29,0)}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("nodes.state"))),t(e,9,0,n.nodeStatusClass(e.context.$implicit,!1)+" title"),t(e,10,0,Jn(e,10,0,Zi(e,11).transform(n.nodeStatusText(e.context.$implicit,!1)))),t(e,14,0,Jn(e,14,0,Zi(e,15).transform("nodes.label"))),t(e,16,0,e.context.$implicit.label),t(e,19,0,Jn(e,19,0,Zi(e,20).transform("nodes.key"))),t(e,21,0,e.context.$implicit.local_pk),t(e,24,0,Zi(e,25).disabled||null,"NoopAnimations"===Zi(e,25)._animationMode),t(e,28,0,Zi(e,29).inline,"primary"!==Zi(e,29).color&&"accent"!==Zi(e,29).color&&"warn"!==Zi(e,29).color),t(e,30,0,e.context.$implicit.online?"short_text":"add")}))}function sS(t){return pl(0,[(t()(),Go(0,0,null,null,17,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-white container-elevated-white d-md-none nowrap"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,14,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openSortingOrderModal()&&i),i}),null,null)),(t()(),Go(2,0,null,null,13,"td",[],null,null,null,null,null)),(t()(),Go(3,0,null,null,12,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,7,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(8,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),cl(9,null,[""," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),(t()(),Go(12,0,null,null,3,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(14,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"])),(t()(),Ko(16777216,null,null,1,null,aS)),ur(17,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,14,0,!0),t(e,17,0,n.dataSource)}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("tables.sorting-title"))),t(e,9,0,Jn(e,9,0,Zi(e,10).transform(n.sortBy)),Jn(e,9,1,Zi(e,11).transform(n.sortReverse?"tables.descending-order":"tables.ascending-order"))),t(e,13,0,Zi(e,14).inline,"primary"!==Zi(e,14).color&&"accent"!==Zi(e,14).color&&"warn"!==Zi(e,14).color)}))}function uS(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","nodes-empty container-elevated-white"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),cl(-1,null,["warning"])),(t()(),Go(3,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(4,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,4,0,Jn(e,4,0,Zi(e,5).transform("nodes.empty")))}))}function cS(t){return pl(0,[(t()(),Go(0,0,null,null,12,"div",[["class","row"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"div",[["class","col-12"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"app-tab-bar",[],null,[[null,"refreshRequested"]],(function(t,e,n){var i=!0;return"refreshRequested"===e&&(i=!1!==t.component.refresh(0,!0)&&i),i}),jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],secondsSinceLastUpdate:[3,"secondsSinceLastUpdate"],showLoading:[4,"showLoading"],showAlert:[5,"showAlert"],refeshRate:[6,"refeshRate"]},{refreshRequested:"refreshRequested"}),al(4,1),(t()(),Go(5,0,null,null,7,"div",[["class","col-12"]],null,null,null,null,null)),(t()(),Go(6,0,null,null,6,"div",[["class","node-list-container mt-4.5"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,lS)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,sS)),ur(10,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,uS)),ur(12,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,4,0,"start.title");t(e,3,0,i,n.tabsData,0,n.secondsSinceLastUpdate,n.updating,n.errorsUpdating,n.storageService.getRefreshTime()),t(e,8,0,n.dataSource.length>0),t(e,10,0,n.dataSource.length>0),t(e,12,0,0===n.dataSource.length)}),null)}function dS(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,tS)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,cS)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.loading),t(e,3,0,!n.loading)}),null)}function hS(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-list",[],null,null,null,dS,QM)),ur(1,245760,null,0,XM,[WM,cp,Ib,rx,Fp,co,Lg,Xx],null,null)],(function(t,e){t(e,1,0)}),null)}var pS=Ni("app-node-list",XM,hS,{},{},[]),fS=function(){function t(t){this.dom=t}return t.prototype.copy=function(t){var e=null,n=!1;try{(e=this.dom.createElement("textarea")).style.height="0px",e.style.left="-100px",e.style.opacity="0",e.style.position="fixed",e.style.top="-100px",e.style.width="0px",this.dom.body.appendChild(e),e.value=t,e.select(),this.dom.execCommand("copy"),n=!0}finally{e&&e.parentNode&&e.parentNode.removeChild(e)}return n},t}(),mS=function(){function t(t){this.clipboardService=t,this.copyEvent=new Yr,this.errorEvent=new Yr,this.value=""}return t.prototype.ngOnDestroy=function(){this.copyEvent.complete(),this.errorEvent.complete()},t.prototype.copyToClipboard=function(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()},t}(),gS=function(){function t(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}return Object.defineProperty(t.prototype,"shortText",{get:function(){if(this.text.length>2*this.shortTextLength){var t=this.text.length;return this.text.slice(0,this.shortTextLength)+"..."+this.text.slice(t-this.shortTextLength,t)}return this.text},enumerable:!0,configurable:!0}),t}(),_S=Xn({encapsulation:0,styles:[[".cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]::after{content:'';display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.ml-3\\.5[_ngcontent-%COMP%]{margin-left:1.25rem!important}.mr-3\\.5[_ngcontent-%COMP%]{margin-right:1.25rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}"]],data:{}});function yS(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(2,null,["",""]))],null,(function(t,e){t(e,2,0,e.component.shortText)}))}function vS(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(2,null,["",""]))],null,(function(t,e){t(e,2,0,e.component.text)}))}function bS(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"div",[["class","wrapper"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,1).show()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,1)._handleTouchend()&&i),i}),null,null)),ur(1,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"],tooltipClass:[1,"tooltipClass"]},null),sl(2,{"tooltip-word-break":0}),(t()(),Ko(16777216,null,null,1,null,yS)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,vS)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=n.short&&n.showTooltip?n.text:"",r=t(e,2,0,!0);t(e,1,0,i,r),t(e,4,0,n.short),t(e,6,0,!n.short)}),null)}var wS=function(){function t(t){this.snackbarService=t,this.short=!1,this.shortTextLength=5}return t.prototype.onCopyToClipboardClicked=function(){this.snackbarService.showDone("copy.copied")},t}(),kS=Xn({encapsulation:0,styles:[[".cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]::after{content:'';display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.ml-3\\.5[_ngcontent-%COMP%]{margin-left:1.25rem!important}.mr-3\\.5[_ngcontent-%COMP%]{margin-right:1.25rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}"]],data:{}});function xS(t){return pl(0,[(t()(),Go(0,16777216,null,null,11,"div",[["class","wrapper highlight-internal-icon"]],null,[[null,"copyEvent"],[null,"longpress"],[null,"keydown"],[null,"touchend"],[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,1).show()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,1)._handleTouchend()&&i),"click"===e&&(i=!1!==Zi(t,5).copyToClipboard()&&i),"copyEvent"===e&&(i=!1!==r.onCopyToClipboardClicked()&&i),i}),null,null)),ur(1,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"],tooltipClass:[1,"tooltipClass"]},null),sl(2,{text:0}),cr(131072,qg,[Wg,De]),sl(4,{"tooltip-word-break":0}),ur(5,147456,null,0,mS,[fS],{value:[0,"value"]},{copyEvent:"copyEvent"}),(t()(),Go(6,0,null,null,1,"app-truncated-text",[],null,null,null,bS,_S)),ur(7,49152,null,0,gS,[],{short:[0,"short"],showTooltip:[1,"showTooltip"],text:[2,"text"],shortTextLength:[3,"shortTextLength"]},null),(t()(),cl(-1,null,["  "])),(t()(),Go(9,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(10,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["filter_none"]))],(function(t,e){var n=e.component,i=Jn(e,1,0,Zi(e,3).transform(n.short?"copy.tooltip-with-text":"copy.tooltip",t(e,2,0,n.text))),r=t(e,4,0,!0);t(e,1,0,i,r),t(e,5,0,n.text),t(e,7,0,n.short,!1,n.text,n.shortTextLength),t(e,10,0,!0)}),(function(t,e){t(e,9,0,Zi(e,10).inline,"primary"!==Zi(e,10).color&&"accent"!==Zi(e,10).color&&"warn"!==Zi(e,10).color)}))}var MS=n("kB5k"),SS=function(){function t(){}return t.prototype.transform=function(t,e){for(var n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=new MS.BigNumber(t),r=n[0],o=0;i.dividedBy(1024).isGreaterThan(1);)i=i.dividedBy(1024),r=n[o+=1];var l="";return e&&!e.showValue||(l=i.toFixed(2)),(!e||e.showValue&&e.showUnit)&&(l+=" "),e&&!e.showUnit||(l+=r),l},t}(),CS=n("WyAD"),LS=function(){function t(t){this.differ=t.find([]).create(null)}return t.prototype.ngAfterViewInit=function(){this.chart=new CS.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["#0B6DB0"],borderColor:["#0B6DB0"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}}}})},t.prototype.ngDoCheck=function(){this.differ.diff(this.data)&&this.chart&&this.chart.update()},t}(),DS=Xn({encapsulation:0,styles:[[".chart-container[_ngcontent-%COMP%]{position:relative;height:100px;width:100%;overflow:hidden;border-radius:10px}"]],data:{}});function TS(t){return pl(0,[Qo(671088640,1,{chartElement:0}),(t()(),Go(1,0,null,null,1,"div",[["class","chart-container"]],null,null,null,null,null)),(t()(),Go(2,0,[[1,0],["chart",1]],null,0,"canvas",[["height","100"]],null,null,null,null,null))],null,null)}var OS=function(){function t(){this.sendingTotal=0,this.receivingTotal=0,this.sendingHistory=[0,0,0,0,0,0,0,0,0,0],this.receivingHistory=[0,0,0,0,0,0,0,0,0,0],this.initialized=!1}return t.prototype.ngOnChanges=function(t){var e=t.transports.currentValue;if(e){if(this.sendingTotal=e.reduce((function(t,e){return t+e.log.sent}),0),this.receivingTotal=e.reduce((function(t,e){return t+e.log.recv}),0),!this.initialized){for(var n=0;n<10;n++)this.sendingHistory[n]=this.sendingTotal,this.receivingHistory[n]=this.receivingTotal;this.initialized=!0}}else this.sendingTotal=0,this.receivingTotal=0;this.sendingHistory.push(this.sendingTotal),this.receivingHistory.push(this.receivingTotal),this.sendingHistory.length>10&&(this.sendingHistory.splice(0,this.sendingHistory.length-10),this.receivingHistory.splice(0,this.receivingHistory.length-10))},t}(),PS=Xn({encapsulation:0,styles:[[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]],data:{}});function ES(t){return pl(0,[cr(0,SS,[]),(t()(),Go(1,0,null,null,15,"div",[["class","chart"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,1,"app-line-chart",[],null,null,null,TS,DS)),ur(3,4505600,null,0,LS,[Cn],{data:[0,"data"]},null),(t()(),Go(4,0,null,null,12,"div",[["class","info"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"span",[["class","text"]],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(8,0,null,null,8,"span",[["class","rate"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,3,"span",[["class","value"]],null,null,null,null,null)),(t()(),cl(10,null,["",""])),sl(11,{showValue:0}),ll(12,2),(t()(),Go(13,0,null,null,3,"span",[["class","unit"]],null,null,null,null,null)),(t()(),cl(14,null,["",""])),sl(15,{showUnit:0}),ll(16,2),(t()(),Go(17,0,null,null,15,"div",[["class","chart"]],null,null,null,null,null)),(t()(),Go(18,0,null,null,1,"app-line-chart",[],null,null,null,TS,DS)),ur(19,4505600,null,0,LS,[Cn],{data:[0,"data"]},null),(t()(),Go(20,0,null,null,12,"div",[["class","info"]],null,null,null,null,null)),(t()(),Go(21,0,null,null,2,"span",[["class","text"]],null,null,null,null,null)),(t()(),cl(22,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,null,8,"span",[["class","rate"]],null,null,null,null,null)),(t()(),Go(25,0,null,null,3,"span",[["class","value"]],null,null,null,null,null)),(t()(),cl(26,null,["",""])),sl(27,{showValue:0}),ll(28,2),(t()(),Go(29,0,null,null,3,"span",[["class","unit"]],null,null,null,null,null)),(t()(),cl(30,null,["",""])),sl(31,{showUnit:0}),ll(32,2)],(function(t,e){var n=e.component;t(e,3,0,n.sendingHistory),t(e,19,0,n.receivingHistory)}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("common.uploaded")));var i=Jn(e,10,0,t(e,12,0,Zi(e,0),n.sendingTotal,t(e,11,0,!0)));t(e,10,0,i);var r=Jn(e,14,0,t(e,16,0,Zi(e,0),n.sendingTotal,t(e,15,0,!0)));t(e,14,0,r),t(e,22,0,Jn(e,22,0,Zi(e,23).transform("common.downloaded")));var o=Jn(e,26,0,t(e,28,0,Zi(e,0),n.receivingTotal,t(e,27,0,!0)));t(e,26,0,o);var l=Jn(e,30,0,t(e,32,0,Zi(e,0),n.receivingTotal,t(e,31,0,!0)));t(e,30,0,l)}))}var IS=function(){function t(e,n,i,r,o,l){var a=this;this.storageService=e,this.nodeService=n,this.route=i,this.ngZone=r,this.snackbarService=o,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,t.nodeSubject=new qf(1),t.currentInstanceInternal=this,this.navigationsSubscription=l.events.subscribe((function(e){e.urlAfterRedirects&&(t.currentNodeKey=a.route.snapshot.params.key,a.lastUrl=e.urlAfterRedirects,a.updateTabBar())}))}return t.refreshCurrentDisplayedData=function(){t.currentInstanceInternal&&t.currentInstanceInternal.refresh(0)},t.getCurrentNodeKey=function(){return t.currentNodeKey},Object.defineProperty(t,"currentNode",{get:function(){return t.nodeSubject.asObservable()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.refresh(0),this.ngZone.runOutsideAngular((function(){t.updateTimeSubscription=Af(5e3,5e3).subscribe((function(){return t.ngZone.run((function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)}))}))}))},t.prototype.updateTabBar=function(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1;else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1;var e="transports";this.lastUrl.includes("/routes")?e="routes":this.lastUrl.includes("/apps-list")&&(e="apps.apps-list"),this.titleParts=["nodes.title","node.title",e+".title"],this.tabsData=[{icon:"view_headline",label:e+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]},t.prototype.refresh=function(e,n){var i=this;void 0===n&&(n=!1),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.ngZone.runOutsideAngular((function(){i.dataSubscription=Hs(1).pipe(dx(e),Pu((function(){return i.ngZone.run((function(){return i.updating=!0}))})),dx(120),B((function(){return i.nodeService.getNode(t.currentNodeKey)}))).subscribe((function(e){i.ngZone.run((function(){i.node=e,t.nodeSubject.next(e),i.snackbarService.closeCurrentIfTemporaryError(),i.lastUpdate=Date.now(),i.secondsSinceLastUpdate=0,i.updating=!1,i.errorsUpdating=!1,n&&i.snackbarService.showDone("common.refreshed",null),i.refresh(1e3*i.storageService.getRefreshTime())}))}),(function(t){t=Up(t),i.ngZone.run((function(){t.originalError&&400===t.originalError.status?i.notFound=!0:(i.errorsUpdating||i.snackbarService.showError(i.node?"node.error-load":"common.loading-error",null,!0,t),i.updating=!1,i.errorsUpdating=!0,i.refresh(i.node?1e3*i.storageService.getRefreshTime():3e3,n))}))}))}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),t.currentInstanceInternal=void 0,t.currentNodeKey=void 0,t.nodeSubject.complete(),t.nodeSubject=void 0},t}(),YS=function(){function t(t){this.dialog=t}return Object.defineProperty(t.prototype,"nodeInfo",{set:function(t){this.node=t,this.timeOnline=yM.getElapsedTime(t.seconds_online)},enumerable:!0,configurable:!0}),t.prototype.showEditLabelDialog=function(){UM.openDialog(this.dialog,this.node).afterClosed().subscribe((function(t){t&&IS.refreshCurrentDisplayedData()}))},t}(),AS=Xn({encapsulation:0,styles:[[".section-title[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0;margin:1rem 0;border-top:1px solid rgba(255,255,255,.44)}"]],data:{}});function RS(t){return pl(0,[(t()(),Go(0,16777216,null,null,5,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),i}),Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),sl(3,{time:0}),cr(131072,qg,[Wg,De]),(t()(),cl(-1,0,[" info "])),(t()(),Ko(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,!0);var i=Jn(e,2,0,Zi(e,4).transform("node.details.node-info.time.minutes",t(e,3,0,n.timeOnline.totalMinutes)));t(e,2,0,i)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function jS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-green"]],null,null,null,null,null))],null,null)}function FS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red"]],null,null,null,null,null))],null,null)}function NS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-green"]],null,null,null,null,null))],null,null)}function HS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red"]],null,null,null,null,null))],null,null)}function zS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-green"]],null,null,null,null,null))],null,null)}function VS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red"]],null,null,null,null,null))],null,null)}function BS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-green"]],null,null,null,null,null))],null,null)}function WS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red"]],null,null,null,null,null))],null,null)}function US(t){return pl(0,[(t()(),Go(0,0,null,null,96,"div",[["class","font-smaller d-flex flex-column mt-4.5"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,43,"div",[["class","d-flex flex-column"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"span",[["class","section-title"]],null,null,null,null,null)),(t()(),cl(3,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,null,8,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(6,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(7,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(9,0,null,null,4,"span",[["class","highlight-internal-icon"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.showEditLabelDialog()&&i),i}),null,null)),(t()(),cl(10,null,[" "," "])),(t()(),Go(11,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(12,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["edit"])),(t()(),Go(14,0,null,null,5,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(15,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(16,null,[""," "])),cr(131072,qg,[Wg,De]),(t()(),Go(18,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(19,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(20,0,null,null,5,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(21,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(22,null,[""," "])),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(25,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(26,0,null,null,4,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(27,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(28,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(30,null,[" "," "])),(t()(),Go(31,0,null,null,4,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(32,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(33,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(35,null,[" "," "])),(t()(),Go(36,0,null,null,8,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(37,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(38,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(40,null,[" "," "])),sl(41,{time:0}),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,RS)),ur(44,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(45,0,null,null,0,"div",[["class","separator"]],null,null,null,null,null)),(t()(),Go(46,0,null,null,43,"div",[["class","d-flex flex-column"]],null,null,null,null,null)),(t()(),Go(47,0,null,null,2,"span",[["class","section-title"]],null,null,null,null,null)),(t()(),cl(48,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(50,0,null,null,9,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(51,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(52,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,jS)),ur(55,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,FS)),ur(57,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(58,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(60,0,null,null,9,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(61,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(62,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,NS)),ur(65,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,HS)),ur(67,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(68,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(70,0,null,null,9,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(71,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(72,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,zS)),ur(75,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,VS)),ur(77,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(78,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(80,0,null,null,9,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(81,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(82,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,BS)),ur(85,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,WS)),ur(87,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(88,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(90,0,null,null,0,"div",[["class","separator"]],null,null,null,null,null)),(t()(),Go(91,0,null,null,5,"div",[["class","d-flex flex-column"]],null,null,null,null,null)),(t()(),Go(92,0,null,null,2,"span",[["class","section-title"]],null,null,null,null,null)),(t()(),cl(93,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(95,0,null,null,1,"app-charts",[["class","d-flex flex-column justify-content-end"]],null,null,null,ES,PS)),ur(96,573440,null,0,OS,[],{transports:[0,"transports"]},null)],(function(t,e){var n=e.component;t(e,12,0,!0),t(e,19,0,Si(1,"",n.node.local_pk,"")),t(e,25,0,Si(1,"",n.node.port,"")),t(e,44,0,n.timeOnline.totalMinutes>60),t(e,55,0,n.node.health.status&&200===n.node.health.status),t(e,57,0,!n.node.health.status||200!==n.node.health.status),t(e,65,0,n.node.health.transport_discovery&&200===n.node.health.transport_discovery),t(e,67,0,!n.node.health.transport_discovery||200!==n.node.health.transport_discovery),t(e,75,0,n.node.health.route_finder&&200===n.node.health.route_finder),t(e,77,0,!n.node.health.route_finder||200!==n.node.health.route_finder),t(e,85,0,n.node.health.setup_node&&200===n.node.health.setup_node),t(e,87,0,!n.node.health.setup_node||200!==n.node.health.setup_node),t(e,96,0,n.node.transports)}),(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("node.details.node-info.title"))),t(e,7,0,Jn(e,7,0,Zi(e,8).transform("node.details.node-info.label"))),t(e,10,0,n.node.label),t(e,11,0,Zi(e,12).inline,"primary"!==Zi(e,12).color&&"accent"!==Zi(e,12).color&&"warn"!==Zi(e,12).color),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("node.details.node-info.public-key"))),t(e,22,0,Jn(e,22,0,Zi(e,23).transform("node.details.node-info.port"))),t(e,28,0,Jn(e,28,0,Zi(e,29).transform("node.details.node-info.node-version"))),t(e,30,0,n.node.build_info.version),t(e,33,0,Jn(e,33,0,Zi(e,34).transform("node.details.node-info.app-protocol-version"))),t(e,35,0,n.node.app_protocol_version),t(e,38,0,Jn(e,38,0,Zi(e,39).transform("node.details.node-info.time.title")));var i=Jn(e,40,0,Zi(e,42).transform("node.details.node-info.time."+n.timeOnline.translationVarName,t(e,41,0,n.timeOnline.elapsedTime)));t(e,40,0,i),t(e,48,0,Jn(e,48,0,Zi(e,49).transform("node.details.node-health.title"))),t(e,52,0,Jn(e,52,0,Zi(e,53).transform("node.details.node-health.status"))),t(e,58,0,n.node.health.status?n.node.health.status:Jn(e,58,0,Zi(e,59).transform("node.details.node-health.element-offline"))),t(e,62,0,Jn(e,62,0,Zi(e,63).transform("node.details.node-health.transport-discovery"))),t(e,68,0,n.node.health.transport_discovery?n.node.health.transport_discovery:Jn(e,68,0,Zi(e,69).transform("node.details.node-health.element-offline"))),t(e,72,0,Jn(e,72,0,Zi(e,73).transform("node.details.node-health.route-finder"))),t(e,78,0,n.node.health.route_finder?n.node.health.route_finder:Jn(e,78,0,Zi(e,79).transform("node.details.node-health.element-offline"))),t(e,82,0,Jn(e,82,0,Zi(e,83).transform("node.details.node-health.setup-node"))),t(e,88,0,n.node.health.setup_node?n.node.health.setup_node:Jn(e,88,0,Zi(e,89).transform("node.details.node-health.element-offline"))),t(e,93,0,Jn(e,93,0,Zi(e,94).transform("node.details.node-traffic-data")))}))}function qS(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,US)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.node)}),null)}var KS=function(){function t(t,e){this.data=t,this.dialogRef=e}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.mediumModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){},t}(),GS=function(){function t(t,e,n,i){this.data=t,this.renderer=e,this.apiService=n,this.translate=i,this.history=[],this.historyIndex=0,this.currentInputText=""}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.largeModalWidth,e.open(t,i)},t.prototype.keyEvent=function(t){this.terminal.hasFocus()&&this.history.length>0&&(38===t.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===t.keyCode&&(this.historyIndex=this.historyIndex/g,">")).replace(/\n/g,"
")).replace(/\t/g," ")).replace(/ /g," "),this.terminal.print(n),setTimeout((function(){e.dialogContentElement.nativeElement.scrollTop=e.dialogContentElement.nativeElement.scrollHeight}))},t}(),JS=function(){function t(t,e,n,i,r,o){this.dialog=t,this.router=e,this.snackbarService=n,this.sidenavService=i,this.nodeService=r,this.translateService=o}return Object.defineProperty(t.prototype,"showingFullList",{set:function(t){this.showingFullListInternal=t,this.updateMenu()},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;this.nodeSubscription=IS.currentNode.subscribe((function(e){t.currentNode=e})),this.updateMenu()},t.prototype.updateMenu=function(){var t=this;setTimeout((function(){t.menuSubscription=t.sidenavService.setContents([{name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"},{name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"},{name:"actions.menu.update",actionName:"update",icon:"get_app"}],[{name:t.showingFullListInternal?"node.title":"nodes.title",actionName:"back",icon:"chevron_left"}]).subscribe((function(e){"terminal"===e?t.terminal():"config"===e?t.configuration():"update"===e?t.update():"reboot"===e?t.reboot():"back"===e&&t.back()}))}))},t.prototype.ngOnDestroy=function(){this.nodeSubscription&&this.nodeSubscription.unsubscribe(),this.menuSubscription&&this.menuSubscription.unsubscribe(),this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()},t.prototype.reboot=function(){var t=this,e=JM.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing(),t.rebootSubscription=t.nodeService.reboot(IS.getCurrentNodeKey()).subscribe((function(){t.snackbarService.showDone("actions.reboot.done"),e.close()}),(function(t){t=Up(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)}))}))},t.prototype.update=function(){var t=this,e=new Mb;e.data={text:"actions.update.processing",headerText:"actions.update.title",confirmButtonText:"actions.update.processing-button",disableDismiss:!0},e.autoFocus=!1,e.width=Dg.smallModalWidth;var n=this.dialog.open(GM,e);setTimeout((function(){return n.componentInstance.showProcessing()})),this.updateSubscription=this.nodeService.checkUpdate(IS.getCurrentNodeKey()).subscribe((function(e){if(e&&e.available){var i={text:t.translateService.instant("actions.update.update-available",{currentVersion:e.current_version,newVersion:e.available_version}),headerText:"actions.update.title",confirmButtonText:"actions.update.install",cancelButtonText:"common.cancel"};setTimeout((function(){n.componentInstance.showAsking(i)}))}else if(e){var r=t.translateService.instant("actions.update.no-update",{version:e.current_version});setTimeout((function(){n.componentInstance.showDone(null,r)}))}else setTimeout((function(){n.componentInstance.showDone("confirmation.error-header-text","common.operation-error")}))}),(function(t){t=Up(t),setTimeout((function(){n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)}))})),n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),t.updateSubscription=t.nodeService.update(IS.getCurrentNodeKey()).subscribe((function(e){e&&e.updated?(t.snackbarService.showDone("actions.update.done"),n.close()):n.componentInstance.showDone("confirmation.error-header-text","actions.update.update-error")}),(function(t){t=Up(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)}))}))},t.prototype.configuration=function(){KS.openDialog(this.dialog,{})},t.prototype.terminal=function(){var t=this;ZM.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}]).afterClosed().subscribe((function(e){if(1===e){var n=window.location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8080");window.open(n+"//"+i+"/pty/"+IS.getCurrentNodeKey(),"_blank","noopener noreferrer")}else 2===e&&GS.openDialog(t.dialog,{pk:IS.getCurrentNodeKey(),label:t.currentNode?t.currentNode.label:""})}))},t.prototype.back=function(){this.router.navigate(this.showingFullListInternal?["nodes",IS.getCurrentNodeKey()]:["nodes"])},t}(),ZS=Xn({encapsulation:0,styles:[[""]],data:{}});function $S(t){return pl(0,[],null,null)}var XS=Xn({encapsulation:0,styles:[[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}"]],data:{}});function QS(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-loading-indicator",[],null,null,null,HM,NM)),ur(1,49152,null,0,FM,[],null,null)],null,null)}function tC(t){return pl(0,[(t()(),Go(0,0,null,null,6,"div",[["class","w-100 h-100 d-flex not-found-label"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(3,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["error"])),(t()(),cl(5,null,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,!0)}),(function(t,e){t(e,2,0,Zi(e,3).inline,"primary"!==Zi(e,3).color&&"accent"!==Zi(e,3).color&&"warn"!==Zi(e,3).color),t(e,5,0,Jn(e,5,0,Zi(e,6).transform("node.not-found")))}))}function eC(t){return pl(0,[(t()(),Go(0,0,null,null,7,"div",[["class","flex-column h-100 w-100"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,1,"app-tab-bar",[],null,null,null,jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],showUpdateButton:[3,"showUpdateButton"]},null),(t()(),Ko(16777216,null,null,1,null,QS)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,tC)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.titleParts,n.tabsData,n.selectedTabIndex,!1),t(e,5,0,!n.notFound),t(e,7,0,n.notFound)}),null)}function nC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-info-content",[],null,null,null,qS,AS)),ur(1,49152,null,0,YS,[Ib],{nodeInfo:[0,"nodeInfo"]},null)],(function(t,e){t(e,1,0,e.component.node)}),null)}function iC(t){return pl(0,[(t()(),Go(0,0,null,null,16,"div",[["class","row"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","col-12"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,1,"app-tab-bar",[],null,[[null,"refreshRequested"]],(function(t,e,n){var i=!0;return"refreshRequested"===e&&(i=!1!==t.component.refresh(0,!0)&&i),i}),jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],secondsSinceLastUpdate:[3,"secondsSinceLastUpdate"],showLoading:[4,"showLoading"],showAlert:[5,"showAlert"],refeshRate:[6,"refeshRate"]},{refreshRequested:"refreshRequested"}),(t()(),Go(4,0,null,null,6,"div",[["class","col-12"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"col-lg-8":0}),(t()(),Go(8,0,null,null,2,"div",[["class","d-flex flex-column h-100"]],null,null,null,null,null)),(t()(),Go(9,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ur(10,212992,null,0,mp,[fp,In,nn,[8,null],De],null,null),(t()(),Go(11,0,null,null,5,"div",[["class","d-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(13,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(14,{"col-4 d-lg-block":0}),(t()(),Ko(16777216,null,null,1,null,nC)),ur(16,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.titleParts,n.tabsData,n.selectedTabIndex,n.secondsSinceLastUpdate,n.updating,n.errorsUpdating,n.storageService.getRefreshTime());var i=t(e,7,0,!n.showingInfo&&!n.showingFullList);t(e,6,0,"col-12",i),t(e,10,0);var r=t(e,14,0,!n.showingInfo&&!n.showingFullList);t(e,13,0,"d-none",r),t(e,16,0,!n.showingInfo&&!n.showingFullList)}),null)}function rC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-actions",[],null,null,null,$S,ZS)),ur(1,4374528,null,0,JS,[Ib,cp,Lg,Xx,WM,Wg],{showingFullList:[0,"showingFullList"]},null),(t()(),Ko(16777216,null,null,1,null,eC)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,iC)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.showingFullList),t(e,3,0,!n.node),t(e,5,0,n.node)}),null)}function oC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node",[],null,null,null,rC,XS)),ur(1,245760,null,0,IS,[Fp,WM,th,co,Lg,cp],null,null)],(function(t,e){t(e,1,0)}),null)}var lC=Ni("app-node",IS,oC,{},{},[]),aC=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.node=e}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),sC=Xn({encapsulation:0,styles:[[""]],data:{}});function uC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-info-content",[],null,null,null,qS,AS)),ur(1,49152,null,0,YS,[Ib],{nodeInfo:[0,"nodeInfo"]},null)],(function(t,e){t(e,1,0,e.component.node)}),null)}function cC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-info",[],null,null,null,uC,sC)),ur(1,245760,null,0,aC,[],null,null)],(function(t,e){t(e,1,0)}),null)}var dC=Ni("app-node-info",aC,cC,{},{},[]),hC=function(){function t(t,e){this.data=t,this.dialogRef=e,this.options=[];for(var n=0;n3),t(e,10,0,n.currentPage>2),t(e,12,0,n.currentPage>1),t(e,14,0,n.currentPage>2),t(e,16,0,n.currentPage>1),t(e,20,0,n.currentPage3),t(e,32,0,n.numberOfPages>2)}),(function(t,e){t(e,18,0,e.component.currentPage)}))}var DC=new St("mat-checkbox-click-action"),TC=0,OC=function(){var t={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return t[t.Init]="Init",t[t.Checked]="Checked",t[t.Unchecked]="Unchecked",t[t.Indeterminate]="Indeterminate",t}(),PC=function(){return function(){}}(),EC=function(t){function e(e,n,i,r,o,l,a){var s=t.call(this,e)||this;return s._changeDetectorRef=n,s._focusMonitor=i,s._ngZone=r,s._clickAction=l,s._animationMode=a,s.ariaLabel="",s.ariaLabelledby=null,s._uniqueId="mat-checkbox-"+ ++TC,s.id=s._uniqueId,s.labelPosition="after",s.name=null,s.change=new Yr,s.indeterminateChange=new Yr,s._onTouched=function(){},s._currentAnimationClass="",s._currentCheckState=OC.Init,s._controlValueAccessorChangeFn=function(){},s._checked=!1,s._disabled=!1,s._indeterminate=!1,s.tabIndex=parseInt(o)||0,s._focusMonitor.monitor(e,!0).subscribe((function(t){t||Promise.resolve().then((function(){s._onTouched(),n.markForCheck()}))})),s}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=ff(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){var e=ff(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=t,e&&(this._transitionCheckState(this._indeterminate?OC.Indeterminate:this.checked?OC.Checked:OC.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},e.prototype._transitionCheckState=function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){n.classList.remove(i)}),1e3)}))}},e.prototype._emitChangeEvent=function(){var t=new PC;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputClick=function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?OC.Checked:OC.Unchecked),this._emitChangeEvent())},e.prototype.focus=function(t,e){void 0===t&&(t="keyboard"),this._focusMonitor.focusVia(this._inputElement,t,e)},e.prototype._onInteractionEvent=function(t){t.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case OC.Init:if(e===OC.Checked)n="unchecked-checked";else{if(e!=OC.Indeterminate)return"";n="unchecked-indeterminate"}break;case OC.Unchecked:n=e===OC.Checked?"unchecked-checked":"unchecked-indeterminate";break;case OC.Checked:n=e===OC.Unchecked?"checked-unchecked":"checked-indeterminate";break;case OC.Indeterminate:n=e===OC.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n},e}(s_(l_(a_(o_(function(){return function(t){this._elementRef=t}}())),"accent"))),IC=function(){return function(){}}(),YC=function(){return function(){}}(),AC=function(){function t(){}return t.prototype.create=function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)},t.ngInjectableDef=ht({factory:function(){return new t},token:t,providedIn:"root"}),t}(),RC=function(){function t(t){this._mutationObserverFactory=t,this._observedElements=new Map}return t.prototype.ngOnDestroy=function(){var t=this;this._observedElements.forEach((function(e,n){return t._cleanupObserver(n)}))},t.prototype.observe=function(t){var e=this,n=vf(t);return new w((function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}}))},t.prototype._observeElement=function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new C,n=this._mutationObserverFactory.create((function(t){return e.next(t)}));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream},t.prototype._unobserveElement=function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))},t.prototype._cleanupObserver=function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,i=e.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(t)}},t.ngInjectableDef=ht({factory:function(){return new t(At(AC))},token:t,providedIn:"root"}),t}(),jC=function(){function t(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new Yr,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=ff(t),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"debounce",{get:function(){return this._debounce},set:function(t){this._debounce=mf(t),this._subscribe()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},t.prototype.ngOnDestroy=function(){this._unsubscribe()},t.prototype._subscribe=function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){t._currentSubscription=(t.debounce?e.pipe(Fm(t.debounce)):e).subscribe(t.event)}))},t.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},t}(),FC=function(){return function(){}}(),NC=Xn({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}});function HC(t){return pl(2,[Qo(671088640,1,{_inputElement:0}),Qo(671088640,2,{ripple:0}),(t()(),Go(2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(t()(),Go(3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(t()(),Go(4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"change"===e&&(i=!1!==r._onInteractionEvent(n)&&i),"click"===e&&(i=!1!==r._onInputClick(n)&&i),i}),null,null)),(t()(),Go(5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(6,212992,[[2,4]],0,S_,[an,co,Zf,[2,M_],[2,ub]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),sl(7,{enterDuration:0}),(t()(),Go(8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(t()(),Go(10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(t()(),Go(11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),Go(12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(t()(),Go(14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component._onLabelTextChange()&&i),i}),null,null)),ur(15,1196032,null,0,jC,[RC,an,co],null,{event:"cdkObserveContent"}),(t()(),Go(16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),cl(-1,null,[" "])),rl(null,0)],(function(t,e){var n=e.component,i=t(e,7,0,150);t(e,6,0,!0,20,i,n._isRippleDisabled(),Zi(e,2))}),(function(t,e){var n=e.component;t(e,2,0,n.inputId),t(e,3,0,!Zi(e,14).textContent||!Zi(e,14).textContent.trim()),t(e,4,1,[n.inputId,n.required,n.checked,n.value,n.disabled,n.name,n.tabIndex,n.indeterminate,n.ariaLabel||null,n.ariaLabelledby,n._getAriaChecked()]),t(e,5,0,Zi(e,6).unbounded)}))}var zC=function(){return function(){this.numberOfElements=0,this.linkParts=[""]}}(),VC=Xn({encapsulation:0,styles:[[".main-container[_ngcontent-%COMP%]{padding-top:10px;margin-bottom:-6px;border-top:1px solid rgba(0,0,0,.12);text-align:right;font-size:.875rem}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]],data:{}});function BC(t){return pl(0,[(t()(),Go(0,0,null,null,8,"div",[["class","main-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,7,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),ur(2,671744,null,0,dp,[cp,th,Da],{routerLink:[0,"routerLink"]},null),(t()(),cl(3,null,[" "," "])),sl(4,{number:0}),cr(131072,qg,[Wg,De]),(t()(),Go(6,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(7,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["chevron_right"]))],(function(t,e){t(e,2,0,e.component.linkParts),t(e,7,0,!0)}),(function(t,e){var n=e.component;t(e,1,0,Zi(e,2).target,Zi(e,2).href);var i=Jn(e,3,0,Zi(e,5).transform("view-all-link.label",t(e,4,0,n.numberOfElements)));t(e,3,0,i),t(e,6,0,Zi(e,7).inline,"primary"!==Zi(e,7).color&&"accent"!==Zi(e,7).color&&"warn"!==Zi(e,7).color)}))}var WC=function(){function t(t,e,n,i){this.transportService=t,this.formBuilder=e,this.dialogRef=n,this.snackbarService=i,this.shouldShowError=!0}return t.openDialog=function(e){var n=new Mb;return n.autoFocus=!1,n.width=Dg.mediumModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){this.form=this.formBuilder.group({remoteKey:["",sw.compose([sw.required,sw.minLength(66),sw.maxLength(66),sw.pattern("^[0-9a-fA-F]+$")])],type:["",sw.required]}),this.loadData(0)},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.create=function(){this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.operationSubscription=this.transportService.create(IS.getCurrentNodeKey(),this.form.get("remoteKey").value,this.form.get("type").value).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))},t.prototype.onSuccess=function(){IS.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.dialog.success"),this.dialogRef.close()},t.prototype.onError=function(t){this.button.showError(),t=Up(t),this.snackbarService.showError(t)},t.prototype.loadData=function(t){var e=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=Hs(1).pipe(dx(t),B((function(){return e.transportService.types(IS.getCurrentNodeKey())}))).subscribe((function(t){e.snackbarService.closeCurrentIfTemporaryError(),setTimeout((function(){return e.firstInput.nativeElement.focus()})),e.types=t,e.form.get("type").setValue(t[0])}),(function(t){t=Up(t),e.shouldShowError&&(e.snackbarService.showError("common.loading-error",null,!0,t),e.shouldShowError=!1),e.loadData(3e3)}))},t}(),UC=function(){function t(t){this.data=t}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.largeModalWidth,e.open(t,i)},t}(),qC=function(t){return t.Id="transports.id",t.RemotePk="transports.remote",t.Type="transports.type",t.Uploaded="common.uploaded",t.Downloaded="common.downloaded",t}({}),KC=function(){function t(t,e,n,i){var r=this;this.dialog=t,this.transportService=e,this.route=n,this.snackbarService=i,this.sortableColumns=qC,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.operationSubscriptionsGroup=[],this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),r.currentPageInUrl=e,r.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"sortBy",{get:function(){return t.sortByInternal},set:function(e){t.sortByInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortReverse",{get:function(){return t.sortReverseInternal},set:function(e){t.sortReverseInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transports",{set:function(t){this.allTransports=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()}))},t.prototype.changeSelection=function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)},t.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach((function(e){e&&(t=!0)})),t},t.prototype.changeAllSelections=function(t){var e=this;this.selections.forEach((function(n,i){e.selections.set(i,t)}))},t.prototype.deleteSelected=function(){var t=this,e=JM.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing();var n=[];t.selections.forEach((function(t,e){t&&n.push(e)})),t.deleteRecursively(n,e)}))},t.prototype.create=function(){WC.openDialog(this.dialog)},t.prototype.showOptionsDialog=function(t){var e=this;ZM.openDialog(this.dialog,[{icon:"visibility",label:"transports.details.title"},{icon:"close",label:"transports.delete"}]).afterClosed().subscribe((function(n){1===n?e.details(t):2===n&&e.delete(t.id)}))},t.prototype.details=function(t){UC.openDialog(this.dialog,t)},t.prototype.delete=function(t){var e=this,n=JM.createConfirmationDialog(this.dialog,"transports.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.operationSubscriptionsGroup.push(e.startDeleting(t).subscribe((function(){n.close(),IS.refreshCurrentDisplayedData(),e.snackbarService.showDone("transports.deleted")}),(function(t){t=Up(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))}))},t.prototype.changeSortingOrder=function(t){this.sortBy!==t?(this.sortBy=t,this.sortReverse=!1):this.sortReverse=!this.sortReverse,this.recalculateElementsToShow()},t.prototype.openSortingOrderModal=function(){var t=this,e=Object.keys(qC),n=new Map,i=e.map((function(t){var e=qC[t];return n.set(e,qC[t]),e}));qM.openDialog(this.dialog,i).afterClosed().subscribe((function(e){e&&(!n.has(e.label)||e.sortReverse===t.sortReverse&&n.get(e.label)===t.sortBy||(t.sortBy=n.get(e.label),t.sortReverse=e.sortReverse,t.recalculateElementsToShow()))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.allTransports){this.allTransports.sort((function(e,n){var i,r=e.id.localeCompare(n.id);return 0!==(i=t.sortBy===qC.Id?t.sortReverse?n.id.localeCompare(e.id):e.id.localeCompare(n.id):t.sortBy===qC.RemotePk?t.sortReverse?n.remote_pk.localeCompare(e.remote_pk):e.remote_pk.localeCompare(n.remote_pk):t.sortBy===qC.Type?t.sortReverse?n.type.localeCompare(e.type):e.type.localeCompare(n.type):t.sortBy===qC.Uploaded?t.sortReverse?e.log.sent-n.log.sent:n.log.sent-e.log.sent:t.sortBy===qC.Downloaded?t.sortReverse?e.log.recv-n.log.recv:n.log.recv-e.log.recv:r)?i:r}));var e=this.showShortList_?Dg.maxShortListElements:Dg.maxFullListElements;this.numberOfPages=Math.ceil(this.allTransports.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.transportsToShow=this.allTransports.slice(n,n+e);var i=new Map;this.transportsToShow.forEach((function(e){i.set(e.id,!0),t.selections.has(e.id)||t.selections.set(e.id,!1)}));var r=[];this.selections.forEach((function(t,e){i.has(e)||r.push(e)})),r.forEach((function(e){t.selections.delete(e)}))}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow},t.prototype.startDeleting=function(t){return this.transportService.delete(IS.getCurrentNodeKey(),t)},t.prototype.deleteRecursively=function(t,e){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe((function(){t.pop(),0===t.length?(e.close(),IS.refreshCurrentDisplayedData(),n.snackbarService.showDone("transports.deleted")):n.deleteRecursively(t,e)}),(function(t){IS.refreshCurrentDisplayedData(),t=Up(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))},t.sortByInternal=qC.Id,t.sortReverseInternal=!1,t}(),GC=Xn({encapsulation:0,styles:[[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.table-container[_ngcontent-%COMP%]{padding:0}}@media (max-width:767px){.full-list-table-container[_ngcontent-%COMP%]{padding:0}}"]],data:{}});function JC(t){return pl(0,[(t()(),Go(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("transports.title")))}))}function ZC(t){return pl(0,[(t()(),Go(0,16777216,null,null,3,"mat-icon",[["aria-haspopup","true"],["class","mat-icon notranslate mat-menu-trigger"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==Zi(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==Zi(t,2)._handleClick(n)&&i),i}),Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),ur(2,1196032,null,0,xx,[Pm,an,In,bx,[2,yx],[8,null],[2,W_],lg],{menu:[0,"menu"]},null),(t()(),cl(-1,0,["more_horiz"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0),t(e,2,0,Zi(e.parent,13))}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color,Zi(e,2).menuOpen||null)}))}function $C(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"transports");t(e,1,0,i,r,o)}),null)}function XC(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function QC(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function tL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function eL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function nL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function iL(t){return pl(0,[(t()(),Go(0,0,null,null,33,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"td",[["class","selection-col"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(4,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(5,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),Go(6,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(7,49152,null,0,wS,[Lg],{short:[0,"short"],text:[1,"text"]},null),(t()(),Go(8,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),Go(9,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(10,49152,null,0,wS,[Lg],{short:[0,"short"],text:[1,"text"]},null),(t()(),Go(11,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(12,null,[" "," "])),(t()(),Go(13,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),cl(14,null,[" "," "])),ll(15,1),(t()(),Go(16,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),cl(17,null,[" "," "])),ll(18,1),(t()(),Go(19,0,null,null,14,"td",[["class","actions"]],null,null,null,null,null)),(t()(),Go(20,16777216,null,null,6,"button",[["class","action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,22).show()&&i),"keydown"===e&&(i=!1!==Zi(t,22)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,22)._handleTouchend()&&i),"click"===e&&(i=!1!==r.details(t.context.$implicit)&&i),i}),pb,hb)),ur(21,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(22,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(25,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["visibility"])),(t()(),Go(27,16777216,null,null,6,"button",[["class","action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,29).show()&&i),"keydown"===e&&(i=!1!==Zi(t,29)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,29)._handleTouchend()&&i),"click"===e&&(i=!1!==r.delete(t.context.$implicit.id)&&i),i}),pb,hb)),ur(28,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(29,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(31,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(32,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["close"]))],(function(t,e){t(e,4,0,e.component.selections.get(e.context.$implicit.id)),t(e,7,0,!0,Si(1,"",e.context.$implicit.id,"")),t(e,10,0,!0,Si(1,"",e.context.$implicit.remote_pk,"")),t(e,22,0,Jn(e,22,0,Zi(e,23).transform("transports.details.title"))),t(e,25,0,!0),t(e,29,0,Jn(e,29,0,Zi(e,30).transform("transports.delete"))),t(e,32,0,!0)}),(function(t,e){t(e,2,0,Zi(e,4).id,null,Zi(e,4).indeterminate,Zi(e,4).checked,Zi(e,4).disabled,"before"==Zi(e,4).labelPosition,"NoopAnimations"===Zi(e,4)._animationMode),t(e,12,0,e.context.$implicit.type);var n=Jn(e,14,0,t(e,15,0,Zi(e.parent.parent,0),e.context.$implicit.log.sent));t(e,14,0,n);var i=Jn(e,17,0,t(e,18,0,Zi(e.parent.parent,0),e.context.$implicit.log.recv));t(e,17,0,i),t(e,20,0,Zi(e,21).disabled||null,"NoopAnimations"===Zi(e,21)._animationMode),t(e,24,0,Zi(e,25).inline,"primary"!==Zi(e,25).color&&"accent"!==Zi(e,25).color&&"warn"!==Zi(e,25).color),t(e,27,0,Zi(e,28).disabled||null,"NoopAnimations"===Zi(e,28)._animationMode),t(e,31,0,Zi(e,32).inline,"primary"!==Zi(e,32).color&&"accent"!==Zi(e,32).color&&"warn"!==Zi(e,32).color)}))}function rL(t){return pl(0,[(t()(),Go(0,0,null,null,47,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,46,"td",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,45,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,3,"div",[["class","check-part"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(6,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(7,0,null,null,31,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,6,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(13,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(14,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(15,0,null,null,6,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(16,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(17,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(20,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(21,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(22,0,null,null,4,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(23,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(24,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(26,null,[": "," "])),(t()(),Go(27,0,null,null,5,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(28,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(29,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(31,null,[": "," "])),ll(32,1),(t()(),Go(33,0,null,null,5,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(34,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(35,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(37,null,[": "," "])),ll(38,1),(t()(),Go(39,0,null,null,0,"div",[["class","margin-part"]],null,null,null,null,null)),(t()(),Go(40,0,null,null,7,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(41,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,43).show()&&i),"keydown"===e&&(i=!1!==Zi(t,43)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,43)._handleTouchend()&&i),"click"===e&&(n.stopPropagation(),i=!1!==r.showOptionsDialog(t.context.$implicit)&&i),i}),pb,hb)),ur(42,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(43,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(45,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(46,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(47,0,["",""]))],(function(t,e){t(e,6,0,e.component.selections.get(e.context.$implicit.id)),t(e,14,0,Si(1,"",e.context.$implicit.id,"")),t(e,21,0,Si(1,"",e.context.$implicit.remote_pk,"")),t(e,43,0,Jn(e,43,0,Zi(e,44).transform("common.options"))),t(e,46,0)}),(function(t,e){t(e,4,0,Zi(e,6).id,null,Zi(e,6).indeterminate,Zi(e,6).checked,Zi(e,6).disabled,"before"==Zi(e,6).labelPosition,"NoopAnimations"===Zi(e,6)._animationMode),t(e,10,0,Jn(e,10,0,Zi(e,11).transform("transports.id"))),t(e,17,0,Jn(e,17,0,Zi(e,18).transform("transports.remote-node"))),t(e,24,0,Jn(e,24,0,Zi(e,25).transform("transports.type"))),t(e,26,0,e.context.$implicit.type),t(e,29,0,Jn(e,29,0,Zi(e,30).transform("common.uploaded")));var n=Jn(e,31,0,t(e,32,0,Zi(e.parent.parent,0),e.context.$implicit.log.sent));t(e,31,0,n),t(e,35,0,Jn(e,35,0,Zi(e,36).transform("common.downloaded")));var i=Jn(e,37,0,t(e,38,0,Zi(e.parent.parent,0),e.context.$implicit.log.recv));t(e,37,0,i),t(e,41,0,Zi(e,42).disabled||null,"NoopAnimations"===Zi(e,42)._animationMode),t(e,45,0,Zi(e,46).inline,"primary"!==Zi(e,46).color&&"accent"!==Zi(e,46).color&&"warn"!==Zi(e,46).color),t(e,47,0,"add")}))}function oL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-view-all-link",[],null,null,null,BC,VC)),ur(1,49152,null,0,zC,[],{numberOfElements:[0,"numberOfElements"],linkParts:[1,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.allTransports.length,r=t(e,2,0,"/nodes",n.nodePK,"transports");t(e,1,0,i,r)}),null)}function lL(t){return pl(0,[(t()(),Go(0,0,null,null,60,"div",[["class","container-elevated-translucid mt-3 overflow"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"table-container":0,"full-list-table-container":1}),(t()(),Go(4,0,null,null,33,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-none d-md-table"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"d-lg-none d-xl-table":0}),(t()(),Go(8,0,null,null,27,"tr",[],null,null,null,null,null)),(t()(),Go(9,0,null,null,0,"th",[],null,null,null,null,null)),(t()(),Go(10,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Id)&&i),i}),null,null)),(t()(),cl(11,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,XC)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(15,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.RemotePk)&&i),i}),null,null)),(t()(),cl(16,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,QC)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(20,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Type)&&i),i}),null,null)),(t()(),cl(21,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,tL)),ur(24,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(25,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Uploaded)&&i),i}),null,null)),(t()(),cl(26,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,eL)),ur(29,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(30,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Downloaded)&&i),i}),null,null)),(t()(),cl(31,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,nL)),ur(34,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(35,0,null,null,0,"th",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,iL)),ur(37,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(38,0,null,null,20,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-md-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(40,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(41,{"d-lg-table d-xl-none":0}),(t()(),Go(42,0,null,null,14,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openSortingOrderModal()&&i),i}),null,null)),(t()(),Go(43,0,null,null,13,"td",[],null,null,null,null,null)),(t()(),Go(44,0,null,null,12,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(45,0,null,null,7,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(46,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(47,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(49,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),cl(50,null,[""," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),(t()(),Go(53,0,null,null,3,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(54,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(55,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"])),(t()(),Ko(16777216,null,null,1,null,rL)),ur(58,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,oL)),ur(60,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,n.showShortList_,!n.showShortList_);t(e,2,0,"container-elevated-translucid mt-3 overflow",i);var r=t(e,7,0,n.showShortList_);t(e,6,0,"responsive-table-translucid d-none d-md-table",r),t(e,14,0,n.sortBy===n.sortableColumns.Id),t(e,19,0,n.sortBy===n.sortableColumns.RemotePk),t(e,24,0,n.sortBy===n.sortableColumns.Type),t(e,29,0,n.sortBy===n.sortableColumns.Uploaded),t(e,34,0,n.sortBy===n.sortableColumns.Downloaded),t(e,37,0,n.dataSource);var o=t(e,41,0,n.showShortList_);t(e,40,0,"responsive-table-translucid d-md-none",o),t(e,55,0,!0),t(e,58,0,n.dataSource),t(e,60,0,n.showShortList_&&n.numberOfPages>1)}),(function(t,e){var n=e.component;t(e,11,0,Jn(e,11,0,Zi(e,12).transform("transports.id"))),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("transports.remote-node"))),t(e,21,0,Jn(e,21,0,Zi(e,22).transform("transports.type"))),t(e,26,0,Jn(e,26,0,Zi(e,27).transform("common.uploaded"))),t(e,31,0,Jn(e,31,0,Zi(e,32).transform("common.downloaded"))),t(e,47,0,Jn(e,47,0,Zi(e,48).transform("tables.sorting-title"))),t(e,50,0,Jn(e,50,0,Zi(e,51).transform(n.sortBy)),Jn(e,50,1,Zi(e,52).transform(n.sortReverse?"tables.descending-order":"tables.ascending-order"))),t(e,54,0,Zi(e,55).inline,"primary"!==Zi(e,55).color&&"accent"!==Zi(e,55).color&&"warn"!==Zi(e,55).color)}))}function aL(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"span",[["class","font-sm"]],null,null,null,null,null)),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("transports.empty")))}))}function sL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"transports");t(e,1,0,i,r,o)}),null)}function uL(t){return pl(0,[cr(0,SS,[]),(t()(),Go(1,0,null,null,29,"div",[["class","generic-title-container mt-4.5 d-flex"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"div",[["class","title uppercase ml-3.5"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,JC)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(5,16777216,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,7).show()&&i),"keydown"===e&&(i=!1!==Zi(t,7)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,7)._handleTouchend()&&i),"click"===e&&(i=!1!==r.create()&&i),i}),Xk,$k)),ur(6,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),ur(7,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,0,["add"])),(t()(),Ko(16777216,null,null,1,null,ZC)),ur(11,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(12,0,null,null,18,"mat-menu",[],null,null,null,Dx,Cx)),ur(13,1294336,[["selectionMenu",4]],3,vx,[an,co,_x],{overlapTrigger:[0,"overlapTrigger"]},null),Qo(603979776,1,{_allItems:1}),Qo(603979776,2,{items:1}),Qo(603979776,3,{lazyContent:0}),dr(2048,null,yx,null,[vx]),dr(2048,null,mx,null,[yx]),(t()(),Go(19,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!0)&&i),i}),Ox,Tx)),ur(20,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(21,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(23,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,24)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,24)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!1)&&i),i}),Ox,Tx)),ur(24,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(25,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(27,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,28)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,28)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteSelected()&&i),i}),Ox,Tx)),ur(28,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(29,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,$C)),ur(32,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,lL)),ur(34,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,aL)),ur(36,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,sL)),ur(38,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0,n.showShortList_),t(e,6,0),t(e,7,0,Jn(e,7,0,Zi(e,8).transform("transports.create"))),t(e,11,0,n.dataSource&&n.dataSource.length>0),t(e,13,0,!1),t(e,28,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,32,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource),t(e,34,0,n.dataSource&&n.dataSource.length>0),t(e,36,0,!n.dataSource||0===n.dataSource.length),t(e,38,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)}),(function(t,e){t(e,5,0,Zi(e,6).inline,"primary"!==Zi(e,6).color&&"accent"!==Zi(e,6).color&&"warn"!==Zi(e,6).color),t(e,19,0,Zi(e,20).role,Zi(e,20)._highlighted,Zi(e,20)._triggersSubmenu,Zi(e,20)._getTabIndex(),Zi(e,20).disabled.toString(),Zi(e,20).disabled||null),t(e,21,0,Jn(e,21,0,Zi(e,22).transform("selection.select-all"))),t(e,23,0,Zi(e,24).role,Zi(e,24)._highlighted,Zi(e,24)._triggersSubmenu,Zi(e,24)._getTabIndex(),Zi(e,24).disabled.toString(),Zi(e,24).disabled||null),t(e,25,0,Jn(e,25,0,Zi(e,26).transform("selection.unselect-all"))),t(e,27,0,Zi(e,28).role,Zi(e,28)._highlighted,Zi(e,28)._triggersSubmenu,Zi(e,28)._getTabIndex(),Zi(e,28).disabled.toString(),Zi(e,28).disabled||null),t(e,29,0,Jn(e,29,0,Zi(e,30).transform("selection.delete-all")))}))}var cL=function(){function t(t,e,n,i){this.data=t,this.routeService=e,this.dialogRef=n,this.snackbarService=i,this.shouldShowError=!0,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]])}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.largeModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){this.loadData(0)},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.prototype.getRuleTypeName=function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):t.toString()},t.prototype.closePopup=function(){this.dialogRef.close()},t.prototype.loadData=function(t){var e=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=Hs(1).pipe(dx(t),B((function(){return e.routeService.get(IS.getCurrentNodeKey(),e.data)}))).subscribe((function(t){e.snackbarService.closeCurrentIfTemporaryError(),e.routeRule=t}),(function(t){t=Up(t),e.shouldShowError&&(e.snackbarService.showError("common.loading-error",null,!0,t),e.shouldShowError=!1),e.loadData(3e3)}))},t}(),dL=function(t){return t.Key="routes.key",t.Rule="routes.rule",t}({}),hL=function(){function t(t,e,n,i){var r=this;this.routeService=t,this.dialog=e,this.route=n,this.snackbarService=i,this.sortableColumns=dL,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.operationSubscriptionsGroup=[],this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),r.currentPageInUrl=e,r.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"sortBy",{get:function(){return t.sortByInternal},set:function(e){t.sortByInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortReverse",{get:function(){return t.sortReverseInternal},set:function(e){t.sortReverseInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"routes",{set:function(t){this.allRoutes=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()}))},t.prototype.changeSelection=function(t){this.selections.get(t.key)?this.selections.set(t.key,!1):this.selections.set(t.key,!0)},t.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach((function(e){e&&(t=!0)})),t},t.prototype.changeAllSelections=function(t){var e=this;this.selections.forEach((function(n,i){e.selections.set(i,t)}))},t.prototype.deleteSelected=function(){var t=this,e=JM.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing();var n=[];t.selections.forEach((function(t,e){t&&n.push(e)})),t.deleteRecursively(n,e)}))},t.prototype.showOptionsDialog=function(t){var e=this;ZM.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}]).afterClosed().subscribe((function(n){1===n?e.details(t.key.toString()):2===n&&e.delete(t.key)}))},t.prototype.details=function(t){cL.openDialog(this.dialog,t)},t.prototype.delete=function(t){var e=this,n=JM.createConfirmationDialog(this.dialog,"routes.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.operationSubscriptionsGroup.push(e.startDeleting(t).subscribe((function(){n.close(),IS.refreshCurrentDisplayedData(),e.snackbarService.showDone("routes.deleted")}),(function(t){t=Up(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))}))},t.prototype.changeSortingOrder=function(t){this.sortBy!==t?(this.sortBy=t,this.sortReverse=!1):this.sortReverse=!this.sortReverse,this.recalculateElementsToShow()},t.prototype.openSortingOrderModal=function(){var t=this,e=Object.keys(dL),n=new Map,i=e.map((function(t){var e=dL[t];return n.set(e,dL[t]),e}));qM.openDialog(this.dialog,i).afterClosed().subscribe((function(e){e&&(!n.has(e.label)||e.sortReverse===t.sortReverse&&n.get(e.label)===t.sortBy||(t.sortBy=n.get(e.label),t.sortReverse=e.sortReverse,t.recalculateElementsToShow()))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.allRoutes){this.allRoutes.sort((function(e,n){var i,r=e.key-n.key;return 0!==(i=t.sortBy===dL.Key?t.sortReverse?n.key-e.key:e.key-n.key:t.sortBy===dL.Rule?t.sortReverse?n.rule.localeCompare(e.rule):e.rule.localeCompare(n.rule):r)?i:r}));var e=this.showShortList_?Dg.maxShortListElements:Dg.maxFullListElements;this.numberOfPages=Math.ceil(this.allRoutes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.routesToShow=this.allRoutes.slice(n,n+e);var i=new Map;this.routesToShow.forEach((function(e){i.set(e.key,!0),t.selections.has(e.key)||t.selections.set(e.key,!1)}));var r=[];this.selections.forEach((function(t,e){i.has(e)||r.push(e)})),r.forEach((function(e){t.selections.delete(e)}))}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow},t.prototype.startDeleting=function(t){return this.routeService.delete(IS.getCurrentNodeKey(),t.toString())},t.prototype.deleteRecursively=function(t,e){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe((function(){t.pop(),0===t.length?(e.close(),IS.refreshCurrentDisplayedData(),n.snackbarService.showDone("routes.deleted")):n.deleteRecursively(t,e)}),(function(t){IS.refreshCurrentDisplayedData(),t=Up(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))},t.sortByInternal=dL.Key,t.sortReverseInternal=!1,t}(),pL=Xn({encapsulation:0,styles:[[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.table-container[_ngcontent-%COMP%]{padding:0}}@media (max-width:767px){.full-list-table-container[_ngcontent-%COMP%]{padding:0}}"]],data:{}});function fL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.title")))}))}function mL(t){return pl(0,[(t()(),Go(0,16777216,null,null,3,"mat-icon",[["aria-haspopup","true"],["class","mat-icon notranslate mat-menu-trigger"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==Zi(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==Zi(t,2)._handleClick(n)&&i),i}),Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),ur(2,1196032,null,0,xx,[Pm,an,In,bx,[2,yx],[8,null],[2,W_],lg],{menu:[0,"menu"]},null),(t()(),cl(-1,0,["more_horiz"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0),t(e,2,0,Zi(e.parent,7))}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color,Zi(e,2).menuOpen||null)}))}function gL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"routes");t(e,1,0,i,r,o)}),null)}function _L(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function yL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function vL(t){return pl(0,[(t()(),Go(0,0,null,null,24,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"td",[["class","selection-col"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(4,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(5,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),(t()(),Go(7,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),Go(8,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(9,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(10,0,null,null,14,"td",[["class","actions"]],null,null,null,null,null)),(t()(),Go(11,16777216,null,null,6,"button",[["class","action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,13).show()&&i),"keydown"===e&&(i=!1!==Zi(t,13)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,13)._handleTouchend()&&i),"click"===e&&(i=!1!==r.details(t.context.$implicit.key)&&i),i}),pb,hb)),ur(12,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(13,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(16,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["visibility"])),(t()(),Go(18,16777216,null,null,6,"button",[["class","action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,20).show()&&i),"keydown"===e&&(i=!1!==Zi(t,20)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,20)._handleTouchend()&&i),"click"===e&&(i=!1!==r.delete(t.context.$implicit.key)&&i),i}),pb,hb)),ur(19,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(20,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(22,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(23,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["close"]))],(function(t,e){t(e,4,0,e.component.selections.get(e.context.$implicit.key)),t(e,9,0,e.context.$implicit.rule),t(e,13,0,Jn(e,13,0,Zi(e,14).transform("routes.details.title"))),t(e,16,0,!0),t(e,20,0,Jn(e,20,0,Zi(e,21).transform("routes.delete"))),t(e,23,0,!0)}),(function(t,e){t(e,2,0,Zi(e,4).id,null,Zi(e,4).indeterminate,Zi(e,4).checked,Zi(e,4).disabled,"before"==Zi(e,4).labelPosition,"NoopAnimations"===Zi(e,4)._animationMode),t(e,6,0,e.context.$implicit.key),t(e,11,0,Zi(e,12).disabled||null,"NoopAnimations"===Zi(e,12)._animationMode),t(e,15,0,Zi(e,16).inline,"primary"!==Zi(e,16).color&&"accent"!==Zi(e,16).color&&"warn"!==Zi(e,16).color),t(e,18,0,Zi(e,19).disabled||null,"NoopAnimations"===Zi(e,19)._animationMode),t(e,22,0,Zi(e,23).inline,"primary"!==Zi(e,23).color&&"accent"!==Zi(e,23).color&&"warn"!==Zi(e,23).color)}))}function bL(t){return pl(0,[(t()(),Go(0,0,null,null,28,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,27,"td",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,26,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,3,"div",[["class","check-part"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(6,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(7,0,null,null,12,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,4,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(12,null,[": "," "])),(t()(),Go(13,0,null,null,6,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(14,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(15,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(18,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(19,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(20,0,null,null,0,"div",[["class","margin-part"]],null,null,null,null,null)),(t()(),Go(21,0,null,null,7,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(22,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,24).show()&&i),"keydown"===e&&(i=!1!==Zi(t,24)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,24)._handleTouchend()&&i),"click"===e&&(n.stopPropagation(),i=!1!==r.showOptionsDialog(t.context.$implicit)&&i),i}),pb,hb)),ur(23,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(24,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(26,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(27,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(28,0,["",""]))],(function(t,e){t(e,6,0,e.component.selections.get(e.context.$implicit.key)),t(e,19,0,Si(1,"",e.context.$implicit.rule,"")),t(e,24,0,Jn(e,24,0,Zi(e,25).transform("common.options"))),t(e,27,0)}),(function(t,e){t(e,4,0,Zi(e,6).id,null,Zi(e,6).indeterminate,Zi(e,6).checked,Zi(e,6).disabled,"before"==Zi(e,6).labelPosition,"NoopAnimations"===Zi(e,6)._animationMode),t(e,10,0,Jn(e,10,0,Zi(e,11).transform("routes.key"))),t(e,12,0,e.context.$implicit.key),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("routes.rule"))),t(e,22,0,Zi(e,23).disabled||null,"NoopAnimations"===Zi(e,23)._animationMode),t(e,26,0,Zi(e,27).inline,"primary"!==Zi(e,27).color&&"accent"!==Zi(e,27).color&&"warn"!==Zi(e,27).color),t(e,28,0,"add")}))}function wL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-view-all-link",[],null,null,null,BC,VC)),ur(1,49152,null,0,zC,[],{numberOfElements:[0,"numberOfElements"],linkParts:[1,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.allRoutes.length,r=t(e,2,0,"/nodes",n.nodePK,"routes");t(e,1,0,i,r)}),null)}function kL(t){return pl(0,[(t()(),Go(0,0,null,null,45,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"table-container":0,"full-list-table-container":1}),(t()(),Go(4,0,null,null,18,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-none d-md-table"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"d-lg-none d-xl-table":0}),(t()(),Go(8,0,null,null,12,"tr",[],null,null,null,null,null)),(t()(),Go(9,0,null,null,0,"th",[],null,null,null,null,null)),(t()(),Go(10,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Key)&&i),i}),null,null)),(t()(),cl(11,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,_L)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(15,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Rule)&&i),i}),null,null)),(t()(),cl(16,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,yL)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(20,0,null,null,0,"th",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,vL)),ur(22,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(23,0,null,null,20,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-md-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(25,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(26,{"d-lg-table d-xl-none":0}),(t()(),Go(27,0,null,null,14,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openSortingOrderModal()&&i),i}),null,null)),(t()(),Go(28,0,null,null,13,"td",[],null,null,null,null,null)),(t()(),Go(29,0,null,null,12,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(30,0,null,null,7,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(31,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(32,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(34,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),cl(35,null,[""," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),(t()(),Go(38,0,null,null,3,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(39,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(40,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"])),(t()(),Ko(16777216,null,null,1,null,bL)),ur(43,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,wL)),ur(45,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,n.showShortList_,!n.showShortList_);t(e,2,0,"container-elevated-translucid mt-3",i);var r=t(e,7,0,n.showShortList_);t(e,6,0,"responsive-table-translucid d-none d-md-table",r),t(e,14,0,n.sortBy===n.sortableColumns.Key),t(e,19,0,n.sortBy===n.sortableColumns.Rule),t(e,22,0,n.dataSource);var o=t(e,26,0,n.showShortList_);t(e,25,0,"responsive-table-translucid d-md-none",o),t(e,40,0,!0),t(e,43,0,n.dataSource),t(e,45,0,n.showShortList_&&n.numberOfPages>1)}),(function(t,e){var n=e.component;t(e,11,0,Jn(e,11,0,Zi(e,12).transform("routes.key"))),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("routes.rule"))),t(e,32,0,Jn(e,32,0,Zi(e,33).transform("tables.sorting-title"))),t(e,35,0,Jn(e,35,0,Zi(e,36).transform(n.sortBy)),Jn(e,35,1,Zi(e,37).transform(n.sortReverse?"tables.descending-order":"tables.ascending-order"))),t(e,39,0,Zi(e,40).inline,"primary"!==Zi(e,40).color&&"accent"!==Zi(e,40).color&&"warn"!==Zi(e,40).color)}))}function xL(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"span",[["class","font-sm"]],null,null,null,null,null)),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("routes.empty")))}))}function ML(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"routes");t(e,1,0,i,r,o)}),null)}function SL(t){return pl(0,[(t()(),Go(0,0,null,null,24,"div",[["class","generic-title-container mt-4.5 d-flex"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title uppercase ml-3.5"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,fL)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,mL)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(6,0,null,null,18,"mat-menu",[],null,null,null,Dx,Cx)),ur(7,1294336,[["selectionMenu",4]],3,vx,[an,co,_x],{overlapTrigger:[0,"overlapTrigger"]},null),Qo(603979776,1,{_allItems:1}),Qo(603979776,2,{items:1}),Qo(603979776,3,{lazyContent:0}),dr(2048,null,yx,null,[vx]),dr(2048,null,mx,null,[yx]),(t()(),Go(13,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,14)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,14)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!0)&&i),i}),Ox,Tx)),ur(14,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(15,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(17,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,18)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,18)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!1)&&i),i}),Ox,Tx)),ur(18,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(19,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(21,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,22)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,22)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteSelected()&&i),i}),Ox,Tx)),ur(22,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(23,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,gL)),ur(26,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,kL)),ur(28,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,xL)),ur(30,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,ML)),ur(32,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.showShortList_),t(e,5,0,n.dataSource&&n.dataSource.length>0),t(e,7,0,!1),t(e,22,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,26,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource),t(e,28,0,n.dataSource&&n.dataSource.length>0),t(e,30,0,!n.dataSource||0===n.dataSource.length),t(e,32,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)}),(function(t,e){t(e,13,0,Zi(e,14).role,Zi(e,14)._highlighted,Zi(e,14)._triggersSubmenu,Zi(e,14)._getTabIndex(),Zi(e,14).disabled.toString(),Zi(e,14).disabled||null),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("selection.select-all"))),t(e,17,0,Zi(e,18).role,Zi(e,18)._highlighted,Zi(e,18)._triggersSubmenu,Zi(e,18)._getTabIndex(),Zi(e,18).disabled.toString(),Zi(e,18).disabled||null),t(e,19,0,Jn(e,19,0,Zi(e,20).transform("selection.unselect-all"))),t(e,21,0,Zi(e,22).role,Zi(e,22)._highlighted,Zi(e,22)._triggersSubmenu,Zi(e,22)._getTabIndex(),Zi(e,22).disabled.toString(),Zi(e,22).disabled||null),t(e,23,0,Jn(e,23,0,Zi(e,24).transform("selection.delete-all")))}))}var CL=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.transports=e.transports,t.routes=e.routes}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),LL=Xn({encapsulation:0,styles:[[""]],data:{}});function DL(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-transport-list",[],null,null,null,uL,GC)),ur(1,180224,null,0,KC,[Ib,VM,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],transports:[2,"transports"]},null),(t()(),Go(2,0,null,null,1,"app-route-list",[],null,null,null,SL,pL)),ur(3,180224,null,0,hL,[BM,Ib,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],routes:[2,"routes"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!0,n.transports),t(e,3,0,n.nodePK,!0,n.routes)}),null)}function TL(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-routing",[],null,null,null,DL,LL)),ur(1,245760,null,0,CL,[],null,null)],(function(t,e){t(e,1,0)}),null)}var OL=Ni("app-routing",CL,TL,{},{},[]),PL=function(){function t(t){this.apiService=t}return t.prototype.changeAppState=function(t,e,n){return this.apiService.put("visors/"+t+"/apps/"+encodeURIComponent(e),{status:n?1:0})},t.prototype.changeAppAutostart=function(t,e,n){return this.changeAppSettings(t,e,{autostart:n})},t.prototype.changeAppSettings=function(t,e,n){return this.apiService.put("visors/"+t+"/apps/"+encodeURIComponent(e),n)},t.prototype.getLogMessages=function(t,e,n){var r=function(t,e,n,r){var o=function(t){if(ss(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();var e,n=parseFloat(t);if(!isNaN(t-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var r=Object(i.__read)(t.split("-").map((function(t){return+t})),3);return new Date(r[0],r[1]-1,r[2])}if(e=t.match(qa))return function(t){var e=new Date(0),n=0,i=0,r=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var l=Number(t[4]||0)-n,a=Number(t[5]||0)-i,s=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,l,a,s,u),e}(e)}var o=new Date(t);if(!ss(o))throw new Error('Unable to convert "'+t+'" into a date');return o}(t);e=function t(e,n){var i=function(t){return Pr(t)[Dr.LocaleId]}(e);if(Ka[i]=Ka[i]||{},Ka[i][n])return Ka[i][n];var r="";switch(n){case"shortDate":r=Na(e,ja.Short);break;case"mediumDate":r=Na(e,ja.Medium);break;case"longDate":r=Na(e,ja.Long);break;case"fullDate":r=Na(e,ja.Full);break;case"shortTime":r=Ha(e,ja.Short);break;case"mediumTime":r=Ha(e,ja.Medium);break;case"longTime":r=Ha(e,ja.Long);break;case"fullTime":r=Ha(e,ja.Full);break;case"short":var o=t(e,"shortTime"),l=t(e,"shortDate");r=Xa(za(e,ja.Short),[o,l]);break;case"medium":var a=t(e,"mediumTime"),s=t(e,"mediumDate");r=Xa(za(e,ja.Medium),[a,s]);break;case"long":var u=t(e,"longTime"),c=t(e,"longDate");r=Xa(za(e,ja.Long),[u,c]);break;case"full":var d=t(e,"fullTime"),h=t(e,"fullDate");r=Xa(za(e,ja.Full),[d,h])}return r&&(Ka[i][n]=r),r}(n,e)||e;for(var l,a=[];e;){if(!(l=Ga.exec(e))){a.push(e);break}var s=(a=a.concat(l.slice(1))).pop();if(!s)break;e=s}var u=o.getTimezoneOffset();r&&(u=as(r,u),o=function(t,e,n){var i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(as(e,i)-i))}(o,r));var c="";return a.forEach((function(t){var e=function(t){if(ls[t])return ls[t];var e;switch(t){case"G":case"GG":case"GGG":e=es($a.Eras,Ra.Abbreviated);break;case"GGGG":e=es($a.Eras,Ra.Wide);break;case"GGGGG":e=es($a.Eras,Ra.Narrow);break;case"y":e=ts(Za.FullYear,1,0,!1,!0);break;case"yy":e=ts(Za.FullYear,2,0,!0,!0);break;case"yyy":e=ts(Za.FullYear,3,0,!1,!0);break;case"yyyy":e=ts(Za.FullYear,4,0,!1,!0);break;case"M":case"L":e=ts(Za.Month,1,1);break;case"MM":case"LL":e=ts(Za.Month,2,1);break;case"MMM":e=es($a.Months,Ra.Abbreviated);break;case"MMMM":e=es($a.Months,Ra.Wide);break;case"MMMMM":e=es($a.Months,Ra.Narrow);break;case"LLL":e=es($a.Months,Ra.Abbreviated,Aa.Standalone);break;case"LLLL":e=es($a.Months,Ra.Wide,Aa.Standalone);break;case"LLLLL":e=es($a.Months,Ra.Narrow,Aa.Standalone);break;case"w":e=os(1);break;case"ww":e=os(2);break;case"W":e=os(1,!0);break;case"d":e=ts(Za.Date,1);break;case"dd":e=ts(Za.Date,2);break;case"E":case"EE":case"EEE":e=es($a.Days,Ra.Abbreviated);break;case"EEEE":e=es($a.Days,Ra.Wide);break;case"EEEEE":e=es($a.Days,Ra.Narrow);break;case"EEEEEE":e=es($a.Days,Ra.Short);break;case"a":case"aa":case"aaa":e=es($a.DayPeriods,Ra.Abbreviated);break;case"aaaa":e=es($a.DayPeriods,Ra.Wide);break;case"aaaaa":e=es($a.DayPeriods,Ra.Narrow);break;case"b":case"bb":case"bbb":e=es($a.DayPeriods,Ra.Abbreviated,Aa.Standalone,!0);break;case"bbbb":e=es($a.DayPeriods,Ra.Wide,Aa.Standalone,!0);break;case"bbbbb":e=es($a.DayPeriods,Ra.Narrow,Aa.Standalone,!0);break;case"B":case"BB":case"BBB":e=es($a.DayPeriods,Ra.Abbreviated,Aa.Format,!0);break;case"BBBB":e=es($a.DayPeriods,Ra.Wide,Aa.Format,!0);break;case"BBBBB":e=es($a.DayPeriods,Ra.Narrow,Aa.Format,!0);break;case"h":e=ts(Za.Hours,1,-12);break;case"hh":e=ts(Za.Hours,2,-12);break;case"H":e=ts(Za.Hours,1);break;case"HH":e=ts(Za.Hours,2);break;case"m":e=ts(Za.Minutes,1);break;case"mm":e=ts(Za.Minutes,2);break;case"s":e=ts(Za.Seconds,1);break;case"ss":e=ts(Za.Seconds,2);break;case"S":e=ts(Za.FractionalSeconds,1);break;case"SS":e=ts(Za.FractionalSeconds,2);break;case"SSS":e=ts(Za.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=ns(Ja.Short);break;case"ZZZZZ":e=ns(Ja.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=ns(Ja.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=ns(Ja.Long);break;default:return null}return ls[t]=e,e}(t);c+=e?e(o,n,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),c}(-1!==n?Date.now()-864e5*n:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get("visors/"+t+"/apps/"+encodeURIComponent(e)+"/logs?since="+r).pipe(F((function(t){return t.logs})))},t.ngInjectableDef=ht({factory:function(){return new t(At(nx))},token:t,providedIn:"root"}),t}(),EL=function(){function t(t,e,n){this.data=t,this.dialogRef=e,this.formBuilder=n}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe((function(e){t.dialogRef.close(t.filters.find((function(t){return t.days===e})))}))},t.prototype.ngOnDestroy=function(){this.formSubscription.unsubscribe()},t}(),IL=function(){function t(t,e,n,i){this.data=t,this.appsService=e,this.dialog=n,this.snackbarService=i,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.largeModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){this.loadData(0)},t.prototype.ngOnDestroy=function(){this.removeSubscription()},t.prototype.filter=function(){var t=this;EL.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe((function(e){e&&(t.currentFilter=e,t.logMessages=[],t.loadData(0))}))},t.prototype.loadData=function(t){var e=this;this.removeSubscription(),this.loading=!0,this.subscription=Hs(1).pipe(dx(t),B((function(){return e.appsService.getLogMessages(IS.getCurrentNodeKey(),e.data.name,e.currentFilter.days)}))).subscribe((function(t){return e.onLogsReceived(t)}),(function(t){return e.onLogsError(t)}))},t.prototype.removeSubscription=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.onLogsReceived=function(t){var e=this;void 0===t&&(t=[]),this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),t.forEach((function(t){var n=t.startsWith("[")?0:-1,i=-1!==n?t.indexOf("]"):-1;e.logMessages.push(-1!==n&&-1!==i?{time:t.substr(n,i+1),msg:t.substr(i+1)}:{time:"",msg:t})})),setTimeout((function(){e.content.nativeElement.scrollTop=e.content.nativeElement.scrollHeight}))},t.prototype.onLogsError=function(t){t=Up(t),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,t),this.shouldShowError=!1),this.loadData(3e3)},t}(),YL=function(){function t(t,e,n,i,r,o){this.data=t,this.appsService=e,this.formBuilder=n,this.dialogRef=i,this.snackbarService=r,this.dialog=o}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.mediumModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)]}),this.formSubscription=this.form.get("password").valueChanges.subscribe((function(){t.form.get("passwordConfirmation").updateValueAndValidity()})),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.ngOnDestroy=function(){this.formSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.saveChanges=function(){var t=this;if(this.form.valid&&!this.button.disabled){var e=this.form.get("password").value?"apps.skysocks-settings.change-passowrd-confirmation":"apps.skysocks-settings.remove-passowrd-confirmation",n=JM.createConfirmationDialog(this.dialog,e);n.componentInstance.operationAccepted.subscribe((function(){n.close(),t.continueSavingChanges()}))}},t.prototype.continueSavingChanges=function(){this.button.showLoading(),this.operationSubscription=this.appsService.changeAppSettings(IS.getCurrentNodeKey(),this.data,{passcode:this.form.get("password").value}).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})},t.prototype.onSuccess=function(){IS.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.skysocks-settings.changes-made"),this.dialogRef.close()},t.prototype.onError=function(t){this.button.showError(),t=Up(t),this.snackbarService.showError(t)},t.prototype.validatePasswords=function(){return this.form&&this.form.get("password").value!==this.form.get("passwordConfirmation").value?{invalid:!0}:null},t}(),AL=function(){function t(t,e,n,i,r,o){this.data=t,this.dialogRef=e,this.appsService=n,this.formBuilder=i,this.snackbarService=r,this.dialog=o,this.historyStorageKey="SkysocksClientHistory",this.maxHistoryElements=10,this.working=!1}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.mediumModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this,e=localStorage.getItem(this.historyStorageKey);this.history=e?JSON.parse(e):[],this.form=this.formBuilder.group({pk:["",sw.compose([sw.required,sw.minLength(66),sw.maxLength(66),sw.pattern("^[0-9a-fA-F]+$")])]}),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.ngOnDestroy=function(){this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.saveChanges=function(t){var e=this;if(void 0===t&&(t=null),(this.form.valid||t)&&!this.working){this.lastPublicKey=t||this.form.get("pk").value;var n=JM.createConfirmationDialog(this.dialog,"apps.skysocks-client-settings.change-key-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.close(),e.continueSavingChanges()}))}},t.prototype.continueSavingChanges=function(){this.button.showLoading(),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(IS.getCurrentNodeKey(),this.data,{pk:this.lastPublicKey}).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})},t.prototype.onSuccess=function(){var t=this;if(this.history=this.history.filter((function(e){return e!==t.lastPublicKey})),this.history=[this.lastPublicKey].concat(this.history),this.history.length>this.maxHistoryElements){var e=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-e,e)}var n=JSON.stringify(this.history);localStorage.setItem(this.historyStorageKey,n),IS.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.skysocks-client-settings.changes-made"),this.dialogRef.close()},t.prototype.onError=function(t){this.working=!1,this.button.showError(),t=Up(t),this.snackbarService.showError(t)},t}(),RL=function(t){return t.Name="apps.apps-list.app-name",t.Port="apps.apps-list.port",t.Status="apps.apps-list.status",t.AutoStart="apps.apps-list.auto-start",t}({}),jL=function(){function t(t,e,n,i){var r=this;this.appsService=t,this.dialog=e,this.route=n,this.snackbarService=i,this.sortableColumns=RL,this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.operationSubscriptionsGroup=[],this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),r.currentPageInUrl=e,r.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"sortBy",{get:function(){return t.sortByInternal},set:function(e){t.sortByInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortReverse",{get:function(){return t.sortReverseInternal},set:function(e){t.sortReverseInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"apps",{set:function(t){this.allApps=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()}))},t.prototype.changeSelection=function(t){this.selections.get(t.name)?this.selections.set(t.name,!1):this.selections.set(t.name,!0)},t.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach((function(e){e&&(t=!0)})),t},t.prototype.changeAllSelections=function(t){var e=this;this.selections.forEach((function(n,i){e.selections.set(i,t)}))},t.prototype.changeStateOfSelected=function(t){var e=this,n=[];if(this.selections.forEach((function(i,r){i&&(t&&1!==e.appsMap.get(r).status||!t&&1===e.appsMap.get(r).status)&&n.push(r)})),t)this.changeAppsValRecursively(n,!1,t);else{var i=JM.createConfirmationDialog(this.dialog,"apps.stop-selected-confirmation");i.componentInstance.operationAccepted.subscribe((function(){i.componentInstance.showProcessing(),e.changeAppsValRecursively(n,!1,t,i)}))}},t.prototype.changeAutostartOfSelected=function(t){var e=this,n=[];this.selections.forEach((function(i,r){i&&(t&&!e.appsMap.get(r).autostart||!t&&e.appsMap.get(r).autostart)&&n.push(r)}));var i=JM.createConfirmationDialog(this.dialog,t?"apps.enable-autostart-selected-confirmation":"apps.disable-autostart-selected-confirmation");i.componentInstance.operationAccepted.subscribe((function(){i.componentInstance.showProcessing(),e.changeAppsValRecursively(n,!0,t,i)}))},t.prototype.showOptionsDialog=function(t){var e=this,n=[{icon:"list",label:"apps.view-logs"},{icon:1===t.status?"stop":"play_arrow",label:"apps."+(1===t.status?"stop-app":"start-app")},{icon:t.autostart?"close":"done",label:t.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart"}];this.appsWithConfig.has(t.name)&&n.push({icon:"settings",label:"apps.settings"}),ZM.openDialog(this.dialog,n).afterClosed().subscribe((function(n){1===n?e.viewLogs(t):2===n?e.changeAppState(t):3===n?e.changeAppAutostart(t):4===n&&e.config(t)}))},t.prototype.changeAppState=function(t){var e=this;if(1!==t.status)this.changeSingleAppVal(this.startChangingAppState(t.name,1!==t.status));else{var n=JM.createConfirmationDialog(this.dialog,"apps.stop-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.changeSingleAppVal(e.startChangingAppState(t.name,1!==t.status),n)}))}},t.prototype.changeAppAutostart=function(t){var e=this,n=JM.createConfirmationDialog(this.dialog,t.autostart?"apps.disable-autostart-confirmation":"apps.enable-autostart-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.changeSingleAppVal(e.startChangingAppAutostart(t.name,!t.autostart),n)}))},t.prototype.changeSingleAppVal=function(t,e){var n=this;void 0===e&&(e=null),this.operationSubscriptionsGroup.push(t.subscribe((function(){e&&e.close(),setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),n.snackbarService.showDone("apps.operation-completed")}),(function(t){t=Up(t),setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),e?e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg):n.snackbarService.showError(t)})))},t.prototype.viewLogs=function(t){IL.openDialog(this.dialog,t)},t.prototype.config=function(t){"skysocks"===t.name?YL.openDialog(this.dialog,t.name):"skysocks-client"===t.name?AL.openDialog(this.dialog,t.name):this.snackbarService.showError("apps.error")},t.prototype.changeSortingOrder=function(t){this.sortBy!==t?(this.sortBy=t,this.sortReverse=!1):this.sortReverse=!this.sortReverse,this.recalculateElementsToShow()},t.prototype.openSortingOrderModal=function(){var t=this,e=Object.keys(RL),n=new Map,i=e.map((function(t){var e=RL[t];return n.set(e,RL[t]),e}));qM.openDialog(this.dialog,i).afterClosed().subscribe((function(e){e&&(!n.has(e.label)||e.sortReverse===t.sortReverse&&n.get(e.label)===t.sortBy||(t.sortBy=n.get(e.label),t.sortReverse=e.sortReverse,t.recalculateElementsToShow()))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.allApps){this.allApps.sort((function(e,n){var i,r=e.name.localeCompare(n.name);return 0!==(i=t.sortBy===RL.Name?t.sortReverse?n.name.localeCompare(e.name):e.name.localeCompare(n.name):t.sortBy===RL.Port?t.sortReverse?n.port-e.port:e.port-n.port:t.sortBy===RL.Status?t.sortReverse?e.status-n.status:n.status-e.status:t.sortBy===RL.AutoStart?t.sortReverse?(e.autostart?1:0)-(n.autostart?1:0):(n.autostart?1:0)-(e.autostart?1:0):r)?i:r}));var e=this.showShortList_?Dg.maxShortListElements:Dg.maxFullListElements;this.numberOfPages=Math.ceil(this.allApps.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.appsToShow=this.allApps.slice(n,n+e),this.appsMap=new Map,this.appsToShow.forEach((function(e){t.appsMap.set(e.name,e),t.selections.has(e.name)||t.selections.set(e.name,!1)}));var i=[];this.selections.forEach((function(e,n){t.appsMap.has(n)||i.push(n)})),i.forEach((function(e){t.selections.delete(e)}))}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow},t.prototype.startChangingAppState=function(t,e){return this.appsService.changeAppState(IS.getCurrentNodeKey(),t,e)},t.prototype.startChangingAppAutostart=function(t,e){return this.appsService.changeAppAutostart(IS.getCurrentNodeKey(),t,e)},t.prototype.changeAppsValRecursively=function(t,e,n,i){var r,o=this;if(void 0===i&&(i=null),!t||0===t.length)return setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(i&&i.close());r=e?this.startChangingAppAutostart(t[t.length-1],n):this.startChangingAppState(t[t.length-1],n),this.operationSubscriptionsGroup.push(r.subscribe((function(){t.pop(),0===t.length?(i&&i.close(),setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),o.snackbarService.showDone("apps.operation-completed")):o.changeAppsValRecursively(t,e,n,i)}),(function(t){t=Up(t),setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),i?i.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg):o.snackbarService.showError(t)})))},t.sortByInternal=RL.Name,t.sortReverseInternal=!1,t}(),FL=Xn({encapsulation:0,styles:[[".actions[_ngcontent-%COMP%]{text-align:right;width:120px}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.table-container[_ngcontent-%COMP%]{padding:0}}@media (max-width:767px){.full-list-table-container[_ngcontent-%COMP%]{padding:0}}"]],data:{}});function NL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.apps-list.title")))}))}function HL(t){return pl(0,[(t()(),Go(0,16777216,null,null,3,"mat-icon",[["aria-haspopup","true"],["class","mat-icon notranslate mat-menu-trigger"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==Zi(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==Zi(t,2)._handleClick(n)&&i),i}),Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),ur(2,1196032,null,0,xx,[Pm,an,In,bx,[2,yx],[8,null],[2,W_],lg],{menu:[0,"menu"]},null),(t()(),cl(-1,0,["more_horiz"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0),t(e,2,0,Zi(e.parent,7))}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color,Zi(e,2).menuOpen||null)}))}function zL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"apps-list");t(e,1,0,i,r,o)}),null)}function VL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function BL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function WL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function UL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function qL(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"button",[["class","big-action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.config(t.parent.context.$implicit)&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(5,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["settings"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.settings"))),t(e,5,0,!0)}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode),t(e,4,0,Zi(e,5).inline,"primary"!==Zi(e,5).color&&"accent"!==Zi(e,5).color&&"warn"!==Zi(e,5).color)}))}function KL(t){return pl(0,[(t()(),Go(0,0,null,null,37,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"td",[["class","selection-col"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(4,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(5,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),(t()(),Go(7,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(8,null,[" "," "])),(t()(),Go(9,0,null,null,3,"td",[],null,null,null,null,null)),(t()(),Go(10,16777216,null,null,2,"i",[],[[8,"className",0]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,11).show()&&i),"keydown"===e&&(i=!1!==Zi(t,11)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,11)._handleTouchend()&&i),i}),null,null)),ur(11,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(13,0,null,null,7,"td",[],null,null,null,null,null)),(t()(),Go(14,16777216,null,null,6,"button",[["class","big-action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,16).show()&&i),"keydown"===e&&(i=!1!==Zi(t,16)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,16)._handleTouchend()&&i),"click"===e&&(i=!1!==r.changeAppAutostart(t.context.$implicit)&&i),i}),pb,hb)),ur(15,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(16,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(18,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(19,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(20,0,["",""])),(t()(),Go(21,0,null,null,16,"td",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,qL)),ur(23,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(24,16777216,null,null,6,"button",[["class","big-action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,26).show()&&i),"keydown"===e&&(i=!1!==Zi(t,26)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,26)._handleTouchend()&&i),"click"===e&&(i=!1!==r.viewLogs(t.context.$implicit)&&i),i}),pb,hb)),ur(25,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(26,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(28,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(29,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["list"])),(t()(),Go(31,16777216,null,null,6,"button",[["class","big-action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,33).show()&&i),"keydown"===e&&(i=!1!==Zi(t,33)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,33)._handleTouchend()&&i),"click"===e&&(i=!1!==r.changeAppState(t.context.$implicit)&&i),i}),pb,hb)),ur(32,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(33,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(35,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(36,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(37,0,["",""]))],(function(t,e){var n=e.component;t(e,4,0,n.selections.get(e.context.$implicit.name)),t(e,11,0,Jn(e,11,0,Zi(e,12).transform(1===e.context.$implicit.status?"apps.status-running-tooltip":"apps.status-stopped-tooltip"))),t(e,16,0,Jn(e,16,0,Zi(e,17).transform(e.context.$implicit.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart"))),t(e,19,0,!0),t(e,23,0,n.appsWithConfig.has(e.context.$implicit.name)),t(e,26,0,Jn(e,26,0,Zi(e,27).transform("apps.view-logs"))),t(e,29,0,!0),t(e,33,0,Jn(e,33,0,Zi(e,34).transform("apps."+(1===e.context.$implicit.status?"stop-app":"start-app")))),t(e,36,0,!0)}),(function(t,e){t(e,2,0,Zi(e,4).id,null,Zi(e,4).indeterminate,Zi(e,4).checked,Zi(e,4).disabled,"before"==Zi(e,4).labelPosition,"NoopAnimations"===Zi(e,4)._animationMode),t(e,6,0,e.context.$implicit.name),t(e,8,0,e.context.$implicit.port),t(e,10,0,1===e.context.$implicit.status?"dot-green":"dot-red"),t(e,14,0,Zi(e,15).disabled||null,"NoopAnimations"===Zi(e,15)._animationMode),t(e,18,0,Zi(e,19).inline,"primary"!==Zi(e,19).color&&"accent"!==Zi(e,19).color&&"warn"!==Zi(e,19).color),t(e,20,0,e.context.$implicit.autostart?"done":"close"),t(e,24,0,Zi(e,25).disabled||null,"NoopAnimations"===Zi(e,25)._animationMode),t(e,28,0,Zi(e,29).inline,"primary"!==Zi(e,29).color&&"accent"!==Zi(e,29).color&&"warn"!==Zi(e,29).color),t(e,31,0,Zi(e,32).disabled||null,"NoopAnimations"===Zi(e,32)._animationMode),t(e,35,0,Zi(e,36).inline,"primary"!==Zi(e,36).color&&"accent"!==Zi(e,36).color&&"warn"!==Zi(e,36).color),t(e,37,0,1===e.context.$implicit.status?"stop":"play_arrow")}))}function GL(t){return pl(0,[(t()(),Go(0,0,null,null,42,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,41,"td",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,40,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,3,"div",[["class","check-part"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(6,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(7,0,null,null,26,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,4,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(12,null,[": "," "])),(t()(),Go(13,0,null,null,4,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(14,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(15,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(17,null,[": "," "])),(t()(),Go(18,0,null,null,7,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(19,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(20,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(23,0,null,null,2,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),cl(24,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(26,0,null,null,7,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(27,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(28,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(31,0,null,null,2,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),cl(32,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(34,0,null,null,0,"div",[["class","margin-part"]],null,null,null,null,null)),(t()(),Go(35,0,null,null,7,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(36,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,38).show()&&i),"keydown"===e&&(i=!1!==Zi(t,38)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,38)._handleTouchend()&&i),"click"===e&&(n.stopPropagation(),i=!1!==r.showOptionsDialog(t.context.$implicit)&&i),i}),pb,hb)),ur(37,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(38,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(40,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(41,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(42,0,["",""]))],(function(t,e){t(e,6,0,e.component.selections.get(e.context.$implicit.name)),t(e,38,0,Jn(e,38,0,Zi(e,39).transform("common.options"))),t(e,41,0)}),(function(t,e){t(e,4,0,Zi(e,6).id,null,Zi(e,6).indeterminate,Zi(e,6).checked,Zi(e,6).disabled,"before"==Zi(e,6).labelPosition,"NoopAnimations"===Zi(e,6)._animationMode),t(e,10,0,Jn(e,10,0,Zi(e,11).transform("apps.apps-list.app-name"))),t(e,12,0,e.context.$implicit.name),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("apps.apps-list.port"))),t(e,17,0,e.context.$implicit.port),t(e,20,0,Jn(e,20,0,Zi(e,21).transform("apps.apps-list.status"))),t(e,23,0,(1===e.context.$implicit.status?"green-text":"red-text")+" title"),t(e,24,0,Jn(e,24,0,Zi(e,25).transform(1===e.context.$implicit.status?"apps.status-running":"apps.status-stopped"))),t(e,28,0,Jn(e,28,0,Zi(e,29).transform("apps.apps-list.auto-start"))),t(e,31,0,(e.context.$implicit.autostart?"green-text":"red-text")+" title"),t(e,32,0,Jn(e,32,0,Zi(e,33).transform(e.context.$implicit.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled"))),t(e,36,0,Zi(e,37).disabled||null,"NoopAnimations"===Zi(e,37)._animationMode),t(e,40,0,Zi(e,41).inline,"primary"!==Zi(e,41).color&&"accent"!==Zi(e,41).color&&"warn"!==Zi(e,41).color),t(e,42,0,"add")}))}function JL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-view-all-link",[],null,null,null,BC,VC)),ur(1,49152,null,0,zC,[],{numberOfElements:[0,"numberOfElements"],linkParts:[1,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.allApps.length,r=t(e,2,0,"/nodes",n.nodePK,"apps-list");t(e,1,0,i,r)}),null)}function ZL(t){return pl(0,[(t()(),Go(0,0,null,null,55,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"table-container":0,"full-list-table-container":1}),(t()(),Go(4,0,null,null,28,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-none d-md-table"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"d-lg-none d-xl-table":0}),(t()(),Go(8,0,null,null,22,"tr",[],null,null,null,null,null)),(t()(),Go(9,0,null,null,0,"th",[],null,null,null,null,null)),(t()(),Go(10,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Name)&&i),i}),null,null)),(t()(),cl(11,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,VL)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(15,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Port)&&i),i}),null,null)),(t()(),cl(16,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,BL)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(20,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Status)&&i),i}),null,null)),(t()(),cl(21,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,WL)),ur(24,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(25,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.AutoStart)&&i),i}),null,null)),(t()(),cl(26,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,UL)),ur(29,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(30,0,null,null,0,"th",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,KL)),ur(32,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(33,0,null,null,20,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-md-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(35,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(36,{"d-lg-table d-xl-none":0}),(t()(),Go(37,0,null,null,14,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openSortingOrderModal()&&i),i}),null,null)),(t()(),Go(38,0,null,null,13,"td",[],null,null,null,null,null)),(t()(),Go(39,0,null,null,12,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(40,0,null,null,7,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(41,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(42,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(44,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),cl(45,null,[""," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),(t()(),Go(48,0,null,null,3,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(49,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(50,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"])),(t()(),Ko(16777216,null,null,1,null,GL)),ur(53,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,JL)),ur(55,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,n.showShortList_,!n.showShortList_);t(e,2,0,"container-elevated-translucid mt-3",i);var r=t(e,7,0,n.showShortList_);t(e,6,0,"responsive-table-translucid d-none d-md-table",r),t(e,14,0,n.sortBy===n.sortableColumns.Name),t(e,19,0,n.sortBy===n.sortableColumns.Port),t(e,24,0,n.sortBy===n.sortableColumns.Status),t(e,29,0,n.sortBy===n.sortableColumns.AutoStart),t(e,32,0,n.dataSource);var o=t(e,36,0,n.showShortList_);t(e,35,0,"responsive-table-translucid d-md-none",o),t(e,50,0,!0),t(e,53,0,n.dataSource),t(e,55,0,n.showShortList_&&n.numberOfPages>1)}),(function(t,e){var n=e.component;t(e,11,0,Jn(e,11,0,Zi(e,12).transform("apps.apps-list.app-name"))),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("apps.apps-list.port"))),t(e,21,0,Jn(e,21,0,Zi(e,22).transform("apps.apps-list.status"))),t(e,26,0,Jn(e,26,0,Zi(e,27).transform("apps.apps-list.auto-start"))),t(e,42,0,Jn(e,42,0,Zi(e,43).transform("tables.sorting-title"))),t(e,45,0,Jn(e,45,0,Zi(e,46).transform(n.sortBy)),Jn(e,45,1,Zi(e,47).transform(n.sortReverse?"tables.descending-order":"tables.ascending-order"))),t(e,49,0,Zi(e,50).inline,"primary"!==Zi(e,50).color&&"accent"!==Zi(e,50).color&&"warn"!==Zi(e,50).color)}))}function $L(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"span",[["class","font-sm"]],null,null,null,null,null)),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.apps-list.empty")))}))}function XL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"apps-list");t(e,1,0,i,r,o)}),null)}function QL(t){return pl(0,[(t()(),Go(0,0,null,null,36,"div",[["class","generic-title-container mt-4.5 d-flex"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title uppercase ml-3.5"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,NL)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,HL)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(6,0,null,null,30,"mat-menu",[],null,null,null,Dx,Cx)),ur(7,1294336,[["selectionMenu",4]],3,vx,[an,co,_x],{overlapTrigger:[0,"overlapTrigger"]},null),Qo(603979776,1,{_allItems:1}),Qo(603979776,2,{items:1}),Qo(603979776,3,{lazyContent:0}),dr(2048,null,yx,null,[vx]),dr(2048,null,mx,null,[yx]),(t()(),Go(13,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,14)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,14)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!0)&&i),i}),Ox,Tx)),ur(14,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(15,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(17,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,18)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,18)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!1)&&i),i}),Ox,Tx)),ur(18,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(19,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(21,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,22)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,22)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeStateOfSelected(!0)&&i),i}),Ox,Tx)),ur(22,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(23,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(25,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,26)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,26)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeStateOfSelected(!1)&&i),i}),Ox,Tx)),ur(26,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(27,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(29,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,30)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,30)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAutostartOfSelected(!0)&&i),i}),Ox,Tx)),ur(30,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(31,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(33,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,34)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,34)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAutostartOfSelected(!1)&&i),i}),Ox,Tx)),ur(34,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(35,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,zL)),ur(38,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,ZL)),ur(40,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,$L)),ur(42,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,XL)),ur(44,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.showShortList_),t(e,5,0,n.dataSource&&n.dataSource.length>0),t(e,7,0,!1),t(e,22,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,26,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,30,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,34,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,38,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource),t(e,40,0,n.dataSource&&n.dataSource.length>0),t(e,42,0,!n.dataSource||0===n.dataSource.length),t(e,44,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)}),(function(t,e){t(e,13,0,Zi(e,14).role,Zi(e,14)._highlighted,Zi(e,14)._triggersSubmenu,Zi(e,14)._getTabIndex(),Zi(e,14).disabled.toString(),Zi(e,14).disabled||null),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("selection.select-all"))),t(e,17,0,Zi(e,18).role,Zi(e,18)._highlighted,Zi(e,18)._triggersSubmenu,Zi(e,18)._getTabIndex(),Zi(e,18).disabled.toString(),Zi(e,18).disabled||null),t(e,19,0,Jn(e,19,0,Zi(e,20).transform("selection.unselect-all"))),t(e,21,0,Zi(e,22).role,Zi(e,22)._highlighted,Zi(e,22)._triggersSubmenu,Zi(e,22)._getTabIndex(),Zi(e,22).disabled.toString(),Zi(e,22).disabled||null),t(e,23,0,Jn(e,23,0,Zi(e,24).transform("selection.start-all"))),t(e,25,0,Zi(e,26).role,Zi(e,26)._highlighted,Zi(e,26)._triggersSubmenu,Zi(e,26)._getTabIndex(),Zi(e,26).disabled.toString(),Zi(e,26).disabled||null),t(e,27,0,Jn(e,27,0,Zi(e,28).transform("selection.stop-all"))),t(e,29,0,Zi(e,30).role,Zi(e,30)._highlighted,Zi(e,30)._triggersSubmenu,Zi(e,30)._getTabIndex(),Zi(e,30).disabled.toString(),Zi(e,30).disabled||null),t(e,31,0,Jn(e,31,0,Zi(e,32).transform("selection.enable-autostart-all"))),t(e,33,0,Zi(e,34).role,Zi(e,34)._highlighted,Zi(e,34)._triggersSubmenu,Zi(e,34)._getTabIndex(),Zi(e,34).disabled.toString(),Zi(e,34).disabled||null),t(e,35,0,Jn(e,35,0,Zi(e,36).transform("selection.disable-autostart-all")))}))}var tD=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.apps=e.apps}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),eD=Xn({encapsulation:0,styles:[[""]],data:{}});function nD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-app-list",[],null,null,null,QL,FL)),ur(1,180224,null,0,jL,[PL,Ib,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],apps:[2,"apps"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!0,n.apps)}),null)}function iD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-apps",[],null,null,null,nD,eD)),ur(1,245760,null,0,tD,[],null,null)],(function(t,e){t(e,1,0)}),null)}var rD=Ni("app-apps",tD,iD,{},{},[]),oD=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.transports=e.transports}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),lD=Xn({encapsulation:0,styles:[[""]],data:{}});function aD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-transport-list",[],null,null,null,uL,GC)),ur(1,180224,null,0,KC,[Ib,VM,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],transports:[2,"transports"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!1,n.transports)}),null)}function sD(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,aD)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.transports)}),null)}function uD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-all-transports",[],null,null,null,sD,lD)),ur(1,245760,null,0,oD,[],null,null)],(function(t,e){t(e,1,0)}),null)}var cD=Ni("app-all-transports",oD,uD,{},{},[]),dD=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.routes=e.routes}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),hD=Xn({encapsulation:0,styles:[[""]],data:{}});function pD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-route-list",[],null,null,null,SL,pL)),ur(1,180224,null,0,hL,[BM,Ib,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],routes:[2,"routes"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!1,n.routes)}),null)}function fD(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,pD)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.routes)}),null)}function mD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-all-routes",[],null,null,null,fD,hD)),ur(1,245760,null,0,dD,[],null,null)],(function(t,e){t(e,1,0)}),null)}var gD=Ni("app-all-routes",dD,mD,{},{},[]),_D=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.apps=e.apps}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),yD=Xn({encapsulation:0,styles:[[""]],data:{}});function vD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-app-list",[],null,null,null,QL,FL)),ur(1,180224,null,0,jL,[PL,Ib,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],apps:[2,"apps"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!1,n.apps)}),null)}function bD(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,vD)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.apps)}),null)}function wD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-all-apps",[],null,null,null,bD,yD)),ur(1,245760,null,0,_D,[],null,null)],(function(t,e){t(e,1,0)}),null)}var kD=Ni("app-all-apps",_D,wD,{},{},[]),xD=Xn({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function MD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,LD,CD)),ur(1,49152,null,0,L_,[[2,ub]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)}),(function(t,e){t(e,0,0,"indeterminate"===Zi(e,1).state,"checked"===Zi(e,1).state,Zi(e,1).disabled,"NoopAnimations"===Zi(e,1)._animationMode)}))}function SD(t){return pl(2,[(t()(),Ko(16777216,null,null,1,null,MD)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),rl(null,0),(t()(),Go(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(5,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())}),(function(t,e){t(e,4,0,Zi(e,5).unbounded)}))}var CD=Xn({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function LD(t){return pl(2,[],null,null)}var DD=0,TD=function(){return function(){this.id="mat-error-"+DD++}}(),OD=function(){return function(){}}();function PD(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}var ED=0,ID=l_(function(){return function(t){this._elementRef=t}}(),"primary"),YD=new St("MAT_FORM_FIELD_DEFAULT_OPTIONS"),AD=function(t){function e(e,n,i,r,o,l,a,s){var u=t.call(this,e)||this;return u._elementRef=e,u._changeDetectorRef=n,u._dir=r,u._defaults=o,u._platform=l,u._ngZone=a,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new C,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+ED++,u._labelId="mat-form-field-label-"+ED++,u._previousDirection="ltr",u._labelOptions=i||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==s,u.appearance=o&&o.appearance?o.appearance:"legacy",u._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,u}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(t){this._explicitFormFieldControl=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Su(null)).subscribe((function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(df(this._destroyed)).subscribe((function(){return t._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.asObservable().pipe(df(t._destroyed)).subscribe((function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()}))})),J(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Su(null)).subscribe((function(){t._processHints(),t._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Su(null)).subscribe((function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(df(this._destroyed)).subscribe((function(){t.updateOutlineGap(),t._previousDirection=t._dir.value}))},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,bf(this._label.nativeElement,"transitionend").pipe(mu(1)).subscribe((function(){t._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach((function(i){if("start"===i.align){if(t||n.hintLabel)throw PD("start");t=i}else if("end"===i.align){if(e)throw PD("end");e=i}}))},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find((function(t){return"start"===t.align})):null,n=this._hintChildren?this._hintChildren.find((function(t){return"end"===t.align})):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map((function(t){return t.id})));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var l=i.getBoundingClientRect();if(0===l.width&&0===l.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var a=this._getStartEnd(l),s=this._getStartEnd(t.children[0].getBoundingClientRect()),u=0,c=0,d=t.children;c0?.75*u+10:0}for(var h=0;h enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function FD(t){return pl(0,[(t()(),Go(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),Go(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Go(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function ND(t){return pl(0,[(t()(),Go(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),rl(null,0)],null,null)}function HD(t){return pl(0,[(t()(),Go(0,0,null,null,3,null,null,null,null,null,null,null)),rl(null,2),(t()(),Go(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component._control.placeholder)}))}function zD(t){return pl(0,[rl(null,3),(t()(),Ko(0,null,null,0))],null,null)}function VD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),cl(-1,null,[" *"]))],null,null)}function BD(t){return pl(0,[(t()(),Go(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component.updateOutlineGap()&&i),i}),null,null)),ur(1,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),ur(2,1196032,null,0,jC,[RC,an,co],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),Ko(16777216,null,null,1,null,HD)),ur(4,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,zD)),ur(6,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,VD)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function WD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),rl(null,4)],null,null)}function UD(t){return pl(0,[(t()(),Go(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)}))}function qD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),rl(null,5)],null,(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function KD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),cl(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)}))}function GD(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,KD)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),rl(null,6),(t()(),Go(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),rl(null,7)],(function(t,e){t(e,2,0,e.component.hintLabel)}),(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function JD(t){return pl(2,[Qo(671088640,1,{underlineRef:0}),Qo(402653184,2,{_connectionContainerRef:0}),Qo(671088640,3,{_inputContainerRef:0}),Qo(671088640,4,{_label:0}),(t()(),Go(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),Go(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==(r._control.onContainerClick&&r._control.onContainerClick(n))&&i),i}),null,null)),(t()(),Ko(16777216,null,null,1,null,FD)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,ND)),ur(9,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),rl(null,1),(t()(),Go(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,BD)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,WD)),ur(16,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,UD)),ur(18,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),ur(20,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ko(16777216,null,null,1,null,qD)),ur(22,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,GD)),ur(24,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")}),null)}var ZD=0,$D=new St("mat-select-scroll-strategy");function XD(t){return function(){return t.scrollStrategies.reposition()}}var QD=function(){return function(t,e){this.source=t,this.value=e}}(),tT=function(t){function e(e,n,i,r,o,l,a,s,u,c,d,h,p){var f=t.call(this,o,r,a,s,c)||this;return f._viewportRuler=e,f._changeDetectorRef=n,f._ngZone=i,f._dir=l,f._parentFormField=u,f.ngControl=c,f._liveAnnouncer=p,f._panelOpen=!1,f._required=!1,f._scrollTop=0,f._multiple=!1,f._compareWith=function(t,e){return t===e},f._uid="mat-select-"+ZD++,f._destroy=new C,f._triggerFontSize=0,f._onChange=function(){},f._onTouched=function(){},f._optionIds="",f._transformOrigin="top",f._panelDoneAnimatingStream=new C,f._offsetY=0,f._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],f._disableOptionCentering=!1,f._focused=!1,f.controlType="mat-select",f.ariaLabel="",f.optionSelectionChanges=Js((function(){var t=f.options;return t?t.changes.pipe(Su(t),wu((function(){return J.apply(void 0,t.map((function(t){return t.onSelectionChange})))}))):f._ngZone.onStable.asObservable().pipe(mu(1),wu((function(){return f.optionSelectionChanges})))})),f.openedChange=new Yr,f._openedStream=f.openedChange.pipe($s((function(t){return t})),F((function(){}))),f._closedStream=f.openedChange.pipe($s((function(t){return!t})),F((function(){}))),f.selectionChange=new Yr,f.valueChange=new Yr,f.ngControl&&(f.ngControl.valueAccessor=f),f._scrollStrategyFactory=h,f._scrollStrategy=f._scrollStrategyFactory(),f.tabIndex=parseInt(d)||0,f.id=f.id,f}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(t){this._focused=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=ff(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._selectionModel=new im(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Df(),df(this._destroy)).subscribe((function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(df(this._destroy)).subscribe((function(){t._panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())}))},e.prototype.ngAfterContentInit=function(){var t=this;this._initKeyManager(),this._selectionModel.onChange.pipe(df(this._destroy)).subscribe((function(t){t.added.forEach((function(t){return t.select()})),t.removed.forEach((function(t){return t.deselect()}))})),this.options.changes.pipe(Su(null),df(this._destroy)).subscribe((function(){t._resetOptions(),t._initializeSelection()}))},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(mu(1)).subscribe((function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")})))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(t){this.options&&this._setSelectionByValue(t)},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map((function(t){return t.viewValue}));return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))},e.prototype._handleClosedKeydown=function(t){var e=t.keyCode,n=40===e||38===e||37===e||39===e,i=this._keyManager;if((13===e||32===e)&&!sm(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var r=this.selected;36===e||35===e?(36===e?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault()):i.onKeydown(t);var o=this.selected;this._liveAnnouncer&&o&&r!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}},e.prototype._handleOpenKeydown=function(t){var e=t.keyCode,n=40===e||38===e,i=this._keyManager;if(36===e||35===e)t.preventDefault(),36===e?i.setFirstItemActive():i.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(13!==e&&32!==e||!i.activeItem||sm(t))if(this._multiple&&65===e&&t.ctrlKey){t.preventDefault();var r=this.options.some((function(t){return!t.disabled&&!t.selected}));this.options.forEach((function(t){t.disabled||(r?t.select():t.deselect())}))}else{var o=i.activeItemIndex;i.onKeydown(t),this._multiple&&n&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==o&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()},e.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var t=this;this.overlayDir.positionChange.pipe(mu(1)).subscribe((function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop}))},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var t=this;Promise.resolve().then((function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()}))},e.prototype._setSelectionByValue=function(t){var e=this;if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach((function(t){return e._selectValue(t)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(t);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(t){var e=this,n=this.options.find((function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return te()&&console.warn(i),!1}}));return n&&this._selectionModel.select(n),n},e.prototype._initKeyManager=function(){var t=this;this._keyManager=new Gm(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(df(this._destroy)).subscribe((function(){t.focus(),t.close()})),this._keyManager.change.pipe(df(this._destroy)).subscribe((function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()}))},e.prototype._resetOptions=function(){var t=this,e=J(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(df(e)).subscribe((function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())})),J.apply(void 0,this.options.map((function(t){return t._stateChanges}))).pipe(df(e)).subscribe((function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})),this._setOptionIds()},e.prototype._onSelect=function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()},e.prototype._sortValues=function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort((function(n,i){return t.sortComparator?t.sortComparator(n,i,e):e.indexOf(n)-e.indexOf(i)})),this.stateChanges.next()}},e.prototype._propagateChanges=function(t){var e;e=this.multiple?this.selected.map((function(t){return t.value})):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new QD(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map((function(t){return t.id})).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},e.prototype._scrollActiveOptionIntoView=function(){var t,e,n,i=this._keyManager.activeItemIndex||0,r=A_(i,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(i+r)*(t=this._getItemHeight()))<(e=this.panel.nativeElement.scrollTop)?n:n+t>e+256?Math.max(0,n-256+t):e},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._getOptionIndex=function(t){return this.options.reduce((function(e,n,i){return void 0===e?t===n?i:void 0:e}),void 0)},e.prototype._calculateOverlayPosition=function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=A_(r,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(r,o,i),this._offsetY=this._calculateOverlayOffsetY(r,o,i),this._checkOverlayWithinViewport(i)},e.prototype._calculateOverlayScroll=function(t,e,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)},e.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},e.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)t=40;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}i||(t*=-1);var l=0-(e.left+t-(i?r:0)),a=e.right+t-n.width+(i?0:r);l>0?t+=l+8:a>0&&(t-=a+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(t,e,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,l=Math.floor(256/r);return this._disableOptionCentering?0:(i=0===this._scrollTop?t*r:this._scrollTop===n?(t-(this._getItemCount()-l))*r+(r-(this._getItemCount()*r-256)%r):e-r/2,Math.round(-1*i-o))},e.prototype._checkOverlayWithinViewport=function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),l=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;l>r?this._adjustPanelUp(l,r):o>i?this._adjustPanelDown(o,i,t):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(t,e,n){var i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},e.prototype._getOriginBasedOnOption=function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+t/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e}(a_(s_(o_(u_(function(){return function(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}()))))),eT=function(){return function(){}}(),nT=Xn({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function iT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),cl(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||" ")}))}function rT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||" ")}))}function oT(t){return pl(0,[rl(null,0),(t()(),Ko(0,null,null,0))],null,null)}function lT(t){return pl(0,[(t()(),Go(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),ur(1,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ko(16777216,null,null,1,null,rT)),ur(3,16384,null,0,Ss,[In,Pn,xs],null,null),(t()(),Ko(16777216,null,null,1,null,oT)),ur(5,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function aT(t){return pl(0,[(t()(),Go(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),Go(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"@transformPanel.done"===e&&(i=!1!==r._panelDoneAnimatingStream.next(n.toState)&&i),"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),i}),null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(3,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),rl(null,1)],(function(t,e){var n=e.component;t(e,3,0,Si(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function sT(t){return pl(2,[Qo(671088640,1,{trigger:0}),Qo(671088640,2,{panel:0}),Qo(671088640,3,{overlayDir:0}),(t()(),Go(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.toggle()&&i),i}),null,null)),ur(4,16384,[["origin",4]],0,Ym,[an],null,null),(t()(),Go(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),ur(6,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ko(16777216,null,null,1,null,iT)),ur(8,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,lT)),ur(10,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Go(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),Go(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,(function(t,e,n){var i=!0,r=t.component;return"backdropClick"===e&&(i=!1!==r.close()&&i),"attach"===e&&(i=!1!==r._onAttached()&&i),"detach"===e&&(i=!1!==r.close()&&i),i}),aT)),ur(14,671744,[[3,4]],0,Am,[Pm,Pn,In,Im,[2,W_]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,Zi(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}var uT=function(){function t(t,e,n){this.formBuilder=t,this.storageService=e,this.snackbarService=n,this.timesList=["3","5","10","15","30","60","90","150","300"]}return t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe((function(e){t.storageService.setRefreshTime(e),t.snackbarService.showDone("settings.refresh-rate-confirmation")}))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t}(),cT=Xn({encapsulation:0,styles:[["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}.help-container[_ngcontent-%COMP%]{color:#777;height:0;text-align:right}"]],data:{}});function dT(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),i}),SD,xD)),ur(1,8568832,[[10,4]],0,Y_,[an,De,[2,I_],[2,O_]],{value:[0,"value"]},null),(t()(),cl(2,0,[" "," "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,Si(1,"",e.context.$implicit,""))}),(function(t,e){t(e,0,0,Zi(e,1)._getTabIndex(),Zi(e,1).selected,Zi(e,1).multiple,Zi(e,1).active,Zi(e,1).id,Zi(e,1)._getAriaSelected(),Zi(e,1).disabled.toString(),Zi(e,1).disabled),t(e,2,0,e.context.$implicit,Jn(e,2,1,Zi(e,3).transform("settings.seconds")))}))}function hT(t){return pl(0,[(t()(),Go(0,0,null,null,35,"div",[["class","container-elevated-white"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,5,"div",[["class","help-container"]],null,null,null,null,null)),(t()(),Go(2,16777216,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,4).show()&&i),"keydown"===e&&(i=!1!==Zi(t,4)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,4)._handleTouchend()&&i),i}),Xk,$k)),ur(3,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),ur(4,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,0,[" help "])),(t()(),Go(7,0,null,null,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,9).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,9).onReset()&&i),i}),null,null)),ur(8,16384,null,0,qw,[],null,null),ur(9,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(11,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(12,0,null,null,23,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(13,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,1,{_controlNonStatic:0}),Qo(335544320,2,{_controlStatic:0}),Qo(603979776,3,{_labelChildNonStatic:0}),Qo(335544320,4,{_labelChildStatic:0}),Qo(603979776,5,{_placeholderChild:0}),Qo(603979776,6,{_errorChildren:1}),Qo(603979776,7,{_hintChildren:1}),Qo(603979776,8,{_prefixChildren:1}),Qo(603979776,9,{_suffixChildren:1}),(t()(),Go(23,0,null,1,12,"mat-select",[["class","mat-select"],["formControlName","refreshRate"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==Zi(t,28)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==Zi(t,28)._onFocus()&&i),"blur"===e&&(i=!1!==Zi(t,28)._onBlur()&&i),i}),sT,nT)),dr(6144,null,I_,null,[tT]),ur(25,671744,null,0,Qw,[[3,Qb],[8,null],[8,null],[8,null],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(27,16384,null,0,iw,[[4,ew]],null,null),ur(28,2080768,null,3,tT,[lm,De,co,d_,an,[2,W_],[2,Bw],[2,Jw],[2,AD],[6,ew],[8,null],$D,ig],{placeholder:[0,"placeholder"]},null),Qo(603979776,10,{options:1}),Qo(603979776,11,{optionGroups:1}),Qo(603979776,12,{customTrigger:0}),cr(131072,qg,[Wg,De]),dr(2048,[[1,4],[2,4]],OD,null,[tT]),(t()(),Ko(16777216,null,1,1,null,dT)),ur(35,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,!0),t(e,4,0,Jn(e,4,0,Zi(e,5).transform("settings.refresh-rate-help"))),t(e,9,0,n.form),t(e,25,0,"refreshRate"),t(e,28,0,Jn(e,28,0,Zi(e,32).transform("settings.refresh-rate"))),t(e,35,0,n.timesList)}),(function(t,e){t(e,2,0,Zi(e,3).inline,"primary"!==Zi(e,3).color&&"accent"!==Zi(e,3).color&&"warn"!==Zi(e,3).color),t(e,7,0,Zi(e,11).ngClassUntouched,Zi(e,11).ngClassTouched,Zi(e,11).ngClassPristine,Zi(e,11).ngClassDirty,Zi(e,11).ngClassValid,Zi(e,11).ngClassInvalid,Zi(e,11).ngClassPending),t(e,12,1,["standard"==Zi(e,13).appearance,"fill"==Zi(e,13).appearance,"outline"==Zi(e,13).appearance,"legacy"==Zi(e,13).appearance,Zi(e,13)._control.errorState,Zi(e,13)._canLabelFloat,Zi(e,13)._shouldLabelFloat(),Zi(e,13)._hasFloatingLabel(),Zi(e,13)._hideControlPlaceholder(),Zi(e,13)._control.disabled,Zi(e,13)._control.autofilled,Zi(e,13)._control.focused,"accent"==Zi(e,13).color,"warn"==Zi(e,13).color,Zi(e,13)._shouldForward("untouched"),Zi(e,13)._shouldForward("touched"),Zi(e,13)._shouldForward("pristine"),Zi(e,13)._shouldForward("dirty"),Zi(e,13)._shouldForward("valid"),Zi(e,13)._shouldForward("invalid"),Zi(e,13)._shouldForward("pending"),!Zi(e,13)._animationsEnabled]),t(e,23,1,[Zi(e,27).ngClassUntouched,Zi(e,27).ngClassTouched,Zi(e,27).ngClassPristine,Zi(e,27).ngClassDirty,Zi(e,27).ngClassValid,Zi(e,27).ngClassInvalid,Zi(e,27).ngClassPending,Zi(e,28).id,Zi(e,28).tabIndex,Zi(e,28)._getAriaLabel(),Zi(e,28)._getAriaLabelledby(),Zi(e,28).required.toString(),Zi(e,28).disabled.toString(),Zi(e,28).errorState,Zi(e,28).panelOpen?Zi(e,28)._optionIds:null,Zi(e,28).multiple,Zi(e,28)._ariaDescribedby||null,Zi(e,28)._getAriaActiveDescendant(),Zi(e,28).disabled,Zi(e,28).errorState,Zi(e,28).required,Zi(e,28).empty])}))}var pT=tm({passive:!0}),fT=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return Ks;var n=vf(t),i=this._monitoredElements.get(n);if(i)return i.subject.asObservable();var r=new C,o="cdk-text-field-autofilled",l=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(o)&&(n.classList.remove(o),e._ngZone.run((function(){return r.next({target:t.target,isAutofilled:!1})}))):(n.classList.add(o),e._ngZone.run((function(){return r.next({target:t.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",l,pT),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",l,pT)}}),r.asObservable()},t.prototype.stopMonitoring=function(t){var e=vf(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach((function(e,n){return t.stopMonitoring(n)}))},t.ngInjectableDef=ht({factory:function(){return new t(At(Zf),At(co))},token:t,providedIn:"root"}),t}(),mT=function(){return function(){}}(),gT=["button","checkbox","file","hidden","image","radio","range","reset","submit"],_T=0,yT=function(t){function e(e,n,i,r,o,l,a,s,u){var c=t.call(this,l,r,o,i)||this;c._elementRef=e,c._platform=n,c.ngControl=i,c._autofillMonitor=s,c._uid="mat-input-"+_T++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new C,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(t){return Qf().has(t)}));var d=c._elementRef.nativeElement;return c._inputValueAccessor=a||d,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}))})),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===d.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),c}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=ff(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Qf().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=ff(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()}))},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._focusChanged=function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(gT.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(u_(function(){return function(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}())),vT=function(){return function(){}}(),bT=function(){function t(t,e,n,i){this.authService=t,this.router=e,this.snackbarService=n,this.dialog=i,this.forInitialConfig=!1}return t.prototype.ngOnInit=function(){var t=this;this.form=new Hw({oldPassword:new Nw("",this.forInitialConfig?null:sw.required),newPassword:new Nw("",sw.compose([sw.required,sw.minLength(6),sw.maxLength(64)])),newPasswordConfirmation:new Nw("",[sw.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe((function(){return t.form.controls.newPasswordConfirmation.updateValueAndValidity()}))},t.prototype.ngAfterViewInit=function(){var t=this;this.forInitialConfig&&setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()},t.prototype.changePassword=function(){var t=this;this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe((function(){t.dialog.closeAll(),t.snackbarService.showDone("settings.password.initial-config.done")}),(function(e){t.button.showError(),e=Up(e),t.snackbarService.showError(e,null,!0)})):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe((function(){t.router.navigate(["nodes"]),t.snackbarService.showDone("settings.password.password-changed")}),(function(e){t.button.showError(),e=Up(e),t.snackbarService.showError(e)})))},t.prototype.validatePasswords=function(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null},t}(),wT=Xn({encapsulation:0,styles:[["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}.help-container[_ngcontent-%COMP%]{color:#777;height:0;text-align:right}"]],data:{}});function kT(t){return pl(0,[(t()(),Go(0,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(1,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,3,{_controlNonStatic:0}),Qo(335544320,4,{_controlStatic:0}),Qo(603979776,5,{_labelChildNonStatic:0}),Qo(335544320,6,{_labelChildStatic:0}),Qo(603979776,7,{_placeholderChild:0}),Qo(603979776,8,{_errorChildren:1}),Qo(603979776,9,{_hintChildren:1}),Qo(603979776,10,{_prefixChildren:1}),Qo(603979776,11,{_suffixChildren:1}),(t()(),Go(11,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","oldPassword"],["matInput",""],["maxlength","64"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,12)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,19)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,19)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,19)._onInput()&&i),i}),null,null)),ur(12,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(13,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(16,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(18,16384,null,0,iw,[[4,ew]],null,null),ur(19,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"],type:[1,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[3,4],[4,4]],OD,null,[yT]),(t()(),Go(22,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(23,16384,[[8,4]],0,TD,[],null,null),(t()(),cl(24,null,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,13,0,"64"),t(e,16,0,"oldPassword"),t(e,19,0,Jn(e,19,0,Zi(e,20).transform("settings.password.old-password")),"password")}),(function(t,e){t(e,0,1,["standard"==Zi(e,1).appearance,"fill"==Zi(e,1).appearance,"outline"==Zi(e,1).appearance,"legacy"==Zi(e,1).appearance,Zi(e,1)._control.errorState,Zi(e,1)._canLabelFloat,Zi(e,1)._shouldLabelFloat(),Zi(e,1)._hasFloatingLabel(),Zi(e,1)._hideControlPlaceholder(),Zi(e,1)._control.disabled,Zi(e,1)._control.autofilled,Zi(e,1)._control.focused,"accent"==Zi(e,1).color,"warn"==Zi(e,1).color,Zi(e,1)._shouldForward("untouched"),Zi(e,1)._shouldForward("touched"),Zi(e,1)._shouldForward("pristine"),Zi(e,1)._shouldForward("dirty"),Zi(e,1)._shouldForward("valid"),Zi(e,1)._shouldForward("invalid"),Zi(e,1)._shouldForward("pending"),!Zi(e,1)._animationsEnabled]),t(e,11,1,[Zi(e,13).maxlength?Zi(e,13).maxlength:null,Zi(e,18).ngClassUntouched,Zi(e,18).ngClassTouched,Zi(e,18).ngClassPristine,Zi(e,18).ngClassDirty,Zi(e,18).ngClassValid,Zi(e,18).ngClassInvalid,Zi(e,18).ngClassPending,Zi(e,19)._isServer,Zi(e,19).id,Zi(e,19).placeholder,Zi(e,19).disabled,Zi(e,19).required,Zi(e,19).readonly&&!Zi(e,19)._isNativeSelect||null,Zi(e,19)._ariaDescribedby||null,Zi(e,19).errorState,Zi(e,19).required.toString()]),t(e,22,0,Zi(e,23).id),t(e,24,0,Jn(e,24,0,Zi(e,25).transform("settings.password.errors.old-password-required")))}))}function xT(t){return pl(0,[Qo(671088640,1,{button:0}),Qo(671088640,2,{firstInput:0}),(t()(),Go(2,0,null,null,75,"div",[],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(4,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(5,{"container-elevated-white":0}),(t()(),Go(6,0,null,null,5,"div",[["class","help-container"]],null,null,null,null,null)),(t()(),Go(7,16777216,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,9).show()&&i),"keydown"===e&&(i=!1!==Zi(t,9)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,9)._handleTouchend()&&i),i}),Xk,$k)),ur(8,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),ur(9,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,0,[" help "])),(t()(),Go(12,0,null,null,65,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,14).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,14).onReset()&&i),i}),null,null)),ur(13,16384,null,0,qw,[],null,null),ur(14,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(16,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Ko(16777216,null,null,1,null,kT)),ur(18,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(19,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(20,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,12,{_controlNonStatic:0}),Qo(335544320,13,{_controlStatic:0}),Qo(603979776,14,{_labelChildNonStatic:0}),Qo(335544320,15,{_labelChildStatic:0}),Qo(603979776,16,{_placeholderChild:0}),Qo(603979776,17,{_errorChildren:1}),Qo(603979776,18,{_hintChildren:1}),Qo(603979776,19,{_prefixChildren:1}),Qo(603979776,20,{_suffixChildren:1}),(t()(),Go(30,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","newPassword"],["matInput",""],["maxlength","64"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,31)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,31).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,31)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,31)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,38)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,38)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,38)._onInput()&&i),i}),null,null)),ur(31,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(32,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(35,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(37,16384,null,0,iw,[[4,ew]],null,null),ur(38,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"],type:[1,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[12,4],[13,4]],OD,null,[yT]),(t()(),Go(41,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(42,16384,[[17,4]],0,TD,[],null,null),(t()(),cl(43,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(45,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(46,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,21,{_controlNonStatic:0}),Qo(335544320,22,{_controlStatic:0}),Qo(603979776,23,{_labelChildNonStatic:0}),Qo(335544320,24,{_labelChildStatic:0}),Qo(603979776,25,{_placeholderChild:0}),Qo(603979776,26,{_errorChildren:1}),Qo(603979776,27,{_hintChildren:1}),Qo(603979776,28,{_prefixChildren:1}),Qo(603979776,29,{_suffixChildren:1}),(t()(),Go(56,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","newPasswordConfirmation"],["matInput",""],["maxlength","64"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,57)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,57).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,57)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,57)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,64)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,64)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,64)._onInput()&&i),i}),null,null)),ur(57,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(58,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(61,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(63,16384,null,0,iw,[[4,ew]],null,null),ur(64,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"],type:[1,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[21,4],[22,4]],OD,null,[yT]),(t()(),Go(67,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(68,16384,[[26,4]],0,TD,[],null,null),(t()(),cl(69,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(71,0,null,null,6,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.changePassword()&&i),i}),$x,Vx)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(73,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(74,{"mt-2 app-button":0,"float-right":1}),ur(75,180224,[[1,4],["button",4]],0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(76,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component,i=t(e,5,0,!n.forInitialConfig);t(e,4,0,i),t(e,8,0,!0),t(e,9,0,Jn(e,9,0,Zi(e,10).transform(n.forInitialConfig?"settings.password.initial-config-help":"settings.password.help"))),t(e,14,0,n.form),t(e,18,0,!n.forInitialConfig),t(e,32,0,"64"),t(e,35,0,"newPassword"),t(e,38,0,Jn(e,38,0,Zi(e,39).transform(n.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),"password"),t(e,58,0,"64"),t(e,61,0,"newPasswordConfirmation"),t(e,64,0,Jn(e,64,0,Zi(e,65).transform(n.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),"password");var r=t(e,74,0,!n.forInitialConfig,n.forInitialConfig);t(e,73,0,r),t(e,75,0,"mat-raised-button",!n.form.valid,"primary")}),(function(t,e){var n=e.component;t(e,7,0,Zi(e,8).inline,"primary"!==Zi(e,8).color&&"accent"!==Zi(e,8).color&&"warn"!==Zi(e,8).color),t(e,12,0,Zi(e,16).ngClassUntouched,Zi(e,16).ngClassTouched,Zi(e,16).ngClassPristine,Zi(e,16).ngClassDirty,Zi(e,16).ngClassValid,Zi(e,16).ngClassInvalid,Zi(e,16).ngClassPending),t(e,19,1,["standard"==Zi(e,20).appearance,"fill"==Zi(e,20).appearance,"outline"==Zi(e,20).appearance,"legacy"==Zi(e,20).appearance,Zi(e,20)._control.errorState,Zi(e,20)._canLabelFloat,Zi(e,20)._shouldLabelFloat(),Zi(e,20)._hasFloatingLabel(),Zi(e,20)._hideControlPlaceholder(),Zi(e,20)._control.disabled,Zi(e,20)._control.autofilled,Zi(e,20)._control.focused,"accent"==Zi(e,20).color,"warn"==Zi(e,20).color,Zi(e,20)._shouldForward("untouched"),Zi(e,20)._shouldForward("touched"),Zi(e,20)._shouldForward("pristine"),Zi(e,20)._shouldForward("dirty"),Zi(e,20)._shouldForward("valid"),Zi(e,20)._shouldForward("invalid"),Zi(e,20)._shouldForward("pending"),!Zi(e,20)._animationsEnabled]),t(e,30,1,[Zi(e,32).maxlength?Zi(e,32).maxlength:null,Zi(e,37).ngClassUntouched,Zi(e,37).ngClassTouched,Zi(e,37).ngClassPristine,Zi(e,37).ngClassDirty,Zi(e,37).ngClassValid,Zi(e,37).ngClassInvalid,Zi(e,37).ngClassPending,Zi(e,38)._isServer,Zi(e,38).id,Zi(e,38).placeholder,Zi(e,38).disabled,Zi(e,38).required,Zi(e,38).readonly&&!Zi(e,38)._isNativeSelect||null,Zi(e,38)._ariaDescribedby||null,Zi(e,38).errorState,Zi(e,38).required.toString()]),t(e,41,0,Zi(e,42).id),t(e,43,0,Jn(e,43,0,Zi(e,44).transform("settings.password.errors.new-password-error"))),t(e,45,1,["standard"==Zi(e,46).appearance,"fill"==Zi(e,46).appearance,"outline"==Zi(e,46).appearance,"legacy"==Zi(e,46).appearance,Zi(e,46)._control.errorState,Zi(e,46)._canLabelFloat,Zi(e,46)._shouldLabelFloat(),Zi(e,46)._hasFloatingLabel(),Zi(e,46)._hideControlPlaceholder(),Zi(e,46)._control.disabled,Zi(e,46)._control.autofilled,Zi(e,46)._control.focused,"accent"==Zi(e,46).color,"warn"==Zi(e,46).color,Zi(e,46)._shouldForward("untouched"),Zi(e,46)._shouldForward("touched"),Zi(e,46)._shouldForward("pristine"),Zi(e,46)._shouldForward("dirty"),Zi(e,46)._shouldForward("valid"),Zi(e,46)._shouldForward("invalid"),Zi(e,46)._shouldForward("pending"),!Zi(e,46)._animationsEnabled]),t(e,56,1,[Zi(e,58).maxlength?Zi(e,58).maxlength:null,Zi(e,63).ngClassUntouched,Zi(e,63).ngClassTouched,Zi(e,63).ngClassPristine,Zi(e,63).ngClassDirty,Zi(e,63).ngClassValid,Zi(e,63).ngClassInvalid,Zi(e,63).ngClassPending,Zi(e,64)._isServer,Zi(e,64).id,Zi(e,64).placeholder,Zi(e,64).disabled,Zi(e,64).required,Zi(e,64).readonly&&!Zi(e,64)._isNativeSelect||null,Zi(e,64)._ariaDescribedby||null,Zi(e,64).errorState,Zi(e,64).required.toString()]),t(e,67,0,Zi(e,68).id),t(e,69,0,Jn(e,69,0,Zi(e,70).transform("settings.password.errors.passwords-not-match"))),t(e,76,0,Jn(e,76,0,Zi(e,77).transform(n.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")))}))}var MT=function(){function t(t,e,n,i){this.authService=t,this.router=e,this.snackbarService=n,this.sidenavService=i,this.tabsData=[],this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}]}return t.prototype.ngOnInit=function(){var t=this;setTimeout((function(){t.menuSubscription=t.sidenavService.setContents([{name:"common.logout",actionName:"logout",icon:"power_settings_new"}],null).subscribe((function(e){"logout"===e&&t.logout()}))}))},t.prototype.ngOnDestroy=function(){this.menuSubscription&&this.menuSubscription.unsubscribe()},t.prototype.logout=function(){var t=this;this.authService.logout().subscribe((function(){return t.router.navigate(["login"])}),(function(){return t.snackbarService.showError("common.logout-error")}))},t}(),ST=Xn({encapsulation:0,styles:[[".content[_ngcontent-%COMP%]{color:#202226}"]],data:{}});function CT(t){return pl(0,[(t()(),Go(0,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"div",[["class","col-12"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"app-tab-bar",[],null,null,null,jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],showUpdateButton:[3,"showUpdateButton"]},null),al(4,1),(t()(),Go(5,0,null,null,4,"div",[["class","content col-12 mt-4.5"]],null,null,null,null,null)),(t()(),Go(6,0,null,null,1,"app-refresh-rate",[["class","d-block mb-4"]],null,null,null,hT,cT)),ur(7,245760,null,0,uT,[nk,Fp,Lg],null,null),(t()(),Go(8,0,null,null,1,"app-password",[],null,null,null,xT,wT)),ur(9,4440064,null,0,bT,[rx,cp,Lg,Ib],null,null)],(function(t,e){var n=e.component,i=t(e,4,0,"start.title");t(e,3,0,i,n.tabsData,1,!1),t(e,7,0),t(e,9,0)}),null)}function LT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-settings",[],null,null,null,CT,ST)),ur(1,245760,null,0,MT,[rx,cp,Lg,Xx],null,null)],(function(t,e){t(e,1,0)}),null)}var DT=Ni("app-settings",MT,LT,{},{},[]),TT=Xn({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function OT(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function PT(t){return pl(0,[Qo(402653184,1,{_portalOutlet:0}),(t()(),Ko(16777216,null,null,1,null,OT)),ur(2,212992,[[1,4]],0,sf,[nn,In],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function ET(t){return pl(0,[(t()(),Go(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],(function(t,e,n){var i=!0;return"component:@state.done"===e&&(i=!1!==Zi(t,1).onAnimationEnd(n)&&i),i}),PT,TT)),ur(1,180224,null,0,xg,[co,an,De,wg],null,null)],null,(function(t,e){t(e,0,0,Zi(e,1)._role,Zi(e,1)._animationState)}))}var IT=Ni("snack-bar-container",xg,ET,{},{},[]),YT=Xn({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],data:{}});function AT(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.action()&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),cl(3,0,["",""]))],null,(function(t,e){var n=e.component;t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,3,0,n.data.action)}))}function RT(t){return pl(2,[(t()(),Go(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""])),(t()(),Ko(16777216,null,null,1,null,AT)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,e.component.hasAction)}),(function(t,e){t(e,1,0,e.component.data.message)}))}function jT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,RT,YT)),ur(1,49152,null,0,kg,[vg,bg],null,null)],null,null)}var FT=Ni("simple-snack-bar",kg,jT,{},{},[]),NT=Xn({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function HT(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function zT(t){return pl(0,[Qo(402653184,1,{_portalOutlet:0}),(t()(),Ko(16777216,null,null,1,null,HT)),ur(2,212992,[[1,4]],0,sf,[nn,In],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function VT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var i=!0;return"component:@dialogContainer.start"===e&&(i=!1!==Zi(t,1)._onAnimationStart(n)&&i),"component:@dialogContainer.done"===e&&(i=!1!==Zi(t,1)._onAnimationDone(n)&&i),i}),zT,NT)),ur(1,49152,null,0,Cb,[an,tg,De,[2,As],Mb],null,null)],null,(function(t,e){t(e,0,0,Zi(e,1)._id,Zi(e,1)._config.role,Zi(e,1)._config.ariaLabel?null:Zi(e,1)._ariaLabelledBy,Zi(e,1)._config.ariaLabel,Zi(e,1)._config.ariaDescribedBy||null,Zi(e,1)._state)}))}var BT=Ni("mat-dialog-container",Cb,VT,{},{},[]),WT=Xn({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function UT(t){return pl(2,[(t()(),Go(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var i=!0,r=t.component;return"@state.start"===e&&(i=!1!==r._animationStart()&&i),"@state.done"===e&&(i=!1!==r._animationDone(n)&&i),i}),null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),cr(131072,Is,[De]),(t()(),cl(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,i=e.component;t(e,0,0,null==(n=Jn(e,0,0,Zi(e,3).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,4,0,i.message)}))}function qT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==Zi(t,1)._handleBodyInteraction()&&i),i}),UT,WT)),ur(1,180224,null,0,kb,[De,gg],null,null)],null,(function(t,e){t(e,0,0,"visible"===Zi(e,1)._visibility?1:null)}))}var KT=Ni("mat-tooltip-component",kb,qT,{},{},[]),GT=function(){return function(){this.includeScrollableArea=!0}}(),JT=Xn({encapsulation:0,styles:[[".cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]::after{content:'';display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.ml-3\\.5[_ngcontent-%COMP%]{margin-left:1.25rem!important}.mr-3\\.5[_ngcontent-%COMP%]{margin-right:1.25rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}.header[_ngcontent-%COMP%]{color:#154b6c;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;display:flex;justify-content:space-between;align-items:center;margin:-24px -24px 0}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:17px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width:767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}"]],data:{}});function ZT(t){return pl(0,[(t()(),Go(0,0,null,null,5,"button",[["class","grey-button-background"],["mat-dialog-close",""],["mat-icon-button",""]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,1).dialogRef.close(Zi(t,1).dialogResult)&&i),i}),pb,hb)),ur(1,606208,null,0,Ab,[[2,Db],an,Ib],{dialogResult:[0,"dialogResult"]},null),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(4,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["close"]))],(function(t,e){t(e,1,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,Zi(e,1).ariaLabel||null,Zi(e,1).type,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,3,0,Zi(e,4).inline,"primary"!==Zi(e,4).color&&"accent"!==Zi(e,4).color&&"warn"!==Zi(e,4).color)}))}function $T(t){return pl(0,[(t()(),Go(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function XT(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(1,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,$T)),ur(3,540672,null,0,Ts,[In],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(t,e){t(e,3,0,Zi(e.parent,10))}),null)}function QT(t){return pl(0,[(t()(),Go(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function tO(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,QT)),ur(2,540672,null,0,Ts,[In],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,Zi(e.parent,10))}),null)}function eO(t){return pl(0,[rl(null,0),(t()(),Ko(0,null,null,0))],null,null)}function nO(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","header mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),ur(1,81920,null,0,Rb,[[2,Db],an,Ib],null,null),(t()(),Go(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(3,null,["",""])),(t()(),Ko(16777216,null,null,1,null,ZT)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,XT)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,tO)),ur(9,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(0,[["contentTemplate",2]],null,0,null,eO))],(function(t,e){var n=e.component;t(e,1,0),t(e,5,0,!n.disableDismiss),t(e,7,0,n.includeScrollableArea),t(e,9,0,!n.includeScrollableArea)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).id),t(e,3,0,n.headline)}))}var iO=a_(function(){return function(){}}()),rO=a_(function(){return function(){}}()),oO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._stateChanges=new C,e}return Object(i.__extends)(e,t),e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(iO),lO=function(t){function e(e){var n=t.call(this)||this;return n._elementRef=e,n._stateChanges=new C,"action-list"===n._getListType()&&e.nativeElement.classList.add("mat-action-list"),n}return Object(i.__extends)(e,t),e.prototype._getListType=function(){var t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(iO),aO=function(t){function e(e,n,i,r){var o=t.call(this)||this;o._element=e,o._isInteractiveList=!1,o._destroyed=new C,o._isInteractiveList=!!(i||r&&"action-list"===r._getListType()),o._list=i||r;var l=o._getHostElement();return"button"!==l.nodeName.toLowerCase()||l.hasAttribute("type")||l.setAttribute("type","button"),o._list&&o._list._stateChanges.pipe(df(o._destroyed)).subscribe((function(){n.markForCheck()})),o}return Object(i.__extends)(e,t),e.prototype.ngAfterContentInit=function(){var t,e;e=this._element,(t=this._lines).changes.pipe(Su(t)).subscribe((function(t){var n=t.length;g_(e,"mat-2-line",!1),g_(e,"mat-3-line",!1),g_(e,"mat-multi-line",!1),2===n||3===n?g_(e,"mat-"+n+"-line",!0):n>3&&g_(e,"mat-multi-line",!0)}))},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._isRippleDisabled=function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)},e.prototype._getHostElement=function(){return this._element.nativeElement},e}(rO),sO=function(){return function(){}}(),uO=function(){return function(){}}(),cO=Xn({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function dO(t){return pl(2,[rl(null,0)],null,null)}var hO=Xn({encapsulation:2,styles:[],data:{}});function pO(t){return pl(2,[(t()(),Go(0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(2,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),rl(null,0),(t()(),Go(4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),rl(null,1),rl(null,2)],(function(t,e){var n=e.component;t(e,2,0,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){t(e,1,0,Zi(e,2).unbounded)}))}var fO=new St("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,disableDragValue:!1}}}),mO=0,gO=function(){return function(t,e){this.source=t,this.checked=e}}(),_O=function(t){function e(e,n,i,r,o,l,a,s){var u=t.call(this,e)||this;return u._focusMonitor=n,u._changeDetectorRef=i,u._ngZone=o,u.defaults=l,u._animationMode=a,u._dir=s,u._onChange=function(t){},u._onTouched=function(){},u._uniqueId="mat-slide-toggle-"+ ++mO,u._required=!1,u._checked=!1,u._dragging=!1,u.name=null,u.id=u._uniqueId,u.labelPosition="after",u.ariaLabel=null,u.ariaLabelledby=null,u.change=new Yr,u.toggleChange=new Yr,u.dragChange=new Yr,u.tabIndex=parseInt(r)||0,u}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=ff(t),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){e||Promise.resolve().then((function(){return t._onTouched()}))}))},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype._onChangeEvent=function(t){t.stopPropagation(),this._dragging||this.toggleChange.emit(),this._dragging||this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())},e.prototype._onInputClick=function(t){t.stopPropagation()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck()},e.prototype.focus=function(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)},e.prototype.toggle=function(){this.checked=!this.checked,this._onChange(this.checked)},e.prototype._emitChangeEvent=function(){this._onChange(this.checked),this.change.emit(new gO(this,this.checked))},e.prototype._getDragPercentage=function(t){var e=t/this._thumbBarWidth*100;return this._previousChecked&&(e+=100),Math.max(0,Math.min(e,100))},e.prototype._onDragStart=function(){if(!this.disabled&&!this._dragging){var t=this._thumbEl.nativeElement;this._thumbBarWidth=this._thumbBarEl.nativeElement.clientWidth-t.clientWidth,t.classList.add("mat-dragging"),this._previousChecked=this.checked,this._dragging=!0}},e.prototype._onDrag=function(t){if(this._dragging){var e=this._dir&&"rtl"===this._dir.value?-1:1;this._dragPercentage=this._getDragPercentage(t.deltaX*e),this._thumbEl.nativeElement.style.transform="translate3d("+this._dragPercentage/100*this._thumbBarWidth*e+"px, 0, 0)"}},e.prototype._onDragEnd=function(){var t=this;if(this._dragging){var e=this._dragPercentage>50;e!==this.checked&&(this.dragChange.emit(),this.defaults.disableDragValue||(this.checked=e,this._emitChangeEvent())),this._ngZone.runOutsideAngular((function(){return setTimeout((function(){t._dragging&&(t._dragging=!1,t._thumbEl.nativeElement.classList.remove("mat-dragging"),t._thumbEl.nativeElement.style.transform="")}))}))}},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e}(s_(l_(a_(o_(function(){return function(t){this._elementRef=t}}())),"accent"))),yO=function(){return function(){}}(),vO=function(){return function(){}}(),bO=Xn({encapsulation:2,styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media (hover:none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}@media (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}.mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:1px dotted;outline-offset:5px}}@media (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}"],data:{}});function wO(t){return pl(2,[Qo(671088640,1,{_thumbEl:0}),Qo(671088640,2,{_thumbBarEl:0}),Qo(671088640,3,{_inputElement:0}),(t()(),Go(3,0,[["label",1]],null,13,"label",[["class","mat-slide-toggle-label"]],[[1,"for",0]],null,null,null,null)),(t()(),Go(4,0,[[2,0],["toggleBar",1]],null,7,"div",[["class","mat-slide-toggle-bar"]],[[2,"mat-slide-toggle-bar-no-side-margin",null]],null,null,null,null)),(t()(),Go(5,0,[[3,0],["input",1]],null,0,"input",[["class","mat-slide-toggle-input cdk-visually-hidden"],["role","switch"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"tabIndex",0],[8,"checked",0],[8,"disabled",0],[1,"name",0],[1,"aria-checked",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"change"===e&&(i=!1!==r._onChangeEvent(n)&&i),"click"===e&&(i=!1!==r._onInputClick(n)&&i),i}),null,null)),(t()(),Go(6,0,[[1,0],["thumbContainer",1]],null,5,"div",[["class","mat-slide-toggle-thumb-container"]],null,[[null,"slidestart"],[null,"slide"],[null,"slideend"]],(function(t,e,n){var i=!0,r=t.component;return"slidestart"===e&&(i=!1!==r._onDragStart()&&i),"slide"===e&&(i=!1!==r._onDrag(n)&&i),"slideend"===e&&(i=!1!==r._onDragEnd()&&i),i}),null,null)),(t()(),Go(7,0,null,null,0,"div",[["class","mat-slide-toggle-thumb"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,3,"div",[["class","mat-slide-toggle-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(9,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),sl(10,{enterDuration:0}),(t()(),Go(11,0,null,null,0,"div",[["class","mat-ripple-element mat-slide-toggle-persistent-ripple"]],null,null,null,null,null)),(t()(),Go(12,0,[["labelContent",1]],null,4,"span",[["class","mat-slide-toggle-content"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component._onLabelTextChange()&&i),i}),null,null)),ur(13,1196032,null,0,jC,[RC,an,co],null,{event:"cdkObserveContent"}),(t()(),Go(14,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),cl(-1,null,[" "])),rl(null,0)],(function(t,e){var n=e.component,i=t(e,10,0,150);t(e,9,0,!0,20,i,n.disableRipple||n.disabled,Zi(e,3))}),(function(t,e){var n=e.component;t(e,3,0,n.inputId),t(e,4,0,!Zi(e,12).textContent||!Zi(e,12).textContent.trim()),t(e,5,0,n.inputId,n.required,n.tabIndex,n.checked,n.disabled,n.name,n.checked.toString(),n.ariaLabel,n.ariaLabelledby),t(e,8,0,Zi(e,9).unbounded)}))}var kO=Xn({encapsulation:0,styles:[["mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .discovery-address-input-container{display:flex;flex:1}p[_ngcontent-%COMP%]{font-size:14px;line-height:18px;color:#777;margin-bottom:0}"]],data:{}});function xO(t){return pl(0,[(t()(),Go(0,0,null,null,16,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),(t()(),Go(2,0,null,0,14,"div",[["class","startup-form"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,11,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,dO,cO)),ur(4,704512,null,0,lO,[an],null,null),(t()(),Go(5,0,null,0,9,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(6,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,1,{_lines:1}),Qo(603979776,2,{_avatar:0}),Qo(603979776,3,{_icon:0}),(t()(),Go(10,0,null,2,1,"span",[],null,null,null,null,null)),(t()(),cl(-1,null,["Act as an exit node"])),(t()(),Go(12,0,null,2,2,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==Zi(t,14)._inputElement.nativeElement.focus()&&i),i}),wO,bO)),dr(5120,null,Gb,(function(t){return[t]}),[_O]),ur(14,1228800,null,0,_O,[an,lg,De,[8,null],co,fO,[2,ub],[2,W_]],{checked:[0,"checked"]},null),(t()(),Go(15,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),cl(-1,null,["Lorem ipsum dolor sit amet, consectetur adipisicing elit. A aspernatur deserunt ex in inventore laboriosam minus odio porro, quae quidem sed sint, suscipit ullam! Accusantium assumenda molestias nemo nesciunt veritatis!"]))],(function(t,e){t(e,1,0,"Node configuration"),t(e,14,0,!0)}),(function(t,e){t(e,5,0,Zi(e,6)._avatar||Zi(e,6)._icon,Zi(e,6)._avatar||Zi(e,6)._icon),t(e,12,0,Zi(e,14).id,Zi(e,14).disabled?null:-1,null,null,Zi(e,14).checked,Zi(e,14).disabled,"before"==Zi(e,14).labelPosition,"NoopAnimations"===Zi(e,14)._animationMode)}))}function MO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-configuration",[],null,null,null,xO,kO)),ur(1,114688,null,0,KS,[Tb,Db],null,null)],(function(t,e){t(e,1,0)}),null)}var SO=Ni("app-configuration",KS,MO,{},{},[]),CO=Xn({encapsulation:0,styles:[[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.transparent[_ngcontent-%COMP%]{opacity:.5}.filter-link[_ngcontent-%COMP%]{font-size:.875rem;text-align:center;padding:10px 0;color:#0072ff;border-bottom:1px solid rgba(0,0,0,.12);cursor:pointer}"]],data:{}});function LO(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","app-log-message"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"span",[["class","transparent"]],null,null,null,null,null)),(t()(),cl(2,null,[" "," "])),(t()(),cl(3,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.time),t(e,3,0,e.context.$implicit.msg)}))}function DO(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","app-log-empty mt-3"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.log.empty")))}))}function TO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-loading-indicator",[],null,null,null,HM,NM)),ur(1,49152,null,0,FM,[],{showWhite:[0,"showWhite"]},null)],(function(t,e){t(e,1,0,!1)}),null)}function OO(t){return pl(0,[Qo(671088640,1,{content:0}),(t()(),Go(1,0,null,null,18,"app-dialog",[],null,null,null,nO,JT)),ur(2,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,7,"div",[["class","filter-link"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.filter()&&i),i}),null,null)),(t()(),Go(5,0,null,null,2,"span",[["class","transparent"]],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,["  "])),(t()(),Go(9,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(12,0,[[1,0],["content",1]],0,7,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(13,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,LO)),ur(15,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,DO)),ur(17,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,TO)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.log.title")),!1),t(e,15,0,n.logMessages),t(e,17,0,!(n.loading||n.logMessages&&0!==n.logMessages.length)),t(e,19,0,n.loading)}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("apps.log.filter-button"))),t(e,10,0,Jn(e,10,0,Zi(e,11).transform(n.currentFilter.text)))}))}function PO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-log",[],null,null,null,OO,CO)),ur(1,245760,null,0,IL,[Tb,PL,Ib,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var EO=Ni("app-log",IL,PO,{},{},[]),IO=["mat-list-item[_ngcontent-%COMP%] .mat-list-item-content{padding:0!important}"],YO=function(){function t(){this.hostClass="key-input-container",this.keyChange=new Yr,this.value="",this.autofocus=!1}return t.prototype.ngAfterViewInit=function(){this.autofocus&&this.keyInput.focus()},t.prototype.onInput=function(t){this.value=t.target.value,this.emitState()},t.prototype.clear=function(){this.value=""},t.prototype.ngOnInit=function(){this.createFormControl()},Object.defineProperty(t.prototype,"data",{set:function(t){this.required=t.required,this.placeholder=t.placeholder,this.keyChange.subscribe(t.subscriber),t.clearInputEmitter.subscribe(this.clear.bind(this))},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){var e=this;this.createFormControl(),setTimeout((function(){return e.emitState()}),0)},t.prototype.createFormControl=function(){var t;this.validator=new Nw(this.value,[(t=this.required,void 0===t&&(t=!1),function(e){return function(t,e){if(null!=t&&(e||t.length>0)){if(0===t.trim().length)return{required:!0};if(66!==t.length)return{invalid:!0}}return null}(e.value,t)})])},t.prototype.emitState=function(){this.keyChange.emit({value:this.value,valid:this.validator.valid})},t}(),AO=Xn({encapsulation:0,styles:[["[_nghost-%COMP%] .mat-form-field, [_nghost-%COMP%] .mat-form-field-wrapper{display:flex;flex:1}"]],data:{}});function RO(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(1,16384,[[7,4]],0,TD,[],null,null),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,0,0,Zi(e,1).id),t(e,2,0,Jn(e,2,0,Zi(e,3).transform("inputs.errors.key-required")))}))}function jO(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(1,16384,[[7,4]],0,TD,[],null,null),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,0,0,Zi(e,1).id),t(e,2,0,Jn(e,2,0,Zi(e,3).transform("inputs.errors.key-length")))}))}function FO(t){return pl(0,[Qo(671088640,1,{keyInput:0}),(t()(),Go(1,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(2,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,2,{_controlNonStatic:0}),Qo(335544320,3,{_controlStatic:0}),Qo(603979776,4,{_labelChildNonStatic:0}),Qo(335544320,5,{_labelChildStatic:0}),Qo(603979776,6,{_placeholderChild:0}),Qo(603979776,7,{_errorChildren:1}),Qo(603979776,8,{_hintChildren:1}),Qo(603979776,9,{_prefixChildren:1}),Qo(603979776,10,{_suffixChildren:1}),(t()(),Go(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"input"===e&&(i=!1!==Zi(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,18)._onInput()&&i),"input"===e&&(i=!1!==r.onInput(n)&&i),i}),null,null)),ur(13,16384,null,0,$b,[hn,an,[2,Zb]],null,null),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(15,540672,null,0,Gw,[[8,null],[8,null],[6,Gb],[2,Kw]],{form:[0,"form"]},null),dr(2048,null,ew,null,[Gw]),ur(17,16384,null,0,iw,[[4,ew]],null,null),ur(18,999424,[[1,4]],0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"],type:[1,"type"],value:[2,"value"]},null),dr(2048,[[2,4],[3,4]],OD,null,[yT]),(t()(),Ko(16777216,null,5,1,null,RO)),ur(21,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,5,1,null,jO)),ur(23,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,15,0,n.validator),t(e,18,0,n.placeholder,"text",n.value),t(e,21,0,(null==n.validator.errors?null:n.validator.errors.required)&&(n.validator.dirty||n.validator.touched)),t(e,23,0,(null==n.validator.errors?null:n.validator.errors.invalid)&&(n.validator.dirty||n.validator.touched))}),(function(t,e){t(e,1,1,["standard"==Zi(e,2).appearance,"fill"==Zi(e,2).appearance,"outline"==Zi(e,2).appearance,"legacy"==Zi(e,2).appearance,Zi(e,2)._control.errorState,Zi(e,2)._canLabelFloat,Zi(e,2)._shouldLabelFloat(),Zi(e,2)._hasFloatingLabel(),Zi(e,2)._hideControlPlaceholder(),Zi(e,2)._control.disabled,Zi(e,2)._control.autofilled,Zi(e,2)._control.focused,"accent"==Zi(e,2).color,"warn"==Zi(e,2).color,Zi(e,2)._shouldForward("untouched"),Zi(e,2)._shouldForward("touched"),Zi(e,2)._shouldForward("pristine"),Zi(e,2)._shouldForward("dirty"),Zi(e,2)._shouldForward("valid"),Zi(e,2)._shouldForward("invalid"),Zi(e,2)._shouldForward("pending"),!Zi(e,2)._animationsEnabled]),t(e,12,1,[Zi(e,17).ngClassUntouched,Zi(e,17).ngClassTouched,Zi(e,17).ngClassPristine,Zi(e,17).ngClassDirty,Zi(e,17).ngClassValid,Zi(e,17).ngClassInvalid,Zi(e,17).ngClassPending,Zi(e,18)._isServer,Zi(e,18).id,Zi(e,18).placeholder,Zi(e,18).disabled,Zi(e,18).required,Zi(e,18).readonly&&!Zi(e,18)._isNativeSelect||null,Zi(e,18)._ariaDescribedby||null,Zi(e,18).errorState,Zi(e,18).required.toString()])}))}function NO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-key-input",[],[[1,"class",0]],null,null,FO,AO)),ur(1,4833280,null,0,YO,[],null,null)],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,Zi(e,1).hostClass)}))}var HO=Ni("app-key-input",YO,NO,{value:"value",required:"required",placeholder:"placeholder",autofocus:"autofocus"},{keyChange:"keyChange"},[]),zO=function(){function t(){this.hostClass="keypair-component",this.keypair={nodeKey:"",appKey:""},this.keypairChange=new Yr,this.required=!1,this.nodeKeyValid=!1,this.appKeyValid=!1}return t.prototype.onNodeValueChanged=function(t){var e=t.valid;this.keypair.nodeKey=t.value,this.nodeKeyValid=e,this.onPairChanged()},t.prototype.onAppValueChanged=function(t){var e=t.valid;this.keypair.appKey=t.value,this.appKeyValid=e,this.onPairChanged()},t.prototype.onPairChanged=function(){this.keypairChange.emit({keyPair:this.keypair,valid:this.valid})},Object.defineProperty(t.prototype,"valid",{get:function(){return this.nodeKeyValid&&this.appKeyValid},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.keypair?this.onPairChanged():this.keypair={nodeKey:"",appKey:""}},t.prototype.ngOnChanges=function(t){},t}(),VO=Xn({encapsulation:0,styles:[[""]],data:{}});function BO(t){return pl(0,[(t()(),Go(0,0,null,null,6,"div",[["class","keypair-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"app-key-input",[["id","nodeKeyField"]],[[1,"class",0]],[[null,"keyChange"]],(function(t,e,n){var i=!0;return"keyChange"===e&&(i=!1!==t.component.onNodeValueChanged(n)&&i),i}),FO,AO)),ur(2,4833280,null,0,YO,[],{value:[0,"value"],required:[1,"required"],placeholder:[2,"placeholder"]},{keyChange:"keyChange"}),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,null,2,"app-key-input",[["id","appKeyField"]],[[1,"class",0]],[[null,"keyChange"]],(function(t,e,n){var i=!0;return"keyChange"===e&&(i=!1!==t.component.onAppValueChanged(n)&&i),i}),FO,AO)),ur(5,4833280,null,0,YO,[],{value:[0,"value"],required:[1,"required"],placeholder:[2,"placeholder"]},{keyChange:"keyChange"}),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,2,0,n.keypair?n.keypair.nodeKey:"",n.required,Jn(e,2,2,Zi(e,3).transform("common.node-key"))),t(e,5,0,n.keypair?n.keypair.appKey:"",n.required,Jn(e,5,2,Zi(e,6).transform("common.app-key")))}),(function(t,e){t(e,1,0,Zi(e,2).hostClass),t(e,4,0,Zi(e,5).hostClass)}))}var WO=function(){function t(t,e){this.dialogRef=t,this.nodeService=e,this.validKeyPair=!1,this.hasKeyPair=!0}return t.prototype.save=function(){this.dialogRef.close()},Object.defineProperty(t.prototype,"keyPair",{get:function(){return{nodeKey:this.nodeKey,appKey:this.appKey}},enumerable:!0,configurable:!0}),t.prototype.keypairChange=function(t){var e=t.keyPair,n=t.valid;n&&(this.autoStartConfig[this.nodeKeyConfigField]=e.nodeKey,this.autoStartConfig[this.appKeyConfigField]=e.appKey),this.validKeyPair=n,console.log("validKeyPair: "+this.validKeyPair)},Object.defineProperty(t.prototype,"nodeKey",{get:function(){return this.autoStartConfig[this.nodeKeyConfigField]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"appKey",{get:function(){return this.autoStartConfig[this.appKeyConfigField]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAutoStartChecked",{get:function(){return this.autoStartConfig[this.appConfigField]},enumerable:!0,configurable:!0}),t.prototype.toggle=function(t){this.autoStartConfig[this.appConfigField]=t.checked},t.prototype.ngOnInit=function(){},Object.defineProperty(t.prototype,"formValid",{get:function(){return!this.hasKeyPair||this.validKeyPair},enumerable:!0,configurable:!0}),t}(),UO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasKeyPair=!1,e.appConfigField="sshs",e.autoStartTitle="apps.sshs.auto-startup",e}return Object(i.__extends)(e,t),e}(WO),qO=Xn({encapsulation:0,styles:[IO],data:{}});function KO(t){return pl(0,[(t()(),Go(0,0,null,null,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(1,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,4,{_lines:1}),Qo(603979776,5,{_avatar:0}),Qo(603979776,6,{_icon:0}),(t()(),Go(5,0,null,2,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(6,638976,null,0,zO,[],{keypair:[0,"keypair"],required:[1,"required"]},{keypairChange:"keypairChange"})],(function(t,e){var n=e.component;t(e,6,0,n.keyPair,n.isAutoStartChecked)}),(function(t,e){t(e,0,0,Zi(e,1)._avatar||Zi(e,1)._icon,Zi(e,1)._avatar||Zi(e,1)._icon),t(e,5,0,Zi(e,6).hostClass)}))}function GO(t){return pl(0,[(t()(),Go(0,0,null,null,19,"form",[["class","startup-form clearfix"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,2).onReset()&&i),i}),null,null)),ur(1,16384,null,0,qw,[],null,null),ur(2,4210688,null,0,Bw,[[8,null],[8,null]],null,null),dr(2048,null,Qb,null,[Bw]),ur(4,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(5,0,null,null,14,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,dO,cO)),ur(6,704512,null,0,lO,[an],null,null),(t()(),Go(7,0,null,0,10,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(8,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,1,{_lines:1}),Qo(603979776,2,{_avatar:0}),Qo(603979776,3,{_icon:0}),(t()(),Go(12,0,null,2,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,2,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["id","toggleAutomaticStartBtn"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==Zi(t,17)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.toggle(n)&&i),i}),wO,bO)),dr(5120,null,Gb,(function(t){return[t]}),[_O]),ur(17,1228800,null,0,_O,[an,lg,De,[8,null],co,fO,[2,ub],[2,W_]],{id:[0,"id"],checked:[1,"checked"]},{change:"change"}),(t()(),Ko(16777216,null,0,1,null,KO)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,17,0,"toggleAutomaticStartBtn",n.isAutoStartChecked),t(e,19,0,n.hasKeyPair)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,4).ngClassUntouched,Zi(e,4).ngClassTouched,Zi(e,4).ngClassPristine,Zi(e,4).ngClassDirty,Zi(e,4).ngClassValid,Zi(e,4).ngClassInvalid,Zi(e,4).ngClassPending),t(e,7,0,Zi(e,8)._avatar||Zi(e,8)._icon,Zi(e,8)._avatar||Zi(e,8)._icon),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.autoStartTitle))),t(e,15,0,Zi(e,17).id,Zi(e,17).disabled?null:-1,null,null,Zi(e,17).checked,Zi(e,17).disabled,"before"==Zi(e,17).labelPosition,"NoopAnimations"===Zi(e,17)._animationMode)}))}function JO(t){return pl(0,[(t()(),Go(0,0,null,null,12,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(4,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,GO)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(7,0,null,0,5,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),ur(8,16384,null,0,Fb,[],null,null),(t()(),Go(9,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.save()&&i),i}),$x,Vx)),ur(10,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(11,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.config.title")),!1),t(e,6,0,n.autoStartConfig),t(e,10,0,"mat-raised-button",!n.formValid,"primary")}),(function(t,e){t(e,11,0,Jn(e,11,0,Zi(e,12).transform("common.save")))}))}function ZO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sshs-startup-config",[],null,null,null,JO,qO)),ur(1,114688,null,0,UO,[Db,WM],null,null)],(function(t,e){t(e,1,0)}),null)}var $O=Ni("app-sshs-startup-config",UO,ZO,{automaticStartTitle:"automaticStartTitle"},{},[]);function XO(t){return function(t){function e(){for(var e=[],n=0;n0;r--)e[r]&&(n[r]=i,i+=t[r]);return n},t}();function fP(t){return Error('Could not find column with id "'+t+'".')}var mP=function(){return function(t,e){this.viewContainer=t,this.elementRef=e}}(),gP=function(){return function(t,e){this.viewContainer=t,this.elementRef=e}}(),_P=function(){return function(t,e){this.viewContainer=t,this.elementRef=e}}(),yP=function(){function t(t,e,n,i,r,o,l){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=r,this._platform=l,this._onDestroy=new C,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new zs({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object.defineProperty(t.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(t){te()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+"."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(t){this._multiTemplateDataRows=ff(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(e,n){return t.trackBy?t.trackBy(n.dataIndex,n.data):n}))},t.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()},t.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),nm(this.dataSource)&&this.dataSource.disconnect(this)},t.prototype.renderRows=function(){var t=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var n=this._rowOutlet.viewContainer;e.forEachOperation((function(e,i,r){if(null==e.previousIndex)t._insertRow(e.item,r);else if(null==r)n.remove(i);else{var o=n.get(i);n.move(o,r)}})),this._updateRowIndexContext(),e.forEachIdentityChange((function(t){n.get(t.currentIndex).context.$implicit=t.item.data})),this.updateStickyColumnStyles()}},t.prototype.setHeaderRowDef=function(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0},t.prototype.setFooterRowDef=function(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0},t.prototype.addColumnDef=function(t){this._customColumnDefs.add(t)},t.prototype.removeColumnDef=function(t){this._customColumnDefs.delete(t)},t.prototype.addRowDef=function(t){this._customRowDefs.add(t)},t.prototype.removeRowDef=function(t){this._customRowDefs.delete(t)},t.prototype.addHeaderRowDef=function(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0},t.prototype.removeHeaderRowDef=function(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0},t.prototype.addFooterRowDef=function(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0},t.prototype.removeFooterRowDef=function(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0},t.prototype.updateStickyHeaderRowStyles=function(){var t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");var n=this._headerRowDefs.map((function(t){return t.sticky}));this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach((function(t){return t.resetStickyChanged()}))},t.prototype.updateStickyFooterRowStyles=function(){var t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");var n=this._footerRowDefs.map((function(t){return t.sticky}));this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach((function(t){return t.resetStickyChanged()}))},t.prototype.updateStickyColumnStyles=function(){var t=this,e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(e.concat(n,i),["left","right"]),e.forEach((function(e,n){t._addStickyColumnStyles([e],t._headerRowDefs[n])})),this._rowDefs.forEach((function(e){for(var i=[],r=0;r1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]},t.prototype._renderUpdatedColumns=function(){var t=function(t,e){return t||!!e.getColumnsDiff()};this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()},t.prototype._switchDataSource=function(t){this._data=[],nm(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t},t.prototype._observeRenderChanges=function(){var t=this;if(this.dataSource){var e;if(nm(this.dataSource)?e=this.dataSource.connect(this):this.dataSource instanceof w?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Hs(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(df(this._onDestroy)).subscribe((function(e){t._data=e||[],t.renderRows()}))}},t.prototype._forceRenderHeaderRows=function(){var t=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(e,n){return t._renderRow(t._headerRowOutlet,e,n)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},t.prototype._forceRenderFooterRows=function(){var t=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(e,n){return t._renderRow(t._footerRowOutlet,e,n)})),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},t.prototype._addStickyColumnStyles=function(t,e){var n=this,i=Array.from(e.columns||[]).map((function(t){var e=n._columnDefsByName.get(t);if(!e)throw fP(t);return e})),r=i.map((function(t){return t.sticky})),o=i.map((function(t){return t.stickyEnd}));this._stickyStyler.updateStickyColumns(t,r,o)},t.prototype._getRenderedRows=function(t){for(var e=[],n=0;nl?a=1:o0)){var i=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,i);r!==n.pageIndex&&(n.pageIndex=r,e._internalPageChanges.next())}}))},e.prototype.connect=function(){return this._renderData},e.prototype.disconnect=function(){},e}(em),YP=function(){return function(t){this.viewContainerRef=t}}(),AP=function(){function t(t){this.componentFactoryResolver=t}return t.prototype.ngAfterViewInit=function(){var t=this.componentFactoryResolver.resolveComponentFactory(this.componentClass),e=this.host.viewContainerRef;e.clear(),e.createComponent(t).instance.data=this.data},t}(),RP=Xn({encapsulation:0,styles:[[""]],data:{}});function jP(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function FP(t){return pl(0,[Qo(671088640,1,{host:0}),(t()(),Ko(16777216,null,null,1,null,jP)),ur(2,16384,[[1,4]],0,YP,[In],null,null)],null,null)}var NP=Xn({encapsulation:2,styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-of-type,mat-footer-cell:first-of-type,mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-footer-cell:last-of-type,mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type,[dir=rtl] th.mat-header-cell:first-of-type{padding-left:0;padding-right:24px}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type,[dir=rtl] th.mat-header-cell:last-of-type{padding-right:0;padding-left:24px}"],data:{}});function HP(t){return pl(0,[Qo(402653184,1,{_rowOutlet:0}),Qo(402653184,2,{_headerRowOutlet:0}),Qo(402653184,3,{_footerRowOutlet:0}),rl(null,0),(t()(),Go(4,16777216,null,null,1,null,null,null,null,null,null,null)),ur(5,16384,[[2,4]],0,gP,[In,an],null,null),(t()(),Go(6,16777216,null,null,1,null,null,null,null,null,null,null)),ur(7,16384,[[1,4]],0,mP,[In,an],null,null),(t()(),Go(8,16777216,null,null,1,null,null,null,null,null,null,null)),ur(9,16384,[[3,4]],0,_P,[In,an],null,null)],null,null)}var zP=Xn({encapsulation:2,styles:[],data:{}});function VP(t){return pl(0,[(t()(),Go(0,16777216,null,null,1,null,null,null,null,null,null,null)),ur(1,147456,null,0,uP,[In],null,null)],null,null)}var BP=Xn({encapsulation:2,styles:[],data:{}});function WP(t){return pl(0,[(t()(),Go(0,16777216,null,null,1,null,null,null,null,null,null,null)),ur(1,147456,null,0,uP,[In],null,null)],null,null)}var UP=function(){function t(){this.dataSource=new IP,this.save=new Yr,this.displayedColumns=["index","key","remove"],this.clearInputEmitter=new Yr}return t.prototype.ngOnInit=function(){this.updateValues(this.data||[],!1)},t.prototype.updateValues=function(t,e){void 0===e&&(e=!0),this.dataSource.data=t.concat([]),e&&this.save&&this.save.emit(t.concat([]))},t.prototype.onAddValueChanged=function(t){this.valueToAdd=t.valid?t.value:null},t.prototype.onAddBtnClicked=function(){this.data.push(this.valueToAdd),this.updateValues(this.data),this.valueToAdd=null,this.clearInputEmitter.emit()},t.prototype.onRemoveBtnClicked=function(t){this.data.splice(t,1),this.updateValues(this.data)},t.prototype.onValueAtPositionChanged=function(t,e){var n=this.data;n[t]=e,this.updateValues(n)},t.prototype._getAddRowData=function(){var t=this.getAddRowData();return t.subscriber=this.onAddValueChanged.bind(this),t.clearInputEmitter=this.clearInputEmitter,t},t.prototype._getEditableRowData=function(t,e){var n=this.getEditableRowData(t,e);return n.subscriber=this.onValueAtPositionChanged.bind(this,t),n.required=!0,n},t}(),qP=Xn({encapsulation:0,styles:[[""]],data:{}});function KP(t){return pl(0,[(t()(),Go(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(-1,null,["#"]))],null,null)}function GP(t){return pl(0,[(t()(),Go(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),cl(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.index+1)}))}function JP(t){return pl(0,[(t()(),Go(0,0,null,null,2,"th",[["class","w-100 mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.component.meta.headerTitle)}))}function ZP(t){return pl(0,[(t()(),Go(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,1,"app-host",[],null,null,null,FP,RP)),ur(3,4243456,null,0,AP,[nn],{componentClass:[0,"componentClass"],data:[1,"data"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.getEditableRowComponentClass(),n._getEditableRowData(e.context.index,e.context.$implicit))}),null)}function $P(t){return pl(0,[(t()(),Go(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null)],null,null)}function XP(t){return pl(0,[(t()(),Go(0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,16777216,null,null,5,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,4).show()&&i),"keydown"===e&&(i=!1!==Zi(t,4)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,4)._handleTouchend()&&i),"click"===e&&(i=!1!==r.onRemoveBtnClicked(t.context.index)&&i),i}),pb,hb)),ur(3,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(4,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),(t()(),Go(5,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(6,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["close"]))],(function(t,e){t(e,4,0,Si(1,"",e.component.meta.removeRowTooltipText,"")),t(e,6,0)}),(function(t,e){t(e,2,0,Zi(e,3).disabled||null,"NoopAnimations"===Zi(e,3)._animationMode),t(e,5,0,Zi(e,6).inline,"primary"!==Zi(e,6).color&&"accent"!==Zi(e,6).color&&"warn"!==Zi(e,6).color)}))}function QP(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,VP,zP)),dr(6144,null,cP,null,[TP]),ur(2,49152,null,0,TP,[],null,null)],null,null)}function tE(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,WP,BP)),dr(6144,null,dP,null,[OP]),ur(2,49152,null,0,OP,[],null,null)],null,null)}function eE(t){return pl(0,[(t()(),Go(0,0,null,null,51,"table",[["class","table-abs-white selectable mat-table"],["mat-table",""]],null,null,null,HP,NP)),dr(6144,null,yP,null,[wP]),ur(2,2342912,null,4,wP,[Cn,De,an,[8,null],[2,W_],As,Zf],{dataSource:[0,"dataSource"]},null),Qo(603979776,1,{_contentColumnDefs:1}),Qo(603979776,2,{_contentRowDefs:1}),Qo(603979776,3,{_contentHeaderRowDefs:1}),Qo(603979776,4,{_contentFooterRowDefs:1}),(t()(),Go(7,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(9,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,5,{cell:0}),Qo(603979776,6,{headerCell:0}),Qo(603979776,7,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,KP)),ur(15,16384,null,0,xP,[Pn],null,null),dr(2048,[[6,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,GP)),ur(18,16384,null,0,kP,[Pn],null,null),dr(2048,[[5,4]],QO,null,[kP]),(t()(),Go(20,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(22,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,8,{cell:0}),Qo(603979776,9,{headerCell:0}),Qo(603979776,10,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,JP)),ur(28,16384,null,0,xP,[Pn],null,null),dr(2048,[[9,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,ZP)),ur(31,16384,null,0,kP,[Pn],null,null),dr(2048,[[8,4]],QO,null,[kP]),(t()(),Go(33,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(35,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,11,{cell:0}),Qo(603979776,12,{headerCell:0}),Qo(603979776,13,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,$P)),ur(41,16384,null,0,xP,[Pn],null,null),dr(2048,[[12,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,XP)),ur(44,16384,null,0,kP,[Pn],null,null),dr(2048,[[11,4]],QO,null,[kP]),(t()(),Ko(0,null,null,2,null,QP)),ur(47,540672,null,0,LP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[3,4]],lP,null,[LP]),(t()(),Ko(0,null,null,2,null,tE)),ur(50,540672,null,0,DP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[2,4]],sP,null,[DP])],(function(t,e){var n=e.component;t(e,2,0,n.dataSource),t(e,9,0,"index"),t(e,22,0,"key"),t(e,35,0,"remove"),t(e,47,0,n.displayedColumns),t(e,50,0,n.displayedColumns)}),null)}function nE(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,eE)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(2,0,null,null,5,"div",[["class","table-abs-white font-sm d-flex align-items-center mt-3"],["id","addValueContainer"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,1,"app-host",[["style","display: flex; flex: 1;"]],null,null,null,FP,RP)),ur(4,4243456,null,0,AP,[nn],{componentClass:[0,"componentClass"],data:[1,"data"]},null),(t()(),Go(5,0,null,null,2,"app-button",[["class","ml-3"],["color","accent"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.onAddBtnClicked()&&i),i}),$x,Vx)),ur(6,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(7,0,[" "," "]))],(function(t,e){var n=e.component;t(e,1,0,n.dataSource.data.length>0),t(e,4,0,n.getAddRowComponentClass(),n._getAddRowData()),t(e,6,0,"mat-raised-button",!n.valueToAdd,"accent")}),(function(t,e){t(e,7,0,e.component.meta.addButtonTitle)}))}var iE=function(){function t(){this.hostClass="editable-key-container",this.autofocus=!1,this.required=!1,this.valueEdited=new Yr,this.editMode=!1,this.valid=!0}return t.prototype.onAppKeyChanged=function(t){var e=t.value,n=t.valid;this.valid=n,n&&(this.value=e)},t.prototype.toggleEditMode=function(){this.editMode=!this.editMode,this.triggerValueChanged()},t.prototype.triggerValueChanged=function(){!this.editMode&&this.valid&&this.valueEdited.emit(this.value)},Object.defineProperty(t.prototype,"data",{set:function(t){this.required=t.required,this.autofocus=t.autofocus,this.value=t.value,this.valueEdited.subscribe(t.subscriber)},enumerable:!0,configurable:!0}),t}(),rE=function(){function t(t,e,n,i,r){this.data=t,this.dialogRef=e,this.appsService=n,this.translate=i,this.snackbarService=r,this.currentWhiteList=[]}return t.prototype.ngOnInit=function(){var t=this;this.dialogRef.beforeClosed().subscribe((function(){t._save()}))},t.prototype.save=function(t){this.currentWhiteList=t},t.prototype._save=function(){},t.prototype.getEditableRowComponentClass=function(){return iE},t.prototype.getAddRowComponentClass=function(){return YO},t.prototype.getAddRowData=function(){return{required:!1,placeholder:this.translate.instant("apps.sshs.whitelist.enter-key")}},t.prototype.getEditableRowData=function(t,e){return{autofocus:!0,value:e}},t}(),oE=Xn({encapsulation:0,styles:[["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}[_nghost-%COMP%] td.mat-cell:last-child, [_nghost-%COMP%] td.mat-footer-cell:last-child{text-align:right}[_nghost-%COMP%] td.mat-footer-cell{border-bottom:none}[_nghost-%COMP%] .key-input-container, [_nghost-%COMP%] .mat-form-field{width:100%}"]],data:{}});function lE(t){return pl(0,[(t()(),Go(0,0,null,null,8,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,5,"app-datatable",[],null,[[null,"save"]],(function(t,e,n){var i=!0;return"save"===e&&(i=!1!==t.component.save(n)&&i),i}),nE,qP)),ur(4,114688,null,0,UP,[],{data:[0,"data"],getEditableRowData:[1,"getEditableRowData"],getEditableRowComponentClass:[2,"getEditableRowComponentClass"],getAddRowData:[3,"getAddRowData"],getAddRowComponentClass:[4,"getAddRowComponentClass"],meta:[5,"meta"]},{save:"save"}),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),sl(8,{headerTitle:0,removeRowTooltipText:1,addButtonTitle:2})],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.sshs.whitelist.title")));var i=n.data.app.allow_nodes||Li,r=n.getEditableRowData.bind(n),o=n.getEditableRowComponentClass.bind(n),l=n.getAddRowData.bind(n),a=n.getAddRowComponentClass.bind(n),s=t(e,8,0,Jn(e,4,5,Zi(e,5).transform("apps.sshs.whitelist.header")),Jn(e,4,5,Zi(e,6).transform("apps.sshs.whitelist.remove")),Jn(e,4,5,Zi(e,7).transform("apps.sshs.whitelist.add")));t(e,4,0,i,r,o,l,a,s)}),null)}function aE(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sshs-whitelist",[],null,null,null,lE,oE)),ur(1,114688,null,0,rE,[Tb,Db,PL,Wg,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var sE=Ni("app-sshs-whitelist",rE,aE,{},{},[]),uE=new St("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),cE=function(){function t(t,e,n,i){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=i}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e._setStyles(t)}))})):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}(),dE=function(){return function(t){this.template=t}}(),hE=function(t){function e(e){var n=t.call(this)||this;return n._viewContainerRef=e,n.textLabel="",n._contentPortal=null,n._stateChanges=new C,n.position=null,n.origin=null,n.isActive=!1,n}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype.ngOnInit=function(){this._contentPortal=new of(this._explicitContent||this._implicitContent,this._viewContainerRef)},e}(o_(function(){return function(){}}())),pE=function(t){function e(e,n,i){var r=t.call(this,e,n)||this;return r._host=i,r._centeringSub=s.EMPTY,r._leavingSub=s.EMPTY,r}return Object(i.__extends)(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(Su(this._host._isCenterPosition(this._host._position))).subscribe((function(t){t&&!e.hasAttached()&&e.attach(e._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){e.detach()}))},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e}(sf),fE=function(t){function e(e,n,i){return t.call(this,e,n,i)||this}return Object(i.__extends)(e,t),e}(function(){function t(t,e,n){var i=this;this._elementRef=t,this._dir=e,this._dirChangeSubscription=s.EMPTY,this._translateTabComplete=new C,this._onCentering=new Yr,this._beforeCentering=new Yr,this._afterLeavingCenter=new Yr,this._onCentered=new Yr(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe((function(t){i._computePositionAnimationState(t),n.markForCheck()}))),this._translateTabComplete.pipe(Df((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){i._isCenterPosition(t.toState)&&i._isCenterPosition(i._position)&&i._onCentered.emit(),i._isCenterPosition(t.fromState)&&!i._isCenterPosition(i._position)&&i._afterLeavingCenter.emit()}))}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},t.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.prototype._computePositionAnimationState=function(t){void 0===t&&(t=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"},t.prototype._computePositionFromOrigin=function(){var t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"},t}()),mE=0,gE=function(){return function(){}}(),_E=new St("MAT_TABS_CONFIG"),yE=function(t){function e(e,n,i,r){return t.call(this,e,n,i,r)||this}return Object(i.__extends)(e,t),e}(function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o._changeDetectorRef=n,o._animationMode=r,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=s.EMPTY,o._tabLabelSubscription=s.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new Yr,o.focusChange=new Yr,o.animationDone=new Yr,o.selectedTabChange=new Yr(!0),o._groupId=mE++,o.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",o}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=mf(t,null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){t._tabs.forEach((function(t,n){return t.isActive=n===e})),n||t.selectedIndexChange.emit(e)}))}this._tabs.forEach((function(n,i){n.position=i-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;nu&&(this.scrollDistance+=i-u+60)}},t.prototype._checkPaginationEnabled=function(){var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t},t.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},t.prototype._stopInterval=function(){this._stopScrolling.next()},t.prototype._handlePaginatorPress=function(t){var e=this;this._stopInterval(),Af(650,100).pipe(df(J(this._stopScrolling,this._destroyed))).subscribe((function(){var n=e._scrollHeader(t),i=n.distance;(0===i||i>=n.maxScrollDistance)&&e._stopInterval()}))},t.prototype._scrollTo=function(t){var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},t}())),kE=function(){return function(){}}(),xE=Xn({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function ME(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function SE(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,ME)),ur(1,212992,null,0,sf,[nn,In],{portal:[0,"portal"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0,e.parent.context.$implicit.templateLabel)}),null)}function CE(t){return pl(0,[(t()(),cl(0,null,["",""]))],null,(function(t,e){t(e,0,0,e.parent.context.$implicit.textLabel)}))}function LE(t){return pl(0,[(t()(),Go(0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._handleClick(t.context.$implicit,Zi(t.parent,3),t.context.index)&&i),i}),null,null)),ur(1,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"]},null),ur(2,147456,null,0,ag,[an,lg],null,null),ur(3,16384,[[3,4]],0,vE,[an],{disabled:[0,"disabled"]},null),(t()(),Go(4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,SE)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,CE)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),t(e,3,0,e.context.$implicit.disabled),t(e,6,0,e.context.$implicit.templateLabel),t(e,8,0,!e.context.$implicit.templateLabel)}),(function(t,e){var n=e.component;t(e,0,1,[n._getTabLabelId(e.context.index),n._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,n._tabs.length,n._getTabContentId(e.context.index),n.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,n.selectedIndex==e.context.index,Zi(e,1).unbounded,Zi(e,3).disabled,!!Zi(e,3).disabled])}))}function DE(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],(function(t,e,n){var i=!0,r=t.component;return"_onCentered"===e&&(i=!1!==r._removeTabBodyWrapperHeight()&&i),"_onCentering"===e&&(i=!1!==r._setTabBodyWrapperHeight(n)&&i),i}),EE,OE)),ur(1,245760,null,0,fE,[an,[2,W_],De],{_content:[0,"_content"],origin:[1,"origin"],animationDuration:[2,"animationDuration"],position:[3,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],(function(t,e){t(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.component.animationDuration,e.context.$implicit.position)}),(function(t,e){var n=e.component;t(e,0,0,n._getTabContentId(e.context.index),n._getTabLabelId(e.context.index),n.selectedIndex==e.context.index)}))}function TE(t){return pl(2,[Qo(671088640,1,{_tabBodyWrapper:0}),Qo(671088640,2,{_tabHeader:0}),(t()(),Go(2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],(function(t,e,n){var i=!0,r=t.component;return"indexFocused"===e&&(i=!1!==r._focusChanged(n)&&i),"selectFocusedIndex"===e&&(i=!1!==(r.selectedIndex=n)&&i),i}),YE,IE)),ur(3,7520256,[[2,4],["tabHeader",4]],1,wE,[an,De,lm,[2,W_],co,Zf,[2,ub]],{selectedIndex:[0,"selectedIndex"],disableRipple:[1,"disableRipple"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),Qo(603979776,3,{_items:1}),(t()(),Ko(16777216,null,0,1,null,LE)),ur(6,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,DE)),ur(9,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.selectedIndex,n.disableRipple),t(e,6,0,n._tabs),t(e,9,0,n._tabs)}),(function(t,e){var n=e.component;t(e,2,0,Zi(e,3)._showPaginationControls,"rtl"==Zi(e,3)._getLayoutDirection()),t(e,7,0,"NoopAnimations"===n._animationMode)}))}var OE=Xn({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function PE(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function EE(t){return pl(2,[Qo(671088640,1,{_portalHost:0}),(t()(),Go(1,0,[["content",1]],null,4,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],(function(t,e,n){var i=!0,r=t.component;return"@translateTab.start"===e&&(i=!1!==r._onTranslateTabStarted(n)&&i),"@translateTab.done"===e&&(i=!1!==r._translateTabComplete.next(n)&&i),i}),null,null)),sl(2,{animationDuration:0}),sl(3,{value:0,params:1}),(t()(),Ko(16777216,null,null,1,null,PE)),ur(5,212992,null,0,pE,[nn,In,fE],null,null)],(function(t,e){t(e,5,0)}),(function(t,e){var n=e.component,i=t(e,3,0,n._position,t(e,2,0,n.animationDuration));t(e,1,0,i)}))}var IE=Xn({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}"],data:{}});function YE(t){return pl(2,[Qo(402653184,1,{_inkBar:0}),Qo(402653184,2,{_tabListContainer:0}),Qo(402653184,3,{_tabList:0}),Qo(671088640,4,{_nextPaginator:0}),Qo(671088640,5,{_previousPaginator:0}),(t()(),Go(5,0,[[5,0],["previousPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"],[null,"mousedown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r._handlePaginatorClick("before")&&i),"mousedown"===e&&(i=!1!==r._handlePaginatorPress("before")&&i),"touchend"===e&&(i=!1!==r._stopInterval()&&i),i}),null,null)),ur(6,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"]},null),(t()(),Go(7,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(t()(),Go(8,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==t.component._handleKeydown(n)&&i),i}),null,null)),(t()(),Go(9,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],[[2,"_mat-animation-noopable",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component._onContentChanges()&&i),i}),null,null)),ur(10,1196032,null,0,jC,[RC,an,co],null,{event:"cdkObserveContent"}),(t()(),Go(11,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),rl(null,0),(t()(),Go(13,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),ur(14,16384,[[1,4]],0,cE,[an,co,uE,[2,ub]],null,null),(t()(),Go(15,0,[[4,0],["nextPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"mousedown"],[null,"click"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"mousedown"===e&&(i=!1!==r._handlePaginatorPress("after")&&i),"click"===e&&(i=!1!==r._handlePaginatorClick("after")&&i),"touchend"===e&&(i=!1!==r._stopInterval()&&i),i}),null,null)),ur(16,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"]},null),(t()(),Go(17,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,6,0,n._disableScrollBefore||n.disableRipple),t(e,16,0,n._disableScrollAfter||n.disableRipple)}),(function(t,e){var n=e.component;t(e,5,0,n._disableScrollBefore,Zi(e,6).unbounded),t(e,9,0,"NoopAnimations"===n._animationMode),t(e,13,0,"NoopAnimations"===Zi(e,14)._animationMode),t(e,15,0,n._disableScrollAfter,Zi(e,16).unbounded)}))}var AE=Xn({encapsulation:2,styles:[],data:{}});function RE(t){return pl(0,[rl(null,0),(t()(),Ko(0,null,null,0))],null,null)}function jE(t){return pl(2,[Qo(402653184,1,{_implicitContent:0}),(t()(),Ko(0,[[1,2]],null,0,null,RE))],null,null)}var FE=function(){function t(t){this.apiService=t}return t.prototype.get=function(t){return this.request("conn/getClientConnection",t)},t.prototype.save=function(t,e){return this.request("conn/saveClientConnection",t,{data:JSON.stringify(e)})},t.prototype.edit=function(t,e,n){return this.request("conn/editClientConnection",t,{index:e,label:n})},t.prototype.remove=function(t,e){return this.request("conn/removeClientConnection",t,{index:e})},t.prototype.request=function(t,e,n){return this.apiService.post(t,Object(i.__assign)({client:e},n))},t.ngInjectableDef=ht({factory:function(){return new t(At(nx))},token:t,providedIn:"root"}),t}(),NE=function(){function t(t,e){this.connectionService=t,this.dialog=e,this.connect=new Yr,this.dataSource=new IP,this.displayedColumns=["label","keys","actions"]}return t.prototype.ngOnInit=function(){this.fetchData()},t.prototype.edit=function(t,e){var n=this;this.dialog.open(UM,{data:{label:e}}).afterClosed().subscribe((function(e){void 0!==e&&n.connectionService.edit(n.app,t,e).subscribe((function(){return n.fetchData()}))}))},t.prototype.delete=function(t){var e=this;this.connectionService.remove(this.app,t).subscribe((function(){return e.fetchData()}))},t.prototype.fetchData=function(){var t=this;this.connectionService.get(this.app).subscribe((function(e){t.dataSource.data=e||[]}))},t}(),HE=Xn({encapsulation:0,styles:[[".nowrap[_ngcontent-%COMP%]{word-break:keep-all;white-space:nowrap}.actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center}.actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-block;font-size:16px;margin-right:10px;cursor:pointer}"]],data:{}});function zE(t){return pl(0,[(t()(),Go(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("nodes.label")))}))}function VE(t){return pl(0,[(t()(),Go(0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,5,"span",[],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(4,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(5,{"text-muted":0}),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){var n=t(e,5,0,!e.context.$implicit.label);t(e,4,0,n)}),(function(t,e){t(e,6,0,e.context.$implicit.label||Jn(e,6,0,Zi(e,7).transform("common.none")))}))}function BE(t){return pl(0,[(t()(),Go(0,0,null,null,4,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,[" "," / "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("common.node-key")),Jn(e,2,1,Zi(e,4).transform("common.app-key")))}))}function WE(t){return pl(0,[(t()(),Go(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(3,null,["",""])),(t()(),Go(4,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Go(5,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(6,null,["",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit.nodeKey),t(e,6,0,e.context.$implicit.appKey)}))}function UE(t){return pl(0,[(t()(),Go(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null)],null,null)}function qE(t){return pl(0,[(t()(),Go(0,0,null,null,13,"td",[["class","actions mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,16777216,null,null,3,"i",[["class","material-icons"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,3).show()&&i),"keydown"===e&&(i=!1!==Zi(t,3)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,3)._handleTouchend()&&i),"click"===e&&(i=!1!==r.edit(t.context.index,t.context.$implicit.label)&&i),i}),null,null)),ur(3,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,["edit"])),(t()(),Go(6,16777216,null,null,3,"i",[["class","material-icons"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,7).show()&&i),"keydown"===e&&(i=!1!==Zi(t,7)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,7)._handleTouchend()&&i),"click"===e&&(i=!1!==r.delete(t.context.index)&&i),i}),null,null)),ur(7,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,["delete"])),(t()(),Go(10,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.connect.emit({nodeKey:t.context.$implicit.nodeKey,appKey:t.context.$implicit.appKey})&&i),i}),$x,Vx)),ur(11,180224,null,0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(12,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,Jn(e,3,0,Zi(e,4).transform("nodes.edit-label"))),t(e,7,0,Jn(e,7,0,Zi(e,8).transform("common.delete"))),t(e,11,0,"mat-raised-button","primary")}),(function(t,e){t(e,12,0,Jn(e,12,0,Zi(e,13).transform("apps.socksc.connect")))}))}function KE(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,VP,zP)),dr(6144,null,cP,null,[TP]),ur(2,49152,null,0,TP,[],null,null)],null,null)}function GE(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,WP,BP)),dr(6144,null,dP,null,[OP]),ur(2,49152,null,0,OP,[],null,null)],null,null)}function JE(t){return pl(0,[(t()(),Go(0,0,null,null,51,"table",[["class","table-abs-white sm mat-table"],["mat-table",""]],null,null,null,HP,NP)),dr(6144,null,yP,null,[wP]),ur(2,2342912,null,4,wP,[Cn,De,an,[8,null],[2,W_],As,Zf],{dataSource:[0,"dataSource"]},null),Qo(603979776,1,{_contentColumnDefs:1}),Qo(603979776,2,{_contentRowDefs:1}),Qo(603979776,3,{_contentHeaderRowDefs:1}),Qo(603979776,4,{_contentFooterRowDefs:1}),(t()(),Go(7,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(9,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,5,{cell:0}),Qo(603979776,6,{headerCell:0}),Qo(603979776,7,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,zE)),ur(15,16384,null,0,xP,[Pn],null,null),dr(2048,[[6,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,VE)),ur(18,16384,null,0,kP,[Pn],null,null),dr(2048,[[5,4]],QO,null,[kP]),(t()(),Go(20,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(22,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,8,{cell:0}),Qo(603979776,9,{headerCell:0}),Qo(603979776,10,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,BE)),ur(28,16384,null,0,xP,[Pn],null,null),dr(2048,[[9,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,WE)),ur(31,16384,null,0,kP,[Pn],null,null),dr(2048,[[8,4]],QO,null,[kP]),(t()(),Go(33,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(35,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,11,{cell:0}),Qo(603979776,12,{headerCell:0}),Qo(603979776,13,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,UE)),ur(41,16384,null,0,xP,[Pn],null,null),dr(2048,[[12,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,qE)),ur(44,16384,null,0,kP,[Pn],null,null),dr(2048,[[11,4]],QO,null,[kP]),(t()(),Ko(0,null,null,2,null,KE)),ur(47,540672,null,0,LP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[3,4]],lP,null,[LP]),(t()(),Ko(0,null,null,2,null,GE)),ur(50,540672,null,0,DP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[2,4]],sP,null,[DP])],(function(t,e){var n=e.component;t(e,2,0,n.dataSource),t(e,9,0,"label"),t(e,22,0,"keys"),t(e,35,0,"actions"),t(e,47,0,n.displayedColumns),t(e,50,0,n.displayedColumns)}),null)}var ZE=function(){function t(t){this.dialogRef=t,this.valid=!0}return t.prototype.connect=function(){this.dialogRef.close(this.keypair)},t.prototype.keypairChange=function(t){var e=t.keyPair;this.valid=t.valid,this.keypair=e},t}(),$E=Xn({encapsulation:0,styles:[[""]],data:{}});function XE(t){return pl(0,[(t()(),Go(0,0,null,null,25,"app-dialog",[["id","sshcConnectContainer"]],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,22,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,TE,xE)),ur(4,3325952,null,1,yE,[an,De,[2,_E],[2,ub]],null,null),Qo(603979776,1,{_tabs:1}),(t()(),Go(6,16777216,null,null,12,"mat-tab",[],null,null,null,jE,AE)),ur(7,770048,[[1,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,2,{templateLabel:0}),Qo(335544320,3,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(11,0,null,0,7,"div",[["class","pt-4"]],null,null,null,null,null)),(t()(),Go(12,0,null,null,6,"div",[["class","clearfix"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(14,638976,null,0,zO,[],{required:[0,"required"]},{keypairChange:"keypairChange"}),(t()(),Go(15,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.connect()&&i),i}),$x,Vx)),ur(16,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(17,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(19,16777216,null,null,6,"mat-tab",[],null,null,null,jE,AE)),ur(20,770048,[[1,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,4,{templateLabel:0}),Qo(335544320,5,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,0,1,"app-history",[["app","sshc"]],null,[[null,"connect"]],(function(t,e,n){var i=!0;return"connect"===e&&(i=!1!==t.component.keypairChange({keyPair:n,valid:!0})&&i),i}),JE,HE)),ur(25,114688,null,0,NE,[FE,Ib],{app:[0,"app"]},{connect:"connect"})],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.sshc.title"))),t(e,7,0,Jn(e,7,0,Zi(e,10).transform("apps.sshc.connect-keypair"))),t(e,14,0,!0),t(e,16,0,"mat-raised-button",!(n.valid&&n.keypair&&n.keypair.nodeKey&&n.keypair.appKey),"primary"),t(e,20,0,Jn(e,20,0,Zi(e,23).transform("apps.sshc.connect-history"))),t(e,25,0,"sshc")}),(function(t,e){t(e,3,0,Zi(e,4).dynamicHeight,"below"===Zi(e,4).headerPosition),t(e,13,0,Zi(e,14).hostClass),t(e,17,0,Jn(e,17,0,Zi(e,18).transform("apps.sshc.connect")))}))}function QE(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sshc-keys",[],null,null,null,XE,$E)),ur(1,49152,null,0,ZE,[Db],null,null)],null,null)}var tI=Ni("app-sshc-keys",ZE,QE,{},{},[]),eI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.appKeyConfigField="sshc_conf_appKey",e.appConfigField="sshc",e.nodeKeyConfigField="sshc_conf_nodeKey",e.autoStartTitle="apps.sshc.auto-startup",e}return Object(i.__extends)(e,t),e}(WO),nI=Xn({encapsulation:0,styles:[IO],data:{}});function iI(t){return pl(0,[(t()(),Go(0,0,null,null,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(1,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,4,{_lines:1}),Qo(603979776,5,{_avatar:0}),Qo(603979776,6,{_icon:0}),(t()(),Go(5,0,null,2,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(6,638976,null,0,zO,[],{keypair:[0,"keypair"],required:[1,"required"]},{keypairChange:"keypairChange"})],(function(t,e){var n=e.component;t(e,6,0,n.keyPair,n.isAutoStartChecked)}),(function(t,e){t(e,0,0,Zi(e,1)._avatar||Zi(e,1)._icon,Zi(e,1)._avatar||Zi(e,1)._icon),t(e,5,0,Zi(e,6).hostClass)}))}function rI(t){return pl(0,[(t()(),Go(0,0,null,null,19,"form",[["class","startup-form clearfix"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,2).onReset()&&i),i}),null,null)),ur(1,16384,null,0,qw,[],null,null),ur(2,4210688,null,0,Bw,[[8,null],[8,null]],null,null),dr(2048,null,Qb,null,[Bw]),ur(4,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(5,0,null,null,14,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,dO,cO)),ur(6,704512,null,0,lO,[an],null,null),(t()(),Go(7,0,null,0,10,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(8,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,1,{_lines:1}),Qo(603979776,2,{_avatar:0}),Qo(603979776,3,{_icon:0}),(t()(),Go(12,0,null,2,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,2,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["id","toggleAutomaticStartBtn"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==Zi(t,17)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.toggle(n)&&i),i}),wO,bO)),dr(5120,null,Gb,(function(t){return[t]}),[_O]),ur(17,1228800,null,0,_O,[an,lg,De,[8,null],co,fO,[2,ub],[2,W_]],{id:[0,"id"],checked:[1,"checked"]},{change:"change"}),(t()(),Ko(16777216,null,0,1,null,iI)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,17,0,"toggleAutomaticStartBtn",n.isAutoStartChecked),t(e,19,0,n.hasKeyPair)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,4).ngClassUntouched,Zi(e,4).ngClassTouched,Zi(e,4).ngClassPristine,Zi(e,4).ngClassDirty,Zi(e,4).ngClassValid,Zi(e,4).ngClassInvalid,Zi(e,4).ngClassPending),t(e,7,0,Zi(e,8)._avatar||Zi(e,8)._icon,Zi(e,8)._avatar||Zi(e,8)._icon),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.autoStartTitle))),t(e,15,0,Zi(e,17).id,Zi(e,17).disabled?null:-1,null,null,Zi(e,17).checked,Zi(e,17).disabled,"before"==Zi(e,17).labelPosition,"NoopAnimations"===Zi(e,17)._animationMode)}))}function oI(t){return pl(0,[(t()(),Go(0,0,null,null,12,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(4,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,rI)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(7,0,null,0,5,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),ur(8,16384,null,0,Fb,[],null,null),(t()(),Go(9,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.save()&&i),i}),$x,Vx)),ur(10,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(11,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.config.title")),!1),t(e,6,0,n.autoStartConfig),t(e,10,0,"mat-raised-button",!n.formValid,"primary")}),(function(t,e){t(e,11,0,Jn(e,11,0,Zi(e,12).transform("common.save")))}))}function lI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sshc-startup-config",[],null,null,null,oI,nI)),ur(1,114688,null,0,eI,[Db,WM],null,null)],(function(t,e){t(e,1,0)}),null)}var aI=Ni("app-sshc-startup-config",eI,lI,{automaticStartTitle:"automaticStartTitle"},{},[]),sI=l_(function(){return function(t){this._elementRef=t}}(),"primary"),uI=new St("mat-progress-bar-location",{providedIn:"root",factory:function(){var t=Rt(As),e=t?t.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),cI=0,dI=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;o._elementRef=e,o._ngZone=n,o._animationMode=i,o._isNoopAnimation=!1,o._value=0,o._bufferValue=0,o.animationEnd=new Yr,o._animationEndSubscription=s.EMPTY,o.mode="determinate",o.progressbarId="mat-progress-bar-"+cI++;var l=r?r.getPathname().split("#")[0]:"";return o._rectangleFillValue="url('"+l+"#"+o.progressbarId+"')",o._isNoopAnimation="NoopAnimations"===i,o}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=hI(t||0),this._isNoopAnimation&&this._emitAnimationEnd()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferValue",{get:function(){return this._bufferValue},set:function(t){this._bufferValue=hI(t||0)},enumerable:!0,configurable:!0}),e.prototype._primaryTransform=function(){return{transform:"scaleX("+this.value/100+")"}},e.prototype._bufferTransform=function(){if("buffer"===this.mode)return{transform:"scaleX("+this.bufferValue/100+")"}},e.prototype.ngAfterViewInit=function(){var t=this;this._isNoopAnimation||this._ngZone.runOutsideAngular((function(){var e=t._primaryValueBar.nativeElement;t._animationEndSubscription=bf(e,"transitionend").pipe($s((function(t){return t.target===e}))).subscribe((function(){return t._ngZone.run((function(){return t._emitAnimationEnd()}))}))}))},e.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()},e.prototype._emitAnimationEnd=function(){"determinate"!==this.mode&&"buffer"!==this.mode||this.animationEnd.next({value:this.value})},e}(sI);function hI(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=100),Math.max(e,Math.min(n,t))}var pI=function(){return function(){}}(),fI=Xn({encapsulation:2,styles:[".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-background{display:none}}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:'';display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2s infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2s infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after{animation:none;transition:none}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(.5,0,.70173,.49582);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(.30244,.38135,.55,.95635);transform:translateX(83.67142%)}100%{transform:translateX(200.61106%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.33473,.12482,.78584,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.06,.11,.6,1);transform:scaleX(.66148)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:translateX(37.65191%)}48.35%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:translateX(84.38617%)}100%{transform:translateX(160.27778%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:scaleX(.4571)}44.15%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:scaleX(.72796)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}"],data:{}});function mI(t){return pl(2,[Qo(671088640,1,{_primaryValueBar:0}),(t()(),Go(1,0,null,null,4,":svg:svg",[["class","mat-progress-bar-background mat-progress-bar-element"],["focusable","false"],["height","4"],["width","100%"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(t()(),Go(3,0,null,null,1,":svg:pattern",[["height","4"],["patternUnits","userSpaceOnUse"],["width","8"],["x","4"],["y","0"]],[[8,"id",0]],null,null,null,null)),(t()(),Go(4,0,null,null,0,":svg:circle",[["cx","2"],["cy","2"],["r","2"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,0,":svg:rect",[["height","100%"],["width","100%"]],[[1,"fill",0]],null,null,null,null)),(t()(),Go(6,0,null,null,2,"div",[["class","mat-progress-bar-buffer mat-progress-bar-element"]],null,null,null,null,null)),dr(512,null,Cs,Ls,[an,Ln,hn]),ur(8,278528,null,0,Ds,[Cs],{ngStyle:[0,"ngStyle"]},null),(t()(),Go(9,0,[[1,0],["primaryValueBar",1]],null,2,"div",[["class","mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null)),dr(512,null,Cs,Ls,[an,Ln,hn]),ur(11,278528,null,0,Ds,[Cs],{ngStyle:[0,"ngStyle"]},null),(t()(),Go(12,0,null,null,0,"div",[["class","mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,8,0,n._bufferTransform()),t(e,11,0,n._primaryTransform())}),(function(t,e){var n=e.component;t(e,3,0,n.progressbarId),t(e,5,0,n._rectangleFillValue)}))}var gI=function(){function t(t){this.nodeService=t,this.connect=new Yr,this.serviceKey="sockss",this.limit=5,this.displayedColumns=["keys","versions","location","connect"],this.dataSource=new IP,this.currentPage=1,this.pages=1,this.count=0,this.loading=!1}return t.prototype.ngOnInit=function(){this.search()},Object.defineProperty(t.prototype,"pagerState",{get:function(){var t=(this.currentPage-1)*this.limit;return t+1+" - "+(t+this.limit)+" of "+this.count},enumerable:!0,configurable:!0}),t.prototype.search=function(){this.loading=!0},t.prototype.prevPage=function(){this.currentPage=Math.max(1,this.currentPage-1),this.search()},t.prototype.nextPage=function(){this.currentPage=Math.min(this.pages,this.currentPage+1),this.search()},t}(),_I=Xn({encapsulation:0,styles:[[".nowrap[_ngcontent-%COMP%]{word-break:keep-all;white-space:nowrap}"]],data:{}});function yI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["mode","indeterminate"],["role","progressbar"],["style","position: absolute; top: 0;"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,mI,fI)),ur(1,4374528,null,0,dI,[an,co,[2,ub],[2,uI]],{mode:[0,"mode"]},null)],(function(t,e){t(e,1,0,"indeterminate")}),(function(t,e){t(e,0,0,"indeterminate"===Zi(e,1).mode||"query"===Zi(e,1).mode?null:Zi(e,1).value,Zi(e,1).mode,Zi(e,1)._isNoopAnimation)}))}function vI(t){return pl(0,[(t()(),Go(0,0,null,null,4,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,[" "," / "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("common.node-key")),Jn(e,2,1,Zi(e,4).transform("common.app-key")))}))}function bI(t){return pl(0,[(t()(),Go(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(3,null,["",""])),(t()(),Go(4,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Go(5,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(6,null,["",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit.node_key),t(e,6,0,e.context.$implicit.app_key)}))}function wI(t){return pl(0,[(t()(),Go(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.socksc.versions")))}))}function kI(t){return pl(0,[(t()(),Go(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(3,null,["Node: ",""])),(t()(),Go(4,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Go(5,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(6,null,["App: ",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit.node_version[0]),t(e,6,0,e.context.$implicit.version)}))}function xI(t){return pl(0,[(t()(),Go(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.socksc.location")))}))}function MI(t){return pl(0,[(t()(),Go(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),cl(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.location)}))}function SI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null)],null,null)}function CI(t){return pl(0,[(t()(),Go(0,0,null,null,5,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.connect.emit({nodeKey:t.context.$implicit.node_key,appKey:t.context.$implicit.app_key})&&i),i}),$x,Vx)),ur(3,180224,null,0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(4,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,"mat-raised-button","primary")}),(function(t,e){t(e,4,0,Jn(e,4,0,Zi(e,5).transform("apps.socksc.connect")))}))}function LI(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,VP,zP)),dr(6144,null,cP,null,[TP]),ur(2,49152,null,0,TP,[],null,null)],null,null)}function DI(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,WP,BP)),dr(6144,null,dP,null,[OP]),ur(2,49152,null,0,OP,[],null,null)],null,null)}function TI(t){return pl(0,[(t()(),Go(0,0,null,null,84,"div",[["class","d-flex flex-column"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,yI)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(3,0,null,null,64,"table",[["class","table-abs-white sm mat-table"],["mat-table",""]],null,null,null,HP,NP)),dr(6144,null,yP,null,[wP]),ur(5,2342912,null,4,wP,[Cn,De,an,[8,null],[2,W_],As,Zf],{dataSource:[0,"dataSource"]},null),Qo(603979776,1,{_contentColumnDefs:1}),Qo(603979776,2,{_contentRowDefs:1}),Qo(603979776,3,{_contentHeaderRowDefs:1}),Qo(603979776,4,{_contentFooterRowDefs:1}),(t()(),Go(10,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(12,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,5,{cell:0}),Qo(603979776,6,{headerCell:0}),Qo(603979776,7,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,vI)),ur(18,16384,null,0,xP,[Pn],null,null),dr(2048,[[6,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,bI)),ur(21,16384,null,0,kP,[Pn],null,null),dr(2048,[[5,4]],QO,null,[kP]),(t()(),Go(23,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(25,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,8,{cell:0}),Qo(603979776,9,{headerCell:0}),Qo(603979776,10,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,wI)),ur(31,16384,null,0,xP,[Pn],null,null),dr(2048,[[9,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,kI)),ur(34,16384,null,0,kP,[Pn],null,null),dr(2048,[[8,4]],QO,null,[kP]),(t()(),Go(36,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(38,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,11,{cell:0}),Qo(603979776,12,{headerCell:0}),Qo(603979776,13,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,xI)),ur(44,16384,null,0,xP,[Pn],null,null),dr(2048,[[12,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,MI)),ur(47,16384,null,0,kP,[Pn],null,null),dr(2048,[[11,4]],QO,null,[kP]),(t()(),Go(49,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(51,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,14,{cell:0}),Qo(603979776,15,{headerCell:0}),Qo(603979776,16,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,SI)),ur(57,16384,null,0,xP,[Pn],null,null),dr(2048,[[15,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,CI)),ur(60,16384,null,0,kP,[Pn],null,null),dr(2048,[[14,4]],QO,null,[kP]),(t()(),Ko(0,null,null,2,null,LI)),ur(63,540672,null,0,LP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[3,4]],lP,null,[LP]),(t()(),Ko(0,null,null,2,null,DI)),ur(66,540672,null,0,DP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[2,4]],sP,null,[DP]),(t()(),Go(68,0,null,null,16,"div",[["class","d-flex justify-content-end align-items-center mt-2"]],null,null,null,null,null)),(t()(),Go(69,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(70,null,[" "," "])),(t()(),Go(71,16777216,null,null,6,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,73).show()&&i),"keydown"===e&&(i=!1!==Zi(t,73)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,73)._handleTouchend()&&i),"click"===e&&(i=!1!==r.prevPage()&&i),i}),pb,hb)),ur(72,180224,null,0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"]},null),ur(73,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(75,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(76,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["navigate_before"])),(t()(),Go(78,16777216,null,null,6,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,80).show()&&i),"keydown"===e&&(i=!1!==Zi(t,80)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,80)._handleTouchend()&&i),"click"===e&&(i=!1!==r.nextPage()&&i),i}),pb,hb)),ur(79,180224,null,0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"]},null),ur(80,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(82,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(83,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["navigate_next"]))],(function(t,e){var n=e.component;t(e,2,0,n.loading),t(e,5,0,n.dataSource),t(e,12,0,"keys"),t(e,25,0,"versions"),t(e,38,0,"location"),t(e,51,0,"connect"),t(e,63,0,n.displayedColumns),t(e,66,0,n.displayedColumns),t(e,72,0,1===n.currentPage),t(e,73,0,Jn(e,73,0,Zi(e,74).transform("apps.socksc.prev-page"))),t(e,76,0),t(e,79,0,n.currentPage===n.pages),t(e,80,0,Jn(e,80,0,Zi(e,81).transform("apps.socksc.next-page"))),t(e,83,0)}),(function(t,e){t(e,70,0,e.component.pagerState),t(e,71,0,Zi(e,72).disabled||null,"NoopAnimations"===Zi(e,72)._animationMode),t(e,75,0,Zi(e,76).inline,"primary"!==Zi(e,76).color&&"accent"!==Zi(e,76).color&&"warn"!==Zi(e,76).color),t(e,78,0,Zi(e,79).disabled||null,"NoopAnimations"===Zi(e,79)._animationMode),t(e,82,0,Zi(e,83).inline,"primary"!==Zi(e,83).color&&"accent"!==Zi(e,83).color&&"warn"!==Zi(e,83).color)}))}var OI=function(){function t(t,e){this.dialogRef=t,this.data=e,this.discoveries=[]}return t.prototype.ngOnInit=function(){this.discoveries=this.data.discoveries},t.prototype.keypairChange=function(t){this.keypair=t.valid?t.keyPair:null},t.prototype.connect=function(t){t&&(this.keypair=t),this.dialogRef.close(this.keypair)},t.prototype.onSwitchTab=function(){this.searchTabGroup.realignInkBar()},t}(),PI=Xn({encapsulation:0,styles:[[""]],data:{}});function EI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-search-nodes",[],null,[[null,"connect"]],(function(t,e,n){var i=!0;return"connect"===e&&(i=!1!==t.component.connect(n)&&i),i}),TI,_I)),ur(1,114688,null,0,gI,[WM],{discovery:[0,"discovery"]},{connect:"connect"})],(function(t,e){t(e,1,0,e.parent.context.$implicit)}),null)}function II(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"mat-tab",[],null,null,null,jE,AE)),ur(1,770048,[[7,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,8,{templateLabel:0}),Qo(335544320,9,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Ko(0,[[9,2],[6,2]],0,1,null,EI)),ur(6,16384,null,0,dE,[Pn],null,null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,4).transform("common.discovery"))+" "+(e.context.index+1))}),null)}function YI(t){return pl(0,[Qo(671088640,1,{searchTabGroup:0}),(t()(),Go(1,0,null,null,34,"app-dialog",[["id","sockscConnectContainer"]],null,null,null,nO,JT)),ur(2,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,31,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(t,e,n){var i=!0;return"selectedIndexChange"===e&&(i=!1!==t.component.onSwitchTab()&&i),i}),TE,xE)),ur(5,3325952,null,1,yE,[an,De,[2,_E],[2,ub]],null,{selectedIndexChange:"selectedIndexChange"}),Qo(603979776,2,{_tabs:1}),(t()(),Go(7,16777216,null,null,11,"mat-tab",[],null,null,null,jE,AE)),ur(8,770048,[[2,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,3,{templateLabel:0}),Qo(335544320,4,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(12,0,null,0,6,"div",[["class","pt-4"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(14,638976,null,0,zO,[],{required:[0,"required"]},{keypairChange:"keypairChange"}),(t()(),Go(15,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.connect()&&i),i}),$x,Vx)),ur(16,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(17,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(19,16777216,null,null,9,"mat-tab",[],null,null,null,jE,AE)),ur(20,770048,[[2,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,5,{templateLabel:0}),Qo(335544320,6,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,0,4,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,TE,xE)),ur(25,3325952,[[1,4],["searchTabGroup",4]],1,yE,[an,De,[2,_E],[2,ub]],null,null),Qo(603979776,7,{_tabs:1}),(t()(),Ko(16777216,null,null,1,null,II)),ur(28,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(29,16777216,null,null,6,"mat-tab",[],null,null,null,jE,AE)),ur(30,770048,[[2,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,10,{templateLabel:0}),Qo(335544320,11,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(34,0,null,0,1,"app-history",[["app","socksc"]],null,[[null,"connect"]],(function(t,e,n){var i=!0;return"connect"===e&&(i=!1!==t.component.connect(n)&&i),i}),JE,HE)),ur(35,114688,null,0,NE,[FE,Ib],{app:[0,"app"]},{connect:"connect"})],(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.socksc.title"))),t(e,8,0,Jn(e,8,0,Zi(e,11).transform("apps.socksc.connect-keypair"))),t(e,14,0,!0),t(e,16,0,"mat-raised-button",!n.keypair,"primary"),t(e,20,0,Jn(e,20,0,Zi(e,23).transform("apps.socksc.connect-search"))),t(e,28,0,n.discoveries),t(e,30,0,Jn(e,30,0,Zi(e,33).transform("apps.socksc.connect-history"))),t(e,35,0,"socksc")}),(function(t,e){t(e,4,0,Zi(e,5).dynamicHeight,"below"===Zi(e,5).headerPosition),t(e,13,0,Zi(e,14).hostClass),t(e,17,0,Jn(e,17,0,Zi(e,18).transform("apps.socksc.connect"))),t(e,24,0,Zi(e,25).dynamicHeight,"below"===Zi(e,25).headerPosition)}))}function AI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-socksc-connect",[],null,null,null,YI,PI)),ur(1,114688,null,0,OI,[Db,Tb],null,null)],(function(t,e){t(e,1,0)}),null)}var RI=Ni("app-socksc-connect",OI,AI,{},{},[]),jI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.appKeyConfigField="socksc_conf_appKey",e.appConfigField="socksc",e.nodeKeyConfigField="socksc_conf_nodeKey",e.autoStartTitle="apps.socksc.auto-startup",e}return Object(i.__extends)(e,t),e}(WO),FI=Xn({encapsulation:0,styles:[IO],data:{}});function NI(t){return pl(0,[(t()(),Go(0,0,null,null,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(1,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,4,{_lines:1}),Qo(603979776,5,{_avatar:0}),Qo(603979776,6,{_icon:0}),(t()(),Go(5,0,null,2,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(6,638976,null,0,zO,[],{keypair:[0,"keypair"],required:[1,"required"]},{keypairChange:"keypairChange"})],(function(t,e){var n=e.component;t(e,6,0,n.keyPair,n.isAutoStartChecked)}),(function(t,e){t(e,0,0,Zi(e,1)._avatar||Zi(e,1)._icon,Zi(e,1)._avatar||Zi(e,1)._icon),t(e,5,0,Zi(e,6).hostClass)}))}function HI(t){return pl(0,[(t()(),Go(0,0,null,null,19,"form",[["class","startup-form clearfix"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,2).onReset()&&i),i}),null,null)),ur(1,16384,null,0,qw,[],null,null),ur(2,4210688,null,0,Bw,[[8,null],[8,null]],null,null),dr(2048,null,Qb,null,[Bw]),ur(4,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(5,0,null,null,14,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,dO,cO)),ur(6,704512,null,0,lO,[an],null,null),(t()(),Go(7,0,null,0,10,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(8,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,1,{_lines:1}),Qo(603979776,2,{_avatar:0}),Qo(603979776,3,{_icon:0}),(t()(),Go(12,0,null,2,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,2,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["id","toggleAutomaticStartBtn"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==Zi(t,17)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.toggle(n)&&i),i}),wO,bO)),dr(5120,null,Gb,(function(t){return[t]}),[_O]),ur(17,1228800,null,0,_O,[an,lg,De,[8,null],co,fO,[2,ub],[2,W_]],{id:[0,"id"],checked:[1,"checked"]},{change:"change"}),(t()(),Ko(16777216,null,0,1,null,NI)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,17,0,"toggleAutomaticStartBtn",n.isAutoStartChecked),t(e,19,0,n.hasKeyPair)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,4).ngClassUntouched,Zi(e,4).ngClassTouched,Zi(e,4).ngClassPristine,Zi(e,4).ngClassDirty,Zi(e,4).ngClassValid,Zi(e,4).ngClassInvalid,Zi(e,4).ngClassPending),t(e,7,0,Zi(e,8)._avatar||Zi(e,8)._icon,Zi(e,8)._avatar||Zi(e,8)._icon),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.autoStartTitle))),t(e,15,0,Zi(e,17).id,Zi(e,17).disabled?null:-1,null,null,Zi(e,17).checked,Zi(e,17).disabled,"before"==Zi(e,17).labelPosition,"NoopAnimations"===Zi(e,17)._animationMode)}))}function zI(t){return pl(0,[(t()(),Go(0,0,null,null,12,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(4,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,HI)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(7,0,null,0,5,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),ur(8,16384,null,0,Fb,[],null,null),(t()(),Go(9,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.save()&&i),i}),$x,Vx)),ur(10,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(11,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.config.title")),!1),t(e,6,0,n.autoStartConfig),t(e,10,0,"mat-raised-button",!n.formValid,"primary")}),(function(t,e){t(e,11,0,Jn(e,11,0,Zi(e,12).transform("common.save")))}))}function VI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-socksc-startup-config",[],null,null,null,zI,FI)),ur(1,114688,null,0,jI,[Db,WM],null,null)],(function(t,e){t(e,1,0)}),null)}var BI=Ni("app-socksc-startup-config",jI,VI,{automaticStartTitle:"automaticStartTitle"},{},[]),WI=Xn({encapsulation:0,styles:[[""]],data:{}});function UI(t){return pl(0,[Qo(671088640,1,{firstInput:0}),(t()(),Go(1,0,null,null,33,"app-dialog",[],null,null,null,nO,JT)),ur(2,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,30,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,6).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,6).onReset()&&i),i}),null,null)),ur(5,16384,null,0,qw,[],null,null),ur(6,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(8,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(9,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(10,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,2,{_controlNonStatic:0}),Qo(335544320,3,{_controlStatic:0}),Qo(603979776,4,{_labelChildNonStatic:0}),Qo(335544320,5,{_labelChildStatic:0}),Qo(603979776,6,{_placeholderChild:0}),Qo(603979776,7,{_errorChildren:1}),Qo(603979776,8,{_hintChildren:1}),Qo(603979776,9,{_prefixChildren:1}),Qo(603979776,10,{_suffixChildren:1}),(t()(),Go(20,0,[[1,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","label"],["matInput",""],["maxlength","66"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,21)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,21).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,21)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,21)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,28)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,28)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,28)._onInput()&&i),i}),null,null)),ur(21,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(22,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(25,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(27,16384,null,0,iw,[[4,ew]],null,null),ur(28,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[2,4],[3,4]],OD,null,[yT]),(t()(),Go(31,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.save()&&i),i}),$x,Vx)),ur(32,180224,null,0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(33,0,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("edit-label.title"))),t(e,6,0,n.form),t(e,22,0,"66"),t(e,25,0,"label"),t(e,28,0,Jn(e,28,0,Zi(e,29).transform("edit-label.label"))),t(e,32,0,"mat-raised-button","primary")}),(function(t,e){t(e,4,0,Zi(e,8).ngClassUntouched,Zi(e,8).ngClassTouched,Zi(e,8).ngClassPristine,Zi(e,8).ngClassDirty,Zi(e,8).ngClassValid,Zi(e,8).ngClassInvalid,Zi(e,8).ngClassPending),t(e,9,1,["standard"==Zi(e,10).appearance,"fill"==Zi(e,10).appearance,"outline"==Zi(e,10).appearance,"legacy"==Zi(e,10).appearance,Zi(e,10)._control.errorState,Zi(e,10)._canLabelFloat,Zi(e,10)._shouldLabelFloat(),Zi(e,10)._hasFloatingLabel(),Zi(e,10)._hideControlPlaceholder(),Zi(e,10)._control.disabled,Zi(e,10)._control.autofilled,Zi(e,10)._control.focused,"accent"==Zi(e,10).color,"warn"==Zi(e,10).color,Zi(e,10)._shouldForward("untouched"),Zi(e,10)._shouldForward("touched"),Zi(e,10)._shouldForward("pristine"),Zi(e,10)._shouldForward("dirty"),Zi(e,10)._shouldForward("valid"),Zi(e,10)._shouldForward("invalid"),Zi(e,10)._shouldForward("pending"),!Zi(e,10)._animationsEnabled]),t(e,20,1,[Zi(e,22).maxlength?Zi(e,22).maxlength:null,Zi(e,27).ngClassUntouched,Zi(e,27).ngClassTouched,Zi(e,27).ngClassPristine,Zi(e,27).ngClassDirty,Zi(e,27).ngClassValid,Zi(e,27).ngClassInvalid,Zi(e,27).ngClassPending,Zi(e,28)._isServer,Zi(e,28).id,Zi(e,28).placeholder,Zi(e,28).disabled,Zi(e,28).required,Zi(e,28).readonly&&!Zi(e,28)._isNativeSelect||null,Zi(e,28)._ariaDescribedby||null,Zi(e,28).errorState,Zi(e,28).required.toString()]),t(e,33,0,Jn(e,33,0,Zi(e,34).transform("common.save")))}))}function qI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-edit-label",[],null,null,null,UI,WI)),ur(1,4308992,null,0,UM,[Db,Tb,nk,Fp,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var KI=Ni("app-edit-label",UM,qI,{},{},[]),GI=Xn({encapsulation:0,styles:[[".editable-key-container[_nghost-%COMP%]{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .key-input-container, [_nghost-%COMP%] .mat-form-field{width:100%}[_nghost-%COMP%] table{table-layout:fixed;width:100%}"]],data:{}});function JI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-key-input",[],[[1,"class",0]],[[null,"keyChange"]],(function(t,e,n){var i=!0;return"keyChange"===e&&(i=!1!==t.component.onAppKeyChanged(n)&&i),i}),FO,AO)),ur(1,4833280,null,0,YO,[],{value:[0,"value"],required:[1,"required"],autofocus:[2,"autofocus"]},{keyChange:"keyChange"})],(function(t,e){var n=e.component;t(e,1,0,n.value,n.required,n.autofocus)}),(function(t,e){t(e,0,0,Zi(e,1).hostClass)}))}function ZI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.component.value)}))}function $I(t){return pl(0,[(t()(),Go(0,0,null,null,11,"div",[["class","d-flex align-items-center flex-1"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,JI)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,ZI)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(5,16777216,null,null,6,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,7).show()&&i),"keydown"===e&&(i=!1!==Zi(t,7)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,7)._handleTouchend()&&i),"click"===e&&(i=!1!==r.toggleEditMode()&&i),i}),pb,hb)),ur(6,180224,null,0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"],color:[1,"color"]},null),ur(7,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(9,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(10,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(11,0,[" "," "]))],(function(t,e){var n=e.component;t(e,2,0,n.editMode),t(e,4,0,!n.editMode),t(e,6,0,n.editMode&&!n.valid,n.editMode?"primary":""),t(e,7,0,Jn(e,7,0,Zi(e,8).transform(n.editMode?"common.save":"common.edit"))),t(e,10,0)}),(function(t,e){var n=e.component;t(e,5,0,Zi(e,6).disabled||null,"NoopAnimations"===Zi(e,6)._animationMode),t(e,9,0,Zi(e,10).inline,"primary"!==Zi(e,10).color&&"accent"!==Zi(e,10).color&&"warn"!==Zi(e,10).color),t(e,11,0,n.editMode?"done":"edit")}))}function XI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-editable-key",[],[[1,"class",0]],null,null,$I,GI)),ur(1,49152,null,0,iE,[],null,null)],null,(function(t,e){t(e,0,0,Zi(e,1).hostClass)}))}var QI=Ni("app-editable-key",iE,XI,{value:"value",autofocus:"autofocus",required:"required"},{valueEdited:"valueEdited"},[]),tY=function(){function t(t,e){this.nodeService=t,this.dialogRef=e,this.updateError=!1,this.isLoading=!1,this.isUpdateAvailable=!1}return t.openDialog=function(e){var n=new Mb;return n.autoFocus=!1,n.width=Dg.mediumModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){this.fetchUpdate()},t.prototype.fetchUpdate=function(){this.isLoading=!0},t.prototype.onFetchUpdateSuccess=function(t){this.isLoading=!1,this.isUpdateAvailable=t},t.prototype.onFetchUpdateError=function(t){this.isLoading=!1,console.warn("check update problem",t)},t.prototype.onUpdateClicked=function(){this.isLoading=!0,this.updateError=!1},t.prototype.onUpdateSuccess=function(t){this.isLoading=!1,t?this.dialogRef.close(!0):this.onUpdateError()},t.prototype.onUpdateError=function(){this.updateError=!0,this.isLoading=!1},t}(),eY=Xn({encapsulation:0,styles:[[""]],data:{}});function nY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["mode","indeterminate"],["role","progressbar"],["style","position: relative; top: 0;"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,mI,fI)),ur(1,4374528,null,0,dI,[an,co,[2,ub],[2,uI]],{mode:[0,"mode"]},null)],(function(t,e){t(e,1,0,"indeterminate")}),(function(t,e){t(e,0,0,"indeterminate"===Zi(e,1).mode||"query"===Zi(e,1).mode?null:Zi(e,1).value,Zi(e,1).mode,Zi(e,1)._isNoopAnimation)}))}function iY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"span",[["class","font-base text-danger"],["translate",""]],null,null,null,null,null)),ur(1,8536064,null,0,Ug,[Wg,an,De],{translate:[0,"translate"]},null),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("actions.update.no-update")))}))}function rY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"span",[["class"," font-base sky-color-blue-dark"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("actions.update.update-available")))}))}function oY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"span",[["class"," font-base text-danger"],["translate",""]],null,null,null,null,null)),ur(1,8536064,null,0,Ug,[Wg,an,De],{translate:[0,"translate"]},null),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("actions.update.update-error")))}))}function lY(t){return pl(0,[(t()(),Go(0,0,null,null,18,"app-dialog",[["class","position-relative"]],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,nY)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(5,0,null,0,7,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(6,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,iY)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,rY)),ur(10,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,oY)),ur(12,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(13,0,null,0,5,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),ur(14,16384,null,0,Fb,[],null,null),(t()(),Go(15,0,null,null,3,"app-button",[["cdkFocusInitial",""],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.onUpdateClicked()&&i),i}),$x,Vx)),ur(16,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(17,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("actions.update.title")),!1),t(e,4,0,n.isLoading),t(e,8,0,!n.isLoading&&!n.isUpdateAvailable&&!n.updateError),t(e,10,0,!n.isLoading&&n.isUpdateAvailable&&!n.updateError),t(e,12,0,!n.isLoading&&n.updateError),t(e,16,0,"mat-raised-button",!n.isUpdateAvailable||n.isLoading,"primary")}),(function(t,e){t(e,17,0,Jn(e,17,0,Zi(e,18).transform("actions.update.install")))}))}function aY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-update-node",[],null,null,null,lY,eY)),ur(1,114688,null,0,tY,[WM,Db],null,null)],(function(t,e){t(e,1,0)}),null)}var sY=Ni("app-update-node",tY,aY,{},{},[]),uY=Xn({encapsulation:0,styles:[[""]],data:{}});function cY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-loading-indicator",[],null,null,null,HM,NM)),ur(1,49152,null,0,FM,[],{showWhite:[0,"showWhite"]},null)],(function(t,e){t(e,1,0,!1)}),null)}function dY(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("transports.dialog.errors.remote-key-length-error")))}))}function hY(t){return pl(0,[(t()(),cl(0,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,0,0,Jn(e,0,0,Zi(e,1).transform("transports.dialog.errors.remote-key-chars-error")))}))}function pY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),i}),SD,xD)),ur(1,8568832,[[21,4]],0,Y_,[an,De,[2,I_],[2,O_]],{value:[0,"value"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,Zi(e,1)._getTabIndex(),Zi(e,1).selected,Zi(e,1).multiple,Zi(e,1).active,Zi(e,1).id,Zi(e,1)._getAriaSelected(),Zi(e,1).disabled.toString(),Zi(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function fY(t){return pl(0,[(t()(),Go(0,0,null,null,63,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,2).onReset()&&i),i}),null,null)),ur(1,16384,null,0,qw,[],null,null),ur(2,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(4,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(5,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(6,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,3,{_controlNonStatic:0}),Qo(335544320,4,{_controlStatic:0}),Qo(603979776,5,{_labelChildNonStatic:0}),Qo(335544320,6,{_labelChildStatic:0}),Qo(603979776,7,{_placeholderChild:0}),Qo(603979776,8,{_errorChildren:1}),Qo(603979776,9,{_hintChildren:1}),Qo(603979776,10,{_prefixChildren:1}),Qo(603979776,11,{_suffixChildren:1}),(t()(),Go(16,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","remoteKey"],["matInput",""],["maxlength","66"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,17)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,17).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,17)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,17)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,24)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,24)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,24)._onInput()&&i),i}),null,null)),ur(17,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(18,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(21,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(23,16384,null,0,iw,[[4,ew]],null,null),ur(24,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[3,4],[4,4]],OD,null,[yT]),(t()(),Go(27,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(28,16384,[[8,4]],0,TD,[],null,null),(t()(),Ko(16777216,null,null,1,null,dY)),ur(30,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),Ko(0,[["hexError",2]],1,0,null,hY)),(t()(),Go(32,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(33,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,12,{_controlNonStatic:0}),Qo(335544320,13,{_controlStatic:0}),Qo(603979776,14,{_labelChildNonStatic:0}),Qo(335544320,15,{_labelChildStatic:0}),Qo(603979776,16,{_placeholderChild:0}),Qo(603979776,17,{_errorChildren:1}),Qo(603979776,18,{_hintChildren:1}),Qo(603979776,19,{_prefixChildren:1}),Qo(603979776,20,{_suffixChildren:1}),(t()(),Go(43,0,null,1,12,"mat-select",[["class","mat-select"],["formControlName","type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==Zi(t,48)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==Zi(t,48)._onFocus()&&i),"blur"===e&&(i=!1!==Zi(t,48)._onBlur()&&i),i}),sT,nT)),dr(6144,null,I_,null,[tT]),ur(45,671744,null,0,Qw,[[3,Qb],[8,null],[8,null],[8,null],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(47,16384,null,0,iw,[[4,ew]],null,null),ur(48,2080768,null,3,tT,[lm,De,co,d_,an,[2,W_],[2,Bw],[2,Jw],[2,AD],[6,ew],[8,null],$D,ig],{placeholder:[0,"placeholder"]},null),Qo(603979776,21,{options:1}),Qo(603979776,22,{optionGroups:1}),Qo(603979776,23,{customTrigger:0}),cr(131072,qg,[Wg,De]),dr(2048,[[12,4],[13,4]],OD,null,[tT]),(t()(),Ko(16777216,null,1,1,null,pY)),ur(55,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(56,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(57,16384,[[17,4]],0,TD,[],null,null),(t()(),cl(58,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(60,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.create()&&i),i}),$x,Vx)),ur(61,180224,[[1,4],["button",4]],0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(62,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,2,0,n.form),t(e,18,0,"66"),t(e,21,0,"remoteKey"),t(e,24,0,Jn(e,24,0,Zi(e,25).transform("transports.dialog.remote-key"))),t(e,30,0,!n.form.get("remoteKey").hasError("pattern"),Zi(e,31)),t(e,45,0,"type"),t(e,48,0,Jn(e,48,0,Zi(e,52).transform("transports.dialog.transport-type"))),t(e,55,0,n.types),t(e,61,0,"mat-raised-button",!n.form.valid,"primary")}),(function(t,e){t(e,0,0,Zi(e,4).ngClassUntouched,Zi(e,4).ngClassTouched,Zi(e,4).ngClassPristine,Zi(e,4).ngClassDirty,Zi(e,4).ngClassValid,Zi(e,4).ngClassInvalid,Zi(e,4).ngClassPending),t(e,5,1,["standard"==Zi(e,6).appearance,"fill"==Zi(e,6).appearance,"outline"==Zi(e,6).appearance,"legacy"==Zi(e,6).appearance,Zi(e,6)._control.errorState,Zi(e,6)._canLabelFloat,Zi(e,6)._shouldLabelFloat(),Zi(e,6)._hasFloatingLabel(),Zi(e,6)._hideControlPlaceholder(),Zi(e,6)._control.disabled,Zi(e,6)._control.autofilled,Zi(e,6)._control.focused,"accent"==Zi(e,6).color,"warn"==Zi(e,6).color,Zi(e,6)._shouldForward("untouched"),Zi(e,6)._shouldForward("touched"),Zi(e,6)._shouldForward("pristine"),Zi(e,6)._shouldForward("dirty"),Zi(e,6)._shouldForward("valid"),Zi(e,6)._shouldForward("invalid"),Zi(e,6)._shouldForward("pending"),!Zi(e,6)._animationsEnabled]),t(e,16,1,[Zi(e,18).maxlength?Zi(e,18).maxlength:null,Zi(e,23).ngClassUntouched,Zi(e,23).ngClassTouched,Zi(e,23).ngClassPristine,Zi(e,23).ngClassDirty,Zi(e,23).ngClassValid,Zi(e,23).ngClassInvalid,Zi(e,23).ngClassPending,Zi(e,24)._isServer,Zi(e,24).id,Zi(e,24).placeholder,Zi(e,24).disabled,Zi(e,24).required,Zi(e,24).readonly&&!Zi(e,24)._isNativeSelect||null,Zi(e,24)._ariaDescribedby||null,Zi(e,24).errorState,Zi(e,24).required.toString()]),t(e,27,0,Zi(e,28).id),t(e,32,1,["standard"==Zi(e,33).appearance,"fill"==Zi(e,33).appearance,"outline"==Zi(e,33).appearance,"legacy"==Zi(e,33).appearance,Zi(e,33)._control.errorState,Zi(e,33)._canLabelFloat,Zi(e,33)._shouldLabelFloat(),Zi(e,33)._hasFloatingLabel(),Zi(e,33)._hideControlPlaceholder(),Zi(e,33)._control.disabled,Zi(e,33)._control.autofilled,Zi(e,33)._control.focused,"accent"==Zi(e,33).color,"warn"==Zi(e,33).color,Zi(e,33)._shouldForward("untouched"),Zi(e,33)._shouldForward("touched"),Zi(e,33)._shouldForward("pristine"),Zi(e,33)._shouldForward("dirty"),Zi(e,33)._shouldForward("valid"),Zi(e,33)._shouldForward("invalid"),Zi(e,33)._shouldForward("pending"),!Zi(e,33)._animationsEnabled]),t(e,43,1,[Zi(e,47).ngClassUntouched,Zi(e,47).ngClassTouched,Zi(e,47).ngClassPristine,Zi(e,47).ngClassDirty,Zi(e,47).ngClassValid,Zi(e,47).ngClassInvalid,Zi(e,47).ngClassPending,Zi(e,48).id,Zi(e,48).tabIndex,Zi(e,48)._getAriaLabel(),Zi(e,48)._getAriaLabelledby(),Zi(e,48).required.toString(),Zi(e,48).disabled.toString(),Zi(e,48).errorState,Zi(e,48).panelOpen?Zi(e,48)._optionIds:null,Zi(e,48).multiple,Zi(e,48)._ariaDescribedby||null,Zi(e,48)._getAriaActiveDescendant(),Zi(e,48).disabled,Zi(e,48).errorState,Zi(e,48).required,Zi(e,48).empty]),t(e,56,0,Zi(e,57).id),t(e,58,0,Jn(e,58,0,Zi(e,59).transform("transports.dialog.errors.transport-type-error"))),t(e,62,0,Jn(e,62,0,Zi(e,63).transform("transports.create")))}))}function mY(t){return pl(0,[Qo(671088640,1,{button:0}),Qo(671088640,2,{firstInput:0}),(t()(),Go(2,0,null,null,6,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,cY)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,fY)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("transports.create"))),t(e,6,0,!n.types),t(e,8,0,n.types)}),null)}function gY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-create-transport",[],null,null,null,mY,uY)),ur(1,245760,null,0,WC,[VM,nk,Db,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var _Y=Ni("app-create-transport",WC,gY,{},{},[]),yY=Xn({encapsulation:0,styles:[[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:#000;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]],data:{}});function vY(t){return pl(0,[Qo(671088640,1,{terminalElement:0}),Qo(671088640,2,{dialogContentElement:0}),(t()(),Go(2,0,null,null,6,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,[[2,0],["dialogContent",1]],0,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.focusTerminal()&&i),i}),null,null)),ur(6,16384,null,0,jb,[],null,null),(t()(),Go(7,0,null,null,1,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),Go(8,0,[[1,0],["terminal",1]],null,0,"div",[],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("actions.terminal.title"))+" - "+n.data.label+" ("+n.data.pk+")",!1)}),null)}function bY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-basic-terminal",[],null,[["window","keyup"]],(function(t,e,n){var i=!0;return"window:keyup"===e&&(i=!1!==Zi(t,1).keyEvent(n)&&i),i}),vY,yY)),ur(1,4374528,null,0,GS,[Tb,hn,nx,Wg],null,null)],null,null)}var wY=Ni("app-basic-terminal",GS,bY,{},{},[]),kY=Xn({encapsulation:0,styles:[[""]],data:{}});function xY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-loading-indicator",[],null,null,null,HM,NM)),ur(1,49152,null,0,FM,[],{showWhite:[0,"showWhite"]},null)],(function(t,e){t(e,1,0,!1)}),null)}function MY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.details.specific-fields-titles.app")))}))}function SY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.details.specific-fields-titles.forward")))}))}function CY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.details.specific-fields-titles.intermediary-forward")))}))}function LY(t){return pl(0,[(t()(),Go(0,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(3,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(5,null,[" "," "])),(t()(),Go(6,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(7,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(8,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(10,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("routes.details.specific-fields.route-id"))),t(e,5,0,n.routeRule.rule_summary.forward_fields?n.routeRule.rule_summary.forward_fields.next_rid:n.routeRule.rule_summary.intermediary_forward_fields.next_rid),t(e,8,0,Jn(e,8,0,Zi(e,9).transform("routes.details.specific-fields.transport-id"))),t(e,10,0,n.routeRule.rule_summary.forward_fields?n.routeRule.rule_summary.forward_fields.next_tid:n.routeRule.rule_summary.intermediary_forward_fields.next_tid)}))}function DY(t){return pl(0,[(t()(),Go(0,0,null,null,20,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(3,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(5,null,[" "," "])),(t()(),Go(6,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(7,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(8,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(10,null,[" "," "])),(t()(),Go(11,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(12,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(15,null,[" "," "])),(t()(),Go(16,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(17,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(18,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(20,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("routes.details.specific-fields.destination-pk"))),t(e,5,0,n.routeRule.rule_summary.app_fields?n.routeRule.rule_summary.app_fields.route_descriptor.dst_pk:n.routeRule.rule_summary.forward_fields.route_descriptor.dst_pk),t(e,8,0,Jn(e,8,0,Zi(e,9).transform("routes.details.specific-fields.source-pk"))),t(e,10,0,n.routeRule.rule_summary.app_fields?n.routeRule.rule_summary.app_fields.route_descriptor.src_pk:n.routeRule.rule_summary.forward_fields.route_descriptor.src_pk),t(e,13,0,Jn(e,13,0,Zi(e,14).transform("routes.details.specific-fields.destination-port"))),t(e,15,0,n.routeRule.rule_summary.app_fields?n.routeRule.rule_summary.app_fields.route_descriptor.dst_port:n.routeRule.rule_summary.forward_fields.route_descriptor.dst_port),t(e,18,0,Jn(e,18,0,Zi(e,19).transform("routes.details.specific-fields.source-port"))),t(e,20,0,n.routeRule.rule_summary.app_fields?n.routeRule.rule_summary.app_fields.route_descriptor.src_port:n.routeRule.rule_summary.forward_fields.route_descriptor.src_port)}))}function TY(t){return pl(0,[(t()(),Go(0,0,null,null,28,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(8,null,[" "," "])),(t()(),Go(9,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(11,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(13,null,[" "," "])),(t()(),Go(14,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(15,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(16,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(18,null,[" "," "])),(t()(),Ko(16777216,null,null,1,null,MY)),ur(20,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,SY)),ur(22,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,CY)),ur(24,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,LY)),ur(26,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,DY)),ur(28,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,20,0,n.routeRule.rule_summary.app_fields),t(e,22,0,n.routeRule.rule_summary.forward_fields),t(e,24,0,n.routeRule.rule_summary.intermediary_forward_fields),t(e,26,0,n.routeRule.rule_summary.forward_fields||n.routeRule.rule_summary.intermediary_forward_fields),t(e,28,0,n.routeRule.rule_summary.app_fields&&n.routeRule.rule_summary.app_fields.route_descriptor||n.routeRule.rule_summary.forward_fields&&n.routeRule.rule_summary.forward_fields.route_descriptor)}),(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("routes.details.summary.title"))),t(e,6,0,Jn(e,6,0,Zi(e,7).transform("routes.details.summary.keep-alive"))),t(e,8,0,n.routeRule.rule_summary.keep_alive),t(e,11,0,Jn(e,11,0,Zi(e,12).transform("routes.details.summary.type"))),t(e,13,0,n.getRuleTypeName(n.routeRule.rule_summary.rule_type)),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("routes.details.summary.key-route-id"))),t(e,18,0,n.routeRule.rule_summary.key_route_id)}))}function OY(t){return pl(0,[(t()(),Go(0,0,null,null,15,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title mt-0"]],null,null,null,null,null)),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(8,null,[" "," "])),(t()(),Go(9,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(11,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(13,null,[" "," "])),(t()(),Ko(16777216,null,null,1,null,TY)),ur(15,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,15,0,e.component.routeRule.rule_summary)}),(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("routes.details.basic.title"))),t(e,6,0,Jn(e,6,0,Zi(e,7).transform("routes.details.basic.key"))),t(e,8,0,n.routeRule.key),t(e,11,0,Jn(e,11,0,Zi(e,12).transform("routes.details.basic.rule"))),t(e,13,0,n.routeRule.rule)}))}function PY(t){return pl(0,[(t()(),Go(0,0,null,null,6,"app-dialog",[["class","info-dialog"]],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,xY)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,OY)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.details.title"))),t(e,4,0,!n.routeRule),t(e,6,0,n.routeRule)}),null)}function EY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-route-details",[],null,null,null,PY,kY)),ur(1,245760,null,0,cL,[Tb,BM,Db,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var IY=Ni("app-route-details",cL,EY,{},{},[]),YY=Xn({encapsulation:0,styles:[[".text-container[_ngcontent-%COMP%]{margin-top:5px;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]],data:{}});function AY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"app-button",[["color","accent"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.closeModal()&&i),i}),$x,Vx)),ur(1,180224,[[1,4],["cancelButton",4]],0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(2,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,"mat-raised-button","accent")}),(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform(n.data.cancelButtonText)))}))}function RY(t){return pl(0,[Qo(671088640,1,{cancelButton:0}),Qo(671088640,2,{confirmButton:0}),(t()(),Go(2,0,null,null,12,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"],disableDismiss:[1,"disableDismiss"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,0,2,"div",[["class","text-container"]],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(8,0,null,0,6,"div",[["class","buttons"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,AY)),ur(10,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(11,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0,r=t.component;return"action"===e&&(i=!1!==(r.state===r.confirmationStates.Asking?r.sendOperationAcceptedEvent():r.closeModal())&&i),i}),$x,Vx)),ur(12,180224,[[2,4],["confirmButton",4]],0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(13,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform(n.state!==n.confirmationStates.Done?n.data.headerText:n.doneTitle)),n.disableDismiss),t(e,10,0,n.data.cancelButtonText&&n.state!==n.confirmationStates.Done),t(e,12,0,"mat-raised-button","primary")}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform(n.state!==n.confirmationStates.Done?n.data.text:n.doneText))),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.state!==n.confirmationStates.Done?n.data.confirmButtonText:"confirmation.close")))}))}function jY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-confirmation",[],null,null,null,RY,YY)),ur(1,4374528,null,0,GM,[Db,Tb],null,null)],null,null)}var FY=Ni("app-confirmation",GM,jY,{},{operationAccepted:"operationAccepted"},[]),NY=Xn({encapsulation:0,styles:[[""]],data:{}});function HY(t){return pl(0,[cr(0,SS,[]),(t()(),Go(1,0,null,null,41,"app-dialog",[["class","info-dialog"]],null,null,null,nO,JT)),ur(2,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,38,"div",[],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"div",[["class","title mt-0"]],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(8,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(12,null,[" "," "])),(t()(),Go(13,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(14,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(15,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(17,null,[" "," "])),(t()(),Go(18,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(19,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(20,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(22,null,[" "," "])),(t()(),Go(23,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(24,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(25,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(27,null,[" "," "])),(t()(),Go(28,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(29,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(31,0,null,null,5,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(32,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(33,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(35,null,[" "," "])),ll(36,1),(t()(),Go(37,0,null,null,5,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(38,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(39,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(41,null,[" "," "])),ll(42,1)],(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("transports.details.title")))}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("transports.details.basic.title"))),t(e,10,0,Jn(e,10,0,Zi(e,11).transform("transports.details.basic.id"))),t(e,12,0,n.data.id),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("transports.details.basic.local-pk"))),t(e,17,0,n.data.local_pk),t(e,20,0,Jn(e,20,0,Zi(e,21).transform("transports.details.basic.remote-pk"))),t(e,22,0,n.data.remote_pk),t(e,25,0,Jn(e,25,0,Zi(e,26).transform("transports.details.basic.type"))),t(e,27,0,n.data.type),t(e,29,0,Jn(e,29,0,Zi(e,30).transform("transports.details.data.title"))),t(e,33,0,Jn(e,33,0,Zi(e,34).transform("transports.details.data.uploaded")));var i=Jn(e,35,0,t(e,36,0,Zi(e,0),n.data.log.sent));t(e,35,0,i),t(e,39,0,Jn(e,39,0,Zi(e,40).transform("transports.details.data.downloaded")));var r=Jn(e,41,0,t(e,42,0,Zi(e,0),n.data.log.recv));t(e,41,0,r)}))}function zY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-transport-details",[],null,null,null,HY,NY)),ur(1,49152,null,0,UC,[Tb],null,null)],null,null)}var VY=Ni("app-transport-details",UC,zY,{},{},[]),BY=Xn({encapsulation:0,styles:[["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]],data:{}});function WY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),i}),SD,xD)),ur(1,8568832,[[10,4]],0,Y_,[an,De,[2,I_],[2,O_]],{value:[0,"value"]},null),(t()(),cl(2,0,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,e.context.$implicit.days)}),(function(t,e){t(e,0,0,Zi(e,1)._getTabIndex(),Zi(e,1).selected,Zi(e,1).multiple,Zi(e,1).active,Zi(e,1).id,Zi(e,1)._getAriaSelected(),Zi(e,1).disabled.toString(),Zi(e,1).disabled),t(e,2,0,Jn(e,2,0,Zi(e,3).transform(e.context.$implicit.text)))}))}function UY(t){return pl(0,[(t()(),Go(0,0,null,null,31,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,5).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,5).onReset()&&i),i}),null,null)),ur(4,16384,null,0,qw,[],null,null),ur(5,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(7,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(8,0,null,null,23,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(9,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,1,{_controlNonStatic:0}),Qo(335544320,2,{_controlStatic:0}),Qo(603979776,3,{_labelChildNonStatic:0}),Qo(335544320,4,{_labelChildStatic:0}),Qo(603979776,5,{_placeholderChild:0}),Qo(603979776,6,{_errorChildren:1}),Qo(603979776,7,{_hintChildren:1}),Qo(603979776,8,{_prefixChildren:1}),Qo(603979776,9,{_suffixChildren:1}),(t()(),Go(19,0,null,1,12,"mat-select",[["class","mat-select"],["formControlName","filter"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==Zi(t,24)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==Zi(t,24)._onFocus()&&i),"blur"===e&&(i=!1!==Zi(t,24)._onBlur()&&i),i}),sT,nT)),dr(6144,null,I_,null,[tT]),ur(21,671744,null,0,Qw,[[3,Qb],[8,null],[8,null],[8,null],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(23,16384,null,0,iw,[[4,ew]],null,null),ur(24,2080768,null,3,tT,[lm,De,co,d_,an,[2,W_],[2,Bw],[2,Jw],[2,AD],[6,ew],[8,null],$D,ig],{placeholder:[0,"placeholder"]},null),Qo(603979776,10,{options:1}),Qo(603979776,11,{optionGroups:1}),Qo(603979776,12,{customTrigger:0}),cr(131072,qg,[Wg,De]),dr(2048,[[1,4],[2,4]],OD,null,[tT]),(t()(),Ko(16777216,null,1,1,null,WY)),ur(31,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.log.filter.title"))),t(e,5,0,n.form),t(e,21,0,"filter"),t(e,24,0,Jn(e,24,0,Zi(e,28).transform("apps.log.filter.filter"))),t(e,31,0,n.filters)}),(function(t,e){t(e,3,0,Zi(e,7).ngClassUntouched,Zi(e,7).ngClassTouched,Zi(e,7).ngClassPristine,Zi(e,7).ngClassDirty,Zi(e,7).ngClassValid,Zi(e,7).ngClassInvalid,Zi(e,7).ngClassPending),t(e,8,1,["standard"==Zi(e,9).appearance,"fill"==Zi(e,9).appearance,"outline"==Zi(e,9).appearance,"legacy"==Zi(e,9).appearance,Zi(e,9)._control.errorState,Zi(e,9)._canLabelFloat,Zi(e,9)._shouldLabelFloat(),Zi(e,9)._hasFloatingLabel(),Zi(e,9)._hideControlPlaceholder(),Zi(e,9)._control.disabled,Zi(e,9)._control.autofilled,Zi(e,9)._control.focused,"accent"==Zi(e,9).color,"warn"==Zi(e,9).color,Zi(e,9)._shouldForward("untouched"),Zi(e,9)._shouldForward("touched"),Zi(e,9)._shouldForward("pristine"),Zi(e,9)._shouldForward("dirty"),Zi(e,9)._shouldForward("valid"),Zi(e,9)._shouldForward("invalid"),Zi(e,9)._shouldForward("pending"),!Zi(e,9)._animationsEnabled]),t(e,19,1,[Zi(e,23).ngClassUntouched,Zi(e,23).ngClassTouched,Zi(e,23).ngClassPristine,Zi(e,23).ngClassDirty,Zi(e,23).ngClassValid,Zi(e,23).ngClassInvalid,Zi(e,23).ngClassPending,Zi(e,24).id,Zi(e,24).tabIndex,Zi(e,24)._getAriaLabel(),Zi(e,24)._getAriaLabelledby(),Zi(e,24).required.toString(),Zi(e,24).disabled.toString(),Zi(e,24).errorState,Zi(e,24).panelOpen?Zi(e,24)._optionIds:null,Zi(e,24).multiple,Zi(e,24)._ariaDescribedby||null,Zi(e,24)._getAriaActiveDescendant(),Zi(e,24).disabled,Zi(e,24).errorState,Zi(e,24).required,Zi(e,24).empty])}))}function qY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-log-filter",[],null,null,null,UY,BY)),ur(1,245760,null,0,EL,[Tb,Db,nk],null,null)],(function(t,e){t(e,1,0)}),null)}var KY=Ni("app-log-filter",EL,qY,{},{},[]),GY=Xn({encapsulation:0,styles:[[".close-button[_ngcontent-%COMP%], .cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]::after{content:'';display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.ml-3\\.5[_ngcontent-%COMP%]{margin-left:1.25rem!important}.mr-3\\.5[_ngcontent-%COMP%]{margin-right:1.25rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:15px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;margin-top:2px}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]],data:{}});function JY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","icon-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(2,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(3,0,["",""]))],(function(t,e){t(e,2,0)}),(function(t,e){var n=e.component;t(e,1,0,Zi(e,2).inline,"primary"!==Zi(e,2).color&&"accent"!==Zi(e,2).color&&"warn"!==Zi(e,2).color),t(e,3,0,n.config.icon)}))}function ZY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","second-line"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De])],null,(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("common.error")),Jn(e,1,1,Zi(e,3).transform(n.config.smallText,n.config.smallTextTranslationParams)))}))}function $Y(t){return pl(0,[(t()(),Go(0,0,null,null,10,"div",[],[[8,"className",0]],null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,JY)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(3,0,null,null,4,"div",[["class","text-container"]],null,null,null,null,null)),(t()(),cl(4,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,ZY)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(8,0,null,null,2,"mat-icon",[["class","close-button mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.close()&&i),i}),Xk,$k)),ur(9,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["close"]))],(function(t,e){var n=e.component;t(e,2,0,n.config.icon),t(e,7,0,n.config.smallText),t(e,9,0)}),(function(t,e){var n=e.component;t(e,0,0,"main-container "+n.config.color),t(e,4,0,Jn(e,4,0,Zi(e,5).transform(n.config.text,n.config.textTranslationParams))),t(e,8,0,Zi(e,9).inline,"primary"!==Zi(e,9).color&&"accent"!==Zi(e,9).color&&"warn"!==Zi(e,9).color)}))}function XY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-snack-bar",[],null,null,null,$Y,GY)),ur(1,49152,null,0,zp,[bg,vg],null,null)],null,null)}var QY=Ni("app-snack-bar",zp,XY,{},{},[]),tA=Xn({encapsulation:0,styles:[[""]],data:{}});function eA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,1,"app-password",[],null,null,null,xT,wT)),ur(4,4440064,null,0,bT,[rx,cp,Lg,Ib],{forInitialConfig:[0,"forInitialConfig"]},null)],(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("settings.password.initial-config.title"))),t(e,4,0,!0)}),null)}function nA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-initial-setup",[],null,null,null,eA,tA)),ur(1,49152,null,0,ox,[],null,null)],null,null)}var iA=Ni("app-initial-setup",ox,nA,{},{},[]),rA=Xn({encapsulation:0,styles:[["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:#eee;padding:4px 10px}@media (max-width:767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]],data:{}});function oA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"button",[["class","grey-button-background"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.context.$implicit)&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],{color:[0,"color"]},null),(t()(),Go(2,0,null,0,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),Go(3,0,null,0,1,"div",[["class","label"]],null,null,null,null,null)),(t()(),cl(4,null,["",""]))],(function(t,e){t(e,1,0,"accent")}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode),t(e,2,0,"assets/img/lang/"+e.context.$implicit.iconName),t(e,4,0,e.context.$implicit.name)}))}function lA(t){return pl(0,[(t()(),Go(0,0,null,null,5,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,2,"div",[["class","options-container"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,oA)),ur(5,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("language.title"))),t(e,5,0,n.languages)}),null)}function aA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-language",[],null,null,null,lA,rA)),ur(1,245760,null,0,zb,[Db,Jg],null,null)],(function(t,e){t(e,1,0)}),null)}var sA=Ni("app-select-language",zb,aA,{},{},[]),uA=Xn({encapsulation:0,styles:[[""]],data:{}});function cA(t){return pl(0,[(t()(),Go(0,0,null,null,12,"div",[["class","options-list-button-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,11,"button",[["class","grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.context.index)&&i),i}),pb,hb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(3,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(4,{"d-xl-none":0}),ur(5,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(6,0,null,0,6,"div",[["class","internal-container"]],null,null,null,null,null)),(t()(),Go(7,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(8,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(9,0,["",""])),(t()(),Go(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(11,null,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){var n=t(e,4,0,e.context.$implicit.notInXl);t(e,3,0,"grey-button-background",n),t(e,8,0,!0)}),(function(t,e){t(e,1,0,Zi(e,5).disabled||null,"NoopAnimations"===Zi(e,5)._animationMode),t(e,7,0,Zi(e,8).inline,"primary"!==Zi(e,8).color&&"accent"!==Zi(e,8).color&&"warn"!==Zi(e,8).color),t(e,9,0,e.context.$implicit.icon),t(e,11,0,Jn(e,11,0,Zi(e,12).transform(e.context.$implicit.label)))}))}function dA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,cA)),ur(4,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("tabs-window.title"))),t(e,4,0,n.data)}),null)}function hA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-tab",[],null,null,null,dA,uA)),ur(1,49152,null,0,DM,[Tb,Db],null,null)],null,null)}var pA=Ni("app-select-tab",DM,hA,{},{},[]),fA=Xn({encapsulation:0,styles:[[""]],data:{}});function mA(t){return pl(0,[(t()(),Go(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,7,"button",[["class","grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.parent.context.$implicit,t.context.$implicit)&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,5,"div",[["class","internal-container"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(5,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(7,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,5,0,Jn(e,5,0,Zi(e,6).transform(e.parent.context.$implicit))),t(e,7,0,Jn(e,7,0,Zi(e,8).transform(e.context.$implicit?"tables.descending-order":"tables.ascending-order")))}))}function gA(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","options-list-button-container"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,2,null,mA)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),al(3,2)],(function(t,e){var n=t(e,3,0,!1,!0);t(e,2,0,n)}),null)}function _A(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,gA)),ur(4,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("tables.title"))),t(e,4,0,n.data)}),null)}function yA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-column",[],null,null,null,_A,fA)),ur(1,49152,null,0,qM,[Tb,Db],null,null)],null,null)}var vA=Ni("app-select-column",qM,yA,{},{},[]),bA=Xn({encapsulation:0,styles:[[""]],data:{}});function wA(t){return pl(0,[(t()(),Go(0,0,null,null,9,"div",[["class","options-list-button-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,8,"button",[["class","grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.context.index+1)&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,6,"div",[["class","internal-container"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(5,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(6,0,["",""])),(t()(),Go(7,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(8,null,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,5,0,!0)}),(function(t,e){t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,4,0,Zi(e,5).inline,"primary"!==Zi(e,5).color&&"accent"!==Zi(e,5).color&&"warn"!==Zi(e,5).color),t(e,6,0,e.context.$implicit.icon),t(e,8,0,Jn(e,8,0,Zi(e,9).transform(e.context.$implicit.label)))}))}function kA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,wA)),ur(4,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("common.options"))),t(e,4,0,n.data)}),null)}function xA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-option",[],null,null,null,kA,bA)),ur(1,49152,null,0,ZM,[Tb,Db],null,null)],null,null)}var MA=Ni("app-select-option",ZM,xA,{},{},[]),SA=Xn({encapsulation:0,styles:[[""]],data:{}});function CA(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","options-list-button-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,4,"button",[["class","grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.context.$implicit)&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,2,"div",[["class","internal-container"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(5,null,["",""]))],null,(function(t,e){t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,5,0,e.context.$implicit)}))}function LA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,CA)),ur(4,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("paginator.select-page-title"))),t(e,4,0,n.options)}),null)}function DA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-page",[],null,null,null,LA,SA)),ur(1,49152,null,0,hC,[Tb,Db],null,null)],null,null)}var TA=Ni("app-select-page",hC,DA,{},{},[]),OA=function(){function t(t,e){this.data=t;var n=location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8080");this.consoleUrl=e.bypassSecurityTrustResourceUrl(n+"//"+i+"/pty/"+t.pk)}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width="950px",e.open(t,i)},t}(),PA=Xn({encapsulation:0,styles:[[".main-area[_ngcontent-%COMP%]{margin:0 -24px -24px;padding:0;background:#000;line-height:0}.main-area[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{width:100%;height:75vh;border:none}"]],data:{}});function EA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,1,"div",[["class","main-area"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,0,"iframe",[],[[8,"src",5]],null,null,null,null))],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("actions.terminal.title"))+" - "+n.data.label+" ("+n.data.pk+")",!1)}),(function(t,e){t(e,4,0,e.component.consoleUrl)}))}function IA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-terminal",[],null,null,null,EA,PA)),ur(1,49152,null,0,OA,[Tb,Ac],null,null)],null,null)}var YA=Ni("app-terminal",OA,IA,{},{},[]),AA=Xn({encapsulation:0,styles:[[""]],data:{}});function RA(t){return pl(0,[Qo(671088640,1,{button:0}),Qo(671088640,2,{firstInput:0}),(t()(),Go(2,0,null,null,59,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,0,56,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,7).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,7).onReset()&&i),i}),null,null)),ur(6,16384,null,0,qw,[],null,null),ur(7,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(9,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(10,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(11,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,3,{_controlNonStatic:0}),Qo(335544320,4,{_controlStatic:0}),Qo(603979776,5,{_labelChildNonStatic:0}),Qo(335544320,6,{_labelChildStatic:0}),Qo(603979776,7,{_placeholderChild:0}),Qo(603979776,8,{_errorChildren:1}),Qo(603979776,9,{_hintChildren:1}),Qo(603979776,10,{_prefixChildren:1}),Qo(603979776,11,{_suffixChildren:1}),(t()(),Go(21,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","password"],["id","password"],["matInput",""],["maxlength","100"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,22)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,22).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,22)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,22)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,29)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,29)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,29)._onInput()&&i),i}),null,null)),ur(22,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(23,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(26,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(28,16384,null,0,iw,[[4,ew]],null,null),ur(29,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[3,4],[4,4]],OD,null,[yT]),(t()(),Go(32,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(33,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,12,{_controlNonStatic:0}),Qo(335544320,13,{_controlStatic:0}),Qo(603979776,14,{_labelChildNonStatic:0}),Qo(335544320,15,{_labelChildStatic:0}),Qo(603979776,16,{_placeholderChild:0}),Qo(603979776,17,{_errorChildren:1}),Qo(603979776,18,{_hintChildren:1}),Qo(603979776,19,{_prefixChildren:1}),Qo(603979776,20,{_suffixChildren:1}),(t()(),Go(43,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","passwordConfirmation"],["id","passwordConfirmation"],["matInput",""],["maxlength","100"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,44)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,44).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,44)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,44)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,51)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,51)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,51)._onInput()&&i),i}),null,null)),ur(44,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(45,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(48,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(50,16384,null,0,iw,[[4,ew]],null,null),ur(51,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[12,4],[13,4]],OD,null,[yT]),(t()(),Go(54,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(55,16384,[[17,4]],0,TD,[],null,null),(t()(),cl(56,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(58,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.saveChanges()&&i),i}),$x,Vx)),ur(59,180224,[[1,4],["button",4]],0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(60,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("apps.skysocks-settings.title"))),t(e,7,0,n.form),t(e,23,0,"100"),t(e,26,0,"password"),t(e,29,0,"password",Jn(e,29,1,Zi(e,30).transform("apps.skysocks-settings.new-password")),"password"),t(e,45,0,"100"),t(e,48,0,"passwordConfirmation"),t(e,51,0,"passwordConfirmation",Jn(e,51,1,Zi(e,52).transform("apps.skysocks-settings.repeat-password")),"password"),t(e,59,0,"mat-raised-button",!n.form.valid,"primary")}),(function(t,e){t(e,5,0,Zi(e,9).ngClassUntouched,Zi(e,9).ngClassTouched,Zi(e,9).ngClassPristine,Zi(e,9).ngClassDirty,Zi(e,9).ngClassValid,Zi(e,9).ngClassInvalid,Zi(e,9).ngClassPending),t(e,10,1,["standard"==Zi(e,11).appearance,"fill"==Zi(e,11).appearance,"outline"==Zi(e,11).appearance,"legacy"==Zi(e,11).appearance,Zi(e,11)._control.errorState,Zi(e,11)._canLabelFloat,Zi(e,11)._shouldLabelFloat(),Zi(e,11)._hasFloatingLabel(),Zi(e,11)._hideControlPlaceholder(),Zi(e,11)._control.disabled,Zi(e,11)._control.autofilled,Zi(e,11)._control.focused,"accent"==Zi(e,11).color,"warn"==Zi(e,11).color,Zi(e,11)._shouldForward("untouched"),Zi(e,11)._shouldForward("touched"),Zi(e,11)._shouldForward("pristine"),Zi(e,11)._shouldForward("dirty"),Zi(e,11)._shouldForward("valid"),Zi(e,11)._shouldForward("invalid"),Zi(e,11)._shouldForward("pending"),!Zi(e,11)._animationsEnabled]),t(e,21,1,[Zi(e,23).maxlength?Zi(e,23).maxlength:null,Zi(e,28).ngClassUntouched,Zi(e,28).ngClassTouched,Zi(e,28).ngClassPristine,Zi(e,28).ngClassDirty,Zi(e,28).ngClassValid,Zi(e,28).ngClassInvalid,Zi(e,28).ngClassPending,Zi(e,29)._isServer,Zi(e,29).id,Zi(e,29).placeholder,Zi(e,29).disabled,Zi(e,29).required,Zi(e,29).readonly&&!Zi(e,29)._isNativeSelect||null,Zi(e,29)._ariaDescribedby||null,Zi(e,29).errorState,Zi(e,29).required.toString()]),t(e,32,1,["standard"==Zi(e,33).appearance,"fill"==Zi(e,33).appearance,"outline"==Zi(e,33).appearance,"legacy"==Zi(e,33).appearance,Zi(e,33)._control.errorState,Zi(e,33)._canLabelFloat,Zi(e,33)._shouldLabelFloat(),Zi(e,33)._hasFloatingLabel(),Zi(e,33)._hideControlPlaceholder(),Zi(e,33)._control.disabled,Zi(e,33)._control.autofilled,Zi(e,33)._control.focused,"accent"==Zi(e,33).color,"warn"==Zi(e,33).color,Zi(e,33)._shouldForward("untouched"),Zi(e,33)._shouldForward("touched"),Zi(e,33)._shouldForward("pristine"),Zi(e,33)._shouldForward("dirty"),Zi(e,33)._shouldForward("valid"),Zi(e,33)._shouldForward("invalid"),Zi(e,33)._shouldForward("pending"),!Zi(e,33)._animationsEnabled]),t(e,43,1,[Zi(e,45).maxlength?Zi(e,45).maxlength:null,Zi(e,50).ngClassUntouched,Zi(e,50).ngClassTouched,Zi(e,50).ngClassPristine,Zi(e,50).ngClassDirty,Zi(e,50).ngClassValid,Zi(e,50).ngClassInvalid,Zi(e,50).ngClassPending,Zi(e,51)._isServer,Zi(e,51).id,Zi(e,51).placeholder,Zi(e,51).disabled,Zi(e,51).required,Zi(e,51).readonly&&!Zi(e,51)._isNativeSelect||null,Zi(e,51)._ariaDescribedby||null,Zi(e,51).errorState,Zi(e,51).required.toString()]),t(e,54,0,Zi(e,55).id),t(e,56,0,Jn(e,56,0,Zi(e,57).transform("apps.skysocks-settings.passwords-not-match"))),t(e,60,0,Jn(e,60,0,Zi(e,61).transform("apps.skysocks-settings.save")))}))}function jA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-skysocks-settings",[],null,null,null,RA,AA)),ur(1,245760,null,0,YL,[Tb,PL,nk,Db,Lg,Ib],null,null)],(function(t,e){t(e,1,0)}),null)}var FA=Ni("app-skysocks-settings",YL,jA,{},{},[]),NA=Xn({encapsulation:0,styles:[["form[_ngcontent-%COMP%]{margin-top:15px}.no-history-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.no-history-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.top-history-margin[_ngcontent-%COMP%]{width:100%;height:15px}.history-button-content[_ngcontent-%COMP%]{text-align:left;padding:5px 0}"]],data:{}});function HA(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.skysocks-client-settings.remote-key-length-error")))}))}function zA(t){return pl(0,[(t()(),cl(0,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,0,0,Jn(e,0,0,Zi(e,1).transform("apps.skysocks-client-settings.remote-key-chars-error")))}))}function VA(t){return pl(0,[(t()(),Go(0,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,6,"div",[["class","no-history-text"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(3,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["error"])),(t()(),cl(5,null,[" "," "])),sl(6,{number:0}),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,!0)}),(function(t,e){var n=e.component;t(e,2,0,Zi(e,3).inline,"primary"!==Zi(e,3).color&&"accent"!==Zi(e,3).color&&"warn"!==Zi(e,3).color);var i=Jn(e,5,0,Zi(e,7).transform("apps.skysocks-client-settings.no-history",t(e,6,0,n.maxHistoryElements)));t(e,5,0,i)}))}function BA(t){return pl(0,[(t()(),Go(0,0,null,null,0,"div",[["class","top-history-margin"]],null,null,null,null,null))],null,null)}function WA(t){return pl(0,[(t()(),Go(0,0,null,null,5,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,4,"button",[["class","grey-button-background w-100"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.saveChanges(t.context.$implicit)&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,2,"div",[["class","history-button-content"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(5,null,["",""]))],null,(function(t,e){t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,5,0,e.context.$implicit)}))}function UA(t){return pl(0,[Qo(671088640,1,{button:0}),Qo(671088640,2,{firstInput:0}),(t()(),Go(2,0,null,null,57,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,0,54,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,TE,xE)),ur(6,3325952,null,1,yE,[an,De,[2,_E],[2,ub]],null,null),Qo(603979776,3,{_tabs:1}),(t()(),Go(8,16777216,null,null,40,"mat-tab",[],null,null,null,jE,AE)),ur(9,770048,[[3,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,4,{templateLabel:0}),Qo(335544320,5,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(13,0,null,0,35,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,15).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,15).onReset()&&i),i}),null,null)),ur(14,16384,null,0,qw,[],null,null),ur(15,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(17,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(18,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(19,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,6,{_controlNonStatic:0}),Qo(335544320,7,{_controlStatic:0}),Qo(603979776,8,{_labelChildNonStatic:0}),Qo(335544320,9,{_labelChildStatic:0}),Qo(603979776,10,{_placeholderChild:0}),Qo(603979776,11,{_errorChildren:1}),Qo(603979776,12,{_hintChildren:1}),Qo(603979776,13,{_prefixChildren:1}),Qo(603979776,14,{_suffixChildren:1}),(t()(),Go(29,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","pk"],["id","pk"],["matInput",""],["maxlength","66"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,30)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,30).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,30)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,30)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,37)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,37)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,37)._onInput()&&i),i}),null,null)),ur(30,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(31,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(34,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(36,16384,null,0,iw,[[4,ew]],null,null),ur(37,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{id:[0,"id"],placeholder:[1,"placeholder"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[6,4],[7,4]],OD,null,[yT]),(t()(),Go(40,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(41,16384,[[11,4]],0,TD,[],null,null),(t()(),Ko(16777216,null,null,1,null,HA)),ur(43,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),Ko(0,[["hexError",2]],1,0,null,zA)),(t()(),Go(45,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.saveChanges()&&i),i}),$x,Vx)),ur(46,180224,[[1,4],["button",4]],0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(47,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(49,16777216,null,null,10,"mat-tab",[],null,null,null,jE,AE)),ur(50,770048,[[3,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,15,{templateLabel:0}),Qo(335544320,16,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,VA)),ur(55,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,BA)),ur(57,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,WA)),ur(59,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("apps.skysocks-client-settings.title"))),t(e,9,0,Jn(e,9,0,Zi(e,12).transform("apps.skysocks-client-settings.remote-visor-tab"))),t(e,15,0,n.form),t(e,31,0,"66"),t(e,34,0,"pk"),t(e,37,0,"pk",Jn(e,37,1,Zi(e,38).transform("apps.skysocks-client-settings.public-key"))),t(e,43,0,!n.form.get("pk").hasError("pattern"),Zi(e,44)),t(e,46,0,"mat-raised-button",!n.form.valid,"primary"),t(e,50,0,Jn(e,50,0,Zi(e,53).transform("apps.skysocks-client-settings.history-tab"))),t(e,55,0,0===n.history.length),t(e,57,0,n.history.length>0),t(e,59,0,n.history)}),(function(t,e){t(e,5,0,Zi(e,6).dynamicHeight,"below"===Zi(e,6).headerPosition),t(e,13,0,Zi(e,17).ngClassUntouched,Zi(e,17).ngClassTouched,Zi(e,17).ngClassPristine,Zi(e,17).ngClassDirty,Zi(e,17).ngClassValid,Zi(e,17).ngClassInvalid,Zi(e,17).ngClassPending),t(e,18,1,["standard"==Zi(e,19).appearance,"fill"==Zi(e,19).appearance,"outline"==Zi(e,19).appearance,"legacy"==Zi(e,19).appearance,Zi(e,19)._control.errorState,Zi(e,19)._canLabelFloat,Zi(e,19)._shouldLabelFloat(),Zi(e,19)._hasFloatingLabel(),Zi(e,19)._hideControlPlaceholder(),Zi(e,19)._control.disabled,Zi(e,19)._control.autofilled,Zi(e,19)._control.focused,"accent"==Zi(e,19).color,"warn"==Zi(e,19).color,Zi(e,19)._shouldForward("untouched"),Zi(e,19)._shouldForward("touched"),Zi(e,19)._shouldForward("pristine"),Zi(e,19)._shouldForward("dirty"),Zi(e,19)._shouldForward("valid"),Zi(e,19)._shouldForward("invalid"),Zi(e,19)._shouldForward("pending"),!Zi(e,19)._animationsEnabled]),t(e,29,1,[Zi(e,31).maxlength?Zi(e,31).maxlength:null,Zi(e,36).ngClassUntouched,Zi(e,36).ngClassTouched,Zi(e,36).ngClassPristine,Zi(e,36).ngClassDirty,Zi(e,36).ngClassValid,Zi(e,36).ngClassInvalid,Zi(e,36).ngClassPending,Zi(e,37)._isServer,Zi(e,37).id,Zi(e,37).placeholder,Zi(e,37).disabled,Zi(e,37).required,Zi(e,37).readonly&&!Zi(e,37)._isNativeSelect||null,Zi(e,37)._ariaDescribedby||null,Zi(e,37).errorState,Zi(e,37).required.toString()]),t(e,40,0,Zi(e,41).id),t(e,47,0,Jn(e,47,0,Zi(e,48).transform("apps.skysocks-client-settings.save")))}))}function qA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-skysocks-client-settings",[],null,null,null,UA,NA)),ur(1,245760,null,0,AL,[Tb,Db,PL,nk,Lg,Ib],null,null)],(function(t,e){t(e,1,0)}),null)}var KA=Ni("app-skysocks-client-settings",AL,qA,{},{},[]),GA=Xn({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}"]],data:{}});function JA(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","flex-1"]],null,null,null,null,null)),(t()(),Go(1,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ur(2,212992,null,0,mp,[fp,In,nn,[8,null],De],null,null)],(function(t,e){t(e,2,0)}),null)}function ZA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-root",[],null,null,null,JA,GA)),ur(1,49152,null,0,Zg,[Fp,Oa,cp,Lg,Ib,Jg],null,null)],null,null)}var $A=Ni("app-root",Zg,ZA,{},{},[]),XA=function(){function t(){}return t.prototype.getTranslation=function(t){return V(n("5ey7")("./"+t+".json"))},t}(),QA=function(){return function(){}}(),tR=function(){function t(t,e,n){this.authService=t,this.router=e,this.matDialog=n}return t.prototype.canActivate=function(t,e){return this.checkIfCanActivate(t)},t.prototype.canActivateChild=function(t,e){return this.checkIfCanActivate(t)},t.prototype.checkIfCanActivate=function(t){var e=this;return this.authService.checkLogin().pipe(hu((function(){return Hs(ix.AuthDisabled)})),F((function(n){return"login"!==t.routeConfig.path||n!==ix.Logged&&n!==ix.AuthDisabled?"login"===t.routeConfig.path||n===ix.Logged||n===ix.AuthDisabled||(e.router.navigate(["login"],{replaceUrl:!0}),e.matDialog.closeAll(),!1):(e.router.navigate(["nodes"],{replaceUrl:!0}),!1)})))},t.ngInjectableDef=ht({factory:function(){return new t(At(rx),At(cp),At(Ib))},token:t,providedIn:"root"}),t}(),eR=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return!1},t}(),nR=function(){return function(){}}(),iR=function(){return function(){}}(),rR=new St("mat-chips-default-options"),oR=function(){return function(){}}(),lR=va(Sa,[Zg],(function(t){return function(t){for(var e={},n=[],i=!1,r=0;r=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,0]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+s0g":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(t,e,n){!function(t){"use strict";t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/X5v":function(t,e,n){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},0:function(t,e,n){t.exports=n("zUnb")},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"2UWG":function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3");function o(t){return void 0!==t._view.width}function l(t){var e,n,i,r,l=t._view;if(o(t)){var a=l.width/2;e=l.x-a,n=l.x+a,i=Math.min(l.y,l.base),r=Math.max(l.y,l.base)}else{var s=l.height/2;e=Math.min(l.x,l.base),n=Math.max(l.x,l.base),i=l.y-s,r=l.y+s}return{left:e,top:i,right:n,bottom:r}}i._set("global",{elements:{rectangle:{backgroundColor:i.global.defaultColor,borderColor:i.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),t.exports=r.extend({draw:function(){var t,e,n,i,r,o,l,a=this._chart.ctx,s=this._view,u=s.borderWidth;if(s.horizontal?(n=s.y-s.height/2,i=s.y+s.height/2,r=(e=s.x)>(t=s.base)?1:-1,o=1,l=s.borderSkipped||"left"):(t=s.x-s.width/2,e=s.x+s.width/2,r=1,o=(i=s.base)>(n=s.y)?1:-1,l=s.borderSkipped||"bottom"),u){var c=Math.min(Math.abs(t-e),Math.abs(n-i)),d=(u=u>c?c:u)/2,h=t+("left"!==l?d*r:0),p=e+("right"!==l?-d*r:0),f=n+("top"!==l?d*o:0),m=i+("bottom"!==l?-d*o:0);h!==p&&(n=f,i=m),f!==m&&(t=h,e=p)}a.beginPath(),a.fillStyle=s.backgroundColor,a.strokeStyle=s.borderColor,a.lineWidth=u;var g=[[t,i],[t,n],[e,n],[e,i]],_=["bottom","left","top","right"].indexOf(l,0);function y(t){return g[(_+t)%4]}-1===_&&(_=0);var v=y(0);a.moveTo(v[0],v[1]);for(var b=1;b<4;b++)v=y(b),a.lineTo(v[0],v[1]);a.fill(),u&&a.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=!1;if(this._view){var i=l(this);n=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return n},inLabelRange:function(t,e){if(!this._view)return!1;var n=l(this);return o(this)?t>=n.left&&t<=n.right:e>=n.top&&e<=n.bottom},inXRange:function(t){var e=l(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=l(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,n=this._view;return o(this)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},"2fjn":function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2ykv":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"35yf":function(t,e,n){"use strict";n("CDJp")._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),t.exports=function(t){t.controllers.scatter=t.controllers.line}},"3E1r":function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n("wd/R"))},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"5ZZ7":function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('
    ');var n=t.data,i=n.datasets,r=n.labels;if(i.length)for(var o=0;o'),r[o]&&e.push(r[o]),e.push("");return e.push("
"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var r=t.getDatasetMeta(0),l=e.datasets[0],a=r.data[i].custom||{},s=o.valueAtIndexOrDefault,u=t.options.elements.arc;return{text:n,fillStyle:a.backgroundColor?a.backgroundColor:s(l.backgroundColor,i,u.backgroundColor),strokeStyle:a.borderColor?a.borderColor:s(l.borderColor,i,u.borderColor),lineWidth:a.borderWidth?a.borderWidth:s(l.borderWidth,i,u.borderWidth),hidden:isNaN(l.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,o=e.index,l=this.chart;for(n=0,i=(l.data.datasets||[]).length;n0&&!isNaN(t)?2*Math.PI/e:0}})}},"5ey7":function(t,e,n){var i={"./en.json":["amrp",5],"./es.json":["ZF/7",6],"./es_base.json":["bIFx",7]};function r(t){if(!n.o(i,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=i[t],r=e[0];return n.e(e[1]).then((function(){return n.t(r,3)}))}r.keys=function(){return Object.keys(i)},r.id="5ey7",t.exports=r},"6+QB":function(t,e,n){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(t,e,n){!function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6rqY":function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),o=n("mlr9"),l=n("fELs"),a=n("iM7B"),s=n("VgNv");t.exports=function(t){function e(e){var n=e.options;r.each(e.scales,(function(t){l.removeBox(e,t)})),n=r.configMerge(t.defaults.global,t.defaults[e.config.type],n),e.options=e.config.options=n,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=n.tooltips,e.tooltip.initialize()}function n(t){return"top"===t||"bottom"===t}t.types={},t.instances={},t.controllers={},r.extend(t.prototype,{construct:function(e,n){var o=this;n=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=r.configMerge(i.global,i[t.type],t.options||{}),t}(n);var l=a.acquireContext(e,n),s=l&&l.canvas,u=s&&s.height,c=s&&s.width;o.id=r.uid(),o.ctx=l,o.canvas=s,o.config=n,o.width=c,o.height=u,o.aspectRatio=u?c/u:null,o.options=n.options,o._bufferedRender=!1,o.chart=o,o.controller=o,t.instances[o.id]=o,Object.defineProperty(o,"data",{get:function(){return o.config.data},set:function(t){o.config.data=t}}),l&&s?(o.initialize(),o.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return s.notify(t,"beforeInit"),r.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),s.notify(t,"afterInit"),t},clear:function(){return r.canvas.clear(this),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,o=n.maintainAspectRatio&&e.aspectRatio||null,l=Math.max(0,Math.floor(r.getMaximumWidth(i))),a=Math.max(0,Math.floor(o?l/o:r.getMaximumHeight(i)));if((e.width!==l||e.height!==a)&&(i.width=e.width=l,i.height=e.height=a,i.style.width=l+"px",i.style.height=a+"px",r.retinaScale(e,n.devicePixelRatio),!t)){var u={width:l,height:a};s.notify(e,"resize",[u]),e.options.onResize&&e.options.onResize(e,u),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;r.each(e.xAxes,(function(t,e){t.id=t.id||"x-axis-"+e})),r.each(e.yAxes,(function(t,e){t.id=t.id||"y-axis-"+e})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,i=e.options,o=e.scales||{},l=[],a=Object.keys(o).reduce((function(t,e){return t[e]=!1,t}),{});i.scales&&(l=l.concat((i.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(i.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),i.scale&&l.push({options:i.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),r.each(l,(function(i){var l=i.options,s=l.id,u=r.valueOrDefault(l.type,i.dtype);n(l.position)!==n(i.dposition)&&(l.position=i.dposition),a[s]=!0;var c=null;if(s in o&&o[s].type===u)(c=o[s]).options=l,c.ctx=e.ctx,c.chart=e;else{var d=t.scaleService.getScaleConstructor(u);if(!d)return;c=new d({id:s,type:u,options:l,ctx:e.ctx,chart:e}),o[c.id]=c}c.mergeTicksOptions(),i.isDefault&&(e.scale=c)})),r.each(a,(function(t,e){t||delete o[e]})),e.scales=o,t.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,n=[],i=[];return r.each(e.data.datasets,(function(r,o){var l=e.getDatasetMeta(o),a=r.type||e.config.type;if(l.type&&l.type!==a&&(e.destroyDatasetMeta(o),l=e.getDatasetMeta(o)),l.type=a,n.push(l.type),l.controller)l.controller.updateIndex(o),l.controller.linkScales();else{var s=t.controllers[l.type];if(void 0===s)throw new Error('"'+l.type+'" is not a chart type.');l.controller=new s(e,o),i.push(l.controller)}}),e),i},resetElements:function(){var t=this;r.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var n=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),e(n),s._invalidate(n),!1!==s.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var i=n.buildOrUpdateControllers();r.each(n.data.datasets,(function(t,e){n.getDatasetMeta(e).controller.buildOrUpdateElements()}),n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&r.each(i,(function(t){t.reset()})),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],s.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:n.render(t)}},updateLayout:function(){!1!==s.notify(this,"beforeLayout")&&(l.update(this,this.width,this.height),s.notify(this,"afterScaleUpdate"),s.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==s.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t=0;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);s.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this.getDatasetMeta(t),i={meta:n,index:t,easingValue:e};!1!==s.notify(this,"beforeDatasetDraw",[i])&&(n.controller.draw(e),s.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==s.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),s.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return o.modes.single(this,t)},getElementsAtEvent:function(t){return o.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return o.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=o.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return o.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;en?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,r=2*i-1,o=this.alpha()-n.alpha(),l=((r*o==-1?r:(r+o)/(1+r*o))+1)/2,a=1-l;return this.rgb(l*this.red()+a*n.red(),l*this.green()+a*n.green(),l*this.blue()+a*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new o,i=this.values,r=n.values;for(var l in i)i.hasOwnProperty(l)&&("[object Array]"===(e={}.toString.call(t=i[l]))?r[l]=t.slice(0):"[object Number]"===e?r[l]=t:console.error("unexpected color value:",t));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n("wd/R"))},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n("wd/R"))},"8//i":function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),o=n("g8vO");t.exports=function(t){var e=i.global,n={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:o.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function l(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function a(t){var n=t.options.pointLabels,i=r.valueOrDefault(n.fontSize,e.defaultFontSize),o=r.valueOrDefault(n.fontStyle,e.defaultFontStyle),l=r.valueOrDefault(n.fontFamily,e.defaultFontFamily);return{size:i,style:o,family:l,font:r.fontString(i,o,l)}}function s(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:tr?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function u(t){return 0===t||180===t?"center":t<180?"left":"right"}function c(t,e,n,i){if(r.isArray(e))for(var o=n.y,l=1.5*i,a=0;a270||t<90)&&(n.y-=e.h)}function h(t){return r.isNumber(t)?t:0}var p=t.LinearScaleBase.extend({setDimensions:function(){var t=this,n=t.options,i=n.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var o=r.min([t.height,t.width]),l=r.valueOrDefault(i.fontSize,e.defaultFontSize);t.drawingArea=n.display?o/2-(l/2+i.backdropPaddingY):o/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;r.each(e.data.datasets,(function(o,l){if(e.isDatasetVisible(l)){var a=e.getDatasetMeta(l);r.each(o.data,(function(e,r){var o=+t.getRightValue(e);isNaN(o)||a.data[r].hidden||(n=Math.min(o,n),i=Math.max(o,i))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,n=r.valueOrDefault(t.fontSize,e.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*n)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t;this.options.pointLabels.display?function(t){var e,n,i,o=a(t),u=Math.min(t.height/2,t.width/2),c={r:t.width,l:0,t:t.height,b:0},d={};t.ctx.font=o.font,t._pointLabelSizes=[];var h,p,f,m=l(t);for(e=0;ec.r&&(c.r=y.end,d.r=g),v.startc.b&&(c.b=v.end,d.b=g)}t.setReductions(u,c,d)}(this):(t=Math.min(this.height/2,this.width/2),this.drawingArea=Math.round(t),this.setCenterPoint(0,0,0,0))},setReductions:function(t,e,n){var i=e.l/Math.sin(n.l),r=Math.max(e.r-this.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),l=-Math.max(e.b-this.height,0)/Math.cos(n.b);i=h(i),r=h(r),o=h(o),l=h(l),this.drawingArea=Math.min(Math.round(t-(i+r)/2),Math.round(t-(o+l)/2)),this.setCenterPoint(i,r,o,l)},setCenterPoint:function(t,e,n,i){var r=this,o=n+r.drawingArea,l=r.height-i-r.drawingArea;r.xCenter=Math.round((t+r.drawingArea+(r.width-e-r.drawingArea))/2+r.left),r.yCenter=Math.round((o+l)/2+r.top)},getIndexAngle:function(t){return t*(2*Math.PI/l(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(n)*e)+this.xCenter,y:Math.round(Math.sin(n)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0)},draw:function(){var t=this,n=t.options,i=n.gridLines,o=n.ticks,s=r.valueOrDefault;if(n.display){var h=t.ctx,p=this.getIndexAngle(0),f=s(o.fontSize,e.defaultFontSize),m=s(o.fontStyle,e.defaultFontStyle),g=s(o.fontFamily,e.defaultFontFamily),_=r.fontString(f,m,g);r.each(t.ticks,(function(n,a){if(a>0||o.reverse){var u=t.getDistanceFromCenterForValue(t.ticksAsNumbers[a]);if(i.display&&0!==a&&function(t,e,n,i){var o=t.ctx;if(o.strokeStyle=r.valueAtIndexOrDefault(e.color,i-1),o.lineWidth=r.valueAtIndexOrDefault(e.lineWidth,i-1),t.options.gridLines.circular)o.beginPath(),o.arc(t.xCenter,t.yCenter,n,0,2*Math.PI),o.closePath(),o.stroke();else{var a=l(t);if(0===a)return;o.beginPath();var s=t.getPointPosition(0,n);o.moveTo(s.x,s.y);for(var u=1;u=0;f--){if(o.display){var m=t.getPointPosition(f,h);n.beginPath(),n.moveTo(t.xCenter,t.yCenter),n.lineTo(m.x,m.y),n.stroke(),n.closePath()}if(s.display){var g=t.getPointPosition(f,h+5),_=r.valueAtIndexOrDefault(s.fontColor,f,e.defaultFontColor);n.font=p.font,n.fillStyle=_;var y=t.getIndexAngle(f),v=r.toDegrees(y);n.textAlign=u(v),d(v,t._pointLabelSizes[f],g),c(n,t.pointLabels[f]||"",g,p.size)}}}(t)}}});t.scaleService.registerScaleType("radialLinear",p,n)}},"8TtQ":function(t,e,n){"use strict";t.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1,void 0!==e.options.ticks.min&&(t=n.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=n.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,r=n.isHorizontal();return i.yLabels&&!r?n.getRightValue(i.datasets[e].data[t]):n.ticks[t-n.minIndex]},getPixelForValue:function(t,e){var n,i=this,r=i.options.offset,o=Math.max(i.maxIndex+1-i.minIndex-(r?0:1),1);if(null!=t&&(n=i.isHorizontal()?t.x:t.y),void 0!==n||void 0!==t&&isNaN(e)){var l=i.getLabels().indexOf(t=n||t);e=-1!==l?l:e}if(i.isHorizontal()){var a=i.width/o,s=a*(e-i.minIndex);return r&&(s+=a/2),i.left+Math.round(s)}var u=i.height/o,c=u*(e-i.minIndex);return r&&(c+=u/2),i.top+Math.round(c)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,n=e.options.offset,i=Math.max(e._ticks.length-(n?0:1),1),r=e.isHorizontal(),o=(r?e.width:e.height)/i;return t-=r?e.left:e.top,n&&(t-=o/2),(t<=0?0:Math.round(t/o))+e.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},"9rRi":function(t,e,n){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n("wd/R"))},A5uo:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha");i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:o.noop,onComplete:o.noop}}),t.exports=function(t){t.Animation=r.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var r,o,l=this.animations;for(e.chart=t,i||(t.animating=!0),r=0,o=l.length;r1&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,t.animations.length>0&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,r=0;r=e.numSteps?(o.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(r,1)):++r}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AX6q:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha"),l=n("fELs"),a=o.noop;function s(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}i._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return o.isArray(e.datasets)?e.datasets.map((function(e,n){return{text:e.label,fillStyle:o.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(n),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:n}}),this):[]}}},legendCallback:function(t){var e=[];e.push('
    ');for(var n=0;n'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("");return e.push("
"),e.join("")}});var u=r.extend({initialize:function(t){o.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:a,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:a,beforeSetDimensions:a,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:a,beforeBuildLabels:a,buildLabels:function(){var t=this,e=t.options.labels||{},n=o.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:a,beforeFit:a,fit:function(){var t=this,e=t.options,n=e.labels,r=e.display,l=t.ctx,a=i.global,u=o.valueOrDefault,c=u(n.fontSize,a.defaultFontSize),d=u(n.fontStyle,a.defaultFontStyle),h=u(n.fontFamily,a.defaultFontFamily),p=o.fontString(c,d,h),f=t.legendHitBoxes=[],m=t.minSize,g=t.isHorizontal();if(g?(m.width=t.maxWidth,m.height=r?10:0):(m.width=r?10:0,m.height=t.maxHeight),r)if(l.font=p,g){var _=t.lineWidths=[0],y=t.legendItems.length?c+n.padding:0;l.textAlign="left",l.textBaseline="top",o.each(t.legendItems,(function(e,i){var r=s(n,c)+c/2+l.measureText(e.text).width;_[_.length-1]+r+n.padding>=t.width&&(y+=c+n.padding,_[_.length]=t.left),f[i]={left:0,top:0,width:r,height:c},_[_.length-1]+=r+n.padding})),m.height+=y}else{var v=n.padding,b=t.columnWidths=[],w=n.padding,k=0,x=0,M=c+v;o.each(t.legendItems,(function(t,e){var i=s(n,c)+c/2+l.measureText(t.text).width;x+M>m.height&&(w+=k+n.padding,b.push(k),k=0,x=0),k=Math.max(k,i),x+=M,f[e]={left:0,top:0,width:i,height:c}})),w+=k,b.push(k),m.width+=w}t.width=m.width,t.height=m.height},afterFit:a,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,r=i.global,l=r.elements.line,a=t.width,u=t.lineWidths;if(e.display){var c,d=t.ctx,h=o.valueOrDefault,p=h(n.fontColor,r.defaultFontColor),f=h(n.fontSize,r.defaultFontSize),m=h(n.fontStyle,r.defaultFontStyle),g=h(n.fontFamily,r.defaultFontFamily),_=o.fontString(f,m,g);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=_;var y=s(n,f),v=t.legendHitBoxes,b=t.isHorizontal();c=b?{x:t.left+(a-u[0])/2,y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+n.padding,line:0};var w=f+n.padding;o.each(t.legendItems,(function(i,s){var p=d.measureText(i.text).width,m=y+f/2+p,g=c.x,_=c.y;b?g+m>=a&&(_=c.y+=w,c.line++,g=c.x=t.left+(a-u[c.line])/2):_+w>t.bottom&&(g=c.x=g+t.columnWidths[c.line]+n.padding,_=c.y=t.top+n.padding,c.line++),function(t,n,i){if(!(isNaN(y)||y<=0)){d.save(),d.fillStyle=h(i.fillStyle,r.defaultColor),d.lineCap=h(i.lineCap,l.borderCapStyle),d.lineDashOffset=h(i.lineDashOffset,l.borderDashOffset),d.lineJoin=h(i.lineJoin,l.borderJoinStyle),d.lineWidth=h(i.lineWidth,l.borderWidth),d.strokeStyle=h(i.strokeStyle,r.defaultColor);var a=0===h(i.lineWidth,l.borderWidth);if(d.setLineDash&&d.setLineDash(h(i.lineDash,l.borderDash)),e.labels&&e.labels.usePointStyle){var s=f*Math.SQRT2/2,u=s/Math.SQRT2;o.canvas.drawPoint(d,i.pointStyle,s,t+u,n+u)}else a||d.strokeRect(t,n,y,f),d.fillRect(t,n,y,f);d.restore()}}(g,_,i),v[s].left=g,v[s].top=_,function(t,e,n,i){var r=f/2,o=y+r+t,l=e+r;d.fillText(n.text,o,l),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(o,l),d.lineTo(o+i,l),d.stroke())}(g,_,i,p),b?c.x+=m+n.padding:c.y+=w}))}},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,r=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var o=t.x,l=t.y;if(o>=e.left&&o<=e.right&&l>=e.top&&l<=e.bottom)for(var a=e.legendHitBoxes,s=0;s=u.left&&o<=u.left+u.width&&l>=u.top&&l<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[s]),r=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[s]),r=!0;break}}}return r}});function c(t,e){var n=new u({ctx:t.ctx,options:e,chart:t});l.configure(t,n,e),l.addBox(t,n),t.legend=n}t.exports={id:"legend",_element:u,beforeInit:function(t){var e=t.options.legend;e&&c(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(o.mergeIf(e,i.global.legend),n?(l.configure(t,n,e),n.options=e):c(t,e)):n&&(l.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}},As3K:function(t,e,n){"use strict";var i=n("TC34");t.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,r,o;return i.isObject(t)?(e=+t.top||0,n=+t.right||0,r=+t.bottom||0,o=+t.left||0):e=n=r=o=+t||0,{top:e,right:n,bottom:r,left:o,height:e+r,width:o+n}},resolve:function(t,e,n){var r,o,l;for(r=0,o=t.length;r=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(n("wd/R"))},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n("wd/R"))},G0Q6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),t.exports=function(t){function e(t,e){return o.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:r.Line,dataElementType:r.Point,update:function(t){var n,i,r,l=this,a=l.getMeta(),s=a.dataset,u=a.data||[],c=l.chart.options,d=c.elements.line,h=l.getScaleForId(a.yAxisID),p=l.getDataset(),f=e(p,c);for(f&&(r=s.custom||{},void 0!==p.tension&&void 0===p.lineTension&&(p.lineTension=p.tension),s._scale=h,s._datasetIndex=l.index,s._children=u,s._model={spanGaps:p.spanGaps?p.spanGaps:c.spanGaps,tension:r.tension?r.tension:o.valueOrDefault(p.lineTension,d.tension),backgroundColor:r.backgroundColor?r.backgroundColor:p.backgroundColor||d.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:p.borderWidth||d.borderWidth,borderColor:r.borderColor?r.borderColor:p.borderColor||d.borderColor,borderCapStyle:r.borderCapStyle?r.borderCapStyle:p.borderCapStyle||d.borderCapStyle,borderDash:r.borderDash?r.borderDash:p.borderDash||d.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:p.borderDashOffset||d.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:p.borderJoinStyle||d.borderJoinStyle,fill:r.fill?r.fill:void 0!==p.fill?p.fill:d.fill,steppedLine:r.steppedLine?r.steppedLine:o.valueOrDefault(p.steppedLine,d.stepped),cubicInterpolationMode:r.cubicInterpolationMode?r.cubicInterpolationMode:o.valueOrDefault(p.cubicInterpolationMode,d.cubicInterpolationMode)},s.pivot()),n=0,i=u.length;n=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,r,o,l){var a=n(e),s=i[t][n(e)];return 2===a&&(s=s[r?0:1]),s.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},Hg4g:function(t,e){t.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(n("wd/R"))},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})}(n("wd/R"))},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(t){return t%10==0||t>10&&t<20}function r(t){return e[t].split("_")}function o(t,e,o,l){var a=t+" ";return 1===t?a+n(0,e,o[0],l):e?a+(i(t)?r(o)[1]:r(o)[0]):l?a+r(o)[1]:a+(i(t)?r(o)[1]:r(o)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K2E3:function(t,e,n){"use strict";var i=n("6ww4"),r=n("RDha"),o=function(t){r.extend(this,t),this.initialize.apply(this,arguments)};r.extend(o.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=r.clone(t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,r=e._start,o=e._view;return n&&1!==t?(o||(o=e._view={}),r||(r=e._start={}),function(t,e,n,r){var o,l,a,s,u,c,d,h,p,f=Object.keys(n);for(o=0,l=f.length;o0||(e.forEach((function(e){delete t[e]})),delete t._chartjs)}}t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(t=0,e=i.length;tn&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},LdGl:function(t,e){function n(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,l=Math.min(i,r,o),a=Math.max(i,r,o),s=a-l;return a==l?e=0:i==a?e=(r-o)/s:r==a?e=2+(o-i)/s:o==a&&(e=4+(i-r)/s),(e=Math.min(60*e,360))<0&&(e+=360),n=(l+a)/2,[e,100*(a==l?0:n<=.5?s/(a+l):s/(2-a-l)),100*n]}function i(t){var e,n,i=t[0],r=t[1],o=t[2],l=Math.min(i,r,o),a=Math.max(i,r,o),s=a-l;return n=0==a?0:s/a*1e3/10,a==l?e=0:i==a?e=(r-o)/s:r==a?e=2+(o-i)/s:o==a&&(e=4+(i-r)/s),(e=Math.min(60*e,360))<0&&(e+=360),[e,n,a/255*1e3/10]}function o(t){var e=t[0],i=t[1],r=t[2];return[n(t)[0],1/255*Math.min(e,Math.min(i,r))*100,100*(r=1-1/255*Math.max(e,Math.max(i,r)))]}function l(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-r)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]}function a(t){return M[JSON.stringify(t)]}function s(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]}function u(t){var e=s(t),n=e[0],i=e[1],r=e[2];return i/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function c(t){var e,n,i,r,o,l=t[0]/360,a=t[1]/100,s=t[2]/100;if(0==a)return[o=255*s,o,o];e=2*s-(n=s<.5?s*(1+a):s+a-s*a),r=[0,0,0];for(var u=0;u<3;u++)(i=l+1/3*-(u-1))<0&&i++,i>1&&i--,r[u]=255*(o=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e);return r}function d(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,o=e-Math.floor(e),l=255*i*(1-n),a=255*i*(1-n*o),s=255*i*(1-n*(1-o));switch(i*=255,r){case 0:return[i,s,l];case 1:return[a,i,l];case 2:return[l,i,s];case 3:return[l,a,i];case 4:return[s,l,i];case 5:return[i,l,a]}}function h(t){var e,n,i,o,l=t[0]/360,a=t[1]/100,s=t[2]/100,u=a+s;switch(u>1&&(a/=u,s/=u),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),o=a+i*((n=1-s)-a),e){default:case 6:case 0:r=n,g=o,b=a;break;case 1:r=o,g=n,b=a;break;case 2:r=a,g=n,b=o;break;case 3:r=a,g=o,b=n;break;case 4:r=o,g=a,b=n;break;case 5:r=n,g=a,b=o}return[255*r,255*g,255*b]}function p(t){var e=t[1]/100,n=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-i)+i)),255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]}function f(t){var e,n,i,r=t[0]/100,o=t[1]/100,l=t[2]/100;return n=-.9689*r+1.8758*o+.0415*l,i=.0557*r+-.204*o+1.057*l,e=(e=3.2406*r+-1.5372*o+-.4986*l)>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]}function m(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function _(t){var e,n,i,r,o=t[0],l=t[1],a=t[2];return o<=8?r=(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),r=Math.pow(n/100,1/3)),[e=e/95.047<=.008856?e=95.047*(l/500+r-16/116)/7.787:95.047*Math.pow(l/500+r,3),n,i=i/108.883<=.008859?i=108.883*(r-a/200-16/116)/7.787:108.883*Math.pow(r-a/200,3)]}function y(t){var e,n=t[0],i=t[1],r=t[2];return(e=360*Math.atan2(r,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+r*r),e]}function v(t){return f(_(t))}function w(t){var e,n=t[1];return e=t[2]/360*2*Math.PI,[t[0],n*Math.cos(e),n*Math.sin(e)]}function k(t){return x[t]}t.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:l,rgb2keyword:a,rgb2xyz:s,rgb2lab:u,rgb2lch:function(t){return y(u(t))},hsl2rgb:c,hsl2hsv:function(t){var e=t[1]/100,n=t[2]/100;return 0===n?[0,0,0]:[t[0],2*(e*=(n*=2)<=1?n:2-n)/(n+e)*100,(n+e)/2*100]},hsl2hwb:function(t){return o(c(t))},hsl2cmyk:function(t){return l(c(t))},hsl2keyword:function(t){return a(c(t))},hsv2rgb:d,hsv2hsl:function(t){var e,n,i=t[1]/100,r=t[2]/100;return e=i*r,[t[0],100*(e=(e/=(n=(2-i)*r)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(t){return o(d(t))},hsv2cmyk:function(t){return l(d(t))},hsv2keyword:function(t){return a(d(t))},hwb2rgb:h,hwb2hsl:function(t){return n(h(t))},hwb2hsv:function(t){return i(h(t))},hwb2cmyk:function(t){return l(h(t))},hwb2keyword:function(t){return a(h(t))},cmyk2rgb:p,cmyk2hsl:function(t){return n(p(t))},cmyk2hsv:function(t){return i(p(t))},cmyk2hwb:function(t){return o(p(t))},cmyk2keyword:function(t){return a(p(t))},keyword2rgb:k,keyword2hsl:function(t){return n(k(t))},keyword2hsv:function(t){return i(k(t))},keyword2hwb:function(t){return o(k(t))},keyword2cmyk:function(t){return l(k(t))},keyword2lab:function(t){return u(k(t))},keyword2xyz:function(t){return s(k(t))},xyz2rgb:f,xyz2lab:m,xyz2lch:function(t){return y(m(t))},lab2xyz:_,lab2rgb:v,lab2lch:y,lch2lab:w,lch2xyz:function(t){return _(w(t))},lch2rgb:function(t){return v(w(t))}};var x={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},M={};for(var S in x)M[JSON.stringify(x[S])]=S},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n("wd/R"))},ODdm:function(t,e,n){"use strict";t.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},OXbD:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha"),l=i.global.defaultColor;function a(t){var e=this._view;return!!e&&Math.abs(t-e.x)=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात्री":t<10?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},OzsZ:function(t,e,n){var i=n("LdGl"),r=function(){return new u};for(var o in i){r[o+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(o);var l=/(\w+)2(\w+)/.exec(o),a=l[1],s=l[2];(r[a]=r[a]||{})[s]=r[o]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var r=0;r1&&t<5&&1!=~~(t/10)}function r(t,e,n,r){var o=t+" ";switch(n){case"s":return e||r?"pár sekund":"pár sekundami";case"ss":return e||r?o+(i(t)?"sekundy":"sekund"):o+"sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?o+(i(t)?"minuty":"minut"):o+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?o+(i(t)?"hodiny":"hodin"):o+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?o+(i(t)?"dny":"dní"):o+"dny";case"M":return e||r?"měsíc":"měsícem";case"MM":return e||r?o+(i(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?o+(i(t)?"roky":"let"):o+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsParse:function(t,e){var n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return i}(e,n),shortMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(n),longMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(e),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e?t:"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(n("wd/R"))},Qexa:function(t,e,n){"use strict";t.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n("wd/R"))},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RCHg:function(t,e,n){"use strict";var i=n("wd/R");i="function"==typeof i?i:window.moment;var r=n("CDJp"),o=n("RDha"),l=Number.MIN_SAFE_INTEGER||-9007199254740991,a=Number.MAX_SAFE_INTEGER||9007199254740991,s={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},u=Object.keys(s);function c(t,e){return t-e}function d(t){var e,n,i,r={},o=[];for(e=0,n=t.length;e=0&&l<=a;){if(o=t[i=l+a>>1],!(r=t[i-1]||null))return{lo:null,hi:o};if(o[e]n))return{lo:r,hi:o};a=i-1}}return{lo:o,hi:null}}(t,e,n),o=r.lo?r.hi?r.lo:t[t.length-2]:t[0],l=r.lo?r.hi?r.hi:t[t.length-1]:t[1],a=l[e]-o[e];return o[i]+(l[i]-o[i])*(a?(n-o[e])/a:0)}function p(t,e){var n=e.parser,r=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof r?i(t,r):(t instanceof i||(t=i(t)),t.isValid()?t:"function"==typeof r?r(t):t)}function f(t,e){if(o.isNullOrUndef(t))return null;var n=e.options.time,i=p(e.getRightValue(t),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function m(t){for(var e=u.indexOf(t)+1,n=u.length;e=l&&n<=c&&y.push(n);return r.min=l,r.max=c,r._unit=g.unit||function(t,e,n,r){var o,l,a=i.duration(i(r).diff(i(n)));for(o=u.length-1;o>=u.indexOf(e);o--)if(s[l=u[o]].common&&a.as(l)>=t.length)return l;return u[e?u.indexOf(e):0]}(y,g.minUnit,r.min,r.max),r._majorUnit=m(r._unit),r._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var r,o,l,a,s,u=[],c=[e];for(r=0,o=t.length;re&&a1?e[1]:i,"pos")-h(t,"time",o,"pos"))/2),r.time.max||(o=e.length>1?e[e.length-2]:n,a=(h(t,"time",e[e.length-1],"pos")-h(t,"time",o,"pos"))/2)),{left:l,right:a}}(r._table,y,l,c,d),r._labelFormat=function(t,e){var n,i,r,o=t.length;for(n=0;n=0&&t0?a:1}});t.scaleService.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},RDha:function(t,e,n){"use strict";t.exports=n("TC34"),t.exports.easing=n("u0Op"),t.exports.canvas=n("Sfow"),t.exports.options=n("As3K")},RnhZ:function(t,e,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="RnhZ"},"S3/U":function(t,e,n){"use strict";t.exports=function(t){t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},S7Ns:function(t,e,n){"use strict";t.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},SFxW:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},Sfow:function(t,e,n){"use strict";var i=n("TC34");e=t.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,o){if(o){var l=Math.min(o,i/2),a=Math.min(o,r/2);t.moveTo(e+l,n),t.lineTo(e+i-l,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+r-a),t.quadraticCurveTo(e+i,n+r,e+i-l,n+r),t.lineTo(e+l,n+r),t.quadraticCurveTo(e,n+r,e,n+r-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+l,n)}else t.rect(e,n,i,r)},drawPoint:function(t,e,n,i,r){var o,l,a,s,u,c;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(o=e.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,r,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(l=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-l/2,r+u/3),t.lineTo(i+l/2,r+u/3),t.lineTo(i,r-2*u/3),t.closePath(),t.fill();break;case"rect":c=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-c,r-c,2*c,2*c),t.strokeRect(i-c,r-c,2*c,2*c);break;case"rectRounded":var d=n/Math.SQRT2,h=i-d,p=r-d,f=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,h,p,f,f,n/2),t.closePath(),t.fill();break;case"rectRot":c=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-c,r),t.lineTo(i,r+c),t.lineTo(i+c,r),t.lineTo(i,r-c),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,r+n),t.lineTo(i,r-n),t.moveTo(i-n,r),t.lineTo(i+n,r),t.closePath();break;case"crossRot":t.beginPath(),a=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-a,r-s),t.lineTo(i+a,r+s),t.moveTo(i-a,r+s),t.lineTo(i+a,r-s),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,r+n),t.lineTo(i,r-n),t.moveTo(i-n,r),t.lineTo(i+n,r),a=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-a,r-s),t.lineTo(i+a,r+s),t.moveTo(i-a,r+s),t.lineTo(i+a,r-s),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,r),t.lineTo(i+n,r),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,r),t.lineTo(i+n,r),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,r-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},i.clear=e.clear,i.drawRoundedRectangle=function(t){t.beginPath(),e.roundedRect.apply(e,arguments),t.closePath()}},T016:function(t,e){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},TC34:function(t,e,n){"use strict";var i,r={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return r.valueOrDefault(r.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var o,l,a;if(r.isArray(t))if(l=t.length,i)for(o=l-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;o=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},UpQW:function(t,e,n){!function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("wd/R"))},UqmZ:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha"),l=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:l.defaultColor,borderWidth:3,borderColor:l.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),t.exports=r.extend({draw:function(){var t,e,n,i,r=this._view,a=this._chart.ctx,s=r.spanGaps,u=this._children.slice(),c=l.elements.line,d=-1;for(this._loop&&u.length&&u.push(u[0]),a.save(),a.lineCap=r.borderCapStyle||c.borderCapStyle,a.setLineDash&&a.setLineDash(r.borderDash||c.borderDash),a.lineDashOffset=r.borderDashOffset||c.borderDashOffset,a.lineJoin=r.borderJoinStyle||c.borderJoinStyle,a.lineWidth=r.borderWidth||c.borderWidth,a.strokeStyle=r.borderColor||l.defaultColor,a.beginPath(),d=-1,t=0;t=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Vclq:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n("wd/R"))},VgNv:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha");i._set("global",{plugins:{}}),t.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,o,l,a,s=this.descriptors(t),u=s.length;for(i=0;is;)r-=2*Math.PI;for(;r=a&&r<=s&&l>=n.innerRadius&&l<=n.outerRadius}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n("wd/R"))},"XQh+":function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('
    ');var n=t.data,i=n.datasets,r=n.labels;if(i.length)for(var o=0;o'),r[o]&&e.push(r[o]),e.push("");return e.push("
"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var r=t.getDatasetMeta(0),l=e.datasets[0],a=r.data[i],s=a&&a.custom||{},u=o.valueAtIndexOrDefault,c=t.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:u(l.backgroundColor,i,c.backgroundColor),strokeStyle:s.borderColor?s.borderColor:u(l.borderColor,i,c.borderColor),lineWidth:s.borderWidth?s.borderWidth:u(l.borderWidth,i,c.borderWidth),hidden:isNaN(l.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,o=e.index,l=this.chart;for(n=0,i=(l.data.datasets||[]).length;n=Math.PI?-1:f<-Math.PI?1:0))+p,g={x:Math.cos(f),y:Math.sin(f)},_={x:Math.cos(m),y:Math.sin(m)},y=f<=0&&m>=0||f<=2*Math.PI&&2*Math.PI<=m,v=f<=.5*Math.PI&&.5*Math.PI<=m||f<=2.5*Math.PI&&2.5*Math.PI<=m,b=f<=-Math.PI&&-Math.PI<=m||f<=Math.PI&&Math.PI<=m,w=f<=.5*-Math.PI&&.5*-Math.PI<=m||f<=1.5*Math.PI&&1.5*Math.PI<=m,k=h/100,x={x:b?-1:Math.min(g.x*(g.x<0?1:k),_.x*(_.x<0?1:k)),y:w?-1:Math.min(g.y*(g.y<0?1:k),_.y*(_.y<0?1:k))},M={x:y?1:Math.max(g.x*(g.x>0?1:k),_.x*(_.x>0?1:k)),y:v?1:Math.max(g.y*(g.y>0?1:k),_.y*(_.y>0?1:k))},S={width:.5*(M.x-x.x),height:.5*(M.y-x.y)};u=Math.min(a/S.width,s/S.height),c={x:-.5*(M.x+x.x),y:-.5*(M.y+x.y)}}n.borderWidth=e.getMaxBorderWidth(d.data),n.outerRadius=Math.max((u-n.borderWidth)/2,0),n.innerRadius=Math.max(h?n.outerRadius/100*h:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=c.x*n.outerRadius,n.offsetY=c.y*n.outerRadius,d.total=e.calculateTotal(),e.outerRadius=n.outerRadius-n.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-n.radiusLength,0),o.each(d.data,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,r=i.chart,l=r.chartArea,a=r.options,s=a.animation,u=(l.left+l.right)/2,c=(l.top+l.bottom)/2,d=a.rotation,h=a.rotation,p=i.getDataset(),f=n&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(p.data[e])*(a.circumference/(2*Math.PI));o.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:u+r.offsetX,y:c+r.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:n&&s.animateScale?0:i.outerRadius,innerRadius:n&&s.animateScale?0:i.innerRadius,label:(0,o.valueAtIndexOrDefault)(p.label,e,r.data.labels[e])}});var m=t._model;this.removeHoverStyle(t),n&&s.animateRotate||(m.startAngle=0===e?a.rotation:i.getMeta().data[e-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return o.each(n.data,(function(n,r){t=e.data[r],isNaN(t)||n.hidden||(i+=Math.abs(t))})),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,r=this.index,o=t.length,l=0;l(i=(e=t[l]._model?t[l]._model.borderWidth:0)>i?e:i)?n:i;return i}})}},Y4Rb:function(t,e,n){"use strict";var i=n("RDha"),r=n("g8vO");t.exports=function(t){var e={position:"left",ticks:{callback:r.formatters.logarithmic}},n=t.Scale.extend({determineDataLimits:function(){var t=this,e=t.options,n=t.chart,r=n.data.datasets,o=t.isHorizontal();function l(e){return o?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var a=e.stacked;if(void 0===a&&i.each(r,(function(t,e){if(!a){var i=n.getDatasetMeta(e);n.isDatasetVisible(e)&&l(i)&&void 0!==i.stack&&(a=!0)}})),e.stacked||a){var s={};i.each(r,(function(r,o){var a=n.getDatasetMeta(o),u=[a.type,void 0===e.stacked&&void 0===a.stack?o:"",a.stack].join(".");n.isDatasetVisible(o)&&l(a)&&(void 0===s[u]&&(s[u]=[]),i.each(r.data,(function(e,n){var i=s[u],r=+t.getRightValue(e);isNaN(r)||a.data[n].hidden||r<0||(i[n]=i[n]||0,i[n]+=r)})))})),i.each(s,(function(e){if(e.length>0){var n=i.min(e),r=i.max(e);t.min=null===t.min?n:Math.min(t.min,n),t.max=null===t.max?r:Math.max(t.max,r)}}))}else i.each(r,(function(e,r){var o=n.getDatasetMeta(r);n.isDatasetVisible(r)&&l(o)&&i.each(e.data,(function(e,n){var i=+t.getRightValue(e);isNaN(i)||o.data[n].hidden||i<0||(null===t.min?t.min=i:it.max&&(t.max=i),0!==i&&(null===t.minNotZero||i0?t.min:t.max<1?Math.pow(10,Math.floor(i.log10(t.max))):1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),r=t.ticks=function(t,e){var n,r,o=[],l=i.valueOrDefault,a=l(t.min,Math.pow(10,Math.floor(i.log10(e.min)))),s=Math.floor(i.log10(e.max)),u=Math.ceil(e.max/Math.pow(10,s));0===a?(n=Math.floor(i.log10(e.minNotZero)),r=Math.floor(e.minNotZero/Math.pow(10,n)),o.push(a),a=r*Math.pow(10,n)):(n=Math.floor(i.log10(a)),r=Math.floor(a/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{o.push(a),10==++r&&(r=1,c=++n>=0?1:c),a=Math.round(r*Math.pow(10,n)*c)/c}while(n=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n("wd/R"))},YSsK:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),o=n("g8vO");t.exports=function(t){var e={position:"left",ticks:{callback:o.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){var t=this,e=t.options,n=t.chart,i=n.data.datasets,o=t.isHorizontal();function l(e){return o?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null;var a=e.stacked;if(void 0===a&&r.each(i,(function(t,e){if(!a){var i=n.getDatasetMeta(e);n.isDatasetVisible(e)&&l(i)&&void 0!==i.stack&&(a=!0)}})),e.stacked||a){var s={};r.each(i,(function(i,o){var a=n.getDatasetMeta(o),u=[a.type,void 0===e.stacked&&void 0===a.stack?o:"",a.stack].join(".");void 0===s[u]&&(s[u]={positiveValues:[],negativeValues:[]});var c=s[u].positiveValues,d=s[u].negativeValues;n.isDatasetVisible(o)&&l(a)&&r.each(i.data,(function(n,i){var r=+t.getRightValue(n);isNaN(r)||a.data[i].hidden||(c[i]=c[i]||0,d[i]=d[i]||0,e.relativePoints?c[i]=100:r<0?d[i]+=r:c[i]+=r)}))})),r.each(s,(function(e){var n=e.positiveValues.concat(e.negativeValues),i=r.min(n),o=r.max(n);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?o:Math.max(t.max,o)}))}else r.each(i,(function(e,i){var o=n.getDatasetMeta(i);n.isDatasetVisible(i)&&l(o)&&r.each(e.data,(function(e,n){var i=+t.getRightValue(e);isNaN(i)||o.data[n].hidden||(null===t.min?t.min=i:it.max&&(t.max=i))}))}));t.min=isFinite(t.min)&&!isNaN(t.min)?t.min:0,t.max=isFinite(t.max)&&!isNaN(t.max)?t.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=r.valueOrDefault(e.fontSize,i.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,n=e.start,i=+e.getRightValue(t),r=e.end-n;return e.isHorizontal()?e.left+e.width/r*(i-n):e.bottom-e.height/r*(i-n)},getValueForPixel:function(t){var e=this,n=e.isHorizontal();return e.start+(n?t-e.left:e.bottom-t)/(n?e.width:e.height)*(e.end-e.start)},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z4QM:function(t,e,n){!function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZANz:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return t.length>0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index0?Math.min(l,i-n):l,n=i;return l}(n,u):-1,pixels:u,start:a,end:s,stackCount:i,scale:n}},calculateBarValuePixels:function(t,e){var n,i,r,o,l,a,s=this.chart,u=this.getMeta(),c=this.getValueScale(),d=s.data.datasets,h=c.getRightValue(d[t].data[e]),p=c.options.stacked,f=u.stack,m=0;if(p||void 0===p&&void 0!==f)for(n=0;n=0&&r>0)&&(m+=r));return o=c.getPixelForValue(m),{size:a=((l=c.getPixelForValue(m+h))-o)/2,base:o,head:l,center:l+a/2}},calculateBarIndexPixels:function(t,e,n){var i=n.scale.options,r="flex"===i.barThickness?function(t,e,n){var i=e.pixels,r=i[t],o=t>0?i[t-1]:null,l=t11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},aB2c:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),t.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:r.Line,dataElementType:r.Point,linkScales:o.noop,update:function(t){var e=this,n=e.getMeta(),i=n.data,r=n.dataset.custom||{},l=e.getDataset(),a=e.chart.options.elements.line,s=e.chart.scale;void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o.extend(n.dataset,{_datasetIndex:e.index,_scale:s,_children:i,_loop:!0,_model:{tension:r.tension?r.tension:o.valueOrDefault(l.lineTension,a.tension),backgroundColor:r.backgroundColor?r.backgroundColor:l.backgroundColor||a.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:l.borderWidth||a.borderWidth,borderColor:r.borderColor?r.borderColor:l.borderColor||a.borderColor,fill:r.fill?r.fill:void 0!==l.fill?l.fill:a.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:l.borderCapStyle||a.borderCapStyle,borderDash:r.borderDash?r.borderDash:l.borderDash||a.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:l.borderDashOffset||a.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:l.borderJoinStyle||a.borderJoinStyle}}),n.dataset.pivot(),o.each(i,(function(n,i){e.updateElement(n,i,t)}),e),e.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,r=t.custom||{},l=i.getDataset(),a=i.chart.scale,s=i.chart.options.elements.point,u=a.getPointPositionForValue(e,l.data[e]);void 0!==l.radius&&void 0===l.pointRadius&&(l.pointRadius=l.radius),void 0!==l.hitRadius&&void 0===l.pointHitRadius&&(l.pointHitRadius=l.hitRadius),o.extend(t,{_datasetIndex:i.index,_index:e,_scale:a,_model:{x:n?a.xCenter:u.x,y:n?a.yCenter:u.y,tension:r.tension?r.tension:o.valueOrDefault(l.lineTension,i.chart.options.elements.line.tension),radius:r.radius?r.radius:o.valueAtIndexOrDefault(l.pointRadius,e,s.radius),backgroundColor:r.backgroundColor?r.backgroundColor:o.valueAtIndexOrDefault(l.pointBackgroundColor,e,s.backgroundColor),borderColor:r.borderColor?r.borderColor:o.valueAtIndexOrDefault(l.pointBorderColor,e,s.borderColor),borderWidth:r.borderWidth?r.borderWidth:o.valueAtIndexOrDefault(l.pointBorderWidth,e,s.borderWidth),pointStyle:r.pointStyle?r.pointStyle:o.valueAtIndexOrDefault(l.pointStyle,e,s.pointStyle),hitRadius:r.hitRadius?r.hitRadius:o.valueAtIndexOrDefault(l.pointHitRadius,e,s.hitRadius)}}),t._model.skip=r.skip?r.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();o.each(e.data,(function(n,i){var r=n._model,l=o.splineCurve(o.previousItem(e.data,i,!0)._model,r,o.nextItem(e.data,i,!0)._model,r.tension);r.controlPointPreviousX=Math.max(Math.min(l.previous.x,t.right),t.left),r.controlPointPreviousY=Math.max(Math.min(l.previous.y,t.bottom),t.top),r.controlPointNextX=Math.max(Math.min(l.next.x,t.right),t.left),r.controlPointNextY=Math.max(Math.min(l.next.y,t.bottom),t.top),n.pivot()}))},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,r=t._model;r.radius=n.hoverRadius?n.hoverRadius:o.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),r.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:o.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,o.getHoverColor(r.backgroundColor)),r.borderColor=n.hoverBorderColor?n.hoverBorderColor:o.valueAtIndexOrDefault(e.pointHoverBorderColor,i,o.getHoverColor(r.borderColor)),r.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:o.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,r.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,r=t._model,l=this.chart.options.elements.point;r.radius=n.radius?n.radius:o.valueAtIndexOrDefault(e.pointRadius,i,l.radius),r.backgroundColor=n.backgroundColor?n.backgroundColor:o.valueAtIndexOrDefault(e.pointBackgroundColor,i,l.backgroundColor),r.borderColor=n.borderColor?n.borderColor:o.valueAtIndexOrDefault(e.pointBorderColor,i,l.borderColor),r.borderWidth=n.borderWidth?n.borderWidth:o.valueAtIndexOrDefault(e.pointBorderWidth,i,l.borderWidth)}})}},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n("wd/R"))},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n("wd/R"))},bidN:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": ("+t.xLabel+", "+t.yLabel+", "+e.datasets[t.datasetIndex].data[t.index].r+")"}}}}),t.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:r.Point,update:function(t){var e=this,n=e.getMeta();o.each(n.data,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,r=i.getMeta(),o=t.custom||{},l=i.getScaleForId(r.xAxisID),a=i.getScaleForId(r.yAxisID),s=i._resolveElementOptions(t,e),u=i.getDataset().data[e],c=i.index,d=n?l.getPixelForDecimal(.5):l.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?a.getBasePixel():a.getPixelForValue(u,e,c);t._xScale=l,t._yScale=a,t._options=s,t._datasetIndex=c,t._index=e,t._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,radius:n?0:s.radius,skip:o.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=o.valueOrDefault(n.hoverBackgroundColor,o.getHoverColor(n.backgroundColor)),e.borderColor=o.valueOrDefault(n.hoverBorderColor,o.getHoverColor(n.borderColor)),e.borderWidth=o.valueOrDefault(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},removeHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=n.backgroundColor,e.borderColor=n.borderColor,e.borderWidth=n.borderWidth,e.radius=n.radius},_resolveElementOptions:function(t,e){var n,i,r,l=this.chart,a=l.data.datasets[this.index],s=t.custom||{},u=l.options.elements.point,c=o.options.resolve,d=a.data[e],h={},p={chart:l,dataIndex:e,dataset:a,datasetIndex:this.index},f=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=f.length;n=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cdu6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha"),l=n("g8vO");function a(t){var e,n,i=[];for(e=0,n=t.length;eh&&st.maxHeight){s--;break}s++,d=u*c}t.labelRotation=s},afterCalculateTickRotation:function(){o.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){o.callback(this.options.beforeFit,[this])},fit:function(){var t=this,i=t.minSize={width:0,height:0},r=a(t._ticks),s=t.options,u=s.ticks,c=s.scaleLabel,d=s.gridLines,h=s.display,p=t.isHorizontal(),f=n(u),m=s.gridLines.tickMarkLength;if(i.width=p?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:h&&d.drawTicks?m:0,i.height=p?h&&d.drawTicks?m:0:t.maxHeight,c.display&&h){var g=l(c)+o.options.toPadding(c.padding).height;p?i.height+=g:i.width+=g}if(u.display&&h){var _=o.longestText(t.ctx,f.font,r,t.longestTextCache),y=o.numberOfLabelLines(r),v=.5*f.size,b=t.options.ticks.padding;if(p){t.longestLabelWidth=_;var w=o.toRadians(t.labelRotation),k=Math.cos(w),x=Math.sin(w);i.height=Math.min(t.maxHeight,i.height+(x*_+f.size*y+v*(y-1)+v)+b),t.ctx.font=f.font;var M=e(t.ctx,r[0],f.font),S=e(t.ctx,r[r.length-1],f.font);0!==t.labelRotation?(t.paddingLeft="bottom"===s.position?k*M+3:k*v+3,t.paddingRight="bottom"===s.position?k*v+3:k*S+3):(t.paddingLeft=M/2+3,t.paddingRight=S/2+3)}else u.mirror?_=0:_+=b+v,i.width=Math.min(t.maxWidth,i.width+_),t.paddingTop=f.size/2,t.paddingBottom=f.size/2}t.handleMargins(),t.width=i.width,t.height=i.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){o.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(o.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:o.noop,getPixelForValue:o.noop,getValueForPixel:o.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),r=i*t+e.paddingLeft;return n&&(r+=i/2),e.left+Math.round(r)+(e.isFullWidth()?e.margins.left:0)}return e.top+t*((e.height-(e.paddingTop+e.paddingBottom))/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;return e.isHorizontal()?e.left+Math.round((e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft)+(e.isFullWidth()?e.margins.left:0):e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,r,l=this,a=l.isHorizontal(),s=l.options.ticks.minor,u=t.length,c=o.toRadians(l.labelRotation),d=Math.cos(c),h=l.longestLabelWidth*d,p=[];for(s.maxTicksLimit&&(r=s.maxTicksLimit),a&&(e=!1,(h+s.autoSkipPadding)*u>l.width-(l.paddingLeft+l.paddingRight)&&(e=1+Math.floor((h+s.autoSkipPadding)*u/(l.width-(l.paddingLeft+l.paddingRight)))),r&&u>r&&(e=Math.max(e,Math.floor(u/r)))),n=0;n1&&n%e>0||n%e==0&&n+e>=u)&&n!==u-1&&delete i.label,p.push(i);return p},draw:function(t){var e=this,r=e.options;if(r.display){var a=e.ctx,u=i.global,c=r.ticks.minor,d=r.ticks.major||c,h=r.gridLines,p=r.scaleLabel,f=0!==e.labelRotation,m=e.isHorizontal(),g=c.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),_=o.valueOrDefault(c.fontColor,u.defaultFontColor),y=n(c),v=o.valueOrDefault(d.fontColor,u.defaultFontColor),b=n(d),w=h.drawTicks?h.tickMarkLength:0,k=o.valueOrDefault(p.fontColor,u.defaultFontColor),x=n(p),M=o.options.toPadding(p.padding),S=o.toRadians(e.labelRotation),C=[],L=e.options.gridLines.lineWidth,D="right"===r.position?e.right:e.right-L-w,T="right"===r.position?e.right+w:e.right,O="bottom"===r.position?e.top+L:e.bottom-w-L,P="bottom"===r.position?e.top+L+w:e.bottom+L;if(o.each(g,(function(n,i){if(!o.isNullOrUndef(n.label)){var l,a,d,p,_,y,v,b,k,x,M,E,I,Y,A=n.label;i===e.zeroLineIndex&&r.offset===h.offsetGridLines?(l=h.zeroLineWidth,a=h.zeroLineColor,d=h.zeroLineBorderDash,p=h.zeroLineBorderDashOffset):(l=o.valueAtIndexOrDefault(h.lineWidth,i),a=o.valueAtIndexOrDefault(h.color,i),d=o.valueOrDefault(h.borderDash,u.borderDash),p=o.valueOrDefault(h.borderDashOffset,u.borderDashOffset));var R="middle",j="middle",F=c.padding;if(m){var N=w+F;"bottom"===r.position?(j=f?"middle":"top",R=f?"right":"center",Y=e.top+N):(j=f?"middle":"bottom",R=f?"left":"center",Y=e.bottom-N);var H=s(e,i,h.offsetGridLines&&g.length>1);H1);B1&&t<5}function r(t,e,n,r){var o=t+" ";switch(n){case"s":return e||r?"pár sekúnd":"pár sekundami";case"ss":return e||r?o+(i(t)?"sekundy":"sekúnd"):o+"sekundami";case"m":return e?"minúta":r?"minútu":"minútou";case"mm":return e||r?o+(i(t)?"minúty":"minút"):o+"minútami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?o+(i(t)?"hodiny":"hodín"):o+"hodinami";case"d":return e||r?"deň":"dňom";case"dd":return e||r?o+(i(t)?"dni":"dní"):o+"dňami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?o+(i(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?o+(i(t)?"roky":"rokov"):o+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},fELs:function(t,e,n){"use strict";var i=n("RDha");function r(t,e){return i.where(t,(function(t){return t.position===e}))}function o(t,e){t.forEach((function(t,e){return t._tmpIndex_=e,t})),t.sort((function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i._tmpIndex_-r._tmpIndex_:i.weight-r.weight})),t.forEach((function(t){delete t._tmpIndex_}))}t.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,r=["fullWidth","position","weight"],o=r.length,l=0;l3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&t!==Math.floor(t)&&(r=t-Math.floor(t));var o=i.log10(Math.abs(r)),l="";if(0!==t){var a=-1*Math.floor(o);a=Math.max(Math.min(a,20),0),l=t.toFixed(a)}else l="0";return l},logarithmic:function(t,e,n){var r=t/Math.pow(10,Math.floor(i.log10(t)));return 0===t?"0":1===r||2===r||5===r||0===e||e===n.length-1?t.toExponential():""}}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return r+(1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return r+(1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami");case"d":return e||i?"en dan":"enim dnem";case"dd":return r+(1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi");case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+(1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci");case"y":return e||i?"eno leto":"enim letom";case"yy":return r+(1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti")}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function i(t,i,r,o){var l="";switch(r){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":l=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":l=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":l=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":l=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":l=o?"vuoden":"vuotta"}return function(t,i){return t<10?i?n[t]:e[t]:t}(t,o)+" "+l}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n("wd/R"))},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(t,e,n){!function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},iM7B:function(t,e,n){"use strict";var i=n("RDha"),r=n("Hg4g"),o=n("q8Fl");t.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},o._enabled?o:r)},iYGd:function(t,e,n){"use strict";t.exports=function(t){t.Radar=function(e,n){return n.type="radar",new t(e,n)}}},iYuL:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,i=this._calendarEl[t],r=e&&e.hours();return((n=i)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(e)),i.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function r(t,e,n){var r=t+" ";switch(n){case"ss":return r+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return r+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return r+(i(t)?"godziny":"godzin");case"MM":return r+(i(t)?"miesiące":"miesięcy");case"yy":return r+(i(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,i){return t?""===i?"("+n[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jXIB:function(t,e,n){"use strict";t.exports={},t.exports.filler=n("vpM6"),t.exports.legend=n("AX6q"),t.exports.title=n("mjYD")},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(t){return function(e,n,o,l){var a=i(e),s=r[t][i(e)];return 2===a&&(s=s[n?0:1]),s.replace(/%d/i,e)}},l=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:l,monthsShort:l,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},kB5k:function(t,e,n){var i;!function(r){"use strict";var o,l=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,a=Math.ceil,s=Math.floor,u="[BigNumber Error] ",c=u+"Number primitive has more than 15 significant digits: ",d=1e14,h=14,p=9007199254740991,f=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],m=1e7;function g(t){var e=0|t;return t>0||t===e?e:e-1}function _(t){for(var e,n,i=1,r=t.length,o=t[0]+"";iu^n?1:-1;for(a=(s=r.length)<(u=o.length)?s:u,l=0;lo[l]^n?1:-1;return s==u?0:s>u^n?1:-1}function v(t,e,n,i){if(tn||t!==(t<0?a(t):s(t)))throw Error(u+(i||"Argument")+("number"==typeof t?tn?" out of range: ":" not an integer: ":" not a primitive number: ")+t)}function b(t){return"[object Array]"==Object.prototype.toString.call(t)}function w(t){var e=t.c.length-1;return g(t.e/h)==e&&t.c[e]%2!=0}function k(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function x(t,e,n){var i,r;if(e<0){for(r=n+".";++e;r+=n);t=r+t}else if(++e>(i=t.length)){for(r=n,e-=i;--e;r+=n);t+=r}else e=10;d/=10,u++);return _.e=u,void(_.c=[t])}g=t+""}else{if(!l.test(g=t+""))return r(_,g,f);_.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(u=g.indexOf("."))>-1&&(g=g.replace(".","")),(d=g.search(/e/i))>0?(u<0&&(u=d),u+=+g.slice(d+1),g=g.substring(0,d)):u<0&&(u=g.length)}else{if(v(e,2,z.length,"Base"),g=t+"",10==e)return q(_=new V(t instanceof V?t:g),P+_.e+1,E);if(f="number"==typeof t){if(0*t!=0)return r(_,g,f,e);if(_.s=1/t<0?(g=g.slice(1),-1):1,V.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(c+t);f=!1}else _.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(n=z.slice(0,e),u=d=0,m=g.length;du){u=m;continue}}else if(!a&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){a=!0,d=-1,u=0;continue}return r(_,t+"",f,e)}(u=(g=i(g,e,10,_.s)).indexOf("."))>-1?g=g.replace(".",""):u=g.length}for(d=0;48===g.charCodeAt(d);d++);for(m=g.length;48===g.charCodeAt(--m););if(g=g.slice(d,++m)){if(m-=d,f&&V.DEBUG&&m>15&&(t>p||t!==s(t)))throw Error(c+_.s*t);if((u=u-d-1)>R)_.c=_.e=null;else if(ua){if(--e>0)for(s+=".";e--;s+="0");}else if((e+=o-a)>0)for(o+1==a&&(s+=".");e--;s+="0");return t.s<0&&r?"-"+s:s}function W(t,e){var n,i,r=0;for(b(t[0])&&(t=t[0]),n=new V(t[0]);++r=10;r/=10,i++);return(n=i+n*h-1)>R?t.c=t.e=null:n=10;u/=10,r++);if((o=e-r)<0)o+=h,m=(c=g[p=0])/_[r-(l=e)-1]%10|0;else if((p=a((o+1)/h))>=g.length){if(!i)break t;for(;g.length<=p;g.push(0));c=m=0,r=1,l=(o%=h)-h+1}else{for(c=u=g[p],r=1;u>=10;u/=10,r++);m=(l=(o%=h)-h+r)<0?0:c/_[r-l-1]%10|0}if(i=i||e<0||null!=g[p+1]||(l<0?c:c%_[r-l-1]),i=n<4?(m||i)&&(0==n||n==(t.s<0?3:2)):m>5||5==m&&(4==n||i||6==n&&(o>0?l>0?c/_[r-l]:0:g[p-1])%10&1||n==(t.s<0?8:7)),e<1||!g[0])return g.length=0,i?(g[0]=_[(h-(e-=t.e+1)%h)%h],t.e=-e||0):g[0]=t.e=0,t;if(0==o?(g.length=p,u=1,p--):(g.length=p+1,u=_[h-o],g[p]=l>0?s(c/_[r-l]%_[l])*u:0),i)for(;;){if(0==p){for(o=1,l=g[0];l>=10;l/=10,o++);for(l=g[0]+=u,u=1;l>=10;l/=10,u++);o!=u&&(t.e++,g[0]==d&&(g[0]=1));break}if(g[p]+=u,g[p]!=d)break;g[p--]=0,u=1}for(o=g.length;0===g[--o];g.pop());}t.e>R?t.c=t.e=null:t.e>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),e[c]=n[0],e[c+1]=n[1]):(d.push(l%1e14),c+=2);c=r/2}else{if(!crypto.randomBytes)throw j=!1,Error(u+"crypto unavailable");for(e=crypto.randomBytes(r*=7);c=9e15?crypto.randomBytes(7).copy(e,c):(d.push(l%1e14),c+=7);c=r/7}if(!j)for(;c=10;l/=10,c++);cn-1&&(null==l[r+1]&&(l[r+1]=0),l[r+1]+=l[r]/n|0,l[r]%=n)}return l.reverse()}return function(e,i,r,o,l){var a,s,u,c,d,h,p,f,m=e.indexOf("."),g=P,y=E;for(m>=0&&(c=N,N=0,e=e.replace(".",""),h=(f=new V(i)).pow(e.length-m),N=c,f.c=t(x(_(h.c),h.e,"0"),10,r,"0123456789"),f.e=f.c.length),u=c=(p=t(e,i,r,l?(a=z,"0123456789"):(a="0123456789",z))).length;0==p[--c];p.pop());if(!p[0])return a.charAt(0);if(m<0?--u:(h.c=p,h.e=u,h.s=o,p=(h=n(h,f,g,y,r)).c,d=h.r,u=h.e),m=p[s=u+g+1],c=r/2,d=d||s<0||null!=p[s+1],d=y<4?(null!=m||d)&&(0==y||y==(h.s<0?3:2)):m>c||m==c&&(4==y||d||6==y&&1&p[s-1]||y==(h.s<0?8:7)),s<1||!p[0])e=d?x(a.charAt(1),-g,a.charAt(0)):a.charAt(0);else{if(p.length=s,d)for(--r;++p[--s]>r;)p[s]=0,s||(++u,p=[1].concat(p));for(c=p.length;!p[--c];);for(m=0,e="";m<=c;e+=a.charAt(p[m++]));e=x(e,u,a.charAt(0))}return e}}(),n=function(){function t(t,e,n){var i,r,o,l,a=0,s=t.length,u=e%m,c=e/m|0;for(t=t.slice();s--;)a=((r=u*(o=t[s]%m)+(i=c*o+(l=t[s]/m|0)*u)%m*m+a)/n|0)+(i/m|0)+c*l,t[s]=r%n;return a&&(t=[a].concat(t)),t}function e(t,e,n,i){var r,o;if(n!=i)o=n>i?1:-1;else for(r=o=0;re[r]?1:-1;break}return o}function n(t,e,n,i){for(var r=0;n--;)t[n]-=r,t[n]=(r=t[n]1;t.splice(0,1));}return function(i,r,o,l,a){var u,c,p,f,m,_,y,v,b,w,k,x,M,S,C,L,D,T=i.s==r.s?1:-1,O=i.c,P=r.c;if(!(O&&O[0]&&P&&P[0]))return new V(i.s&&r.s&&(O?!P||O[0]!=P[0]:P)?O&&0==O[0]||!P?0*T:T/0:NaN);for(b=(v=new V(T)).c=[],T=o+(c=i.e-r.e)+1,a||(a=d,c=g(i.e/h)-g(r.e/h),T=T/h|0),p=0;P[p]==(O[p]||0);p++);if(P[p]>(O[p]||0)&&c--,T<0)b.push(1),f=!0;else{for(S=O.length,L=P.length,p=0,T+=2,(m=s(a/(P[0]+1)))>1&&(P=t(P,m,a),O=t(O,m,a),L=P.length,S=O.length),M=L,k=(w=O.slice(0,L)).length;k=a/2&&C++;do{if(m=0,(u=e(P,w,L,k))<0){if(x=w[0],L!=k&&(x=x*a+(w[1]||0)),(m=s(x/C))>1)for(m>=a&&(m=a-1),y=(_=t(P,m,a)).length,k=w.length;1==e(_,w,y,k);)m--,n(_,L=10;T/=10,p++);q(v,o+(v.e=p+c*h-1)+1,l,f)}else v.e=c,v.r=+f;return v}}(),M=/^(-?)0([xbo])(?=\w[\w.]*$)/i,S=/^([^.]+)\.$/,C=/^\.([^.]+)$/,L=/^-?(Infinity|NaN)$/,D=/^\s*\+(?=[\w.])|^\s+|\s+$/g,r=function(t,e,n,i){var r,o=n?e:e.replace(D,"");if(L.test(o))t.s=isNaN(o)?null:o<0?-1:1,t.c=t.e=null;else{if(!n&&(o=o.replace(M,(function(t,e,n){return r="x"==(n=n.toLowerCase())?16:"b"==n?2:8,i&&i!=r?t:e})),i&&(r=i,o=o.replace(S,"$1").replace(C,"0.$1")),e!=o))return new V(o,r);if(V.DEBUG)throw Error(u+"Not a"+(i?" base "+i:"")+" number: "+e);t.c=t.e=t.s=null}},T.absoluteValue=T.abs=function(){var t=new V(this);return t.s<0&&(t.s=1),t},T.comparedTo=function(t,e){return y(this,new V(t,e))},T.decimalPlaces=T.dp=function(t,e){var n,i,r,o=this;if(null!=t)return v(t,0,1e9),null==e?e=E:v(e,0,8),q(new V(o),t+o.e+1,e);if(!(n=o.c))return null;if(i=((r=n.length-1)-g(this.e/h))*h,r=n[r])for(;r%10==0;r/=10,i--);return i<0&&(i=0),i},T.dividedBy=T.div=function(t,e){return n(this,new V(t,e),P,E)},T.dividedToIntegerBy=T.idiv=function(t,e){return n(this,new V(t,e),0,1)},T.exponentiatedBy=T.pow=function(t,e){var n,i,r,o,l,c,d,p=this;if((t=new V(t)).c&&!t.isInteger())throw Error(u+"Exponent not an integer: "+t);if(null!=e&&(e=new V(e)),o=t.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!t.c||!t.c[0])return d=new V(Math.pow(+p.valueOf(),o?2-w(t):+t)),e?d.mod(e):d;if(l=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new V(NaN);(i=!l&&p.isInteger()&&e.isInteger())&&(p=p.mod(e))}else{if(t.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||o&&p.c[1]>=24e7:p.c[0]<8e13||o&&p.c[0]<=9999975e7)))return r=p.s<0&&w(t)?-0:0,p.e>-1&&(r=1/r),new V(l?1/r:r);N&&(r=a(N/h+2))}for(o?(n=new V(.5),c=w(t)):c=t%2,l&&(t.s=1),d=new V(O);;){if(c){if(!(d=d.times(p)).c)break;r?d.c.length>r&&(d.c.length=r):i&&(d=d.mod(e))}if(o){if(q(t=t.times(n),t.e+1,1),!t.c[0])break;o=t.e>14,c=w(t)}else{if(!(t=s(t/2)))break;c=t%2}p=p.times(p),r?p.c&&p.c.length>r&&(p.c.length=r):i&&(p=p.mod(e))}return i?d:(l&&(d=O.div(d)),e?d.mod(e):r?q(d,N,E,void 0):d)},T.integerValue=function(t){var e=new V(this);return null==t?t=E:v(t,0,8),q(e,e.e+1,t)},T.isEqualTo=T.eq=function(t,e){return 0===y(this,new V(t,e))},T.isFinite=function(){return!!this.c},T.isGreaterThan=T.gt=function(t,e){return y(this,new V(t,e))>0},T.isGreaterThanOrEqualTo=T.gte=function(t,e){return 1===(e=y(this,new V(t,e)))||0===e},T.isInteger=function(){return!!this.c&&g(this.e/h)>this.c.length-2},T.isLessThan=T.lt=function(t,e){return y(this,new V(t,e))<0},T.isLessThanOrEqualTo=T.lte=function(t,e){return-1===(e=y(this,new V(t,e)))||0===e},T.isNaN=function(){return!this.s},T.isNegative=function(){return this.s<0},T.isPositive=function(){return this.s>0},T.isZero=function(){return!!this.c&&0==this.c[0]},T.minus=function(t,e){var n,i,r,o,l=this,a=l.s;if(e=(t=new V(t,e)).s,!a||!e)return new V(NaN);if(a!=e)return t.s=-e,l.plus(t);var s=l.e/h,u=t.e/h,c=l.c,p=t.c;if(!s||!u){if(!c||!p)return c?(t.s=-e,t):new V(p?l:NaN);if(!c[0]||!p[0])return p[0]?(t.s=-e,t):new V(c[0]?l:3==E?-0:0)}if(s=g(s),u=g(u),c=c.slice(),a=s-u){for((o=a<0)?(a=-a,r=c):(u=s,r=p),r.reverse(),e=a;e--;r.push(0));r.reverse()}else for(i=(o=(a=c.length)<(e=p.length))?a:e,a=e=0;e0)for(;e--;c[n++]=0);for(e=d-1;i>a;){if(c[--i]=0;){for(n=0,f=x[r]%b,_=x[r]/b|0,o=r+(l=s);o>r;)n=((u=f*(u=k[--l]%b)+(a=_*u+(c=k[l]/b|0)*f)%b*b+y[o]+n)/v|0)+(a/b|0)+_*c,y[o--]=u%v;y[o]=n}return n?++i:y.splice(0,1),U(t,y,i)},T.negated=function(){var t=new V(this);return t.s=-t.s||null,t},T.plus=function(t,e){var n,i=this,r=i.s;if(e=(t=new V(t,e)).s,!r||!e)return new V(NaN);if(r!=e)return t.s=-e,i.minus(t);var o=i.e/h,l=t.e/h,a=i.c,s=t.c;if(!o||!l){if(!a||!s)return new V(r/0);if(!a[0]||!s[0])return s[0]?t:new V(a[0]?i:0*r)}if(o=g(o),l=g(l),a=a.slice(),r=o-l){for(r>0?(l=o,n=s):(r=-r,n=a),n.reverse();r--;n.push(0));n.reverse()}for((r=a.length)-(e=s.length)<0&&(n=s,s=a,a=n,e=r),r=0;e;)r=(a[--e]=a[e]+s[e]+r)/d|0,a[e]=d===a[e]?0:a[e]%d;return r&&(a=[r].concat(a),++l),U(t,a,l)},T.precision=T.sd=function(t,e){var n,i,r,o=this;if(null!=t&&t!==!!t)return v(t,1,1e9),null==e?e=E:v(e,0,8),q(new V(o),t,e);if(!(n=o.c))return null;if(i=(r=n.length-1)*h+1,r=n[r]){for(;r%10==0;r/=10,i--);for(r=n[0];r>=10;r/=10,i++);}return t&&o.e+1>i&&(i=o.e+1),i},T.shiftedBy=function(t){return v(t,-p,p),this.times("1e"+t)},T.squareRoot=T.sqrt=function(){var t,e,i,r,o,l=this,a=l.c,s=l.s,u=l.e,c=P+4,d=new V("0.5");if(1!==s||!a||!a[0])return new V(!s||s<0&&(!a||a[0])?NaN:a?l:1/0);if(0==(s=Math.sqrt(+l))||s==1/0?(((e=_(a)).length+u)%2==0&&(e+="0"),s=Math.sqrt(e),u=g((u+1)/2)-(u<0||u%2),i=new V(e=s==1/0?"1e"+u:(e=s.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new V(s+""),i.c[0])for((s=(u=i.e)+c)<3&&(s=0);;)if(i=d.times((o=i).plus(n(l,o,c,1))),_(o.c).slice(0,s)===(e=_(i.c)).slice(0,s)){if(i.e0&&h>0){for(s=d.substr(0,i=h%o||o);i0&&(s+=a+d.slice(i)),c&&(s="-"+s)}n=u?s+H.decimalSeparator+((l=+H.fractionGroupSize)?u.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+H.fractionGroupSeparator):u):s}return n},T.toFraction=function(t){var e,i,r,o,l,a,s,c,d,p,m,g,y=this,v=y.c;if(null!=t&&(!(c=new V(t)).isInteger()&&(c.c||1!==c.s)||c.lt(O)))throw Error(u+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+t);if(!v)return y.toString();for(i=new V(O),p=r=new V(O),o=d=new V(O),g=_(v),a=i.e=g.length-y.e-1,i.c[0]=f[(s=a%h)<0?h+s:s],t=!t||c.comparedTo(i)>0?a>0?i:p:c,s=R,R=1/0,c=new V(g),d.c[0]=0;m=n(c,i,0,1),1!=(l=r.plus(m.times(o))).comparedTo(t);)r=o,o=l,p=d.plus(m.times(l=p)),d=l,i=c.minus(m.times(l=i)),c=l;return l=n(t.minus(r),o,0,1),d=d.plus(l.times(p)),r=r.plus(l.times(o)),d.s=p.s=y.s,e=n(p,o,a*=2,E).minus(y).abs().comparedTo(n(d,r,a,E).minus(y).abs())<1?[p.toString(),o.toString()]:[d.toString(),r.toString()],R=s,e},T.toNumber=function(){return+this},T.toPrecision=function(t,e){return null!=t&&v(t,1,1e9),B(this,t,e,2)},T.toString=function(t){var e,n=this,r=n.s,o=n.e;return null===o?r?(e="Infinity",r<0&&(e="-"+e)):e="NaN":(e=_(n.c),null==t?e=o<=I||o>=Y?k(e,o):x(e,o,"0"):(v(t,2,z.length,"Base"),e=i(x(e,o,"0"),10,t,r,!0)),r<0&&n.c[0]&&(e="-"+e)),e},T.valueOf=T.toJSON=function(){var t,e=this,n=e.e;return null===n?e.toString():(t=_(e.c),t=n<=I||n>=Y?k(t,n):x(t,n,"0"),e.s<0?"-"+t:t)},T._isBigNumber=!0,null!=e&&V.set(e),V}()).default=o.BigNumber=o,void 0===(i=(function(){return o}).call(e,n,e,t))||(t.exports=i)}()},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n("wd/R"))},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i,r;return"m"===n?e?"минута":"минуту":t+" "+(i=+t,r={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){switch(n){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},mgIt:function(t,e,n){var i=n("T016");function r(t){if(t){var e=[0,0,0],n=1,r=t.match(/^#([a-fA-F0-9]{3})$/i);if(r){r=r[1];for(var o=0;o0&&(u=t.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(t,e){return u(t,e,{intersect:!1})},point:function(t,e){return l(t,r(e,t))},nearest:function(t,e,n){var i=r(e,t);n.axis=n.axis||"xy";var o=s(n.axis),l=a(t,i,n.intersect,o);return l.length>1&&l.sort((function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n})),l.slice(0,1)},x:function(t,e,n){var i=r(e,t),l=[],a=!1;return o(t,(function(t){t.inXRange(i.x)&&l.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(l=[]),l},y:function(t,e,n){var i=r(e,t),l=[],a=!1;return o(t,(function(t){t.inYRange(i.y)&&l.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(l=[]),l}}}},mrSG:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return r})),n.d(e,"__assign",(function(){return o})),n.d(e,"__rest",(function(){return l})),n.d(e,"__decorate",(function(){return a})),n.d(e,"__param",(function(){return s})),n.d(e,"__metadata",(function(){return u})),n.d(e,"__awaiter",(function(){return c})),n.d(e,"__generator",(function(){return d})),n.d(e,"__exportStar",(function(){return h})),n.d(e,"__values",(function(){return p})),n.d(e,"__read",(function(){return f})),n.d(e,"__spread",(function(){return m})),n.d(e,"__await",(function(){return g})),n.d(e,"__asyncGenerator",(function(){return _})),n.d(e,"__asyncDelegator",(function(){return y})),n.d(e,"__asyncValues",(function(){return v})),n.d(e,"__makeTemplateObject",(function(){return b})),n.d(e,"__importStar",(function(){return w})),n.d(e,"__importDefault",(function(){return k}));var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=0;a--)(r=t[a])&&(l=(o<3?r(l):o>3?r(e,n,l):r(e,n))||l);return o>3&&l&&Object.defineProperty(e,n,l),l}function s(t,e){return function(n,i){e(n,i,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,i){return new(n||(n=Promise))((function(r,o){function l(t){try{s(i.next(t))}catch(e){o(e)}}function a(t){try{s(i.throw(t))}catch(e){o(e)}}function s(t){t.done?r(t.value):new n((function(e){e(t.value)})).then(l,a)}s((i=i.apply(t,e||[])).next())}))}function d(t,e){var n,i,r,o,l={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!(r=(r=l.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function f(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)l.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return l}function m(){for(var t=[],e=0;e1||a(t,e)}))})}function a(t,e){try{!function(t){t.value instanceof g?Promise.resolve(t.value.v).then(s,u):c(o[0][2],t)}(r[t](e))}catch(n){c(o[0][3],n)}}function s(t){a("next",t)}function u(t){a("throw",t)}function c(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function y(t){var e,n;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(n=!n)?{value:g(t[i](e)),done:"return"===i}:r?r(e):e}:r}}function v(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){!function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)}(i,r,(e=t[n](e)).done,e.value)}))}}}function b(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function w(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function k(t){return t&&t.__esModule?t:{default:t}}},nDWh:function(t,e,n){"use strict";var i=n("6ww4"),r=n("CDJp"),o=n("RDha");t.exports=function(t){function e(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function n(t){return null!=t&&"none"!==t}function l(t,i,r){var o=document.defaultView,l=t.parentNode,a=o.getComputedStyle(t)[i],s=o.getComputedStyle(l)[i],u=n(a),c=n(s),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(a,t,r):d,c?e(s,l,r):d):"none"}o.configMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,r){var l=n[e]||{},a=i[e];"scales"===e?n[e]=o.scaleMerge(l,a):"scale"===e?n[e]=o.merge(l,[t.scaleService.getScaleDefaults(a.type),a]):o._merger(e,n,i,r)}})},o.scaleMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,r){if("xAxes"===e||"yAxes"===e){var l,a,s,u=i[e].length;for(n[e]||(n[e]=[]),l=0;l=n[e].length&&n[e].push({}),o.merge(n[e][l],!n[e][l].type||s.type&&s.type!==n[e][l].type?[t.scaleService.getScaleDefaults(a),s]:s)}else o._merger(e,n,i,r)}})},o.where=function(t,e){if(o.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return o.each(t,(function(t){e(t)&&n.push(t)})),n},o.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,r=t.length;i=0;i--){var r=t[i];if(e(r))return r}},o.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},o.almostEquals=function(t,e,n){return Math.abs(t-e)t},o.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},o.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},o.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},o.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e},o.toRadians=function(t){return t*(Math.PI/180)},o.toDegrees=function(t){return t*(180/Math.PI)},o.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},o.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},o.aliasPixel=function(t){return t%2==0?0:.5},o.splineCurve=function(t,e,n,i){var r=t.skip?e:t,o=e,l=n.skip?e:n,a=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),s=Math.sqrt(Math.pow(l.x-o.x,2)+Math.pow(l.y-o.y,2)),u=a/(a+s),c=s/(a+s),d=i*(u=isNaN(u)?0:u),h=i*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(l.x-r.x),y:o.y-d*(l.y-r.y)},next:{x:o.x+h*(l.x-r.x),y:o.y+h*(l.y-r.y)}}},o.EPSILON=Number.EPSILON||1e-14,o.splineCurveMonotone=function(t){var e,n,i,r,l,a,s,u,c,d=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),h=d.length;for(e=0;e0?d[e-1]:null,(r=e0?d[e-1]:null)&&!n.model.skip&&(i.model.controlPointPreviousX=i.model.x-(c=(i.model.x-n.model.x)/3),i.model.controlPointPreviousY=i.model.y-c*i.mK),r&&!r.model.skip&&(i.model.controlPointNextX=i.model.x+(c=(r.model.x-i.model.x)/3),i.model.controlPointNextY=i.model.y+c*i.mK))},o.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},o.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},o.niceNum=function(t,e){var n=Math.floor(o.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},o.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},o.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,l=t.currentTarget||t.srcElement,a=l.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var u=parseFloat(o.getStyle(l,"padding-left")),c=parseFloat(o.getStyle(l,"padding-top")),d=parseFloat(o.getStyle(l,"padding-right")),h=parseFloat(o.getStyle(l,"padding-bottom")),p=a.bottom-a.top-c-h;return{x:n=Math.round((n-a.left-u)/(a.right-a.left-u-d)*l.width/e.currentDevicePixelRatio),y:i=Math.round((i-a.top-c)/p*l.height/e.currentDevicePixelRatio)}},o.getConstraintWidth=function(t){return l(t,"max-width","clientWidth")},o.getConstraintHeight=function(t){return l(t,"max-height","clientHeight")},o.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(o.getStyle(e,"padding-left"),10),i=parseInt(o.getStyle(e,"padding-right"),10),r=e.clientWidth-n-i,l=o.getConstraintWidth(t);return isNaN(l)?r:Math.min(r,l)},o.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(o.getStyle(e,"padding-top"),10),i=parseInt(o.getStyle(e,"padding-bottom"),10),r=e.clientHeight-n-i,l=o.getConstraintHeight(t);return isNaN(l)?r:Math.min(r,l)},o.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},o.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,o=t.width;i.height=r*n,i.width=o*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=o+"px")}},o.fontString=function(t,e,n){return e+" "+t+"px "+n},o.longestText=function(t,e,n,i){var r=(i=i||{}).data=i.data||{},l=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},l=i.garbageCollect=[],i.font=e),t.font=e;var a=0;o.each(n,(function(e){null!=e&&!0!==o.isArray(e)?a=o.measureText(t,r,l,a,e):o.isArray(e)&&o.each(e,(function(e){null==e||o.isArray(e)||(a=o.measureText(t,r,l,a,e))}))}));var s=l.length/2;if(s>n.length){for(var u=0;ui&&(i=o),i},o.numberOfLabelLines=function(t){var e=1;return o.each(t,(function(t){o.isArray(t)&&t.length>e&&(e=t.length)})),e},o.color=i?function(t){return t instanceof CanvasGradient&&(t=r.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},o.getHoverColor=function(t){return t instanceof CanvasPattern?t:o.color(t).saturate(.5).darken(.1).rgbString()}}},nyYc:function(t,e,n){!function(t){"use strict";t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n("wd/R"))},"p/rL":function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},paOr:function(t,e,n){"use strict";var i=n("RDha");t.exports=function(t){var e=i.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=i.sign(t.min),r=i.sign(t.max);n<0&&r<0?t.max=0:n>0&&r>0&&(t.min=0)}var o=void 0!==e.min||void 0!==e.suggestedMin,l=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(t.min=null===t.min?e.suggestedMin:Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(t.max=null===t.max?e.suggestedMax:Math.max(t.max,e.suggestedMax)),o!==l&&t.min>=t.max&&(o?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,stepSize:i.valueOrDefault(e.fixedStepSize,e.stepSize)},o=t.ticks=function(t,e){var n,r=[];if(t.stepSize&&t.stepSize>0)n=t.stepSize;else{var o=i.niceNum(e.max-e.min,!1);n=i.niceNum(o/(t.maxTicks-1),!0)}var l=Math.floor(e.min/n)*n,a=Math.ceil(e.max/n)*n;t.min&&t.max&&t.stepSize&&i.almostWhole((t.max-t.min)/t.stepSize,n/1e3)&&(l=t.min,a=t.max);var s=(a-l)/n;s=i.almostEquals(s,Math.round(s),n/1e3)?Math.round(s):Math.ceil(s);var u=1;n<1&&(u=Math.pow(10,n.toString().length-2),l=Math.round(l*u)/u,a=Math.round(a*u)/u),r.push(void 0!==t.min?t.min:l);for(var c=1;c
';var r=e.childNodes[0],o=e.childNodes[1];e._reset=function(){r.scrollLeft=1e6,r.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6};var l=function(){e._reset(),t()};return s(r,"scroll",l.bind(r,"expand")),s(o,"scroll",l.bind(o,"shrink")),e}((o=function(){if(d.resizer)return e(c("resize",n))},a=!1,u=[],function(){u=Array.prototype.slice.call(arguments),l=l||this,a||(a=!0,i.requestAnimFrame.call(window,(function(){a=!1,o.apply(l,u)})))}));!function(t,e){var n=t.$chartjs||(t.$chartjs={}),o=n.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&e()};i.each(r,(function(e){s(t,e,o)})),n.reflow=!!t.offsetParent,t.classList.add("chartjs-render-monitor")}(t,(function(){if(d.resizer){var e=t.parentNode;e&&e!==h.parentNode&&e.insertBefore(h,e.firstChild),h._reset()}}))}(l,n,t)},removeEventListener:function(t,e,n){var o,l,a,s=t.canvas;if("resize"!==e){var c=((n.$chartjs||{}).proxies||{})[t.id+"_"+e];c&&u(s,e,c)}else a=(l=(o=s).$chartjs||{}).resizer,delete l.resizer,function(t){var e=t.$chartjs||{},n=e.renderProxy;n&&(i.each(r,(function(e){u(t,e,n)})),delete e.renderProxy),t.classList.remove("chartjs-render-monitor")}(o),a&&a.parentNode&&a.parentNode.removeChild(a)}},i.addEvent=s,i.removeEvent=u},qzaf:function(t,e,n){"use strict";t.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i,r;return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+(i=+t,r={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}function n(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sp3z:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})}(n("wd/R"))},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(t,e,n){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tjFV:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),o=n("fELs");t.exports=function(t){t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=r.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?r.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=r.extend(this.defaults[t],e))},addScalesToLayout:function(t){r.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,o.addBox(t,e)}))}}}},u0Op:function(t,e,n){"use strict";var i=n("TC34"),r={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-r.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*r.easeInBounce(2*t):.5*r.easeOutBounce(2*t-1)+.5}};t.exports={effects:r},i.easingEffects=r},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uXwI:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},vpM6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),o=n("RDha");i._set("global",{plugins:{filler:{propagate:!0}}});var l={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e)&&i.dataset._children||[],o=r.length||0;return o?function(t,e){return e=n)&&i;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function s(t){var e,n=t.el._model||{},i=t.el._scale||{},r=t.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePosition?o=i.getBasePosition():i.getBasePixel&&(o=i.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if("number"==typeof o&&isFinite(o))return{x:(e=i.isHorizontal())?o:null,y:e?null:o}}return null}function u(t,e,n){var i,r=t[e].fill,o=[e];if(!n)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!isFinite(r))return r;if(!(i=t[r]))return!1;if(i.visible)return r;o.push(r),r=i.fill}return!1}function c(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),l[n](t))}function d(t){return t&&!t.skip}function h(t,e,n,i,r){var l;if(i&&r){for(t.moveTo(e[0].x,e[0].y),l=1;l0;--l)o.canvas.lineTo(t,n[l],n[l-1],!0)}}t.exports={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,o,l,d=(t.data.datasets||[]).length,h=e.propagate,p=[];for(i=0;i>>0,i=0;i0)for(n=0;n<_.length;n++)a(r=e[i=_[n]])||(t[i]=r);return t}var v=!1;function b(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,r.updateOffset(this),v=!1)}function w(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function k(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=k(e)),n}function M(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),l=0;for(i=0;i=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},B={};function W(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(B[t]=r),e&&(B[e[0]]=function(){return N(r.apply(this,arguments),e[1],e[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=q(e,t.localeData()),V[e]=V[e]||function(t){var e,n,i,r=t.match(H);for(e=0,n=r.length;e=0&&z.test(t);)t=t.replace(z,i),z.lastIndex=0,n-=1;return t}var K=/\d/,G=/\d\d/,J=/\d{3}/,Z=/\d{4}/,$=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,nt=/\d{1,4}/,it=/[+-]?\d{1,6}/,rt=/\d+/,ot=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ut={};function ct(t,e,n){ut[t]=O(e)?e:function(t,i){return t&&n?n:e}}function dt(t,e){return d(ut,t)?ut[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r}))))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={};function ft(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),s(e)&&(i=function(t,n){n[e]=x(t)}),n=0;n68?1900:2e3)};var Dt,Tt=Ot("FullYear",!0);function Ot(t,e){return function(n){return null!=n?(Et(this,t,n),r.updateOffset(this,e),this):Pt(this,t)}}function Pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Et(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Lt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),It(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function It(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?Lt(t)?29:28:31-n%7%2}Dt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0&&isFinite(a.getFullYear())&&a.setFullYear(t),a}function Wt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Ut(t,e,n){var i=7+e-n;return-(7+Wt(t,0,i).getUTCDay()-e)%7+i-1}function qt(t,e,n,i,r){var o,l,a=1+7*(e-1)+(7+n-i)%7+Ut(t,i,r);return a<=0?l=Ct(o=t-1)+a:a>Ct(t)?(o=t+1,l=a-Ct(t)):(o=t,l=a),{year:o,dayOfYear:l}}function Kt(t,e,n){var i,r,o=Ut(t.year(),e,n),l=Math.floor((t.dayOfYear()-o-1)/7)+1;return l<1?i=l+Gt(r=t.year()-1,e,n):l>Gt(t.year(),e,n)?(i=l-Gt(t.year(),e,n),r=t.year()+1):(r=t.year(),i=l),{week:i,year:r}}function Gt(t,e,n){var i=Ut(t,e,n),r=Ut(t+1,e,n);return(Ct(t)-i+r)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),F("week",5),F("isoWeek",5),ct("w",X),ct("ww",X,G),ct("W",X),ct("WW",X,G),mt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=x(t)})),W("d",0,"do","day"),W("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),W("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),W("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),ct("d",X),ct("e",X),ct("E",X),ct("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ct("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ct("dddd",(function(t,e){return e.weekdaysRegex(t)})),mt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:f(n).invalidWeekday=t})),mt(["d","e","E"],(function(t,e,n,i){e[i]=x(t)}));var Jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$t="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Xt(t,e,n){var i,r,o,l=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=Dt.call(this._weekdaysParse,l))?r:null:"ddd"===e?-1!==(r=Dt.call(this._shortWeekdaysParse,l))?r:null:-1!==(r=Dt.call(this._minWeekdaysParse,l))?r:null:"dddd"===e?-1!==(r=Dt.call(this._weekdaysParse,l))?r:-1!==(r=Dt.call(this._shortWeekdaysParse,l))?r:-1!==(r=Dt.call(this._minWeekdaysParse,l))?r:null:"ddd"===e?-1!==(r=Dt.call(this._shortWeekdaysParse,l))?r:-1!==(r=Dt.call(this._weekdaysParse,l))?r:-1!==(r=Dt.call(this._minWeekdaysParse,l))?r:null:-1!==(r=Dt.call(this._minWeekdaysParse,l))?r:-1!==(r=Dt.call(this._weekdaysParse,l))?r:-1!==(r=Dt.call(this._shortWeekdaysParse,l))?r:null}var Qt=st,te=st,ee=st;function ne(){function t(t,e){return e.length-t.length}var e,n,i,r,o,l=[],a=[],s=[],u=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),l.push(i),a.push(r),s.push(o),u.push(i),u.push(r),u.push(o);for(l.sort(t),a.sort(t),s.sort(t),u.sort(t),e=0;e<7;e++)a[e]=ht(a[e]),s[e]=ht(s[e]),u[e]=ht(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+l.join("|")+")","i")}function ie(){return this.hours()%12||12}function re(t,e){W(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function oe(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,ie),W("k",["kk",2],0,(function(){return this.hours()||24})),W("hmm",0,0,(function(){return""+ie.apply(this)+N(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+ie.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),re("a",!0),re("A",!1),Y("hour","h"),F("hour",13),ct("a",oe),ct("A",oe),ct("H",X),ct("h",X),ct("k",X),ct("HH",X,G),ct("hh",X,G),ct("kk",X,G),ct("hmm",Q),ct("hmmss",tt),ct("Hmm",Q),ct("Hmmss",tt),ft(["H","HH"],bt),ft(["k","kk"],(function(t,e,n){var i=x(t);e[bt]=24===i?0:i})),ft(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),ft(["h","hh"],(function(t,e,n){e[bt]=x(t),f(n).bigHour=!0})),ft("hmm",(function(t,e,n){var i=t.length-2;e[bt]=x(t.substr(0,i)),e[wt]=x(t.substr(i)),f(n).bigHour=!0})),ft("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[bt]=x(t.substr(0,i)),e[wt]=x(t.substr(i,2)),e[kt]=x(t.substr(r)),f(n).bigHour=!0})),ft("Hmm",(function(t,e,n){var i=t.length-2;e[bt]=x(t.substr(0,i)),e[wt]=x(t.substr(i))})),ft("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[bt]=x(t.substr(0,i)),e[wt]=x(t.substr(i,2)),e[kt]=x(t.substr(r))}));var le,ae=Ot("Hours",!0),se={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:At,monthsShort:Rt,week:{dow:0,doy:6},weekdays:Jt,weekdaysMin:$t,weekdaysShort:Zt,meridiemParse:/[ap]\.?m?\.?/i},ue={},ce={};function de(t){return t?t.toLowerCase().replace("_","-"):t}function he(e){var i=null;if(!ue[e]&&void 0!==t&&t&&t.exports)try{i=le._abbr,n("RnhZ")("./"+e),pe(i)}catch(r){}return ue[e]}function pe(t,e){var n;return t&&((n=a(e)?me(t):fe(t,e))?le=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),le._abbr}function fe(t,e){if(null!==e){var n,i=se;if(e.abbr=t,null!=ue[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ue[t]._config;else if(null!=e.parentLocale)if(null!=ue[e.parentLocale])i=ue[e.parentLocale]._config;else{if(null==(n=he(e.parentLocale)))return ce[e.parentLocale]||(ce[e.parentLocale]=[]),ce[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ue[t]=new E(P(i,e)),ce[t]&&ce[t].forEach((function(t){fe(t.name,t.config)})),pe(t),ue[t]}return delete ue[t],null}function me(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return le;if(!o(t)){if(e=he(t))return e;t=[t]}return function(t){for(var e,n,i,r,o=0;o0;){if(i=he(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&M(r,n,!0)>=e-1)break;e--}o++}return le}(t)}function ge(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[yt]<0||n[yt]>11?yt:n[vt]<1||n[vt]>It(n[_t],n[yt])?vt:n[bt]<0||n[bt]>24||24===n[bt]&&(0!==n[wt]||0!==n[kt]||0!==n[xt])?bt:n[wt]<0||n[wt]>59?wt:n[kt]<0||n[kt]>59?kt:n[xt]<0||n[xt]>999?xt:-1,f(t)._overflowDayOfYear&&(e<_t||e>vt)&&(e=vt),f(t)._overflowWeeks&&-1===e&&(e=Mt),f(t)._overflowWeekday&&-1===e&&(e=St),f(t).overflow=e),t}function _e(t,e,n){return null!=t?t:null!=e?e:n}function ye(t){var e,n,i,o,l,a=[];if(!t._d){for(i=function(t){var e=new Date(r.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[vt]&&null==t._a[yt]&&function(t){var e,n,i,r,o,l,a,s;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,l=4,n=_e(e.GG,t._a[_t],Kt(Ee(),1,4).year),i=_e(e.W,1),((r=_e(e.E,1))<1||r>7)&&(s=!0);else{o=t._locale._week.dow,l=t._locale._week.doy;var u=Kt(Ee(),o,l);n=_e(e.gg,t._a[_t],u.year),i=_e(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(s=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(s=!0)):r=o}i<1||i>Gt(n,o,l)?f(t)._overflowWeeks=!0:null!=s?f(t)._overflowWeekday=!0:(a=qt(n,i,r,o,l),t._a[_t]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(l=_e(t._a[_t],i[_t]),(t._dayOfYear>Ct(l)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),n=Wt(l,0,t._dayOfYear),t._a[yt]=n.getUTCMonth(),t._a[vt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[bt]&&0===t._a[wt]&&0===t._a[kt]&&0===t._a[xt]&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Wt:Bt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[bt]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(f(t).weekdayMismatch=!0)}}var ve=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,be=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,we=/Z|[+-]\d\d(?::?\d\d)?/,ke=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Me=/^\/?Date\((\-?\d+)/i;function Se(t){var e,n,i,r,o,l,a=t._i,s=ve.exec(a)||be.exec(a);if(s){for(f(t).iso=!0,e=0,n=ke.length;e0&&f(t).unusedInput.push(l),a=a.slice(a.indexOf(n)+n.length),u+=n.length),B[o]?(n?f(t).empty=!1:f(t).unusedTokens.push(o),gt(o,n,t)):t._strict&&!n&&f(t).unusedTokens.push(o);f(t).charsLeftOver=s-u,a.length>0&&f(t).unusedInput.push(a),t._a[bt]<=12&&!0===f(t).bigHour&&t._a[bt]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[bt]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[bt],t._meridiem),ye(t),ge(t)}else De(t);else Se(t)}function Oe(t){var e=t._i,n=t._f;return t._locale=t._locale||me(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),w(e)?new b(ge(e)):(u(e)?t._d=e:o(n)?function(t){var e,n,i,r,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:g()}));function Ae(t,e){var n,i;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ee();for(n=e[0],i=1;i(o=Gt(t,i,r))&&(e=o),sn.call(this,t,e,n,i,r))}function sn(t,e,n,i,r){var o=qt(t,e,n,i,r),l=Wt(o.year,0,o.dayOfYear);return this.year(l.getUTCFullYear()),this.month(l.getUTCMonth()),this.date(l.getUTCDate()),this}W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),ct("G",ot),ct("g",ot),ct("GG",X,G),ct("gg",X,G),ct("GGGG",nt,Z),ct("gggg",nt,Z),ct("GGGGG",it,$),ct("ggggg",it,$),mt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=x(t)})),mt(["gg","GG"],(function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)})),W("Q",0,"Qo","quarter"),Y("quarter","Q"),F("quarter",7),ct("Q",K),ft("Q",(function(t,e){e[yt]=3*(x(t)-1)})),W("D",["DD",2],"Do","date"),Y("date","D"),F("date",9),ct("D",X),ct("DD",X,G),ct("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),ft(["D","DD"],vt),ft("Do",(function(t,e){e[vt]=x(t.match(X)[0])}));var un=Ot("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),F("dayOfYear",4),ct("DDD",et),ct("DDDD",J),ft(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=x(t)})),W("m",["mm",2],0,"minute"),Y("minute","m"),F("minute",14),ct("m",X),ct("mm",X,G),ft(["m","mm"],wt);var cn=Ot("Minutes",!1);W("s",["ss",2],0,"second"),Y("second","s"),F("second",15),ct("s",X),ct("ss",X,G),ft(["s","ss"],kt);var dn,hn=Ot("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Y("millisecond","ms"),F("millisecond",16),ct("S",et,K),ct("SS",et,G),ct("SSS",et,J),dn="SSSS";dn.length<=9;dn+="S")ct(dn,rt);function pn(t,e){e[xt]=x(1e3*("0."+t))}for(dn="S";dn.length<=9;dn+="S")ft(dn,pn);var fn=Ot("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var mn=b.prototype;function gn(t){return t}mn.add=Qe,mn.calendar=function(t,e){var n=t||Ee(),i=Be(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",l=e&&(O(e[o])?e[o].call(this,n):e[o]);return this.format(l||this.localeData().calendar(o,this,Ee(n)))},mn.clone=function(){return new b(this)},mn.diff=function(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Be(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=A(e)){case"year":o=en(this,i)/12;break;case"month":o=en(this,i);break;case"quarter":o=en(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:k(o)},mn.endOf=function(t){return void 0===(t=A(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},mn.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},mn.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Ee(t).isValid())?Ge({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mn.fromNow=function(t){return this.from(Ee(),t)},mn.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Ee(t).isValid())?Ge({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mn.toNow=function(t){return this.to(Ee(),t)},mn.get=function(t){return O(this[t=A(t)])?this[t]():this},mn.invalidAt=function(){return f(this).overflow},mn.isAfter=function(t,e){var n=w(t)?t:Ee(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=A(a(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()9999?U(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},mn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},mn.toJSON=function(){return this.isValid()?this.toISOString():null},mn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},mn.unix=function(){return Math.floor(this.valueOf()/1e3)},mn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},mn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},mn.year=Tt,mn.isLeapYear=function(){return Lt(this.year())},mn.weekYear=function(t){return an.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},mn.isoWeekYear=function(t){return an.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},mn.quarter=mn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},mn.month=Nt,mn.daysInMonth=function(){return It(this.year(),this.month())},mn.week=mn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},mn.isoWeek=mn.isoWeeks=function(t){var e=Kt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},mn.weeksInYear=function(){var t=this.localeData()._week;return Gt(this.year(),t.dow,t.doy)},mn.isoWeeksInYear=function(){return Gt(this.year(),1,4)},mn.date=un,mn.day=mn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},mn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},mn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},mn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},mn.hour=mn.hours=ae,mn.minute=mn.minutes=cn,mn.second=mn.seconds=hn,mn.millisecond=mn.milliseconds=fn,mn.utcOffset=function(t,e,n){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ve(at,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=We(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!e||this._changeInProgress?Xe(this,Ge(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:We(this)},mn.utc=function(t){return this.utcOffset(0,t)},mn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(We(this),"m")),this},mn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ve(lt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},mn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ee(t).utcOffset():0,(this.utcOffset()-t)%60==0)},mn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mn.isLocal=function(){return!!this.isValid()&&!this._isUTC},mn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mn.isUtc=Ue,mn.isUTC=Ue,mn.zoneAbbr=function(){return this._isUTC?"UTC":""},mn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},mn.dates=C("dates accessor is deprecated. Use date instead.",un),mn.months=C("months accessor is deprecated. Use month instead",Nt),mn.years=C("years accessor is deprecated. Use year instead",Tt),mn.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),mn.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=Oe(t))._a){var e=t._isUTC?p(t._a):Ee(t._a);this._isDSTShifted=this.isValid()&&M(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var _n=E.prototype;function yn(t,e,n,i){var r=me(),o=p().set(i,e);return r[n](o,t)}function vn(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return yn(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=yn(t,i,n,"month");return r}function bn(t,e,n,i){"boolean"==typeof t?(s(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,s(e)&&(n=e,e=void 0),e=e||"");var r,o=me(),l=t?o._week.dow:0;if(null!=n)return yn(e,(n+l)%7,i,"day");var a=[];for(r=0;r<7;r++)a[r]=yn(e,(r+l)%7,i,"day");return a}_n.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return O(i)?i.call(e,n):i},_n.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])},_n.invalidDate=function(){return this._invalidDate},_n.ordinal=function(t){return this._ordinal.replace("%d",t)},_n.preparse=gn,_n.postformat=gn,_n.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return O(r)?r(t,e,n,i):r.replace(/%d/i,t)},_n.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return O(n)?n(e):n.replace(/%s/i,e)},_n.set=function(t){var e,n;for(n in t)O(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_n.months=function(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Yt).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone},_n.monthsShort=function(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Yt.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_n.monthsParse=function(t,e,n){var i,r,o;if(this._monthsParseExact)return jt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=p([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},_n.monthsRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||Vt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=zt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},_n.monthsShortRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||Vt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Ht),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},_n.week=function(t){return Kt(t,this._week.dow,this._week.doy).week},_n.firstDayOfYear=function(){return this._week.doy},_n.firstDayOfWeek=function(){return this._week.dow},_n.weekdays=function(t,e){return t?o(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},_n.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},_n.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},_n.weekdaysParse=function(t,e,n){var i,r,o;if(this._weekdaysParseExact)return Xt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=p([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},_n.weekdaysRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Qt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},_n.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=te),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_n.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ee),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_n.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},_n.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},pe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=C("moment.lang is deprecated. Use moment.locale instead.",pe),r.langData=C("moment.langData is deprecated. Use moment.localeData instead.",me);var wn=Math.abs;function kn(t,e,n,i){var r=Ge(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function xn(t){return t<0?Math.floor(t):Math.ceil(t)}function Mn(t){return 4800*t/146097}function Sn(t){return 146097*t/4800}function Cn(t){return function(){return this.as(t)}}var Ln=Cn("ms"),Dn=Cn("s"),Tn=Cn("m"),On=Cn("h"),Pn=Cn("d"),En=Cn("w"),In=Cn("M"),Yn=Cn("y");function An(t){return function(){return this.isValid()?this._data[t]:NaN}}var Rn=An("milliseconds"),jn=An("seconds"),Fn=An("minutes"),Nn=An("hours"),Hn=An("days"),zn=An("months"),Vn=An("years"),Bn=Math.round,Wn={ss:44,s:45,m:45,h:22,d:26,M:11};function Un(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var qn=Math.abs;function Kn(t){return(t>0)-(t<0)||+t}function Gn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=qn(this._milliseconds)/1e3,i=qn(this._days),r=qn(this._months);t=k(n/60),e=k(t/60),n%=60,t%=60;var o=k(r/12),l=r%=12,a=i,s=e,u=t,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",p=Kn(this._months)!==Kn(d)?"-":"",f=Kn(this._days)!==Kn(d)?"-":"",m=Kn(this._milliseconds)!==Kn(d)?"-":"";return h+"P"+(o?p+o+"Y":"")+(l?p+l+"M":"")+(a?f+a+"D":"")+(s||u||c?"T":"")+(s?m+s+"H":"")+(u?m+u+"M":"")+(c?m+c+"S":"")}var Jn=je.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var t=this._data;return this._milliseconds=wn(this._milliseconds),this._days=wn(this._days),this._months=wn(this._months),t.milliseconds=wn(t.milliseconds),t.seconds=wn(t.seconds),t.minutes=wn(t.minutes),t.hours=wn(t.hours),t.months=wn(t.months),t.years=wn(t.years),this},Jn.add=function(t,e){return kn(this,t,e,1)},Jn.subtract=function(t,e){return kn(this,t,e,-1)},Jn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=A(t))||"year"===t)return n=this._months+Mn(e=this._days+i/864e5),"month"===t?n:n/12;switch(e=this._days+Math.round(Sn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Jn.asMilliseconds=Ln,Jn.asSeconds=Dn,Jn.asMinutes=Tn,Jn.asHours=On,Jn.asDays=Pn,Jn.asWeeks=En,Jn.asMonths=In,Jn.asYears=Yn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN},Jn._bubble=function(){var t,e,n,i,r,o=this._milliseconds,l=this._days,a=this._months,s=this._data;return o>=0&&l>=0&&a>=0||o<=0&&l<=0&&a<=0||(o+=864e5*xn(Sn(a)+l),l=0,a=0),s.milliseconds=o%1e3,t=k(o/1e3),s.seconds=t%60,e=k(t/60),s.minutes=e%60,n=k(e/60),s.hours=n%24,l+=k(n/24),a+=r=k(Mn(l)),l-=xn(Sn(r)),i=k(a/12),a%=12,s.days=l,s.months=a,s.years=i,this},Jn.clone=function(){return Ge(this)},Jn.get=function(t){return t=A(t),this.isValid()?this[t+"s"]():NaN},Jn.milliseconds=Rn,Jn.seconds=jn,Jn.minutes=Fn,Jn.hours=Nn,Jn.days=Hn,Jn.weeks=function(){return k(this.days()/7)},Jn.months=zn,Jn.years=Vn,Jn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var i=Ge(t).abs(),r=Bn(i.as("s")),o=Bn(i.as("m")),l=Bn(i.as("h")),a=Bn(i.as("d")),s=Bn(i.as("M")),u=Bn(i.as("y")),c=r<=Wn.ss&&["s",r]||r0,c[4]=n,Un.apply(null,c)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Jn.toISOString=Gn,Jn.toString=Gn,Jn.toJSON=Gn,Jn.locale=nn,Jn.localeData=on,Jn.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gn),Jn.lang=rn,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ct("x",ot),ct("X",/[+-]?\d+(\.\d{1,3})?/),ft("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))})),ft("x",(function(t,e,n){n._d=new Date(x(t))})),r.version="2.22.2",e=Ee,r.fn=mn,r.min=function(){return Ae("isBefore",[].slice.call(arguments,0))},r.max=function(){return Ae("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(t){return Ee(1e3*t)},r.months=function(t,e){return vn(t,e,"months")},r.isDate=u,r.locale=pe,r.invalid=g,r.duration=Ge,r.isMoment=w,r.weekdays=function(t,e,n){return bn(t,e,n,"weekdays")},r.parseZone=function(){return Ee.apply(null,arguments).parseZone()},r.localeData=me,r.isDuration=Fe,r.monthsShort=function(t,e){return vn(t,e,"monthsShort")},r.weekdaysMin=function(t,e,n){return bn(t,e,n,"weekdaysMin")},r.defineLocale=fe,r.updateLocale=function(t,e){if(null!=e){var n,i,r=se;null!=(i=he(t))&&(r=i._config),(n=new E(e=P(r,e))).parentLocale=ue[t],ue[t]=n,pe(t)}else null!=ue[t]&&(null!=ue[t].parentLocale?ue[t]=ue[t].parentLocale:null!=ue[t]&&delete ue[t]);return ue[t]},r.locales=function(){return L(ue)},r.weekdaysShort=function(t,e,n){return bn(t,e,n,"weekdaysShort")},r.normalizeUnits=A,r.relativeTimeRounding=function(t){return void 0===t?Bn:"function"==typeof t&&(Bn=t,!0)},r.relativeTimeThreshold=function(t,e){return void 0!==Wn[t]&&(void 0===e?Wn[t]:(Wn[t]=e,"s"===t&&(Wn.ss=e-1),!0))},r.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=mn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n("YuTi")(t))},x6pH:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n("wd/R"))},x8uC:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),o=n("RDha");i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:o.noop,title:function(t,e){var n="",i=e.labels,r=i?i.length:0;if(t.length>0){var o=t[0];o.xLabel?n=o.xLabel:r>0&&o.indexi.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===s?o+=u:o-="bottom"===s?e.height+u:e.height/2,"center"===s?"left"===a?r+=u:"right"===a&&(r-=u):"left"===a?r-=c:"right"===a&&(r+=c),{x:r,y:o}}(f,v,_=function(t,e){var n,i,r,o,l,a=t._model,s=t._chart,u=t._chart.chartArea,c="center",d="center";a.ys.height-e.height&&(d="bottom");var h=(u.left+u.right)/2,p=(u.top+u.bottom)/2;"center"===d?(n=function(t){return t<=h},i=function(t){return t>h}):(n=function(t){return t<=e.width/2},i=function(t){return t>=s.width-e.width/2}),r=function(t){return t+e.width+a.caretSize+a.caretPadding>s.width},o=function(t){return t-e.width-a.caretSize-a.caretPadding<0},l=function(t){return t<=p?"top":"bottom"},n(a.x)?(c="left",r(a.x)&&(c="center",d=l(a.y))):i(a.x)&&(c="right",o(a.x)&&(c="center",d=l(a.y)));var f=t._options;return{xAlign:f.xAlign?f.xAlign:c,yAlign:f.yAlign?f.yAlign:d}}(this,v),d._chart)}else f.opacity=0;return f.xAlign=_.xAlign,f.yAlign=_.yAlign,f.x=y.x,f.y=y.y,f.width=v.width,f.height=v.height,f.caretX=b.x,f.caretY=b.y,d._model=f,e&&h.custom&&h.custom.call(d,f),d},drawCaret:function(t,e){var n=this._chart.ctx,i=this.getCaretPosition(t,e,this._view);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(t,e,n){var i,r,o,l,a,s,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,p=t.x,f=t.y,m=e.width,g=e.height;if("center"===h)a=f+g/2,"left"===d?(r=(i=p)-u,o=i,l=a+u,s=a-u):(r=(i=p+m)+u,o=i,l=a-u,s=a+u);else if("left"===d?(i=(r=p+c+u)-u,o=r+u):"right"===d?(i=(r=p+m-c-u)-u,o=r+u):(i=(r=n.caretX)-u,o=r+u),"top"===h)a=(l=f)-u,s=l;else{a=(l=f+g)+u,s=l;var _=o;o=i,i=_}return{x1:i,x2:r,x3:o,y1:l,y2:a,y3:s}},drawTitle:function(t,n,i,r){var l=n.title;if(l.length){i.textAlign=n._titleAlign,i.textBaseline="top";var a,s,u=n.titleFontSize,c=n.titleSpacing;for(i.fillStyle=e(n.titleFontColor,r),i.font=o.fontString(u,n._titleFontStyle,n._titleFontFamily),a=0,s=l.length;a0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length)&&(this.drawBackground(i,e,t,n,r),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,r),this.drawBody(i,e,t,r),this.drawFooter(i,e,t,r))}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],n._active="mouseout"===t.type?[]:n._chart.getElementsAtEventForMode(t,i.mode,i),(e=!o.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),t.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,n,i=0,r=0,o=0;for(e=0,n=t.length;e\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}s="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n-1}function T(t){return t.trim().split(/\s+/g)}function O(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;in[e]})):i.sort()),i}function I(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o1&&!n.firstMultiple?n.firstMultiple=nt(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,l=n.firstMultiple,s=l?l.center:o.center,u=e.center=it(i);e.timeStamp=f(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=at(s,u),e.distance=lt(s,u),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==H&&o.eventType!==V||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=ot(e.deltaX,e.deltaY);var c,d,h=rt(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=h.x,e.overallVelocityY=h.y,e.overallVelocity=p(h.x)>p(h.y)?h.x:h.y,e.scale=l?(c=l.pointers,lt((d=i)[0],d[1],Q)/lt(c[0],c[1],Q)):1,e.rotation=l?function(t,e){return at(e[1],e[0],Q)+at(t[1],t[0],Q)}(l.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,r,o,l=t.lastInterval||e,s=e.timeStamp-l.timeStamp;if(e.eventType!=B&&(s>N||l.velocity===a)){var u=e.deltaX-l.deltaX,c=e.deltaY-l.deltaY,d=rt(s,u,c);i=d.x,r=d.y,n=p(d.x)>p(d.y)?d.x:d.y,o=ot(u,c),t.lastInterval=e}else n=l.velocity,i=l.velocityX,r=l.velocityY,o=l.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}(n,e);var m=t.element;L(e.srcEvent.target,m)&&(m=e.srcEvent.target),e.target=m}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function nt(t){for(var e=[],n=0;n=p(e)?t<0?U:q:e<0?K:G}function lt(t,e,n){n||(n=X);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function at(t,e,n){return n||(n=X),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}tt.prototype={handler:function(){},init:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(A(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(A(this.element),this.evWin,this.domHandler)}};var st={mousedown:H,mousemove:z,mouseup:V},ut="mousedown",ct="mousemove mouseup";function dt(){this.evEl=ut,this.evWin=ct,this.pressed=!1,tt.apply(this,arguments)}w(dt,tt,{handler:function(t){var e=st[t.type];e&H&&0===t.button&&(this.pressed=!0),e&z&&1!==t.which&&(e=V),this.pressed&&(e&V&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var ht={pointerdown:H,pointermove:z,pointerup:V,pointercancel:B,pointerout:B},pt={2:"touch",3:"pen",4:"mouse",5:"kinect"},ft="pointerdown",mt="pointermove pointerup pointercancel";function gt(){this.evEl=ft,this.evWin=mt,tt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(ft="MSPointerDown",mt="MSPointerMove MSPointerUp MSPointerCancel"),w(gt,tt,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=ht[i],o=pt[t.pointerType]||t.pointerType,l="touch"==o,a=O(e,t.pointerId,"pointerId");r&H&&(0===t.button||l)?a<0&&(e.push(t),a=e.length-1):r&(V|B)&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(a,1))}});var _t={touchstart:H,touchmove:z,touchend:V,touchcancel:B},yt="touchstart",vt="touchstart touchmove touchend touchcancel";function bt(){this.evTarget=yt,this.evWin=vt,this.started=!1,tt.apply(this,arguments)}function wt(t,e){var n=P(t.touches),i=P(t.changedTouches);return e&(V|B)&&(n=E(n.concat(i),"identifier",!0)),[n,i]}w(bt,tt,{handler:function(t){var e=_t[t.type];if(e===H&&(this.started=!0),this.started){var n=wt.call(this,t,e);e&(V|B)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var kt={touchstart:H,touchmove:z,touchend:V,touchcancel:B},xt="touchstart touchmove touchend touchcancel";function Mt(){this.evTarget=xt,this.targetIds={},tt.apply(this,arguments)}function St(t,e){var n=P(t.touches),i=this.targetIds;if(e&(H|z)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,l=P(t.changedTouches),a=[],s=this.target;if(o=n.filter((function(t){return L(t.target,s)})),e===H)for(r=0;r-1&&i.splice(t,1)}),Ct)}}function Pt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n=Nt&&i(e.options.event+Bt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;te.threshold&&r&e.direction},attrTest:function(t){return qt.prototype.attrTest.call(this,t)&&(this.state&jt||!(this.state&jt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Wt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w(Gt,qt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&jt)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),w(Jt,Vt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distancee.time;if(this._input=t,!i||!n||t.eventType&(V|B)&&!r)this.reset();else if(t.eventType&H)this.reset(),this._timer=m((function(){this.state=Ht,this.tryEmit()}),e.time,this);else if(t.eventType&V)return Ht;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Ht&&(t&&t.eventType&V?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(Zt,qt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&jt)}}),w($t,qt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:J|Z,pointers:1},getTouchAction:function(){return Kt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(J|Z)?e=t.overallVelocity:n&J?e=t.overallVelocityX:n&Z&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&p(e)>this.options.velocity&&t.eventType&V},emit:function(t){var e=Wt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(Xt,Vt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,r){var o=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,o="";return n>0&&(o+=e[n]+"vatlh"),i>0&&(o+=(""!==o?" ":"")+e[i]+"maH"),r>0&&(o+=(""!==o?" ":"")+e[r]),""===o?"pagh":o}(t);switch(i){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},zUnb:function(t,e,n){"use strict";n.r(e);var i=n("mrSG"),r=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}();function o(t){return null!==t&&"object"==typeof t}function l(t){return"function"==typeof t}var a=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),s=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this._parentOrParents,i=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var c=0;c0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(j);function q(t){return t}function K(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),B(q,t)}function G(t,e){return e?z(t,e):new w(O(t))}function J(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof r&&(n=t.pop()),null===i&&1===t.length&&t[0]instanceof w?t[0]:K(n)(G(t,i))}function Z(){return function(t){return t.lift(new $(t))}}var $=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var i=new X(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r},t}(),X=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return i.__extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null},e}(m),Q=function(t){function e(e,n){var i=t.call(this)||this;return i.source=e,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return i.__extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s).add(this.source.subscribe(new et(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.EMPTY)),t},e.prototype.refCount=function(){return Z()(this)},e}(w),tt=function(){var t=Q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),et=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return i.__extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(S);function nt(){return new C}function it(){return function(t){return Z()((e=nt,function(t){var n;n="function"==typeof e?e:function(){return e};var i=Object.create(t,tt);return i.source=t,i.subjectFactory=n,i})(t));var e}}var rt="__parameters__";function ot(t,e,n){var r=function(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var o=[];for(var l in e)if(e.hasOwnProperty(l)){var a=e[l];o.push(l+":"+("string"==typeof a?JSON.stringify(a):mt(a)))}r="{"+o.join(", ")+"}"}return n+(i?"("+i+")":"")+"["+r+"]: "+t.replace(Dt,"\n ")}var Nt=function(){return function(){}}(),Ht=function(){return function(){}}();function zt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Vt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var Bt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),Wt=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Mt)}(),Ut="ngDebugContext",qt="ngOriginalError",Kt="ngErrorLogger";function Gt(t){return t[Ut]}function Jt(t){return t[qt]}function Zt(t){for(var e=[],n=1;n',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(i){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();he.hasOwnProperty(e)&&!se.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(be(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),ye=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ve=/([^\#-~ |!])/g;function be(t){return t.replace(/&/g,"&").replace(ye,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(ve,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}function we(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ke=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),xe=function(){return function(){}}(),Me=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Se=/^url\(([^)]+)\)$/,Ce=/([A-Z])/g;function Le(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}var De=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Te()},t}(),Te=function(){for(var t=[],e=0;e-1}(i,r.providedIn)||"root"===r.providedIn&&i._def.isRoot))){var c=t._providers.length;return t._def.providers[c]=t._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:c,token:e.token},t._providers[c]=Di,t._providers[c]=Yi(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{It(o)}}function Yi(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Ii(t,n[0]));case 2:return new e(Ii(t,n[0]),Ii(t,n[1]));case 3:return new e(Ii(t,n[0]),Ii(t,n[1]),Ii(t,n[2]));default:for(var o=new Array(r),l=0;l=n.length)&&(e=n.length-1),e<0)return null;var i=n[e];return i.viewContainerParent=null,Vt(n,e),Un.dirtyParentQueries(i),ji(i),i}function Ri(t,e,n){var i=e?si(e,e.def.lastRenderRootNode):t.renderElement,r=n.renderer.parentNode(i),o=n.renderer.nextSibling(i);_i(n,2,r,o,void 0)}function ji(t){_i(t,3,null,null,void 0)}var Fi=new Object;function Ni(t,e,n,i,r,o){return new Hi(t,e,n,i,r,o)}var Hi=function(t){function e(e,n,i,r,o,l){var a=t.call(this)||this;return a.selector=e,a.componentType=n,a._inputs=r,a._outputs=o,a.ngContentSelectors=l,a.viewDefFactory=i,a}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,i){if(!i)throw new Error("ngModule should be provided");var r=gi(this.viewDefFactory),o=r.nodes[0].element.componentProvider.nodeIndex,l=Un.createRootView(t,e||[],n,r,i,Fi),a=Vn(l,o).instance;return n&&l.renderer.setAttribute(zn(l,0).renderElement,"ng-version",mn.full),new zi(l,new Ui(l),a)},e}(Xe),zi=function(t){function e(e,n,i){var r=t.call(this)||this;return r._view=e,r._viewRef=n,r._component=i,r._elDef=r._view.def.nodes[0],r.hostView=n,r.changeDetectorRef=n,r.instance=i,r}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new an(zn(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}($e);function Vi(t,e,n){return new Bi(t,e,n)}var Bi=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new an(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=ai(t),t=t.parent;return t?new Ji(t,e):new Ji(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Ai(this._data,t);Un.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Ui(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i},t.prototype.createComponent=function(t,e,n,i,r){var o=n||this.parentInjector;r||t instanceof on||(r=o.get(Nt));var l=t.create(o,i,void 0,r);return this.insert(l.hostView,e),l},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,i,r,o,l=t;return o=(n=this._data).viewContainer._embeddedViews,null==(i=e)&&(i=o.length),(r=l._view).viewContainerParent=this._view,zt(o,i,r),function(t,e){var n=li(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(e),function(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}(e.parent.def,e.parentNodeDef)}}(n,r),Un.dirtyParentQueries(r),Ri(n,i>0?o[i-1]:null,r),l.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,i,r,o,l,a=this._embeddedViews.indexOf(t._view);return r=e,l=(o=(n=this._data).viewContainer._embeddedViews)[i=a],Vt(o,i),null==r&&(r=o.length),zt(o,r,l),Un.dirtyParentQueries(l),ji(l),Ri(n,r>0?o[r-1]:null,l),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ai(this._data,t);e&&Un.destroyView(e)},t.prototype.detach=function(t){var e=Ai(this._data,t);return e?new Ui(e):null},t}();function Wi(t){return new Ui(t)}var Ui=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return _i(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){ii(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Un.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Un.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Un.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ji(this._view),Un.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function qi(t,e){return new Ki(t,e)}var Ki=function(t){function e(e,n){var i=t.call(this)||this;return i._parentView=e,i._def=n,i}return Object(i.__extends)(e,t),e.prototype.createEmbeddedView=function(t){return new Ui(Un.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new an(zn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Pn);function Gi(t,e){return new Ji(t,e)}var Ji=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Ee.THROW_IF_NOT_FOUND),Un.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Gn(t)},e)},t}();function Zi(t,e){var n=t.def.nodes[e];if(1&n.flags){var i=zn(t,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return Hn(t,n.nodeIndex).renderText;if(20240&n.flags)return Vn(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function $i(t){return new Xi(t.renderer)}var Xi=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Object(i.__read)(xi(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var i=0;i0,r=e.provider;switch(201347067&e.flags){case 512:return yr(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,o){var l=o.length;switch(l){case 0:return r();case 1:return r(br(t,e,n,o[0]));case 2:return r(br(t,e,n,o[0]),br(t,e,n,o[1]));case 3:return r(br(t,e,n,o[0]),br(t,e,n,o[1]),br(t,e,n,o[2]));default:for(var a=Array(l),s=0;s0&&(r=setTimeout((function(){i._callbacks=i._callbacks.filter((function(t){return t.timeoutId!==r})),t(i._didWork,i.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),bo=function(){function t(){this._applications=new Map,wo.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),wo.findTestabilityInTree(this,t,e)},t}(),wo=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),ko=new St("AllowMultipleToken"),xo=function(){return function(t,e){this.name=t,this.token=e}}();function Mo(t,e,n){void 0===n&&(n=[]);var i="Platform: "+e,r=new St(i);return function(e){void 0===e&&(e=[]);var o=So();if(!o||o.injector.get(ko,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var l=n.concat(e).concat({provide:r,useValue:!0});!function(t){if(_o&&!_o.destroyed&&!_o.injector.get(ko,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");_o=t.get(Co);var e=t.get(Vr,null);e&&e.forEach((function(t){return t()}))}(Ee.create({providers:l,name:i}))}return function(t){var e=So();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function So(){return _o&&!_o.destroyed?_o:null}var Co=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,i=this,r="noop"===(n=e?e.ngZone:void 0)?new yo:("zone.js"===n?void 0:n)||new co({enableLongStackTrace:te()}),o=[{provide:co,useValue:r}];return r.run((function(){var e=Ee.create({providers:o,parent:i.injector,name:t.moduleType.name}),n=t.create(e),l=n.injector.get($t,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Kr&&Ir(n.injector.get(qr,Er)||Er),n.onDestroy((function(){return To(i._modules,n)})),r.runOutsideAngular((function(){return r.onError.subscribe({next:function(t){l.handleError(t)}})})),function(t,e,r){try{var o=((l=n.injector.get(Fr)).runInitializers(),l.donePromise.then((function(){return i._moduleDoBootstrap(n),n})));return Ge(o)?o.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):o}catch(a){throw e.runOutsideAngular((function(){return t.handleError(a)})),a}var l}(l,r)}))},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var i=Lo({},e);return function(t,e,n){return t.get(no).createCompiler([e]).compileModuleAsync(n)}(this.injector,i,t).then((function(t){return n.bootstrapModuleFactory(t,i)}))},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Do);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+mt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function Lo(t,e){return Array.isArray(e)?e.reduce(Lo,t):Object(i.__assign)({},t,e)}var Do=function(){function t(t,e,n,i,r,o){var l=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=te(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run((function(){l.tick()}))}});var a=new w((function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular((function(){t.next(l._stable),t.complete()}))})),s=new w((function(t){var e;l._zone.runOutsideAngular((function(){e=l._zone.onStable.subscribe((function(){co.assertNotInAngularZone(),uo((function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))}))}))}));var n=l._zone.onUnstable.subscribe((function(){co.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=J(a,s.pipe(it()))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Xe?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n instanceof on?null:this._injector.get(Nt),o=n.create(Ee.NULL,[],e||n.selector,r);o.onDestroy((function(){i._unloadComponent(o)}));var l=o.injector.get(vo,null);return l&&o.injector.get(bo).registerApplication(o.location.nativeElement,l),this._loadComponent(o),te()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t,n,r,o,l=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=e._tickScope();try{this._runningTick=!0;try{for(var s=Object(i.__values)(this._views),u=s.next();!u.done;u=s.next())u.value.detectChanges()}catch(h){t={error:h}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}if(this._enforceNoNewChanges)try{for(var c=Object(i.__values)(this._views),d=c.next();!d.done;d=c.next())d.value.checkNoChanges()}catch(p){r={error:p}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}}catch(f){this._zone.runOutsideAngular((function(){return l._exceptionHandler.handleError(f)}))}finally{this._runningTick=!1,ao(a)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;To(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Wr,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),To(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(t){return t.destroy()}))},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=lo("ApplicationRef#tick()"),t}();function To(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Oo=function(){return function(){}}(),Po=function(){return function(){}}(),Eo={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Io=function(){function t(t,e){this._compiler=t,this._config=e||Eo}return t.prototype.load=function(t){return!Kr&&this._compiler instanceof eo?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=Object(i.__read)(t.split("#"),2),o=r[0],l=r[1];return void 0===l&&(l="default"),n("crnd")(o).then((function(t){return t[l]})).then((function(t){return Yo(t,o,l)})).then((function(t){return e._compiler.compileModuleAsync(t)}))},t.prototype.loadFactory=function(t){var e=Object(i.__read)(t.split("#"),2),r=e[0],o=e[1],l="NgFactory";return void 0===o&&(o="default",l=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(t){return t[o+l]})).then((function(t){return Yo(t,r,o)}))},t}();function Yo(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Ao=function(){return function(t,e){this.name=t,this.callback=e}}(),Ro=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof jo&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),jo=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=e,r}return Object(i.__extends)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,Object(i.__spread)([o+1,0],e)),e.forEach((function(e){e.parent&&e.parent.removeChild(e),t.parent=r})))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,i){e.childNodes.forEach((function(e){e instanceof jo&&(n(e)&&i.push(e),t(e,n,i))}))}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,i){e instanceof jo&&e.childNodes.forEach((function(e){n(e)&&i.push(e),e instanceof jo&&t(e,n,i)}))}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter((function(t){return t instanceof e}))},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach((function(n){n.name==t&&n.callback(e)}))},e}(Ro),Fo=new Map,No=function(t){return Fo.get(t)||null};function Ho(t){Fo.set(t.nativeNode,t)}var zo=Mo(null,"core",[{provide:Br,useValue:"unknown"},{provide:Co,deps:[Ee]},{provide:bo,deps:[]},{provide:Ur,deps:[]}]);function Vo(){return Tn}function Bo(){return On}function Wo(t){return t?(Kr&&Ir(t),t):Er}function Uo(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}var qo=function(){return function(t){}}();function Ko(t,e,n,i,r,o){t|=1;var l=hi(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l.matchedQueries,matchedQueryIds:l.matchedQueryIds,references:l.references,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?gi(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||qn},provider:null,text:null,query:null,ngContent:null}}function Go(t,e,n,r,o,l,a,s,u,c,d,h){var p;void 0===a&&(a=[]),c||(c=qn);var f=hi(n),m=f.matchedQueries,g=f.references,_=f.matchedQueryIds,y=null,v=null;l&&(y=(p=Object(i.__read)(xi(l),2))[0],v=p[1]),s=s||[];for(var b=new Array(s.length),w=0;w0)u=m,fl(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var y=u.parent;y&&(y.childFlags|=u.childFlags,y.childMatchedQueries|=u.childMatchedQueries),c=(u=y)&&fl(u)?u.renderParent:u}}return{factory:null,nodeFlags:l,rootNodeFlags:a,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||qn,updateRenderer:i||qn,handleEvent:function(t,n,i,r){return e[n].element.handleEvent(t,i,r)},bindingCount:r,outputCount:o,lastRenderRootNode:p}}function fl(t){return 0!=(1&t.flags)&&null===t.element.name}function ml(t,e,n){var i=e.element&&e.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var r=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=r&&e.nodeIndex+e.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function gl(t,e,n,i){var r=vl(t.root,t.renderer,t,e,n);return bl(r,t.component,i),wl(r),r}function _l(t,e,n){var i=vl(t,t.renderer,null,null,e);return bl(i,n,n),wl(i),i}function yl(t,e,n,i){var r,o=e.element.componentRendererType;return r=o?t.root.rendererFactory.createRenderer(i,o):t.root.renderer,vl(t.root,r,t,e.element.componentProvider,n)}function vl(t,e,n,i,r){var o=new Array(r.nodes.length),l=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:l,initIndex:-1}}function bl(t,e,n){t.component=e,t.context=n}function wl(t){var e;ui(t)&&(e=zn(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,i=t.nodes,r=0;r0&&Xo(t,e,0,n)&&(p=!0),h>1&&Xo(t,e,1,i)&&(p=!0),h>2&&Xo(t,e,2,r)&&(p=!0),h>3&&Xo(t,e,3,o)&&(p=!0),h>4&&Xo(t,e,4,l)&&(p=!0),h>5&&Xo(t,e,5,a)&&(p=!0),h>6&&Xo(t,e,6,s)&&(p=!0),h>7&&Xo(t,e,7,u)&&(p=!0),h>8&&Xo(t,e,8,c)&&(p=!0),h>9&&Xo(t,e,9,d)&&(p=!0),p}(t,e,n,i,r,o,l,a,s,u,c,d);case 2:return function(t,e,n,i,r,o,l,a,s,u,c,d){var h=!1,p=e.bindings,f=p.length;if(f>0&&ei(t,e,0,n)&&(h=!0),f>1&&ei(t,e,1,i)&&(h=!0),f>2&&ei(t,e,2,r)&&(h=!0),f>3&&ei(t,e,3,o)&&(h=!0),f>4&&ei(t,e,4,l)&&(h=!0),f>5&&ei(t,e,5,a)&&(h=!0),f>6&&ei(t,e,6,s)&&(h=!0),f>7&&ei(t,e,7,u)&&(h=!0),f>8&&ei(t,e,8,c)&&(h=!0),f>9&&ei(t,e,9,d)&&(h=!0),h){var m=e.text.prefix;f>0&&(m+=hl(n,p[0])),f>1&&(m+=hl(i,p[1])),f>2&&(m+=hl(r,p[2])),f>3&&(m+=hl(o,p[3])),f>4&&(m+=hl(l,p[4])),f>5&&(m+=hl(a,p[5])),f>6&&(m+=hl(s,p[6])),f>7&&(m+=hl(u,p[7])),f>8&&(m+=hl(c,p[8])),f>9&&(m+=hl(d,p[9]));var g=Hn(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return h}(t,e,n,i,r,o,l,a,s,u,c,d);case 16384:return function(t,e,n,i,r,o,l,a,s,u,c,d){var h=Vn(t,e.nodeIndex),p=h.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&ti(t,e,0,n)&&(f=!0,m=kr(t,h,e,0,n,m)),g>1&&ti(t,e,1,i)&&(f=!0,m=kr(t,h,e,1,i,m)),g>2&&ti(t,e,2,r)&&(f=!0,m=kr(t,h,e,2,r,m)),g>3&&ti(t,e,3,o)&&(f=!0,m=kr(t,h,e,3,o,m)),g>4&&ti(t,e,4,l)&&(f=!0,m=kr(t,h,e,4,l,m)),g>5&&ti(t,e,5,a)&&(f=!0,m=kr(t,h,e,5,a,m)),g>6&&ti(t,e,6,s)&&(f=!0,m=kr(t,h,e,6,s,m)),g>7&&ti(t,e,7,u)&&(f=!0,m=kr(t,h,e,7,u,m)),g>8&&ti(t,e,8,c)&&(f=!0,m=kr(t,h,e,8,c,m)),g>9&&ti(t,e,9,d)&&(f=!0,m=kr(t,h,e,9,d,m)),m&&p.ngOnChanges(m),65536&e.flags&&Nn(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),f}(t,e,n,i,r,o,l,a,s,u,c,d);case 32:case 64:case 128:return function(t,e,n,i,r,o,l,a,s,u,c,d){var h=e.bindings,p=!1,f=h.length;if(f>0&&ei(t,e,0,n)&&(p=!0),f>1&&ei(t,e,1,i)&&(p=!0),f>2&&ei(t,e,2,r)&&(p=!0),f>3&&ei(t,e,3,o)&&(p=!0),f>4&&ei(t,e,4,l)&&(p=!0),f>5&&ei(t,e,5,a)&&(p=!0),f>6&&ei(t,e,6,s)&&(p=!0),f>7&&ei(t,e,7,u)&&(p=!0),f>8&&ei(t,e,8,c)&&(p=!0),f>9&&ei(t,e,9,d)&&(p=!0),p){var m=Bn(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(h.length),f>0&&(g[0]=n),f>1&&(g[1]=i),f>2&&(g[2]=r),f>3&&(g[3]=o),f>4&&(g[4]=l),f>5&&(g[5]=a),f>6&&(g[6]=s),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[h[0].name]=n),f>1&&(g[h[1].name]=i),f>2&&(g[h[2].name]=r),f>3&&(g[h[3].name]=o),f>4&&(g[h[4].name]=l),f>5&&(g[h[5].name]=a),f>6&&(g[h[6].name]=s),f>7&&(g[h[7].name]=u),f>8&&(g[h[8].name]=c),f>9&&(g[h[9].name]=d);break;case 128:var _=n;switch(f){case 1:g=_.transform(n);break;case 2:g=_.transform(i);break;case 3:g=_.transform(i,r);break;case 4:g=_.transform(i,r,o);break;case 5:g=_.transform(i,r,o,l);break;case 6:g=_.transform(i,r,o,l,a);break;case 7:g=_.transform(i,r,o,l,a,s);break;case 8:g=_.transform(i,r,o,l,a,s,u);break;case 9:g=_.transform(i,r,o,l,a,s,u,c);break;case 10:g=_.transform(i,r,o,l,a,s,u,c,d)}}m.value=g}return p}(t,e,n,i,r,o,l,a,s,u,c,d);default:throw"unreachable"}}(t,e,r,o,l,a,s,u,c,d,h,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var i=!1,r=0;r0&&ni(t,e,0,n),h>1&&ni(t,e,1,i),h>2&&ni(t,e,2,r),h>3&&ni(t,e,3,o),h>4&&ni(t,e,4,l),h>5&&ni(t,e,5,a),h>6&&ni(t,e,6,s),h>7&&ni(t,e,7,u),h>8&&ni(t,e,8,c),h>9&&ni(t,e,9,d)}(t,e,i,r,o,l,a,s,u,c,d,h):function(t,e,n){for(var i=0;i0){var o=new Set(t.modules);Bl.forEach((function(e,i){if(o.has(pt(i).providedIn)){var r={token:i,flags:e.flags|(n?4096:0),deps:pi(e.deps),value:e.value,index:t.providers.length};t.providers.push(r),t.providersByKey[Gn(i)]=r}}))}}(t=t.factory((function(){return qn}))),t):t}(i))}var Vl=new Map,Bl=new Map,Wl=new Map;function Ul(t){var e;Vl.set(t.token,t),"function"==typeof t.token&&(e=pt(t.token))&&"function"==typeof e.providedIn&&Bl.set(t.token,t)}function ql(t,e){var n=gi(e.viewDefFactory),i=gi(n.nodes[0].element.componentView);Wl.set(t,i)}function Kl(){Vl.clear(),Bl.clear(),Wl.clear()}function Gl(t){if(0===Vl.size)return t;var e=function(t){for(var e=[],n=null,i=0;i0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Oa.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Oa.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Oa.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Da),Ia=function(t){function e(e,n){var i=t.call(this)||this;if(i._platformLocation=e,null==n&&(n=i._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=n,i}return Object(i.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return Oa.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Oa.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Oa.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Oa.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Da),Ya=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Aa=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),Ra=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),ja=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),Fa=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function Na(t,e){return Wa(Pr(t)[Dr.DateFormat],e)}function Ha(t,e){return Wa(Pr(t)[Dr.TimeFormat],e)}function za(t,e){return Wa(Pr(t)[Dr.DateTimeFormat],e)}function Va(t,e){var n=Pr(t),i=n[Dr.NumberSymbols][e];if(void 0===i){if(e===Fa.CurrencyDecimal)return n[Dr.NumberSymbols][Fa.Decimal];if(e===Fa.CurrencyGroup)return n[Dr.NumberSymbols][Fa.Group]}return i}function Ba(t){if(!t[Dr.ExtraData])throw new Error('Missing extra locale data for the locale "'+t[Dr.LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function Wa(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function Ua(t){var e=Object(i.__read)(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var qa=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ka={},Ga=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{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]*)/,Ja=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),Za=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),$a=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function Xa(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function Qa(t,e,n,i,r){void 0===n&&(n="-");var o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=n));for(var l=String(t);l.length0||s>-n)&&(s+=n),t===Za.Hours)0===s&&-12===n&&(s=12);else if(t===Za.FractionalSeconds)return a=e,Qa(s,3).substr(0,a);var u=Va(l,Fa.MinusSign);return Qa(s,e,u,i,r)}}function es(t,e,n,i){return void 0===n&&(n=Aa.Format),void 0===i&&(i=!1),function(r,o){return function(t,e,n,i,r,o){switch(n){case $a.Months:return function(t,e,n){var i=Pr(t),r=Wa([i[Dr.MonthsFormat],i[Dr.MonthsStandalone]],e);return Wa(r,n)}(e,r,i)[t.getMonth()];case $a.Days:return function(t,e,n){var i=Pr(t),r=Wa([i[Dr.DaysFormat],i[Dr.DaysStandalone]],e);return Wa(r,n)}(e,r,i)[t.getDay()];case $a.DayPeriods:var l=t.getHours(),a=t.getMinutes();if(o){var s,u=function(t){var e=Pr(t);return Ba(e),(e[Dr.ExtraData][2]||[]).map((function(t){return"string"==typeof t?Ua(t):[Ua(t[0]),Ua(t[1])]}))}(e),c=function(t,e,n){var i=Pr(t);Ba(i);var r=Wa([i[Dr.ExtraData][0],i[Dr.ExtraData][1]],e)||[];return Wa(r,n)||[]}(e,r,i);if(u.forEach((function(t,e){if(Array.isArray(t)){var n=t[0],i=t[1],r=i.hours;l>=n.hours&&a>=n.minutes&&(l0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Ja.Short:return(r>=0?"+":"")+Qa(l,2,o)+Qa(Math.abs(r%60),2,o);case Ja.ShortGMT:return"GMT"+(r>=0?"+":"")+Qa(l,1,o);case Ja.Long:return"GMT"+(r>=0?"+":"")+Qa(l,2,o)+":"+Qa(Math.abs(r%60),2,o);case Ja.Extended:return 0===i?"Z":(r>=0?"+":"")+Qa(l,2,o)+":"+Qa(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}var is=0,rs=4;function os(t,e){return void 0===e&&(e=!1),function(n,i){var r,o,l,a;if(e){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();r=1+Math.floor((u+s)/7)}else{var c=(l=n.getFullYear(),a=new Date(l,is,1).getDay(),new Date(l,0,1+(a<=rs?rs:rs+7)-a)),d=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(rs-o.getDay()))).getTime()-c.getTime();r=1+Math.round(d/6048e5)}return Qa(r,t,Va(i,Fa.MinusSign))}}var ls={};function as(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function ss(t){return t instanceof Date&&!isNaN(t.valueOf())}var us=new St("UseV4Plurals"),cs=function(){return function(){}}(),ds=function(t){function e(e,n){var i=t.call(this)||this;return i.locale=e,i.deprecatedPluralFn=n,i}return Object(i.__extends)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return Pr(t)[Dr.PluralCase]}(e||this.locale)(t)){case Ya.Zero:return"zero";case Ya.One:return"one";case Ya.Two:return"two";case Ya.Few:return"few";case Ya.Many:return"many";default:return"other"}},e}(cs);function hs(t,e){var n,r;e=encodeURIComponent(e);try{for(var o=Object(i.__values)(t.split(";")),l=o.next();!l.done;l=o.next()){var a=l.value,s=a.indexOf("="),u=Object(i.__read)(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),c=u[1];if(u[0].trim()===e)return decodeURIComponent(c)}}catch(d){n={error:d}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}var ps=function(){return function(){}}(),fs=function(){function t(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._initialClasses=[]}return t.prototype.getValue=function(){return null},t.prototype.setClass=function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},t.prototype.setNgClass=function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(qe(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},t.prototype.applyChanges=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){t.previousValue&&e._toggleClass(t.key,!1)}))},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem((function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+mt(t.item));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!0)})):Object.keys(t).forEach((function(n){return e._toggleClass(n,!!t[n])})))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!1)})):Object.keys(t).forEach((function(t){return e._toggleClass(t,!1)})))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach((function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)}))},t}(),ms=function(t){function e(e){return t.call(this,e)||this}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"klass",{set:function(t){this._delegate.setClass(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(t){this._delegate.setNgClass(t)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(function(){function t(t){this._delegate=t}return t.prototype.getValue=function(){return this._delegate.getValue()},t.ngDirectiveDef=void 0,t}()),gs=function(){function t(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),_s=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){te()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation((function(t,i,r){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new gs(null,e._ngForOf,-1,-1),null===r?void 0:r),l=new ys(t,o);n.push(l)}else null==r?e._viewContainer.remove(null===i?void 0:i):null!==i&&(o=e._viewContainer.get(i),e._viewContainer.move(o,r),l=new ys(t,o),n.push(l))}));for(var i=0;i0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r=2;return function(i){return i.pipe(t?$s((function(e,n){return t(e,n,i)})):q,eu(1),n?su(e):ru((function(){return new Vs})))}}function hu(t){return function(e){var n=new pu(t),i=e.lift(n);return n.caught=i}}var pu=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new fu(t,this.selector,this.caught))},t}(),fu=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.selector=n,r.caught=i,r}return i.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(r){return void t.prototype.error.call(this,r)}this._unsubscribeAndRecycle();var i=new T(this,void 0,void 0);this.add(i),R(this,n,void 0,void 0,i)}},e}(j);function mu(t){return function(e){return 0===t?Gs():e.lift(new gu(t))}}var gu=function(){function t(t){if(this.total=t,this.total<0)throw new tu}return t.prototype.call=function(t,e){return e.subscribe(new _u(t,this.total))},t}(),_u=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.count=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(m);function yu(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?$s((function(e,n){return t(e,n,i)})):q,mu(1),n?su(e):ru((function(){return new Vs})))}}var vu=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new bu(t,this.predicate,this.thisArg,this.source))},t}(),bu=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=i,o.source=r,o.index=0,o.thisArg=i||o,o}return i.__extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(m);function wu(t,e){return"function"==typeof e?function(n){return n.pipe(wu((function(n,i){return V(t(n,i)).pipe(F((function(t,r){return e(n,t,i,r)})))})))}:function(e){return e.lift(new ku(t))}}var ku=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new xu(t,this.project))},t}(),xu=function(t){function e(e,n){var i=t.call(this,e)||this;return i.project=n,i.index=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new T(this,void 0,void 0);this.destination.add(r),this.innerSubscription=R(this,t,e,n,r)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e}(j);function Mu(){for(var t=[],e=0;e=2&&(n=!0),function(i){return i.lift(new Lu(t,e,n))}}var Lu=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Du(t,this.accumulator,this.seed,this.hasSeed))},t}(),Du=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=i,o.hasSeed=r,o.index=0,o}return i.__extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)},e}(m);function Tu(t,e){return B(t,e,1)}function Ou(t,e){return arguments.length>=2?function(n){return v(Cu(t,e),eu(1),su(e))(n)}:function(e){return v(Cu((function(e,n,i){return t(e,n,i+1)})),eu(1))(e)}}function Pu(t,e,n){return function(i){return i.lift(new Eu(t,e,n))}}var Eu=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new Iu(t,this.nextOrObserver,this.error,this.complete))},t}(),Iu=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o._tapNext=y,o._tapError=y,o._tapComplete=y,o._tapError=i||y,o._tapComplete=r||y,l(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||y,o._tapError=n.error||y,o._tapComplete=n.complete||y),o}return i.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(m);function Yu(t){return function(e){return e.lift(new Au(t))}}var Au=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Ru(t,this.callback))},t}(),Ru=function(t){function e(e,n){var i=t.call(this,e)||this;return i.add(new s(n)),i}return i.__extends(e,t),e}(m),ju=null;function Fu(){return ju}var Nu,Hu=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var i=["Webkit","Moz","O","ms"],r=0;r0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,i=0;i0;l||(l=t[o]=[]);var s=Mc(e)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:r});else{for(var u=!1,c=0;c-1},e}(ic),Ec=["alt","control","meta","shift"],Ic={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Yc=function(t){function e(e){return t.call(this,e)||this}var n;return Object(i.__extends)(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,i){var r=n.parseEventName(e),o=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Fu().onAndCancel(t,r.domEventName,o)}))},e.parseEventName=function(t){var e=t.toLowerCase().split("."),i=e.shift();if(0===e.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(e.pop()),o="";if(Ec.forEach((function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")})),o+=r,0!=e.length||0===r.length)return null;var l={};return l.domEventName=i,l.fullKey=o,l},e.getEventFullKey=function(t){var e="",n=Fu().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Ec.forEach((function(i){i!=n&&(0,Ic[i])(t)&&(e+=i+".")})),e+=n},e.eventCallback=function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded((function(){return e(r)}))}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(ic),Ac=function(){return function(){}}(),Rc=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(i.__extends)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case ke.NONE:return e;case ke.HTML:return e instanceof Fc?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{ae=ae||new ee(t);var i=e?String(e):"";n=ae.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=ae.getInertBodyElement(i)}while(i!==o);var l=new _e,a=l.sanitizeChildren(we(n)||n);return te()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var s=we(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case ke.STYLE:return e instanceof Nc?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(Se);return e&&re(e[1])===e[1]||t.match(Me)&&function(t){for(var e=!0,n=!0,i=0;it.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length0?t[t.length-1]:null}function Md(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Sd(t){return Je(t)?t:Ge(t)?V(Promise.resolve(t)):Hs(t)}function Cd(t,e,n){return n?function(t,e){return wd(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Od(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return e[n]===t[n]}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,r){if(n.segments.length>r.length)return!!Od(l=n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Od(n.segments,r))return!1;for(var o in i.children){if(!n.children[o])return!1;if(!t(n.children[o],i.children[o]))return!1}return!0}var l=r.slice(0,n.segments.length),a=r.slice(n.segments.length);return!!Od(n.segments,l)&&!!n.children[cd]&&e(n.children[cd],i,a)}(e,n,n.segments)}(t.root,e.root)}var Ld=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=hd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Yd.serialize(this)},t}(),Dd=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Md(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Ad(this)},t}(),Td=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=hd(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return zd(this)},t}();function Od(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function Pd(t,e){var n=[];return Md(t.children,(function(t,i){i===cd&&(n=n.concat(e(t,i)))})),Md(t.children,(function(t,i){i!==cd&&(n=n.concat(e(t,i)))})),n}var Ed=function(){return function(){}}(),Id=function(){function t(){}return t.prototype.parse=function(t){var e=new qd(t);return new Ld(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Ad(e);if(n){var i=e.children[cd]?t(e.children[cd],!1):"",r=[];return Md(e.children,(function(e,n){n!==cd&&r.push(n+":"+t(e,!1))})),r.length>0?i+"("+r.join("//")+")":i}var o=Pd(e,(function(n,i){return i===cd?[t(e.children[cd],!1)]:[i+":"+t(n,!1)]}));return Ad(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map((function(t){var n=e[t];return Array.isArray(n)?n.map((function(e){return jd(t)+"="+jd(e)})).join("&"):jd(t)+"="+jd(n)}))).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Yd=new Id;function Ad(t){return t.segments.map((function(t){return zd(t)})).join("/")}function Rd(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jd(t){return Rd(t).replace(/%3B/gi,";")}function Fd(t){return Rd(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nd(t){return decodeURIComponent(t)}function Hd(t){return Nd(t.replace(/\+/g,"%20"))}function zd(t){return""+Fd(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+Fd(t)+"="+Fd(e[t])})).join(""));var e}var Vd=/^[^\/()?;=#]+/;function Bd(t){var e=t.match(Vd);return e?e[0]:""}var Wd=/^[^=?&#]+/,Ud=/^[^?&#]+/,qd=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dd([],{}):new Dd([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[cd]=new Dd(t,e)),n},t.prototype.parseSegment=function(){var t=Bd(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Td(Nd(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Bd(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=Bd(this.remaining);i&&this.capture(n=i)}t[Nd(e)]=Nd(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Wd))?e[0]:"";if(n){this.capture(n);var i="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(Ud);return e?e[0]:""}(this.remaining);r&&this.capture(i=r)}var o=Hd(n),l=Hd(i);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(t[o]=a=[a]),a.push(l)}else t[o]=l}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Bd(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '"+this.url+"'");var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=cd);var o=this.parseChildren();e[r]=1===Object.keys(o).length?o[cd]:new Dd([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Kd=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Gd(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=Gd(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Jd(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return Jd(t,this._root).map((function(t){return t.value}))},t}();function Gd(t,e){var n,r;if(t===e.value)return e;try{for(var o=Object(i.__values)(e.children),l=o.next();!l.done;l=o.next()){var a=Gd(t,l.value);if(a)return a}}catch(s){n={error:s}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Jd(t,e){var n,r;if(t===e.value)return[e];try{for(var o=Object(i.__values)(e.children),l=o.next();!l.done;l=o.next()){var a=Jd(t,l.value);if(a.length)return a.unshift(e),a}}catch(s){n={error:s}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Zd=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function $d(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var Xd=function(t){function e(e,n){var i=t.call(this,e)||this;return i.snapshot=n,rh(i,e),i}return Object(i.__extends)(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Kd);function Qd(t,e){var n=function(t,e){var n=new nh([],{},{},"",{},cd,e,null,t.root,-1,{});return new ih("",new Zd(n,[]))}(t,e),i=new zs([new Td("",{})]),r=new zs({}),o=new zs({}),l=new zs({}),a=new zs(""),s=new th(i,r,l,a,o,cd,e,n.root);return s.snapshot=n.root,new Xd(new Zd(s,[]),n)}var th=function(){function t(t,e,n,i,r,o,l,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=l,this._futureSnapshot=a}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(F((function(t){return hd(t)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(F((function(t){return hd(t)})))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function eh(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var o=n[r],l=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(l.component)break;r--}}return function(t){return t.reduce((function(t,e){return{params:Object(i.__assign)({},t.params,e.params),data:Object(i.__assign)({},t.data,e.data),resolve:Object(i.__assign)({},t.resolve,e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var nh=function(){function t(t,e,n,i,r,o,l,a,s,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=l,this.routeConfig=a,this._urlSegment=s,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=hd(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=hd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),ih=function(t){function e(e,n){var i=t.call(this,n)||this;return i.url=e,rh(i,n),i}return Object(i.__extends)(e,t),e.prototype.toString=function(){return oh(this._root)},e}(Kd);function rh(t,e){e.value._routerState=t,e.children.forEach((function(e){return rh(t,e)}))}function oh(t){var e=t.children.length>0?" { "+t.children.map(oh).join(", ")+" } ":"";return""+t.value+e}function lh(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,wd(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),wd(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&sh(n[0]))throw new Error("Root segment cannot have matrix parameters");var i=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(i&&i!==xd(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),dh=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function hh(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[cd]:""+t}function ph(t,e,n){if(t||(t=new Dd([],{})),0===t.segments.length&&t.hasChildren())return fh(t,e,n);var i=function(t,e,n){for(var i=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};r=n.length)return o;var l=t.segments[r],a=hh(n[i]),s=i0&&void 0===a)break;if(a&&s&&"object"==typeof s&&void 0===s.outlets){if(!yh(a,s,l))return o;i+=2}else{if(!yh(a,{},l))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex0?new Dd([],((i={})[cd]=t,i)):t;return new Ld(r,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(F((function(t){return new Dd([],t)}))):this.expandSegment(t,n,e,n.segments,i,!0)},t.prototype.expandChildren=function(t,e,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return Hs({});var o=[],l=[],a={};return Md(n,(function(n,r){var s,u,c=(s=r,u=n,i.expandSegmentGroup(t,e,u,s)).pipe(F((function(t){return a[r]=t})));r===cd?o.push(c):l.push(c)})),Hs.apply(null,o.concat(l)).pipe(Zs(),du(),F((function(){return a})))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,l){var a=this;return Hs.apply(void 0,Object(i.__spread)(n)).pipe(F((function(i){return a.expandSegmentAgainstRoute(t,e,n,i,r,o,l).pipe(hu((function(t){if(t instanceof xh)return Hs(null);throw t})))})),Zs(),yu((function(t){return!!t})),hu((function(t,n){if(t instanceof Vs||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,o))return Hs(new Dd([],{}));throw new xh(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,i,r,o,l){return Eh(i)!==o?Sh(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o):Sh(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ch(o):this.lineralizeSegments(n,o).pipe(B((function(n){var o=new Dd(n,{});return r.expandSegment(t,o,e,n,i,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,i,r,o){var l=this,a=Th(e,i,r),s=a.consumedSegments,u=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return Sh(e);var d=this.applyRedirectCommands(s,i.redirectTo,c);return i.redirectTo.startsWith("/")?Ch(d):this.lineralizeSegments(i,d).pipe(B((function(i){return l.expandSegment(t,e,n,i.concat(r.slice(u)),o,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(F((function(t){return n._loadedConfig=t,new Dd(r,{})}))):Hs(new Dd(r,{}));var l=Th(e,n,r),a=l.consumedSegments,s=l.lastChild;if(!l.matched)return Sh(e);var u=r.slice(s);return this.getChildConfig(t,n,r).pipe(B((function(t){var n=t.module,r=t.routes,l=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some((function(n){return Ph(t,e,n)&&Eh(n)!==cd}))}(t,n,r)?{segmentGroup:Oh(new Dd(e,function(t,e){var n,r,o={};o[cd]=e;try{for(var l=Object(i.__values)(t),a=l.next();!a.done;a=l.next()){var s=a.value;""===s.path&&Eh(s)!==cd&&(o[Eh(s)]=new Dd([],{}))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return o}(r,new Dd(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return Ph(t,e,n)}))}(t,n,r)?{segmentGroup:Oh(new Dd(t.segments,function(t,e,n,r){var o,l,a={};try{for(var s=Object(i.__values)(n),u=s.next();!u.done;u=s.next()){var c=u.value;Ph(t,e,c)&&!r[Eh(c)]&&(a[Eh(c)]=new Dd([],{}))}}catch(d){o={error:d}}finally{try{u&&!u.done&&(l=s.return)&&l.call(s)}finally{if(o)throw o.error}}return Object(i.__assign)({},r,a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,u,r),s=l.segmentGroup,c=l.slicedSegments;return 0===c.length&&s.hasChildren()?o.expandChildren(n,r,s).pipe(F((function(t){return new Dd(a,t)}))):0===r.length&&0===c.length?Hs(new Dd(a,{})):o.expandSegment(n,s,r,c,cd,!0).pipe(F((function(t){return new Dd(a.concat(t.segments),t.children)})))})))},t.prototype.getChildConfig=function(t,e,n){var i=this;return e.children?Hs(new gd(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Hs(e._loadedConfig):function(t,e,n){var i,r=e.canLoad;return r&&0!==r.length?V(r).pipe(F((function(i){var r,o=t.get(i);if(function(t){return t&&wh(t.canLoad)}(o))r=o.canLoad(e,n);else{if(!wh(o))throw new Error("Invalid CanLoad guard");r=o(e,n)}return Sd(r)}))).pipe(Zs(),(i=function(t){return!0===t},function(t){return t.lift(new vu(i,void 0,t))})):Hs(!0)}(t.injector,e,n).pipe(B((function(n){return n?i.configLoader.load(t.injector,e).pipe(F((function(t){return e._loadedConfig=t,t}))):function(t){return new w((function(e){return e.error(fd("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))}))}(e)}))):Hs(new gd([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Hs(n);if(i.numberOfChildren>1||!i.children[cd])return Lh(t.redirectTo);i=i.children[cd]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new Ld(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Md(t,(function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,i){var r=this,o=this.createSegments(t,e.segments,n,i),l={};return Md(e.children,(function(e,o){l[o]=r.createSegmentGroup(t,e,n,i)})),new Dd(o,l)},t.prototype.createSegments=function(t,e,n,i){var r=this;return e.map((function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return i},t.prototype.findOrReturn=function(t,e){var n,r,o=0;try{for(var l=Object(i.__values)(e),a=l.next();!a.done;a=l.next()){var s=a.value;if(s.path===t.path)return e.splice(o),s;o++}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return t},t}();function Th(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(e.matcher||md)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Oh(t){if(1===t.numberOfChildren&&t.children[cd]){var e=t.children[cd];return new Dd(t.segments.concat(e.segments),e.children)}return t}function Ph(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Eh(t){return t.outlet||cd}var Ih=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Yh=function(){return function(t,e){this.component=t,this.route=e}}();function Ah(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Rh(t,e,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=$d(e);return t.children.forEach((function(t){!function(t,e,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=t.value,l=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(l&&o.routeConfig===l.routeConfig){var s=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Od(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Od(t.url,e.url)||!wd(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ah(t,e)||!wd(t.queryParams,e.queryParams);case"paramsChange":default:return!ah(t,e)}}(l,o,o.routeConfig.runGuardsAndResolvers);s?r.canActivateChecks.push(new Ih(i)):(o.data=l.data,o._resolvedData=l._resolvedData),Rh(t,e,o.component?a?a.children:null:n,i,r),s&&r.canDeactivateChecks.push(new Yh(a&&a.outlet&&a.outlet.component||null,l))}else l&&jh(e,a,r),r.canActivateChecks.push(new Ih(i)),Rh(t,null,o.component?a?a.children:null:n,i,r)}(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]})),Md(o,(function(t,e){return jh(t,n.getContext(e),r)})),r}function jh(t,e,n){var i=$d(t),r=t.value;Md(i,(function(t,i){jh(t,r.component?e?e.children.getContext(i):null:e,n)})),n.canDeactivateChecks.push(new Yh(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var Fh=Symbol("INITIAL_VALUE");function Nh(){return wu((function(t){return Ws.apply(void 0,Object(i.__spread)(t.map((function(t){return t.pipe(mu(1),Su(Fh))})))).pipe(Cu((function(t,e){var n=!1;return e.reduce((function(t,i,r){if(t!==Fh)return t;if(i===Fh&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||kh(i))return i}return t}),t)}),Fh),$s((function(t){return t!==Fh})),F((function(t){return kh(t)?t:!0===t})),mu(1))}))}function Hh(t,e){return null!==t&&e&&e(new ld(t)),Hs(!0)}function zh(t,e){return null!==t&&e&&e(new rd(t)),Hs(!0)}function Vh(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?Hs(i.map((function(i){return Js((function(){var r,o=Ah(i,e,n);if(function(t){return t&&wh(t.canActivate)}(o))r=Sd(o.canActivate(e,t));else{if(!wh(o))throw new Error("Invalid CanActivate guard");r=Sd(o(e,t))}return r.pipe(yu())}))}))).pipe(Nh()):Hs(!0)}function Bh(t,e,n){var i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map((function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)})).filter((function(t){return null!==t})).map((function(e){return Js((function(){return Hs(e.guards.map((function(r){var o,l=Ah(r,e.node,n);if(function(t){return t&&wh(t.canActivateChild)}(l))o=Sd(l.canActivateChild(i,t));else{if(!wh(l))throw new Error("Invalid CanActivateChild guard");o=Sd(l(i,t))}return o.pipe(yu())}))).pipe(Nh())}))}));return Hs(r).pipe(Nh())}var Wh=function(){return function(){}}(),Uh=function(){function t(t,e,n,i,r,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=Gh(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,cd),n=new nh([],Object.freeze({}),Object.freeze(Object(i.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,{},cd,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Zd(n,e),o=new ih(this.url,r);return this.inheritParamsAndData(o._root),Hs(o)}catch(l){return new w((function(t){return t.error(l)}))}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,i=eh(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,i=this,r=Pd(e,(function(e,n){return i.processSegmentGroup(t,e,n)}));return n={},r.forEach((function(t){var e=n[t.value.outlet];if(e){var i=e.url.map((function(t){return t.toString()})).join("/"),r=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+i+"' and '"+r+"'.")}n[t.value.outlet]=t.value})),r.sort((function(t,e){return t.value.outlet===cd?-1:e.value.outlet===cd?1:t.value.outlet.localeCompare(e.value.outlet)})),r},t.prototype.processSegment=function(t,e,n,r){var o,l;try{for(var a=Object(i.__values)(t),s=a.next();!s.done;s=a.next()){var u=s.value;try{return this.processSegmentAgainstRoute(u,e,n,r)}catch(c){if(!(c instanceof Wh))throw c}}}catch(d){o={error:d}}finally{try{s&&!s.done&&(l=a.return)&&l.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new Wh},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new Wh;if((t.outlet||cd)!==r)throw new Wh;var o,l=[],a=[];if("**"===t.path){var s=n.length>0?xd(n).parameters:{};o=new nh(n,s,Object.freeze(Object(i.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,$h(t),r,t.component,t,qh(e),Kh(e)+n.length,Xh(t))}else{var u=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Wh;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||md)(n,t,e);if(!r)throw new Wh;var o={};Md(r.posParams,(function(t,e){o[e]=t.path}));var l=r.consumed.length>0?Object(i.__assign)({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:l}}(e,t,n);l=u.consumedSegments,a=n.slice(u.lastChild),o=new nh(l,u.parameters,Object.freeze(Object(i.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,$h(t),r,t.component,t,qh(e),Kh(e)+l.length,Xh(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),d=Gh(e,l,a,c,this.relativeLinkResolution),h=d.segmentGroup,p=d.slicedSegments;if(0===p.length&&h.hasChildren()){var f=this.processChildren(c,h);return[new Zd(o,f)]}if(0===c.length&&0===p.length)return[new Zd(o,[])];var m=this.processSegment(c,h,p,cd);return[new Zd(o,m)]},t}();function qh(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Kh(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Gh(t,e,n,r,o){if(n.length>0&&function(t,e,n){return n.some((function(n){return Jh(t,e,n)&&Zh(n)!==cd}))}(t,n,r)){var l=new Dd(e,function(t,e,n,r){var o,l,a={};a[cd]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var s=Object(i.__values)(n),u=s.next();!u.done;u=s.next()){var c=u.value;if(""===c.path&&Zh(c)!==cd){var d=new Dd([],{});d._sourceSegment=t,d._segmentIndexShift=e.length,a[Zh(c)]=d}}}catch(h){o={error:h}}finally{try{u&&!u.done&&(l=s.return)&&l.call(s)}finally{if(o)throw o.error}}return a}(t,e,r,new Dd(n,t.children)));return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return Jh(t,e,n)}))}(t,n,r)){var a=new Dd(t.segments,function(t,e,n,r,o,l){var a,s,u={};try{for(var c=Object(i.__values)(r),d=c.next();!d.done;d=c.next()){var h=d.value;if(Jh(t,n,h)&&!o[Zh(h)]){var p=new Dd([],{});p._sourceSegment=t,p._segmentIndexShift="legacy"===l?t.segments.length:e.length,u[Zh(h)]=p}}}catch(f){a={error:f}}finally{try{d&&!d.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}return Object(i.__assign)({},o,u)}(t,e,n,r,t.children,o));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var s=new Dd(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Jh(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Zh(t){return t.outlet||cd}function $h(t){return t.data||{}}function Xh(t){return t.resolve||{}}function Qh(t,e,n,i){var r=Ah(t,e,i);return Sd(r.resolve?r.resolve(e,n):r(e,n))}function tp(t){return function(e){return e.pipe(wu((function(e){var n=t(e);return n?V(n).pipe(F((function(){return e}))):V([e])})))}}var ep=function(){return function(){}}(),np=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),ip=new St("ROUTES"),rp=function(){function t(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(F((function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new gd(kd(r.injector.get(ip)).map(bd),r)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?V(this.loader.load(t)):Sd(t()).pipe(B((function(t){return t instanceof Ht?Hs(t):V(e.compiler.compileModuleAsync(t))})))},t}(),op=function(){return function(){}}(),lp=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function ap(t){throw t}function sp(t,e,n){return e.parse("/")}function up(t,e){return Hs(null)}var cp=function(){function t(t,e,n,i,r,o,l,a){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new C,this.errorHandler=ap,this.malformedUriErrorHandler=sp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:up,afterPreactivation:up},this.urlHandlingStrategy=new lp,this.routeReuseStrategy=new np,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(Nt),this.console=r.get(Ur);var u=r.get(co);this.isNgZoneEnabled=u instanceof co,this.resetConfig(a),this.currentUrlTree=new Ld(new Dd([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rp(o,l,(function(t){return s.triggerEvent(new nd(t))}),(function(t){return s.triggerEvent(new id(t))})),this.routerState=Qd(this.currentUrlTree,this.rootComponentType),this.transitions=new zs({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe($s((function(t){return 0!==t.id})),F((function(t){return Object(i.__assign)({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),wu((function(t){var r,o,l,a=!1,s=!1;return Hs(t).pipe(Pu((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object(i.__assign)({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}})),wu((function(t){var r,o,l,a,s=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Hs(t).pipe(wu((function(t){var i=e.transitions.getValue();return n.next(new Kc(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==e.transitions.getValue()?Ks:[t]})),wu((function(t){return Promise.resolve(t)})),(r=e.ngModule.injector,o=e.configLoader,l=e.urlSerializer,a=e.config,function(t){return t.pipe(wu((function(t){return function(t,e,n,i,r){return new Dh(t,e,n,i,r).apply()}(r,o,l,t.extractedUrl,a).pipe(F((function(e){return Object(i.__assign)({},t,{urlAfterRedirects:e})})))})))}),Pu((function(t){e.currentNavigation=Object(i.__assign)({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})})),function(t,n,r,o,l){return function(r){return r.pipe(B((function(r){return function(t,e,n,i,r,o){return void 0===r&&(r="emptyOnly"),void 0===o&&(o="legacy"),new Uh(t,e,n,i,r,o).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),o,l).pipe(F((function(t){return Object(i.__assign)({},r,{targetSnapshot:t})})));var a})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Pu((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Pu((function(t){var i=new $c(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)})));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.extractedUrl,c=t.source,d=t.restoredState,h=t.extras,p=new Kc(t.id,e.serializeUrl(u),c,d);n.next(p);var f=Qd(u,e.rootComponentType).snapshot;return Hs(Object(i.__assign)({},t,{targetSnapshot:f,urlAfterRedirects:u,extras:Object(i.__assign)({},h,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Ks})),tp((function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Pu((function(t){var n=new Xc(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),F((function(t){return Object(i.__assign)({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,o=e.rootContexts,l=n._root,Rh(l,r?r._root:null,o,[l.value]))});var n,r,o,l})),function(t,e){return function(n){return n.pipe(B((function(n){var r=n.targetSnapshot,o=n.currentSnapshot,l=n.guards,a=l.canActivateChecks,s=l.canDeactivateChecks;return 0===s.length&&0===a.length?Hs(Object(i.__assign)({},n,{guardsResult:!0})):function(t,e,n,i){return V(t).pipe(B((function(t){return function(t,e,n,i,r){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?Hs(o.map((function(o){var l,a=Ah(o,e,r);if(function(t){return t&&wh(t.canDeactivate)}(a))l=Sd(a.canDeactivate(t,e,n,i));else{if(!wh(a))throw new Error("Invalid CanDeactivate guard");l=Sd(a(t,e,n,i))}return l.pipe(yu())}))).pipe(Nh()):Hs(!0)}(t.component,t.route,n,e,i)})),yu((function(t){return!0!==t}),!0))}(s,r,o,t).pipe(B((function(n){return n&&"boolean"==typeof n?function(t,e,n,i){return V(e).pipe(Tu((function(e){return V([zh(e.route.parent,i),Hh(e.route,i),Bh(t,e.path,n),Vh(t,e.route,n)]).pipe(Zs(),yu((function(t){return!0!==t}),!0))})),yu((function(t){return!0!==t}),!0))}(r,a,t,e):Hs(n)})),F((function(t){return Object(i.__assign)({},n,{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),Pu((function(t){if(kh(t.guardsResult)){var n=fd('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),Pu((function(t){var n=new Qc(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),$s((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var i=new Jc(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(i),t.resolve(!1),!1}return!0})),tp((function(t){if(t.guards.canActivateChecks.length)return Hs(t).pipe(Pu((function(t){var n=new td(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(B((function(t){var e=t.targetSnapshot,o=t.guards.canActivateChecks;return o.length?V(o).pipe(Tu((function(t){return function(t,e,n,r){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return Hs({});if(1===r.length){var o=r[0];return Qh(t[o],e,n,i).pipe(F((function(t){var e;return(e={})[o]=t,e})))}var l={};return V(r).pipe(B((function(r){return Qh(t[r],e,n,i).pipe(F((function(t){return l[r]=t,t})))}))).pipe(du(),F((function(){return l})))}(t._resolve,t,e,r).pipe(F((function(e){return t._resolvedData=e,t.data=Object(i.__assign)({},t.data,eh(t,n).resolve),null})))}(t.route,e,n,r)})),Ou((function(t,e){return t})),F((function(e){return t}))):Hs(t)})))}),Pu((function(t){var n=new ed(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})));var n,r})),tp((function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),F((function(t){var n,r,o,l=(o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(u=r.value)._futureSnapshot=n.value;var o=function(e,n,r){return n.children.map((function(n){var o,l;try{for(var a=Object(i.__values)(r.children),s=a.next();!s.done;s=a.next()){var u=s.value;if(e.shouldReuseRoute(u.value.snapshot,n.value))return t(e,n,u)}}catch(c){o={error:c}}finally{try{s&&!s.done&&(l=a.return)&&l.call(a)}finally{if(o)throw o.error}}return t(e,n)}))}(e,n,r);return new Zd(u,o)}var l=e.retrieve(n.value);if(l){var a=l.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var i=0;ir;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new dh(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(l,e,t),s=a.processChildren?fh(a.segmentGroup,a.index,l.commands):ph(a.segmentGroup,a.index,l.commands);return uh(a.segmentGroup,s,e,r,o)}(u,this.currentUrlTree,t,d,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),te()&&this.isNgZoneEnabled&&!co.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=kh(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e1?Array.prototype.slice.call(arguments):t)}),i,n)}))}var wf=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return i.__extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return i.__extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(s)),kf=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),xf=function(t){function e(n,i){void 0===i&&(i=kf.now);var r=t.call(this,n,(function(){return e.delegate&&e.delegate!==r?e.delegate.now():i()}))||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return i.__extends(e,t),e.prototype.schedule=function(n,i,r){return void 0===i&&(i=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,i,r):t.prototype.schedule.call(this,n,i,r)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(kf),Mf=1,Sf={},Cf=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return i.__extends(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=(r=e.flush.bind(e,null),o=Mf++,Sf[o]=r,Promise.resolve().then((function(){return function(t){var e=Sf[t];e&&e()}(o)})),o)));var r,o},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(delete Sf[n],e.scheduled=void 0)},e}(wf),Lf=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i=0}function Af(t,e,n){void 0===t&&(t=0);var i=-1;return Yf(e)?i=Number(e)<1?1:Number(e):D(e)&&(n=e),D(n)||(n=Pf),new w((function(e){var r=Yf(t)?t:+t-n.now();return n.schedule(Rf,r,{index:0,period:i,subscriber:e})}))}function Rf(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function jf(t,e){return void 0===e&&(e=Pf),n=function(){return Af(t,e)},function(t){return t.lift(new Ef(n))};var n}var Ff=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return i.__extends(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,i):e.flush(this)},e}(wf),Nf=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(xf))(Ff);function Hf(t,e){return new w(e?function(n){return e.schedule(zf,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function zf(t){t.subscriber.error(t.error)}var Vf,Bf=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Hs(this.value);case"E":return Hf(this.error);case"C":return Gs()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),Wf=function(t){function e(e,n,i){void 0===i&&(i=0);var r=t.call(this,e)||this;return r.scheduler=n,r.delay=i,r}return i.__extends(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new Uf(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(Bf.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(Bf.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(Bf.createComplete()),this.unsubscribe()},e}(m),Uf=function(){return function(t,e){this.notification=t,this.destination=e}}(),qf=function(t){function e(e,n,i){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this)||this;return r.scheduler=i,r._events=[],r._infiniteTimeWindow=!1,r._bufferSize=e<1?1:e,r._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(r._infiniteTimeWindow=!0,r.next=r.nextInfiniteTimeWindow):r.next=r.nextTimeWindow,r}return i.__extends(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new Kf(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;if(this.closed)throw new x;if(this.isStopped||this.hasError?e=s.EMPTY:(this.observers.push(t),e=new M(this,t)),r&&t.add(t=new Wf(t,r)),n)for(var l=0;le&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i},e}(C),Kf=function(){return function(t,e){this.time=t,this.value=e}}();try{Vf="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(aR){Vf=!1}var Gf,Jf,Zf=function(){function t(t){this._platformId=t,this.isBrowser=this._platformId?this._platformId===Rs:"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&&!Vf)&&"undefined"!=typeof CSS&&!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}return t.ngInjectableDef=ht({factory:function(){return new t(At(Br,8))},token:t,providedIn:"root"}),t}(),$f=function(){return function(){}}(),Xf=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Qf(){if(Gf)return Gf;if("object"!=typeof document||!document)return Gf=new Set(Xf);var t=document.createElement("input");return Gf=new Set(Xf.filter((function(e){return t.setAttribute("type",e),t.type===e})))}function tm(t){return function(){if(null==Jf&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Jf=!0}}))}finally{Jf=Jf||!1}return Jf}()?t:!!t.capture}var em=function(){return function(){}}();function nm(t){return t&&"function"==typeof t.connect}var im=function(){function t(t,e,n){var i=this;void 0===t&&(t=!1),void 0===n&&(n=!0),this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new C,this.onChange=this.changed,e&&e.length&&(t?e.forEach((function(t){return i._markSelected(t)})):this._markSelected(e[0]),this._selectedToEmit.length=0)}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),t.prototype.select=function(){for(var t=this,e=[],n=0;n1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},t}(),rm=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new C,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?new w((function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(jf(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Hs()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe($s((function(t){return!t||n.indexOf(t)>-1})))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach((function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)})),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return bf(window.document,"scroll").subscribe((function(){return t._scrolled.next()}))}))},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.ngInjectableDef=ht({factory:function(){return new t(At(co),At(Zf))},token:t,providedIn:"root"}),t}(),om=function(){return function(){}}(),lm=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular((function(){n._change=t.isBrowser?J(bf(window,"resize"),bf(window,"orientationchange")):Hs(),n._invalidateCache=n.change().subscribe((function(){return n._updateViewportSize()}))}))}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(jf(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.ngInjectableDef=ht({factory:function(){return new t(At(Zf),At(co))},token:t,providedIn:"root"}),t}(),am=27;function sm(t){for(var e=[],n=1;ne.height||t.scrollWidth>e.width},t}();function cm(){return Error("Scroll strategy has already been attached.")}var dm=function(){function t(t,e,n,i){var r=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run((function(){return r._overlayRef.detach()}))}}return t.prototype.attach=function(t){if(this._overlayRef)throw cm();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe((function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()}))):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),hm=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function pm(t,e){return e.some((function(e){return t.bottome.bottom||t.righte.right}))}function fm(t,e){return e.some((function(e){return t.tope.bottom||t.lefte.right}))}var mm=function(){function t(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw cm();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,r=n.height;pm(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run((function(){return t._overlayRef.detach()})))}})))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),gm=function(){function t(t,e,n,i){var r=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new hm},this.close=function(t){return new dm(r._scrollDispatcher,r._ngZone,r._viewportRuler,t)},this.block=function(){return new um(r._viewportRuler,r._document)},this.reposition=function(t){return new mm(r._scrollDispatcher,r._viewportRuler,r._ngZone,t)},this._document=i}return t.ngInjectableDef=ht({factory:function(){return new t(At(rm),At(lm),At(co),At(As))},token:t,providedIn:"root"}),t}(),_m=function(){return function(t){if(this.scrollStrategy=new hm,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var e=0,n=Object.keys(t);e-1;i--)if(n[i]._keydownEventSubscriptions>0){n[i]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},t.ngInjectableDef=ht({factory:function(){return new t(At(As))},token:t,providedIn:"root"}),t}(),xm=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){for(var t=this._document.getElementsByClassName("cdk-overlay-container"),e=0;eh&&(h=g,d=m)}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Cm(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},t.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}},t.prototype.withScrollableContainers=function(t){return this._scrollables=t,this},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var i;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+i,y:t.y+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,i){var r=t.x,o=t.y,l=this._getOffset(i,"x"),a=this._getOffset(i,"y");l&&(r+=l),a&&(o+=a);var s=0-o,u=o+e.height-n.height,c=this._subtractOverflows(e.width,0-r,r+e.width-n.width),d=this._subtractOverflows(e.height,s,u),h=c*d;return{visibleArea:h,isCompletelyWithinViewport:e.width*e.height===h,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:c==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,o=this._overlayRef.getConfig().minHeight,l=this._overlayRef.getConfig().minWidth;return(t.fitsInViewportVertically||null!=o&&o<=i)&&(t.fitsInViewportHorizontally||null!=l&&l<=r)}return!1},t.prototype._pushOverlayOnScreen=function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,r,o=this._viewportRect,l=Math.max(t.x+e.width-o.right,0),a=Math.max(t.y+e.height-o.bottom,0),s=Math.max(o.top-n.top-t.y,0),u=Math.max(o.left-n.left-t.x,0);return this._previousPushAmount={x:i=e.width<=o.width?u||-l:t.xd&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-d/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)a=s.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)l=t.x,o=s.right-t.x;else{c=Math.min(s.right-t.x+s.left,t.x);var h=this._lastBoundingBoxSize.width;l=t.x-c,(o=2*c)>h&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-h/2)}return{top:i,left:l,bottom:r,right:a,width:o,height:n}},t.prototype._setBoundingBoxStyles=function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=yf(n.height),i.top=yf(n.top),i.bottom=yf(n.bottom),i.width=yf(n.width),i.left=yf(n.left),i.right=yf(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=yf(r)),o&&(i.maxWidth=yf(o))}this._lastBoundingBoxSize=n,Cm(this._boundingBox.style,i)},t.prototype._resetBoundingBoxStyles=function(){Cm(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){Cm(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var i=this._viewportRuler.getViewportScrollPosition();Cm(n,this._getExactOverlayY(e,t,i)),Cm(n,this._getExactOverlayX(e,t,i))}else n.position="static";var r="",o=this._getOffset(e,"x"),l=this._getOffset(e,"y");o&&(r+="translateX("+o+"px) "),l&&(r+="translateY("+l+"px)"),n.transform=r.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),Cm(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var i={top:null,bottom:null},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=yf(r.y),i},t.prototype._getExactOverlayX=function(t,e,n){var i={left:null,right:null},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=yf(r.x),i},t.prototype._getScrollVisibility=function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(t){return t.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:fm(t,n),isOriginOutsideView:pm(t,n),isOverlayClipped:fm(e,n),isOverlayOutsideView:pm(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}}))}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(t){return void 0===t&&(t=!0),this._wrap=t,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withAllowedModifierKeys=function(t){return this._allowedModifierKeys=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some((function(t){return"function"!=typeof t.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Pu((function(t){return e._pressedLetters.push(t)})),Fm(t),$s((function(){return e._pressedLetters.length>0})),F((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),i=1;i-1}));switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||sm(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItem=function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n},t.prototype.updateActiveItemIndex=function(t){this.updateActiveItem(t)},t.prototype._setActiveItemByDelta=function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)},t.prototype._setActiveInWrapMode=function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}},t.prototype._setActiveInDefaultMode=function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)},t.prototype._setActiveItemByIndex=function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t.prototype._getItemsArray=function(){return this._items instanceof Rr?this._items.toArray():this._items},t}(),Gm=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(Km),Jm=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._origin="program",e}return Object(i.__extends)(e,t),e.prototype.setFocusOrigin=function(t){return this._origin=t,this},e.prototype.setActiveItem=function(e){t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(Km),Zm=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(aR){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){var i=n&&n.nodeName.toLowerCase();if(-1===Xm(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===i)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var r=t.nodeName.toLowerCase(),o=Xm(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===r)return!1;if("audio"===r){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||$m(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t.ngInjectableDef=ht({factory:function(){return new t(At(Zf))},token:t,providedIn:"root"}),t}();function $m(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Xm(t){if(!$m(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var Qm=function(){function t(t,e,n,i,r){var o=this;void 0===r&&(r=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,r||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.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)},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusInitialElement())}))}))},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusFirstTabbableElement())}))}))},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusLastTabbableElement())}))}))},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t},t.prototype._toggleAnchorTabIndex=function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(mu(1)).subscribe(t)},t}(),tg=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new Qm(t,this._checker,this._ngZone,this._document,e)},t.ngInjectableDef=ht({factory:function(){return new t(At(Zm),At(co),At(As))},token:t,providedIn:"root"}),t}(),eg=new St("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),ng=new St("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),ig=function(){function t(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t){for(var e=this,n=[],i=1;ithis.total&&this.destination.next(t)},e}(m),pg=new Set,fg=function(){function t(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):mg}return t.prototype.matchMedia=function(t){return this._platform.WEBKIT&&function(t){if(!pg.has(t))try{ug||((ug=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(ug)),ug.sheet&&(ug.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),pg.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t.ngInjectableDef=ht({factory:function(){return new t(At(Zf))},token:t,providedIn:"root"}),t}();function mg(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var gg=function(){function t(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new C}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return _g(_f(t)).some((function(t){return e._registerQuery(t).mql.matches}))},t.prototype.observe=function(t){var e=this,n=Ws(_g(_f(t)).map((function(t){return e._registerQuery(t).observable})));return(n=Mu(n.pipe(mu(1)),n.pipe((function(t){return t.lift(new dg(1))}),Fm(0)))).pipe(F((function(t){var e={matches:!1,breakpoints:{}};return t.forEach((function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches})),e})))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),i={observable:new w((function(t){var i=function(n){return e._zone.run((function(){return t.next(n)}))};return n.addListener(i),function(){n.removeListener(i)}})).pipe(Su(n),F((function(e){return{query:t,matches:e.matches}})),df(this._destroySubject)),mql:n};return this._queries.set(t,i),i},t.ngInjectableDef=ht({factory:function(){return new t(At(fg),At(co))},token:t,providedIn:"root"}),t}();function _g(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}var yg={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},vg=function(){function t(t,e){var n=this;this._overlayRef=e,this._afterDismissed=new C,this._afterOpened=new C,this._onAction=new C,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe((function(){return n.dismiss()})),t._onExit.subscribe((function(){return n._finishDismiss()}))}return t.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},t.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},t.prototype.closeWithAction=function(){this.dismissWithAction()},t.prototype._dismissAfter=function(t){var e=this;this._durationTimeoutId=setTimeout((function(){return e.dismiss()}),t)},t.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},t.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},t.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},t.prototype.afterOpened=function(){return this.containerInstance._onEnter},t.prototype.onAction=function(){return this._onAction.asObservable()},t}(),bg=new St("MatSnackBarData"),wg=function(){return function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}(),kg=function(){function t(t,e){this.snackBarRef=t,this.data=e}return t.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(t.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),t}(),xg=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._ngZone=e,o._elementRef=n,o._changeDetectorRef=i,o.snackBarConfig=r,o._destroyed=!1,o._onExit=new C,o._onEnter=new C,o._animationState="void",o._role="assertive"!==r.politeness||r.announcementMessage?"off"===r.politeness?null:"status":"alert",o}return Object(i.__extends)(e,t),e.prototype.attachComponentPortal=function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)},e.prototype.onAnimationEnd=function(t){var e=t.toState;if(("void"===e&&"void"!==t.fromState||"hidden"===e)&&this._completeExit(),"visible"===e){var n=this._onEnter;this._ngZone.run((function(){n.next(),n.complete()}))}},e.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},e.prototype.exit=function(){return this._animationState="hidden",this._onExit},e.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},e.prototype._completeExit=function(){var t=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(mu(1)).subscribe((function(){t._onExit.next(),t._onExit.complete()}))},e.prototype._applySnackBarClasses=function(){var t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach((function(e){return t.classList.add(e)})):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")},e.prototype._assertNotAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")},e}(lf),Mg=function(){return function(){}}(),Sg=new St("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new wg}}),Cg=function(){function t(t,e,n,i,r,o){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=o,this._snackBarRefAtThisLevel=null}return Object.defineProperty(t.prototype,"_openedSnackBarRef",{get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t},enumerable:!0,configurable:!0}),t.prototype.openFromComponent=function(t,e){return this._attach(t,e)},t.prototype.openFromTemplate=function(t,e){return this._attach(t,e)},t.prototype.open=function(t,e,n){void 0===e&&(e="");var r=Object(i.__assign)({},this._defaultConfig,n);return r.data={message:t,action:e},r.announcementMessage||(r.announcementMessage=t),this.openFromComponent(kg,r)},t.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},t.prototype.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()},t.prototype._attachSnackBarContainer=function(t,e){var n=new cf(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[wg,e]])),i=new rf(xg,e.viewContainerRef,n),r=t.attach(i);return r.instance.snackBarConfig=e,r.instance},t.prototype._attach=function(t,e){var n=Object(i.__assign)({},new wg,this._defaultConfig,e),r=this._createOverlay(n),o=this._attachSnackBarContainer(r,n),l=new vg(o,r);if(t instanceof Pn){var a=new of(t,null,{$implicit:n.data,snackBarRef:l});l.instance=o.attachTemplatePortal(a)}else{var s=this._createInjector(n,l),u=(a=new rf(t,void 0,s),o.attachComponentPortal(a));l.instance=u.instance}return this._breakpointObserver.observe(yg.HandsetPortrait).pipe(df(r.detachments())).subscribe((function(t){var e=r.overlayElement.classList;t.matches?e.add("mat-snack-bar-handset"):e.remove("mat-snack-bar-handset")})),this._animateSnackBar(l,n),this._openedSnackBarRef=l,this._openedSnackBarRef},t.prototype._animateSnackBar=function(t,e){var n=this;t.afterDismissed().subscribe((function(){n._openedSnackBarRef==t&&(n._openedSnackBarRef=null),e.announcementMessage&&n._live.clear()})),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe((function(){t.containerInstance.enter()})),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe((function(){return t._dismissAfter(e.duration)})),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)},t.prototype._createOverlay=function(t){var e=new _m;e.direction=t.direction;var n=this._overlay.position().global(),i="rtl"===t.direction,r="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!i||"end"===t.horizontalPosition&&i,o=!r&&"center"!==t.horizontalPosition;return r?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)},t.prototype._createInjector=function(t,e){return new cf(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[vg,e],[bg,t.data]]))},t.ngInjectableDef=ht({factory:function(){return new t(At(Pm),At(ig),At(Ct),At(gg),At(t,12),At(Sg))},token:t,providedIn:Mg}),t}(),Lg=function(){function t(t){this.snackBar=t,this.lastWasTemporaryError=!1}return t.prototype.showError=function(t,e,n,i,r){void 0===e&&(e=null),void 0===n&&(n=!1),void 0===i&&(i=null),void 0===r&&(r=null),t=Up(t),i=i?Up(i):null,this.lastWasTemporaryError=n,this.show(t.translatableErrorMsg,e,i?i.translatableErrorMsg:null,r,Np.Error,Hp.Red,15e3)},t.prototype.showWarning=function(t,e){void 0===e&&(e=null),this.lastWasTemporaryError=!1,this.show(t,e,null,null,Np.Warning,Hp.Yellow,15e3)},t.prototype.showDone=function(t,e){void 0===e&&(e=null),this.lastWasTemporaryError=!1,this.show(t,e,null,null,Np.Done,Hp.Green,5e3)},t.prototype.closeCurrent=function(){this.snackBar.dismiss()},t.prototype.closeCurrentIfTemporaryError=function(){this.lastWasTemporaryError&&this.snackBar.dismiss()},t.prototype.show=function(t,e,n,i,r,o,l){this.snackBar.openFromComponent(zp,{duration:l,panelClass:"p-0",data:{text:t,textTranslationParams:e,smallText:n,smallTextTranslationParams:i,icon:r,color:o}})},t.ngInjectableDef=ht({factory:function(){return new t(At(Cg))},token:t,providedIn:"root"}),t}(),Dg={maxShortListElements:5,maxFullListElements:40,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Español",iconName:"es.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px"};function Tg(t,e,n){return 0===n?[e]:(t.push(e),t)}var Og=function(){return function(){}}(),Pg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getTranslation=function(t){return Hs({})},e}(Og),Eg=function(){return function(){}}(),Ig=function(){function t(){}return t.prototype.handle=function(t){return t.key},t}(),Yg=function(){return function(){}}(),Ag=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.compile=function(t,e){return t},e.prototype.compileTranslations=function(t,e){return t},e}(Yg);function Rg(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;var n,i,r,o=typeof t;if(o==typeof e&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in r=Object.create(null),t){if(!Rg(t[i],e[i]))return!1;r[i]=!0}for(i in e)if(!(i in r)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=r[1],l=r[2],a=r[3];e.push(jy(o,a)),"<"!=l[0]||o==Yy&&a==Yy||e.push(jy(a,o))}(t,r,i)})):r.push(n),r),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:By(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return Ey(n,t,e)})),options:By(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,i=e.currentTime,r=0,o=t.steps.map((function(t){e.currentTime=i;var o=Ey(n,t,e);return r=Math.max(r,e.currentTime),o}));return e.currentTime=r,{type:3,steps:o,options:By(t.options)}},t.prototype.visitAnimate=function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Wy(gy(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var r=Wy(0,0,"");return r.dynamic=!0,r.strValue=i,r}return Wy((n=n||gy(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var r=t.styles?t.styles:Zp({});if(5==r.type)n=this.visitKeyframes(r,e);else{var o=t.styles,l=!1;if(!o){l=!0;var a={};i.easing&&(a.easing=i.easing),o=Zp(a)}e.currentTime+=i.duration+i.delay;var s=this.visitStyle(o,e);s.isEmptyStep=l,n=s}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(t){"string"==typeof t?t==Gp?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)})):n.push(t.styles);var i=!1,r=null;return n.forEach((function(t){if(Vy(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var o in e)if(e[o].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(i){if(n._driver.validateStyleProperty(i)){var l,a,s,u=e.collectedStyles[e.currentQuerySelector],c=u[i],d=!0;c&&(o!=r&&o>=c.startTime&&r<=c.endTime&&(e.errors.push('The CSS property "'+i+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+r+'ms"'),d=!1),o=c.startTime),d&&(u[i]={startTime:o,endTime:r}),e.options&&(l=e.errors,a=e.options.params||{},(s=Sy(t[i])).length&&s.forEach((function(t){a.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")})))}else e.errors.push('The provided animation property "'+i+'" is not a supported CSS property for animations')}))}))},t.prototype.visitKeyframes=function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],l=!1,a=!1,s=0,u=t.steps.map((function(t){var i=n._makeStyleAst(t,e),u=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if(Vy(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(Vy(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),a=a||c<0||c>1,l=l||c0&&r0?r==h?1:d*r:o[r],a=l*m;e.currentTime=p+f.delay+a,f.duration=a,n._validateStyleAst(t,e),t.offset=l,i.styles.push(t)})),i},t.prototype.visitReference=function(t,e){return{type:8,animation:Ey(this,xy(t.animation),e),options:By(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:By(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:By(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var o=Object(i.__read)(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(Fy,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),l=o[0],a=o[1];e.currentQuerySelector=n.length?n+" "+l:l,X_(e.collectedStyles,e.currentQuerySelector,{});var s=Ey(this,xy(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:l,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:By(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:gy(t.timings,e.errors,!0);return{type:12,animation:Ey(this,xy(t.animation),e),timings:n,options:null}},t}(),zy=function(){return function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function Vy(t){return!Array.isArray(t)&&"object"==typeof t}function By(t){var e;return t?(t=_y(t)).params&&(t.params=(e=t.params)?_y(e):null):t={},t}function Wy(t,e,n){return{duration:t,delay:e,easing:n}}function Uy(t,e,n,i,r,o,l,a){return void 0===l&&(l=null),void 0===a&&(a=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:l,subTimeline:a}}var qy=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,Object(i.__spread)(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),Ky=new RegExp(":enter","g"),Gy=new RegExp(":leave","g");function Jy(t,e,n,i,r,o,l,a,s,u){return void 0===o&&(o={}),void 0===l&&(l={}),void 0===u&&(u=[]),(new Zy).buildKeyframes(t,e,n,i,r,o,l,a,s,u)}var Zy=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,i,r,o,l,a,s,u){void 0===u&&(u=[]),s=s||new qy;var c=new Xy(t,e,s,i,r,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),Ey(this,n,c);var d=c.timelines.filter((function(t){return t.containsAnimation()}));if(d.length&&Object.keys(l).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([l],null,c.errors,a)}return d.length?d.map((function(t){return t.buildKeyframes()})):[Uy(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?fy(n.duration):null,o=null!=n.delay?fy(n.delay):null;return 0!==r&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)})),i},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),Ey(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&((r=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=$y);var l=fy(o.delay);r.delayNextStep(l)}t.steps.length&&(t.steps.forEach((function(t){return Ey(n,t,r)})),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?fy(t.options.delay):0;t.steps.forEach((function(l){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),Ey(n,l,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)})),i.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(r),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return gy(e.params?Cy(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((function(t){o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?fy(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$y);var l=i,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;var s=null;a.forEach((function(i,r){e.currentQueryIndex=r;var a=e.createSubContext(t.options,i);o&&a.delayNextStep(o),i===e.element&&(s=a.currentTimeline),Ey(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,a.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),l=o*(e.currentQueryTotal-1),a=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=l-a;break;case"full":a=n.currentStaggerTime}var s=e.currentTimeline;a&&s.delayNextStep(a);var u=s.currentTime;Ey(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)},t}(),$y={},Xy=function(){function t(t,e,n,i,r,o,l,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=$y,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Qy(this._driver,e,0),l.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=fy(i.duration)),null!=i.delay&&(r.delay=fy(i.delay));var o=i.params;if(o){var l=r.params;l||(l=this.options.params={}),Object.keys(o).forEach((function(t){e&&l.hasOwnProperty(t)||(l[t]=Cy(o[t],l,n.errors))}))}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach((function(t){n[t]=e[t]}))}}return t},t.prototype.createSubContext=function(e,n,i){void 0===e&&(e=null);var r=n||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=$y,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new tv(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,o,l){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Ky,"."+this._enterClassName)).replace(Gy,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,Object(i.__spread)(s))}return o||0!=a.length||l.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),Qy=function(){function t(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||Gp,e._currentKeyframe[t]=Gp})),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var o=i&&i.params||{},l=function(t,e){var n,i={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){i[t]=Gp})):yy(t,!1,i)})),i}(t,this._globalTimelineStyles);Object.keys(l).forEach((function(t){var e=Cy(l[t],o,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:Gp),r._updateStyle(t,e)}))},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){t._currentKeyframe[n]=e[n]})),Object.keys(this._localTimelineStyles).forEach((function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])})))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)}))},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach((function(o,l){var a=yy(o,!0);Object.keys(a).forEach((function(t){var i=a[t];i==tf?e.add(t):i==Gp&&n.add(t)})),i||(a.offset=l/t.duration),r.push(a)}));var o=e.size?Ly(e.values()):[],l=n.size?Ly(n.values()):[];if(i){var a=r[0],s=_y(a);a.offset=0,s.offset=1,r=[a,s]}return Uy(this.element,r,o,l,this.duration,this.startTime,this.easing,!1)},t}(),tv=function(t){function e(e,n,i,r,o,l,a){void 0===a&&(a=!1);var s=t.call(this,e,n,l.delay)||this;return s.element=n,s.keyframes=i,s.preStyleProps=r,s.postStyleProps=o,s._stretchStartingKeyframe=a,s.timings={duration:l.duration,delay:l.delay,easing:l.easing},s}return Object(i.__extends)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],l=i+n,a=n/l,s=yy(t[0],!1);s.offset=0,o.push(s);var u=yy(t[0],!1);u.offset=ev(a),o.push(u);for(var c=t.length-1,d=1;d<=c;d++){var h=yy(t[d],!1);h.offset=ev((n+h.offset*i)/l),o.push(h)}i=l,n=0,r="",t=o}return Uy(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)},e}(Qy);function ev(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var nv=function(){return function(){}}(),iv=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.normalizePropertyName=function(t,e){return Ty(t)},e.prototype.normalizeStyleValue=function(t,e,n,i){var r="",o=n.toString().trim();if(rv[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var l=n.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&i.push("Please provide a CSS unit value for "+t+":"+n)}return o+r},e}(nv),rv=function(){return t="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),e={},t.forEach((function(t){return e[t]=!0})),e;var t,e}();function ov(t,e,n,i,r,o,l,a,s,u,c,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:l,timelines:a,queriedElements:s,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}var lv={},av=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,i){return function(t,e,n,i,r){return t.some((function(t){return t(e,n,i,r)}))}(this.ast.matchers,t,e,n,i)},t.prototype.buildStyles=function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],o=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,o,l,a,s,u,c){var d=[],h=this.ast.options&&this.ast.options.params||lv,p=this.buildStyles(n,a&&a.params||lv,d),f=s&&s.params||lv,m=this.buildStyles(r,f,d),g=new Set,_=new Map,y=new Map,v="void"===r,b={params:Object(i.__assign)({},h,f)},w=c?[]:Jy(t,e,this.ast.animation,o,l,p,m,b,u,d),k=0;if(w.forEach((function(t){k=Math.max(t.duration+t.delay,k)})),d.length)return ov(e,this._triggerName,n,r,v,p,m,[],[],_,y,k,d);w.forEach((function(t){var n=t.element,i=X_(_,n,{});t.preStyleProps.forEach((function(t){return i[t]=!0}));var r=X_(y,n,{});t.postStyleProps.forEach((function(t){return r[t]=!0})),n!==e&&g.add(n)}));var x=Ly(g.values());return ov(e,this._triggerName,n,r,v,p,m,w,x,_,y,k)},t}(),sv=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},i=_y(this.defaultParams);return Object.keys(t).forEach((function(e){var n=t[e];null!=n&&(i[e]=n)})),this.styles.styles.forEach((function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach((function(t){var o=r[t];o.length>1&&(o=Cy(o,i,e)),n[t]=o}))}})),n},t}(),uv=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((function(t){n.states[t.name]=new sv(t.style,t.options&&t.options.params||{})})),cv(this.states,"true","1"),cv(this.states,"false","0"),e.transitions.forEach((function(e){n.transitionFactories.push(new av(t,e,n.states))})),this.fallbackTransition=new av(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,i){return this.transitionFactories.find((function(r){return r.match(t,e,n,i)}))||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function cv(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var dv=new qy,hv=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],i=Ny(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i},t.prototype._buildPlayer=function(t,e,n){var i=t.element,r=G_(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var i=this;void 0===n&&(n={});var r,o=[],l=this._animations[t],a=new Map;if(l?(r=Jy(this._driver,e,l,"ng-enter","ng-leave",{},{},n,dv,o)).forEach((function(t){var e=X_(a,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),r=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=i._driver.computeStyle(e,n,Gp)}))}));var s=K_(r.map((function(t){var e=a.get(t.element);return i._buildPlayer(t,{},e)})));return this._playersById[t]=s,s.onDestroy((function(){return i.destroy(t)})),this.players.push(s),s},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,i){var r=$_(e,"","","");return J_(this._getPlayer(t),n,r,i),function(){}},t.prototype.command=function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])},t}(),pv=[],fv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mv={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gv="__ng_removed",_v=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n,i=t&&t.hasOwnProperty("value");if(this.value=null!=(n=i?t.value:t)?n:null,i){var r=_y(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach((function(t){null==n[t]&&(n[t]=e[t])}))}},t}(),yv=new _v("void"),vv=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Lv(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var l=X_(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};l.push(a);var s=X_(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(Lv(t,"ng-trigger"),Lv(t,"ng-trigger-"+e),s[e]=yv),function(){o._engine.afterFlush((function(){var t=l.indexOf(a);t>=0&&l.splice(t,1),o._triggers[e]||delete s[e]}))}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,i){var r=this;void 0===i&&(i=!0);var o=this._getTrigger(e),l=new wv(this.id,e,t),a=this._engine.statesByElement.get(t);a||(Lv(t,"ng-trigger"),Lv(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var s=a[e],u=new _v(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&u.absorbOptions(s.options),a[e]=u,s||(s=yv),"void"===u.value||s.value!==u.value){var c=X_(this._engine.playersByElement,t,[]);c.forEach((function(t){t.namespaceId==r.id&&t.triggerName==e&&t.queued&&t.destroy()}));var d=o.matchTransition(s.value,u.value,t,u.params),h=!1;if(!d){if(!i)return;d=o.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:s,toState:u,player:l,isFallbackTransition:h}),h||(Lv(t,"ng-animate-queued"),l.onStart((function(){Dv(t,"ng-animate-queued")}))),l.onDone((function(){var e=r.players.indexOf(l);e>=0&&r.players.splice(e,1);var n=r._engine.playersByElement.get(t);if(n){var i=n.indexOf(l);i>=0&&n.splice(i,1)}})),this.players.push(l),c.push(l),l}if(!function(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return i.destroy(e)}))}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(t){var l=this._fetchNamespace(t);l&&l.insertNode(e,n)}i&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Lv(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Dv(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,i){if(kv(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}}else this._onRemovalComplete(e,i)},t.prototype.markElementAsRemoved=function(t,e,n,i){this.collectedLeaveElements.push(e),e[gv]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,i,r){return kv(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}},t.prototype._buildInstruction=function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise((function(e){if(t.players.length)return K_(t.players).onDone((function(){return e()}));e()}))},t.prototype.processLeaveNode=function(t){var e=this,n=t[gv];if(n&&n.setForRemoval){if(t[gv]=fv,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach((function(t){e.markElementAsDisabled(t,!1)}))},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;S--)this._namespaceList[S].drainQueuedTransitions(e).forEach((function(t){var e=t.player,i=t.element;if(x.push(e),n.collectedEnterElements.length){var l=i[gv];if(l&&l.setForMove)return void e.destroy()}var d=!h||!n.driver.containsElement(h,i),p=w.get(i),f=m.get(i),g=n._buildInstruction(t,r,f,p,d);if(g.errors&&g.errors.length)M.push(g);else{if(d)return e.onStart((function(){return ky(i,g.fromStyles)})),e.onDestroy((function(){return wy(i,g.toStyles)})),void o.push(e);if(t.isFallbackTransition)return e.onStart((function(){return ky(i,g.fromStyles)})),e.onDestroy((function(){return wy(i,g.toStyles)})),void o.push(e);g.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),r.append(i,g.timelines),a.push({instruction:g,player:e,element:i}),g.queriedElements.forEach((function(t){return X_(s,t,[]).push(e)})),g.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var i=u.get(e);i||u.set(e,i=new Set),n.forEach((function(t){return i.add(t)}))}})),g.postStyleProps.forEach((function(t,e){var n=Object.keys(t),i=c.get(e);i||c.set(e,i=new Set),n.forEach((function(t){return i.add(t)}))}))}}));if(M.length){var C=[];M.forEach((function(t){C.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach((function(t){return C.push("- "+t+"\n")}))})),x.forEach((function(t){return t.destroy()})),this.reportError(C)}var L=new Map,D=new Map;a.forEach((function(t){var e=t.element;r.has(e)&&(D.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,L))})),o.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){X_(L,e,[]).push(t),t.destroy()}))}));var T=_.filter((function(t){return Ov(t,u,c)})),O=new Map;Mv(O,this.driver,v,c,Gp).forEach((function(t){Ov(t,u,c)&&T.push(t)}));var P=new Map;f.forEach((function(t,e){Mv(P,n.driver,new Set(t),u,tf)})),T.forEach((function(t){var e=O.get(t),n=P.get(t);O.set(t,Object(i.__assign)({},e,n))}));var E=[],I=[],Y={};a.forEach((function(t){var e=t.element,i=t.player,a=t.instruction;if(r.has(e)){if(d.has(e))return i.onDestroy((function(){return wy(e,a.toStyles)})),i.disabled=!0,i.overrideTotalTime(a.totalTime),void o.push(i);var s=Y;if(D.size>1){for(var u=e,c=[];u=u.parentNode;){var h=D.get(u);if(h){s=h;break}c.push(u)}c.forEach((function(t){return D.set(t,s)}))}var p=n._buildAnimation(i.namespaceId,a,L,l,P,O);if(i.setRealPlayer(p),s===Y)E.push(i);else{var f=n.playersByElement.get(s);f&&f.length&&(i.parentPlayer=K_(f)),o.push(i)}}else ky(e,a.fromStyles),i.onDestroy((function(){return wy(e,a.toStyles)})),I.push(i),d.has(e)&&o.push(i)})),I.forEach((function(t){var e=l.get(t.element);if(e&&e.length){var n=K_(e);t.setRealPlayer(n)}})),o.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var A=0;A<_.length;A++){var R,j=(R=_[A])[gv];if(Dv(R,"ng-leave"),!j||!j.hasAnimation){var F=[];if(s.size){var N=s.get(R);N&&N.length&&F.push.apply(F,Object(i.__spread)(N));for(var H=this.driver.query(R,".ng-animating",!0),z=0;z0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Xp(t.duration,t.delay)},t}(),wv=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Xp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return J_(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart((function(){return n.triggerCallback("start")})),t.onDone((function(){return e.finish()})),t.onDestroy((function(){return e.destroy()}))},t.prototype._queueEvent=function(t,e){X_(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function kv(t){return t&&1===t.nodeType}function xv(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Mv(t,e,n,i,r){var o=[];n.forEach((function(t){return o.push(xv(t))}));var l=[];i.forEach((function(n,i){var o={};n.forEach((function(t){var n=o[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i[gv]=mv,l.push(i))})),t.set(i,o)}));var a=0;return n.forEach((function(t){return xv(t,o[a++])})),l}function Sv(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var i=new Set(e),r=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var o=r.get(e);if(o)return o;var l=e.parentNode;return o=n.has(l)?l:i.has(l)?1:t(l),r.set(e,o),o}(t);1!==e&&n.get(e).push(t)})),n}var Cv="$$classes";function Lv(t,e){if(t.classList)t.classList.add(e);else{var n=t[Cv];n||(n=t[Cv]={}),n[e]=!0}}function Dv(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Cv];n&&delete n[e]}}function Tv(t,e,n){K_(n).onDone((function(){return t.processLeaveNode(e)}))}function Ov(t,e,n){var i=n.get(t);if(!i)return!1;var r=e.get(t);return r?i.forEach((function(t){return r.add(t)})):e.set(t,i),n.delete(t),!0}var Pv=function(){function t(t,e,n){var i=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new bv(t,e,n),this._timelineEngine=new hv(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return i.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,i,r){var o=t+"-"+i,l=this._triggerCache[o];if(!l){var a=[],s=Ny(this._driver,r,a);if(a.length)throw new Error('The animation trigger "'+i+'" has failed to build due to the following errors:\n - '+a.join("\n - "));l=function(t,e){return new uv(t,e)}(i,s),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(e,i,l)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)},t.prototype.onRemove=function(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var o=Object(i.__read)(Q_(n),2);this._timelineEngine.command(o[0],e,o[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,o){if("@"==n.charAt(0)){var l=Object(i.__read)(Q_(n),2);return this._timelineEngine.listen(l[0],e,l[1],o)}return this._transitionEngine.listen(t,e,n,r,o)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function Ev(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=Yv(e[0]),e.length>1&&(i=Yv(e[e.length-1]))):e&&(n=Yv(e)),n||i?new Iv(t,n,i):null}var Iv=function(){function t(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return t.prototype.start=function(){this._state<1&&(this._startStyles&&wy(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(wy(this._element,this._initialStyles),this._endStyles&&(wy(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(ky(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ky(this._element,this._endStyles),this._endStyles=null),wy(this._element,this._initialStyles),this._state=3)},t.initialStylesByElement=new WeakMap,t}();function Yv(t){for(var e=null,n=Object.keys(t),i=0;i=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Vv(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(i=zv(n=Wv(t=this._element,"").split(","),e))>=0&&(n.splice(i,1),Bv(t,"",n.join(","))))},t}();function Nv(t,e,n){Bv(t,"PlayState",n,Hv(t,e))}function Hv(t,e){var n=Wv(t,"");return n.indexOf(",")>0?zv(n.split(","),e):zv([n],e)}function zv(t,e){for(var n=0;n=0)return n;return-1}function Vv(t,e,n){n?t.removeEventListener(jv,e):t.addEventListener(jv,e)}function Bv(t,e,n,i){var r=Rv+e;if(null!=i){var o=t.style[r];if(o.length){var l=o.split(",");l[i]=n,n=l.join(",")}}t.style[r]=n}function Wv(t,e){return t.style[Rv+e]}var Uv="linear",qv=function(){function t(t,e,n,i,r,o,l,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=l,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||Uv,this.totalTime=i+r,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new Fv(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:Iy(t.element,i))}))}this.currentSnapshot=e},t}(),Kv=function(t){function e(e,n){var i=t.call(this)||this;return i.element=e,i._startingStyles={},i.__initialized=!1,i._styles=cy(n),i}return Object(i.__extends)(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,t.prototype.destroy.call(this))},e}(Xp),Gv=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return ly(t)},t.prototype.matchesElement=function(t,e){return ay(t,e)},t.prototype.containsElement=function(t,e){return sy(t,e)},t.prototype.query=function(t,e,n){return uy(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map((function(t){return cy(t)}));var i="@keyframes "+e+" {\n",r="";n.forEach((function(t){r=" ";var e=parseFloat(t.offset);i+=""+r+100*e+"% {\n",r+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=r+"animation-timing-function: "+n+";\n"));default:return void(i+=""+r+e+": "+n+";\n")}})),i+=r+"}\n"})),i+="}\n";var o=document.createElement("style");return o.innerHTML=i,o},t.prototype.animate=function(t,e,n,i,r,o,l){void 0===o&&(o=[]),l&&this._notifyFaultyScrubber();var a=o.filter((function(t){return t instanceof qv})),s={};Oy(n,i)&&a.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return s[t]=e[t]}))}));var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach((function(t){Object.keys(t).forEach((function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])}))})),e}(e=Py(t,e,s));if(0==n)return new Kv(t,u);var c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);var h=Ev(t,e),p=new qv(t,e,c,n,i,r,u,h);return p.onDestroy((function(){var t;(t=d).parentNode.removeChild(t)})),p},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),Jv=function(){function t(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return t._onFinish()}))}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Iy(t.element,n))})),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),Zv=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test($v().toString()),this._cssKeyframesDriver=new Gv}return t.prototype.validateStyleProperty=function(t){return ly(t)},t.prototype.matchesElement=function(t,e){return ay(t,e)},t.prototype.containsElement=function(t,e){return sy(t,e)},t.prototype.query=function(t,e,n){return uy(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,i,r,o,l){if(void 0===o&&(o=[]),!l&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,o);var a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);var s={},u=o.filter((function(t){return t instanceof Jv}));Oy(n,i)&&u.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return s[t]=e[t]}))}));var c=Ev(t,e=Py(t,e=e.map((function(t){return yy(t,!1)})),s));return new Jv(t,e,a,c)},t}();function $v(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Xv=function(t){function e(e,n){var i=t.call(this)||this;return i._nextAnimationId=0,i._renderer=e.createRenderer(n.body,{id:"0",encapsulation:Bt.None,styles:[],data:{animation:[]}}),i}return Object(i.__extends)(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Jp(t):t;return eb(this._renderer,null,e,"register",[n]),new Qv(e,this._renderer)},e}(qp),Qv=function(t){function e(e,n){var i=t.call(this)||this;return i._id=e,i._renderer=n,i}return Object(i.__extends)(e,t),e.prototype.create=function(t,e){return new tb(this._id,t,e||{},this._renderer)},e}(Kp),tb=function(){function t(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n=0&&t*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function pb(t){return pl(2,[Qo(671088640,1,{ripple:0}),(t()(),Go(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),rl(null,0),(t()(),Go(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(4,212992,[[1,4]],0,S_,[an,co,Zf,[2,M_],[2,ub]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),Go(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,Zi(e,4).unbounded)}))}var fb=Xn({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function mb(t){return pl(2,[Qo(671088640,1,{ripple:0}),(t()(),Go(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),rl(null,0),(t()(),Go(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(4,212992,[[1,4]],0,S_,[an,co,Zf,[2,M_],[2,ub]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),Go(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,Zi(e,4).unbounded)}))}var gb=20;function _b(t){return Error('Tooltip position "'+t+'" is invalid.')}var yb=new St("mat-tooltip-scroll-strategy");function vb(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:gb})}}var bb=new St("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),wb=function(){function t(t,e,n,i,r,o,l,a,s,u,c,d){var h=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._ariaDescriber=l,this._focusMonitor=a,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new C,this._scrollStrategy=s;var p=e.nativeElement,f="undefined"==typeof window||window.Hammer||d;o.IOS||o.ANDROID?f||this._manualListeners.set("touchstart",(function(){return h.show()})):this._manualListeners.set("mouseenter",(function(){return h.show()})).set("mouseleave",(function(){return h.hide()})),this._manualListeners.forEach((function(t,e){return p.addEventListener(e,t)})),a.monitor(e).pipe(df(this._destroyed)).subscribe((function(t){t?"keyboard"===t&&r.run((function(){return h.show()})):r.run((function(){return h.hide(0)}))})),c&&c.position&&(this.position=c.position)}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=ff(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")},t.prototype.ngOnDestroy=function(){var t=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((function(e,n){t._elementRef.nativeElement.removeEventListener(n,e)})),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},t.prototype.show=function(t){var e=this;if(void 0===t&&(t=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new rf(kb,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(df(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&t.keyCode===am&&!sm(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},t.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(df(this._destroyed)).subscribe((function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run((function(){return t.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(df(this._destroyed)).subscribe((function(){return t._detach()})),this._overlayRef},t.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},t.prototype._updatePosition=function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object(i.__assign)({},e.main,n.main),Object(i.__assign)({},e.fallback,n.fallback)])},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw _b(n);t={originX:"end",originY:"center"}}var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw _b(n);t={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(mu(1),df(this._destroyed)).subscribe((function(){t._tooltipInstance&&t._overlayRef.updatePosition()})))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t}(),kb=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new C,this._isHandset=this._breakpointObserver.observe(yg.Handset)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype.ngOnDestroy=function(){this._onHide.complete()},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t}(),xb=function(){return function(){}}(),Mb=function(){return function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}();function Sb(){throw Error("Attempting to attach dialog content after content is already attached")}var Cb=function(t){function e(e,n,i,r,o){var l=t.call(this)||this;return l._elementRef=e,l._focusTrapFactory=n,l._changeDetectorRef=i,l._document=r,l._config=o,l._elementFocusedBeforeDialogWasOpened=null,l._state="enter",l._animationStateChanged=new Yr,l._ariaLabelledBy=o.ariaLabelledBy||null,l}return Object(i.__extends)(e,t),e.prototype.attachComponentPortal=function(t){return this._portalOutlet.hasAttached()&&Sb(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._portalOutlet.hasAttached()&&Sb(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)},e.prototype._trapFocus=function(){var t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var e=this._document.activeElement;e===t||t.contains(e)||t.focus()}},e.prototype._restoreFocus=function(){var t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){var t=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return t._elementRef.nativeElement.focus()})))},e.prototype._onAnimationDone=function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)},e.prototype._onAnimationStart=function(t){this._animationStateChanged.emit(t)},e.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},e}(lf),Lb=0,Db=function(){function t(t,e,n,i){var r=this;void 0===i&&(i="mat-dialog-"+Lb++),this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new C,this._afterClosed=new C,this._beforeClosed=new C,this._state=0,e._id=i,e._animationStateChanged.pipe($s((function(t){return"done"===t.phaseName&&"enter"===t.toState})),mu(1)).subscribe((function(){r._afterOpened.next(),r._afterOpened.complete()})),e._animationStateChanged.pipe($s((function(t){return"done"===t.phaseName&&"exit"===t.toState})),mu(1)).subscribe((function(){clearTimeout(r._closeFallbackTimeout),r._overlayRef.dispose()})),t.detachments().subscribe((function(){r._beforeClosed.next(r._result),r._beforeClosed.complete(),r._afterClosed.next(r._result),r._afterClosed.complete(),r.componentInstance=null,r._overlayRef.dispose()})),t.keydownEvents().pipe($s((function(t){return t.keyCode===am&&!r.disableClose&&!sm(t)}))).subscribe((function(t){t.preventDefault(),r.close()}))}return t.prototype.close=function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe($s((function(t){return"start"===t.phaseName})),mu(1)).subscribe((function(n){e._beforeClosed.next(t),e._beforeClosed.complete(),e._state=2,e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout((function(){e._overlayRef.dispose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1},t.prototype.afterOpened=function(){return this._afterOpened.asObservable()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},t.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},t.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},t.prototype.updatePosition=function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},t.prototype.updateSize=function(t,e){return void 0===t&&(t=""),void 0===e&&(e=""),this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this},t.prototype.addPanelClass=function(t){return this._overlayRef.addPanelClass(t),this},t.prototype.removePanelClass=function(t){return this._overlayRef.removePanelClass(t),this},t.prototype.afterOpen=function(){return this.afterOpened()},t.prototype.beforeClose=function(){return this.beforeClosed()},t.prototype.getState=function(){return this._state},t.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},t}(),Tb=new St("MatDialogData"),Ob=new St("mat-dialog-default-options"),Pb=new St("mat-dialog-scroll-strategy");function Eb(t){return function(){return t.scrollStrategies.block()}}var Ib=function(){function t(t,e,n,i,r,o,l){var a=this;this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=i,this._parentDialog=o,this._overlayContainer=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new C,this._afterOpenedAtThisLevel=new C,this._ariaHiddenElements=new Map,this.afterAllClosed=Js((function(){return a.openDialogs.length?a._afterAllClosed:a._afterAllClosed.pipe(Su(void 0))})),this._scrollStrategy=r}return Object.defineProperty(t.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpen",{get:function(){return this.afterOpened},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_afterAllClosed",{get:function(){var t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),t.prototype.open=function(t,e){var n=this;if((e=function(t,e){return Object(i.__assign)({},e,t)}(e,this._defaultOptions||new Mb)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var r=this._createOverlay(e),o=this._attachDialogContainer(r,e),l=this._attachDialogContent(t,o,r,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.afterClosed().subscribe((function(){return n._removeOpenDialog(l)})),this.afterOpened.next(l),l},t.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},t.prototype.getDialogById=function(t){return this.openDialogs.find((function(e){return e.id===t}))},t.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()},t.prototype._createOverlay=function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)},t.prototype._getOverlayConfig=function(t){var e=new _m({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e},t.prototype._attachDialogContainer=function(t,e){var n=new cf(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[Mb,e]])),i=new rf(Cb,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance},t.prototype._attachDialogContent=function(t,e,n,i){var r=new Db(n,e,this._location,i.id);if(i.hasBackdrop&&n.backdropClick().subscribe((function(){r.disableClose||r.close()})),t instanceof Pn)e.attachTemplatePortal(new of(t,null,{$implicit:i.data,dialogRef:r}));else{var o=this._createInjector(i,r,e),l=e.attachComponentPortal(new rf(t,void 0,o));r.componentInstance=l.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r},t.prototype._createInjector=function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=new WeakMap([[Cb,n],[Tb,t.data],[Db,e]]);return!t.direction||i&&i.get(W_,null)||r.set(W_,{value:t.direction,change:Hs()}),new cf(i||this._injector,r)},t.prototype._removeOpenDialog=function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}},t.prototype._closeDialogs=function(t){for(var e=t.length;e--;)t[e].close()},t}(),Yb=0,Ab=function(){function t(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}return t.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=Nb(this._elementRef,this._dialog.openDialogs))},t.prototype.ngOnChanges=function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)},t}(),Rb=function(){function t(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+Yb++}return t.prototype.ngOnInit=function(){var t=this;this._dialogRef||(this._dialogRef=Nb(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)}))},t}(),jb=function(){return function(){}}(),Fb=function(){return function(){}}();function Nb(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find((function(t){return t.id===n.id})):null}var Hb=function(){return function(){}}(),zb=function(){function t(t,e){this.dialogRef=t,this.languageService=e,this.languages=[]}return t.openDialog=function(e){var n=new Mb;return n.autoFocus=!1,n.width=Dg.mediumModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){var t=this;this.subscription=this.languageService.languages.subscribe((function(e){t.languages=e}))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.closePopup=function(t){void 0===t&&(t=null),t&&this.languageService.changeLanguage(t.code),this.dialogRef.close()},t}(),Vb=function(){function t(t,e){this.languageService=t,this.dialog=e}return t.prototype.ngOnInit=function(){var t=this;this.subscription=this.languageService.currentLanguage.subscribe((function(e){t.language=e}))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.openLanguageWindow=function(){zb.openDialog(this.dialog)},t}(),Bb=Xn({encapsulation:0,styles:[[".lang-button[_ngcontent-%COMP%]{height:40px;border-radius:10px}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]],data:{}});function Wb(t){return pl(0,[(t()(),Go(0,0,null,null,0,"img",[["class","flag"]],[[8,"src",4]],null,null,null,null))],null,(function(t,e){t(e,0,0,"assets/img/lang/"+e.component.language.iconName)}))}function Ub(t){return pl(0,[(t()(),Go(0,16777216,null,null,5,"button",[["class","lang-button grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.openLanguageWindow()&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,Wb)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("language.title"))),t(e,5,0,n.language)}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode)}))}function qb(){for(var t=[],e=0;et?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return ow(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return ow(t.value)?null:aw.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(ow(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(ow(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}):t.nullValidator;var n,i},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(uw);return 0==e.length?null:function(t){return dw(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(uw);return 0==e.length?null:function(t){return qb(function(t,e){return e.map((function(e){return e(t)}))}(t,e).map(cw)).pipe(F(dw))}},t}();function uw(t){return null!=t}function cw(t){var e=Ge(t)?V(t):t;if(!Je(e))throw new Error("Expected validator to return Promise or Observable.");return e}function dw(t){var e=t.reduce((function(t,e){return null!=e?Object(i.__assign)({},t,e):t}),{});return 0===Object.keys(e).length?null:e}function hw(t){return t.validate?function(e){return t.validate(e)}:t}function pw(t){return t.validate?function(e){return t.validate(e)}:t}var fw=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),mw=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach((function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)}))},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),gw=function(){function t(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(ew),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}(),_w=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),yw='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',vw='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',bw=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+yw)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+vw+'\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n \n
\n
\n \n
\n
')},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+yw)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+vw)},t.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}();function ww(t,e){return Object(i.__spread)(e.path,[t])}function kw(t,e){t||Cw(e,"Cannot find control with"),e.valueAccessor||Cw(e,"No value accessor for form control with"),t.validator=sw.compose([t.validator,e.validator]),t.asyncValidator=sw.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange((function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&xw(t,e)}))}(t,e),function(t,e){t.registerOnChange((function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&xw(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange((function(t){e.valueAccessor.setDisabledState(t)})),e._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))})),e._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))}))}function xw(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Mw(t,e){null==t&&Cw(e,"Cannot find control with"),t.validator=sw.compose([t.validator,e.validator]),t.asyncValidator=sw.composeAsync([t.asyncValidator,e.asyncValidator])}function Sw(t){return Cw(t,"There is no FormControl instance attached to form control element with")}function Cw(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Lw(t){return null!=t?sw.compose(t.map(hw)):null}function Dw(t){return null!=t?sw.composeAsync(t.map(pw)):null}function Tw(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Be(e,n.currentValue)}var Ow=[Jb,_w,fw,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Be}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var r=Object(i.__values)(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var l=o.value;if(this._compareWith(this._optionMap.get(l),t))return l}}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Be}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var i=t.map((function(t){return n._getOptionId(t)}));e=function(t,e){t._setSelected(i.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,o=0;o-1&&t.splice(n,1)}function Yw(t,e,n,i){te()&&"never"!==i&&((null!==i&&"once"!==i||e._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(bw.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function Aw(t){var e=jw(t)?t.validators:t;return Array.isArray(e)?Lw(e):e||null}function Rw(t,e){var n=jw(e)?e.asyncValidators:t;return Array.isArray(n)?Dw(n):n||null}function jw(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var Fw=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=Aw(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Rw(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object(i.__assign)({},t,{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(i.__assign)({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object(i.__assign)({},t,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object(i.__assign)({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=cw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((function(t,e){return t instanceof Hw?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof zw&&t.at(e)||null}),t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new Yr,this.statusChanges=new Yr},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls((function(e){return e.status===t}))},t.prototype._anyControlsDirty=function(){return this._anyControls((function(t){return t.dirty}))},t.prototype._anyControlsTouched=function(){return this._anyControls((function(t){return t.touched}))},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){jw(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),Nw=function(t){function e(e,n,i){void 0===e&&(e=null);var r=t.call(this,Aw(n),Rw(i,n))||this;return r._onChange=[],r._applyFormState(e),r._setUpdateStrategy(n),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return Object(i.__extends)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((function(t){return t(n.value,!1!==e.emitViewToModelChange)})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(Fw),Hw=function(t){function e(e,n,i){var r=t.call(this,Aw(n),Rw(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(i.__extends)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach((function(i){n._throwIfControlMissing(i),n.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach((function(i){n.controls[i]&&n.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof Nw?e.value:e.getRawValue(),t}))},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild((function(i,r){n=n||e.contains(r)&&t(i)})),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},(function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e}))},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild((function(t,i){n=e(n,t,i)})),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(i.__values)(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},e}(Fw),zw=function(t){function e(e,n,i){var r=t.call(this,Aw(n),Rw(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(i.__extends)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach((function(t,i){n._throwIfControlMissing(i),n.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach((function(t,i){n.at(i)&&n.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map((function(t){return t instanceof Nw?t.value:t.getRawValue()}))},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach((function(e,n){t(e,n)}))},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))},e.prototype._anyControls=function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(i.__values)(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Fw),Vw=function(){return Promise.resolve(null)}(),Bw=function(t){function e(e,n){var i=t.call(this)||this;return i.submitted=!1,i._directives=[],i.ngSubmit=new Yr,i.form=new Hw({},Lw(e),Dw(n)),i}return Object(i.__extends)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Vw.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),kw(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Vw.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),Iw(e._directives,t)}))},e.prototype.addFormGroup=function(t){var e=this;Vw.then((function(){var n=e._findContainer(t.path),i=new Hw({});Mw(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})}))},e.prototype.removeFormGroup=function(t){var e=this;Vw.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Vw.then((function(){n.form.get(t.path).setValue(e)}))},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,Pw(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(Qb),Ww=new St("NgFormSelectorWarning"),Uw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return ww(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Lw(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dw(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(Qb),qw=function(){return function(){}}(),Kw=new St("NgModelWithFormControlWarning"),Gw=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._ngModelWarningConfig=r,o.update=new Yr,o._ngModelWarningSent=!1,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=Ew(o,i),o}var n;return Object(i.__extends)(e,t),n=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(t){bw.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(kw(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Tw(t,this.viewModel)&&(Yw("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Lw(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dw(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e._ngModelWarningSentOnce=!1,e}(ew),Jw=function(t){function e(e,n){var i=t.call(this)||this;return i._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new Yr,i}return Object(i.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return kw(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){Iw(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);Mw(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);Mw(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,Pw(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach((function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange((function(){return Sw(e)})),e.valueAccessor.registerOnTouched((function(){return Sw(e)})),e._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),t&&t._clearChangeFns()}(e.control,e),n&&kw(n,e),e.control=n)})),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange((function(){return t._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=Lw(this._validators);this.form.validator=sw.compose([this.form.validator,t]);var e=Dw(this._asyncValidators);this.form.asyncValidator=sw.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||bw.missingFormException()},e}(Qb),Zw=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(i.__extends)(e,t),e.prototype._checkParentType=function(){Xw(this._parent)&&bw.groupParentException()},e}(Uw),$w=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(i.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return ww(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Lw(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dw(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){Xw(this._parent)&&bw.arrayParentException()},e}(Qb);function Xw(t){return!(t instanceof Zw||t instanceof Jw||t instanceof $w)}var Qw=function(t){function e(e,n,i,r,o){var l=t.call(this)||this;return l._ngModelWarningConfig=o,l._added=!1,l.update=new Yr,l._ngModelWarningSent=!1,l._parent=e,l._rawValidators=n||[],l._rawAsyncValidators=i||[],l.valueAccessor=Ew(l,r),l}var n;return Object(i.__extends)(e,t),n=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(t){bw.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),Tw(t,this.viewModel)&&(Yw("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return ww(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Lw(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dw(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Zw)&&this._parent instanceof Uw?bw.ngModelGroupException():this._parent instanceof Zw||this._parent instanceof Jw||this._parent instanceof $w||bw.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e._ngModelWarningSentOnce=!1,e}(ew),tk=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=sw.maxLength(parseInt(this.maxlength,10))},t}(),ek=function(){return function(){}}(),nk=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),i=null,r=null,o=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,o=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new Hw(n,{asyncValidators:r,updateOn:o,validators:i})},t.prototype.control=function(t,e,n){return new Nw(t,e,n)},t.prototype.array=function(t,e,n){var i=this,r=t.map((function(t){return i._createControl(t)}));return new zw(r,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach((function(i){n[i]=e._createControl(t[i])})),n},t.prototype._createControl=function(t){return t instanceof Nw||t instanceof Hw||t instanceof zw?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t}(),ik=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Ww,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),rk=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Kw,useValue:t.warnOnNgModelWithFormControl}]}},t}(),ok=function(){return function(){}}(),lk=function(){return function(){}}(),ak=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach((function(t){var n=t.indexOf(":");if(n>0){var i=t.slice(0,n),r=i.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(i,r),e.headers.has(r)?e.headers.get(r).push(o):e.headers.set(r,[o])}}))}:function(){e.headers=new Map,Object.keys(t).forEach((function(n){var i=t[n],r=n.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(e.headers.set(r,i),e.maybeSetNormalizedName(n,r))}))}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,Object(i.__spread)(n)),this.headers.set(e,r);break;case"d":var o=t.value;if(o){var l=this.headers.get(e);if(!l)return;0===(l=l.filter((function(t){return-1===o.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,l)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))},t}(),sk=function(){function t(){}return t.prototype.encodeKey=function(t){return uk(t)},t.prototype.encodeValue=function(t){return uk(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function uk(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var ck=function(){function t(t){var e,n,r,o=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new sk,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),o=Object(i.__read)(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),l=o[0],a=o[1],s=r.get(l)||[];s.push(a),r.set(l,s)})),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((function(e){var n=t.fromObject[e];o.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(e.value);-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},t}();function dk(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function hk(t){return"undefined"!=typeof Blob&&t instanceof Blob}function pk(t){return"undefined"!=typeof FormData&&t instanceof FormData}var fk=function(){function t(t,e,n,i){var r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new ak),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":l=200&&this.status<300}}(),_k=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=mk.ResponseHeader,n}return Object(i.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(gk),yk=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=mk.Response,n.body=void 0!==e.body?e.body:null,n}return Object(i.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(gk),vk=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(i.__extends)(e,t),e}(gk);function bk(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var wk=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var i,r=this;if(void 0===n&&(n={}),t instanceof fk)i=t;else{var o;o=n.headers instanceof ak?n.headers:new ak(n.headers);var l=void 0;n.params&&(l=n.params instanceof ck?n.params:new ck({fromObject:n.params})),i=new fk(t,e,void 0!==n.body?n.body:null,{headers:o,params:l,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=Hs(i).pipe(Tu((function(t){return r.handler.handle(t)})));if(t instanceof fk||"events"===n.observe)return a;var s=a.pipe($s((function(t){return t instanceof yk})));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe(F((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return s.pipe(F((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return s.pipe(F((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return s.pipe(F((function(t){return t.body})))}case"response":return s;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new ck).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,bk(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,bk(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,bk(n,e))},t}(),kk=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),xk=new St("HTTP_INTERCEPTORS"),Mk=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),Sk=/^\)\]\}',?\n/,Ck=function(){return function(){}}(),Lk=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),Dk=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new w((function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((function(t,e){return i.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var l=t.serializeBody(),a=null,s=function(){if(null!==a)return a;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new ak(i.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return a=new _k({headers:r,status:e,statusText:n,url:o})},u=function(){var e=s(),r=e.headers,o=e.status,l=e.statusText,a=e.url,u=null;204!==o&&(u=void 0===i.response?i.responseText:i.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var d=u;u=u.replace(Sk,"");try{u=""!==u?JSON.parse(u):null}catch(h){u=d,c&&(c=!1,u={error:h,text:u})}}c?(n.next(new yk({body:u,headers:r,status:o,statusText:l,url:a||void 0})),n.complete()):n.error(new vk({error:u,headers:r,status:o,statusText:l,url:a||void 0}))},c=function(t){var e=s().url,r=new vk({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e||void 0});n.error(r)},d=!1,h=function(e){d||(n.next(s()),d=!0);var r={type:mk.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},p=function(t){var e={type:mk.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",u),i.addEventListener("error",c),t.reportProgress&&(i.addEventListener("progress",h),null!==l&&i.upload&&i.upload.addEventListener("progress",p)),i.send(l),n.next({type:mk.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",u),t.reportProgress&&(i.removeEventListener("progress",h),null!==l&&i.upload&&i.upload.removeEventListener("progress",p)),i.abort()}}))},t}(),Tk=new St("XSRF_COOKIE_NAME"),Ok=new St("XSRF_HEADER_NAME"),Pk=function(){return function(){}}(),Ek=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=hs(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),Ik=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)},t}(),Yk=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(xk,[]);this.chain=e.reduceRight((function(t,e){return new kk(t,e)}),this.backend)}return this.chain.handle(t)},t}(),Ak=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:Ik,useClass:Mk}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:Tk,useValue:t.cookieName}:[],t.headerName?{provide:Ok,useValue:t.headerName}:[]]}},t}(),Rk=function(){return function(){}}();function jk(t){return Error('Unable to find icon with the name "'+t+'"')}function Fk(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+t+'".')}function Nk(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+t+'".')}var Hk=function(){return function(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}(),zk=function(){function t(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}return t.prototype.addSvgIcon=function(t,e,n){return this.addSvgIconInNamespace("",t,e,n)},t.prototype.addSvgIconLiteral=function(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)},t.prototype.addSvgIconInNamespace=function(t,e,n,i){return this._addSvgIconConfig(t,e,new Hk(n,i))},t.prototype.addSvgIconLiteralInNamespace=function(t,e,n,i){var r=this._sanitizer.sanitize(ke.HTML,n);if(!r)throw Nk(n);var o=this._createSvgElementForSingleIcon(r,i);return this._addSvgIconConfig(t,e,new Hk(o,i))},t.prototype.addSvgIconSet=function(t,e){return this.addSvgIconSetInNamespace("",t,e)},t.prototype.addSvgIconSetLiteral=function(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)},t.prototype.addSvgIconSetInNamespace=function(t,e,n){return this._addSvgIconSetConfig(t,new Hk(e,n))},t.prototype.addSvgIconSetLiteralInNamespace=function(t,e,n){var i=this._sanitizer.sanitize(ke.HTML,e);if(!i)throw Nk(e);var r=this._svgElementFromString(i);return this._addSvgIconSetConfig(t,new Hk(r,n))},t.prototype.registerFontClassAlias=function(t,e){return void 0===e&&(e=t),this._fontCssClassesByAlias.set(t,e),this},t.prototype.classNameForFontAlias=function(t){return this._fontCssClassesByAlias.get(t)||t},t.prototype.setDefaultFontSetClass=function(t){return this._defaultFontSetClass=t,this},t.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},t.prototype.getSvgIconFromUrl=function(t){var e=this,n=this._sanitizer.sanitize(ke.RESOURCE_URL,t);if(!n)throw Fk(t);var i=this._cachedIconsByUrl.get(n);return i?Hs(Vk(i)):this._loadSvgIconFromConfig(new Hk(t)).pipe(Pu((function(t){return e._cachedIconsByUrl.set(n,t)})),F((function(t){return Vk(t)})))},t.prototype.getNamedSvgIcon=function(t,e){void 0===e&&(e="");var n=Bk(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Hf(jk(n))},t.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},t.prototype._getSvgFromConfig=function(t){return t.svgElement?Hs(Vk(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Pu((function(e){return t.svgElement=e})),F((function(t){return Vk(t)})))},t.prototype._getSvgFromIconSetConfigs=function(t,e){var n=this,i=this._extractIconWithNameFromAnySet(t,e);return i?Hs(i):qb(e.filter((function(t){return!t.svgElement})).map((function(t){return n._loadSvgIconSetFromConfig(t).pipe(hu((function(e){var i="Loading icon set URL: "+n._sanitizer.sanitize(ke.RESOURCE_URL,t.url)+" failed: "+e.message;return n._errorHandler?n._errorHandler.handleError(new Error(i)):console.error(i),Hs(null)})))}))).pipe(F((function(){var i=n._extractIconWithNameFromAnySet(t,e);if(!i)throw jk(t);return i})))},t.prototype._extractIconWithNameFromAnySet=function(t,e){for(var n=e.length-1;n>=0;n--){var i=e[n];if(i.svgElement){var r=this._extractSvgIconFromSet(i.svgElement,t,i.options);if(r)return r}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(F((function(n){return e._createSvgElementForSingleIcon(n,t.options)})))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return t.svgElement?Hs(t.svgElement):this._fetchUrl(t.url).pipe(F((function(n){return t.svgElement||(t.svgElement=e._svgElementFromString(n)),t.svgElement})))},t.prototype._createSvgElementForSingleIcon=function(t,e){var n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n},t.prototype._extractSvgIconFromSet=function(t,e,n){var i=t.querySelector('[id="'+e+'"]');if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var o=this._svgElementFromString("");return o.appendChild(r),this._setSvgAttributes(o,n)},t.prototype._svgElementFromString=function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString(""),n=t.attributes,i=0;i0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new fx(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(Bf.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(Bf.createComplete()),this.unsubscribe()},e}(m),fx=function(){return function(t,e){this.time=t,this.notification=e}}(),mx=new St("MAT_MENU_PANEL"),gx=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._elementRef=e,o._focusMonitor=i,o._parentMenu=r,o.role="menuitem",o._hovered=new C,o._highlighted=!1,o._triggersSubmenu=!1,i&&i.monitor(o._elementRef,!1),r&&r.addItem&&r.addItem(o),o._document=n,o}return Object(i.__extends)(e,t),e.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)},e.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._checkDisabled=function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())},e.prototype._handleMouseEnter=function(){this._hovered.next(this)},e.prototype.getLabel=function(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,n="";if(t.childNodes)for(var i=t.childNodes.length,r=0;r')}(),this._xPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yPosition",{get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(t){e._classList[t]=!1})),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach((function(t){e._classList[t]=!0})),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.panelClass},set:function(t){this.panelClass=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.setPositionClasses()},t.prototype.ngAfterContentInit=function(){var t=this;this._updateDirectDescendants(),this._keyManager=new Jm(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return t.closed.emit("tab")}))},t.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},t.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(Su(this._directDescendantItems),wu((function(t){return J.apply(void 0,t.map((function(t){return t._hovered})))})))},t.prototype.addItem=function(t){},t.prototype.removeItem=function(t){},t.prototype._handleKeydown=function(t){var e=t.keyCode,n=this._keyManager;switch(e){case am:sm(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:sm(t)||(36===e?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:38!==e&&40!==e||n.setFocusOrigin("keyboard"),n.onKeydown(t)}},t.prototype.focusFirstItem=function(t){void 0===t&&(t="program");var e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(mu(1)).subscribe((function(){return e.setFocusOrigin(t).setFirstItemActive()})):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}},t.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},t.prototype.setElevation=function(t){var e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find((function(t){return t.startsWith("mat-elevation-z")}));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},t.prototype.setPositionClasses=function(t,e){void 0===t&&(t=this.xPosition),void 0===e&&(e=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e},t.prototype._startAnimation=function(){this._panelAnimationState="enter"},t.prototype._resetAnimation=function(){this._panelAnimationState="void"},t.prototype._onAnimationDone=function(t){this._animationDone.next(t),this._isAnimating=!1},t.prototype._onAnimationStart=function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)},t.prototype._updateDirectDescendants=function(){var t=this;this._allItems.changes.pipe(Su(this._allItems)).subscribe((function(e){t._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===t}))),t._directDescendantItems.notifyOnChanges()}))},t}()),vx=function(t){function e(e,n,i){return t.call(this,e,n,i)||this}return Object(i.__extends)(e,t),e}(yx),bx=new St("mat-menu-scroll-strategy");function wx(t){return function(){return t.scrollStrategies.reposition()}}var kx=tm({passive:!0}),xx=function(){function t(t,e,n,i,r,o,l,a){var u=this;this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=r,this._menuItemInstance=o,this._dir=l,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=s.EMPTY,this._hoverSubscription=s.EMPTY,this._menuCloseSubscription=s.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Yr,this.onMenuOpen=this.menuOpened,this.menuClosed=new Yr,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,kx),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=i}return Object.defineProperty(t.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(t){this.menu=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)}))))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},t.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,kx),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return t.closeMenu()})),this._initMenu(),this.menu instanceof yx&&this.menu._startAnimation()}},t.prototype.closeMenu=function(){this.menu.close.emit()},t.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)},t.prototype._destroyMenu=function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof yx?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe($s((function(t){return"void"===t.toState})),mu(1),df(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach()),this._restoreFocus()}},t.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},t.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}},t.prototype._restoreFocus=function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)},t.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()},t.prototype._createOverlay=function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},t.prototype._getOverlayConfig=function(){return new _m({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},t.prototype._subscribeToPositions=function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe((function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")}))},t.prototype._setPosition=function(t){var e="before"===this.menu.xPosition?["end","start"]:["start","end"],n=e[0],i=e[1],r="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],o=r[0],l=r[1],a=[o,l],s=a[0],u=a[1],c=[n,i],d=c[0],h=c[1],p=0;this.triggersSubmenu()?(h=n="before"===this.menu.xPosition?"start":"end",i=d="end"===n?"start":"end",p="bottom"===o?8:-8):this.menu.overlapTrigger||(s="top"===o?"bottom":"top",u="top"===l?"bottom":"top"),t.withPositions([{originX:n,originY:s,overlayX:d,overlayY:o,offsetY:p},{originX:i,originY:s,overlayX:h,overlayY:o,offsetY:p},{originX:n,originY:u,overlayX:d,overlayY:l,offsetY:-p},{originX:i,originY:u,overlayX:h,overlayY:l,offsetY:-p}])},t.prototype._menuClosingActions=function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return J(e,this._parentMenu?this._parentMenu.closed:Hs(),this._parentMenu?this._parentMenu._hovered().pipe($s((function(e){return e!==t._menuItemInstance})),$s((function(){return t._menuOpen}))):Hs(),n)},t.prototype._handleMousedown=function(t){sg(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())},t.prototype._handleKeydown=function(t){var e=t.keyCode;this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&this.openMenu()},t.prototype._handleClick=function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()},t.prototype._handleHover=function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe($s((function(e){return e===t._menuItemInstance&&!e.disabled})),dx(0,Lf)).subscribe((function(){t._openedBy="mouse",t.menu instanceof yx&&t.menu._isAnimating?t.menu._animationDone.pipe(mu(1),dx(0,Lf),df(t._parentMenu._hovered())).subscribe((function(){return t.openMenu()})):t.openMenu()})))},t.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new of(this.menu.templateRef,this._viewContainerRef)),this._portal},t}(),Mx=function(){return function(){}}(),Sx=function(){return function(){}}(),Cx=Xn({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Lx(t){return pl(0,[(t()(),Go(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.closed.emit("click")&&i),"@transformMenu.start"===e&&(i=!1!==r._onAnimationStart(n)&&i),"@transformMenu.done"===e&&(i=!1!==r._onAnimationDone(n)&&i),i}),null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),Go(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),rl(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function Dx(t){return pl(2,[Qo(671088640,1,{templateRef:0}),(t()(),Ko(0,[[1,2]],null,0,null,Lx))],null,null)}var Tx=Xn({encapsulation:2,styles:[],data:{}});function Ox(t){return pl(2,[rl(null,0),(t()(),Go(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(2,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,Zi(e,2).unbounded)}))}var Px=100,Ex=l_(function(){return function(t){this._elementRef=t}}(),"primary"),Ix=new St("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:Px}}}),Yx=function(t){function e(e,n,i,r,o){var l=t.call(this,e,n,i,r,o)||this;return l.mode="indeterminate",l}return Object(i.__extends)(e,t),e}(function(t){function e(n,i,r,o,l){var a=t.call(this,n)||this;a._elementRef=n,a._document=r,a._diameter=Px,a._value=0,a._fallbackAnimation=!1,a.mode="determinate";var s=e._diameters;return s.has(r.head)||s.set(r.head,new Set([Px])),a._fallbackAnimation=i.EDGE||i.TRIDENT,a._noopAnimations="NoopAnimations"===o&&!!l&&!l._forceAnimations,l&&(l.diameter&&(a.diameter=l.diameter),l.strokeWidth&&(a.strokeWidth=l.strokeWidth)),a}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},set:function(t){this._diameter=mf(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=mf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(t){this._value=Math.max(0,Math.min(100,mf(t)))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this._elementRef.nativeElement;this._styleRoot=function(t,e){if("undefined"!=typeof window){var n=e.head;if(n&&(n.createShadowRoot||n.attachShadow)){var i=t.getRootNode?t.getRootNode():null;if(i instanceof window.ShadowRoot)return i}}return null}(t,this._document)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate"+(this._fallbackAnimation?"-fallback":"")+"-animation")},Object.defineProperty(e.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_viewBox",{get:function(){var t=2*this._circleRadius+this.strokeWidth;return"0 0 "+t+" "+t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),e.prototype._attachStyleNode=function(){var t=this._styleRoot,n=this._diameter,i=e._diameters,r=i.get(t);if(!r||!r.has(n)){var o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",n+""),o.textContent=this._getAnimationText(),t.appendChild(o),r||(r=new Set,i.set(t,r)),r.add(n)}},e.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},e._diameters=new WeakMap,e}(Ex)),Ax=function(){return function(){}}(),Rx=Xn({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function jx(t){return pl(0,[(t()(),Go(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function Fx(t){return pl(0,[(t()(),Go(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function Nx(t){return pl(2,[(t()(),Go(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),ur(1,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ko(16777216,null,null,1,null,jx)),ur(3,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,Fx)),ur(5,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)}),(function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)}))}var Hx=function(t){return t[t.Normal=0]="Normal",t[t.Success=1]="Success",t[t.Error=2]="Error",t[t.Loading=3]="Loading",t}({}),zx=function(){function t(){this.type="mat-button",this.disabled=!1,this.color="",this.loadingSize=24,this.action=new Yr,this.notification=!1,this.state=Hx.Normal,this.buttonStates=Hx,this.successDuration=3e3}return t.prototype.ngOnDestroy=function(){this.action.complete()},t.prototype.click=function(){this.disabled||(this.reset(),this.action.emit())},t.prototype.reset=function(){this.state=Hx.Normal,this.disabled=!1,this.notification=!1},t.prototype.focus=function(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()},t.prototype.showEnabled=function(){this.disabled=!1},t.prototype.showDisabled=function(){this.disabled=!0},t.prototype.showLoading=function(){this.state=Hx.Loading,this.disabled=!0},t.prototype.showSuccess=function(){var t=this;this.state=Hx.Success,this.disabled=!1,setTimeout((function(){return t.state=Hx.Normal}),this.successDuration)},t.prototype.showError=function(){this.state=Hx.Error,this.disabled=!1},t.prototype.notify=function(t){this.notification=t},t}(),Vx=Xn({encapsulation:0,styles:[["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}button[_ngcontent-%COMP%] .dot-red[_ngcontent-%COMP%]{margin-left:10px}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}"]],data:{}});function Bx(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Nx,Rx)),ur(1,114688,null,0,Yx,[an,Zf,[2,As],[2,ub],Ix],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,e.component.loadingSize)}),(function(t,e){t(e,0,0,Zi(e,1)._noopAnimations,Zi(e,1).diameter,Zi(e,1).diameter)}))}function Wx(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["done"]))],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function Ux(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["error_outline"]))],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function qx(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.icon)}))}function Kx(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red sm"]],null,null,null,null,null))],null,null)}function Gx(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,Bx)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,Wx)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,Ux)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,qx)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),rl(null,0),(t()(),Ko(16777216,null,null,1,null,Kx)),ur(10,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,n.state===n.buttonStates.Loading),t(e,3,0,n.state===n.buttonStates.Success),t(e,5,0,n.state===n.buttonStates.Error),t(e,7,0,n.state===n.buttonStates.Normal&&n.icon),t(e,10,0,n.notification)}),null)}function Jx(t){return pl(0,[(t()(),Go(0,0,null,null,6,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.click()&&i),i}),pb,hb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(3,{"grey-button-background":0}),ur(4,180224,[[1,4],["button1",4]],0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"],color:[1,"color"]},null),(t()(),Go(5,16777216,null,0,1,null,null,null,null,null,null,null)),ur(6,540672,null,0,Ts,[In],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,!n.disabled);t(e,2,0,i),t(e,4,0,n.disabled,n.color),t(e,6,0,Zi(e.parent,2))}),(function(t,e){t(e,0,0,Zi(e,4).disabled||null,"NoopAnimations"===Zi(e,4)._animationMode)}))}function Zx(t){return pl(0,[(t()(),Go(0,0,null,null,3,"button",[["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.click()&&i),i}),pb,hb)),ur(1,180224,[[2,4],["button2",4]],0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"],color:[1,"color"]},null),(t()(),Go(2,16777216,null,0,1,null,null,null,null,null,null,null)),ur(3,540672,null,0,Ts,[In],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.disabled,n.color),t(e,3,0,Zi(e.parent,2))}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode)}))}function $x(t){return pl(0,[Qo(671088640,1,{button1:0}),Qo(671088640,2,{button2:0}),(t()(),Ko(0,[["contentTpl",2]],null,0,null,Gx)),(t()(),Ko(16777216,null,null,1,null,Jx)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,Zx)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0,"mat-button"===n.type),t(e,6,0,"mat-raised-button"===n.type)}),null)}var Xx=function(){function t(){}return Object.defineProperty(t.prototype,"upperContents",{get:function(){return this.upperContentsInternal},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lowerContents",{get:function(){return this.lowerContentsInternal},enumerable:!0,configurable:!0}),t.prototype.setContents=function(t,e){return this.actionsSubject&&this.actionsSubject.complete(),this.upperContentsInternal=t,this.lowerContentsInternal=e,this.actionsSubject=new C,this.actionsSubject.asObservable()},t.prototype.requestAction=function(t){this.actionsSubject&&this.actionsSubject.next(t)},t.ngInjectableDef=ht({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Qx=function(){function t(t,e,n){this.sidenavService=t,this.languageService=e,this.dialog=n,this.hideLanguageButton=!0,this.langSubscriptionsGroup=[]}return t.prototype.ngOnInit=function(){var t=this;this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe((function(e){t.language=e}))),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe((function(e){t.hideLanguageButton=!(e.length>1)})))},t.prototype.ngOnDestroy=function(){this.langSubscriptionsGroup.forEach((function(t){return t.unsubscribe()}))},t.prototype.requestAction=function(t){this.sidenavService.requestAction(t)},t.prototype.openLanguageWindow=function(){zb.openDialog(this.dialog)},t}(),tM=Xn({encapsulation:0,styles:[["[_nghost-%COMP%]{height:100%;display:flex;flex-direction:column}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:1;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex;box-shadow:0 0 5px 2px rgba(0,0,0,.1),1px 1px 5px 1px rgba(0,0,0,.1)}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:rgba(0,0,0,.12)}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.left-bar-container[_ngcontent-%COMP%]{width:250px;flex-shrink:0}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;display:flex}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{width:250px;flex-grow:1;display:flex;flex-direction:column;padding:15px;background:rgba(255,255,255,.1)}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;align-items:center;height:87px;border-bottom:1px solid rgba(255,255,255,.44)}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:170px}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%]{flex:1;margin-top:30px;display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] app-button{width:100%}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] app-button button{width:100%;text-align:left;margin-bottom:6px}.left-bar-container[_ngcontent-%COMP%] .left-bar-internal-container[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] .menu-container[_ngcontent-%COMP%] .upper-actions[_ngcontent-%COMP%] .button-group[_ngcontent-%COMP%]{margin-bottom:30px}.content[_ngcontent-%COMP%]{padding:20px!important;overflow:hidden}.transparent[_ngcontent-%COMP%]{opacity:.5}"]],data:{}});function eM(t){return pl(0,[(t()(),Go(0,0,null,null,10,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,9,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,2)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,2)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.requestAction(t.context.$implicit.actionName)&&i),i}),Ox,Tx)),ur(2,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),Go(3,0,null,0,5,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(5,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(6,{transparent:0}),ur(7,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(8,0,["",""])),(t()(),cl(9,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,2,0,e.context.$implicit.disabled);var n=t(e,6,0,e.context.$implicit.disabled);t(e,5,0,n),t(e,7,0)}),(function(t,e){t(e,1,0,Zi(e,2).role,Zi(e,2)._highlighted,Zi(e,2)._triggersSubmenu,Zi(e,2)._getTabIndex(),Zi(e,2).disabled.toString(),Zi(e,2).disabled||null),t(e,3,0,Zi(e,7).inline,"primary"!==Zi(e,7).color&&"accent"!==Zi(e,7).color&&"warn"!==Zi(e,7).color),t(e,8,0,e.context.$implicit.icon),t(e,9,0,Jn(e,9,0,Zi(e,10).transform(e.context.$implicit.name)))}))}function nM(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,eM)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,e.component.sidenavService.upperContents)}),null)}function iM(t){return pl(0,[(t()(),Go(0,0,null,null,0,"div",[["class","menu-separator"]],null,null,null,null,null))],null,null)}function rM(t){return pl(0,[(t()(),Go(0,0,null,null,10,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,9,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,2)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,2)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.requestAction(t.context.$implicit.actionName)&&i),i}),Ox,Tx)),ur(2,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),Go(3,0,null,0,5,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(5,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(6,{transparent:0}),ur(7,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(8,0,["",""])),(t()(),cl(9,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,2,0,e.context.$implicit.disabled);var n=t(e,6,0,e.context.$implicit.disabled);t(e,5,0,n),t(e,7,0)}),(function(t,e){t(e,1,0,Zi(e,2).role,Zi(e,2)._highlighted,Zi(e,2)._triggersSubmenu,Zi(e,2)._getTabIndex(),Zi(e,2).disabled.toString(),Zi(e,2).disabled||null),t(e,3,0,Zi(e,7).inline,"primary"!==Zi(e,7).color&&"accent"!==Zi(e,7).color&&"warn"!==Zi(e,7).color),t(e,8,0,e.context.$implicit.icon),t(e,9,0,Jn(e,9,0,Zi(e,10).transform(e.context.$implicit.name)))}))}function oM(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,rM)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,e.component.sidenavService.lowerContents)}),null)}function lM(t){return pl(0,[(t()(),Go(0,0,null,null,0,"div",[["class","menu-separator"]],null,null,null,null,null))],null,null)}function aM(t){return pl(0,[(t()(),Go(0,0,null,null,0,"img",[["class","flag"]],[[8,"src",4]],null,null,null,null))],null,(function(t,e){t(e,0,0,"assets/img/lang/"+e.component.language.iconName)}))}function sM(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.openLanguageWindow()&&i),i}),Ox,Tx)),ur(1,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),Ko(16777216,null,0,1,null,aM)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(4,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,e.component.language)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).role,Zi(e,1)._highlighted,Zi(e,1)._triggersSubmenu,Zi(e,1)._getTabIndex(),Zi(e,1).disabled.toString(),Zi(e,1).disabled||null),t(e,4,0,Jn(e,4,0,Zi(e,5).transform(n.language?n.language.name:"")))}))}function uM(t){return pl(0,[(t()(),Go(0,0,null,null,4,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"app-button",[],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.requestAction(t.context.$implicit.actionName)&&i),i}),$x,Vx)),ur(2,180224,null,0,zx,[],{disabled:[0,"disabled"],icon:[1,"icon"]},{action:"action"}),(t()(),cl(3,0,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,2,0,e.context.$implicit.disabled,e.context.$implicit.icon)}),(function(t,e){t(e,3,0,Jn(e,3,0,Zi(e,4).transform(e.context.$implicit.name)))}))}function cM(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,uM)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,e.component.sidenavService.upperContents)}),null)}function dM(t){return pl(0,[(t()(),Go(0,0,null,null,4,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"app-button",[],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.requestAction(t.context.$implicit.actionName)&&i),i}),$x,Vx)),ur(2,180224,null,0,zx,[],{disabled:[0,"disabled"],icon:[1,"icon"]},{action:"action"}),(t()(),cl(3,0,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,2,0,e.context.$implicit.disabled,e.context.$implicit.icon)}),(function(t,e){t(e,3,0,Jn(e,3,0,Zi(e,4).transform(e.context.$implicit.name)))}))}function hM(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,dM)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,e.component.sidenavService.lowerContents)}),null)}function pM(t){return pl(0,[(t()(),Go(0,0,null,null,27,"div",[["class","top-bar d-lg-none"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,0,"div",[["class","button-container"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,1,"div",[["class","logo-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,0,"img",[["src","/assets/img/logo-s.png"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,23,"div",[["class","button-container"]],null,null,null,null,null)),(t()(),Go(5,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==Zi(t,7)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==Zi(t,7)._handleKeydown(n)&&i),"click"===e&&(i=!1!==Zi(t,7)._handleClick(n)&&i),i}),pb,hb)),ur(6,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(7,1196032,null,0,xx,[Pm,an,In,bx,[2,yx],[8,null],[2,W_],lg],{menu:[0,"menu"]},null),(t()(),Go(8,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(9,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["menu"])),(t()(),Go(11,0,null,null,16,"mat-menu",[],null,null,null,Dx,Cx)),dr(6144,null,yx,null,[vx]),dr(6144,null,mx,null,[yx]),ur(14,1294336,[["menu",4]],3,vx,[an,co,_x],{overlapTrigger:[0,"overlapTrigger"]},null),Qo(603979776,1,{_allItems:1}),Qo(603979776,2,{items:1}),Qo(603979776,3,{lazyContent:0}),(t()(),Ko(16777216,null,0,1,null,nM)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,iM)),ur(21,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,oM)),ur(23,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,lM)),ur(25,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,sM)),ur(27,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(28,0,null,null,0,"div",[["class","top-bar-margin d-lg-none"]],null,null,null,null,null)),(t()(),Go(29,0,null,null,16,"div",[["class","h-100 d-flex"]],null,null,null,null,null)),(t()(),Go(30,0,null,null,12,"div",[["class","left-bar-container d-none d-lg-block"]],null,null,null,null,null)),(t()(),Go(31,0,null,null,11,"div",[["class","left-bar-internal-container"]],null,null,null,null,null)),(t()(),Go(32,0,null,null,10,"nav",[],null,null,null,null,null)),(t()(),Go(33,0,null,null,1,"div",[["class","header"]],null,null,null,null,null)),(t()(),Go(34,0,null,null,0,"img",[["src","/assets/img/logo-h.png"]],null,null,null,null,null)),(t()(),Go(35,0,null,null,7,"div",[["class","menu-container"]],null,null,null,null,null)),(t()(),Go(36,0,null,null,3,"div",[["class","upper-actions"]],null,null,null,null,null)),(t()(),Go(37,0,null,null,2,"div",[["class","button-group"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,cM)),ur(39,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(40,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,hM)),ur(42,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(43,0,null,null,2,"div",[["class","content container-fluid"]],null,null,null,null,null)),(t()(),Go(44,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ur(45,212992,null,0,mp,[fp,In,nn,[8,null],De],null,null)],(function(t,e){var n=e.component;t(e,7,0,Zi(e,14)),t(e,9,0),t(e,14,0,!1),t(e,19,0,n.sidenavService.upperContents),t(e,21,0,n.sidenavService.upperContents&&n.sidenavService.lowerContents),t(e,23,0,n.sidenavService.lowerContents),t(e,25,0,!n.hideLanguageButton&&(n.sidenavService.upperContents||n.sidenavService.lowerContents)),t(e,27,0,!n.hideLanguageButton),t(e,39,0,n.sidenavService.upperContents),t(e,42,0,n.sidenavService.lowerContents),t(e,45,0)}),(function(t,e){t(e,5,0,Zi(e,6).disabled||null,"NoopAnimations"===Zi(e,6)._animationMode,Zi(e,7).menuOpen||null),t(e,8,0,Zi(e,9).inline,"primary"!==Zi(e,9).color&&"accent"!==Zi(e,9).color&&"warn"!==Zi(e,9).color)}))}function fM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sidenav",[],null,null,null,pM,tM)),ur(1,245760,null,0,Qx,[Xx,Jg,Ib],null,null)],(function(t,e){t(e,1,0)}),null)}var mM=Ni("app-sidenav",Qx,fM,{},{},[]),gM=function(t){return t[t.Seconds=0]="Seconds",t[t.Minutes=1]="Minutes",t[t.Hours=2]="Hours",t[t.Days=3]="Days",t[t.Weeks=4]="Weeks",t}({}),_M=function(){return function(){}}(),yM=function(){function t(){}return t.getElapsedTime=function(t){var e=new _M;e.timeRepresentation=gM.Seconds,e.totalMinutes=Math.floor(t/60).toString(),e.translationVarName="second";var n=1;t>=60&&t<3600?(e.timeRepresentation=gM.Minutes,n=60,e.translationVarName="minute"):t>=3600&&t<86400?(e.timeRepresentation=gM.Hours,n=3600,e.translationVarName="hour"):t>=86400&&t<604800?(e.timeRepresentation=gM.Days,n=86400,e.translationVarName="day"):t>=604800&&(e.timeRepresentation=gM.Weeks,n=604800,e.translationVarName="week");var i=Math.floor(t/n);return e.elapsedTime=i.toString(),(e.timeRepresentation===gM.Seconds||i>1)&&(e.translationVarName=e.translationVarName+"s"),e},t}(),vM=function(){function t(){this.refeshRate=-1}return Object.defineProperty(t.prototype,"secondsSinceLastUpdate",{set:function(t){this.elapsedTime=yM.getElapsedTime(t)},enumerable:!0,configurable:!0}),t}(),bM=Xn({encapsulation:0,styles:[[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width:767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]],data:{}});function wM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-spinner",[["class","icon d-none d-md-inline-block mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Nx,Rx)),ur(1,114688,null,0,Yx,[an,Zf,[2,As],[2,ub],Ix],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,14)}),(function(t,e){t(e,0,0,Zi(e,1)._noopAnimations,Zi(e,1).diameter,Zi(e,1).diameter)}))}function kM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-spinner",[["class","icon d-md-none mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Nx,Rx)),ur(1,114688,null,0,Yx,[an,Zf,[2,As],[2,ub],Ix],{diameter:[0,"diameter"]},null)],(function(t,e){t(e,1,0,18)}),(function(t,e){t(e,0,0,Zi(e,1)._noopAnimations,Zi(e,1).diameter,Zi(e,1).diameter)}))}function xM(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["refresh"]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function MM(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","icon alert mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["warning"]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function SM(t){return pl(0,[(t()(),Go(0,0,null,null,4,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,xM)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,MM)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){var n=e.component;t(e,2,0,!n.showAlert),t(e,4,0,n.showAlert)}),null)}function CM(t){return pl(0,[(t()(),Go(0,0,null,null,3,"span",[["class","d-none d-md-inline"]],null,null,null,null,null)),(t()(),cl(1,null,["",""])),sl(2,{time:0}),cr(131072,qg,[Wg,De])],null,(function(t,e){var n=e.component,i=Jn(e,1,0,Zi(e,3).transform("refresh-button."+n.elapsedTime.translationVarName,t(e,2,0,n.elapsedTime.elapsedTime)));t(e,1,0,i)}))}function LM(t){return pl(0,[(t()(),Go(0,16777216,null,null,15,"button",[["class","time-button white-theme"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,5).show()&&i),"keydown"===e&&(i=!1!==Zi(t,5)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,5)._handleTouchend()&&i),i}),pb,hb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"grey-button-background":0}),ur(4,180224,null,0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"]},null),ur(5,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),sl(6,{time:0}),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,wM)),ur(9,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,kM)),ur(11,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,SM)),ur(13,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,CM)),ur(15,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,!n.showLoading);t(e,2,0,"time-button white-theme",i),t(e,4,0,n.showLoading);var r=n.showAlert?Jn(e,5,0,Zi(e,7).transform("refresh-button.error-tooltip",t(e,6,0,n.refeshRate))):"";t(e,5,0,r),t(e,9,0,n.showLoading),t(e,11,0,n.showLoading),t(e,13,0,!n.showLoading),t(e,15,0,n.elapsedTime)}),(function(t,e){t(e,0,0,Zi(e,4).disabled||null,"NoopAnimations"===Zi(e,4)._animationMode)}))}var DM=function(){function t(t,e){this.data=t,this.dialogRef=e}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.closePopup=function(t){this.dialogRef.close(t+1)},t}(),TM=function(){function t(t,e,n){this.languageService=t,this.dialog=e,this.router=n,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.refreshRequested=new Yr,this.hideLanguageButton=!0}return t.prototype.ngOnInit=function(){var t=this;this.langSubscription=this.languageService.languages.subscribe((function(e){t.hideLanguageButton=!(e.length>1)}))},t.prototype.ngOnDestroy=function(){this.langSubscription.unsubscribe(),this.refreshRequested.complete()},t.prototype.sendRefreshEvent=function(){this.refreshRequested.emit()},t.prototype.openTabSelector=function(){var t=this;DM.openDialog(this.dialog,this.tabsData).afterClosed().subscribe((function(e){e&&(e-=1)!==t.selectedTabIndex&&t.router.navigate(t.tabsData[e].linkParts,{replaceUrl:!0})}))},t}(),OM=Xn({encapsulation:0,styles:[[".main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.44);padding-bottom:10px;margin-bottom:-5px;height:82px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:5px;margin-left:5px;opacity:.75;font-weight:lighter}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .old[_ngcontent-%COMP%]{opacity:.75}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{margin:0 2px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1;color:#f8f9f9;background-color:rgba(32,34,38,.44)}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:5px;opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-2px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .full-opacity[_ngcontent-%COMP%]{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] app-lang-button[_ngcontent-%COMP%]{margin-left:2px}"]],data:{}});function PM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[["class","separator"]],null,null,null,null,null)),(t()(),cl(-1,null,["/"]))],null,null)}function EM(t){return pl(0,[(t()(),Go(0,0,null,null,7,"span",[],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(3,{old:0}),(t()(),cl(4,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,PM)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,e.context.index!==n.titleParts.length-1);t(e,2,0,i),t(e,7,0,e.context.index!==n.titleParts.length-1)}),(function(t,e){t(e,4,0,Jn(e,4,0,Zi(e,5).transform(e.context.$implicit)))}))}function IM(t){return pl(0,[(t()(),Go(0,0,null,null,15,"div",[],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(3,{"d-lg-none":0,"d-none d-md-inline-block":1}),(t()(),Go(4,0,null,null,11,"a",[["class","tab-button white-theme"],["mat-button",""],["replaceUrl",""]],[[1,"target",0],[8,"href",4],[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,8).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),"click"===e&&(i=!1!==Zi(t,9)._haltDisabledEvents(n)&&i),i}),mb,fb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"mouse-disabled":0,"grey-button-background":1}),ur(8,671744,null,0,dp,[cp,th,Da],{replaceUrl:[0,"replaceUrl"],routerLink:[1,"routerLink"]},null),ur(9,180224,null,0,z_,[lg,an,[2,ub]],{disabled:[0,"disabled"]},null),(t()(),Go(10,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(11,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(12,0,["",""])),(t()(),Go(13,0,null,0,2,"span",[],null,null,null,null,null)),(t()(),cl(14,null,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component,i=t(e,3,0,e.context.$implicit.onlyIfLessThanLg,1!==n.tabsData.length);t(e,2,0,i);var r=t(e,7,0,n.disableMouse,!n.disableMouse&&e.context.index!==n.selectedTabIndex);t(e,6,0,"tab-button white-theme",r),t(e,8,0,"",e.context.$implicit.linkParts),t(e,9,0,e.context.index===n.selectedTabIndex),t(e,11,0,!0)}),(function(t,e){t(e,4,0,Zi(e,8).target,Zi(e,8).href,Zi(e,9).disabled?-1:Zi(e,9).tabIndex||0,Zi(e,9).disabled||null,Zi(e,9).disabled.toString(),"NoopAnimations"===Zi(e,9)._animationMode),t(e,10,0,Zi(e,11).inline,"primary"!==Zi(e,11).color&&"accent"!==Zi(e,11).color&&"warn"!==Zi(e,11).color),t(e,12,0,e.context.$implicit.icon),t(e,14,0,Jn(e,14,0,Zi(e,15).transform(e.context.$implicit.label)))}))}function YM(t){return pl(0,[(t()(),Go(0,0,null,null,17,"div",[["class","d-md-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"d-none":0}),(t()(),Go(4,0,null,null,13,"button",[["class","tab-button full-opacity white-theme"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openTabSelector()&&i),i}),pb,hb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"mouse-disabled":0,"grey-button-background":1}),ur(8,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(9,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(10,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(11,0,["",""])),(t()(),Go(12,0,null,0,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(16,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"]))],(function(t,e){var n=e.component,i=t(e,3,0,1===n.tabsData.length);t(e,2,0,"d-md-none",i);var r=t(e,7,0,n.disableMouse,!n.disableMouse);t(e,6,0,"tab-button full-opacity white-theme",r),t(e,10,0,!0),t(e,16,0,!0)}),(function(t,e){var n=e.component;t(e,4,0,Zi(e,8).disabled||null,"NoopAnimations"===Zi(e,8)._animationMode),t(e,9,0,Zi(e,10).inline,"primary"!==Zi(e,10).color&&"accent"!==Zi(e,10).color&&"warn"!==Zi(e,10).color),t(e,11,0,n.tabsData[n.selectedTabIndex].icon),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.tabsData[n.selectedTabIndex].label))),t(e,15,0,Zi(e,16).inline,"primary"!==Zi(e,16).color&&"accent"!==Zi(e,16).color&&"warn"!==Zi(e,16).color)}))}function AM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-refresh-button",[],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.sendRefreshEvent()&&i),i}),LM,bM)),ur(1,49152,null,0,vM,[],{secondsSinceLastUpdate:[0,"secondsSinceLastUpdate"],showLoading:[1,"showLoading"],showAlert:[2,"showAlert"],refeshRate:[3,"refeshRate"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.secondsSinceLastUpdate,n.showLoading,n.showAlert,n.refeshRate)}),null)}function RM(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-lang-button",[["class","d-none d-lg-inline"]],null,null,null,Ub,Bb)),ur(1,245760,null,0,Vb,[Jg,Ib],null,null)],(function(t,e){t(e,1,0)}),null)}function jM(t){return pl(0,[(t()(),Go(0,0,null,null,14,"div",[["class","main-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,EM)),ur(3,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(4,0,null,null,10,"div",[["class","lower-container"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,IM)),ur(6,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,YM)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(9,0,null,null,0,"div",[["class","blank-space"]],null,null,null,null,null)),(t()(),Go(10,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,AM)),ur(12,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,RM)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.titleParts),t(e,6,0,n.tabsData),t(e,8,0,n.tabsData&&n.tabsData[n.selectedTabIndex]),t(e,12,0,n.showUpdateButton),t(e,14,0,!n.hideLanguageButton)}),null)}var FM=function(){return function(){this.showWhite=!0}}(),NM=Xn({encapsulation:0,styles:[["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]],data:{}});function HM(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","container"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"white-theme":0}),(t()(),Go(4,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,Nx,Rx)),ur(5,114688,null,0,Yx,[an,Zf,[2,As],[2,ub],Ix],{diameter:[0,"diameter"]},null)],(function(t,e){var n=t(e,3,0,e.component.showWhite);t(e,2,0,"container",n),t(e,5,0,50)}),(function(t,e){t(e,4,0,Zi(e,5)._noopAnimations,Zi(e,5).diameter,Zi(e,5).diameter)}))}var zM=function(){return function(){}}(),VM=function(){function t(t){this.apiService=t}return t.prototype.getTransports=function(t){return this.apiService.get("visors/"+t+"/transports")},t.prototype.create=function(t,e,n){return this.apiService.post("visors/"+t+"/transports",{remote_pk:e,transport_type:n,public:!0})},t.prototype.delete=function(t,e){return this.apiService.delete("visors/"+t+"/transports/"+e)},t.prototype.types=function(t){return this.apiService.get("visors/"+t+"/transport-types")},t.ngInjectableDef=ht({factory:function(){return new t(At(nx))},token:t,providedIn:"root"}),t}(),BM=function(){function t(t){this.apiService=t}return t.prototype.getRoutes=function(t){return this.apiService.get("visors/"+t+"/routes")},t.prototype.get=function(t,e){return this.apiService.get("visors/"+t+"/routes/"+e)},t.prototype.delete=function(t,e){return this.apiService.delete("visors/"+t+"/routes/"+e)},t.ngInjectableDef=ht({factory:function(){return new t(At(nx))},token:t,providedIn:"root"}),t}(),WM=function(){function t(t,e,n,i){this.apiService=t,this.storageService=e,this.transportService=n,this.routeService=i}return t.prototype.getNodes=function(){var t=this;return this.apiService.get("visors").pipe(F((function(e){e=e||[];var n=new Map;e.forEach((function(e){e.ip=t.getAddressPart(e.tcp_addr,0),e.port=t.getAddressPart(e.tcp_addr,1),e.label=t.storageService.getNodeLabel(e.local_pk),n.set(e.local_pk,e)}));var i=[];return t.storageService.getNodes().forEach((function(e){if(!n.has(e.publicKey)&&!e.deleted){var r=new zM;r.local_pk=e.publicKey,r.label=e.label,r.online=!1,i.push(r)}n.has(e.publicKey)&&!n.get(e.publicKey).online&&e.deleted&&n.delete(e.publicKey),n.has(e.publicKey)&&n.get(e.publicKey).online&&e.deleted&&t.storageService.changeNodeState(e.publicKey,!1)})),e=[],n.forEach((function(t){return e.push(t)})),e=e.concat(i)})))},t.prototype.getNode=function(t){var e,n=this;return this.apiService.get("visors/"+t).pipe(B((function(i){return i.ip=n.getAddressPart(i.tcp_addr,0),i.port=n.getAddressPart(i.tcp_addr,1),i.label=n.storageService.getNodeLabel(i.local_pk),e=i,n.apiService.get("visors/"+t+"/health")})),B((function(i){return e.health=i,n.apiService.get("visors/"+t+"/uptime")})),B((function(i){return e.seconds_online=Math.floor(Number.parseFloat(i)),n.transportService.getTransports(t)})),B((function(i){return e.transports=i,n.routeService.getRoutes(t)})),F((function(t){return e.routes=t,e})))},t.prototype.getAddressPart=function(t,e){var n=t.split(":"),i=t;return n&&2===n.length&&(i=n[e]),i},t.prototype.reboot=function(t){return this.apiService.post("visors/"+t+"/restart")},t.prototype.checkUpdate=function(t){return this.apiService.get("visors/"+t+"/update/available")},t.prototype.update=function(t){return this.apiService.post("visors/"+t+"/update")},t.ngInjectableDef=ht({factory:function(){return new t(At(nx),At(Fp),At(VM),At(BM))},token:t,providedIn:"root"}),t}(),UM=function(){function t(t,e,n,i,r){this.dialogRef=t,this.data=e,this.formBuilder=n,this.storageService=i,this.snackbarService=r}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){this.form=this.formBuilder.group({label:[this.data.label]})},t.prototype.ngAfterViewInit=function(){var t=this;setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.save=function(){var t=this.form.get("label").value.trim();this.storageService.setNodeLabel(this.data.local_pk,t),t?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.default-label-warning"),this.dialogRef.close(!0)},t}(),qM=function(){function t(t,e){this.data=t,this.dialogRef=e}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.closePopup=function(t,e){this.dialogRef.close({label:t,sortReverse:e})},t}(),KM=function(t){return t.Asking="Asking",t.Processing="Processing",t.Done="Done",t}({}),GM=function(){function t(t,e){this.dialogRef=t,this.data=e,this.disableDismiss=!1,this.state=KM.Asking,this.confirmationStates=KM,this.operationAccepted=new Yr,this.disableDismiss=!!e.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}return t.prototype.ngAfterViewInit=function(){var t=this;this.data.cancelButtonText?setTimeout((function(){return t.cancelButton.focus()})):setTimeout((function(){return t.confirmButton.focus()}))},t.prototype.ngOnDestroy=function(){this.operationAccepted.complete()},t.prototype.closeModal=function(){this.dialogRef.close()},t.prototype.sendOperationAcceptedEvent=function(){this.operationAccepted.emit()},t.prototype.showAsking=function(t){t&&(this.data=t),this.state=KM.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()},t.prototype.showProcessing=function(){this.state=KM.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()},t.prototype.showDone=function(t,e){var n=this;this.doneTitle=t||this.data.headerText,this.doneText=e,this.confirmButton.reset(),setTimeout((function(){return n.confirmButton.focus()})),this.state=KM.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1},t}(),JM=function(){function t(){}return t.createConfirmationDialog=function(t,e){var n={text:e,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!0},i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,t.open(GM,i)},t}(),ZM=function(){function t(t,e){this.data=t,this.dialogRef=e}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.closePopup=function(t){this.dialogRef.close(t)},t}(),$M=function(t){return t.Label="nodes.label",t.Key="nodes.key",t}({}),XM=function(){function t(t,e,n,i,r,o,l,a){this.nodeService=t,this.router=e,this.dialog=n,this.authService=i,this.storageService=r,this.ngZone=o,this.snackbarService=l,this.sidenavService=a,this.sortableColumns=$M,this.loading=!0,this.tabsData=[],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}]}return Object.defineProperty(t.prototype,"sortBy",{get:function(){return t.sortByInternal},set:function(e){t.sortByInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortReverse",{get:function(){return t.sortReverseInternal},set:function(e){t.sortReverseInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.refresh(0),this.ngZone.runOutsideAngular((function(){t.updateTimeSubscription=Af(5e3,5e3).subscribe((function(){return t.ngZone.run((function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)}))}))})),setTimeout((function(){t.menuSubscription=t.sidenavService.setContents([{name:"common.logout",actionName:"logout",icon:"power_settings_new"}],null).subscribe((function(e){"logout"===e&&t.logout()}))}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.menuSubscription&&this.menuSubscription.unsubscribe()},t.prototype.nodeStatusClass=function(t,e){switch(t.online){case!0:return e?"dot-green":"green-text";default:return e?"dot-red":"red-text"}},t.prototype.nodeStatusText=function(t,e){switch(t.online){case!0:return"node.statuses.online"+(e?"-tooltip":"");default:return"node.statuses.offline"+(e?"-tooltip":"")}},t.prototype.changeSortingOrder=function(t){this.sortBy!==t?(this.sortBy=t,this.sortReverse=!1):this.sortReverse=!this.sortReverse,this.sortList()},t.prototype.openSortingOrderModal=function(){var t=this,e=Object.keys($M),n=new Map,i=e.map((function(t){var e=$M[t];return n.set(e,$M[t]),e}));qM.openDialog(this.dialog,i).afterClosed().subscribe((function(e){e&&(!n.has(e.label)||e.sortReverse===t.sortReverse&&n.get(e.label)===t.sortBy||(t.sortBy=n.get(e.label),t.sortReverse=e.sortReverse,t.sortList()))}))},t.prototype.refresh=function(t,e){var n=this;void 0===e&&(e=!1),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.ngZone.runOutsideAngular((function(){n.dataSubscription=Hs(1).pipe(dx(t),Pu((function(){return n.ngZone.run((function(){return n.updating=!0}))})),dx(120),B((function(){return n.nodeService.getNodes()}))).subscribe((function(t){n.ngZone.run((function(){n.dataSource=t,n.sortList(),n.loading=!1,n.snackbarService.closeCurrentIfTemporaryError(),n.lastUpdate=Date.now(),n.secondsSinceLastUpdate=0,n.updating=!1,n.errorsUpdating=!1,e&&n.snackbarService.showDone("common.refreshed",null),n.refresh(1e3*n.storageService.getRefreshTime())}))}),(function(t){n.ngZone.run((function(){t=Up(t),n.errorsUpdating||n.snackbarService.showError(n.loading?"common.loading-error":"nodes.error-load",null,!0,t),n.updating=!1,n.errorsUpdating=!0,n.refresh(n.loading?3e3:1e3*n.storageService.getRefreshTime(),e)}))}))}))},t.prototype.sortList=function(){var t=this;this.dataSource=this.dataSource.sort((function(e,n){var i,r=e.local_pk.localeCompare(n.local_pk);return 0!==(i=t.sortBy===$M.Key?t.sortReverse?n.local_pk.localeCompare(e.local_pk):e.local_pk.localeCompare(n.local_pk):t.sortBy===$M.Label?t.sortReverse?n.label.localeCompare(e.label):e.label.localeCompare(n.label):r)?i:r}))},t.prototype.logout=function(){var t=this;this.authService.logout().subscribe((function(){return t.router.navigate(["login"])}),(function(){return t.snackbarService.showError("common.logout-error")}))},t.prototype.showOptionsDialog=function(t){var e=this;ZM.openDialog(this.dialog,[{icon:"short_text",label:"edit-label.title"},{icon:"close",label:"nodes.delete-node"}]).afterClosed().subscribe((function(n){1===n?e.showEditLabelDialog(t):2===n&&e.deleteNode(t)}))},t.prototype.showEditLabelDialog=function(t){var e=this;UM.openDialog(this.dialog,t).afterClosed().subscribe((function(t){t&&e.refresh(0)}))},t.prototype.deleteNode=function(t){var e=this,n=JM.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.close(),e.storageService.changeNodeState(t.local_pk,!0),e.refresh(0),e.snackbarService.showDone("nodes.deleted")}))},t.prototype.open=function(t){t.online&&this.router.navigate(["nodes",t.local_pk])},t.sortByInternal=$M.Key,t.sortReverseInternal=!1,t}(),QM=Xn({encapsulation:0,styles:[["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}.node-list-container[_ngcontent-%COMP%]{width:100%;overflow-x:auto}.node-list-container[_ngcontent-%COMP%] .nodes-empty[_ngcontent-%COMP%], .node-list-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{box-shadow:none!important}.node-list-container[_ngcontent-%COMP%] .nodes-empty[_ngcontent-%COMP%]{color:#777;font-size:.875rem}.node-list-container[_ngcontent-%COMP%] .nodes-empty[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-right:10px}.node-list-container[_ngcontent-%COMP%] .nodes-empty[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:2px}@media (max-width:767px){.responsive-table-white[_ngcontent-%COMP%]{padding:0}}.responsive-table-white[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{text-align:right;width:110px}.responsive-table-white[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:32px;height:32px;line-height:24px}.responsive-table-white[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:last-child{margin-left:15px}"]],data:{}});function tS(t){return pl(0,[(t()(),Go(0,0,null,null,6,"div",[["class","flex-column h-100 w-100"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"app-tab-bar",[],null,null,null,jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],showUpdateButton:[3,"showUpdateButton"]},null),al(4,1),(t()(),Go(5,0,null,null,1,"app-loading-indicator",[["class","h-100"]],null,null,null,HM,NM)),ur(6,49152,null,0,FM,[],null,null)],(function(t,e){var n=e.component,i=t(e,4,0,"start.title");t(e,3,0,i,n.tabsData,0,!1)}),null)}function eS(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function nS(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function iS(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.open(t.parent.context.$implicit)&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(5,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["chevron_right"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("nodes.view-node"))),t(e,5,0)}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode),t(e,4,0,Zi(e,5).inline,"primary"!==Zi(e,5).color&&"accent"!==Zi(e,5).color&&"warn"!==Zi(e,5).color)}))}function rS(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.deleteNode(t.parent.context.$implicit)&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(5,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["close"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("nodes.delete-node"))),t(e,5,0)}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode),t(e,4,0,Zi(e,5).inline,"primary"!==Zi(e,5).color&&"accent"!==Zi(e,5).color&&"warn"!==Zi(e,5).color)}))}function oS(t){return pl(0,[(t()(),Go(0,0,null,null,20,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.open(t.context.$implicit)&&i),i}),null,null)),(t()(),Go(1,0,null,null,3,"td",[],null,null,null,null,null)),(t()(),Go(2,16777216,null,null,2,"span",[],[[8,"className",0]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,3).show()&&i),"keydown"===e&&(i=!1!==Zi(t,3)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,3)._handleTouchend()&&i),i}),null,null)),ur(3,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),(t()(),Go(7,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(8,null,[" "," "])),(t()(),Go(9,0,null,null,11,"td",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==n.stopPropagation()&&i),i}),null,null)),(t()(),Go(10,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,12).show()&&i),"keydown"===e&&(i=!1!==Zi(t,12)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,12)._handleTouchend()&&i),"click"===e&&(i=!1!==r.showEditLabelDialog(t.context.$implicit)&&i),i}),pb,hb)),ur(11,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(12,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(14,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(15,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["short_text"])),(t()(),Ko(16777216,null,null,1,null,iS)),ur(18,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,rS)),ur(20,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform(n.nodeStatusText(e.context.$implicit,!0)))),t(e,12,0,Jn(e,12,0,Zi(e,13).transform("edit-label.title"))),t(e,15,0),t(e,18,0,e.context.$implicit.online),t(e,20,0,!e.context.$implicit.online)}),(function(t,e){t(e,2,0,e.component.nodeStatusClass(e.context.$implicit,!0)),t(e,6,0,e.context.$implicit.label),t(e,8,0,e.context.$implicit.local_pk),t(e,10,0,Zi(e,11).disabled||null,"NoopAnimations"===Zi(e,11)._animationMode),t(e,14,0,Zi(e,15).inline,"primary"!==Zi(e,15).color&&"accent"!==Zi(e,15).color&&"warn"!==Zi(e,15).color)}))}function lS(t){return pl(0,[(t()(),Go(0,0,null,null,15,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-white container-elevated-white d-none d-md-table"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,12,"tr",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,0,"th",[],null,null,null,null,null)),(t()(),Go(3,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Label)&&i),i}),null,null)),(t()(),cl(4,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,eS)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(8,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Key)&&i),i}),null,null)),(t()(),cl(9,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,nS)),ur(12,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(13,0,null,null,0,"th",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,oS)),ur(15,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,7,0,n.sortBy===n.sortableColumns.Label),t(e,12,0,n.sortBy===n.sortableColumns.Key),t(e,15,0,n.dataSource)}),(function(t,e){t(e,4,0,Jn(e,4,0,Zi(e,5).transform("nodes.label"))),t(e,9,0,Jn(e,9,0,Zi(e,10).transform("nodes.key")))}))}function aS(t){return pl(0,[(t()(),Go(0,0,null,null,30,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.open(t.context.$implicit)&&i),i}),null,null)),(t()(),Go(1,0,null,null,29,"td",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,28,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,18,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,7,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(9,0,null,null,2,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(12,0,null,null,4,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(14,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(16,null,[": "," "])),(t()(),Go(17,0,null,null,4,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(18,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(19,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(21,null,[": "," "])),(t()(),Go(22,0,null,null,0,"div",[["class","margin-part"]],null,null,null,null,null)),(t()(),Go(23,0,null,null,7,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(24,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,26).show()&&i),"keydown"===e&&(i=!1!==Zi(t,26)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,26)._handleTouchend()&&i),"click"===e&&(n.stopPropagation(),i=!1!==(t.context.$implicit.online?r.showEditLabelDialog(t.context.$implicit):r.showOptionsDialog(t.context.$implicit))&&i),i}),pb,hb)),ur(25,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(26,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(28,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(29,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(30,0,["",""]))],(function(t,e){t(e,26,0,Jn(e,26,0,Zi(e,27).transform(e.context.$implicit.online?"edit-label.title":"common.options"))),t(e,29,0)}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("nodes.state"))),t(e,9,0,n.nodeStatusClass(e.context.$implicit,!1)+" title"),t(e,10,0,Jn(e,10,0,Zi(e,11).transform(n.nodeStatusText(e.context.$implicit,!1)))),t(e,14,0,Jn(e,14,0,Zi(e,15).transform("nodes.label"))),t(e,16,0,e.context.$implicit.label),t(e,19,0,Jn(e,19,0,Zi(e,20).transform("nodes.key"))),t(e,21,0,e.context.$implicit.local_pk),t(e,24,0,Zi(e,25).disabled||null,"NoopAnimations"===Zi(e,25)._animationMode),t(e,28,0,Zi(e,29).inline,"primary"!==Zi(e,29).color&&"accent"!==Zi(e,29).color&&"warn"!==Zi(e,29).color),t(e,30,0,e.context.$implicit.online?"short_text":"add")}))}function sS(t){return pl(0,[(t()(),Go(0,0,null,null,17,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-white container-elevated-white d-md-none nowrap"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,14,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openSortingOrderModal()&&i),i}),null,null)),(t()(),Go(2,0,null,null,13,"td",[],null,null,null,null,null)),(t()(),Go(3,0,null,null,12,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,7,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(8,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),cl(9,null,[""," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),(t()(),Go(12,0,null,null,3,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(14,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"])),(t()(),Ko(16777216,null,null,1,null,aS)),ur(17,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,14,0,!0),t(e,17,0,n.dataSource)}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("tables.sorting-title"))),t(e,9,0,Jn(e,9,0,Zi(e,10).transform(n.sortBy)),Jn(e,9,1,Zi(e,11).transform(n.sortReverse?"tables.descending-order":"tables.ascending-order"))),t(e,13,0,Zi(e,14).inline,"primary"!==Zi(e,14).color&&"accent"!==Zi(e,14).color&&"warn"!==Zi(e,14).color)}))}function uS(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","nodes-empty container-elevated-white"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),cl(-1,null,["warning"])),(t()(),Go(3,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(4,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,4,0,Jn(e,4,0,Zi(e,5).transform("nodes.empty")))}))}function cS(t){return pl(0,[(t()(),Go(0,0,null,null,12,"div",[["class","row"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"div",[["class","col-12"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"app-tab-bar",[],null,[[null,"refreshRequested"]],(function(t,e,n){var i=!0;return"refreshRequested"===e&&(i=!1!==t.component.refresh(0,!0)&&i),i}),jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],secondsSinceLastUpdate:[3,"secondsSinceLastUpdate"],showLoading:[4,"showLoading"],showAlert:[5,"showAlert"],refeshRate:[6,"refeshRate"]},{refreshRequested:"refreshRequested"}),al(4,1),(t()(),Go(5,0,null,null,7,"div",[["class","col-12"]],null,null,null,null,null)),(t()(),Go(6,0,null,null,6,"div",[["class","node-list-container mt-4.5"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,lS)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,sS)),ur(10,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,uS)),ur(12,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,4,0,"start.title");t(e,3,0,i,n.tabsData,0,n.secondsSinceLastUpdate,n.updating,n.errorsUpdating,n.storageService.getRefreshTime()),t(e,8,0,n.dataSource.length>0),t(e,10,0,n.dataSource.length>0),t(e,12,0,0===n.dataSource.length)}),null)}function dS(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,tS)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,cS)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.loading),t(e,3,0,!n.loading)}),null)}function hS(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-list",[],null,null,null,dS,QM)),ur(1,245760,null,0,XM,[WM,cp,Ib,rx,Fp,co,Lg,Xx],null,null)],(function(t,e){t(e,1,0)}),null)}var pS=Ni("app-node-list",XM,hS,{},{},[]),fS=function(){function t(t){this.dom=t}return t.prototype.copy=function(t){var e=null,n=!1;try{(e=this.dom.createElement("textarea")).style.height="0px",e.style.left="-100px",e.style.opacity="0",e.style.position="fixed",e.style.top="-100px",e.style.width="0px",this.dom.body.appendChild(e),e.value=t,e.select(),this.dom.execCommand("copy"),n=!0}finally{e&&e.parentNode&&e.parentNode.removeChild(e)}return n},t}(),mS=function(){function t(t){this.clipboardService=t,this.copyEvent=new Yr,this.errorEvent=new Yr,this.value=""}return t.prototype.ngOnDestroy=function(){this.copyEvent.complete(),this.errorEvent.complete()},t.prototype.copyToClipboard=function(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()},t}(),gS=function(){function t(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}return Object.defineProperty(t.prototype,"shortText",{get:function(){if(this.text.length>2*this.shortTextLength){var t=this.text.length;return this.text.slice(0,this.shortTextLength)+"..."+this.text.slice(t-this.shortTextLength,t)}return this.text},enumerable:!0,configurable:!0}),t}(),_S=Xn({encapsulation:0,styles:[[".cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]::after{content:'';display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.ml-3\\.5[_ngcontent-%COMP%]{margin-left:1.25rem!important}.mr-3\\.5[_ngcontent-%COMP%]{margin-right:1.25rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}"]],data:{}});function yS(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(2,null,["",""]))],null,(function(t,e){t(e,2,0,e.component.shortText)}))}function vS(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(2,null,["",""]))],null,(function(t,e){t(e,2,0,e.component.text)}))}function bS(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"div",[["class","wrapper"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,1).show()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,1)._handleTouchend()&&i),i}),null,null)),ur(1,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"],tooltipClass:[1,"tooltipClass"]},null),sl(2,{"tooltip-word-break":0}),(t()(),Ko(16777216,null,null,1,null,yS)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,vS)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=n.short&&n.showTooltip?n.text:"",r=t(e,2,0,!0);t(e,1,0,i,r),t(e,4,0,n.short),t(e,6,0,!n.short)}),null)}var wS=function(){function t(t){this.snackbarService=t,this.short=!1,this.shortTextLength=5}return t.prototype.onCopyToClipboardClicked=function(){this.snackbarService.showDone("copy.copied")},t}(),kS=Xn({encapsulation:0,styles:[[".cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]::after{content:'';display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.ml-3\\.5[_ngcontent-%COMP%]{margin-left:1.25rem!important}.mr-3\\.5[_ngcontent-%COMP%]{margin-right:1.25rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}"]],data:{}});function xS(t){return pl(0,[(t()(),Go(0,16777216,null,null,11,"div",[["class","wrapper highlight-internal-icon"]],null,[[null,"copyEvent"],[null,"longpress"],[null,"keydown"],[null,"touchend"],[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,1).show()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,1)._handleTouchend()&&i),"click"===e&&(i=!1!==Zi(t,5).copyToClipboard()&&i),"copyEvent"===e&&(i=!1!==r.onCopyToClipboardClicked()&&i),i}),null,null)),ur(1,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"],tooltipClass:[1,"tooltipClass"]},null),sl(2,{text:0}),cr(131072,qg,[Wg,De]),sl(4,{"tooltip-word-break":0}),ur(5,147456,null,0,mS,[fS],{value:[0,"value"]},{copyEvent:"copyEvent"}),(t()(),Go(6,0,null,null,1,"app-truncated-text",[],null,null,null,bS,_S)),ur(7,49152,null,0,gS,[],{short:[0,"short"],showTooltip:[1,"showTooltip"],text:[2,"text"],shortTextLength:[3,"shortTextLength"]},null),(t()(),cl(-1,null,["  "])),(t()(),Go(9,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(10,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["filter_none"]))],(function(t,e){var n=e.component,i=Jn(e,1,0,Zi(e,3).transform(n.short?"copy.tooltip-with-text":"copy.tooltip",t(e,2,0,n.text))),r=t(e,4,0,!0);t(e,1,0,i,r),t(e,5,0,n.text),t(e,7,0,n.short,!1,n.text,n.shortTextLength),t(e,10,0,!0)}),(function(t,e){t(e,9,0,Zi(e,10).inline,"primary"!==Zi(e,10).color&&"accent"!==Zi(e,10).color&&"warn"!==Zi(e,10).color)}))}var MS=n("kB5k"),SS=function(){function t(){}return t.prototype.transform=function(t,e){for(var n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=new MS.BigNumber(t),r=n[0],o=0;i.dividedBy(1024).isGreaterThan(1);)i=i.dividedBy(1024),r=n[o+=1];var l="";return e&&!e.showValue||(l=i.toFixed(2)),(!e||e.showValue&&e.showUnit)&&(l+=" "),e&&!e.showUnit||(l+=r),l},t}(),CS=n("WyAD"),LS=function(){function t(t){this.differ=t.find([]).create(null)}return t.prototype.ngAfterViewInit=function(){this.chart=new CS.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["#0B6DB0"],borderColor:["#0B6DB0"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}}}})},t.prototype.ngDoCheck=function(){this.differ.diff(this.data)&&this.chart&&this.chart.update()},t}(),DS=Xn({encapsulation:0,styles:[[".chart-container[_ngcontent-%COMP%]{position:relative;height:100px;width:100%;overflow:hidden;border-radius:10px}"]],data:{}});function TS(t){return pl(0,[Qo(671088640,1,{chartElement:0}),(t()(),Go(1,0,null,null,1,"div",[["class","chart-container"]],null,null,null,null,null)),(t()(),Go(2,0,[[1,0],["chart",1]],null,0,"canvas",[["height","100"]],null,null,null,null,null))],null,null)}var OS=function(){function t(){this.sendingTotal=0,this.receivingTotal=0,this.sendingHistory=[0,0,0,0,0,0,0,0,0,0],this.receivingHistory=[0,0,0,0,0,0,0,0,0,0],this.initialized=!1}return t.prototype.ngOnChanges=function(t){var e=t.transports.currentValue;if(e){if(this.sendingTotal=e.reduce((function(t,e){return t+e.log.sent}),0),this.receivingTotal=e.reduce((function(t,e){return t+e.log.recv}),0),!this.initialized){for(var n=0;n<10;n++)this.sendingHistory[n]=this.sendingTotal,this.receivingHistory[n]=this.receivingTotal;this.initialized=!0}}else this.sendingTotal=0,this.receivingTotal=0;this.sendingHistory.push(this.sendingTotal),this.receivingHistory.push(this.receivingTotal),this.sendingHistory.length>10&&(this.sendingHistory.splice(0,this.sendingHistory.length-10),this.receivingHistory.splice(0,this.receivingHistory.length-10))},t}(),PS=Xn({encapsulation:0,styles:[[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]],data:{}});function ES(t){return pl(0,[cr(0,SS,[]),(t()(),Go(1,0,null,null,15,"div",[["class","chart"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,1,"app-line-chart",[],null,null,null,TS,DS)),ur(3,4505600,null,0,LS,[Cn],{data:[0,"data"]},null),(t()(),Go(4,0,null,null,12,"div",[["class","info"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"span",[["class","text"]],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(8,0,null,null,8,"span",[["class","rate"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,3,"span",[["class","value"]],null,null,null,null,null)),(t()(),cl(10,null,["",""])),sl(11,{showValue:0}),ll(12,2),(t()(),Go(13,0,null,null,3,"span",[["class","unit"]],null,null,null,null,null)),(t()(),cl(14,null,["",""])),sl(15,{showUnit:0}),ll(16,2),(t()(),Go(17,0,null,null,15,"div",[["class","chart"]],null,null,null,null,null)),(t()(),Go(18,0,null,null,1,"app-line-chart",[],null,null,null,TS,DS)),ur(19,4505600,null,0,LS,[Cn],{data:[0,"data"]},null),(t()(),Go(20,0,null,null,12,"div",[["class","info"]],null,null,null,null,null)),(t()(),Go(21,0,null,null,2,"span",[["class","text"]],null,null,null,null,null)),(t()(),cl(22,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,null,8,"span",[["class","rate"]],null,null,null,null,null)),(t()(),Go(25,0,null,null,3,"span",[["class","value"]],null,null,null,null,null)),(t()(),cl(26,null,["",""])),sl(27,{showValue:0}),ll(28,2),(t()(),Go(29,0,null,null,3,"span",[["class","unit"]],null,null,null,null,null)),(t()(),cl(30,null,["",""])),sl(31,{showUnit:0}),ll(32,2)],(function(t,e){var n=e.component;t(e,3,0,n.sendingHistory),t(e,19,0,n.receivingHistory)}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("common.uploaded")));var i=Jn(e,10,0,t(e,12,0,Zi(e,0),n.sendingTotal,t(e,11,0,!0)));t(e,10,0,i);var r=Jn(e,14,0,t(e,16,0,Zi(e,0),n.sendingTotal,t(e,15,0,!0)));t(e,14,0,r),t(e,22,0,Jn(e,22,0,Zi(e,23).transform("common.downloaded")));var o=Jn(e,26,0,t(e,28,0,Zi(e,0),n.receivingTotal,t(e,27,0,!0)));t(e,26,0,o);var l=Jn(e,30,0,t(e,32,0,Zi(e,0),n.receivingTotal,t(e,31,0,!0)));t(e,30,0,l)}))}var IS=function(){function t(e,n,i,r,o,l){var a=this;this.storageService=e,this.nodeService=n,this.route=i,this.ngZone=r,this.snackbarService=o,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,t.nodeSubject=new qf(1),t.currentInstanceInternal=this,this.navigationsSubscription=l.events.subscribe((function(e){e.urlAfterRedirects&&(t.currentNodeKey=a.route.snapshot.params.key,a.lastUrl=e.urlAfterRedirects,a.updateTabBar())}))}return t.refreshCurrentDisplayedData=function(){t.currentInstanceInternal&&t.currentInstanceInternal.refresh(0)},t.getCurrentNodeKey=function(){return t.currentNodeKey},Object.defineProperty(t,"currentNode",{get:function(){return t.nodeSubject.asObservable()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.refresh(0),this.ngZone.runOutsideAngular((function(){t.updateTimeSubscription=Af(5e3,5e3).subscribe((function(){return t.ngZone.run((function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)}))}))}))},t.prototype.updateTabBar=function(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1;else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1;var e="transports";this.lastUrl.includes("/routes")?e="routes":this.lastUrl.includes("/apps-list")&&(e="apps.apps-list"),this.titleParts=["nodes.title","node.title",e+".title"],this.tabsData=[{icon:"view_headline",label:e+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]},t.prototype.refresh=function(e,n){var i=this;void 0===n&&(n=!1),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.ngZone.runOutsideAngular((function(){i.dataSubscription=Hs(1).pipe(dx(e),Pu((function(){return i.ngZone.run((function(){return i.updating=!0}))})),dx(120),B((function(){return i.nodeService.getNode(t.currentNodeKey)}))).subscribe((function(e){i.ngZone.run((function(){i.node=e,t.nodeSubject.next(e),i.snackbarService.closeCurrentIfTemporaryError(),i.lastUpdate=Date.now(),i.secondsSinceLastUpdate=0,i.updating=!1,i.errorsUpdating=!1,n&&i.snackbarService.showDone("common.refreshed",null),i.refresh(1e3*i.storageService.getRefreshTime())}))}),(function(t){t=Up(t),i.ngZone.run((function(){t.originalError&&400===t.originalError.status?i.notFound=!0:(i.errorsUpdating||i.snackbarService.showError(i.node?"node.error-load":"common.loading-error",null,!0,t),i.updating=!1,i.errorsUpdating=!0,i.refresh(i.node?1e3*i.storageService.getRefreshTime():3e3,n))}))}))}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),t.currentInstanceInternal=void 0,t.currentNodeKey=void 0,t.nodeSubject.complete(),t.nodeSubject=void 0},t}(),YS=function(){function t(t){this.dialog=t}return Object.defineProperty(t.prototype,"nodeInfo",{set:function(t){this.node=t,this.timeOnline=yM.getElapsedTime(t.seconds_online)},enumerable:!0,configurable:!0}),t.prototype.showEditLabelDialog=function(){UM.openDialog(this.dialog,this.node).afterClosed().subscribe((function(t){t&&IS.refreshCurrentDisplayedData()}))},t}(),AS=Xn({encapsulation:0,styles:[[".section-title[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0;margin:1rem 0;border-top:1px solid rgba(255,255,255,.44)}"]],data:{}});function RS(t){return pl(0,[(t()(),Go(0,16777216,null,null,5,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),i}),Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),sl(3,{time:0}),cr(131072,qg,[Wg,De]),(t()(),cl(-1,0,[" info "])),(t()(),Ko(0,null,null,0))],(function(t,e){var n=e.component;t(e,1,0,!0);var i=Jn(e,2,0,Zi(e,4).transform("node.details.node-info.time.minutes",t(e,3,0,n.timeOnline.totalMinutes)));t(e,2,0,i)}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color)}))}function jS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-green"]],null,null,null,null,null))],null,null)}function FS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red"]],null,null,null,null,null))],null,null)}function NS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-green"]],null,null,null,null,null))],null,null)}function HS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red"]],null,null,null,null,null))],null,null)}function zS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-green"]],null,null,null,null,null))],null,null)}function VS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red"]],null,null,null,null,null))],null,null)}function BS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-green"]],null,null,null,null,null))],null,null)}function WS(t){return pl(0,[(t()(),Go(0,0,null,null,0,"i",[["class","dot-red"]],null,null,null,null,null))],null,null)}function US(t){return pl(0,[(t()(),Go(0,0,null,null,96,"div",[["class","font-smaller d-flex flex-column mt-4.5"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,43,"div",[["class","d-flex flex-column"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"span",[["class","section-title"]],null,null,null,null,null)),(t()(),cl(3,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,null,8,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(6,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(7,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(9,0,null,null,4,"span",[["class","highlight-internal-icon"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.showEditLabelDialog()&&i),i}),null,null)),(t()(),cl(10,null,[" "," "])),(t()(),Go(11,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(12,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["edit"])),(t()(),Go(14,0,null,null,5,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(15,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(16,null,[""," "])),cr(131072,qg,[Wg,De]),(t()(),Go(18,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(19,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(20,0,null,null,5,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(21,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(22,null,[""," "])),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(25,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(26,0,null,null,4,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(27,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(28,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(30,null,[" "," "])),(t()(),Go(31,0,null,null,4,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(32,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(33,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(35,null,[" "," "])),(t()(),Go(36,0,null,null,8,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(37,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(38,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(40,null,[" "," "])),sl(41,{time:0}),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,RS)),ur(44,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(45,0,null,null,0,"div",[["class","separator"]],null,null,null,null,null)),(t()(),Go(46,0,null,null,43,"div",[["class","d-flex flex-column"]],null,null,null,null,null)),(t()(),Go(47,0,null,null,2,"span",[["class","section-title"]],null,null,null,null,null)),(t()(),cl(48,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(50,0,null,null,9,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(51,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(52,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,jS)),ur(55,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,FS)),ur(57,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(58,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(60,0,null,null,9,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(61,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(62,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,NS)),ur(65,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,HS)),ur(67,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(68,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(70,0,null,null,9,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(71,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(72,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,zS)),ur(75,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,VS)),ur(77,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(78,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(80,0,null,null,9,"span",[["class","info-line"]],null,null,null,null,null)),(t()(),Go(81,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(82,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,BS)),ur(85,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,WS)),ur(87,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),cl(88,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(90,0,null,null,0,"div",[["class","separator"]],null,null,null,null,null)),(t()(),Go(91,0,null,null,5,"div",[["class","d-flex flex-column"]],null,null,null,null,null)),(t()(),Go(92,0,null,null,2,"span",[["class","section-title"]],null,null,null,null,null)),(t()(),cl(93,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(95,0,null,null,1,"app-charts",[["class","d-flex flex-column justify-content-end"]],null,null,null,ES,PS)),ur(96,573440,null,0,OS,[],{transports:[0,"transports"]},null)],(function(t,e){var n=e.component;t(e,12,0,!0),t(e,19,0,Si(1,"",n.node.local_pk,"")),t(e,25,0,Si(1,"",n.node.port,"")),t(e,44,0,n.timeOnline.totalMinutes>60),t(e,55,0,n.node.health.status&&200===n.node.health.status),t(e,57,0,!n.node.health.status||200!==n.node.health.status),t(e,65,0,n.node.health.transport_discovery&&200===n.node.health.transport_discovery),t(e,67,0,!n.node.health.transport_discovery||200!==n.node.health.transport_discovery),t(e,75,0,n.node.health.route_finder&&200===n.node.health.route_finder),t(e,77,0,!n.node.health.route_finder||200!==n.node.health.route_finder),t(e,85,0,n.node.health.setup_node&&200===n.node.health.setup_node),t(e,87,0,!n.node.health.setup_node||200!==n.node.health.setup_node),t(e,96,0,n.node.transports)}),(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("node.details.node-info.title"))),t(e,7,0,Jn(e,7,0,Zi(e,8).transform("node.details.node-info.label"))),t(e,10,0,n.node.label),t(e,11,0,Zi(e,12).inline,"primary"!==Zi(e,12).color&&"accent"!==Zi(e,12).color&&"warn"!==Zi(e,12).color),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("node.details.node-info.public-key"))),t(e,22,0,Jn(e,22,0,Zi(e,23).transform("node.details.node-info.port"))),t(e,28,0,Jn(e,28,0,Zi(e,29).transform("node.details.node-info.node-version"))),t(e,30,0,n.node.build_info.version),t(e,33,0,Jn(e,33,0,Zi(e,34).transform("node.details.node-info.app-protocol-version"))),t(e,35,0,n.node.app_protocol_version),t(e,38,0,Jn(e,38,0,Zi(e,39).transform("node.details.node-info.time.title")));var i=Jn(e,40,0,Zi(e,42).transform("node.details.node-info.time."+n.timeOnline.translationVarName,t(e,41,0,n.timeOnline.elapsedTime)));t(e,40,0,i),t(e,48,0,Jn(e,48,0,Zi(e,49).transform("node.details.node-health.title"))),t(e,52,0,Jn(e,52,0,Zi(e,53).transform("node.details.node-health.status"))),t(e,58,0,n.node.health.status?n.node.health.status:Jn(e,58,0,Zi(e,59).transform("node.details.node-health.element-offline"))),t(e,62,0,Jn(e,62,0,Zi(e,63).transform("node.details.node-health.transport-discovery"))),t(e,68,0,n.node.health.transport_discovery?n.node.health.transport_discovery:Jn(e,68,0,Zi(e,69).transform("node.details.node-health.element-offline"))),t(e,72,0,Jn(e,72,0,Zi(e,73).transform("node.details.node-health.route-finder"))),t(e,78,0,n.node.health.route_finder?n.node.health.route_finder:Jn(e,78,0,Zi(e,79).transform("node.details.node-health.element-offline"))),t(e,82,0,Jn(e,82,0,Zi(e,83).transform("node.details.node-health.setup-node"))),t(e,88,0,n.node.health.setup_node?n.node.health.setup_node:Jn(e,88,0,Zi(e,89).transform("node.details.node-health.element-offline"))),t(e,93,0,Jn(e,93,0,Zi(e,94).transform("node.details.node-traffic-data")))}))}function qS(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,US)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.node)}),null)}var KS=function(){function t(t,e){this.data=t,this.dialogRef=e}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.mediumModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){},t}(),GS=function(){function t(t,e,n,i){this.data=t,this.renderer=e,this.apiService=n,this.translate=i,this.history=[],this.historyIndex=0,this.currentInputText=""}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.largeModalWidth,e.open(t,i)},t.prototype.keyEvent=function(t){this.terminal.hasFocus()&&this.history.length>0&&(38===t.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===t.keyCode&&(this.historyIndex=this.historyIndex/g,">")).replace(/\n/g,"
")).replace(/\t/g," ")).replace(/ /g," "),this.terminal.print(n),setTimeout((function(){e.dialogContentElement.nativeElement.scrollTop=e.dialogContentElement.nativeElement.scrollHeight}))},t}(),JS=function(){function t(t,e,n,i,r,o){this.dialog=t,this.router=e,this.snackbarService=n,this.sidenavService=i,this.nodeService=r,this.translateService=o}return Object.defineProperty(t.prototype,"showingFullList",{set:function(t){this.showingFullListInternal=t,this.updateMenu()},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;this.nodeSubscription=IS.currentNode.subscribe((function(e){t.currentNode=e})),this.updateMenu()},t.prototype.updateMenu=function(){var t=this;setTimeout((function(){t.menuSubscription=t.sidenavService.setContents([{name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"},{name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"},{name:"actions.menu.update",actionName:"update",icon:"get_app"}],[{name:t.showingFullListInternal?"node.title":"nodes.title",actionName:"back",icon:"chevron_left"}]).subscribe((function(e){"terminal"===e?t.terminal():"config"===e?t.configuration():"update"===e?t.update():"reboot"===e?t.reboot():"back"===e&&t.back()}))}))},t.prototype.ngOnDestroy=function(){this.nodeSubscription&&this.nodeSubscription.unsubscribe(),this.menuSubscription&&this.menuSubscription.unsubscribe(),this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()},t.prototype.reboot=function(){var t=this,e=JM.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing(),t.rebootSubscription=t.nodeService.reboot(IS.getCurrentNodeKey()).subscribe((function(){t.snackbarService.showDone("actions.reboot.done"),e.close()}),(function(t){t=Up(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)}))}))},t.prototype.update=function(){var t=this,e=new Mb;e.data={text:"actions.update.processing",headerText:"actions.update.title",confirmButtonText:"actions.update.processing-button",disableDismiss:!0},e.autoFocus=!1,e.width=Dg.smallModalWidth;var n=this.dialog.open(GM,e);setTimeout((function(){return n.componentInstance.showProcessing()})),this.updateSubscription=this.nodeService.checkUpdate(IS.getCurrentNodeKey()).subscribe((function(e){if(e&&e.available){var i={text:t.translateService.instant("actions.update.update-available",{currentVersion:e.current_version,newVersion:e.available_version}),headerText:"actions.update.title",confirmButtonText:"actions.update.install",cancelButtonText:"common.cancel"};setTimeout((function(){n.componentInstance.showAsking(i)}))}else if(e){var r=t.translateService.instant("actions.update.no-update",{version:e.current_version});setTimeout((function(){n.componentInstance.showDone(null,r)}))}else setTimeout((function(){n.componentInstance.showDone("confirmation.error-header-text","common.operation-error")}))}),(function(t){t=Up(t),setTimeout((function(){n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)}))})),n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),t.updateSubscription=t.nodeService.update(IS.getCurrentNodeKey()).subscribe((function(e){e&&e.updated?(t.snackbarService.showDone("actions.update.done"),n.close()):n.componentInstance.showDone("confirmation.error-header-text","actions.update.update-error")}),(function(t){t=Up(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)}))}))},t.prototype.configuration=function(){KS.openDialog(this.dialog,{})},t.prototype.terminal=function(){var t=this;ZM.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}]).afterClosed().subscribe((function(e){if(1===e){var n=window.location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(n+"//"+i+"/pty/"+IS.getCurrentNodeKey(),"_blank","noopener noreferrer")}else 2===e&&GS.openDialog(t.dialog,{pk:IS.getCurrentNodeKey(),label:t.currentNode?t.currentNode.label:""})}))},t.prototype.back=function(){this.router.navigate(this.showingFullListInternal?["nodes",IS.getCurrentNodeKey()]:["nodes"])},t}(),ZS=Xn({encapsulation:0,styles:[[""]],data:{}});function $S(t){return pl(0,[],null,null)}var XS=Xn({encapsulation:0,styles:[[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}"]],data:{}});function QS(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-loading-indicator",[],null,null,null,HM,NM)),ur(1,49152,null,0,FM,[],null,null)],null,null)}function tC(t){return pl(0,[(t()(),Go(0,0,null,null,6,"div",[["class","w-100 h-100 d-flex not-found-label"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(3,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["error"])),(t()(),cl(5,null,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,!0)}),(function(t,e){t(e,2,0,Zi(e,3).inline,"primary"!==Zi(e,3).color&&"accent"!==Zi(e,3).color&&"warn"!==Zi(e,3).color),t(e,5,0,Jn(e,5,0,Zi(e,6).transform("node.not-found")))}))}function eC(t){return pl(0,[(t()(),Go(0,0,null,null,7,"div",[["class","flex-column h-100 w-100"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,1,"app-tab-bar",[],null,null,null,jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],showUpdateButton:[3,"showUpdateButton"]},null),(t()(),Ko(16777216,null,null,1,null,QS)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,tC)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.titleParts,n.tabsData,n.selectedTabIndex,!1),t(e,5,0,!n.notFound),t(e,7,0,n.notFound)}),null)}function nC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-info-content",[],null,null,null,qS,AS)),ur(1,49152,null,0,YS,[Ib],{nodeInfo:[0,"nodeInfo"]},null)],(function(t,e){t(e,1,0,e.component.node)}),null)}function iC(t){return pl(0,[(t()(),Go(0,0,null,null,16,"div",[["class","row"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","col-12"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,1,"app-tab-bar",[],null,[[null,"refreshRequested"]],(function(t,e,n){var i=!0;return"refreshRequested"===e&&(i=!1!==t.component.refresh(0,!0)&&i),i}),jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],secondsSinceLastUpdate:[3,"secondsSinceLastUpdate"],showLoading:[4,"showLoading"],showAlert:[5,"showAlert"],refeshRate:[6,"refeshRate"]},{refreshRequested:"refreshRequested"}),(t()(),Go(4,0,null,null,6,"div",[["class","col-12"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"col-lg-8":0}),(t()(),Go(8,0,null,null,2,"div",[["class","d-flex flex-column h-100"]],null,null,null,null,null)),(t()(),Go(9,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ur(10,212992,null,0,mp,[fp,In,nn,[8,null],De],null,null),(t()(),Go(11,0,null,null,5,"div",[["class","d-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(13,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(14,{"col-4 d-lg-block":0}),(t()(),Ko(16777216,null,null,1,null,nC)),ur(16,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.titleParts,n.tabsData,n.selectedTabIndex,n.secondsSinceLastUpdate,n.updating,n.errorsUpdating,n.storageService.getRefreshTime());var i=t(e,7,0,!n.showingInfo&&!n.showingFullList);t(e,6,0,"col-12",i),t(e,10,0);var r=t(e,14,0,!n.showingInfo&&!n.showingFullList);t(e,13,0,"d-none",r),t(e,16,0,!n.showingInfo&&!n.showingFullList)}),null)}function rC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-actions",[],null,null,null,$S,ZS)),ur(1,4374528,null,0,JS,[Ib,cp,Lg,Xx,WM,Wg],{showingFullList:[0,"showingFullList"]},null),(t()(),Ko(16777216,null,null,1,null,eC)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,iC)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.showingFullList),t(e,3,0,!n.node),t(e,5,0,n.node)}),null)}function oC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node",[],null,null,null,rC,XS)),ur(1,245760,null,0,IS,[Fp,WM,th,co,Lg,cp],null,null)],(function(t,e){t(e,1,0)}),null)}var lC=Ni("app-node",IS,oC,{},{},[]),aC=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.node=e}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),sC=Xn({encapsulation:0,styles:[[""]],data:{}});function uC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-info-content",[],null,null,null,qS,AS)),ur(1,49152,null,0,YS,[Ib],{nodeInfo:[0,"nodeInfo"]},null)],(function(t,e){t(e,1,0,e.component.node)}),null)}function cC(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-info",[],null,null,null,uC,sC)),ur(1,245760,null,0,aC,[],null,null)],(function(t,e){t(e,1,0)}),null)}var dC=Ni("app-node-info",aC,cC,{},{},[]),hC=function(){function t(t,e){this.data=t,this.dialogRef=e,this.options=[];for(var n=0;n3),t(e,10,0,n.currentPage>2),t(e,12,0,n.currentPage>1),t(e,14,0,n.currentPage>2),t(e,16,0,n.currentPage>1),t(e,20,0,n.currentPage3),t(e,32,0,n.numberOfPages>2)}),(function(t,e){t(e,18,0,e.component.currentPage)}))}var DC=new St("mat-checkbox-click-action"),TC=0,OC=function(){var t={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return t[t.Init]="Init",t[t.Checked]="Checked",t[t.Unchecked]="Unchecked",t[t.Indeterminate]="Indeterminate",t}(),PC=function(){return function(){}}(),EC=function(t){function e(e,n,i,r,o,l,a){var s=t.call(this,e)||this;return s._changeDetectorRef=n,s._focusMonitor=i,s._ngZone=r,s._clickAction=l,s._animationMode=a,s.ariaLabel="",s.ariaLabelledby=null,s._uniqueId="mat-checkbox-"+ ++TC,s.id=s._uniqueId,s.labelPosition="after",s.name=null,s.change=new Yr,s.indeterminateChange=new Yr,s._onTouched=function(){},s._currentAnimationClass="",s._currentCheckState=OC.Init,s._controlValueAccessorChangeFn=function(){},s._checked=!1,s._disabled=!1,s._indeterminate=!1,s.tabIndex=parseInt(o)||0,s._focusMonitor.monitor(e,!0).subscribe((function(t){t||Promise.resolve().then((function(){s._onTouched(),n.markForCheck()}))})),s}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=ff(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){var e=ff(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=t,e&&(this._transitionCheckState(this._indeterminate?OC.Indeterminate:this.checked?OC.Checked:OC.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},e.prototype._transitionCheckState=function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){n.classList.remove(i)}),1e3)}))}},e.prototype._emitChangeEvent=function(){var t=new PC;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputClick=function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?OC.Checked:OC.Unchecked),this._emitChangeEvent())},e.prototype.focus=function(t,e){void 0===t&&(t="keyboard"),this._focusMonitor.focusVia(this._inputElement,t,e)},e.prototype._onInteractionEvent=function(t){t.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case OC.Init:if(e===OC.Checked)n="unchecked-checked";else{if(e!=OC.Indeterminate)return"";n="unchecked-indeterminate"}break;case OC.Unchecked:n=e===OC.Checked?"unchecked-checked":"unchecked-indeterminate";break;case OC.Checked:n=e===OC.Unchecked?"checked-unchecked":"checked-indeterminate";break;case OC.Indeterminate:n=e===OC.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n},e}(s_(l_(a_(o_(function(){return function(t){this._elementRef=t}}())),"accent"))),IC=function(){return function(){}}(),YC=function(){return function(){}}(),AC=function(){function t(){}return t.prototype.create=function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)},t.ngInjectableDef=ht({factory:function(){return new t},token:t,providedIn:"root"}),t}(),RC=function(){function t(t){this._mutationObserverFactory=t,this._observedElements=new Map}return t.prototype.ngOnDestroy=function(){var t=this;this._observedElements.forEach((function(e,n){return t._cleanupObserver(n)}))},t.prototype.observe=function(t){var e=this,n=vf(t);return new w((function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}}))},t.prototype._observeElement=function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new C,n=this._mutationObserverFactory.create((function(t){return e.next(t)}));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream},t.prototype._unobserveElement=function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))},t.prototype._cleanupObserver=function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,i=e.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(t)}},t.ngInjectableDef=ht({factory:function(){return new t(At(AC))},token:t,providedIn:"root"}),t}(),jC=function(){function t(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new Yr,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=ff(t),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"debounce",{get:function(){return this._debounce},set:function(t){this._debounce=mf(t),this._subscribe()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},t.prototype.ngOnDestroy=function(){this._unsubscribe()},t.prototype._subscribe=function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){t._currentSubscription=(t.debounce?e.pipe(Fm(t.debounce)):e).subscribe(t.event)}))},t.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},t}(),FC=function(){return function(){}}(),NC=Xn({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}});function HC(t){return pl(2,[Qo(671088640,1,{_inputElement:0}),Qo(671088640,2,{ripple:0}),(t()(),Go(2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(t()(),Go(3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(t()(),Go(4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"change"===e&&(i=!1!==r._onInteractionEvent(n)&&i),"click"===e&&(i=!1!==r._onInputClick(n)&&i),i}),null,null)),(t()(),Go(5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(6,212992,[[2,4]],0,S_,[an,co,Zf,[2,M_],[2,ub]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),sl(7,{enterDuration:0}),(t()(),Go(8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(t()(),Go(10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(t()(),Go(11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),Go(12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(t()(),Go(14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component._onLabelTextChange()&&i),i}),null,null)),ur(15,1196032,null,0,jC,[RC,an,co],null,{event:"cdkObserveContent"}),(t()(),Go(16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),cl(-1,null,[" "])),rl(null,0)],(function(t,e){var n=e.component,i=t(e,7,0,150);t(e,6,0,!0,20,i,n._isRippleDisabled(),Zi(e,2))}),(function(t,e){var n=e.component;t(e,2,0,n.inputId),t(e,3,0,!Zi(e,14).textContent||!Zi(e,14).textContent.trim()),t(e,4,1,[n.inputId,n.required,n.checked,n.value,n.disabled,n.name,n.tabIndex,n.indeterminate,n.ariaLabel||null,n.ariaLabelledby,n._getAriaChecked()]),t(e,5,0,Zi(e,6).unbounded)}))}var zC=function(){return function(){this.numberOfElements=0,this.linkParts=[""]}}(),VC=Xn({encapsulation:0,styles:[[".main-container[_ngcontent-%COMP%]{padding-top:10px;margin-bottom:-6px;border-top:1px solid rgba(0,0,0,.12);text-align:right;font-size:.875rem}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]],data:{}});function BC(t){return pl(0,[(t()(),Go(0,0,null,null,8,"div",[["class","main-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,7,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),ur(2,671744,null,0,dp,[cp,th,Da],{routerLink:[0,"routerLink"]},null),(t()(),cl(3,null,[" "," "])),sl(4,{number:0}),cr(131072,qg,[Wg,De]),(t()(),Go(6,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(7,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["chevron_right"]))],(function(t,e){t(e,2,0,e.component.linkParts),t(e,7,0,!0)}),(function(t,e){var n=e.component;t(e,1,0,Zi(e,2).target,Zi(e,2).href);var i=Jn(e,3,0,Zi(e,5).transform("view-all-link.label",t(e,4,0,n.numberOfElements)));t(e,3,0,i),t(e,6,0,Zi(e,7).inline,"primary"!==Zi(e,7).color&&"accent"!==Zi(e,7).color&&"warn"!==Zi(e,7).color)}))}var WC=function(){function t(t,e,n,i){this.transportService=t,this.formBuilder=e,this.dialogRef=n,this.snackbarService=i,this.shouldShowError=!0}return t.openDialog=function(e){var n=new Mb;return n.autoFocus=!1,n.width=Dg.mediumModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){this.form=this.formBuilder.group({remoteKey:["",sw.compose([sw.required,sw.minLength(66),sw.maxLength(66),sw.pattern("^[0-9a-fA-F]+$")])],type:["",sw.required]}),this.loadData(0)},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.create=function(){this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.operationSubscription=this.transportService.create(IS.getCurrentNodeKey(),this.form.get("remoteKey").value,this.form.get("type").value).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))},t.prototype.onSuccess=function(){IS.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.dialog.success"),this.dialogRef.close()},t.prototype.onError=function(t){this.button.showError(),t=Up(t),this.snackbarService.showError(t)},t.prototype.loadData=function(t){var e=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=Hs(1).pipe(dx(t),B((function(){return e.transportService.types(IS.getCurrentNodeKey())}))).subscribe((function(t){e.snackbarService.closeCurrentIfTemporaryError(),setTimeout((function(){return e.firstInput.nativeElement.focus()})),e.types=t,e.form.get("type").setValue(t[0])}),(function(t){t=Up(t),e.shouldShowError&&(e.snackbarService.showError("common.loading-error",null,!0,t),e.shouldShowError=!1),e.loadData(3e3)}))},t}(),UC=function(){function t(t){this.data=t}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.largeModalWidth,e.open(t,i)},t}(),qC=function(t){return t.Id="transports.id",t.RemotePk="transports.remote",t.Type="transports.type",t.Uploaded="common.uploaded",t.Downloaded="common.downloaded",t}({}),KC=function(){function t(t,e,n,i){var r=this;this.dialog=t,this.transportService=e,this.route=n,this.snackbarService=i,this.sortableColumns=qC,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.operationSubscriptionsGroup=[],this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),r.currentPageInUrl=e,r.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"sortBy",{get:function(){return t.sortByInternal},set:function(e){t.sortByInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortReverse",{get:function(){return t.sortReverseInternal},set:function(e){t.sortReverseInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transports",{set:function(t){this.allTransports=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()}))},t.prototype.changeSelection=function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)},t.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach((function(e){e&&(t=!0)})),t},t.prototype.changeAllSelections=function(t){var e=this;this.selections.forEach((function(n,i){e.selections.set(i,t)}))},t.prototype.deleteSelected=function(){var t=this,e=JM.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing();var n=[];t.selections.forEach((function(t,e){t&&n.push(e)})),t.deleteRecursively(n,e)}))},t.prototype.create=function(){WC.openDialog(this.dialog)},t.prototype.showOptionsDialog=function(t){var e=this;ZM.openDialog(this.dialog,[{icon:"visibility",label:"transports.details.title"},{icon:"close",label:"transports.delete"}]).afterClosed().subscribe((function(n){1===n?e.details(t):2===n&&e.delete(t.id)}))},t.prototype.details=function(t){UC.openDialog(this.dialog,t)},t.prototype.delete=function(t){var e=this,n=JM.createConfirmationDialog(this.dialog,"transports.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.operationSubscriptionsGroup.push(e.startDeleting(t).subscribe((function(){n.close(),IS.refreshCurrentDisplayedData(),e.snackbarService.showDone("transports.deleted")}),(function(t){t=Up(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))}))},t.prototype.changeSortingOrder=function(t){this.sortBy!==t?(this.sortBy=t,this.sortReverse=!1):this.sortReverse=!this.sortReverse,this.recalculateElementsToShow()},t.prototype.openSortingOrderModal=function(){var t=this,e=Object.keys(qC),n=new Map,i=e.map((function(t){var e=qC[t];return n.set(e,qC[t]),e}));qM.openDialog(this.dialog,i).afterClosed().subscribe((function(e){e&&(!n.has(e.label)||e.sortReverse===t.sortReverse&&n.get(e.label)===t.sortBy||(t.sortBy=n.get(e.label),t.sortReverse=e.sortReverse,t.recalculateElementsToShow()))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.allTransports){this.allTransports.sort((function(e,n){var i,r=e.id.localeCompare(n.id);return 0!==(i=t.sortBy===qC.Id?t.sortReverse?n.id.localeCompare(e.id):e.id.localeCompare(n.id):t.sortBy===qC.RemotePk?t.sortReverse?n.remote_pk.localeCompare(e.remote_pk):e.remote_pk.localeCompare(n.remote_pk):t.sortBy===qC.Type?t.sortReverse?n.type.localeCompare(e.type):e.type.localeCompare(n.type):t.sortBy===qC.Uploaded?t.sortReverse?e.log.sent-n.log.sent:n.log.sent-e.log.sent:t.sortBy===qC.Downloaded?t.sortReverse?e.log.recv-n.log.recv:n.log.recv-e.log.recv:r)?i:r}));var e=this.showShortList_?Dg.maxShortListElements:Dg.maxFullListElements;this.numberOfPages=Math.ceil(this.allTransports.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.transportsToShow=this.allTransports.slice(n,n+e);var i=new Map;this.transportsToShow.forEach((function(e){i.set(e.id,!0),t.selections.has(e.id)||t.selections.set(e.id,!1)}));var r=[];this.selections.forEach((function(t,e){i.has(e)||r.push(e)})),r.forEach((function(e){t.selections.delete(e)}))}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow},t.prototype.startDeleting=function(t){return this.transportService.delete(IS.getCurrentNodeKey(),t)},t.prototype.deleteRecursively=function(t,e){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe((function(){t.pop(),0===t.length?(e.close(),IS.refreshCurrentDisplayedData(),n.snackbarService.showDone("transports.deleted")):n.deleteRecursively(t,e)}),(function(t){IS.refreshCurrentDisplayedData(),t=Up(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))},t.sortByInternal=qC.Id,t.sortReverseInternal=!1,t}(),GC=Xn({encapsulation:0,styles:[[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.table-container[_ngcontent-%COMP%]{padding:0}}@media (max-width:767px){.full-list-table-container[_ngcontent-%COMP%]{padding:0}}"]],data:{}});function JC(t){return pl(0,[(t()(),Go(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("transports.title")))}))}function ZC(t){return pl(0,[(t()(),Go(0,16777216,null,null,3,"mat-icon",[["aria-haspopup","true"],["class","mat-icon notranslate mat-menu-trigger"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==Zi(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==Zi(t,2)._handleClick(n)&&i),i}),Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),ur(2,1196032,null,0,xx,[Pm,an,In,bx,[2,yx],[8,null],[2,W_],lg],{menu:[0,"menu"]},null),(t()(),cl(-1,0,["more_horiz"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0),t(e,2,0,Zi(e.parent,13))}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color,Zi(e,2).menuOpen||null)}))}function $C(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"transports");t(e,1,0,i,r,o)}),null)}function XC(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function QC(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function tL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function eL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function nL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function iL(t){return pl(0,[(t()(),Go(0,0,null,null,33,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"td",[["class","selection-col"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(4,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(5,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),Go(6,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(7,49152,null,0,wS,[Lg],{short:[0,"short"],text:[1,"text"]},null),(t()(),Go(8,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),Go(9,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(10,49152,null,0,wS,[Lg],{short:[0,"short"],text:[1,"text"]},null),(t()(),Go(11,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(12,null,[" "," "])),(t()(),Go(13,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),cl(14,null,[" "," "])),ll(15,1),(t()(),Go(16,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),cl(17,null,[" "," "])),ll(18,1),(t()(),Go(19,0,null,null,14,"td",[["class","actions"]],null,null,null,null,null)),(t()(),Go(20,16777216,null,null,6,"button",[["class","action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,22).show()&&i),"keydown"===e&&(i=!1!==Zi(t,22)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,22)._handleTouchend()&&i),"click"===e&&(i=!1!==r.details(t.context.$implicit)&&i),i}),pb,hb)),ur(21,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(22,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(25,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["visibility"])),(t()(),Go(27,16777216,null,null,6,"button",[["class","action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,29).show()&&i),"keydown"===e&&(i=!1!==Zi(t,29)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,29)._handleTouchend()&&i),"click"===e&&(i=!1!==r.delete(t.context.$implicit.id)&&i),i}),pb,hb)),ur(28,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(29,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(31,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(32,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["close"]))],(function(t,e){t(e,4,0,e.component.selections.get(e.context.$implicit.id)),t(e,7,0,!0,Si(1,"",e.context.$implicit.id,"")),t(e,10,0,!0,Si(1,"",e.context.$implicit.remote_pk,"")),t(e,22,0,Jn(e,22,0,Zi(e,23).transform("transports.details.title"))),t(e,25,0,!0),t(e,29,0,Jn(e,29,0,Zi(e,30).transform("transports.delete"))),t(e,32,0,!0)}),(function(t,e){t(e,2,0,Zi(e,4).id,null,Zi(e,4).indeterminate,Zi(e,4).checked,Zi(e,4).disabled,"before"==Zi(e,4).labelPosition,"NoopAnimations"===Zi(e,4)._animationMode),t(e,12,0,e.context.$implicit.type);var n=Jn(e,14,0,t(e,15,0,Zi(e.parent.parent,0),e.context.$implicit.log.sent));t(e,14,0,n);var i=Jn(e,17,0,t(e,18,0,Zi(e.parent.parent,0),e.context.$implicit.log.recv));t(e,17,0,i),t(e,20,0,Zi(e,21).disabled||null,"NoopAnimations"===Zi(e,21)._animationMode),t(e,24,0,Zi(e,25).inline,"primary"!==Zi(e,25).color&&"accent"!==Zi(e,25).color&&"warn"!==Zi(e,25).color),t(e,27,0,Zi(e,28).disabled||null,"NoopAnimations"===Zi(e,28)._animationMode),t(e,31,0,Zi(e,32).inline,"primary"!==Zi(e,32).color&&"accent"!==Zi(e,32).color&&"warn"!==Zi(e,32).color)}))}function rL(t){return pl(0,[(t()(),Go(0,0,null,null,47,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,46,"td",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,45,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,3,"div",[["class","check-part"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(6,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(7,0,null,null,31,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,6,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(13,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(14,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(15,0,null,null,6,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(16,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(17,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(20,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(21,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(22,0,null,null,4,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(23,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(24,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(26,null,[": "," "])),(t()(),Go(27,0,null,null,5,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(28,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(29,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(31,null,[": "," "])),ll(32,1),(t()(),Go(33,0,null,null,5,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(34,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(35,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(37,null,[": "," "])),ll(38,1),(t()(),Go(39,0,null,null,0,"div",[["class","margin-part"]],null,null,null,null,null)),(t()(),Go(40,0,null,null,7,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(41,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,43).show()&&i),"keydown"===e&&(i=!1!==Zi(t,43)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,43)._handleTouchend()&&i),"click"===e&&(n.stopPropagation(),i=!1!==r.showOptionsDialog(t.context.$implicit)&&i),i}),pb,hb)),ur(42,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(43,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(45,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(46,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(47,0,["",""]))],(function(t,e){t(e,6,0,e.component.selections.get(e.context.$implicit.id)),t(e,14,0,Si(1,"",e.context.$implicit.id,"")),t(e,21,0,Si(1,"",e.context.$implicit.remote_pk,"")),t(e,43,0,Jn(e,43,0,Zi(e,44).transform("common.options"))),t(e,46,0)}),(function(t,e){t(e,4,0,Zi(e,6).id,null,Zi(e,6).indeterminate,Zi(e,6).checked,Zi(e,6).disabled,"before"==Zi(e,6).labelPosition,"NoopAnimations"===Zi(e,6)._animationMode),t(e,10,0,Jn(e,10,0,Zi(e,11).transform("transports.id"))),t(e,17,0,Jn(e,17,0,Zi(e,18).transform("transports.remote-node"))),t(e,24,0,Jn(e,24,0,Zi(e,25).transform("transports.type"))),t(e,26,0,e.context.$implicit.type),t(e,29,0,Jn(e,29,0,Zi(e,30).transform("common.uploaded")));var n=Jn(e,31,0,t(e,32,0,Zi(e.parent.parent,0),e.context.$implicit.log.sent));t(e,31,0,n),t(e,35,0,Jn(e,35,0,Zi(e,36).transform("common.downloaded")));var i=Jn(e,37,0,t(e,38,0,Zi(e.parent.parent,0),e.context.$implicit.log.recv));t(e,37,0,i),t(e,41,0,Zi(e,42).disabled||null,"NoopAnimations"===Zi(e,42)._animationMode),t(e,45,0,Zi(e,46).inline,"primary"!==Zi(e,46).color&&"accent"!==Zi(e,46).color&&"warn"!==Zi(e,46).color),t(e,47,0,"add")}))}function oL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-view-all-link",[],null,null,null,BC,VC)),ur(1,49152,null,0,zC,[],{numberOfElements:[0,"numberOfElements"],linkParts:[1,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.allTransports.length,r=t(e,2,0,"/nodes",n.nodePK,"transports");t(e,1,0,i,r)}),null)}function lL(t){return pl(0,[(t()(),Go(0,0,null,null,60,"div",[["class","container-elevated-translucid mt-3 overflow"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"table-container":0,"full-list-table-container":1}),(t()(),Go(4,0,null,null,33,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-none d-md-table"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"d-lg-none d-xl-table":0}),(t()(),Go(8,0,null,null,27,"tr",[],null,null,null,null,null)),(t()(),Go(9,0,null,null,0,"th",[],null,null,null,null,null)),(t()(),Go(10,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Id)&&i),i}),null,null)),(t()(),cl(11,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,XC)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(15,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.RemotePk)&&i),i}),null,null)),(t()(),cl(16,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,QC)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(20,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Type)&&i),i}),null,null)),(t()(),cl(21,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,tL)),ur(24,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(25,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Uploaded)&&i),i}),null,null)),(t()(),cl(26,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,eL)),ur(29,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(30,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Downloaded)&&i),i}),null,null)),(t()(),cl(31,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,nL)),ur(34,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(35,0,null,null,0,"th",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,iL)),ur(37,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(38,0,null,null,20,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-md-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(40,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(41,{"d-lg-table d-xl-none":0}),(t()(),Go(42,0,null,null,14,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openSortingOrderModal()&&i),i}),null,null)),(t()(),Go(43,0,null,null,13,"td",[],null,null,null,null,null)),(t()(),Go(44,0,null,null,12,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(45,0,null,null,7,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(46,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(47,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(49,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),cl(50,null,[""," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),(t()(),Go(53,0,null,null,3,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(54,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(55,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"])),(t()(),Ko(16777216,null,null,1,null,rL)),ur(58,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,oL)),ur(60,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,n.showShortList_,!n.showShortList_);t(e,2,0,"container-elevated-translucid mt-3 overflow",i);var r=t(e,7,0,n.showShortList_);t(e,6,0,"responsive-table-translucid d-none d-md-table",r),t(e,14,0,n.sortBy===n.sortableColumns.Id),t(e,19,0,n.sortBy===n.sortableColumns.RemotePk),t(e,24,0,n.sortBy===n.sortableColumns.Type),t(e,29,0,n.sortBy===n.sortableColumns.Uploaded),t(e,34,0,n.sortBy===n.sortableColumns.Downloaded),t(e,37,0,n.dataSource);var o=t(e,41,0,n.showShortList_);t(e,40,0,"responsive-table-translucid d-md-none",o),t(e,55,0,!0),t(e,58,0,n.dataSource),t(e,60,0,n.showShortList_&&n.numberOfPages>1)}),(function(t,e){var n=e.component;t(e,11,0,Jn(e,11,0,Zi(e,12).transform("transports.id"))),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("transports.remote-node"))),t(e,21,0,Jn(e,21,0,Zi(e,22).transform("transports.type"))),t(e,26,0,Jn(e,26,0,Zi(e,27).transform("common.uploaded"))),t(e,31,0,Jn(e,31,0,Zi(e,32).transform("common.downloaded"))),t(e,47,0,Jn(e,47,0,Zi(e,48).transform("tables.sorting-title"))),t(e,50,0,Jn(e,50,0,Zi(e,51).transform(n.sortBy)),Jn(e,50,1,Zi(e,52).transform(n.sortReverse?"tables.descending-order":"tables.ascending-order"))),t(e,54,0,Zi(e,55).inline,"primary"!==Zi(e,55).color&&"accent"!==Zi(e,55).color&&"warn"!==Zi(e,55).color)}))}function aL(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"span",[["class","font-sm"]],null,null,null,null,null)),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("transports.empty")))}))}function sL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"transports");t(e,1,0,i,r,o)}),null)}function uL(t){return pl(0,[cr(0,SS,[]),(t()(),Go(1,0,null,null,29,"div",[["class","generic-title-container mt-4.5 d-flex"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"div",[["class","title uppercase ml-3.5"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,JC)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(5,16777216,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,7).show()&&i),"keydown"===e&&(i=!1!==Zi(t,7)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,7)._handleTouchend()&&i),"click"===e&&(i=!1!==r.create()&&i),i}),Xk,$k)),ur(6,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),ur(7,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,0,["add"])),(t()(),Ko(16777216,null,null,1,null,ZC)),ur(11,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(12,0,null,null,18,"mat-menu",[],null,null,null,Dx,Cx)),ur(13,1294336,[["selectionMenu",4]],3,vx,[an,co,_x],{overlapTrigger:[0,"overlapTrigger"]},null),Qo(603979776,1,{_allItems:1}),Qo(603979776,2,{items:1}),Qo(603979776,3,{lazyContent:0}),dr(2048,null,yx,null,[vx]),dr(2048,null,mx,null,[yx]),(t()(),Go(19,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,20)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,20)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!0)&&i),i}),Ox,Tx)),ur(20,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(21,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(23,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,24)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,24)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!1)&&i),i}),Ox,Tx)),ur(24,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(25,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(27,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,28)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,28)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteSelected()&&i),i}),Ox,Tx)),ur(28,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(29,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,$C)),ur(32,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,lL)),ur(34,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,aL)),ur(36,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,sL)),ur(38,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,4,0,n.showShortList_),t(e,6,0),t(e,7,0,Jn(e,7,0,Zi(e,8).transform("transports.create"))),t(e,11,0,n.dataSource&&n.dataSource.length>0),t(e,13,0,!1),t(e,28,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,32,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource),t(e,34,0,n.dataSource&&n.dataSource.length>0),t(e,36,0,!n.dataSource||0===n.dataSource.length),t(e,38,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)}),(function(t,e){t(e,5,0,Zi(e,6).inline,"primary"!==Zi(e,6).color&&"accent"!==Zi(e,6).color&&"warn"!==Zi(e,6).color),t(e,19,0,Zi(e,20).role,Zi(e,20)._highlighted,Zi(e,20)._triggersSubmenu,Zi(e,20)._getTabIndex(),Zi(e,20).disabled.toString(),Zi(e,20).disabled||null),t(e,21,0,Jn(e,21,0,Zi(e,22).transform("selection.select-all"))),t(e,23,0,Zi(e,24).role,Zi(e,24)._highlighted,Zi(e,24)._triggersSubmenu,Zi(e,24)._getTabIndex(),Zi(e,24).disabled.toString(),Zi(e,24).disabled||null),t(e,25,0,Jn(e,25,0,Zi(e,26).transform("selection.unselect-all"))),t(e,27,0,Zi(e,28).role,Zi(e,28)._highlighted,Zi(e,28)._triggersSubmenu,Zi(e,28)._getTabIndex(),Zi(e,28).disabled.toString(),Zi(e,28).disabled||null),t(e,29,0,Jn(e,29,0,Zi(e,30).transform("selection.delete-all")))}))}var cL=function(){function t(t,e,n,i){this.data=t,this.routeService=e,this.dialogRef=n,this.snackbarService=i,this.shouldShowError=!0,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]])}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.largeModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){this.loadData(0)},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.prototype.getRuleTypeName=function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):t.toString()},t.prototype.closePopup=function(){this.dialogRef.close()},t.prototype.loadData=function(t){var e=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=Hs(1).pipe(dx(t),B((function(){return e.routeService.get(IS.getCurrentNodeKey(),e.data)}))).subscribe((function(t){e.snackbarService.closeCurrentIfTemporaryError(),e.routeRule=t}),(function(t){t=Up(t),e.shouldShowError&&(e.snackbarService.showError("common.loading-error",null,!0,t),e.shouldShowError=!1),e.loadData(3e3)}))},t}(),dL=function(t){return t.Key="routes.key",t.Rule="routes.rule",t}({}),hL=function(){function t(t,e,n,i){var r=this;this.routeService=t,this.dialog=e,this.route=n,this.snackbarService=i,this.sortableColumns=dL,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.operationSubscriptionsGroup=[],this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),r.currentPageInUrl=e,r.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"sortBy",{get:function(){return t.sortByInternal},set:function(e){t.sortByInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortReverse",{get:function(){return t.sortReverseInternal},set:function(e){t.sortReverseInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"routes",{set:function(t){this.allRoutes=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()}))},t.prototype.changeSelection=function(t){this.selections.get(t.key)?this.selections.set(t.key,!1):this.selections.set(t.key,!0)},t.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach((function(e){e&&(t=!0)})),t},t.prototype.changeAllSelections=function(t){var e=this;this.selections.forEach((function(n,i){e.selections.set(i,t)}))},t.prototype.deleteSelected=function(){var t=this,e=JM.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing();var n=[];t.selections.forEach((function(t,e){t&&n.push(e)})),t.deleteRecursively(n,e)}))},t.prototype.showOptionsDialog=function(t){var e=this;ZM.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}]).afterClosed().subscribe((function(n){1===n?e.details(t.key.toString()):2===n&&e.delete(t.key)}))},t.prototype.details=function(t){cL.openDialog(this.dialog,t)},t.prototype.delete=function(t){var e=this,n=JM.createConfirmationDialog(this.dialog,"routes.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.operationSubscriptionsGroup.push(e.startDeleting(t).subscribe((function(){n.close(),IS.refreshCurrentDisplayedData(),e.snackbarService.showDone("routes.deleted")}),(function(t){t=Up(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))}))},t.prototype.changeSortingOrder=function(t){this.sortBy!==t?(this.sortBy=t,this.sortReverse=!1):this.sortReverse=!this.sortReverse,this.recalculateElementsToShow()},t.prototype.openSortingOrderModal=function(){var t=this,e=Object.keys(dL),n=new Map,i=e.map((function(t){var e=dL[t];return n.set(e,dL[t]),e}));qM.openDialog(this.dialog,i).afterClosed().subscribe((function(e){e&&(!n.has(e.label)||e.sortReverse===t.sortReverse&&n.get(e.label)===t.sortBy||(t.sortBy=n.get(e.label),t.sortReverse=e.sortReverse,t.recalculateElementsToShow()))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.allRoutes){this.allRoutes.sort((function(e,n){var i,r=e.key-n.key;return 0!==(i=t.sortBy===dL.Key?t.sortReverse?n.key-e.key:e.key-n.key:t.sortBy===dL.Rule?t.sortReverse?n.rule.localeCompare(e.rule):e.rule.localeCompare(n.rule):r)?i:r}));var e=this.showShortList_?Dg.maxShortListElements:Dg.maxFullListElements;this.numberOfPages=Math.ceil(this.allRoutes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.routesToShow=this.allRoutes.slice(n,n+e);var i=new Map;this.routesToShow.forEach((function(e){i.set(e.key,!0),t.selections.has(e.key)||t.selections.set(e.key,!1)}));var r=[];this.selections.forEach((function(t,e){i.has(e)||r.push(e)})),r.forEach((function(e){t.selections.delete(e)}))}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow},t.prototype.startDeleting=function(t){return this.routeService.delete(IS.getCurrentNodeKey(),t.toString())},t.prototype.deleteRecursively=function(t,e){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe((function(){t.pop(),0===t.length?(e.close(),IS.refreshCurrentDisplayedData(),n.snackbarService.showDone("routes.deleted")):n.deleteRecursively(t,e)}),(function(t){IS.refreshCurrentDisplayedData(),t=Up(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))},t.sortByInternal=dL.Key,t.sortReverseInternal=!1,t}(),pL=Xn({encapsulation:0,styles:[[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.table-container[_ngcontent-%COMP%]{padding:0}}@media (max-width:767px){.full-list-table-container[_ngcontent-%COMP%]{padding:0}}"]],data:{}});function fL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.title")))}))}function mL(t){return pl(0,[(t()(),Go(0,16777216,null,null,3,"mat-icon",[["aria-haspopup","true"],["class","mat-icon notranslate mat-menu-trigger"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==Zi(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==Zi(t,2)._handleClick(n)&&i),i}),Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),ur(2,1196032,null,0,xx,[Pm,an,In,bx,[2,yx],[8,null],[2,W_],lg],{menu:[0,"menu"]},null),(t()(),cl(-1,0,["more_horiz"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0),t(e,2,0,Zi(e.parent,7))}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color,Zi(e,2).menuOpen||null)}))}function gL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"routes");t(e,1,0,i,r,o)}),null)}function _L(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function yL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function vL(t){return pl(0,[(t()(),Go(0,0,null,null,24,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"td",[["class","selection-col"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(4,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(5,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),(t()(),Go(7,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),Go(8,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(9,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(10,0,null,null,14,"td",[["class","actions"]],null,null,null,null,null)),(t()(),Go(11,16777216,null,null,6,"button",[["class","action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,13).show()&&i),"keydown"===e&&(i=!1!==Zi(t,13)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,13)._handleTouchend()&&i),"click"===e&&(i=!1!==r.details(t.context.$implicit.key)&&i),i}),pb,hb)),ur(12,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(13,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(16,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["visibility"])),(t()(),Go(18,16777216,null,null,6,"button",[["class","action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,20).show()&&i),"keydown"===e&&(i=!1!==Zi(t,20)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,20)._handleTouchend()&&i),"click"===e&&(i=!1!==r.delete(t.context.$implicit.key)&&i),i}),pb,hb)),ur(19,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(20,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(22,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(23,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["close"]))],(function(t,e){t(e,4,0,e.component.selections.get(e.context.$implicit.key)),t(e,9,0,e.context.$implicit.rule),t(e,13,0,Jn(e,13,0,Zi(e,14).transform("routes.details.title"))),t(e,16,0,!0),t(e,20,0,Jn(e,20,0,Zi(e,21).transform("routes.delete"))),t(e,23,0,!0)}),(function(t,e){t(e,2,0,Zi(e,4).id,null,Zi(e,4).indeterminate,Zi(e,4).checked,Zi(e,4).disabled,"before"==Zi(e,4).labelPosition,"NoopAnimations"===Zi(e,4)._animationMode),t(e,6,0,e.context.$implicit.key),t(e,11,0,Zi(e,12).disabled||null,"NoopAnimations"===Zi(e,12)._animationMode),t(e,15,0,Zi(e,16).inline,"primary"!==Zi(e,16).color&&"accent"!==Zi(e,16).color&&"warn"!==Zi(e,16).color),t(e,18,0,Zi(e,19).disabled||null,"NoopAnimations"===Zi(e,19)._animationMode),t(e,22,0,Zi(e,23).inline,"primary"!==Zi(e,23).color&&"accent"!==Zi(e,23).color&&"warn"!==Zi(e,23).color)}))}function bL(t){return pl(0,[(t()(),Go(0,0,null,null,28,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,27,"td",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,26,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,3,"div",[["class","check-part"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(6,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(7,0,null,null,12,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,4,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(12,null,[": "," "])),(t()(),Go(13,0,null,null,6,"div",[["class","list-row long-content"]],null,null,null,null,null)),(t()(),Go(14,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(15,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(18,0,null,null,1,"app-copy-to-clipboard-text",[],null,null,null,xS,kS)),ur(19,49152,null,0,wS,[Lg],{text:[0,"text"]},null),(t()(),Go(20,0,null,null,0,"div",[["class","margin-part"]],null,null,null,null,null)),(t()(),Go(21,0,null,null,7,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(22,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,24).show()&&i),"keydown"===e&&(i=!1!==Zi(t,24)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,24)._handleTouchend()&&i),"click"===e&&(n.stopPropagation(),i=!1!==r.showOptionsDialog(t.context.$implicit)&&i),i}),pb,hb)),ur(23,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(24,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(26,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(27,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(28,0,["",""]))],(function(t,e){t(e,6,0,e.component.selections.get(e.context.$implicit.key)),t(e,19,0,Si(1,"",e.context.$implicit.rule,"")),t(e,24,0,Jn(e,24,0,Zi(e,25).transform("common.options"))),t(e,27,0)}),(function(t,e){t(e,4,0,Zi(e,6).id,null,Zi(e,6).indeterminate,Zi(e,6).checked,Zi(e,6).disabled,"before"==Zi(e,6).labelPosition,"NoopAnimations"===Zi(e,6)._animationMode),t(e,10,0,Jn(e,10,0,Zi(e,11).transform("routes.key"))),t(e,12,0,e.context.$implicit.key),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("routes.rule"))),t(e,22,0,Zi(e,23).disabled||null,"NoopAnimations"===Zi(e,23)._animationMode),t(e,26,0,Zi(e,27).inline,"primary"!==Zi(e,27).color&&"accent"!==Zi(e,27).color&&"warn"!==Zi(e,27).color),t(e,28,0,"add")}))}function wL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-view-all-link",[],null,null,null,BC,VC)),ur(1,49152,null,0,zC,[],{numberOfElements:[0,"numberOfElements"],linkParts:[1,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.allRoutes.length,r=t(e,2,0,"/nodes",n.nodePK,"routes");t(e,1,0,i,r)}),null)}function kL(t){return pl(0,[(t()(),Go(0,0,null,null,45,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"table-container":0,"full-list-table-container":1}),(t()(),Go(4,0,null,null,18,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-none d-md-table"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"d-lg-none d-xl-table":0}),(t()(),Go(8,0,null,null,12,"tr",[],null,null,null,null,null)),(t()(),Go(9,0,null,null,0,"th",[],null,null,null,null,null)),(t()(),Go(10,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Key)&&i),i}),null,null)),(t()(),cl(11,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,_L)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(15,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Rule)&&i),i}),null,null)),(t()(),cl(16,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,yL)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(20,0,null,null,0,"th",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,vL)),ur(22,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(23,0,null,null,20,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-md-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(25,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(26,{"d-lg-table d-xl-none":0}),(t()(),Go(27,0,null,null,14,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openSortingOrderModal()&&i),i}),null,null)),(t()(),Go(28,0,null,null,13,"td",[],null,null,null,null,null)),(t()(),Go(29,0,null,null,12,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(30,0,null,null,7,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(31,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(32,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(34,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),cl(35,null,[""," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),(t()(),Go(38,0,null,null,3,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(39,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(40,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"])),(t()(),Ko(16777216,null,null,1,null,bL)),ur(43,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,wL)),ur(45,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,n.showShortList_,!n.showShortList_);t(e,2,0,"container-elevated-translucid mt-3",i);var r=t(e,7,0,n.showShortList_);t(e,6,0,"responsive-table-translucid d-none d-md-table",r),t(e,14,0,n.sortBy===n.sortableColumns.Key),t(e,19,0,n.sortBy===n.sortableColumns.Rule),t(e,22,0,n.dataSource);var o=t(e,26,0,n.showShortList_);t(e,25,0,"responsive-table-translucid d-md-none",o),t(e,40,0,!0),t(e,43,0,n.dataSource),t(e,45,0,n.showShortList_&&n.numberOfPages>1)}),(function(t,e){var n=e.component;t(e,11,0,Jn(e,11,0,Zi(e,12).transform("routes.key"))),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("routes.rule"))),t(e,32,0,Jn(e,32,0,Zi(e,33).transform("tables.sorting-title"))),t(e,35,0,Jn(e,35,0,Zi(e,36).transform(n.sortBy)),Jn(e,35,1,Zi(e,37).transform(n.sortReverse?"tables.descending-order":"tables.ascending-order"))),t(e,39,0,Zi(e,40).inline,"primary"!==Zi(e,40).color&&"accent"!==Zi(e,40).color&&"warn"!==Zi(e,40).color)}))}function xL(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"span",[["class","font-sm"]],null,null,null,null,null)),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("routes.empty")))}))}function ML(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"routes");t(e,1,0,i,r,o)}),null)}function SL(t){return pl(0,[(t()(),Go(0,0,null,null,24,"div",[["class","generic-title-container mt-4.5 d-flex"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title uppercase ml-3.5"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,fL)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,mL)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(6,0,null,null,18,"mat-menu",[],null,null,null,Dx,Cx)),ur(7,1294336,[["selectionMenu",4]],3,vx,[an,co,_x],{overlapTrigger:[0,"overlapTrigger"]},null),Qo(603979776,1,{_allItems:1}),Qo(603979776,2,{items:1}),Qo(603979776,3,{lazyContent:0}),dr(2048,null,yx,null,[vx]),dr(2048,null,mx,null,[yx]),(t()(),Go(13,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,14)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,14)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!0)&&i),i}),Ox,Tx)),ur(14,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(15,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(17,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,18)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,18)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!1)&&i),i}),Ox,Tx)),ur(18,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(19,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(21,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,22)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,22)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.deleteSelected()&&i),i}),Ox,Tx)),ur(22,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(23,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,gL)),ur(26,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,kL)),ur(28,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,xL)),ur(30,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,ML)),ur(32,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.showShortList_),t(e,5,0,n.dataSource&&n.dataSource.length>0),t(e,7,0,!1),t(e,22,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,26,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource),t(e,28,0,n.dataSource&&n.dataSource.length>0),t(e,30,0,!n.dataSource||0===n.dataSource.length),t(e,32,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)}),(function(t,e){t(e,13,0,Zi(e,14).role,Zi(e,14)._highlighted,Zi(e,14)._triggersSubmenu,Zi(e,14)._getTabIndex(),Zi(e,14).disabled.toString(),Zi(e,14).disabled||null),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("selection.select-all"))),t(e,17,0,Zi(e,18).role,Zi(e,18)._highlighted,Zi(e,18)._triggersSubmenu,Zi(e,18)._getTabIndex(),Zi(e,18).disabled.toString(),Zi(e,18).disabled||null),t(e,19,0,Jn(e,19,0,Zi(e,20).transform("selection.unselect-all"))),t(e,21,0,Zi(e,22).role,Zi(e,22)._highlighted,Zi(e,22)._triggersSubmenu,Zi(e,22)._getTabIndex(),Zi(e,22).disabled.toString(),Zi(e,22).disabled||null),t(e,23,0,Jn(e,23,0,Zi(e,24).transform("selection.delete-all")))}))}var CL=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.transports=e.transports,t.routes=e.routes}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),LL=Xn({encapsulation:0,styles:[[""]],data:{}});function DL(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-transport-list",[],null,null,null,uL,GC)),ur(1,180224,null,0,KC,[Ib,VM,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],transports:[2,"transports"]},null),(t()(),Go(2,0,null,null,1,"app-route-list",[],null,null,null,SL,pL)),ur(3,180224,null,0,hL,[BM,Ib,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],routes:[2,"routes"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!0,n.transports),t(e,3,0,n.nodePK,!0,n.routes)}),null)}function TL(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-routing",[],null,null,null,DL,LL)),ur(1,245760,null,0,CL,[],null,null)],(function(t,e){t(e,1,0)}),null)}var OL=Ni("app-routing",CL,TL,{},{},[]),PL=function(){function t(t){this.apiService=t}return t.prototype.changeAppState=function(t,e,n){return this.apiService.put("visors/"+t+"/apps/"+encodeURIComponent(e),{status:n?1:0})},t.prototype.changeAppAutostart=function(t,e,n){return this.changeAppSettings(t,e,{autostart:n})},t.prototype.changeAppSettings=function(t,e,n){return this.apiService.put("visors/"+t+"/apps/"+encodeURIComponent(e),n)},t.prototype.getLogMessages=function(t,e,n){var r=function(t,e,n,r){var o=function(t){if(ss(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();var e,n=parseFloat(t);if(!isNaN(t-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var r=Object(i.__read)(t.split("-").map((function(t){return+t})),3);return new Date(r[0],r[1]-1,r[2])}if(e=t.match(qa))return function(t){var e=new Date(0),n=0,i=0,r=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var l=Number(t[4]||0)-n,a=Number(t[5]||0)-i,s=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,l,a,s,u),e}(e)}var o=new Date(t);if(!ss(o))throw new Error('Unable to convert "'+t+'" into a date');return o}(t);e=function t(e,n){var i=function(t){return Pr(t)[Dr.LocaleId]}(e);if(Ka[i]=Ka[i]||{},Ka[i][n])return Ka[i][n];var r="";switch(n){case"shortDate":r=Na(e,ja.Short);break;case"mediumDate":r=Na(e,ja.Medium);break;case"longDate":r=Na(e,ja.Long);break;case"fullDate":r=Na(e,ja.Full);break;case"shortTime":r=Ha(e,ja.Short);break;case"mediumTime":r=Ha(e,ja.Medium);break;case"longTime":r=Ha(e,ja.Long);break;case"fullTime":r=Ha(e,ja.Full);break;case"short":var o=t(e,"shortTime"),l=t(e,"shortDate");r=Xa(za(e,ja.Short),[o,l]);break;case"medium":var a=t(e,"mediumTime"),s=t(e,"mediumDate");r=Xa(za(e,ja.Medium),[a,s]);break;case"long":var u=t(e,"longTime"),c=t(e,"longDate");r=Xa(za(e,ja.Long),[u,c]);break;case"full":var d=t(e,"fullTime"),h=t(e,"fullDate");r=Xa(za(e,ja.Full),[d,h])}return r&&(Ka[i][n]=r),r}(n,e)||e;for(var l,a=[];e;){if(!(l=Ga.exec(e))){a.push(e);break}var s=(a=a.concat(l.slice(1))).pop();if(!s)break;e=s}var u=o.getTimezoneOffset();r&&(u=as(r,u),o=function(t,e,n){var i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(as(e,i)-i))}(o,r));var c="";return a.forEach((function(t){var e=function(t){if(ls[t])return ls[t];var e;switch(t){case"G":case"GG":case"GGG":e=es($a.Eras,Ra.Abbreviated);break;case"GGGG":e=es($a.Eras,Ra.Wide);break;case"GGGGG":e=es($a.Eras,Ra.Narrow);break;case"y":e=ts(Za.FullYear,1,0,!1,!0);break;case"yy":e=ts(Za.FullYear,2,0,!0,!0);break;case"yyy":e=ts(Za.FullYear,3,0,!1,!0);break;case"yyyy":e=ts(Za.FullYear,4,0,!1,!0);break;case"M":case"L":e=ts(Za.Month,1,1);break;case"MM":case"LL":e=ts(Za.Month,2,1);break;case"MMM":e=es($a.Months,Ra.Abbreviated);break;case"MMMM":e=es($a.Months,Ra.Wide);break;case"MMMMM":e=es($a.Months,Ra.Narrow);break;case"LLL":e=es($a.Months,Ra.Abbreviated,Aa.Standalone);break;case"LLLL":e=es($a.Months,Ra.Wide,Aa.Standalone);break;case"LLLLL":e=es($a.Months,Ra.Narrow,Aa.Standalone);break;case"w":e=os(1);break;case"ww":e=os(2);break;case"W":e=os(1,!0);break;case"d":e=ts(Za.Date,1);break;case"dd":e=ts(Za.Date,2);break;case"E":case"EE":case"EEE":e=es($a.Days,Ra.Abbreviated);break;case"EEEE":e=es($a.Days,Ra.Wide);break;case"EEEEE":e=es($a.Days,Ra.Narrow);break;case"EEEEEE":e=es($a.Days,Ra.Short);break;case"a":case"aa":case"aaa":e=es($a.DayPeriods,Ra.Abbreviated);break;case"aaaa":e=es($a.DayPeriods,Ra.Wide);break;case"aaaaa":e=es($a.DayPeriods,Ra.Narrow);break;case"b":case"bb":case"bbb":e=es($a.DayPeriods,Ra.Abbreviated,Aa.Standalone,!0);break;case"bbbb":e=es($a.DayPeriods,Ra.Wide,Aa.Standalone,!0);break;case"bbbbb":e=es($a.DayPeriods,Ra.Narrow,Aa.Standalone,!0);break;case"B":case"BB":case"BBB":e=es($a.DayPeriods,Ra.Abbreviated,Aa.Format,!0);break;case"BBBB":e=es($a.DayPeriods,Ra.Wide,Aa.Format,!0);break;case"BBBBB":e=es($a.DayPeriods,Ra.Narrow,Aa.Format,!0);break;case"h":e=ts(Za.Hours,1,-12);break;case"hh":e=ts(Za.Hours,2,-12);break;case"H":e=ts(Za.Hours,1);break;case"HH":e=ts(Za.Hours,2);break;case"m":e=ts(Za.Minutes,1);break;case"mm":e=ts(Za.Minutes,2);break;case"s":e=ts(Za.Seconds,1);break;case"ss":e=ts(Za.Seconds,2);break;case"S":e=ts(Za.FractionalSeconds,1);break;case"SS":e=ts(Za.FractionalSeconds,2);break;case"SSS":e=ts(Za.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=ns(Ja.Short);break;case"ZZZZZ":e=ns(Ja.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=ns(Ja.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=ns(Ja.Long);break;default:return null}return ls[t]=e,e}(t);c+=e?e(o,n,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),c}(-1!==n?Date.now()-864e5*n:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get("visors/"+t+"/apps/"+encodeURIComponent(e)+"/logs?since="+r).pipe(F((function(t){return t.logs})))},t.ngInjectableDef=ht({factory:function(){return new t(At(nx))},token:t,providedIn:"root"}),t}(),EL=function(){function t(t,e,n){this.data=t,this.dialogRef=e,this.formBuilder=n}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.smallModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe((function(e){t.dialogRef.close(t.filters.find((function(t){return t.days===e})))}))},t.prototype.ngOnDestroy=function(){this.formSubscription.unsubscribe()},t}(),IL=function(){function t(t,e,n,i){this.data=t,this.appsService=e,this.dialog=n,this.snackbarService=i,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.largeModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){this.loadData(0)},t.prototype.ngOnDestroy=function(){this.removeSubscription()},t.prototype.filter=function(){var t=this;EL.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe((function(e){e&&(t.currentFilter=e,t.logMessages=[],t.loadData(0))}))},t.prototype.loadData=function(t){var e=this;this.removeSubscription(),this.loading=!0,this.subscription=Hs(1).pipe(dx(t),B((function(){return e.appsService.getLogMessages(IS.getCurrentNodeKey(),e.data.name,e.currentFilter.days)}))).subscribe((function(t){return e.onLogsReceived(t)}),(function(t){return e.onLogsError(t)}))},t.prototype.removeSubscription=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.onLogsReceived=function(t){var e=this;void 0===t&&(t=[]),this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),t.forEach((function(t){var n=t.startsWith("[")?0:-1,i=-1!==n?t.indexOf("]"):-1;e.logMessages.push(-1!==n&&-1!==i?{time:t.substr(n,i+1),msg:t.substr(i+1)}:{time:"",msg:t})})),setTimeout((function(){e.content.nativeElement.scrollTop=e.content.nativeElement.scrollHeight}))},t.prototype.onLogsError=function(t){t=Up(t),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,t),this.shouldShowError=!1),this.loadData(3e3)},t}(),YL=function(){function t(t,e,n,i,r,o){this.data=t,this.appsService=e,this.formBuilder=n,this.dialogRef=i,this.snackbarService=r,this.dialog=o}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.mediumModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)]}),this.formSubscription=this.form.get("password").valueChanges.subscribe((function(){t.form.get("passwordConfirmation").updateValueAndValidity()})),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.ngOnDestroy=function(){this.formSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.saveChanges=function(){var t=this;if(this.form.valid&&!this.button.disabled){var e=this.form.get("password").value?"apps.skysocks-settings.change-passowrd-confirmation":"apps.skysocks-settings.remove-passowrd-confirmation",n=JM.createConfirmationDialog(this.dialog,e);n.componentInstance.operationAccepted.subscribe((function(){n.close(),t.continueSavingChanges()}))}},t.prototype.continueSavingChanges=function(){this.button.showLoading(),this.operationSubscription=this.appsService.changeAppSettings(IS.getCurrentNodeKey(),this.data,{passcode:this.form.get("password").value}).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})},t.prototype.onSuccess=function(){IS.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.skysocks-settings.changes-made"),this.dialogRef.close()},t.prototype.onError=function(t){this.button.showError(),t=Up(t),this.snackbarService.showError(t)},t.prototype.validatePasswords=function(){return this.form&&this.form.get("password").value!==this.form.get("passwordConfirmation").value?{invalid:!0}:null},t}(),AL=function(){function t(t,e,n,i,r,o){this.data=t,this.dialogRef=e,this.appsService=n,this.formBuilder=i,this.snackbarService=r,this.dialog=o,this.historyStorageKey="SkysocksClientHistory",this.maxHistoryElements=10,this.working=!1}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width=Dg.mediumModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this,e=localStorage.getItem(this.historyStorageKey);this.history=e?JSON.parse(e):[],this.form=this.formBuilder.group({pk:["",sw.compose([sw.required,sw.minLength(66),sw.maxLength(66),sw.pattern("^[0-9a-fA-F]+$")])]}),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.ngOnDestroy=function(){this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.saveChanges=function(t){var e=this;if(void 0===t&&(t=null),(this.form.valid||t)&&!this.working){this.lastPublicKey=t||this.form.get("pk").value;var n=JM.createConfirmationDialog(this.dialog,"apps.skysocks-client-settings.change-key-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.close(),e.continueSavingChanges()}))}},t.prototype.continueSavingChanges=function(){this.button.showLoading(),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(IS.getCurrentNodeKey(),this.data,{pk:this.lastPublicKey}).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})},t.prototype.onSuccess=function(){var t=this;if(this.history=this.history.filter((function(e){return e!==t.lastPublicKey})),this.history=[this.lastPublicKey].concat(this.history),this.history.length>this.maxHistoryElements){var e=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-e,e)}var n=JSON.stringify(this.history);localStorage.setItem(this.historyStorageKey,n),IS.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.skysocks-client-settings.changes-made"),this.dialogRef.close()},t.prototype.onError=function(t){this.working=!1,this.button.showError(),t=Up(t),this.snackbarService.showError(t)},t}(),RL=function(t){return t.Name="apps.apps-list.app-name",t.Port="apps.apps-list.port",t.Status="apps.apps-list.status",t.AutoStart="apps.apps-list.auto-start",t}({}),jL=function(){function t(t,e,n,i){var r=this;this.appsService=t,this.dialog=e,this.route=n,this.snackbarService=i,this.sortableColumns=RL,this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.operationSubscriptionsGroup=[],this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),r.currentPageInUrl=e,r.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"sortBy",{get:function(){return t.sortByInternal},set:function(e){t.sortByInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortReverse",{get:function(){return t.sortReverseInternal},set:function(e){t.sortReverseInternal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"apps",{set:function(t){this.allApps=t,this.recalculateElementsToShow()},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()}))},t.prototype.changeSelection=function(t){this.selections.get(t.name)?this.selections.set(t.name,!1):this.selections.set(t.name,!0)},t.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach((function(e){e&&(t=!0)})),t},t.prototype.changeAllSelections=function(t){var e=this;this.selections.forEach((function(n,i){e.selections.set(i,t)}))},t.prototype.changeStateOfSelected=function(t){var e=this,n=[];if(this.selections.forEach((function(i,r){i&&(t&&1!==e.appsMap.get(r).status||!t&&1===e.appsMap.get(r).status)&&n.push(r)})),t)this.changeAppsValRecursively(n,!1,t);else{var i=JM.createConfirmationDialog(this.dialog,"apps.stop-selected-confirmation");i.componentInstance.operationAccepted.subscribe((function(){i.componentInstance.showProcessing(),e.changeAppsValRecursively(n,!1,t,i)}))}},t.prototype.changeAutostartOfSelected=function(t){var e=this,n=[];this.selections.forEach((function(i,r){i&&(t&&!e.appsMap.get(r).autostart||!t&&e.appsMap.get(r).autostart)&&n.push(r)}));var i=JM.createConfirmationDialog(this.dialog,t?"apps.enable-autostart-selected-confirmation":"apps.disable-autostart-selected-confirmation");i.componentInstance.operationAccepted.subscribe((function(){i.componentInstance.showProcessing(),e.changeAppsValRecursively(n,!0,t,i)}))},t.prototype.showOptionsDialog=function(t){var e=this,n=[{icon:"list",label:"apps.view-logs"},{icon:1===t.status?"stop":"play_arrow",label:"apps."+(1===t.status?"stop-app":"start-app")},{icon:t.autostart?"close":"done",label:t.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart"}];this.appsWithConfig.has(t.name)&&n.push({icon:"settings",label:"apps.settings"}),ZM.openDialog(this.dialog,n).afterClosed().subscribe((function(n){1===n?e.viewLogs(t):2===n?e.changeAppState(t):3===n?e.changeAppAutostart(t):4===n&&e.config(t)}))},t.prototype.changeAppState=function(t){var e=this;if(1!==t.status)this.changeSingleAppVal(this.startChangingAppState(t.name,1!==t.status));else{var n=JM.createConfirmationDialog(this.dialog,"apps.stop-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.changeSingleAppVal(e.startChangingAppState(t.name,1!==t.status),n)}))}},t.prototype.changeAppAutostart=function(t){var e=this,n=JM.createConfirmationDialog(this.dialog,t.autostart?"apps.disable-autostart-confirmation":"apps.enable-autostart-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.changeSingleAppVal(e.startChangingAppAutostart(t.name,!t.autostart),n)}))},t.prototype.changeSingleAppVal=function(t,e){var n=this;void 0===e&&(e=null),this.operationSubscriptionsGroup.push(t.subscribe((function(){e&&e.close(),setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),n.snackbarService.showDone("apps.operation-completed")}),(function(t){t=Up(t),setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),e?e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg):n.snackbarService.showError(t)})))},t.prototype.viewLogs=function(t){IL.openDialog(this.dialog,t)},t.prototype.config=function(t){"skysocks"===t.name?YL.openDialog(this.dialog,t.name):"skysocks-client"===t.name?AL.openDialog(this.dialog,t.name):this.snackbarService.showError("apps.error")},t.prototype.changeSortingOrder=function(t){this.sortBy!==t?(this.sortBy=t,this.sortReverse=!1):this.sortReverse=!this.sortReverse,this.recalculateElementsToShow()},t.prototype.openSortingOrderModal=function(){var t=this,e=Object.keys(RL),n=new Map,i=e.map((function(t){var e=RL[t];return n.set(e,RL[t]),e}));qM.openDialog(this.dialog,i).afterClosed().subscribe((function(e){e&&(!n.has(e.label)||e.sortReverse===t.sortReverse&&n.get(e.label)===t.sortBy||(t.sortBy=n.get(e.label),t.sortReverse=e.sortReverse,t.recalculateElementsToShow()))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.allApps){this.allApps.sort((function(e,n){var i,r=e.name.localeCompare(n.name);return 0!==(i=t.sortBy===RL.Name?t.sortReverse?n.name.localeCompare(e.name):e.name.localeCompare(n.name):t.sortBy===RL.Port?t.sortReverse?n.port-e.port:e.port-n.port:t.sortBy===RL.Status?t.sortReverse?e.status-n.status:n.status-e.status:t.sortBy===RL.AutoStart?t.sortReverse?(e.autostart?1:0)-(n.autostart?1:0):(n.autostart?1:0)-(e.autostart?1:0):r)?i:r}));var e=this.showShortList_?Dg.maxShortListElements:Dg.maxFullListElements;this.numberOfPages=Math.ceil(this.allApps.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.appsToShow=this.allApps.slice(n,n+e),this.appsMap=new Map,this.appsToShow.forEach((function(e){t.appsMap.set(e.name,e),t.selections.has(e.name)||t.selections.set(e.name,!1)}));var i=[];this.selections.forEach((function(e,n){t.appsMap.has(n)||i.push(n)})),i.forEach((function(e){t.selections.delete(e)}))}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow},t.prototype.startChangingAppState=function(t,e){return this.appsService.changeAppState(IS.getCurrentNodeKey(),t,e)},t.prototype.startChangingAppAutostart=function(t,e){return this.appsService.changeAppAutostart(IS.getCurrentNodeKey(),t,e)},t.prototype.changeAppsValRecursively=function(t,e,n,i){var r,o=this;if(void 0===i&&(i=null),!t||0===t.length)return setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(i&&i.close());r=e?this.startChangingAppAutostart(t[t.length-1],n):this.startChangingAppState(t[t.length-1],n),this.operationSubscriptionsGroup.push(r.subscribe((function(){t.pop(),0===t.length?(i&&i.close(),setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),o.snackbarService.showDone("apps.operation-completed")):o.changeAppsValRecursively(t,e,n,i)}),(function(t){t=Up(t),setTimeout((function(){return IS.refreshCurrentDisplayedData()}),50),i?i.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg):o.snackbarService.showError(t)})))},t.sortByInternal=RL.Name,t.sortReverseInternal=!1,t}(),FL=Xn({encapsulation:0,styles:[[".actions[_ngcontent-%COMP%]{text-align:right;width:120px}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.table-container[_ngcontent-%COMP%]{padding:0}}@media (max-width:767px){.full-list-table-container[_ngcontent-%COMP%]{padding:0}}"]],data:{}});function NL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.apps-list.title")))}))}function HL(t){return pl(0,[(t()(),Go(0,16777216,null,null,3,"mat-icon",[["aria-haspopup","true"],["class","mat-icon notranslate mat-menu-trigger"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==Zi(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==Zi(t,2)._handleClick(n)&&i),i}),Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),ur(2,1196032,null,0,xx,[Pm,an,In,bx,[2,yx],[8,null],[2,W_],lg],{menu:[0,"menu"]},null),(t()(),cl(-1,0,["more_horiz"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0),t(e,2,0,Zi(e.parent,7))}),(function(t,e){t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color,Zi(e,2).menuOpen||null)}))}function zL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"apps-list");t(e,1,0,i,r,o)}),null)}function VL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function BL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function WL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function UL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(1,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,!0)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).inline,"primary"!==Zi(e,1).color&&"accent"!==Zi(e,1).color&&"warn"!==Zi(e,1).color),t(e,2,0,n.sortingArrow)}))}function qL(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"button",[["class","big-action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,2).show()&&i),"keydown"===e&&(i=!1!==Zi(t,2)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,2)._handleTouchend()&&i),"click"===e&&(i=!1!==r.config(t.parent.context.$implicit)&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(2,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(5,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["settings"])),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.settings"))),t(e,5,0,!0)}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode),t(e,4,0,Zi(e,5).inline,"primary"!==Zi(e,5).color&&"accent"!==Zi(e,5).color&&"warn"!==Zi(e,5).color)}))}function KL(t){return pl(0,[(t()(),Go(0,0,null,null,37,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"td",[["class","selection-col"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(4,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(5,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),(t()(),Go(7,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),cl(8,null,[" "," "])),(t()(),Go(9,0,null,null,3,"td",[],null,null,null,null,null)),(t()(),Go(10,16777216,null,null,2,"i",[],[[8,"className",0]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,11).show()&&i),"keydown"===e&&(i=!1!==Zi(t,11)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,11)._handleTouchend()&&i),i}),null,null)),ur(11,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(13,0,null,null,7,"td",[],null,null,null,null,null)),(t()(),Go(14,16777216,null,null,6,"button",[["class","big-action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,16).show()&&i),"keydown"===e&&(i=!1!==Zi(t,16)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,16)._handleTouchend()&&i),"click"===e&&(i=!1!==r.changeAppAutostart(t.context.$implicit)&&i),i}),pb,hb)),ur(15,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(16,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(18,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(19,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(20,0,["",""])),(t()(),Go(21,0,null,null,16,"td",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,qL)),ur(23,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(24,16777216,null,null,6,"button",[["class","big-action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,26).show()&&i),"keydown"===e&&(i=!1!==Zi(t,26)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,26)._handleTouchend()&&i),"click"===e&&(i=!1!==r.viewLogs(t.context.$implicit)&&i),i}),pb,hb)),ur(25,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(26,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(28,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(29,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["list"])),(t()(),Go(31,16777216,null,null,6,"button",[["class","big-action-button hard-grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,33).show()&&i),"keydown"===e&&(i=!1!==Zi(t,33)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,33)._handleTouchend()&&i),"click"===e&&(i=!1!==r.changeAppState(t.context.$implicit)&&i),i}),pb,hb)),ur(32,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(33,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(35,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(36,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(37,0,["",""]))],(function(t,e){var n=e.component;t(e,4,0,n.selections.get(e.context.$implicit.name)),t(e,11,0,Jn(e,11,0,Zi(e,12).transform(1===e.context.$implicit.status?"apps.status-running-tooltip":"apps.status-stopped-tooltip"))),t(e,16,0,Jn(e,16,0,Zi(e,17).transform(e.context.$implicit.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart"))),t(e,19,0,!0),t(e,23,0,n.appsWithConfig.has(e.context.$implicit.name)),t(e,26,0,Jn(e,26,0,Zi(e,27).transform("apps.view-logs"))),t(e,29,0,!0),t(e,33,0,Jn(e,33,0,Zi(e,34).transform("apps."+(1===e.context.$implicit.status?"stop-app":"start-app")))),t(e,36,0,!0)}),(function(t,e){t(e,2,0,Zi(e,4).id,null,Zi(e,4).indeterminate,Zi(e,4).checked,Zi(e,4).disabled,"before"==Zi(e,4).labelPosition,"NoopAnimations"===Zi(e,4)._animationMode),t(e,6,0,e.context.$implicit.name),t(e,8,0,e.context.$implicit.port),t(e,10,0,1===e.context.$implicit.status?"dot-green":"dot-red"),t(e,14,0,Zi(e,15).disabled||null,"NoopAnimations"===Zi(e,15)._animationMode),t(e,18,0,Zi(e,19).inline,"primary"!==Zi(e,19).color&&"accent"!==Zi(e,19).color&&"warn"!==Zi(e,19).color),t(e,20,0,e.context.$implicit.autostart?"done":"close"),t(e,24,0,Zi(e,25).disabled||null,"NoopAnimations"===Zi(e,25)._animationMode),t(e,28,0,Zi(e,29).inline,"primary"!==Zi(e,29).color&&"accent"!==Zi(e,29).color&&"warn"!==Zi(e,29).color),t(e,31,0,Zi(e,32).disabled||null,"NoopAnimations"===Zi(e,32)._animationMode),t(e,35,0,Zi(e,36).inline,"primary"!==Zi(e,36).color&&"accent"!==Zi(e,36).color&&"warn"!==Zi(e,36).color),t(e,37,0,1===e.context.$implicit.status?"stop":"play_arrow")}))}function GL(t){return pl(0,[(t()(),Go(0,0,null,null,42,"tr",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,41,"td",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,40,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,3,"div",[["class","check-part"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.changeSelection(t.context.$implicit)&&i),i}),HC,NC)),dr(5120,null,Gb,(function(t){return[t]}),[EC]),ur(6,8568832,null,0,EC,[an,De,lg,co,[8,null],[2,DC],[2,ub]],{checked:[0,"checked"]},{change:"change"}),(t()(),Go(7,0,null,null,26,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,4,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(12,null,[": "," "])),(t()(),Go(13,0,null,null,4,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(14,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(15,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(17,null,[": "," "])),(t()(),Go(18,0,null,null,7,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(19,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(20,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(23,0,null,null,2,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),cl(24,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(26,0,null,null,7,"div",[["class","list-row"]],null,null,null,null,null)),(t()(),Go(27,0,null,null,2,"span",[["class","title"]],null,null,null,null,null)),(t()(),cl(28,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,[": "])),(t()(),Go(31,0,null,null,2,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),cl(32,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(34,0,null,null,0,"div",[["class","margin-part"]],null,null,null,null,null)),(t()(),Go(35,0,null,null,7,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(36,16777216,null,null,6,"button",[["class","grey-button-background"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,38).show()&&i),"keydown"===e&&(i=!1!==Zi(t,38)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,38)._handleTouchend()&&i),"click"===e&&(n.stopPropagation(),i=!1!==r.showOptionsDialog(t.context.$implicit)&&i),i}),pb,hb)),ur(37,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(38,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(40,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(41,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(42,0,["",""]))],(function(t,e){t(e,6,0,e.component.selections.get(e.context.$implicit.name)),t(e,38,0,Jn(e,38,0,Zi(e,39).transform("common.options"))),t(e,41,0)}),(function(t,e){t(e,4,0,Zi(e,6).id,null,Zi(e,6).indeterminate,Zi(e,6).checked,Zi(e,6).disabled,"before"==Zi(e,6).labelPosition,"NoopAnimations"===Zi(e,6)._animationMode),t(e,10,0,Jn(e,10,0,Zi(e,11).transform("apps.apps-list.app-name"))),t(e,12,0,e.context.$implicit.name),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("apps.apps-list.port"))),t(e,17,0,e.context.$implicit.port),t(e,20,0,Jn(e,20,0,Zi(e,21).transform("apps.apps-list.status"))),t(e,23,0,(1===e.context.$implicit.status?"green-text":"red-text")+" title"),t(e,24,0,Jn(e,24,0,Zi(e,25).transform(1===e.context.$implicit.status?"apps.status-running":"apps.status-stopped"))),t(e,28,0,Jn(e,28,0,Zi(e,29).transform("apps.apps-list.auto-start"))),t(e,31,0,(e.context.$implicit.autostart?"green-text":"red-text")+" title"),t(e,32,0,Jn(e,32,0,Zi(e,33).transform(e.context.$implicit.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled"))),t(e,36,0,Zi(e,37).disabled||null,"NoopAnimations"===Zi(e,37)._animationMode),t(e,40,0,Zi(e,41).inline,"primary"!==Zi(e,41).color&&"accent"!==Zi(e,41).color&&"warn"!==Zi(e,41).color),t(e,42,0,"add")}))}function JL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-view-all-link",[],null,null,null,BC,VC)),ur(1,49152,null,0,zC,[],{numberOfElements:[0,"numberOfElements"],linkParts:[1,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.allApps.length,r=t(e,2,0,"/nodes",n.nodePK,"apps-list");t(e,1,0,i,r)}),null)}function ZL(t){return pl(0,[(t()(),Go(0,0,null,null,55,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(3,{"table-container":0,"full-list-table-container":1}),(t()(),Go(4,0,null,null,28,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-none d-md-table"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(6,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(7,{"d-lg-none d-xl-table":0}),(t()(),Go(8,0,null,null,22,"tr",[],null,null,null,null,null)),(t()(),Go(9,0,null,null,0,"th",[],null,null,null,null,null)),(t()(),Go(10,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Name)&&i),i}),null,null)),(t()(),cl(11,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,VL)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(15,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Port)&&i),i}),null,null)),(t()(),cl(16,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,BL)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(20,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.Status)&&i),i}),null,null)),(t()(),cl(21,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,WL)),ur(24,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(25,0,null,null,4,"th",[["class","sortable-column"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.changeSortingOrder(r.sortableColumns.AutoStart)&&i),i}),null,null)),(t()(),cl(26,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,UL)),ur(29,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(30,0,null,null,0,"th",[["class","actions"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,KL)),ur(32,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(33,0,null,null,20,"table",[["cellpadding","0"],["cellspacing","0"],["class","responsive-table-translucid d-md-none"]],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(35,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(36,{"d-lg-table d-xl-none":0}),(t()(),Go(37,0,null,null,14,"tr",[["class","selectable"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.openSortingOrderModal()&&i),i}),null,null)),(t()(),Go(38,0,null,null,13,"td",[],null,null,null,null,null)),(t()(),Go(39,0,null,null,12,"div",[["class","list-item-container"]],null,null,null,null,null)),(t()(),Go(40,0,null,null,7,"div",[["class","left-part"]],null,null,null,null,null)),(t()(),Go(41,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(42,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(44,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),cl(45,null,[""," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),(t()(),Go(48,0,null,null,3,"div",[["class","right-part"]],null,null,null,null,null)),(t()(),Go(49,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(50,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["keyboard_arrow_down"])),(t()(),Ko(16777216,null,null,1,null,GL)),ur(53,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,JL)),ur(55,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,n.showShortList_,!n.showShortList_);t(e,2,0,"container-elevated-translucid mt-3",i);var r=t(e,7,0,n.showShortList_);t(e,6,0,"responsive-table-translucid d-none d-md-table",r),t(e,14,0,n.sortBy===n.sortableColumns.Name),t(e,19,0,n.sortBy===n.sortableColumns.Port),t(e,24,0,n.sortBy===n.sortableColumns.Status),t(e,29,0,n.sortBy===n.sortableColumns.AutoStart),t(e,32,0,n.dataSource);var o=t(e,36,0,n.showShortList_);t(e,35,0,"responsive-table-translucid d-md-none",o),t(e,50,0,!0),t(e,53,0,n.dataSource),t(e,55,0,n.showShortList_&&n.numberOfPages>1)}),(function(t,e){var n=e.component;t(e,11,0,Jn(e,11,0,Zi(e,12).transform("apps.apps-list.app-name"))),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("apps.apps-list.port"))),t(e,21,0,Jn(e,21,0,Zi(e,22).transform("apps.apps-list.status"))),t(e,26,0,Jn(e,26,0,Zi(e,27).transform("apps.apps-list.auto-start"))),t(e,42,0,Jn(e,42,0,Zi(e,43).transform("tables.sorting-title"))),t(e,45,0,Jn(e,45,0,Zi(e,46).transform(n.sortBy)),Jn(e,45,1,Zi(e,47).transform(n.sortReverse?"tables.descending-order":"tables.ascending-order"))),t(e,49,0,Zi(e,50).inline,"primary"!==Zi(e,50).color&&"accent"!==Zi(e,50).color&&"warn"!==Zi(e,50).color)}))}function $L(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","container-elevated-translucid mt-3"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"span",[["class","font-sm"]],null,null,null,null,null)),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.apps-list.empty")))}))}function XL(t){return pl(0,[(t()(),Go(0,0,null,null,2,"app-paginator",[],null,null,null,LC,fC)),ur(1,49152,null,0,pC,[Ib,cp],{currentPage:[0,"currentPage"],numberOfPages:[1,"numberOfPages"],linkParts:[2,"linkParts"]},null),al(2,3)],(function(t,e){var n=e.component,i=n.currentPage,r=n.numberOfPages,o=t(e,2,0,"/nodes",n.nodePK,"apps-list");t(e,1,0,i,r,o)}),null)}function QL(t){return pl(0,[(t()(),Go(0,0,null,null,36,"div",[["class","generic-title-container mt-4.5 d-flex"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title uppercase ml-3.5"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,NL)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,HL)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(6,0,null,null,30,"mat-menu",[],null,null,null,Dx,Cx)),ur(7,1294336,[["selectionMenu",4]],3,vx,[an,co,_x],{overlapTrigger:[0,"overlapTrigger"]},null),Qo(603979776,1,{_allItems:1}),Qo(603979776,2,{items:1}),Qo(603979776,3,{lazyContent:0}),dr(2048,null,yx,null,[vx]),dr(2048,null,mx,null,[yx]),(t()(),Go(13,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,14)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,14)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!0)&&i),i}),Ox,Tx)),ur(14,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(15,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(17,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,18)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,18)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAllSelections(!1)&&i),i}),Ox,Tx)),ur(18,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],null,null),(t()(),cl(19,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(21,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,22)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,22)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeStateOfSelected(!0)&&i),i}),Ox,Tx)),ur(22,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(23,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(25,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,26)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,26)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeStateOfSelected(!1)&&i),i}),Ox,Tx)),ur(26,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(27,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(29,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,30)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,30)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAutostartOfSelected(!0)&&i),i}),Ox,Tx)),ur(30,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(31,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(33,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==Zi(t,34)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==Zi(t,34)._handleMouseEnter()&&i),"click"===e&&(i=!1!==r.changeAutostartOfSelected(!1)&&i),i}),Ox,Tx)),ur(34,180224,[[1,4],[2,4]],0,gx,[an,As,lg,[2,mx]],{disabled:[0,"disabled"]},null),(t()(),cl(35,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,zL)),ur(38,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,ZL)),ur(40,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,$L)),ur(42,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,XL)),ur(44,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.showShortList_),t(e,5,0,n.dataSource&&n.dataSource.length>0),t(e,7,0,!1),t(e,22,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,26,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,30,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,34,0,Si(1,"",!n.hasSelectedElements(),"")),t(e,38,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource),t(e,40,0,n.dataSource&&n.dataSource.length>0),t(e,42,0,!n.dataSource||0===n.dataSource.length),t(e,44,0,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)}),(function(t,e){t(e,13,0,Zi(e,14).role,Zi(e,14)._highlighted,Zi(e,14)._triggersSubmenu,Zi(e,14)._getTabIndex(),Zi(e,14).disabled.toString(),Zi(e,14).disabled||null),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("selection.select-all"))),t(e,17,0,Zi(e,18).role,Zi(e,18)._highlighted,Zi(e,18)._triggersSubmenu,Zi(e,18)._getTabIndex(),Zi(e,18).disabled.toString(),Zi(e,18).disabled||null),t(e,19,0,Jn(e,19,0,Zi(e,20).transform("selection.unselect-all"))),t(e,21,0,Zi(e,22).role,Zi(e,22)._highlighted,Zi(e,22)._triggersSubmenu,Zi(e,22)._getTabIndex(),Zi(e,22).disabled.toString(),Zi(e,22).disabled||null),t(e,23,0,Jn(e,23,0,Zi(e,24).transform("selection.start-all"))),t(e,25,0,Zi(e,26).role,Zi(e,26)._highlighted,Zi(e,26)._triggersSubmenu,Zi(e,26)._getTabIndex(),Zi(e,26).disabled.toString(),Zi(e,26).disabled||null),t(e,27,0,Jn(e,27,0,Zi(e,28).transform("selection.stop-all"))),t(e,29,0,Zi(e,30).role,Zi(e,30)._highlighted,Zi(e,30)._triggersSubmenu,Zi(e,30)._getTabIndex(),Zi(e,30).disabled.toString(),Zi(e,30).disabled||null),t(e,31,0,Jn(e,31,0,Zi(e,32).transform("selection.enable-autostart-all"))),t(e,33,0,Zi(e,34).role,Zi(e,34)._highlighted,Zi(e,34)._triggersSubmenu,Zi(e,34)._getTabIndex(),Zi(e,34).disabled.toString(),Zi(e,34).disabled||null),t(e,35,0,Jn(e,35,0,Zi(e,36).transform("selection.disable-autostart-all")))}))}var tD=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.apps=e.apps}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),eD=Xn({encapsulation:0,styles:[[""]],data:{}});function nD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-app-list",[],null,null,null,QL,FL)),ur(1,180224,null,0,jL,[PL,Ib,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],apps:[2,"apps"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!0,n.apps)}),null)}function iD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-apps",[],null,null,null,nD,eD)),ur(1,245760,null,0,tD,[],null,null)],(function(t,e){t(e,1,0)}),null)}var rD=Ni("app-apps",tD,iD,{},{},[]),oD=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.transports=e.transports}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),lD=Xn({encapsulation:0,styles:[[""]],data:{}});function aD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-transport-list",[],null,null,null,uL,GC)),ur(1,180224,null,0,KC,[Ib,VM,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],transports:[2,"transports"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!1,n.transports)}),null)}function sD(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,aD)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.transports)}),null)}function uD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-all-transports",[],null,null,null,sD,lD)),ur(1,245760,null,0,oD,[],null,null)],(function(t,e){t(e,1,0)}),null)}var cD=Ni("app-all-transports",oD,uD,{},{},[]),dD=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.routes=e.routes}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),hD=Xn({encapsulation:0,styles:[[""]],data:{}});function pD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-route-list",[],null,null,null,SL,pL)),ur(1,180224,null,0,hL,[BM,Ib,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],routes:[2,"routes"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!1,n.routes)}),null)}function fD(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,pD)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.routes)}),null)}function mD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-all-routes",[],null,null,null,fD,hD)),ur(1,245760,null,0,dD,[],null,null)],(function(t,e){t(e,1,0)}),null)}var gD=Ni("app-all-routes",dD,mD,{},{},[]),_D=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=IS.currentNode.subscribe((function(e){t.nodePK=e.local_pk,t.apps=e.apps}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t}(),yD=Xn({encapsulation:0,styles:[[""]],data:{}});function vD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-node-app-list",[],null,null,null,QL,FL)),ur(1,180224,null,0,jL,[PL,Ib,th,Lg],{nodePK:[0,"nodePK"],showShortList:[1,"showShortList"],apps:[2,"apps"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.nodePK,!1,n.apps)}),null)}function bD(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,vD)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.component.apps)}),null)}function wD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-all-apps",[],null,null,null,bD,yD)),ur(1,245760,null,0,_D,[],null,null)],(function(t,e){t(e,1,0)}),null)}var kD=Ni("app-all-apps",_D,wD,{},{},[]),xD=Xn({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function MD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,LD,CD)),ur(1,49152,null,0,L_,[[2,ub]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)}),(function(t,e){t(e,0,0,"indeterminate"===Zi(e,1).state,"checked"===Zi(e,1).state,Zi(e,1).disabled,"NoopAnimations"===Zi(e,1)._animationMode)}))}function SD(t){return pl(2,[(t()(),Ko(16777216,null,null,1,null,MD)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),rl(null,0),(t()(),Go(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(5,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())}),(function(t,e){t(e,4,0,Zi(e,5).unbounded)}))}var CD=Xn({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function LD(t){return pl(2,[],null,null)}var DD=0,TD=function(){return function(){this.id="mat-error-"+DD++}}(),OD=function(){return function(){}}();function PD(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}var ED=0,ID=l_(function(){return function(t){this._elementRef=t}}(),"primary"),YD=new St("MAT_FORM_FIELD_DEFAULT_OPTIONS"),AD=function(t){function e(e,n,i,r,o,l,a,s){var u=t.call(this,e)||this;return u._elementRef=e,u._changeDetectorRef=n,u._dir=r,u._defaults=o,u._platform=l,u._ngZone=a,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new C,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+ED++,u._labelId="mat-form-field-label-"+ED++,u._previousDirection="ltr",u._labelOptions=i||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==s,u.appearance=o&&o.appearance?o.appearance:"legacy",u._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,u}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(t){this._explicitFormFieldControl=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Su(null)).subscribe((function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(df(this._destroyed)).subscribe((function(){return t._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.asObservable().pipe(df(t._destroyed)).subscribe((function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()}))})),J(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Su(null)).subscribe((function(){t._processHints(),t._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Su(null)).subscribe((function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(df(this._destroyed)).subscribe((function(){t.updateOutlineGap(),t._previousDirection=t._dir.value}))},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,bf(this._label.nativeElement,"transitionend").pipe(mu(1)).subscribe((function(){t._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach((function(i){if("start"===i.align){if(t||n.hintLabel)throw PD("start");t=i}else if("end"===i.align){if(e)throw PD("end");e=i}}))},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find((function(t){return"start"===t.align})):null,n=this._hintChildren?this._hintChildren.find((function(t){return"end"===t.align})):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map((function(t){return t.id})));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var l=i.getBoundingClientRect();if(0===l.width&&0===l.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var a=this._getStartEnd(l),s=this._getStartEnd(t.children[0].getBoundingClientRect()),u=0,c=0,d=t.children;c0?.75*u+10:0}for(var h=0;h enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function FD(t){return pl(0,[(t()(),Go(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),Go(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Go(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function ND(t){return pl(0,[(t()(),Go(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),rl(null,0)],null,null)}function HD(t){return pl(0,[(t()(),Go(0,0,null,null,3,null,null,null,null,null,null,null)),rl(null,2),(t()(),Go(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component._control.placeholder)}))}function zD(t){return pl(0,[rl(null,3),(t()(),Ko(0,null,null,0))],null,null)}function VD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),cl(-1,null,[" *"]))],null,null)}function BD(t){return pl(0,[(t()(),Go(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component.updateOutlineGap()&&i),i}),null,null)),ur(1,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),ur(2,1196032,null,0,jC,[RC,an,co],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),Ko(16777216,null,null,1,null,HD)),ur(4,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,zD)),ur(6,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,VD)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function WD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),rl(null,4)],null,null)}function UD(t){return pl(0,[(t()(),Go(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)}))}function qD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),rl(null,5)],null,(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function KD(t){return pl(0,[(t()(),Go(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),cl(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)}))}function GD(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,KD)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),rl(null,6),(t()(),Go(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),rl(null,7)],(function(t,e){t(e,2,0,e.component.hintLabel)}),(function(t,e){t(e,0,0,e.component._subscriptAnimationState)}))}function JD(t){return pl(2,[Qo(671088640,1,{underlineRef:0}),Qo(402653184,2,{_connectionContainerRef:0}),Qo(671088640,3,{_inputContainerRef:0}),Qo(671088640,4,{_label:0}),(t()(),Go(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),Go(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==(r._control.onContainerClick&&r._control.onContainerClick(n))&&i),i}),null,null)),(t()(),Ko(16777216,null,null,1,null,FD)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,ND)),ur(9,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),rl(null,1),(t()(),Go(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,BD)),ur(14,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,WD)),ur(16,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,UD)),ur(18,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),ur(20,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ko(16777216,null,null,1,null,qD)),ur(22,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,GD)),ur(24,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")}),null)}var ZD=0,$D=new St("mat-select-scroll-strategy");function XD(t){return function(){return t.scrollStrategies.reposition()}}var QD=function(){return function(t,e){this.source=t,this.value=e}}(),tT=function(t){function e(e,n,i,r,o,l,a,s,u,c,d,h,p){var f=t.call(this,o,r,a,s,c)||this;return f._viewportRuler=e,f._changeDetectorRef=n,f._ngZone=i,f._dir=l,f._parentFormField=u,f.ngControl=c,f._liveAnnouncer=p,f._panelOpen=!1,f._required=!1,f._scrollTop=0,f._multiple=!1,f._compareWith=function(t,e){return t===e},f._uid="mat-select-"+ZD++,f._destroy=new C,f._triggerFontSize=0,f._onChange=function(){},f._onTouched=function(){},f._optionIds="",f._transformOrigin="top",f._panelDoneAnimatingStream=new C,f._offsetY=0,f._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],f._disableOptionCentering=!1,f._focused=!1,f.controlType="mat-select",f.ariaLabel="",f.optionSelectionChanges=Js((function(){var t=f.options;return t?t.changes.pipe(Su(t),wu((function(){return J.apply(void 0,t.map((function(t){return t.onSelectionChange})))}))):f._ngZone.onStable.asObservable().pipe(mu(1),wu((function(){return f.optionSelectionChanges})))})),f.openedChange=new Yr,f._openedStream=f.openedChange.pipe($s((function(t){return t})),F((function(){}))),f._closedStream=f.openedChange.pipe($s((function(t){return!t})),F((function(){}))),f.selectionChange=new Yr,f.valueChange=new Yr,f.ngControl&&(f.ngControl.valueAccessor=f),f._scrollStrategyFactory=h,f._scrollStrategy=f._scrollStrategyFactory(),f.tabIndex=parseInt(d)||0,f.id=f.id,f}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(t){this._focused=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=ff(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._selectionModel=new im(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Df(),df(this._destroy)).subscribe((function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(df(this._destroy)).subscribe((function(){t._panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())}))},e.prototype.ngAfterContentInit=function(){var t=this;this._initKeyManager(),this._selectionModel.onChange.pipe(df(this._destroy)).subscribe((function(t){t.added.forEach((function(t){return t.select()})),t.removed.forEach((function(t){return t.deselect()}))})),this.options.changes.pipe(Su(null),df(this._destroy)).subscribe((function(){t._resetOptions(),t._initializeSelection()}))},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(mu(1)).subscribe((function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")})))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(t){this.options&&this._setSelectionByValue(t)},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map((function(t){return t.viewValue}));return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))},e.prototype._handleClosedKeydown=function(t){var e=t.keyCode,n=40===e||38===e||37===e||39===e,i=this._keyManager;if((13===e||32===e)&&!sm(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var r=this.selected;36===e||35===e?(36===e?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault()):i.onKeydown(t);var o=this.selected;this._liveAnnouncer&&o&&r!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}},e.prototype._handleOpenKeydown=function(t){var e=t.keyCode,n=40===e||38===e,i=this._keyManager;if(36===e||35===e)t.preventDefault(),36===e?i.setFirstItemActive():i.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(13!==e&&32!==e||!i.activeItem||sm(t))if(this._multiple&&65===e&&t.ctrlKey){t.preventDefault();var r=this.options.some((function(t){return!t.disabled&&!t.selected}));this.options.forEach((function(t){t.disabled||(r?t.select():t.deselect())}))}else{var o=i.activeItemIndex;i.onKeydown(t),this._multiple&&n&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==o&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()},e.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var t=this;this.overlayDir.positionChange.pipe(mu(1)).subscribe((function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop}))},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var t=this;Promise.resolve().then((function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()}))},e.prototype._setSelectionByValue=function(t){var e=this;if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach((function(t){return e._selectValue(t)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(t);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(t){var e=this,n=this.options.find((function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return te()&&console.warn(i),!1}}));return n&&this._selectionModel.select(n),n},e.prototype._initKeyManager=function(){var t=this;this._keyManager=new Gm(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(df(this._destroy)).subscribe((function(){t.focus(),t.close()})),this._keyManager.change.pipe(df(this._destroy)).subscribe((function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()}))},e.prototype._resetOptions=function(){var t=this,e=J(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(df(e)).subscribe((function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())})),J.apply(void 0,this.options.map((function(t){return t._stateChanges}))).pipe(df(e)).subscribe((function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})),this._setOptionIds()},e.prototype._onSelect=function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()},e.prototype._sortValues=function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort((function(n,i){return t.sortComparator?t.sortComparator(n,i,e):e.indexOf(n)-e.indexOf(i)})),this.stateChanges.next()}},e.prototype._propagateChanges=function(t){var e;e=this.multiple?this.selected.map((function(t){return t.value})):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new QD(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map((function(t){return t.id})).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},e.prototype._scrollActiveOptionIntoView=function(){var t,e,n,i=this._keyManager.activeItemIndex||0,r=A_(i,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(i+r)*(t=this._getItemHeight()))<(e=this.panel.nativeElement.scrollTop)?n:n+t>e+256?Math.max(0,n-256+t):e},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._getOptionIndex=function(t){return this.options.reduce((function(e,n,i){return void 0===e?t===n?i:void 0:e}),void 0)},e.prototype._calculateOverlayPosition=function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=A_(r,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(r,o,i),this._offsetY=this._calculateOverlayOffsetY(r,o,i),this._checkOverlayWithinViewport(i)},e.prototype._calculateOverlayScroll=function(t,e,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)},e.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},e.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)t=40;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}i||(t*=-1);var l=0-(e.left+t-(i?r:0)),a=e.right+t-n.width+(i?0:r);l>0?t+=l+8:a>0&&(t-=a+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(t,e,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,l=Math.floor(256/r);return this._disableOptionCentering?0:(i=0===this._scrollTop?t*r:this._scrollTop===n?(t-(this._getItemCount()-l))*r+(r-(this._getItemCount()*r-256)%r):e-r/2,Math.round(-1*i-o))},e.prototype._checkOverlayWithinViewport=function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),l=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;l>r?this._adjustPanelUp(l,r):o>i?this._adjustPanelDown(o,i,t):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(t,e,n){var i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},e.prototype._getOriginBasedOnOption=function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+t/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e}(a_(s_(o_(u_(function(){return function(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}()))))),eT=function(){return function(){}}(),nT=Xn({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function iT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),cl(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||" ")}))}function rT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||" ")}))}function oT(t){return pl(0,[rl(null,0),(t()(),Ko(0,null,null,0))],null,null)}function lT(t){return pl(0,[(t()(),Go(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),ur(1,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ko(16777216,null,null,1,null,rT)),ur(3,16384,null,0,Ss,[In,Pn,xs],null,null),(t()(),Ko(16777216,null,null,1,null,oT)),ur(5,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function aT(t){return pl(0,[(t()(),Go(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),Go(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var i=!0,r=t.component;return"@transformPanel.done"===e&&(i=!1!==r._panelDoneAnimatingStream.next(n.toState)&&i),"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),i}),null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(3,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),rl(null,1)],(function(t,e){var n=e.component;t(e,3,0,Si(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function sT(t){return pl(2,[Qo(671088640,1,{trigger:0}),Qo(671088640,2,{panel:0}),Qo(671088640,3,{overlayDir:0}),(t()(),Go(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.toggle()&&i),i}),null,null)),ur(4,16384,[["origin",4]],0,Ym,[an],null,null),(t()(),Go(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),ur(6,16384,null,0,xs,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ko(16777216,null,null,1,null,iT)),ur(8,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ko(16777216,null,null,1,null,lT)),ur(10,278528,null,0,Ms,[In,Pn,xs],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Go(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),Go(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,(function(t,e,n){var i=!0,r=t.component;return"backdropClick"===e&&(i=!1!==r.close()&&i),"attach"===e&&(i=!1!==r._onAttached()&&i),"detach"===e&&(i=!1!==r.close()&&i),i}),aT)),ur(14,671744,[[3,4]],0,Am,[Pm,Pn,In,Im,[2,W_]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,Zi(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}var uT=function(){function t(t,e,n){this.formBuilder=t,this.storageService=e,this.snackbarService=n,this.timesList=["3","5","10","15","30","60","90","150","300"]}return t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe((function(e){t.storageService.setRefreshTime(e),t.snackbarService.showDone("settings.refresh-rate-confirmation")}))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t}(),cT=Xn({encapsulation:0,styles:[["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}.help-container[_ngcontent-%COMP%]{color:#777;height:0;text-align:right}"]],data:{}});function dT(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),i}),SD,xD)),ur(1,8568832,[[10,4]],0,Y_,[an,De,[2,I_],[2,O_]],{value:[0,"value"]},null),(t()(),cl(2,0,[" "," "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,Si(1,"",e.context.$implicit,""))}),(function(t,e){t(e,0,0,Zi(e,1)._getTabIndex(),Zi(e,1).selected,Zi(e,1).multiple,Zi(e,1).active,Zi(e,1).id,Zi(e,1)._getAriaSelected(),Zi(e,1).disabled.toString(),Zi(e,1).disabled),t(e,2,0,e.context.$implicit,Jn(e,2,1,Zi(e,3).transform("settings.seconds")))}))}function hT(t){return pl(0,[(t()(),Go(0,0,null,null,35,"div",[["class","container-elevated-white"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,5,"div",[["class","help-container"]],null,null,null,null,null)),(t()(),Go(2,16777216,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,4).show()&&i),"keydown"===e&&(i=!1!==Zi(t,4)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,4)._handleTouchend()&&i),i}),Xk,$k)),ur(3,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),ur(4,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,0,[" help "])),(t()(),Go(7,0,null,null,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,9).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,9).onReset()&&i),i}),null,null)),ur(8,16384,null,0,qw,[],null,null),ur(9,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(11,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(12,0,null,null,23,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(13,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,1,{_controlNonStatic:0}),Qo(335544320,2,{_controlStatic:0}),Qo(603979776,3,{_labelChildNonStatic:0}),Qo(335544320,4,{_labelChildStatic:0}),Qo(603979776,5,{_placeholderChild:0}),Qo(603979776,6,{_errorChildren:1}),Qo(603979776,7,{_hintChildren:1}),Qo(603979776,8,{_prefixChildren:1}),Qo(603979776,9,{_suffixChildren:1}),(t()(),Go(23,0,null,1,12,"mat-select",[["class","mat-select"],["formControlName","refreshRate"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==Zi(t,28)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==Zi(t,28)._onFocus()&&i),"blur"===e&&(i=!1!==Zi(t,28)._onBlur()&&i),i}),sT,nT)),dr(6144,null,I_,null,[tT]),ur(25,671744,null,0,Qw,[[3,Qb],[8,null],[8,null],[8,null],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(27,16384,null,0,iw,[[4,ew]],null,null),ur(28,2080768,null,3,tT,[lm,De,co,d_,an,[2,W_],[2,Bw],[2,Jw],[2,AD],[6,ew],[8,null],$D,ig],{placeholder:[0,"placeholder"]},null),Qo(603979776,10,{options:1}),Qo(603979776,11,{optionGroups:1}),Qo(603979776,12,{customTrigger:0}),cr(131072,qg,[Wg,De]),dr(2048,[[1,4],[2,4]],OD,null,[tT]),(t()(),Ko(16777216,null,1,1,null,dT)),ur(35,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,!0),t(e,4,0,Jn(e,4,0,Zi(e,5).transform("settings.refresh-rate-help"))),t(e,9,0,n.form),t(e,25,0,"refreshRate"),t(e,28,0,Jn(e,28,0,Zi(e,32).transform("settings.refresh-rate"))),t(e,35,0,n.timesList)}),(function(t,e){t(e,2,0,Zi(e,3).inline,"primary"!==Zi(e,3).color&&"accent"!==Zi(e,3).color&&"warn"!==Zi(e,3).color),t(e,7,0,Zi(e,11).ngClassUntouched,Zi(e,11).ngClassTouched,Zi(e,11).ngClassPristine,Zi(e,11).ngClassDirty,Zi(e,11).ngClassValid,Zi(e,11).ngClassInvalid,Zi(e,11).ngClassPending),t(e,12,1,["standard"==Zi(e,13).appearance,"fill"==Zi(e,13).appearance,"outline"==Zi(e,13).appearance,"legacy"==Zi(e,13).appearance,Zi(e,13)._control.errorState,Zi(e,13)._canLabelFloat,Zi(e,13)._shouldLabelFloat(),Zi(e,13)._hasFloatingLabel(),Zi(e,13)._hideControlPlaceholder(),Zi(e,13)._control.disabled,Zi(e,13)._control.autofilled,Zi(e,13)._control.focused,"accent"==Zi(e,13).color,"warn"==Zi(e,13).color,Zi(e,13)._shouldForward("untouched"),Zi(e,13)._shouldForward("touched"),Zi(e,13)._shouldForward("pristine"),Zi(e,13)._shouldForward("dirty"),Zi(e,13)._shouldForward("valid"),Zi(e,13)._shouldForward("invalid"),Zi(e,13)._shouldForward("pending"),!Zi(e,13)._animationsEnabled]),t(e,23,1,[Zi(e,27).ngClassUntouched,Zi(e,27).ngClassTouched,Zi(e,27).ngClassPristine,Zi(e,27).ngClassDirty,Zi(e,27).ngClassValid,Zi(e,27).ngClassInvalid,Zi(e,27).ngClassPending,Zi(e,28).id,Zi(e,28).tabIndex,Zi(e,28)._getAriaLabel(),Zi(e,28)._getAriaLabelledby(),Zi(e,28).required.toString(),Zi(e,28).disabled.toString(),Zi(e,28).errorState,Zi(e,28).panelOpen?Zi(e,28)._optionIds:null,Zi(e,28).multiple,Zi(e,28)._ariaDescribedby||null,Zi(e,28)._getAriaActiveDescendant(),Zi(e,28).disabled,Zi(e,28).errorState,Zi(e,28).required,Zi(e,28).empty])}))}var pT=tm({passive:!0}),fT=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return Ks;var n=vf(t),i=this._monitoredElements.get(n);if(i)return i.subject.asObservable();var r=new C,o="cdk-text-field-autofilled",l=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(o)&&(n.classList.remove(o),e._ngZone.run((function(){return r.next({target:t.target,isAutofilled:!1})}))):(n.classList.add(o),e._ngZone.run((function(){return r.next({target:t.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",l,pT),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",l,pT)}}),r.asObservable()},t.prototype.stopMonitoring=function(t){var e=vf(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach((function(e,n){return t.stopMonitoring(n)}))},t.ngInjectableDef=ht({factory:function(){return new t(At(Zf),At(co))},token:t,providedIn:"root"}),t}(),mT=function(){return function(){}}(),gT=["button","checkbox","file","hidden","image","radio","range","reset","submit"],_T=0,yT=function(t){function e(e,n,i,r,o,l,a,s,u){var c=t.call(this,l,r,o,i)||this;c._elementRef=e,c._platform=n,c.ngControl=i,c._autofillMonitor=s,c._uid="mat-input-"+_T++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new C,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(t){return Qf().has(t)}));var d=c._elementRef.nativeElement;return c._inputValueAccessor=a||d,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}))})),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===d.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),c}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=ff(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Qf().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=ff(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()}))},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._focusChanged=function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(gT.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(u_(function(){return function(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}())),vT=function(){return function(){}}(),bT=function(){function t(t,e,n,i){this.authService=t,this.router=e,this.snackbarService=n,this.dialog=i,this.forInitialConfig=!1}return t.prototype.ngOnInit=function(){var t=this;this.form=new Hw({oldPassword:new Nw("",this.forInitialConfig?null:sw.required),newPassword:new Nw("",sw.compose([sw.required,sw.minLength(6),sw.maxLength(64)])),newPasswordConfirmation:new Nw("",[sw.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe((function(){return t.form.controls.newPasswordConfirmation.updateValueAndValidity()}))},t.prototype.ngAfterViewInit=function(){var t=this;this.forInitialConfig&&setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()},t.prototype.changePassword=function(){var t=this;this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe((function(){t.dialog.closeAll(),t.snackbarService.showDone("settings.password.initial-config.done")}),(function(e){t.button.showError(),e=Up(e),t.snackbarService.showError(e,null,!0)})):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe((function(){t.router.navigate(["nodes"]),t.snackbarService.showDone("settings.password.password-changed")}),(function(e){t.button.showError(),e=Up(e),t.snackbarService.showError(e)})))},t.prototype.validatePasswords=function(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null},t}(),wT=Xn({encapsulation:0,styles:[["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}.help-container[_ngcontent-%COMP%]{color:#777;height:0;text-align:right}"]],data:{}});function kT(t){return pl(0,[(t()(),Go(0,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(1,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,3,{_controlNonStatic:0}),Qo(335544320,4,{_controlStatic:0}),Qo(603979776,5,{_labelChildNonStatic:0}),Qo(335544320,6,{_labelChildStatic:0}),Qo(603979776,7,{_placeholderChild:0}),Qo(603979776,8,{_errorChildren:1}),Qo(603979776,9,{_hintChildren:1}),Qo(603979776,10,{_prefixChildren:1}),Qo(603979776,11,{_suffixChildren:1}),(t()(),Go(11,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","oldPassword"],["matInput",""],["maxlength","64"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,12)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,12)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,19)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,19)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,19)._onInput()&&i),i}),null,null)),ur(12,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(13,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(16,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(18,16384,null,0,iw,[[4,ew]],null,null),ur(19,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"],type:[1,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[3,4],[4,4]],OD,null,[yT]),(t()(),Go(22,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(23,16384,[[8,4]],0,TD,[],null,null),(t()(),cl(24,null,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,13,0,"64"),t(e,16,0,"oldPassword"),t(e,19,0,Jn(e,19,0,Zi(e,20).transform("settings.password.old-password")),"password")}),(function(t,e){t(e,0,1,["standard"==Zi(e,1).appearance,"fill"==Zi(e,1).appearance,"outline"==Zi(e,1).appearance,"legacy"==Zi(e,1).appearance,Zi(e,1)._control.errorState,Zi(e,1)._canLabelFloat,Zi(e,1)._shouldLabelFloat(),Zi(e,1)._hasFloatingLabel(),Zi(e,1)._hideControlPlaceholder(),Zi(e,1)._control.disabled,Zi(e,1)._control.autofilled,Zi(e,1)._control.focused,"accent"==Zi(e,1).color,"warn"==Zi(e,1).color,Zi(e,1)._shouldForward("untouched"),Zi(e,1)._shouldForward("touched"),Zi(e,1)._shouldForward("pristine"),Zi(e,1)._shouldForward("dirty"),Zi(e,1)._shouldForward("valid"),Zi(e,1)._shouldForward("invalid"),Zi(e,1)._shouldForward("pending"),!Zi(e,1)._animationsEnabled]),t(e,11,1,[Zi(e,13).maxlength?Zi(e,13).maxlength:null,Zi(e,18).ngClassUntouched,Zi(e,18).ngClassTouched,Zi(e,18).ngClassPristine,Zi(e,18).ngClassDirty,Zi(e,18).ngClassValid,Zi(e,18).ngClassInvalid,Zi(e,18).ngClassPending,Zi(e,19)._isServer,Zi(e,19).id,Zi(e,19).placeholder,Zi(e,19).disabled,Zi(e,19).required,Zi(e,19).readonly&&!Zi(e,19)._isNativeSelect||null,Zi(e,19)._ariaDescribedby||null,Zi(e,19).errorState,Zi(e,19).required.toString()]),t(e,22,0,Zi(e,23).id),t(e,24,0,Jn(e,24,0,Zi(e,25).transform("settings.password.errors.old-password-required")))}))}function xT(t){return pl(0,[Qo(671088640,1,{button:0}),Qo(671088640,2,{firstInput:0}),(t()(),Go(2,0,null,null,75,"div",[],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(4,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(5,{"container-elevated-white":0}),(t()(),Go(6,0,null,null,5,"div",[["class","help-container"]],null,null,null,null,null)),(t()(),Go(7,16777216,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==Zi(t,9).show()&&i),"keydown"===e&&(i=!1!==Zi(t,9)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,9)._handleTouchend()&&i),i}),Xk,$k)),ur(8,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),ur(9,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,0,[" help "])),(t()(),Go(12,0,null,null,65,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,14).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,14).onReset()&&i),i}),null,null)),ur(13,16384,null,0,qw,[],null,null),ur(14,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(16,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Ko(16777216,null,null,1,null,kT)),ur(18,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(19,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(20,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,12,{_controlNonStatic:0}),Qo(335544320,13,{_controlStatic:0}),Qo(603979776,14,{_labelChildNonStatic:0}),Qo(335544320,15,{_labelChildStatic:0}),Qo(603979776,16,{_placeholderChild:0}),Qo(603979776,17,{_errorChildren:1}),Qo(603979776,18,{_hintChildren:1}),Qo(603979776,19,{_prefixChildren:1}),Qo(603979776,20,{_suffixChildren:1}),(t()(),Go(30,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","newPassword"],["matInput",""],["maxlength","64"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,31)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,31).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,31)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,31)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,38)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,38)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,38)._onInput()&&i),i}),null,null)),ur(31,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(32,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(35,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(37,16384,null,0,iw,[[4,ew]],null,null),ur(38,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"],type:[1,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[12,4],[13,4]],OD,null,[yT]),(t()(),Go(41,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(42,16384,[[17,4]],0,TD,[],null,null),(t()(),cl(43,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(45,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(46,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,21,{_controlNonStatic:0}),Qo(335544320,22,{_controlStatic:0}),Qo(603979776,23,{_labelChildNonStatic:0}),Qo(335544320,24,{_labelChildStatic:0}),Qo(603979776,25,{_placeholderChild:0}),Qo(603979776,26,{_errorChildren:1}),Qo(603979776,27,{_hintChildren:1}),Qo(603979776,28,{_prefixChildren:1}),Qo(603979776,29,{_suffixChildren:1}),(t()(),Go(56,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","newPasswordConfirmation"],["matInput",""],["maxlength","64"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,57)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,57).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,57)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,57)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,64)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,64)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,64)._onInput()&&i),i}),null,null)),ur(57,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(58,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(61,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(63,16384,null,0,iw,[[4,ew]],null,null),ur(64,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"],type:[1,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[21,4],[22,4]],OD,null,[yT]),(t()(),Go(67,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(68,16384,[[26,4]],0,TD,[],null,null),(t()(),cl(69,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(71,0,null,null,6,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.changePassword()&&i),i}),$x,Vx)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(73,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(74,{"mt-2 app-button":0,"float-right":1}),ur(75,180224,[[1,4],["button",4]],0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(76,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component,i=t(e,5,0,!n.forInitialConfig);t(e,4,0,i),t(e,8,0,!0),t(e,9,0,Jn(e,9,0,Zi(e,10).transform(n.forInitialConfig?"settings.password.initial-config-help":"settings.password.help"))),t(e,14,0,n.form),t(e,18,0,!n.forInitialConfig),t(e,32,0,"64"),t(e,35,0,"newPassword"),t(e,38,0,Jn(e,38,0,Zi(e,39).transform(n.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),"password"),t(e,58,0,"64"),t(e,61,0,"newPasswordConfirmation"),t(e,64,0,Jn(e,64,0,Zi(e,65).transform(n.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),"password");var r=t(e,74,0,!n.forInitialConfig,n.forInitialConfig);t(e,73,0,r),t(e,75,0,"mat-raised-button",!n.form.valid,"primary")}),(function(t,e){var n=e.component;t(e,7,0,Zi(e,8).inline,"primary"!==Zi(e,8).color&&"accent"!==Zi(e,8).color&&"warn"!==Zi(e,8).color),t(e,12,0,Zi(e,16).ngClassUntouched,Zi(e,16).ngClassTouched,Zi(e,16).ngClassPristine,Zi(e,16).ngClassDirty,Zi(e,16).ngClassValid,Zi(e,16).ngClassInvalid,Zi(e,16).ngClassPending),t(e,19,1,["standard"==Zi(e,20).appearance,"fill"==Zi(e,20).appearance,"outline"==Zi(e,20).appearance,"legacy"==Zi(e,20).appearance,Zi(e,20)._control.errorState,Zi(e,20)._canLabelFloat,Zi(e,20)._shouldLabelFloat(),Zi(e,20)._hasFloatingLabel(),Zi(e,20)._hideControlPlaceholder(),Zi(e,20)._control.disabled,Zi(e,20)._control.autofilled,Zi(e,20)._control.focused,"accent"==Zi(e,20).color,"warn"==Zi(e,20).color,Zi(e,20)._shouldForward("untouched"),Zi(e,20)._shouldForward("touched"),Zi(e,20)._shouldForward("pristine"),Zi(e,20)._shouldForward("dirty"),Zi(e,20)._shouldForward("valid"),Zi(e,20)._shouldForward("invalid"),Zi(e,20)._shouldForward("pending"),!Zi(e,20)._animationsEnabled]),t(e,30,1,[Zi(e,32).maxlength?Zi(e,32).maxlength:null,Zi(e,37).ngClassUntouched,Zi(e,37).ngClassTouched,Zi(e,37).ngClassPristine,Zi(e,37).ngClassDirty,Zi(e,37).ngClassValid,Zi(e,37).ngClassInvalid,Zi(e,37).ngClassPending,Zi(e,38)._isServer,Zi(e,38).id,Zi(e,38).placeholder,Zi(e,38).disabled,Zi(e,38).required,Zi(e,38).readonly&&!Zi(e,38)._isNativeSelect||null,Zi(e,38)._ariaDescribedby||null,Zi(e,38).errorState,Zi(e,38).required.toString()]),t(e,41,0,Zi(e,42).id),t(e,43,0,Jn(e,43,0,Zi(e,44).transform("settings.password.errors.new-password-error"))),t(e,45,1,["standard"==Zi(e,46).appearance,"fill"==Zi(e,46).appearance,"outline"==Zi(e,46).appearance,"legacy"==Zi(e,46).appearance,Zi(e,46)._control.errorState,Zi(e,46)._canLabelFloat,Zi(e,46)._shouldLabelFloat(),Zi(e,46)._hasFloatingLabel(),Zi(e,46)._hideControlPlaceholder(),Zi(e,46)._control.disabled,Zi(e,46)._control.autofilled,Zi(e,46)._control.focused,"accent"==Zi(e,46).color,"warn"==Zi(e,46).color,Zi(e,46)._shouldForward("untouched"),Zi(e,46)._shouldForward("touched"),Zi(e,46)._shouldForward("pristine"),Zi(e,46)._shouldForward("dirty"),Zi(e,46)._shouldForward("valid"),Zi(e,46)._shouldForward("invalid"),Zi(e,46)._shouldForward("pending"),!Zi(e,46)._animationsEnabled]),t(e,56,1,[Zi(e,58).maxlength?Zi(e,58).maxlength:null,Zi(e,63).ngClassUntouched,Zi(e,63).ngClassTouched,Zi(e,63).ngClassPristine,Zi(e,63).ngClassDirty,Zi(e,63).ngClassValid,Zi(e,63).ngClassInvalid,Zi(e,63).ngClassPending,Zi(e,64)._isServer,Zi(e,64).id,Zi(e,64).placeholder,Zi(e,64).disabled,Zi(e,64).required,Zi(e,64).readonly&&!Zi(e,64)._isNativeSelect||null,Zi(e,64)._ariaDescribedby||null,Zi(e,64).errorState,Zi(e,64).required.toString()]),t(e,67,0,Zi(e,68).id),t(e,69,0,Jn(e,69,0,Zi(e,70).transform("settings.password.errors.passwords-not-match"))),t(e,76,0,Jn(e,76,0,Zi(e,77).transform(n.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")))}))}var MT=function(){function t(t,e,n,i){this.authService=t,this.router=e,this.snackbarService=n,this.sidenavService=i,this.tabsData=[],this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}]}return t.prototype.ngOnInit=function(){var t=this;setTimeout((function(){t.menuSubscription=t.sidenavService.setContents([{name:"common.logout",actionName:"logout",icon:"power_settings_new"}],null).subscribe((function(e){"logout"===e&&t.logout()}))}))},t.prototype.ngOnDestroy=function(){this.menuSubscription&&this.menuSubscription.unsubscribe()},t.prototype.logout=function(){var t=this;this.authService.logout().subscribe((function(){return t.router.navigate(["login"])}),(function(){return t.snackbarService.showError("common.logout-error")}))},t}(),ST=Xn({encapsulation:0,styles:[[".content[_ngcontent-%COMP%]{color:#202226}"]],data:{}});function CT(t){return pl(0,[(t()(),Go(0,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,3,"div",[["class","col-12"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"app-tab-bar",[],null,null,null,jM,OM)),ur(3,245760,null,0,TM,[Jg,Ib,cp],{titleParts:[0,"titleParts"],tabsData:[1,"tabsData"],selectedTabIndex:[2,"selectedTabIndex"],showUpdateButton:[3,"showUpdateButton"]},null),al(4,1),(t()(),Go(5,0,null,null,4,"div",[["class","content col-12 mt-4.5"]],null,null,null,null,null)),(t()(),Go(6,0,null,null,1,"app-refresh-rate",[["class","d-block mb-4"]],null,null,null,hT,cT)),ur(7,245760,null,0,uT,[nk,Fp,Lg],null,null),(t()(),Go(8,0,null,null,1,"app-password",[],null,null,null,xT,wT)),ur(9,4440064,null,0,bT,[rx,cp,Lg,Ib],null,null)],(function(t,e){var n=e.component,i=t(e,4,0,"start.title");t(e,3,0,i,n.tabsData,1,!1),t(e,7,0),t(e,9,0)}),null)}function LT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-settings",[],null,null,null,CT,ST)),ur(1,245760,null,0,MT,[rx,cp,Lg,Xx],null,null)],(function(t,e){t(e,1,0)}),null)}var DT=Ni("app-settings",MT,LT,{},{},[]),TT=Xn({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function OT(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function PT(t){return pl(0,[Qo(402653184,1,{_portalOutlet:0}),(t()(),Ko(16777216,null,null,1,null,OT)),ur(2,212992,[[1,4]],0,sf,[nn,In],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function ET(t){return pl(0,[(t()(),Go(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],(function(t,e,n){var i=!0;return"component:@state.done"===e&&(i=!1!==Zi(t,1).onAnimationEnd(n)&&i),i}),PT,TT)),ur(1,180224,null,0,xg,[co,an,De,wg],null,null)],null,(function(t,e){t(e,0,0,Zi(e,1)._role,Zi(e,1)._animationState)}))}var IT=Ni("snack-bar-container",xg,ET,{},{},[]),YT=Xn({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],data:{}});function AT(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.action()&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),cl(3,0,["",""]))],null,(function(t,e){var n=e.component;t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,3,0,n.data.action)}))}function RT(t){return pl(2,[(t()(),Go(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(1,null,["",""])),(t()(),Ko(16777216,null,null,1,null,AT)),ur(3,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,3,0,e.component.hasAction)}),(function(t,e){t(e,1,0,e.component.data.message)}))}function jT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,RT,YT)),ur(1,49152,null,0,kg,[vg,bg],null,null)],null,null)}var FT=Ni("simple-snack-bar",kg,jT,{},{},[]),NT=Xn({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function HT(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function zT(t){return pl(0,[Qo(402653184,1,{_portalOutlet:0}),(t()(),Ko(16777216,null,null,1,null,HT)),ur(2,212992,[[1,4]],0,sf,[nn,In],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function VT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var i=!0;return"component:@dialogContainer.start"===e&&(i=!1!==Zi(t,1)._onAnimationStart(n)&&i),"component:@dialogContainer.done"===e&&(i=!1!==Zi(t,1)._onAnimationDone(n)&&i),i}),zT,NT)),ur(1,49152,null,0,Cb,[an,tg,De,[2,As],Mb],null,null)],null,(function(t,e){t(e,0,0,Zi(e,1)._id,Zi(e,1)._config.role,Zi(e,1)._config.ariaLabel?null:Zi(e,1)._ariaLabelledBy,Zi(e,1)._config.ariaLabel,Zi(e,1)._config.ariaDescribedBy||null,Zi(e,1)._state)}))}var BT=Ni("mat-dialog-container",Cb,VT,{},{},[]),WT=Xn({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function UT(t){return pl(2,[(t()(),Go(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var i=!0,r=t.component;return"@state.start"===e&&(i=!1!==r._animationStart()&&i),"@state.done"===e&&(i=!1!==r._animationDone(n)&&i),i}),null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(2,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),cr(131072,Is,[De]),(t()(),cl(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,i=e.component;t(e,0,0,null==(n=Jn(e,0,0,Zi(e,3).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,4,0,i.message)}))}function qT(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==Zi(t,1)._handleBodyInteraction()&&i),i}),UT,WT)),ur(1,180224,null,0,kb,[De,gg],null,null)],null,(function(t,e){t(e,0,0,"visible"===Zi(e,1)._visibility?1:null)}))}var KT=Ni("mat-tooltip-component",kb,qT,{},{},[]),GT=function(){return function(){this.includeScrollableArea=!0}}(),JT=Xn({encapsulation:0,styles:[[".cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]::after{content:'';display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.ml-3\\.5[_ngcontent-%COMP%]{margin-left:1.25rem!important}.mr-3\\.5[_ngcontent-%COMP%]{margin-right:1.25rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}.header[_ngcontent-%COMP%]{color:#154b6c;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;display:flex;justify-content:space-between;align-items:center;margin:-24px -24px 0}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:17px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width:767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}"]],data:{}});function ZT(t){return pl(0,[(t()(),Go(0,0,null,null,5,"button",[["class","grey-button-background"],["mat-dialog-close",""],["mat-icon-button",""]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,1).dialogRef.close(Zi(t,1).dialogResult)&&i),i}),pb,hb)),ur(1,606208,null,0,Ab,[[2,Db],an,Ib],{dialogResult:[0,"dialogResult"]},null),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(4,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["close"]))],(function(t,e){t(e,1,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,Zi(e,1).ariaLabel||null,Zi(e,1).type,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,3,0,Zi(e,4).inline,"primary"!==Zi(e,4).color&&"accent"!==Zi(e,4).color&&"warn"!==Zi(e,4).color)}))}function $T(t){return pl(0,[(t()(),Go(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function XT(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(1,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,$T)),ur(3,540672,null,0,Ts,[In],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(t,e){t(e,3,0,Zi(e.parent,10))}),null)}function QT(t){return pl(0,[(t()(),Go(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function tO(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,QT)),ur(2,540672,null,0,Ts,[In],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,2,0,Zi(e.parent,10))}),null)}function eO(t){return pl(0,[rl(null,0),(t()(),Ko(0,null,null,0))],null,null)}function nO(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","header mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),ur(1,81920,null,0,Rb,[[2,Db],an,Ib],null,null),(t()(),Go(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(3,null,["",""])),(t()(),Ko(16777216,null,null,1,null,ZT)),ur(5,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,XT)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,tO)),ur(9,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(0,[["contentTemplate",2]],null,0,null,eO))],(function(t,e){var n=e.component;t(e,1,0),t(e,5,0,!n.disableDismiss),t(e,7,0,n.includeScrollableArea),t(e,9,0,!n.includeScrollableArea)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,1).id),t(e,3,0,n.headline)}))}var iO=a_(function(){return function(){}}()),rO=a_(function(){return function(){}}()),oO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._stateChanges=new C,e}return Object(i.__extends)(e,t),e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(iO),lO=function(t){function e(e){var n=t.call(this)||this;return n._elementRef=e,n._stateChanges=new C,"action-list"===n._getListType()&&e.nativeElement.classList.add("mat-action-list"),n}return Object(i.__extends)(e,t),e.prototype._getListType=function(){var t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(iO),aO=function(t){function e(e,n,i,r){var o=t.call(this)||this;o._element=e,o._isInteractiveList=!1,o._destroyed=new C,o._isInteractiveList=!!(i||r&&"action-list"===r._getListType()),o._list=i||r;var l=o._getHostElement();return"button"!==l.nodeName.toLowerCase()||l.hasAttribute("type")||l.setAttribute("type","button"),o._list&&o._list._stateChanges.pipe(df(o._destroyed)).subscribe((function(){n.markForCheck()})),o}return Object(i.__extends)(e,t),e.prototype.ngAfterContentInit=function(){var t,e;e=this._element,(t=this._lines).changes.pipe(Su(t)).subscribe((function(t){var n=t.length;g_(e,"mat-2-line",!1),g_(e,"mat-3-line",!1),g_(e,"mat-multi-line",!1),2===n||3===n?g_(e,"mat-"+n+"-line",!0):n>3&&g_(e,"mat-multi-line",!0)}))},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._isRippleDisabled=function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)},e.prototype._getHostElement=function(){return this._element.nativeElement},e}(rO),sO=function(){return function(){}}(),uO=function(){return function(){}}(),cO=Xn({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function dO(t){return pl(2,[rl(null,0)],null,null)}var hO=Xn({encapsulation:2,styles:[],data:{}});function pO(t){return pl(2,[(t()(),Go(0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(2,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),rl(null,0),(t()(),Go(4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),rl(null,1),rl(null,2)],(function(t,e){var n=e.component;t(e,2,0,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){t(e,1,0,Zi(e,2).unbounded)}))}var fO=new St("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,disableDragValue:!1}}}),mO=0,gO=function(){return function(t,e){this.source=t,this.checked=e}}(),_O=function(t){function e(e,n,i,r,o,l,a,s){var u=t.call(this,e)||this;return u._focusMonitor=n,u._changeDetectorRef=i,u._ngZone=o,u.defaults=l,u._animationMode=a,u._dir=s,u._onChange=function(t){},u._onTouched=function(){},u._uniqueId="mat-slide-toggle-"+ ++mO,u._required=!1,u._checked=!1,u._dragging=!1,u.name=null,u.id=u._uniqueId,u.labelPosition="after",u.ariaLabel=null,u.ariaLabelledby=null,u.change=new Yr,u.toggleChange=new Yr,u.dragChange=new Yr,u.tabIndex=parseInt(r)||0,u}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=ff(t),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){e||Promise.resolve().then((function(){return t._onTouched()}))}))},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype._onChangeEvent=function(t){t.stopPropagation(),this._dragging||this.toggleChange.emit(),this._dragging||this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())},e.prototype._onInputClick=function(t){t.stopPropagation()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck()},e.prototype.focus=function(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)},e.prototype.toggle=function(){this.checked=!this.checked,this._onChange(this.checked)},e.prototype._emitChangeEvent=function(){this._onChange(this.checked),this.change.emit(new gO(this,this.checked))},e.prototype._getDragPercentage=function(t){var e=t/this._thumbBarWidth*100;return this._previousChecked&&(e+=100),Math.max(0,Math.min(e,100))},e.prototype._onDragStart=function(){if(!this.disabled&&!this._dragging){var t=this._thumbEl.nativeElement;this._thumbBarWidth=this._thumbBarEl.nativeElement.clientWidth-t.clientWidth,t.classList.add("mat-dragging"),this._previousChecked=this.checked,this._dragging=!0}},e.prototype._onDrag=function(t){if(this._dragging){var e=this._dir&&"rtl"===this._dir.value?-1:1;this._dragPercentage=this._getDragPercentage(t.deltaX*e),this._thumbEl.nativeElement.style.transform="translate3d("+this._dragPercentage/100*this._thumbBarWidth*e+"px, 0, 0)"}},e.prototype._onDragEnd=function(){var t=this;if(this._dragging){var e=this._dragPercentage>50;e!==this.checked&&(this.dragChange.emit(),this.defaults.disableDragValue||(this.checked=e,this._emitChangeEvent())),this._ngZone.runOutsideAngular((function(){return setTimeout((function(){t._dragging&&(t._dragging=!1,t._thumbEl.nativeElement.classList.remove("mat-dragging"),t._thumbEl.nativeElement.style.transform="")}))}))}},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e}(s_(l_(a_(o_(function(){return function(t){this._elementRef=t}}())),"accent"))),yO=function(){return function(){}}(),vO=function(){return function(){}}(),bO=Xn({encapsulation:2,styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media (hover:none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}@media (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}.mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:1px dotted;outline-offset:5px}}@media (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}"],data:{}});function wO(t){return pl(2,[Qo(671088640,1,{_thumbEl:0}),Qo(671088640,2,{_thumbBarEl:0}),Qo(671088640,3,{_inputElement:0}),(t()(),Go(3,0,[["label",1]],null,13,"label",[["class","mat-slide-toggle-label"]],[[1,"for",0]],null,null,null,null)),(t()(),Go(4,0,[[2,0],["toggleBar",1]],null,7,"div",[["class","mat-slide-toggle-bar"]],[[2,"mat-slide-toggle-bar-no-side-margin",null]],null,null,null,null)),(t()(),Go(5,0,[[3,0],["input",1]],null,0,"input",[["class","mat-slide-toggle-input cdk-visually-hidden"],["role","switch"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"tabIndex",0],[8,"checked",0],[8,"disabled",0],[1,"name",0],[1,"aria-checked",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"change"],[null,"click"]],(function(t,e,n){var i=!0,r=t.component;return"change"===e&&(i=!1!==r._onChangeEvent(n)&&i),"click"===e&&(i=!1!==r._onInputClick(n)&&i),i}),null,null)),(t()(),Go(6,0,[[1,0],["thumbContainer",1]],null,5,"div",[["class","mat-slide-toggle-thumb-container"]],null,[[null,"slidestart"],[null,"slide"],[null,"slideend"]],(function(t,e,n){var i=!0,r=t.component;return"slidestart"===e&&(i=!1!==r._onDragStart()&&i),"slide"===e&&(i=!1!==r._onDrag(n)&&i),"slideend"===e&&(i=!1!==r._onDragEnd()&&i),i}),null,null)),(t()(),Go(7,0,null,null,0,"div",[["class","mat-slide-toggle-thumb"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,3,"div",[["class","mat-slide-toggle-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ur(9,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),sl(10,{enterDuration:0}),(t()(),Go(11,0,null,null,0,"div",[["class","mat-ripple-element mat-slide-toggle-persistent-ripple"]],null,null,null,null,null)),(t()(),Go(12,0,[["labelContent",1]],null,4,"span",[["class","mat-slide-toggle-content"]],null,[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component._onLabelTextChange()&&i),i}),null,null)),ur(13,1196032,null,0,jC,[RC,an,co],null,{event:"cdkObserveContent"}),(t()(),Go(14,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),cl(-1,null,[" "])),rl(null,0)],(function(t,e){var n=e.component,i=t(e,10,0,150);t(e,9,0,!0,20,i,n.disableRipple||n.disabled,Zi(e,3))}),(function(t,e){var n=e.component;t(e,3,0,n.inputId),t(e,4,0,!Zi(e,12).textContent||!Zi(e,12).textContent.trim()),t(e,5,0,n.inputId,n.required,n.tabIndex,n.checked,n.disabled,n.name,n.checked.toString(),n.ariaLabel,n.ariaLabelledby),t(e,8,0,Zi(e,9).unbounded)}))}var kO=Xn({encapsulation:0,styles:[["mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .discovery-address-input-container{display:flex;flex:1}p[_ngcontent-%COMP%]{font-size:14px;line-height:18px;color:#777;margin-bottom:0}"]],data:{}});function xO(t){return pl(0,[(t()(),Go(0,0,null,null,16,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),(t()(),Go(2,0,null,0,14,"div",[["class","startup-form"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,11,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,dO,cO)),ur(4,704512,null,0,lO,[an],null,null),(t()(),Go(5,0,null,0,9,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(6,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,1,{_lines:1}),Qo(603979776,2,{_avatar:0}),Qo(603979776,3,{_icon:0}),(t()(),Go(10,0,null,2,1,"span",[],null,null,null,null,null)),(t()(),cl(-1,null,["Act as an exit node"])),(t()(),Go(12,0,null,2,2,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"focus"]],(function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==Zi(t,14)._inputElement.nativeElement.focus()&&i),i}),wO,bO)),dr(5120,null,Gb,(function(t){return[t]}),[_O]),ur(14,1228800,null,0,_O,[an,lg,De,[8,null],co,fO,[2,ub],[2,W_]],{checked:[0,"checked"]},null),(t()(),Go(15,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),cl(-1,null,["Lorem ipsum dolor sit amet, consectetur adipisicing elit. A aspernatur deserunt ex in inventore laboriosam minus odio porro, quae quidem sed sint, suscipit ullam! Accusantium assumenda molestias nemo nesciunt veritatis!"]))],(function(t,e){t(e,1,0,"Node configuration"),t(e,14,0,!0)}),(function(t,e){t(e,5,0,Zi(e,6)._avatar||Zi(e,6)._icon,Zi(e,6)._avatar||Zi(e,6)._icon),t(e,12,0,Zi(e,14).id,Zi(e,14).disabled?null:-1,null,null,Zi(e,14).checked,Zi(e,14).disabled,"before"==Zi(e,14).labelPosition,"NoopAnimations"===Zi(e,14)._animationMode)}))}function MO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-configuration",[],null,null,null,xO,kO)),ur(1,114688,null,0,KS,[Tb,Db],null,null)],(function(t,e){t(e,1,0)}),null)}var SO=Ni("app-configuration",KS,MO,{},{},[]),CO=Xn({encapsulation:0,styles:[[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.transparent[_ngcontent-%COMP%]{opacity:.5}.filter-link[_ngcontent-%COMP%]{font-size:.875rem;text-align:center;padding:10px 0;color:#0072ff;border-bottom:1px solid rgba(0,0,0,.12);cursor:pointer}"]],data:{}});function LO(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","app-log-message"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"span",[["class","transparent"]],null,null,null,null,null)),(t()(),cl(2,null,[" "," "])),(t()(),cl(3,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.time),t(e,3,0,e.context.$implicit.msg)}))}function DO(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","app-log-empty mt-3"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.log.empty")))}))}function TO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-loading-indicator",[],null,null,null,HM,NM)),ur(1,49152,null,0,FM,[],{showWhite:[0,"showWhite"]},null)],(function(t,e){t(e,1,0,!1)}),null)}function OO(t){return pl(0,[Qo(671088640,1,{content:0}),(t()(),Go(1,0,null,null,18,"app-dialog",[],null,null,null,nO,JT)),ur(2,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,7,"div",[["class","filter-link"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.filter()&&i),i}),null,null)),(t()(),Go(5,0,null,null,2,"span",[["class","transparent"]],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,["  "])),(t()(),Go(9,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),Go(12,0,[[1,0],["content",1]],0,7,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(13,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,LO)),ur(15,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ko(16777216,null,null,1,null,DO)),ur(17,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,TO)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.log.title")),!1),t(e,15,0,n.logMessages),t(e,17,0,!(n.loading||n.logMessages&&0!==n.logMessages.length)),t(e,19,0,n.loading)}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("apps.log.filter-button"))),t(e,10,0,Jn(e,10,0,Zi(e,11).transform(n.currentFilter.text)))}))}function PO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-log",[],null,null,null,OO,CO)),ur(1,245760,null,0,IL,[Tb,PL,Ib,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var EO=Ni("app-log",IL,PO,{},{},[]),IO=["mat-list-item[_ngcontent-%COMP%] .mat-list-item-content{padding:0!important}"],YO=function(){function t(){this.hostClass="key-input-container",this.keyChange=new Yr,this.value="",this.autofocus=!1}return t.prototype.ngAfterViewInit=function(){this.autofocus&&this.keyInput.focus()},t.prototype.onInput=function(t){this.value=t.target.value,this.emitState()},t.prototype.clear=function(){this.value=""},t.prototype.ngOnInit=function(){this.createFormControl()},Object.defineProperty(t.prototype,"data",{set:function(t){this.required=t.required,this.placeholder=t.placeholder,this.keyChange.subscribe(t.subscriber),t.clearInputEmitter.subscribe(this.clear.bind(this))},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){var e=this;this.createFormControl(),setTimeout((function(){return e.emitState()}),0)},t.prototype.createFormControl=function(){var t;this.validator=new Nw(this.value,[(t=this.required,void 0===t&&(t=!1),function(e){return function(t,e){if(null!=t&&(e||t.length>0)){if(0===t.trim().length)return{required:!0};if(66!==t.length)return{invalid:!0}}return null}(e.value,t)})])},t.prototype.emitState=function(){this.keyChange.emit({value:this.value,valid:this.validator.valid})},t}(),AO=Xn({encapsulation:0,styles:[["[_nghost-%COMP%] .mat-form-field, [_nghost-%COMP%] .mat-form-field-wrapper{display:flex;flex:1}"]],data:{}});function RO(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(1,16384,[[7,4]],0,TD,[],null,null),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,0,0,Zi(e,1).id),t(e,2,0,Jn(e,2,0,Zi(e,3).transform("inputs.errors.key-required")))}))}function jO(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(1,16384,[[7,4]],0,TD,[],null,null),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,0,0,Zi(e,1).id),t(e,2,0,Jn(e,2,0,Zi(e,3).transform("inputs.errors.key-length")))}))}function FO(t){return pl(0,[Qo(671088640,1,{keyInput:0}),(t()(),Go(1,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(2,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,2,{_controlNonStatic:0}),Qo(335544320,3,{_controlStatic:0}),Qo(603979776,4,{_labelChildNonStatic:0}),Qo(335544320,5,{_labelChildStatic:0}),Qo(603979776,6,{_placeholderChild:0}),Qo(603979776,7,{_errorChildren:1}),Qo(603979776,8,{_hintChildren:1}),Qo(603979776,9,{_prefixChildren:1}),Qo(603979776,10,{_suffixChildren:1}),(t()(),Go(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"input"===e&&(i=!1!==Zi(t,13)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,13).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,13)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,13)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,18)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,18)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,18)._onInput()&&i),"input"===e&&(i=!1!==r.onInput(n)&&i),i}),null,null)),ur(13,16384,null,0,$b,[hn,an,[2,Zb]],null,null),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(15,540672,null,0,Gw,[[8,null],[8,null],[6,Gb],[2,Kw]],{form:[0,"form"]},null),dr(2048,null,ew,null,[Gw]),ur(17,16384,null,0,iw,[[4,ew]],null,null),ur(18,999424,[[1,4]],0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"],type:[1,"type"],value:[2,"value"]},null),dr(2048,[[2,4],[3,4]],OD,null,[yT]),(t()(),Ko(16777216,null,5,1,null,RO)),ur(21,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,5,1,null,jO)),ur(23,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,15,0,n.validator),t(e,18,0,n.placeholder,"text",n.value),t(e,21,0,(null==n.validator.errors?null:n.validator.errors.required)&&(n.validator.dirty||n.validator.touched)),t(e,23,0,(null==n.validator.errors?null:n.validator.errors.invalid)&&(n.validator.dirty||n.validator.touched))}),(function(t,e){t(e,1,1,["standard"==Zi(e,2).appearance,"fill"==Zi(e,2).appearance,"outline"==Zi(e,2).appearance,"legacy"==Zi(e,2).appearance,Zi(e,2)._control.errorState,Zi(e,2)._canLabelFloat,Zi(e,2)._shouldLabelFloat(),Zi(e,2)._hasFloatingLabel(),Zi(e,2)._hideControlPlaceholder(),Zi(e,2)._control.disabled,Zi(e,2)._control.autofilled,Zi(e,2)._control.focused,"accent"==Zi(e,2).color,"warn"==Zi(e,2).color,Zi(e,2)._shouldForward("untouched"),Zi(e,2)._shouldForward("touched"),Zi(e,2)._shouldForward("pristine"),Zi(e,2)._shouldForward("dirty"),Zi(e,2)._shouldForward("valid"),Zi(e,2)._shouldForward("invalid"),Zi(e,2)._shouldForward("pending"),!Zi(e,2)._animationsEnabled]),t(e,12,1,[Zi(e,17).ngClassUntouched,Zi(e,17).ngClassTouched,Zi(e,17).ngClassPristine,Zi(e,17).ngClassDirty,Zi(e,17).ngClassValid,Zi(e,17).ngClassInvalid,Zi(e,17).ngClassPending,Zi(e,18)._isServer,Zi(e,18).id,Zi(e,18).placeholder,Zi(e,18).disabled,Zi(e,18).required,Zi(e,18).readonly&&!Zi(e,18)._isNativeSelect||null,Zi(e,18)._ariaDescribedby||null,Zi(e,18).errorState,Zi(e,18).required.toString()])}))}function NO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-key-input",[],[[1,"class",0]],null,null,FO,AO)),ur(1,4833280,null,0,YO,[],null,null)],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,Zi(e,1).hostClass)}))}var HO=Ni("app-key-input",YO,NO,{value:"value",required:"required",placeholder:"placeholder",autofocus:"autofocus"},{keyChange:"keyChange"},[]),zO=function(){function t(){this.hostClass="keypair-component",this.keypair={nodeKey:"",appKey:""},this.keypairChange=new Yr,this.required=!1,this.nodeKeyValid=!1,this.appKeyValid=!1}return t.prototype.onNodeValueChanged=function(t){var e=t.valid;this.keypair.nodeKey=t.value,this.nodeKeyValid=e,this.onPairChanged()},t.prototype.onAppValueChanged=function(t){var e=t.valid;this.keypair.appKey=t.value,this.appKeyValid=e,this.onPairChanged()},t.prototype.onPairChanged=function(){this.keypairChange.emit({keyPair:this.keypair,valid:this.valid})},Object.defineProperty(t.prototype,"valid",{get:function(){return this.nodeKeyValid&&this.appKeyValid},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.keypair?this.onPairChanged():this.keypair={nodeKey:"",appKey:""}},t.prototype.ngOnChanges=function(t){},t}(),VO=Xn({encapsulation:0,styles:[[""]],data:{}});function BO(t){return pl(0,[(t()(),Go(0,0,null,null,6,"div",[["class","keypair-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"app-key-input",[["id","nodeKeyField"]],[[1,"class",0]],[[null,"keyChange"]],(function(t,e,n){var i=!0;return"keyChange"===e&&(i=!1!==t.component.onNodeValueChanged(n)&&i),i}),FO,AO)),ur(2,4833280,null,0,YO,[],{value:[0,"value"],required:[1,"required"],placeholder:[2,"placeholder"]},{keyChange:"keyChange"}),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,null,2,"app-key-input",[["id","appKeyField"]],[[1,"class",0]],[[null,"keyChange"]],(function(t,e,n){var i=!0;return"keyChange"===e&&(i=!1!==t.component.onAppValueChanged(n)&&i),i}),FO,AO)),ur(5,4833280,null,0,YO,[],{value:[0,"value"],required:[1,"required"],placeholder:[2,"placeholder"]},{keyChange:"keyChange"}),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,2,0,n.keypair?n.keypair.nodeKey:"",n.required,Jn(e,2,2,Zi(e,3).transform("common.node-key"))),t(e,5,0,n.keypair?n.keypair.appKey:"",n.required,Jn(e,5,2,Zi(e,6).transform("common.app-key")))}),(function(t,e){t(e,1,0,Zi(e,2).hostClass),t(e,4,0,Zi(e,5).hostClass)}))}var WO=function(){function t(t,e){this.dialogRef=t,this.nodeService=e,this.validKeyPair=!1,this.hasKeyPair=!0}return t.prototype.save=function(){this.dialogRef.close()},Object.defineProperty(t.prototype,"keyPair",{get:function(){return{nodeKey:this.nodeKey,appKey:this.appKey}},enumerable:!0,configurable:!0}),t.prototype.keypairChange=function(t){var e=t.keyPair,n=t.valid;n&&(this.autoStartConfig[this.nodeKeyConfigField]=e.nodeKey,this.autoStartConfig[this.appKeyConfigField]=e.appKey),this.validKeyPair=n,console.log("validKeyPair: "+this.validKeyPair)},Object.defineProperty(t.prototype,"nodeKey",{get:function(){return this.autoStartConfig[this.nodeKeyConfigField]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"appKey",{get:function(){return this.autoStartConfig[this.appKeyConfigField]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAutoStartChecked",{get:function(){return this.autoStartConfig[this.appConfigField]},enumerable:!0,configurable:!0}),t.prototype.toggle=function(t){this.autoStartConfig[this.appConfigField]=t.checked},t.prototype.ngOnInit=function(){},Object.defineProperty(t.prototype,"formValid",{get:function(){return!this.hasKeyPair||this.validKeyPair},enumerable:!0,configurable:!0}),t}(),UO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasKeyPair=!1,e.appConfigField="sshs",e.autoStartTitle="apps.sshs.auto-startup",e}return Object(i.__extends)(e,t),e}(WO),qO=Xn({encapsulation:0,styles:[IO],data:{}});function KO(t){return pl(0,[(t()(),Go(0,0,null,null,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(1,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,4,{_lines:1}),Qo(603979776,5,{_avatar:0}),Qo(603979776,6,{_icon:0}),(t()(),Go(5,0,null,2,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(6,638976,null,0,zO,[],{keypair:[0,"keypair"],required:[1,"required"]},{keypairChange:"keypairChange"})],(function(t,e){var n=e.component;t(e,6,0,n.keyPair,n.isAutoStartChecked)}),(function(t,e){t(e,0,0,Zi(e,1)._avatar||Zi(e,1)._icon,Zi(e,1)._avatar||Zi(e,1)._icon),t(e,5,0,Zi(e,6).hostClass)}))}function GO(t){return pl(0,[(t()(),Go(0,0,null,null,19,"form",[["class","startup-form clearfix"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,2).onReset()&&i),i}),null,null)),ur(1,16384,null,0,qw,[],null,null),ur(2,4210688,null,0,Bw,[[8,null],[8,null]],null,null),dr(2048,null,Qb,null,[Bw]),ur(4,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(5,0,null,null,14,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,dO,cO)),ur(6,704512,null,0,lO,[an],null,null),(t()(),Go(7,0,null,0,10,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(8,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,1,{_lines:1}),Qo(603979776,2,{_avatar:0}),Qo(603979776,3,{_icon:0}),(t()(),Go(12,0,null,2,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,2,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["id","toggleAutomaticStartBtn"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==Zi(t,17)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.toggle(n)&&i),i}),wO,bO)),dr(5120,null,Gb,(function(t){return[t]}),[_O]),ur(17,1228800,null,0,_O,[an,lg,De,[8,null],co,fO,[2,ub],[2,W_]],{id:[0,"id"],checked:[1,"checked"]},{change:"change"}),(t()(),Ko(16777216,null,0,1,null,KO)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,17,0,"toggleAutomaticStartBtn",n.isAutoStartChecked),t(e,19,0,n.hasKeyPair)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,4).ngClassUntouched,Zi(e,4).ngClassTouched,Zi(e,4).ngClassPristine,Zi(e,4).ngClassDirty,Zi(e,4).ngClassValid,Zi(e,4).ngClassInvalid,Zi(e,4).ngClassPending),t(e,7,0,Zi(e,8)._avatar||Zi(e,8)._icon,Zi(e,8)._avatar||Zi(e,8)._icon),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.autoStartTitle))),t(e,15,0,Zi(e,17).id,Zi(e,17).disabled?null:-1,null,null,Zi(e,17).checked,Zi(e,17).disabled,"before"==Zi(e,17).labelPosition,"NoopAnimations"===Zi(e,17)._animationMode)}))}function JO(t){return pl(0,[(t()(),Go(0,0,null,null,12,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(4,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,GO)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(7,0,null,0,5,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),ur(8,16384,null,0,Fb,[],null,null),(t()(),Go(9,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.save()&&i),i}),$x,Vx)),ur(10,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(11,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.config.title")),!1),t(e,6,0,n.autoStartConfig),t(e,10,0,"mat-raised-button",!n.formValid,"primary")}),(function(t,e){t(e,11,0,Jn(e,11,0,Zi(e,12).transform("common.save")))}))}function ZO(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sshs-startup-config",[],null,null,null,JO,qO)),ur(1,114688,null,0,UO,[Db,WM],null,null)],(function(t,e){t(e,1,0)}),null)}var $O=Ni("app-sshs-startup-config",UO,ZO,{automaticStartTitle:"automaticStartTitle"},{},[]);function XO(t){return function(t){function e(){for(var e=[],n=0;n0;r--)e[r]&&(n[r]=i,i+=t[r]);return n},t}();function fP(t){return Error('Could not find column with id "'+t+'".')}var mP=function(){return function(t,e){this.viewContainer=t,this.elementRef=e}}(),gP=function(){return function(t,e){this.viewContainer=t,this.elementRef=e}}(),_P=function(){return function(t,e){this.viewContainer=t,this.elementRef=e}}(),yP=function(){function t(t,e,n,i,r,o,l){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=r,this._platform=l,this._onDestroy=new C,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new zs({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object.defineProperty(t.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(t){te()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+"."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(t){this._multiTemplateDataRows=ff(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(e,n){return t.trackBy?t.trackBy(n.dataIndex,n.data):n}))},t.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()},t.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),nm(this.dataSource)&&this.dataSource.disconnect(this)},t.prototype.renderRows=function(){var t=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var n=this._rowOutlet.viewContainer;e.forEachOperation((function(e,i,r){if(null==e.previousIndex)t._insertRow(e.item,r);else if(null==r)n.remove(i);else{var o=n.get(i);n.move(o,r)}})),this._updateRowIndexContext(),e.forEachIdentityChange((function(t){n.get(t.currentIndex).context.$implicit=t.item.data})),this.updateStickyColumnStyles()}},t.prototype.setHeaderRowDef=function(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0},t.prototype.setFooterRowDef=function(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0},t.prototype.addColumnDef=function(t){this._customColumnDefs.add(t)},t.prototype.removeColumnDef=function(t){this._customColumnDefs.delete(t)},t.prototype.addRowDef=function(t){this._customRowDefs.add(t)},t.prototype.removeRowDef=function(t){this._customRowDefs.delete(t)},t.prototype.addHeaderRowDef=function(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0},t.prototype.removeHeaderRowDef=function(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0},t.prototype.addFooterRowDef=function(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0},t.prototype.removeFooterRowDef=function(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0},t.prototype.updateStickyHeaderRowStyles=function(){var t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");var n=this._headerRowDefs.map((function(t){return t.sticky}));this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach((function(t){return t.resetStickyChanged()}))},t.prototype.updateStickyFooterRowStyles=function(){var t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");var n=this._footerRowDefs.map((function(t){return t.sticky}));this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach((function(t){return t.resetStickyChanged()}))},t.prototype.updateStickyColumnStyles=function(){var t=this,e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(e.concat(n,i),["left","right"]),e.forEach((function(e,n){t._addStickyColumnStyles([e],t._headerRowDefs[n])})),this._rowDefs.forEach((function(e){for(var i=[],r=0;r1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]},t.prototype._renderUpdatedColumns=function(){var t=function(t,e){return t||!!e.getColumnsDiff()};this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()},t.prototype._switchDataSource=function(t){this._data=[],nm(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t},t.prototype._observeRenderChanges=function(){var t=this;if(this.dataSource){var e;if(nm(this.dataSource)?e=this.dataSource.connect(this):this.dataSource instanceof w?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Hs(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(df(this._onDestroy)).subscribe((function(e){t._data=e||[],t.renderRows()}))}},t.prototype._forceRenderHeaderRows=function(){var t=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(e,n){return t._renderRow(t._headerRowOutlet,e,n)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},t.prototype._forceRenderFooterRows=function(){var t=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(e,n){return t._renderRow(t._footerRowOutlet,e,n)})),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},t.prototype._addStickyColumnStyles=function(t,e){var n=this,i=Array.from(e.columns||[]).map((function(t){var e=n._columnDefsByName.get(t);if(!e)throw fP(t);return e})),r=i.map((function(t){return t.sticky})),o=i.map((function(t){return t.stickyEnd}));this._stickyStyler.updateStickyColumns(t,r,o)},t.prototype._getRenderedRows=function(t){for(var e=[],n=0;nl?a=1:o0)){var i=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,i);r!==n.pageIndex&&(n.pageIndex=r,e._internalPageChanges.next())}}))},e.prototype.connect=function(){return this._renderData},e.prototype.disconnect=function(){},e}(em),YP=function(){return function(t){this.viewContainerRef=t}}(),AP=function(){function t(t){this.componentFactoryResolver=t}return t.prototype.ngAfterViewInit=function(){var t=this.componentFactoryResolver.resolveComponentFactory(this.componentClass),e=this.host.viewContainerRef;e.clear(),e.createComponent(t).instance.data=this.data},t}(),RP=Xn({encapsulation:0,styles:[[""]],data:{}});function jP(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function FP(t){return pl(0,[Qo(671088640,1,{host:0}),(t()(),Ko(16777216,null,null,1,null,jP)),ur(2,16384,[[1,4]],0,YP,[In],null,null)],null,null)}var NP=Xn({encapsulation:2,styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-of-type,mat-footer-cell:first-of-type,mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-footer-cell:last-of-type,mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type,[dir=rtl] th.mat-header-cell:first-of-type{padding-left:0;padding-right:24px}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type,[dir=rtl] th.mat-header-cell:last-of-type{padding-right:0;padding-left:24px}"],data:{}});function HP(t){return pl(0,[Qo(402653184,1,{_rowOutlet:0}),Qo(402653184,2,{_headerRowOutlet:0}),Qo(402653184,3,{_footerRowOutlet:0}),rl(null,0),(t()(),Go(4,16777216,null,null,1,null,null,null,null,null,null,null)),ur(5,16384,[[2,4]],0,gP,[In,an],null,null),(t()(),Go(6,16777216,null,null,1,null,null,null,null,null,null,null)),ur(7,16384,[[1,4]],0,mP,[In,an],null,null),(t()(),Go(8,16777216,null,null,1,null,null,null,null,null,null,null)),ur(9,16384,[[3,4]],0,_P,[In,an],null,null)],null,null)}var zP=Xn({encapsulation:2,styles:[],data:{}});function VP(t){return pl(0,[(t()(),Go(0,16777216,null,null,1,null,null,null,null,null,null,null)),ur(1,147456,null,0,uP,[In],null,null)],null,null)}var BP=Xn({encapsulation:2,styles:[],data:{}});function WP(t){return pl(0,[(t()(),Go(0,16777216,null,null,1,null,null,null,null,null,null,null)),ur(1,147456,null,0,uP,[In],null,null)],null,null)}var UP=function(){function t(){this.dataSource=new IP,this.save=new Yr,this.displayedColumns=["index","key","remove"],this.clearInputEmitter=new Yr}return t.prototype.ngOnInit=function(){this.updateValues(this.data||[],!1)},t.prototype.updateValues=function(t,e){void 0===e&&(e=!0),this.dataSource.data=t.concat([]),e&&this.save&&this.save.emit(t.concat([]))},t.prototype.onAddValueChanged=function(t){this.valueToAdd=t.valid?t.value:null},t.prototype.onAddBtnClicked=function(){this.data.push(this.valueToAdd),this.updateValues(this.data),this.valueToAdd=null,this.clearInputEmitter.emit()},t.prototype.onRemoveBtnClicked=function(t){this.data.splice(t,1),this.updateValues(this.data)},t.prototype.onValueAtPositionChanged=function(t,e){var n=this.data;n[t]=e,this.updateValues(n)},t.prototype._getAddRowData=function(){var t=this.getAddRowData();return t.subscriber=this.onAddValueChanged.bind(this),t.clearInputEmitter=this.clearInputEmitter,t},t.prototype._getEditableRowData=function(t,e){var n=this.getEditableRowData(t,e);return n.subscriber=this.onValueAtPositionChanged.bind(this,t),n.required=!0,n},t}(),qP=Xn({encapsulation:0,styles:[[""]],data:{}});function KP(t){return pl(0,[(t()(),Go(0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(-1,null,["#"]))],null,null)}function GP(t){return pl(0,[(t()(),Go(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),cl(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.index+1)}))}function JP(t){return pl(0,[(t()(),Go(0,0,null,null,2,"th",[["class","w-100 mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.component.meta.headerTitle)}))}function ZP(t){return pl(0,[(t()(),Go(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,1,"app-host",[],null,null,null,FP,RP)),ur(3,4243456,null,0,AP,[nn],{componentClass:[0,"componentClass"],data:[1,"data"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.getEditableRowComponentClass(),n._getEditableRowData(e.context.index,e.context.$implicit))}),null)}function $P(t){return pl(0,[(t()(),Go(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null)],null,null)}function XP(t){return pl(0,[(t()(),Go(0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,16777216,null,null,5,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,4).show()&&i),"keydown"===e&&(i=!1!==Zi(t,4)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,4)._handleTouchend()&&i),"click"===e&&(i=!1!==r.onRemoveBtnClicked(t.context.index)&&i),i}),pb,hb)),ur(3,180224,null,0,H_,[an,lg,[2,ub]],null,null),ur(4,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),(t()(),Go(5,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(6,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["close"]))],(function(t,e){t(e,4,0,Si(1,"",e.component.meta.removeRowTooltipText,"")),t(e,6,0)}),(function(t,e){t(e,2,0,Zi(e,3).disabled||null,"NoopAnimations"===Zi(e,3)._animationMode),t(e,5,0,Zi(e,6).inline,"primary"!==Zi(e,6).color&&"accent"!==Zi(e,6).color&&"warn"!==Zi(e,6).color)}))}function QP(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,VP,zP)),dr(6144,null,cP,null,[TP]),ur(2,49152,null,0,TP,[],null,null)],null,null)}function tE(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,WP,BP)),dr(6144,null,dP,null,[OP]),ur(2,49152,null,0,OP,[],null,null)],null,null)}function eE(t){return pl(0,[(t()(),Go(0,0,null,null,51,"table",[["class","table-abs-white selectable mat-table"],["mat-table",""]],null,null,null,HP,NP)),dr(6144,null,yP,null,[wP]),ur(2,2342912,null,4,wP,[Cn,De,an,[8,null],[2,W_],As,Zf],{dataSource:[0,"dataSource"]},null),Qo(603979776,1,{_contentColumnDefs:1}),Qo(603979776,2,{_contentRowDefs:1}),Qo(603979776,3,{_contentHeaderRowDefs:1}),Qo(603979776,4,{_contentFooterRowDefs:1}),(t()(),Go(7,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(9,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,5,{cell:0}),Qo(603979776,6,{headerCell:0}),Qo(603979776,7,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,KP)),ur(15,16384,null,0,xP,[Pn],null,null),dr(2048,[[6,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,GP)),ur(18,16384,null,0,kP,[Pn],null,null),dr(2048,[[5,4]],QO,null,[kP]),(t()(),Go(20,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(22,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,8,{cell:0}),Qo(603979776,9,{headerCell:0}),Qo(603979776,10,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,JP)),ur(28,16384,null,0,xP,[Pn],null,null),dr(2048,[[9,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,ZP)),ur(31,16384,null,0,kP,[Pn],null,null),dr(2048,[[8,4]],QO,null,[kP]),(t()(),Go(33,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(35,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,11,{cell:0}),Qo(603979776,12,{headerCell:0}),Qo(603979776,13,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,$P)),ur(41,16384,null,0,xP,[Pn],null,null),dr(2048,[[12,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,XP)),ur(44,16384,null,0,kP,[Pn],null,null),dr(2048,[[11,4]],QO,null,[kP]),(t()(),Ko(0,null,null,2,null,QP)),ur(47,540672,null,0,LP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[3,4]],lP,null,[LP]),(t()(),Ko(0,null,null,2,null,tE)),ur(50,540672,null,0,DP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[2,4]],sP,null,[DP])],(function(t,e){var n=e.component;t(e,2,0,n.dataSource),t(e,9,0,"index"),t(e,22,0,"key"),t(e,35,0,"remove"),t(e,47,0,n.displayedColumns),t(e,50,0,n.displayedColumns)}),null)}function nE(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,eE)),ur(1,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(2,0,null,null,5,"div",[["class","table-abs-white font-sm d-flex align-items-center mt-3"],["id","addValueContainer"]],null,null,null,null,null)),(t()(),Go(3,0,null,null,1,"app-host",[["style","display: flex; flex: 1;"]],null,null,null,FP,RP)),ur(4,4243456,null,0,AP,[nn],{componentClass:[0,"componentClass"],data:[1,"data"]},null),(t()(),Go(5,0,null,null,2,"app-button",[["class","ml-3"],["color","accent"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.onAddBtnClicked()&&i),i}),$x,Vx)),ur(6,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(7,0,[" "," "]))],(function(t,e){var n=e.component;t(e,1,0,n.dataSource.data.length>0),t(e,4,0,n.getAddRowComponentClass(),n._getAddRowData()),t(e,6,0,"mat-raised-button",!n.valueToAdd,"accent")}),(function(t,e){t(e,7,0,e.component.meta.addButtonTitle)}))}var iE=function(){function t(){this.hostClass="editable-key-container",this.autofocus=!1,this.required=!1,this.valueEdited=new Yr,this.editMode=!1,this.valid=!0}return t.prototype.onAppKeyChanged=function(t){var e=t.value,n=t.valid;this.valid=n,n&&(this.value=e)},t.prototype.toggleEditMode=function(){this.editMode=!this.editMode,this.triggerValueChanged()},t.prototype.triggerValueChanged=function(){!this.editMode&&this.valid&&this.valueEdited.emit(this.value)},Object.defineProperty(t.prototype,"data",{set:function(t){this.required=t.required,this.autofocus=t.autofocus,this.value=t.value,this.valueEdited.subscribe(t.subscriber)},enumerable:!0,configurable:!0}),t}(),rE=function(){function t(t,e,n,i,r){this.data=t,this.dialogRef=e,this.appsService=n,this.translate=i,this.snackbarService=r,this.currentWhiteList=[]}return t.prototype.ngOnInit=function(){var t=this;this.dialogRef.beforeClosed().subscribe((function(){t._save()}))},t.prototype.save=function(t){this.currentWhiteList=t},t.prototype._save=function(){},t.prototype.getEditableRowComponentClass=function(){return iE},t.prototype.getAddRowComponentClass=function(){return YO},t.prototype.getAddRowData=function(){return{required:!1,placeholder:this.translate.instant("apps.sshs.whitelist.enter-key")}},t.prototype.getEditableRowData=function(t,e){return{autofocus:!0,value:e}},t}(),oE=Xn({encapsulation:0,styles:[["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}[_nghost-%COMP%] td.mat-cell:last-child, [_nghost-%COMP%] td.mat-footer-cell:last-child{text-align:right}[_nghost-%COMP%] td.mat-footer-cell{border-bottom:none}[_nghost-%COMP%] .key-input-container, [_nghost-%COMP%] .mat-form-field{width:100%}"]],data:{}});function lE(t){return pl(0,[(t()(),Go(0,0,null,null,8,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,5,"app-datatable",[],null,[[null,"save"]],(function(t,e,n){var i=!0;return"save"===e&&(i=!1!==t.component.save(n)&&i),i}),nE,qP)),ur(4,114688,null,0,UP,[],{data:[0,"data"],getEditableRowData:[1,"getEditableRowData"],getEditableRowComponentClass:[2,"getEditableRowComponentClass"],getAddRowData:[3,"getAddRowData"],getAddRowComponentClass:[4,"getAddRowComponentClass"],meta:[5,"meta"]},{save:"save"}),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De]),sl(8,{headerTitle:0,removeRowTooltipText:1,addButtonTitle:2})],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.sshs.whitelist.title")));var i=n.data.app.allow_nodes||Li,r=n.getEditableRowData.bind(n),o=n.getEditableRowComponentClass.bind(n),l=n.getAddRowData.bind(n),a=n.getAddRowComponentClass.bind(n),s=t(e,8,0,Jn(e,4,5,Zi(e,5).transform("apps.sshs.whitelist.header")),Jn(e,4,5,Zi(e,6).transform("apps.sshs.whitelist.remove")),Jn(e,4,5,Zi(e,7).transform("apps.sshs.whitelist.add")));t(e,4,0,i,r,o,l,a,s)}),null)}function aE(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sshs-whitelist",[],null,null,null,lE,oE)),ur(1,114688,null,0,rE,[Tb,Db,PL,Wg,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var sE=Ni("app-sshs-whitelist",rE,aE,{},{},[]),uE=new St("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),cE=function(){function t(t,e,n,i){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=i}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e._setStyles(t)}))})):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}(),dE=function(){return function(t){this.template=t}}(),hE=function(t){function e(e){var n=t.call(this)||this;return n._viewContainerRef=e,n.textLabel="",n._contentPortal=null,n._stateChanges=new C,n.position=null,n.origin=null,n.isActive=!1,n}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype.ngOnInit=function(){this._contentPortal=new of(this._explicitContent||this._implicitContent,this._viewContainerRef)},e}(o_(function(){return function(){}}())),pE=function(t){function e(e,n,i){var r=t.call(this,e,n)||this;return r._host=i,r._centeringSub=s.EMPTY,r._leavingSub=s.EMPTY,r}return Object(i.__extends)(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(Su(this._host._isCenterPosition(this._host._position))).subscribe((function(t){t&&!e.hasAttached()&&e.attach(e._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){e.detach()}))},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e}(sf),fE=function(t){function e(e,n,i){return t.call(this,e,n,i)||this}return Object(i.__extends)(e,t),e}(function(){function t(t,e,n){var i=this;this._elementRef=t,this._dir=e,this._dirChangeSubscription=s.EMPTY,this._translateTabComplete=new C,this._onCentering=new Yr,this._beforeCentering=new Yr,this._afterLeavingCenter=new Yr,this._onCentered=new Yr(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe((function(t){i._computePositionAnimationState(t),n.markForCheck()}))),this._translateTabComplete.pipe(Df((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){i._isCenterPosition(t.toState)&&i._isCenterPosition(i._position)&&i._onCentered.emit(),i._isCenterPosition(t.fromState)&&!i._isCenterPosition(i._position)&&i._afterLeavingCenter.emit()}))}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},t.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.prototype._computePositionAnimationState=function(t){void 0===t&&(t=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"},t.prototype._computePositionFromOrigin=function(){var t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"},t}()),mE=0,gE=function(){return function(){}}(),_E=new St("MAT_TABS_CONFIG"),yE=function(t){function e(e,n,i,r){return t.call(this,e,n,i,r)||this}return Object(i.__extends)(e,t),e}(function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o._changeDetectorRef=n,o._animationMode=r,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=s.EMPTY,o._tabLabelSubscription=s.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new Yr,o.focusChange=new Yr,o.animationDone=new Yr,o.selectedTabChange=new Yr(!0),o._groupId=mE++,o.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",o}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=mf(t,null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){t._tabs.forEach((function(t,n){return t.isActive=n===e})),n||t.selectedIndexChange.emit(e)}))}this._tabs.forEach((function(n,i){n.position=i-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;nu&&(this.scrollDistance+=i-u+60)}},t.prototype._checkPaginationEnabled=function(){var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t},t.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},t.prototype._stopInterval=function(){this._stopScrolling.next()},t.prototype._handlePaginatorPress=function(t){var e=this;this._stopInterval(),Af(650,100).pipe(df(J(this._stopScrolling,this._destroyed))).subscribe((function(){var n=e._scrollHeader(t),i=n.distance;(0===i||i>=n.maxScrollDistance)&&e._stopInterval()}))},t.prototype._scrollTo=function(t){var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},t}())),kE=function(){return function(){}}(),xE=Xn({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function ME(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function SE(t){return pl(0,[(t()(),Ko(16777216,null,null,1,null,ME)),ur(1,212992,null,0,sf,[nn,In],{portal:[0,"portal"]},null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0,e.parent.context.$implicit.templateLabel)}),null)}function CE(t){return pl(0,[(t()(),cl(0,null,["",""]))],null,(function(t,e){t(e,0,0,e.parent.context.$implicit.textLabel)}))}function LE(t){return pl(0,[(t()(),Go(0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._handleClick(t.context.$implicit,Zi(t.parent,3),t.context.index)&&i),i}),null,null)),ur(1,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"]},null),ur(2,147456,null,0,ag,[an,lg],null,null),ur(3,16384,[[3,4]],0,vE,[an],{disabled:[0,"disabled"]},null),(t()(),Go(4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,SE)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,CE)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),t(e,3,0,e.context.$implicit.disabled),t(e,6,0,e.context.$implicit.templateLabel),t(e,8,0,!e.context.$implicit.templateLabel)}),(function(t,e){var n=e.component;t(e,0,1,[n._getTabLabelId(e.context.index),n._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,n._tabs.length,n._getTabContentId(e.context.index),n.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,n.selectedIndex==e.context.index,Zi(e,1).unbounded,Zi(e,3).disabled,!!Zi(e,3).disabled])}))}function DE(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],(function(t,e,n){var i=!0,r=t.component;return"_onCentered"===e&&(i=!1!==r._removeTabBodyWrapperHeight()&&i),"_onCentering"===e&&(i=!1!==r._setTabBodyWrapperHeight(n)&&i),i}),EE,OE)),ur(1,245760,null,0,fE,[an,[2,W_],De],{_content:[0,"_content"],origin:[1,"origin"],animationDuration:[2,"animationDuration"],position:[3,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],(function(t,e){t(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.component.animationDuration,e.context.$implicit.position)}),(function(t,e){var n=e.component;t(e,0,0,n._getTabContentId(e.context.index),n._getTabLabelId(e.context.index),n.selectedIndex==e.context.index)}))}function TE(t){return pl(2,[Qo(671088640,1,{_tabBodyWrapper:0}),Qo(671088640,2,{_tabHeader:0}),(t()(),Go(2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],(function(t,e,n){var i=!0,r=t.component;return"indexFocused"===e&&(i=!1!==r._focusChanged(n)&&i),"selectFocusedIndex"===e&&(i=!1!==(r.selectedIndex=n)&&i),i}),YE,IE)),ur(3,7520256,[[2,4],["tabHeader",4]],1,wE,[an,De,lm,[2,W_],co,Zf,[2,ub]],{selectedIndex:[0,"selectedIndex"],disableRipple:[1,"disableRipple"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),Qo(603979776,3,{_items:1}),(t()(),Ko(16777216,null,0,1,null,LE)),ur(6,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,DE)),ur(9,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.selectedIndex,n.disableRipple),t(e,6,0,n._tabs),t(e,9,0,n._tabs)}),(function(t,e){var n=e.component;t(e,2,0,Zi(e,3)._showPaginationControls,"rtl"==Zi(e,3)._getLayoutDirection()),t(e,7,0,"NoopAnimations"===n._animationMode)}))}var OE=Xn({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function PE(t){return pl(0,[(t()(),Ko(0,null,null,0))],null,null)}function EE(t){return pl(2,[Qo(671088640,1,{_portalHost:0}),(t()(),Go(1,0,[["content",1]],null,4,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],(function(t,e,n){var i=!0,r=t.component;return"@translateTab.start"===e&&(i=!1!==r._onTranslateTabStarted(n)&&i),"@translateTab.done"===e&&(i=!1!==r._translateTabComplete.next(n)&&i),i}),null,null)),sl(2,{animationDuration:0}),sl(3,{value:0,params:1}),(t()(),Ko(16777216,null,null,1,null,PE)),ur(5,212992,null,0,pE,[nn,In,fE],null,null)],(function(t,e){t(e,5,0)}),(function(t,e){var n=e.component,i=t(e,3,0,n._position,t(e,2,0,n.animationDuration));t(e,1,0,i)}))}var IE=Xn({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}"],data:{}});function YE(t){return pl(2,[Qo(402653184,1,{_inkBar:0}),Qo(402653184,2,{_tabListContainer:0}),Qo(402653184,3,{_tabList:0}),Qo(671088640,4,{_nextPaginator:0}),Qo(671088640,5,{_previousPaginator:0}),(t()(),Go(5,0,[[5,0],["previousPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"],[null,"mousedown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r._handlePaginatorClick("before")&&i),"mousedown"===e&&(i=!1!==r._handlePaginatorPress("before")&&i),"touchend"===e&&(i=!1!==r._stopInterval()&&i),i}),null,null)),ur(6,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"]},null),(t()(),Go(7,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(t()(),Go(8,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==t.component._handleKeydown(n)&&i),i}),null,null)),(t()(),Go(9,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],[[2,"_mat-animation-noopable",null]],[[null,"cdkObserveContent"]],(function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component._onContentChanges()&&i),i}),null,null)),ur(10,1196032,null,0,jC,[RC,an,co],null,{event:"cdkObserveContent"}),(t()(),Go(11,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),rl(null,0),(t()(),Go(13,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),ur(14,16384,[[1,4]],0,cE,[an,co,uE,[2,ub]],null,null),(t()(),Go(15,0,[[4,0],["nextPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"mousedown"],[null,"click"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"mousedown"===e&&(i=!1!==r._handlePaginatorPress("after")&&i),"click"===e&&(i=!1!==r._handlePaginatorClick("after")&&i),"touchend"===e&&(i=!1!==r._stopInterval()&&i),i}),null,null)),ur(16,212992,null,0,S_,[an,co,Zf,[2,M_],[2,ub]],{disabled:[0,"disabled"]},null),(t()(),Go(17,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,6,0,n._disableScrollBefore||n.disableRipple),t(e,16,0,n._disableScrollAfter||n.disableRipple)}),(function(t,e){var n=e.component;t(e,5,0,n._disableScrollBefore,Zi(e,6).unbounded),t(e,9,0,"NoopAnimations"===n._animationMode),t(e,13,0,"NoopAnimations"===Zi(e,14)._animationMode),t(e,15,0,n._disableScrollAfter,Zi(e,16).unbounded)}))}var AE=Xn({encapsulation:2,styles:[],data:{}});function RE(t){return pl(0,[rl(null,0),(t()(),Ko(0,null,null,0))],null,null)}function jE(t){return pl(2,[Qo(402653184,1,{_implicitContent:0}),(t()(),Ko(0,[[1,2]],null,0,null,RE))],null,null)}var FE=function(){function t(t){this.apiService=t}return t.prototype.get=function(t){return this.request("conn/getClientConnection",t)},t.prototype.save=function(t,e){return this.request("conn/saveClientConnection",t,{data:JSON.stringify(e)})},t.prototype.edit=function(t,e,n){return this.request("conn/editClientConnection",t,{index:e,label:n})},t.prototype.remove=function(t,e){return this.request("conn/removeClientConnection",t,{index:e})},t.prototype.request=function(t,e,n){return this.apiService.post(t,Object(i.__assign)({client:e},n))},t.ngInjectableDef=ht({factory:function(){return new t(At(nx))},token:t,providedIn:"root"}),t}(),NE=function(){function t(t,e){this.connectionService=t,this.dialog=e,this.connect=new Yr,this.dataSource=new IP,this.displayedColumns=["label","keys","actions"]}return t.prototype.ngOnInit=function(){this.fetchData()},t.prototype.edit=function(t,e){var n=this;this.dialog.open(UM,{data:{label:e}}).afterClosed().subscribe((function(e){void 0!==e&&n.connectionService.edit(n.app,t,e).subscribe((function(){return n.fetchData()}))}))},t.prototype.delete=function(t){var e=this;this.connectionService.remove(this.app,t).subscribe((function(){return e.fetchData()}))},t.prototype.fetchData=function(){var t=this;this.connectionService.get(this.app).subscribe((function(e){t.dataSource.data=e||[]}))},t}(),HE=Xn({encapsulation:0,styles:[[".nowrap[_ngcontent-%COMP%]{word-break:keep-all;white-space:nowrap}.actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center}.actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-block;font-size:16px;margin-right:10px;cursor:pointer}"]],data:{}});function zE(t){return pl(0,[(t()(),Go(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("nodes.label")))}))}function VE(t){return pl(0,[(t()(),Go(0,0,null,null,7,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,5,"span",[],null,null,null,null,null)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(4,278528,null,0,ms,[ps],{ngClass:[0,"ngClass"]},null),sl(5,{"text-muted":0}),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){var n=t(e,5,0,!e.context.$implicit.label);t(e,4,0,n)}),(function(t,e){t(e,6,0,e.context.$implicit.label||Jn(e,6,0,Zi(e,7).transform("common.none")))}))}function BE(t){return pl(0,[(t()(),Go(0,0,null,null,4,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,[" "," / "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("common.node-key")),Jn(e,2,1,Zi(e,4).transform("common.app-key")))}))}function WE(t){return pl(0,[(t()(),Go(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(3,null,["",""])),(t()(),Go(4,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Go(5,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(6,null,["",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit.nodeKey),t(e,6,0,e.context.$implicit.appKey)}))}function UE(t){return pl(0,[(t()(),Go(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null)],null,null)}function qE(t){return pl(0,[(t()(),Go(0,0,null,null,13,"td",[["class","actions mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,16777216,null,null,3,"i",[["class","material-icons"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,3).show()&&i),"keydown"===e&&(i=!1!==Zi(t,3)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,3)._handleTouchend()&&i),"click"===e&&(i=!1!==r.edit(t.context.index,t.context.$implicit.label)&&i),i}),null,null)),ur(3,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,["edit"])),(t()(),Go(6,16777216,null,null,3,"i",[["class","material-icons"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,7).show()&&i),"keydown"===e&&(i=!1!==Zi(t,7)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,7)._handleTouchend()&&i),"click"===e&&(i=!1!==r.delete(t.context.index)&&i),i}),null,null)),ur(7,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),cl(-1,null,["delete"])),(t()(),Go(10,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.connect.emit({nodeKey:t.context.$implicit.nodeKey,appKey:t.context.$implicit.appKey})&&i),i}),$x,Vx)),ur(11,180224,null,0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(12,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,Jn(e,3,0,Zi(e,4).transform("nodes.edit-label"))),t(e,7,0,Jn(e,7,0,Zi(e,8).transform("common.delete"))),t(e,11,0,"mat-raised-button","primary")}),(function(t,e){t(e,12,0,Jn(e,12,0,Zi(e,13).transform("apps.socksc.connect")))}))}function KE(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,VP,zP)),dr(6144,null,cP,null,[TP]),ur(2,49152,null,0,TP,[],null,null)],null,null)}function GE(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,WP,BP)),dr(6144,null,dP,null,[OP]),ur(2,49152,null,0,OP,[],null,null)],null,null)}function JE(t){return pl(0,[(t()(),Go(0,0,null,null,51,"table",[["class","table-abs-white sm mat-table"],["mat-table",""]],null,null,null,HP,NP)),dr(6144,null,yP,null,[wP]),ur(2,2342912,null,4,wP,[Cn,De,an,[8,null],[2,W_],As,Zf],{dataSource:[0,"dataSource"]},null),Qo(603979776,1,{_contentColumnDefs:1}),Qo(603979776,2,{_contentRowDefs:1}),Qo(603979776,3,{_contentHeaderRowDefs:1}),Qo(603979776,4,{_contentFooterRowDefs:1}),(t()(),Go(7,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(9,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,5,{cell:0}),Qo(603979776,6,{headerCell:0}),Qo(603979776,7,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,zE)),ur(15,16384,null,0,xP,[Pn],null,null),dr(2048,[[6,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,VE)),ur(18,16384,null,0,kP,[Pn],null,null),dr(2048,[[5,4]],QO,null,[kP]),(t()(),Go(20,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(22,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,8,{cell:0}),Qo(603979776,9,{headerCell:0}),Qo(603979776,10,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,BE)),ur(28,16384,null,0,xP,[Pn],null,null),dr(2048,[[9,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,WE)),ur(31,16384,null,0,kP,[Pn],null,null),dr(2048,[[8,4]],QO,null,[kP]),(t()(),Go(33,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(35,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,11,{cell:0}),Qo(603979776,12,{headerCell:0}),Qo(603979776,13,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,UE)),ur(41,16384,null,0,xP,[Pn],null,null),dr(2048,[[12,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,qE)),ur(44,16384,null,0,kP,[Pn],null,null),dr(2048,[[11,4]],QO,null,[kP]),(t()(),Ko(0,null,null,2,null,KE)),ur(47,540672,null,0,LP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[3,4]],lP,null,[LP]),(t()(),Ko(0,null,null,2,null,GE)),ur(50,540672,null,0,DP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[2,4]],sP,null,[DP])],(function(t,e){var n=e.component;t(e,2,0,n.dataSource),t(e,9,0,"label"),t(e,22,0,"keys"),t(e,35,0,"actions"),t(e,47,0,n.displayedColumns),t(e,50,0,n.displayedColumns)}),null)}var ZE=function(){function t(t){this.dialogRef=t,this.valid=!0}return t.prototype.connect=function(){this.dialogRef.close(this.keypair)},t.prototype.keypairChange=function(t){var e=t.keyPair;this.valid=t.valid,this.keypair=e},t}(),$E=Xn({encapsulation:0,styles:[[""]],data:{}});function XE(t){return pl(0,[(t()(),Go(0,0,null,null,25,"app-dialog",[["id","sshcConnectContainer"]],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,22,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,TE,xE)),ur(4,3325952,null,1,yE,[an,De,[2,_E],[2,ub]],null,null),Qo(603979776,1,{_tabs:1}),(t()(),Go(6,16777216,null,null,12,"mat-tab",[],null,null,null,jE,AE)),ur(7,770048,[[1,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,2,{templateLabel:0}),Qo(335544320,3,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(11,0,null,0,7,"div",[["class","pt-4"]],null,null,null,null,null)),(t()(),Go(12,0,null,null,6,"div",[["class","clearfix"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(14,638976,null,0,zO,[],{required:[0,"required"]},{keypairChange:"keypairChange"}),(t()(),Go(15,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.connect()&&i),i}),$x,Vx)),ur(16,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(17,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(19,16777216,null,null,6,"mat-tab",[],null,null,null,jE,AE)),ur(20,770048,[[1,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,4,{templateLabel:0}),Qo(335544320,5,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,0,1,"app-history",[["app","sshc"]],null,[[null,"connect"]],(function(t,e,n){var i=!0;return"connect"===e&&(i=!1!==t.component.keypairChange({keyPair:n,valid:!0})&&i),i}),JE,HE)),ur(25,114688,null,0,NE,[FE,Ib],{app:[0,"app"]},{connect:"connect"})],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.sshc.title"))),t(e,7,0,Jn(e,7,0,Zi(e,10).transform("apps.sshc.connect-keypair"))),t(e,14,0,!0),t(e,16,0,"mat-raised-button",!(n.valid&&n.keypair&&n.keypair.nodeKey&&n.keypair.appKey),"primary"),t(e,20,0,Jn(e,20,0,Zi(e,23).transform("apps.sshc.connect-history"))),t(e,25,0,"sshc")}),(function(t,e){t(e,3,0,Zi(e,4).dynamicHeight,"below"===Zi(e,4).headerPosition),t(e,13,0,Zi(e,14).hostClass),t(e,17,0,Jn(e,17,0,Zi(e,18).transform("apps.sshc.connect")))}))}function QE(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sshc-keys",[],null,null,null,XE,$E)),ur(1,49152,null,0,ZE,[Db],null,null)],null,null)}var tI=Ni("app-sshc-keys",ZE,QE,{},{},[]),eI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.appKeyConfigField="sshc_conf_appKey",e.appConfigField="sshc",e.nodeKeyConfigField="sshc_conf_nodeKey",e.autoStartTitle="apps.sshc.auto-startup",e}return Object(i.__extends)(e,t),e}(WO),nI=Xn({encapsulation:0,styles:[IO],data:{}});function iI(t){return pl(0,[(t()(),Go(0,0,null,null,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(1,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,4,{_lines:1}),Qo(603979776,5,{_avatar:0}),Qo(603979776,6,{_icon:0}),(t()(),Go(5,0,null,2,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(6,638976,null,0,zO,[],{keypair:[0,"keypair"],required:[1,"required"]},{keypairChange:"keypairChange"})],(function(t,e){var n=e.component;t(e,6,0,n.keyPair,n.isAutoStartChecked)}),(function(t,e){t(e,0,0,Zi(e,1)._avatar||Zi(e,1)._icon,Zi(e,1)._avatar||Zi(e,1)._icon),t(e,5,0,Zi(e,6).hostClass)}))}function rI(t){return pl(0,[(t()(),Go(0,0,null,null,19,"form",[["class","startup-form clearfix"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,2).onReset()&&i),i}),null,null)),ur(1,16384,null,0,qw,[],null,null),ur(2,4210688,null,0,Bw,[[8,null],[8,null]],null,null),dr(2048,null,Qb,null,[Bw]),ur(4,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(5,0,null,null,14,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,dO,cO)),ur(6,704512,null,0,lO,[an],null,null),(t()(),Go(7,0,null,0,10,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(8,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,1,{_lines:1}),Qo(603979776,2,{_avatar:0}),Qo(603979776,3,{_icon:0}),(t()(),Go(12,0,null,2,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,2,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["id","toggleAutomaticStartBtn"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==Zi(t,17)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.toggle(n)&&i),i}),wO,bO)),dr(5120,null,Gb,(function(t){return[t]}),[_O]),ur(17,1228800,null,0,_O,[an,lg,De,[8,null],co,fO,[2,ub],[2,W_]],{id:[0,"id"],checked:[1,"checked"]},{change:"change"}),(t()(),Ko(16777216,null,0,1,null,iI)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,17,0,"toggleAutomaticStartBtn",n.isAutoStartChecked),t(e,19,0,n.hasKeyPair)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,4).ngClassUntouched,Zi(e,4).ngClassTouched,Zi(e,4).ngClassPristine,Zi(e,4).ngClassDirty,Zi(e,4).ngClassValid,Zi(e,4).ngClassInvalid,Zi(e,4).ngClassPending),t(e,7,0,Zi(e,8)._avatar||Zi(e,8)._icon,Zi(e,8)._avatar||Zi(e,8)._icon),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.autoStartTitle))),t(e,15,0,Zi(e,17).id,Zi(e,17).disabled?null:-1,null,null,Zi(e,17).checked,Zi(e,17).disabled,"before"==Zi(e,17).labelPosition,"NoopAnimations"===Zi(e,17)._animationMode)}))}function oI(t){return pl(0,[(t()(),Go(0,0,null,null,12,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(4,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,rI)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(7,0,null,0,5,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),ur(8,16384,null,0,Fb,[],null,null),(t()(),Go(9,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.save()&&i),i}),$x,Vx)),ur(10,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(11,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.config.title")),!1),t(e,6,0,n.autoStartConfig),t(e,10,0,"mat-raised-button",!n.formValid,"primary")}),(function(t,e){t(e,11,0,Jn(e,11,0,Zi(e,12).transform("common.save")))}))}function lI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-sshc-startup-config",[],null,null,null,oI,nI)),ur(1,114688,null,0,eI,[Db,WM],null,null)],(function(t,e){t(e,1,0)}),null)}var aI=Ni("app-sshc-startup-config",eI,lI,{automaticStartTitle:"automaticStartTitle"},{},[]),sI=l_(function(){return function(t){this._elementRef=t}}(),"primary"),uI=new St("mat-progress-bar-location",{providedIn:"root",factory:function(){var t=Rt(As),e=t?t.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),cI=0,dI=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;o._elementRef=e,o._ngZone=n,o._animationMode=i,o._isNoopAnimation=!1,o._value=0,o._bufferValue=0,o.animationEnd=new Yr,o._animationEndSubscription=s.EMPTY,o.mode="determinate",o.progressbarId="mat-progress-bar-"+cI++;var l=r?r.getPathname().split("#")[0]:"";return o._rectangleFillValue="url('"+l+"#"+o.progressbarId+"')",o._isNoopAnimation="NoopAnimations"===i,o}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=hI(t||0),this._isNoopAnimation&&this._emitAnimationEnd()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferValue",{get:function(){return this._bufferValue},set:function(t){this._bufferValue=hI(t||0)},enumerable:!0,configurable:!0}),e.prototype._primaryTransform=function(){return{transform:"scaleX("+this.value/100+")"}},e.prototype._bufferTransform=function(){if("buffer"===this.mode)return{transform:"scaleX("+this.bufferValue/100+")"}},e.prototype.ngAfterViewInit=function(){var t=this;this._isNoopAnimation||this._ngZone.runOutsideAngular((function(){var e=t._primaryValueBar.nativeElement;t._animationEndSubscription=bf(e,"transitionend").pipe($s((function(t){return t.target===e}))).subscribe((function(){return t._ngZone.run((function(){return t._emitAnimationEnd()}))}))}))},e.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()},e.prototype._emitAnimationEnd=function(){"determinate"!==this.mode&&"buffer"!==this.mode||this.animationEnd.next({value:this.value})},e}(sI);function hI(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=100),Math.max(e,Math.min(n,t))}var pI=function(){return function(){}}(),fI=Xn({encapsulation:2,styles:[".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-background{display:none}}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:'';display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2s infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2s infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after{animation:none;transition:none}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(.5,0,.70173,.49582);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(.30244,.38135,.55,.95635);transform:translateX(83.67142%)}100%{transform:translateX(200.61106%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.33473,.12482,.78584,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.06,.11,.6,1);transform:scaleX(.66148)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:translateX(37.65191%)}48.35%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:translateX(84.38617%)}100%{transform:translateX(160.27778%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:scaleX(.4571)}44.15%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:scaleX(.72796)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}"],data:{}});function mI(t){return pl(2,[Qo(671088640,1,{_primaryValueBar:0}),(t()(),Go(1,0,null,null,4,":svg:svg",[["class","mat-progress-bar-background mat-progress-bar-element"],["focusable","false"],["height","4"],["width","100%"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(t()(),Go(3,0,null,null,1,":svg:pattern",[["height","4"],["patternUnits","userSpaceOnUse"],["width","8"],["x","4"],["y","0"]],[[8,"id",0]],null,null,null,null)),(t()(),Go(4,0,null,null,0,":svg:circle",[["cx","2"],["cy","2"],["r","2"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,0,":svg:rect",[["height","100%"],["width","100%"]],[[1,"fill",0]],null,null,null,null)),(t()(),Go(6,0,null,null,2,"div",[["class","mat-progress-bar-buffer mat-progress-bar-element"]],null,null,null,null,null)),dr(512,null,Cs,Ls,[an,Ln,hn]),ur(8,278528,null,0,Ds,[Cs],{ngStyle:[0,"ngStyle"]},null),(t()(),Go(9,0,[[1,0],["primaryValueBar",1]],null,2,"div",[["class","mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null)),dr(512,null,Cs,Ls,[an,Ln,hn]),ur(11,278528,null,0,Ds,[Cs],{ngStyle:[0,"ngStyle"]},null),(t()(),Go(12,0,null,null,0,"div",[["class","mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,8,0,n._bufferTransform()),t(e,11,0,n._primaryTransform())}),(function(t,e){var n=e.component;t(e,3,0,n.progressbarId),t(e,5,0,n._rectangleFillValue)}))}var gI=function(){function t(t){this.nodeService=t,this.connect=new Yr,this.serviceKey="sockss",this.limit=5,this.displayedColumns=["keys","versions","location","connect"],this.dataSource=new IP,this.currentPage=1,this.pages=1,this.count=0,this.loading=!1}return t.prototype.ngOnInit=function(){this.search()},Object.defineProperty(t.prototype,"pagerState",{get:function(){var t=(this.currentPage-1)*this.limit;return t+1+" - "+(t+this.limit)+" of "+this.count},enumerable:!0,configurable:!0}),t.prototype.search=function(){this.loading=!0},t.prototype.prevPage=function(){this.currentPage=Math.max(1,this.currentPage-1),this.search()},t.prototype.nextPage=function(){this.currentPage=Math.min(this.pages,this.currentPage+1),this.search()},t}(),_I=Xn({encapsulation:0,styles:[[".nowrap[_ngcontent-%COMP%]{word-break:keep-all;white-space:nowrap}"]],data:{}});function yI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["mode","indeterminate"],["role","progressbar"],["style","position: absolute; top: 0;"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,mI,fI)),ur(1,4374528,null,0,dI,[an,co,[2,ub],[2,uI]],{mode:[0,"mode"]},null)],(function(t,e){t(e,1,0,"indeterminate")}),(function(t,e){t(e,0,0,"indeterminate"===Zi(e,1).mode||"query"===Zi(e,1).mode?null:Zi(e,1).value,Zi(e,1).mode,Zi(e,1)._isNoopAnimation)}))}function vI(t){return pl(0,[(t()(),Go(0,0,null,null,4,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,[" "," / "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("common.node-key")),Jn(e,2,1,Zi(e,4).transform("common.app-key")))}))}function bI(t){return pl(0,[(t()(),Go(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(3,null,["",""])),(t()(),Go(4,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Go(5,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(6,null,["",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit.node_key),t(e,6,0,e.context.$implicit.app_key)}))}function wI(t){return pl(0,[(t()(),Go(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.socksc.versions")))}))}function kI(t){return pl(0,[(t()(),Go(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(3,null,["Node: ",""])),(t()(),Go(4,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Go(5,0,null,null,1,"span",[["class","nowrap"]],null,null,null,null,null)),(t()(),cl(6,null,["App: ",""]))],null,(function(t,e){t(e,3,0,e.context.$implicit.node_version[0]),t(e,6,0,e.context.$implicit.version)}))}function xI(t){return pl(0,[(t()(),Go(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null),(t()(),cl(2,null,["",""])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.socksc.location")))}))}function MI(t){return pl(0,[(t()(),Go(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),cl(2,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.context.$implicit.location)}))}function SI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),ur(1,16384,null,0,SP,[eP,an],null,null)],null,null)}function CI(t){return pl(0,[(t()(),Go(0,0,null,null,5,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),ur(1,16384,null,0,CP,[eP,an],null,null),(t()(),Go(2,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.connect.emit({nodeKey:t.context.$implicit.node_key,appKey:t.context.$implicit.app_key})&&i),i}),$x,Vx)),ur(3,180224,null,0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(4,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,"mat-raised-button","primary")}),(function(t,e){t(e,4,0,Jn(e,4,0,Zi(e,5).transform("apps.socksc.connect")))}))}function LI(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,VP,zP)),dr(6144,null,cP,null,[TP]),ur(2,49152,null,0,TP,[],null,null)],null,null)}function DI(t){return pl(0,[(t()(),Go(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,WP,BP)),dr(6144,null,dP,null,[OP]),ur(2,49152,null,0,OP,[],null,null)],null,null)}function TI(t){return pl(0,[(t()(),Go(0,0,null,null,84,"div",[["class","d-flex flex-column"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,yI)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(3,0,null,null,64,"table",[["class","table-abs-white sm mat-table"],["mat-table",""]],null,null,null,HP,NP)),dr(6144,null,yP,null,[wP]),ur(5,2342912,null,4,wP,[Cn,De,an,[8,null],[2,W_],As,Zf],{dataSource:[0,"dataSource"]},null),Qo(603979776,1,{_contentColumnDefs:1}),Qo(603979776,2,{_contentRowDefs:1}),Qo(603979776,3,{_contentHeaderRowDefs:1}),Qo(603979776,4,{_contentFooterRowDefs:1}),(t()(),Go(10,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(12,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,5,{cell:0}),Qo(603979776,6,{headerCell:0}),Qo(603979776,7,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,vI)),ur(18,16384,null,0,xP,[Pn],null,null),dr(2048,[[6,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,bI)),ur(21,16384,null,0,kP,[Pn],null,null),dr(2048,[[5,4]],QO,null,[kP]),(t()(),Go(23,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(25,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,8,{cell:0}),Qo(603979776,9,{headerCell:0}),Qo(603979776,10,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,wI)),ur(31,16384,null,0,xP,[Pn],null,null),dr(2048,[[9,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,kI)),ur(34,16384,null,0,kP,[Pn],null,null),dr(2048,[[8,4]],QO,null,[kP]),(t()(),Go(36,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(38,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,11,{cell:0}),Qo(603979776,12,{headerCell:0}),Qo(603979776,13,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,xI)),ur(44,16384,null,0,xP,[Pn],null,null),dr(2048,[[12,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,MI)),ur(47,16384,null,0,kP,[Pn],null,null),dr(2048,[[11,4]],QO,null,[kP]),(t()(),Go(49,0,null,null,12,null,null,null,null,null,null,null)),dr(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[MP]),ur(51,16384,null,3,MP,[],{name:[0,"name"]},null),Qo(603979776,14,{cell:0}),Qo(603979776,15,{headerCell:0}),Qo(603979776,16,{footerCell:0}),dr(2048,[[1,4]],eP,null,[MP]),(t()(),Ko(0,null,null,2,null,SI)),ur(57,16384,null,0,xP,[Pn],null,null),dr(2048,[[15,4]],tP,null,[xP]),(t()(),Ko(0,null,null,2,null,CI)),ur(60,16384,null,0,kP,[Pn],null,null),dr(2048,[[14,4]],QO,null,[kP]),(t()(),Ko(0,null,null,2,null,LI)),ur(63,540672,null,0,LP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[3,4]],lP,null,[LP]),(t()(),Ko(0,null,null,2,null,DI)),ur(66,540672,null,0,DP,[Pn,Cn],{columns:[0,"columns"]},null),dr(2048,[[2,4]],sP,null,[DP]),(t()(),Go(68,0,null,null,16,"div",[["class","d-flex justify-content-end align-items-center mt-2"]],null,null,null,null,null)),(t()(),Go(69,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(70,null,[" "," "])),(t()(),Go(71,16777216,null,null,6,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,73).show()&&i),"keydown"===e&&(i=!1!==Zi(t,73)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,73)._handleTouchend()&&i),"click"===e&&(i=!1!==r.prevPage()&&i),i}),pb,hb)),ur(72,180224,null,0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"]},null),ur(73,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(75,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(76,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["navigate_before"])),(t()(),Go(78,16777216,null,null,6,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,80).show()&&i),"keydown"===e&&(i=!1!==Zi(t,80)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,80)._handleTouchend()&&i),"click"===e&&(i=!1!==r.nextPage()&&i),i}),pb,hb)),ur(79,180224,null,0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"]},null),ur(80,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(82,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(83,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["navigate_next"]))],(function(t,e){var n=e.component;t(e,2,0,n.loading),t(e,5,0,n.dataSource),t(e,12,0,"keys"),t(e,25,0,"versions"),t(e,38,0,"location"),t(e,51,0,"connect"),t(e,63,0,n.displayedColumns),t(e,66,0,n.displayedColumns),t(e,72,0,1===n.currentPage),t(e,73,0,Jn(e,73,0,Zi(e,74).transform("apps.socksc.prev-page"))),t(e,76,0),t(e,79,0,n.currentPage===n.pages),t(e,80,0,Jn(e,80,0,Zi(e,81).transform("apps.socksc.next-page"))),t(e,83,0)}),(function(t,e){t(e,70,0,e.component.pagerState),t(e,71,0,Zi(e,72).disabled||null,"NoopAnimations"===Zi(e,72)._animationMode),t(e,75,0,Zi(e,76).inline,"primary"!==Zi(e,76).color&&"accent"!==Zi(e,76).color&&"warn"!==Zi(e,76).color),t(e,78,0,Zi(e,79).disabled||null,"NoopAnimations"===Zi(e,79)._animationMode),t(e,82,0,Zi(e,83).inline,"primary"!==Zi(e,83).color&&"accent"!==Zi(e,83).color&&"warn"!==Zi(e,83).color)}))}var OI=function(){function t(t,e){this.dialogRef=t,this.data=e,this.discoveries=[]}return t.prototype.ngOnInit=function(){this.discoveries=this.data.discoveries},t.prototype.keypairChange=function(t){this.keypair=t.valid?t.keyPair:null},t.prototype.connect=function(t){t&&(this.keypair=t),this.dialogRef.close(this.keypair)},t.prototype.onSwitchTab=function(){this.searchTabGroup.realignInkBar()},t}(),PI=Xn({encapsulation:0,styles:[[""]],data:{}});function EI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-search-nodes",[],null,[[null,"connect"]],(function(t,e,n){var i=!0;return"connect"===e&&(i=!1!==t.component.connect(n)&&i),i}),TI,_I)),ur(1,114688,null,0,gI,[WM],{discovery:[0,"discovery"]},{connect:"connect"})],(function(t,e){t(e,1,0,e.parent.context.$implicit)}),null)}function II(t){return pl(0,[(t()(),Go(0,16777216,null,null,6,"mat-tab",[],null,null,null,jE,AE)),ur(1,770048,[[7,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,8,{templateLabel:0}),Qo(335544320,9,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Ko(0,[[9,2],[6,2]],0,1,null,EI)),ur(6,16384,null,0,dE,[Pn],null,null),(t()(),Ko(0,null,null,0))],(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,4).transform("common.discovery"))+" "+(e.context.index+1))}),null)}function YI(t){return pl(0,[Qo(671088640,1,{searchTabGroup:0}),(t()(),Go(1,0,null,null,34,"app-dialog",[["id","sockscConnectContainer"]],null,null,null,nO,JT)),ur(2,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,31,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(t,e,n){var i=!0;return"selectedIndexChange"===e&&(i=!1!==t.component.onSwitchTab()&&i),i}),TE,xE)),ur(5,3325952,null,1,yE,[an,De,[2,_E],[2,ub]],null,{selectedIndexChange:"selectedIndexChange"}),Qo(603979776,2,{_tabs:1}),(t()(),Go(7,16777216,null,null,11,"mat-tab",[],null,null,null,jE,AE)),ur(8,770048,[[2,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,3,{templateLabel:0}),Qo(335544320,4,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(12,0,null,0,6,"div",[["class","pt-4"]],null,null,null,null,null)),(t()(),Go(13,0,null,null,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(14,638976,null,0,zO,[],{required:[0,"required"]},{keypairChange:"keypairChange"}),(t()(),Go(15,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.connect()&&i),i}),$x,Vx)),ur(16,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(17,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(19,16777216,null,null,9,"mat-tab",[],null,null,null,jE,AE)),ur(20,770048,[[2,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,5,{templateLabel:0}),Qo(335544320,6,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(24,0,null,0,4,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,TE,xE)),ur(25,3325952,[[1,4],["searchTabGroup",4]],1,yE,[an,De,[2,_E],[2,ub]],null,null),Qo(603979776,7,{_tabs:1}),(t()(),Ko(16777216,null,null,1,null,II)),ur(28,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(29,16777216,null,null,6,"mat-tab",[],null,null,null,jE,AE)),ur(30,770048,[[2,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,10,{templateLabel:0}),Qo(335544320,11,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(34,0,null,0,1,"app-history",[["app","socksc"]],null,[[null,"connect"]],(function(t,e,n){var i=!0;return"connect"===e&&(i=!1!==t.component.connect(n)&&i),i}),JE,HE)),ur(35,114688,null,0,NE,[FE,Ib],{app:[0,"app"]},{connect:"connect"})],(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("apps.socksc.title"))),t(e,8,0,Jn(e,8,0,Zi(e,11).transform("apps.socksc.connect-keypair"))),t(e,14,0,!0),t(e,16,0,"mat-raised-button",!n.keypair,"primary"),t(e,20,0,Jn(e,20,0,Zi(e,23).transform("apps.socksc.connect-search"))),t(e,28,0,n.discoveries),t(e,30,0,Jn(e,30,0,Zi(e,33).transform("apps.socksc.connect-history"))),t(e,35,0,"socksc")}),(function(t,e){t(e,4,0,Zi(e,5).dynamicHeight,"below"===Zi(e,5).headerPosition),t(e,13,0,Zi(e,14).hostClass),t(e,17,0,Jn(e,17,0,Zi(e,18).transform("apps.socksc.connect"))),t(e,24,0,Zi(e,25).dynamicHeight,"below"===Zi(e,25).headerPosition)}))}function AI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-socksc-connect",[],null,null,null,YI,PI)),ur(1,114688,null,0,OI,[Db,Tb],null,null)],(function(t,e){t(e,1,0)}),null)}var RI=Ni("app-socksc-connect",OI,AI,{},{},[]),jI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.appKeyConfigField="socksc_conf_appKey",e.appConfigField="socksc",e.nodeKeyConfigField="socksc_conf_nodeKey",e.autoStartTitle="apps.socksc.auto-startup",e}return Object(i.__extends)(e,t),e}(WO),FI=Xn({encapsulation:0,styles:[IO],data:{}});function NI(t){return pl(0,[(t()(),Go(0,0,null,null,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(1,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,4,{_lines:1}),Qo(603979776,5,{_avatar:0}),Qo(603979776,6,{_icon:0}),(t()(),Go(5,0,null,2,1,"app-keypair",[],[[1,"class",0]],[[null,"keypairChange"]],(function(t,e,n){var i=!0;return"keypairChange"===e&&(i=!1!==t.component.keypairChange(n)&&i),i}),BO,VO)),ur(6,638976,null,0,zO,[],{keypair:[0,"keypair"],required:[1,"required"]},{keypairChange:"keypairChange"})],(function(t,e){var n=e.component;t(e,6,0,n.keyPair,n.isAutoStartChecked)}),(function(t,e){t(e,0,0,Zi(e,1)._avatar||Zi(e,1)._icon,Zi(e,1)._avatar||Zi(e,1)._icon),t(e,5,0,Zi(e,6).hostClass)}))}function HI(t){return pl(0,[(t()(),Go(0,0,null,null,19,"form",[["class","startup-form clearfix"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,2).onReset()&&i),i}),null,null)),ur(1,16384,null,0,qw,[],null,null),ur(2,4210688,null,0,Bw,[[8,null],[8,null]],null,null),dr(2048,null,Qb,null,[Bw]),ur(4,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(5,0,null,null,14,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,dO,cO)),ur(6,704512,null,0,lO,[an],null,null),(t()(),Go(7,0,null,0,10,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,pO,hO)),ur(8,1228800,null,3,aO,[an,De,[2,oO],[2,lO]],null,null),Qo(603979776,1,{_lines:1}),Qo(603979776,2,{_avatar:0}),Qo(603979776,3,{_icon:0}),(t()(),Go(12,0,null,2,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(15,0,null,2,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["id","toggleAutomaticStartBtn"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(t,e,n){var i=!0,r=t.component;return"focus"===e&&(i=!1!==Zi(t,17)._inputElement.nativeElement.focus()&&i),"change"===e&&(i=!1!==r.toggle(n)&&i),i}),wO,bO)),dr(5120,null,Gb,(function(t){return[t]}),[_O]),ur(17,1228800,null,0,_O,[an,lg,De,[8,null],co,fO,[2,ub],[2,W_]],{id:[0,"id"],checked:[1,"checked"]},{change:"change"}),(t()(),Ko(16777216,null,0,1,null,NI)),ur(19,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,17,0,"toggleAutomaticStartBtn",n.isAutoStartChecked),t(e,19,0,n.hasKeyPair)}),(function(t,e){var n=e.component;t(e,0,0,Zi(e,4).ngClassUntouched,Zi(e,4).ngClassTouched,Zi(e,4).ngClassPristine,Zi(e,4).ngClassDirty,Zi(e,4).ngClassValid,Zi(e,4).ngClassInvalid,Zi(e,4).ngClassPending),t(e,7,0,Zi(e,8)._avatar||Zi(e,8)._icon,Zi(e,8)._avatar||Zi(e,8)._icon),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.autoStartTitle))),t(e,15,0,Zi(e,17).id,Zi(e,17).disabled?null:-1,null,null,Zi(e,17).checked,Zi(e,17).disabled,"before"==Zi(e,17).labelPosition,"NoopAnimations"===Zi(e,17)._animationMode)}))}function zI(t){return pl(0,[(t()(),Go(0,0,null,null,12,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(4,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,HI)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(7,0,null,0,5,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),ur(8,16384,null,0,Fb,[],null,null),(t()(),Go(9,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.save()&&i),i}),$x,Vx)),ur(10,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(11,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.config.title")),!1),t(e,6,0,n.autoStartConfig),t(e,10,0,"mat-raised-button",!n.formValid,"primary")}),(function(t,e){t(e,11,0,Jn(e,11,0,Zi(e,12).transform("common.save")))}))}function VI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-socksc-startup-config",[],null,null,null,zI,FI)),ur(1,114688,null,0,jI,[Db,WM],null,null)],(function(t,e){t(e,1,0)}),null)}var BI=Ni("app-socksc-startup-config",jI,VI,{automaticStartTitle:"automaticStartTitle"},{},[]),WI=Xn({encapsulation:0,styles:[[""]],data:{}});function UI(t){return pl(0,[Qo(671088640,1,{firstInput:0}),(t()(),Go(1,0,null,null,33,"app-dialog",[],null,null,null,nO,JT)),ur(2,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,30,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,6).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,6).onReset()&&i),i}),null,null)),ur(5,16384,null,0,qw,[],null,null),ur(6,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(8,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(9,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(10,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,2,{_controlNonStatic:0}),Qo(335544320,3,{_controlStatic:0}),Qo(603979776,4,{_labelChildNonStatic:0}),Qo(335544320,5,{_labelChildStatic:0}),Qo(603979776,6,{_placeholderChild:0}),Qo(603979776,7,{_errorChildren:1}),Qo(603979776,8,{_hintChildren:1}),Qo(603979776,9,{_prefixChildren:1}),Qo(603979776,10,{_suffixChildren:1}),(t()(),Go(20,0,[[1,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","label"],["matInput",""],["maxlength","66"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,21)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,21).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,21)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,21)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,28)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,28)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,28)._onInput()&&i),i}),null,null)),ur(21,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(22,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(25,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(27,16384,null,0,iw,[[4,ew]],null,null),ur(28,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[2,4],[3,4]],OD,null,[yT]),(t()(),Go(31,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.save()&&i),i}),$x,Vx)),ur(32,180224,null,0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(33,0,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("edit-label.title"))),t(e,6,0,n.form),t(e,22,0,"66"),t(e,25,0,"label"),t(e,28,0,Jn(e,28,0,Zi(e,29).transform("edit-label.label"))),t(e,32,0,"mat-raised-button","primary")}),(function(t,e){t(e,4,0,Zi(e,8).ngClassUntouched,Zi(e,8).ngClassTouched,Zi(e,8).ngClassPristine,Zi(e,8).ngClassDirty,Zi(e,8).ngClassValid,Zi(e,8).ngClassInvalid,Zi(e,8).ngClassPending),t(e,9,1,["standard"==Zi(e,10).appearance,"fill"==Zi(e,10).appearance,"outline"==Zi(e,10).appearance,"legacy"==Zi(e,10).appearance,Zi(e,10)._control.errorState,Zi(e,10)._canLabelFloat,Zi(e,10)._shouldLabelFloat(),Zi(e,10)._hasFloatingLabel(),Zi(e,10)._hideControlPlaceholder(),Zi(e,10)._control.disabled,Zi(e,10)._control.autofilled,Zi(e,10)._control.focused,"accent"==Zi(e,10).color,"warn"==Zi(e,10).color,Zi(e,10)._shouldForward("untouched"),Zi(e,10)._shouldForward("touched"),Zi(e,10)._shouldForward("pristine"),Zi(e,10)._shouldForward("dirty"),Zi(e,10)._shouldForward("valid"),Zi(e,10)._shouldForward("invalid"),Zi(e,10)._shouldForward("pending"),!Zi(e,10)._animationsEnabled]),t(e,20,1,[Zi(e,22).maxlength?Zi(e,22).maxlength:null,Zi(e,27).ngClassUntouched,Zi(e,27).ngClassTouched,Zi(e,27).ngClassPristine,Zi(e,27).ngClassDirty,Zi(e,27).ngClassValid,Zi(e,27).ngClassInvalid,Zi(e,27).ngClassPending,Zi(e,28)._isServer,Zi(e,28).id,Zi(e,28).placeholder,Zi(e,28).disabled,Zi(e,28).required,Zi(e,28).readonly&&!Zi(e,28)._isNativeSelect||null,Zi(e,28)._ariaDescribedby||null,Zi(e,28).errorState,Zi(e,28).required.toString()]),t(e,33,0,Jn(e,33,0,Zi(e,34).transform("common.save")))}))}function qI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-edit-label",[],null,null,null,UI,WI)),ur(1,4308992,null,0,UM,[Db,Tb,nk,Fp,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var KI=Ni("app-edit-label",UM,qI,{},{},[]),GI=Xn({encapsulation:0,styles:[[".editable-key-container[_nghost-%COMP%]{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .key-input-container, [_nghost-%COMP%] .mat-form-field{width:100%}[_nghost-%COMP%] table{table-layout:fixed;width:100%}"]],data:{}});function JI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-key-input",[],[[1,"class",0]],[[null,"keyChange"]],(function(t,e,n){var i=!0;return"keyChange"===e&&(i=!1!==t.component.onAppKeyChanged(n)&&i),i}),FO,AO)),ur(1,4833280,null,0,YO,[],{value:[0,"value"],required:[1,"required"],autofocus:[2,"autofocus"]},{keyChange:"keyChange"})],(function(t,e){var n=e.component;t(e,1,0,n.value,n.required,n.autofocus)}),(function(t,e){t(e,0,0,Zi(e,1).hostClass)}))}function ZI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(1,null,[" "," "]))],null,(function(t,e){t(e,1,0,e.component.value)}))}function $I(t){return pl(0,[(t()(),Go(0,0,null,null,11,"div",[["class","d-flex align-items-center flex-1"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,JI)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,ZI)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(5,16777216,null,null,6,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(t,e,n){var i=!0,r=t.component;return"longpress"===e&&(i=!1!==Zi(t,7).show()&&i),"keydown"===e&&(i=!1!==Zi(t,7)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==Zi(t,7)._handleTouchend()&&i),"click"===e&&(i=!1!==r.toggleEditMode()&&i),i}),pb,hb)),ur(6,180224,null,0,H_,[an,lg,[2,ub]],{disabled:[0,"disabled"],color:[1,"color"]},null),ur(7,212992,null,0,wb,[Pm,an,rm,In,co,Zf,qm,lg,yb,[2,W_],[2,bb],[2,Tc]],{message:[0,"message"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(9,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(10,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(11,0,[" "," "]))],(function(t,e){var n=e.component;t(e,2,0,n.editMode),t(e,4,0,!n.editMode),t(e,6,0,n.editMode&&!n.valid,n.editMode?"primary":""),t(e,7,0,Jn(e,7,0,Zi(e,8).transform(n.editMode?"common.save":"common.edit"))),t(e,10,0)}),(function(t,e){var n=e.component;t(e,5,0,Zi(e,6).disabled||null,"NoopAnimations"===Zi(e,6)._animationMode),t(e,9,0,Zi(e,10).inline,"primary"!==Zi(e,10).color&&"accent"!==Zi(e,10).color&&"warn"!==Zi(e,10).color),t(e,11,0,n.editMode?"done":"edit")}))}function XI(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-editable-key",[],[[1,"class",0]],null,null,$I,GI)),ur(1,49152,null,0,iE,[],null,null)],null,(function(t,e){t(e,0,0,Zi(e,1).hostClass)}))}var QI=Ni("app-editable-key",iE,XI,{value:"value",autofocus:"autofocus",required:"required"},{valueEdited:"valueEdited"},[]),tY=function(){function t(t,e){this.nodeService=t,this.dialogRef=e,this.updateError=!1,this.isLoading=!1,this.isUpdateAvailable=!1}return t.openDialog=function(e){var n=new Mb;return n.autoFocus=!1,n.width=Dg.mediumModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){this.fetchUpdate()},t.prototype.fetchUpdate=function(){this.isLoading=!0},t.prototype.onFetchUpdateSuccess=function(t){this.isLoading=!1,this.isUpdateAvailable=t},t.prototype.onFetchUpdateError=function(t){this.isLoading=!1,console.warn("check update problem",t)},t.prototype.onUpdateClicked=function(){this.isLoading=!0,this.updateError=!1},t.prototype.onUpdateSuccess=function(t){this.isLoading=!1,t?this.dialogRef.close(!0):this.onUpdateError()},t.prototype.onUpdateError=function(){this.updateError=!0,this.isLoading=!1},t}(),eY=Xn({encapsulation:0,styles:[[""]],data:{}});function nY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["mode","indeterminate"],["role","progressbar"],["style","position: relative; top: 0;"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,mI,fI)),ur(1,4374528,null,0,dI,[an,co,[2,ub],[2,uI]],{mode:[0,"mode"]},null)],(function(t,e){t(e,1,0,"indeterminate")}),(function(t,e){t(e,0,0,"indeterminate"===Zi(e,1).mode||"query"===Zi(e,1).mode?null:Zi(e,1).value,Zi(e,1).mode,Zi(e,1)._isNoopAnimation)}))}function iY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"span",[["class","font-base text-danger"],["translate",""]],null,null,null,null,null)),ur(1,8536064,null,0,Ug,[Wg,an,De],{translate:[0,"translate"]},null),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("actions.update.no-update")))}))}function rY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"span",[["class"," font-base sky-color-blue-dark"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("actions.update.update-available")))}))}function oY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"span",[["class"," font-base text-danger"],["translate",""]],null,null,null,null,null)),ur(1,8536064,null,0,Ug,[Wg,an,De],{translate:[0,"translate"]},null),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,"")}),(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("actions.update.update-error")))}))}function lY(t){return pl(0,[(t()(),Go(0,0,null,null,18,"app-dialog",[["class","position-relative"]],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,nY)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(5,0,null,0,7,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),ur(6,16384,null,0,jb,[],null,null),(t()(),Ko(16777216,null,null,1,null,iY)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,rY)),ur(10,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,oY)),ur(12,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(13,0,null,0,5,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),ur(14,16384,null,0,Fb,[],null,null),(t()(),Go(15,0,null,null,3,"app-button",[["cdkFocusInitial",""],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.onUpdateClicked()&&i),i}),$x,Vx)),ur(16,180224,null,0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(17,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("actions.update.title")),!1),t(e,4,0,n.isLoading),t(e,8,0,!n.isLoading&&!n.isUpdateAvailable&&!n.updateError),t(e,10,0,!n.isLoading&&n.isUpdateAvailable&&!n.updateError),t(e,12,0,!n.isLoading&&n.updateError),t(e,16,0,"mat-raised-button",!n.isUpdateAvailable||n.isLoading,"primary")}),(function(t,e){t(e,17,0,Jn(e,17,0,Zi(e,18).transform("actions.update.install")))}))}function aY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-update-node",[],null,null,null,lY,eY)),ur(1,114688,null,0,tY,[WM,Db],null,null)],(function(t,e){t(e,1,0)}),null)}var sY=Ni("app-update-node",tY,aY,{},{},[]),uY=Xn({encapsulation:0,styles:[[""]],data:{}});function cY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-loading-indicator",[],null,null,null,HM,NM)),ur(1,49152,null,0,FM,[],{showWhite:[0,"showWhite"]},null)],(function(t,e){t(e,1,0,!1)}),null)}function dY(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("transports.dialog.errors.remote-key-length-error")))}))}function hY(t){return pl(0,[(t()(),cl(0,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,0,0,Jn(e,0,0,Zi(e,1).transform("transports.dialog.errors.remote-key-chars-error")))}))}function pY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),i}),SD,xD)),ur(1,8568832,[[21,4]],0,Y_,[an,De,[2,I_],[2,O_]],{value:[0,"value"]},null),(t()(),cl(2,0,["",""]))],(function(t,e){t(e,1,0,e.context.$implicit)}),(function(t,e){t(e,0,0,Zi(e,1)._getTabIndex(),Zi(e,1).selected,Zi(e,1).multiple,Zi(e,1).active,Zi(e,1).id,Zi(e,1)._getAriaSelected(),Zi(e,1).disabled.toString(),Zi(e,1).disabled),t(e,2,0,e.context.$implicit)}))}function fY(t){return pl(0,[(t()(),Go(0,0,null,null,63,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,2).onReset()&&i),i}),null,null)),ur(1,16384,null,0,qw,[],null,null),ur(2,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(4,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(5,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(6,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,3,{_controlNonStatic:0}),Qo(335544320,4,{_controlStatic:0}),Qo(603979776,5,{_labelChildNonStatic:0}),Qo(335544320,6,{_labelChildStatic:0}),Qo(603979776,7,{_placeholderChild:0}),Qo(603979776,8,{_errorChildren:1}),Qo(603979776,9,{_hintChildren:1}),Qo(603979776,10,{_prefixChildren:1}),Qo(603979776,11,{_suffixChildren:1}),(t()(),Go(16,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","remoteKey"],["matInput",""],["maxlength","66"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,17)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,17).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,17)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,17)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,24)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,24)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,24)._onInput()&&i),i}),null,null)),ur(17,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(18,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(21,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(23,16384,null,0,iw,[[4,ew]],null,null),ur(24,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{placeholder:[0,"placeholder"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[3,4],[4,4]],OD,null,[yT]),(t()(),Go(27,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(28,16384,[[8,4]],0,TD,[],null,null),(t()(),Ko(16777216,null,null,1,null,dY)),ur(30,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),Ko(0,[["hexError",2]],1,0,null,hY)),(t()(),Go(32,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(33,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,12,{_controlNonStatic:0}),Qo(335544320,13,{_controlStatic:0}),Qo(603979776,14,{_labelChildNonStatic:0}),Qo(335544320,15,{_labelChildStatic:0}),Qo(603979776,16,{_placeholderChild:0}),Qo(603979776,17,{_errorChildren:1}),Qo(603979776,18,{_hintChildren:1}),Qo(603979776,19,{_prefixChildren:1}),Qo(603979776,20,{_suffixChildren:1}),(t()(),Go(43,0,null,1,12,"mat-select",[["class","mat-select"],["formControlName","type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==Zi(t,48)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==Zi(t,48)._onFocus()&&i),"blur"===e&&(i=!1!==Zi(t,48)._onBlur()&&i),i}),sT,nT)),dr(6144,null,I_,null,[tT]),ur(45,671744,null,0,Qw,[[3,Qb],[8,null],[8,null],[8,null],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(47,16384,null,0,iw,[[4,ew]],null,null),ur(48,2080768,null,3,tT,[lm,De,co,d_,an,[2,W_],[2,Bw],[2,Jw],[2,AD],[6,ew],[8,null],$D,ig],{placeholder:[0,"placeholder"]},null),Qo(603979776,21,{options:1}),Qo(603979776,22,{optionGroups:1}),Qo(603979776,23,{customTrigger:0}),cr(131072,qg,[Wg,De]),dr(2048,[[12,4],[13,4]],OD,null,[tT]),(t()(),Ko(16777216,null,1,1,null,pY)),ur(55,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),(t()(),Go(56,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(57,16384,[[17,4]],0,TD,[],null,null),(t()(),cl(58,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(60,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.create()&&i),i}),$x,Vx)),ur(61,180224,[[1,4],["button",4]],0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(62,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,2,0,n.form),t(e,18,0,"66"),t(e,21,0,"remoteKey"),t(e,24,0,Jn(e,24,0,Zi(e,25).transform("transports.dialog.remote-key"))),t(e,30,0,!n.form.get("remoteKey").hasError("pattern"),Zi(e,31)),t(e,45,0,"type"),t(e,48,0,Jn(e,48,0,Zi(e,52).transform("transports.dialog.transport-type"))),t(e,55,0,n.types),t(e,61,0,"mat-raised-button",!n.form.valid,"primary")}),(function(t,e){t(e,0,0,Zi(e,4).ngClassUntouched,Zi(e,4).ngClassTouched,Zi(e,4).ngClassPristine,Zi(e,4).ngClassDirty,Zi(e,4).ngClassValid,Zi(e,4).ngClassInvalid,Zi(e,4).ngClassPending),t(e,5,1,["standard"==Zi(e,6).appearance,"fill"==Zi(e,6).appearance,"outline"==Zi(e,6).appearance,"legacy"==Zi(e,6).appearance,Zi(e,6)._control.errorState,Zi(e,6)._canLabelFloat,Zi(e,6)._shouldLabelFloat(),Zi(e,6)._hasFloatingLabel(),Zi(e,6)._hideControlPlaceholder(),Zi(e,6)._control.disabled,Zi(e,6)._control.autofilled,Zi(e,6)._control.focused,"accent"==Zi(e,6).color,"warn"==Zi(e,6).color,Zi(e,6)._shouldForward("untouched"),Zi(e,6)._shouldForward("touched"),Zi(e,6)._shouldForward("pristine"),Zi(e,6)._shouldForward("dirty"),Zi(e,6)._shouldForward("valid"),Zi(e,6)._shouldForward("invalid"),Zi(e,6)._shouldForward("pending"),!Zi(e,6)._animationsEnabled]),t(e,16,1,[Zi(e,18).maxlength?Zi(e,18).maxlength:null,Zi(e,23).ngClassUntouched,Zi(e,23).ngClassTouched,Zi(e,23).ngClassPristine,Zi(e,23).ngClassDirty,Zi(e,23).ngClassValid,Zi(e,23).ngClassInvalid,Zi(e,23).ngClassPending,Zi(e,24)._isServer,Zi(e,24).id,Zi(e,24).placeholder,Zi(e,24).disabled,Zi(e,24).required,Zi(e,24).readonly&&!Zi(e,24)._isNativeSelect||null,Zi(e,24)._ariaDescribedby||null,Zi(e,24).errorState,Zi(e,24).required.toString()]),t(e,27,0,Zi(e,28).id),t(e,32,1,["standard"==Zi(e,33).appearance,"fill"==Zi(e,33).appearance,"outline"==Zi(e,33).appearance,"legacy"==Zi(e,33).appearance,Zi(e,33)._control.errorState,Zi(e,33)._canLabelFloat,Zi(e,33)._shouldLabelFloat(),Zi(e,33)._hasFloatingLabel(),Zi(e,33)._hideControlPlaceholder(),Zi(e,33)._control.disabled,Zi(e,33)._control.autofilled,Zi(e,33)._control.focused,"accent"==Zi(e,33).color,"warn"==Zi(e,33).color,Zi(e,33)._shouldForward("untouched"),Zi(e,33)._shouldForward("touched"),Zi(e,33)._shouldForward("pristine"),Zi(e,33)._shouldForward("dirty"),Zi(e,33)._shouldForward("valid"),Zi(e,33)._shouldForward("invalid"),Zi(e,33)._shouldForward("pending"),!Zi(e,33)._animationsEnabled]),t(e,43,1,[Zi(e,47).ngClassUntouched,Zi(e,47).ngClassTouched,Zi(e,47).ngClassPristine,Zi(e,47).ngClassDirty,Zi(e,47).ngClassValid,Zi(e,47).ngClassInvalid,Zi(e,47).ngClassPending,Zi(e,48).id,Zi(e,48).tabIndex,Zi(e,48)._getAriaLabel(),Zi(e,48)._getAriaLabelledby(),Zi(e,48).required.toString(),Zi(e,48).disabled.toString(),Zi(e,48).errorState,Zi(e,48).panelOpen?Zi(e,48)._optionIds:null,Zi(e,48).multiple,Zi(e,48)._ariaDescribedby||null,Zi(e,48)._getAriaActiveDescendant(),Zi(e,48).disabled,Zi(e,48).errorState,Zi(e,48).required,Zi(e,48).empty]),t(e,56,0,Zi(e,57).id),t(e,58,0,Jn(e,58,0,Zi(e,59).transform("transports.dialog.errors.transport-type-error"))),t(e,62,0,Jn(e,62,0,Zi(e,63).transform("transports.create")))}))}function mY(t){return pl(0,[Qo(671088640,1,{button:0}),Qo(671088640,2,{firstInput:0}),(t()(),Go(2,0,null,null,6,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,cY)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,fY)),ur(8,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("transports.create"))),t(e,6,0,!n.types),t(e,8,0,n.types)}),null)}function gY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-create-transport",[],null,null,null,mY,uY)),ur(1,245760,null,0,WC,[VM,nk,Db,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var _Y=Ni("app-create-transport",WC,gY,{},{},[]),yY=Xn({encapsulation:0,styles:[[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:#000;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]],data:{}});function vY(t){return pl(0,[Qo(671088640,1,{terminalElement:0}),Qo(671088640,2,{dialogContentElement:0}),(t()(),Go(2,0,null,null,6,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,[[2,0],["dialogContent",1]],0,3,"mat-dialog-content",[["class","mat-dialog-content"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.focusTerminal()&&i),i}),null,null)),ur(6,16384,null,0,jb,[],null,null),(t()(),Go(7,0,null,null,1,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),Go(8,0,[[1,0],["terminal",1]],null,0,"div",[],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("actions.terminal.title"))+" - "+n.data.label+" ("+n.data.pk+")",!1)}),null)}function bY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-basic-terminal",[],null,[["window","keyup"]],(function(t,e,n){var i=!0;return"window:keyup"===e&&(i=!1!==Zi(t,1).keyEvent(n)&&i),i}),vY,yY)),ur(1,4374528,null,0,GS,[Tb,hn,nx,Wg],null,null)],null,null)}var wY=Ni("app-basic-terminal",GS,bY,{},{},[]),kY=Xn({encapsulation:0,styles:[[""]],data:{}});function xY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-loading-indicator",[],null,null,null,HM,NM)),ur(1,49152,null,0,FM,[],{showWhite:[0,"showWhite"]},null)],(function(t,e){t(e,1,0,!1)}),null)}function MY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.details.specific-fields-titles.app")))}))}function SY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.details.specific-fields-titles.forward")))}))}function CY(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.details.specific-fields-titles.intermediary-forward")))}))}function LY(t){return pl(0,[(t()(),Go(0,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(3,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(5,null,[" "," "])),(t()(),Go(6,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(7,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(8,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(10,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("routes.details.specific-fields.route-id"))),t(e,5,0,n.routeRule.rule_summary.forward_fields?n.routeRule.rule_summary.forward_fields.next_rid:n.routeRule.rule_summary.intermediary_forward_fields.next_rid),t(e,8,0,Jn(e,8,0,Zi(e,9).transform("routes.details.specific-fields.transport-id"))),t(e,10,0,n.routeRule.rule_summary.forward_fields?n.routeRule.rule_summary.forward_fields.next_tid:n.routeRule.rule_summary.intermediary_forward_fields.next_tid)}))}function DY(t){return pl(0,[(t()(),Go(0,0,null,null,20,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(3,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(5,null,[" "," "])),(t()(),Go(6,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(7,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(8,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(10,null,[" "," "])),(t()(),Go(11,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(12,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(13,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(15,null,[" "," "])),(t()(),Go(16,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(17,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(18,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(20,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("routes.details.specific-fields.destination-pk"))),t(e,5,0,n.routeRule.rule_summary.app_fields?n.routeRule.rule_summary.app_fields.route_descriptor.dst_pk:n.routeRule.rule_summary.forward_fields.route_descriptor.dst_pk),t(e,8,0,Jn(e,8,0,Zi(e,9).transform("routes.details.specific-fields.source-pk"))),t(e,10,0,n.routeRule.rule_summary.app_fields?n.routeRule.rule_summary.app_fields.route_descriptor.src_pk:n.routeRule.rule_summary.forward_fields.route_descriptor.src_pk),t(e,13,0,Jn(e,13,0,Zi(e,14).transform("routes.details.specific-fields.destination-port"))),t(e,15,0,n.routeRule.rule_summary.app_fields?n.routeRule.rule_summary.app_fields.route_descriptor.dst_port:n.routeRule.rule_summary.forward_fields.route_descriptor.dst_port),t(e,18,0,Jn(e,18,0,Zi(e,19).transform("routes.details.specific-fields.source-port"))),t(e,20,0,n.routeRule.rule_summary.app_fields?n.routeRule.rule_summary.app_fields.route_descriptor.src_port:n.routeRule.rule_summary.forward_fields.route_descriptor.src_port)}))}function TY(t){return pl(0,[(t()(),Go(0,0,null,null,28,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(8,null,[" "," "])),(t()(),Go(9,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(11,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(13,null,[" "," "])),(t()(),Go(14,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(15,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(16,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(18,null,[" "," "])),(t()(),Ko(16777216,null,null,1,null,MY)),ur(20,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,SY)),ur(22,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,CY)),ur(24,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,LY)),ur(26,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,null,1,null,DY)),ur(28,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,20,0,n.routeRule.rule_summary.app_fields),t(e,22,0,n.routeRule.rule_summary.forward_fields),t(e,24,0,n.routeRule.rule_summary.intermediary_forward_fields),t(e,26,0,n.routeRule.rule_summary.forward_fields||n.routeRule.rule_summary.intermediary_forward_fields),t(e,28,0,n.routeRule.rule_summary.app_fields&&n.routeRule.rule_summary.app_fields.route_descriptor||n.routeRule.rule_summary.forward_fields&&n.routeRule.rule_summary.forward_fields.route_descriptor)}),(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("routes.details.summary.title"))),t(e,6,0,Jn(e,6,0,Zi(e,7).transform("routes.details.summary.keep-alive"))),t(e,8,0,n.routeRule.rule_summary.keep_alive),t(e,11,0,Jn(e,11,0,Zi(e,12).transform("routes.details.summary.type"))),t(e,13,0,n.getRuleTypeName(n.routeRule.rule_summary.rule_type)),t(e,16,0,Jn(e,16,0,Zi(e,17).transform("routes.details.summary.key-route-id"))),t(e,18,0,n.routeRule.rule_summary.key_route_id)}))}function OY(t){return pl(0,[(t()(),Go(0,0,null,null,15,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"div",[["class","title mt-0"]],null,null,null,null,null)),(t()(),cl(2,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(6,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(8,null,[" "," "])),(t()(),Go(9,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(11,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(13,null,[" "," "])),(t()(),Ko(16777216,null,null,1,null,TY)),ur(15,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,15,0,e.component.routeRule.rule_summary)}),(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform("routes.details.basic.title"))),t(e,6,0,Jn(e,6,0,Zi(e,7).transform("routes.details.basic.key"))),t(e,8,0,n.routeRule.key),t(e,11,0,Jn(e,11,0,Zi(e,12).transform("routes.details.basic.rule"))),t(e,13,0,n.routeRule.rule)}))}function PY(t){return pl(0,[(t()(),Go(0,0,null,null,6,"app-dialog",[["class","info-dialog"]],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,xY)),ur(4,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,OY)),ur(6,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("routes.details.title"))),t(e,4,0,!n.routeRule),t(e,6,0,n.routeRule)}),null)}function EY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-route-details",[],null,null,null,PY,kY)),ur(1,245760,null,0,cL,[Tb,BM,Db,Lg],null,null)],(function(t,e){t(e,1,0)}),null)}var IY=Ni("app-route-details",cL,EY,{},{},[]),YY=Xn({encapsulation:0,styles:[[".text-container[_ngcontent-%COMP%]{margin-top:5px;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]],data:{}});function AY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"app-button",[["color","accent"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.closeModal()&&i),i}),$x,Vx)),ur(1,180224,[[1,4],["cancelButton",4]],0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(2,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,"mat-raised-button","accent")}),(function(t,e){var n=e.component;t(e,2,0,Jn(e,2,0,Zi(e,3).transform(n.data.cancelButtonText)))}))}function RY(t){return pl(0,[Qo(671088640,1,{cancelButton:0}),Qo(671088640,2,{confirmButton:0}),(t()(),Go(2,0,null,null,12,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"],disableDismiss:[1,"disableDismiss"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,0,2,"div",[["class","text-container"]],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(8,0,null,0,6,"div",[["class","buttons"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,AY)),ur(10,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(11,0,null,null,3,"app-button",[["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0,r=t.component;return"action"===e&&(i=!1!==(r.state===r.confirmationStates.Asking?r.sendOperationAcceptedEvent():r.closeModal())&&i),i}),$x,Vx)),ur(12,180224,[[2,4],["confirmButton",4]],0,zx,[],{type:[0,"type"],color:[1,"color"]},{action:"action"}),(t()(),cl(13,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform(n.state!==n.confirmationStates.Done?n.data.headerText:n.doneTitle)),n.disableDismiss),t(e,10,0,n.data.cancelButtonText&&n.state!==n.confirmationStates.Done),t(e,12,0,"mat-raised-button","primary")}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform(n.state!==n.confirmationStates.Done?n.data.text:n.doneText))),t(e,13,0,Jn(e,13,0,Zi(e,14).transform(n.state!==n.confirmationStates.Done?n.data.confirmButtonText:"confirmation.close")))}))}function jY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-confirmation",[],null,null,null,RY,YY)),ur(1,4374528,null,0,GM,[Db,Tb],null,null)],null,null)}var FY=Ni("app-confirmation",GM,jY,{},{operationAccepted:"operationAccepted"},[]),NY=Xn({encapsulation:0,styles:[[""]],data:{}});function HY(t){return pl(0,[cr(0,SS,[]),(t()(),Go(1,0,null,null,41,"app-dialog",[["class","info-dialog"]],null,null,null,nO,JT)),ur(2,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(4,0,null,0,38,"div",[],null,null,null,null,null)),(t()(),Go(5,0,null,null,2,"div",[["class","title mt-0"]],null,null,null,null,null)),(t()(),cl(6,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(8,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(10,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(12,null,[" "," "])),(t()(),Go(13,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(14,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(15,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(17,null,[" "," "])),(t()(),Go(18,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(19,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(20,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(22,null,[" "," "])),(t()(),Go(23,0,null,null,4,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(24,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(25,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(27,null,[" "," "])),(t()(),Go(28,0,null,null,2,"div",[["class","title"]],null,null,null,null,null)),(t()(),cl(29,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(31,0,null,null,5,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(32,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(33,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(35,null,[" "," "])),ll(36,1),(t()(),Go(37,0,null,null,5,"div",[["class","item"]],null,null,null,null,null)),(t()(),Go(38,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(39,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(41,null,[" "," "])),ll(42,1)],(function(t,e){t(e,2,0,Jn(e,2,0,Zi(e,3).transform("transports.details.title")))}),(function(t,e){var n=e.component;t(e,6,0,Jn(e,6,0,Zi(e,7).transform("transports.details.basic.title"))),t(e,10,0,Jn(e,10,0,Zi(e,11).transform("transports.details.basic.id"))),t(e,12,0,n.data.id),t(e,15,0,Jn(e,15,0,Zi(e,16).transform("transports.details.basic.local-pk"))),t(e,17,0,n.data.local_pk),t(e,20,0,Jn(e,20,0,Zi(e,21).transform("transports.details.basic.remote-pk"))),t(e,22,0,n.data.remote_pk),t(e,25,0,Jn(e,25,0,Zi(e,26).transform("transports.details.basic.type"))),t(e,27,0,n.data.type),t(e,29,0,Jn(e,29,0,Zi(e,30).transform("transports.details.data.title"))),t(e,33,0,Jn(e,33,0,Zi(e,34).transform("transports.details.data.uploaded")));var i=Jn(e,35,0,t(e,36,0,Zi(e,0),n.data.log.sent));t(e,35,0,i),t(e,39,0,Jn(e,39,0,Zi(e,40).transform("transports.details.data.downloaded")));var r=Jn(e,41,0,t(e,42,0,Zi(e,0),n.data.log.recv));t(e,41,0,r)}))}function zY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-transport-details",[],null,null,null,HY,NY)),ur(1,49152,null,0,UC,[Tb],null,null)],null,null)}var VY=Ni("app-transport-details",UC,zY,{},{},[]),BY=Xn({encapsulation:0,styles:[["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]],data:{}});function WY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Zi(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==Zi(t,1)._handleKeydown(n)&&i),i}),SD,xD)),ur(1,8568832,[[10,4]],0,Y_,[an,De,[2,I_],[2,O_]],{value:[0,"value"]},null),(t()(),cl(2,0,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,1,0,e.context.$implicit.days)}),(function(t,e){t(e,0,0,Zi(e,1)._getTabIndex(),Zi(e,1).selected,Zi(e,1).multiple,Zi(e,1).active,Zi(e,1).id,Zi(e,1)._getAriaSelected(),Zi(e,1).disabled.toString(),Zi(e,1).disabled),t(e,2,0,Jn(e,2,0,Zi(e,3).transform(e.context.$implicit.text)))}))}function UY(t){return pl(0,[(t()(),Go(0,0,null,null,31,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,5).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,5).onReset()&&i),i}),null,null)),ur(4,16384,null,0,qw,[],null,null),ur(5,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(7,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(8,0,null,null,23,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(9,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,1,{_controlNonStatic:0}),Qo(335544320,2,{_controlStatic:0}),Qo(603979776,3,{_labelChildNonStatic:0}),Qo(335544320,4,{_labelChildStatic:0}),Qo(603979776,5,{_placeholderChild:0}),Qo(603979776,6,{_errorChildren:1}),Qo(603979776,7,{_hintChildren:1}),Qo(603979776,8,{_prefixChildren:1}),Qo(603979776,9,{_suffixChildren:1}),(t()(),Go(19,0,null,1,12,"mat-select",[["class","mat-select"],["formControlName","filter"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==Zi(t,24)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==Zi(t,24)._onFocus()&&i),"blur"===e&&(i=!1!==Zi(t,24)._onBlur()&&i),i}),sT,nT)),dr(6144,null,I_,null,[tT]),ur(21,671744,null,0,Qw,[[3,Qb],[8,null],[8,null],[8,null],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(23,16384,null,0,iw,[[4,ew]],null,null),ur(24,2080768,null,3,tT,[lm,De,co,d_,an,[2,W_],[2,Bw],[2,Jw],[2,AD],[6,ew],[8,null],$D,ig],{placeholder:[0,"placeholder"]},null),Qo(603979776,10,{options:1}),Qo(603979776,11,{optionGroups:1}),Qo(603979776,12,{customTrigger:0}),cr(131072,qg,[Wg,De]),dr(2048,[[1,4],[2,4]],OD,null,[tT]),(t()(),Ko(16777216,null,1,1,null,WY)),ur(31,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.log.filter.title"))),t(e,5,0,n.form),t(e,21,0,"filter"),t(e,24,0,Jn(e,24,0,Zi(e,28).transform("apps.log.filter.filter"))),t(e,31,0,n.filters)}),(function(t,e){t(e,3,0,Zi(e,7).ngClassUntouched,Zi(e,7).ngClassTouched,Zi(e,7).ngClassPristine,Zi(e,7).ngClassDirty,Zi(e,7).ngClassValid,Zi(e,7).ngClassInvalid,Zi(e,7).ngClassPending),t(e,8,1,["standard"==Zi(e,9).appearance,"fill"==Zi(e,9).appearance,"outline"==Zi(e,9).appearance,"legacy"==Zi(e,9).appearance,Zi(e,9)._control.errorState,Zi(e,9)._canLabelFloat,Zi(e,9)._shouldLabelFloat(),Zi(e,9)._hasFloatingLabel(),Zi(e,9)._hideControlPlaceholder(),Zi(e,9)._control.disabled,Zi(e,9)._control.autofilled,Zi(e,9)._control.focused,"accent"==Zi(e,9).color,"warn"==Zi(e,9).color,Zi(e,9)._shouldForward("untouched"),Zi(e,9)._shouldForward("touched"),Zi(e,9)._shouldForward("pristine"),Zi(e,9)._shouldForward("dirty"),Zi(e,9)._shouldForward("valid"),Zi(e,9)._shouldForward("invalid"),Zi(e,9)._shouldForward("pending"),!Zi(e,9)._animationsEnabled]),t(e,19,1,[Zi(e,23).ngClassUntouched,Zi(e,23).ngClassTouched,Zi(e,23).ngClassPristine,Zi(e,23).ngClassDirty,Zi(e,23).ngClassValid,Zi(e,23).ngClassInvalid,Zi(e,23).ngClassPending,Zi(e,24).id,Zi(e,24).tabIndex,Zi(e,24)._getAriaLabel(),Zi(e,24)._getAriaLabelledby(),Zi(e,24).required.toString(),Zi(e,24).disabled.toString(),Zi(e,24).errorState,Zi(e,24).panelOpen?Zi(e,24)._optionIds:null,Zi(e,24).multiple,Zi(e,24)._ariaDescribedby||null,Zi(e,24)._getAriaActiveDescendant(),Zi(e,24).disabled,Zi(e,24).errorState,Zi(e,24).required,Zi(e,24).empty])}))}function qY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-log-filter",[],null,null,null,UY,BY)),ur(1,245760,null,0,EL,[Tb,Db,nk],null,null)],(function(t,e){t(e,1,0)}),null)}var KY=Ni("app-log-filter",EL,qY,{},{},[]),GY=Xn({encapsulation:0,styles:[[".close-button[_ngcontent-%COMP%], .cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]::after{content:'';display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.ml-3\\.5[_ngcontent-%COMP%]{margin-left:1.25rem!important}.mr-3\\.5[_ngcontent-%COMP%]{margin-right:1.25rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:15px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;margin-top:2px}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]],data:{}});function JY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","icon-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(2,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(3,0,["",""]))],(function(t,e){t(e,2,0)}),(function(t,e){var n=e.component;t(e,1,0,Zi(e,2).inline,"primary"!==Zi(e,2).color&&"accent"!==Zi(e,2).color&&"warn"!==Zi(e,2).color),t(e,3,0,n.config.icon)}))}function ZY(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","second-line"]],null,null,null,null,null)),(t()(),cl(1,null,[" "," "," "])),cr(131072,qg,[Wg,De]),cr(131072,qg,[Wg,De])],null,(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("common.error")),Jn(e,1,1,Zi(e,3).transform(n.config.smallText,n.config.smallTextTranslationParams)))}))}function $Y(t){return pl(0,[(t()(),Go(0,0,null,null,10,"div",[],[[8,"className",0]],null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,JY)),ur(2,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(3,0,null,null,4,"div",[["class","text-container"]],null,null,null,null,null)),(t()(),cl(4,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,null,1,null,ZY)),ur(7,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Go(8,0,null,null,2,"mat-icon",[["class","close-button mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.close()&&i),i}),Xk,$k)),ur(9,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],null,null),(t()(),cl(-1,0,["close"]))],(function(t,e){var n=e.component;t(e,2,0,n.config.icon),t(e,7,0,n.config.smallText),t(e,9,0)}),(function(t,e){var n=e.component;t(e,0,0,"main-container "+n.config.color),t(e,4,0,Jn(e,4,0,Zi(e,5).transform(n.config.text,n.config.textTranslationParams))),t(e,8,0,Zi(e,9).inline,"primary"!==Zi(e,9).color&&"accent"!==Zi(e,9).color&&"warn"!==Zi(e,9).color)}))}function XY(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-snack-bar",[],null,null,null,$Y,GY)),ur(1,49152,null,0,zp,[bg,vg],null,null)],null,null)}var QY=Ni("app-snack-bar",zp,XY,{},{},[]),tA=Xn({encapsulation:0,styles:[[""]],data:{}});function eA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,1,"app-password",[],null,null,null,xT,wT)),ur(4,4440064,null,0,bT,[rx,cp,Lg,Ib],{forInitialConfig:[0,"forInitialConfig"]},null)],(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("settings.password.initial-config.title"))),t(e,4,0,!0)}),null)}function nA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-initial-setup",[],null,null,null,eA,tA)),ur(1,49152,null,0,ox,[],null,null)],null,null)}var iA=Ni("app-initial-setup",ox,nA,{},{},[]),rA=Xn({encapsulation:0,styles:[["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-base[_ngcontent-%COMP%]{font-size:1rem!important}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.font-mini[_ngcontent-%COMP%]{font-size:.7rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.red-text[_ngcontent-%COMP%]{color:#da3439}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:#eee;padding:4px 10px}@media (max-width:767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]],data:{}});function oA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"button",[["class","grey-button-background"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.context.$implicit)&&i),i}),pb,hb)),ur(1,180224,null,0,H_,[an,lg,[2,ub]],{color:[0,"color"]},null),(t()(),Go(2,0,null,0,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),Go(3,0,null,0,1,"div",[["class","label"]],null,null,null,null,null)),(t()(),cl(4,null,["",""]))],(function(t,e){t(e,1,0,"accent")}),(function(t,e){t(e,0,0,Zi(e,1).disabled||null,"NoopAnimations"===Zi(e,1)._animationMode),t(e,2,0,"assets/img/lang/"+e.context.$implicit.iconName),t(e,4,0,e.context.$implicit.name)}))}function lA(t){return pl(0,[(t()(),Go(0,0,null,null,5,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,2,"div",[["class","options-container"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,1,null,oA)),ur(5,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("language.title"))),t(e,5,0,n.languages)}),null)}function aA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-language",[],null,null,null,lA,rA)),ur(1,245760,null,0,zb,[Db,Jg],null,null)],(function(t,e){t(e,1,0)}),null)}var sA=Ni("app-select-language",zb,aA,{},{},[]),uA=Xn({encapsulation:0,styles:[[""]],data:{}});function cA(t){return pl(0,[(t()(),Go(0,0,null,null,12,"div",[["class","options-list-button-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,11,"button",[["class","grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.context.index)&&i),i}),pb,hb)),dr(512,null,ps,fs,[Cn,Ln,an,hn]),ur(3,278528,null,0,ms,[ps],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),sl(4,{"d-xl-none":0}),ur(5,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(6,0,null,0,6,"div",[["class","internal-container"]],null,null,null,null,null)),(t()(),Go(7,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(8,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(9,0,["",""])),(t()(),Go(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(11,null,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){var n=t(e,4,0,e.context.$implicit.notInXl);t(e,3,0,"grey-button-background",n),t(e,8,0,!0)}),(function(t,e){t(e,1,0,Zi(e,5).disabled||null,"NoopAnimations"===Zi(e,5)._animationMode),t(e,7,0,Zi(e,8).inline,"primary"!==Zi(e,8).color&&"accent"!==Zi(e,8).color&&"warn"!==Zi(e,8).color),t(e,9,0,e.context.$implicit.icon),t(e,11,0,Jn(e,11,0,Zi(e,12).transform(e.context.$implicit.label)))}))}function dA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,cA)),ur(4,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("tabs-window.title"))),t(e,4,0,n.data)}),null)}function hA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-tab",[],null,null,null,dA,uA)),ur(1,49152,null,0,DM,[Tb,Db],null,null)],null,null)}var pA=Ni("app-select-tab",DM,hA,{},{},[]),fA=Xn({encapsulation:0,styles:[[""]],data:{}});function mA(t){return pl(0,[(t()(),Go(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,7,"button",[["class","grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.parent.context.$implicit,t.context.$implicit)&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,5,"div",[["class","internal-container"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(5,null,["",""])),cr(131072,qg,[Wg,De]),(t()(),cl(7,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,5,0,Jn(e,5,0,Zi(e,6).transform(e.parent.context.$implicit))),t(e,7,0,Jn(e,7,0,Zi(e,8).transform(e.context.$implicit?"tables.descending-order":"tables.ascending-order")))}))}function gA(t){return pl(0,[(t()(),Go(0,0,null,null,3,"div",[["class","options-list-button-container"]],null,null,null,null,null)),(t()(),Ko(16777216,null,null,2,null,mA)),ur(2,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null),al(3,2)],(function(t,e){var n=t(e,3,0,!1,!0);t(e,2,0,n)}),null)}function _A(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,gA)),ur(4,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("tables.title"))),t(e,4,0,n.data)}),null)}function yA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-column",[],null,null,null,_A,fA)),ur(1,49152,null,0,qM,[Tb,Db],null,null)],null,null)}var vA=Ni("app-select-column",qM,yA,{},{},[]),bA=Xn({encapsulation:0,styles:[[""]],data:{}});function wA(t){return pl(0,[(t()(),Go(0,0,null,null,9,"div",[["class","options-list-button-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,8,"button",[["class","grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.context.index+1)&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,6,"div",[["class","internal-container"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(5,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(6,0,["",""])),(t()(),Go(7,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),cl(8,null,["",""])),cr(131072,qg,[Wg,De])],(function(t,e){t(e,5,0,!0)}),(function(t,e){t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,4,0,Zi(e,5).inline,"primary"!==Zi(e,5).color&&"accent"!==Zi(e,5).color&&"warn"!==Zi(e,5).color),t(e,6,0,e.context.$implicit.icon),t(e,8,0,Jn(e,8,0,Zi(e,9).transform(e.context.$implicit.label)))}))}function kA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,wA)),ur(4,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("common.options"))),t(e,4,0,n.data)}),null)}function xA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-option",[],null,null,null,kA,bA)),ur(1,49152,null,0,ZM,[Tb,Db],null,null)],null,null)}var MA=Ni("app-select-option",ZM,xA,{},{},[]),SA=Xn({encapsulation:0,styles:[[""]],data:{}});function CA(t){return pl(0,[(t()(),Go(0,0,null,null,5,"div",[["class","options-list-button-container"]],null,null,null,null,null)),(t()(),Go(1,0,null,null,4,"button",[["class","grey-button-background"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.closePopup(t.context.$implicit)&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,2,"div",[["class","internal-container"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(5,null,["",""]))],null,(function(t,e){t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,5,0,e.context.$implicit)}))}function LA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,CA)),ur(4,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("paginator.select-page-title"))),t(e,4,0,n.options)}),null)}function DA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-select-page",[],null,null,null,LA,SA)),ur(1,49152,null,0,hC,[Tb,Db],null,null)],null,null)}var TA=Ni("app-select-page",hC,DA,{},{},[]),OA=function(){function t(t,e){this.data=t;var n=location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8080");this.consoleUrl=e.bypassSecurityTrustResourceUrl(n+"//"+i+"/pty/"+t.pk)}return t.openDialog=function(e,n){var i=new Mb;return i.data=n,i.autoFocus=!1,i.width="950px",e.open(t,i)},t}(),PA=Xn({encapsulation:0,styles:[[".main-area[_ngcontent-%COMP%]{margin:0 -24px -24px;padding:0;background:#000;line-height:0}.main-area[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{width:100%;height:75vh;border:none}"]],data:{}});function EA(t){return pl(0,[(t()(),Go(0,0,null,null,4,"app-dialog",[],null,null,null,nO,JT)),ur(1,49152,null,0,GT,[],{headline:[0,"headline"],includeScrollableArea:[1,"includeScrollableArea"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(3,0,null,0,1,"div",[["class","main-area"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,0,"iframe",[],[[8,"src",5]],null,null,null,null))],(function(t,e){var n=e.component;t(e,1,0,Jn(e,1,0,Zi(e,2).transform("actions.terminal.title"))+" - "+n.data.label+" ("+n.data.pk+")",!1)}),(function(t,e){t(e,4,0,e.component.consoleUrl)}))}function IA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-terminal",[],null,null,null,EA,PA)),ur(1,49152,null,0,OA,[Tb,Ac],null,null)],null,null)}var YA=Ni("app-terminal",OA,IA,{},{},[]),AA=Xn({encapsulation:0,styles:[[""]],data:{}});function RA(t){return pl(0,[Qo(671088640,1,{button:0}),Qo(671088640,2,{firstInput:0}),(t()(),Go(2,0,null,null,59,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,0,56,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,7).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,7).onReset()&&i),i}),null,null)),ur(6,16384,null,0,qw,[],null,null),ur(7,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(9,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(10,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(11,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,3,{_controlNonStatic:0}),Qo(335544320,4,{_controlStatic:0}),Qo(603979776,5,{_labelChildNonStatic:0}),Qo(335544320,6,{_labelChildStatic:0}),Qo(603979776,7,{_placeholderChild:0}),Qo(603979776,8,{_errorChildren:1}),Qo(603979776,9,{_hintChildren:1}),Qo(603979776,10,{_prefixChildren:1}),Qo(603979776,11,{_suffixChildren:1}),(t()(),Go(21,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","password"],["id","password"],["matInput",""],["maxlength","100"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,22)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,22).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,22)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,22)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,29)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,29)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,29)._onInput()&&i),i}),null,null)),ur(22,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(23,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(26,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(28,16384,null,0,iw,[[4,ew]],null,null),ur(29,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[3,4],[4,4]],OD,null,[yT]),(t()(),Go(32,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(33,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,12,{_controlNonStatic:0}),Qo(335544320,13,{_controlStatic:0}),Qo(603979776,14,{_labelChildNonStatic:0}),Qo(335544320,15,{_labelChildStatic:0}),Qo(603979776,16,{_placeholderChild:0}),Qo(603979776,17,{_errorChildren:1}),Qo(603979776,18,{_hintChildren:1}),Qo(603979776,19,{_prefixChildren:1}),Qo(603979776,20,{_suffixChildren:1}),(t()(),Go(43,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","passwordConfirmation"],["id","passwordConfirmation"],["matInput",""],["maxlength","100"],["type","password"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,44)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,44).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,44)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,44)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,51)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,51)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,51)._onInput()&&i),i}),null,null)),ur(44,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(45,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(48,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(50,16384,null,0,iw,[[4,ew]],null,null),ur(51,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[12,4],[13,4]],OD,null,[yT]),(t()(),Go(54,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(55,16384,[[17,4]],0,TD,[],null,null),(t()(),cl(56,null,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(58,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.saveChanges()&&i),i}),$x,Vx)),ur(59,180224,[[1,4],["button",4]],0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(60,0,[" "," "])),cr(131072,qg,[Wg,De])],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("apps.skysocks-settings.title"))),t(e,7,0,n.form),t(e,23,0,"100"),t(e,26,0,"password"),t(e,29,0,"password",Jn(e,29,1,Zi(e,30).transform("apps.skysocks-settings.new-password")),"password"),t(e,45,0,"100"),t(e,48,0,"passwordConfirmation"),t(e,51,0,"passwordConfirmation",Jn(e,51,1,Zi(e,52).transform("apps.skysocks-settings.repeat-password")),"password"),t(e,59,0,"mat-raised-button",!n.form.valid,"primary")}),(function(t,e){t(e,5,0,Zi(e,9).ngClassUntouched,Zi(e,9).ngClassTouched,Zi(e,9).ngClassPristine,Zi(e,9).ngClassDirty,Zi(e,9).ngClassValid,Zi(e,9).ngClassInvalid,Zi(e,9).ngClassPending),t(e,10,1,["standard"==Zi(e,11).appearance,"fill"==Zi(e,11).appearance,"outline"==Zi(e,11).appearance,"legacy"==Zi(e,11).appearance,Zi(e,11)._control.errorState,Zi(e,11)._canLabelFloat,Zi(e,11)._shouldLabelFloat(),Zi(e,11)._hasFloatingLabel(),Zi(e,11)._hideControlPlaceholder(),Zi(e,11)._control.disabled,Zi(e,11)._control.autofilled,Zi(e,11)._control.focused,"accent"==Zi(e,11).color,"warn"==Zi(e,11).color,Zi(e,11)._shouldForward("untouched"),Zi(e,11)._shouldForward("touched"),Zi(e,11)._shouldForward("pristine"),Zi(e,11)._shouldForward("dirty"),Zi(e,11)._shouldForward("valid"),Zi(e,11)._shouldForward("invalid"),Zi(e,11)._shouldForward("pending"),!Zi(e,11)._animationsEnabled]),t(e,21,1,[Zi(e,23).maxlength?Zi(e,23).maxlength:null,Zi(e,28).ngClassUntouched,Zi(e,28).ngClassTouched,Zi(e,28).ngClassPristine,Zi(e,28).ngClassDirty,Zi(e,28).ngClassValid,Zi(e,28).ngClassInvalid,Zi(e,28).ngClassPending,Zi(e,29)._isServer,Zi(e,29).id,Zi(e,29).placeholder,Zi(e,29).disabled,Zi(e,29).required,Zi(e,29).readonly&&!Zi(e,29)._isNativeSelect||null,Zi(e,29)._ariaDescribedby||null,Zi(e,29).errorState,Zi(e,29).required.toString()]),t(e,32,1,["standard"==Zi(e,33).appearance,"fill"==Zi(e,33).appearance,"outline"==Zi(e,33).appearance,"legacy"==Zi(e,33).appearance,Zi(e,33)._control.errorState,Zi(e,33)._canLabelFloat,Zi(e,33)._shouldLabelFloat(),Zi(e,33)._hasFloatingLabel(),Zi(e,33)._hideControlPlaceholder(),Zi(e,33)._control.disabled,Zi(e,33)._control.autofilled,Zi(e,33)._control.focused,"accent"==Zi(e,33).color,"warn"==Zi(e,33).color,Zi(e,33)._shouldForward("untouched"),Zi(e,33)._shouldForward("touched"),Zi(e,33)._shouldForward("pristine"),Zi(e,33)._shouldForward("dirty"),Zi(e,33)._shouldForward("valid"),Zi(e,33)._shouldForward("invalid"),Zi(e,33)._shouldForward("pending"),!Zi(e,33)._animationsEnabled]),t(e,43,1,[Zi(e,45).maxlength?Zi(e,45).maxlength:null,Zi(e,50).ngClassUntouched,Zi(e,50).ngClassTouched,Zi(e,50).ngClassPristine,Zi(e,50).ngClassDirty,Zi(e,50).ngClassValid,Zi(e,50).ngClassInvalid,Zi(e,50).ngClassPending,Zi(e,51)._isServer,Zi(e,51).id,Zi(e,51).placeholder,Zi(e,51).disabled,Zi(e,51).required,Zi(e,51).readonly&&!Zi(e,51)._isNativeSelect||null,Zi(e,51)._ariaDescribedby||null,Zi(e,51).errorState,Zi(e,51).required.toString()]),t(e,54,0,Zi(e,55).id),t(e,56,0,Jn(e,56,0,Zi(e,57).transform("apps.skysocks-settings.passwords-not-match"))),t(e,60,0,Jn(e,60,0,Zi(e,61).transform("apps.skysocks-settings.save")))}))}function jA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-skysocks-settings",[],null,null,null,RA,AA)),ur(1,245760,null,0,YL,[Tb,PL,nk,Db,Lg,Ib],null,null)],(function(t,e){t(e,1,0)}),null)}var FA=Ni("app-skysocks-settings",YL,jA,{},{},[]),NA=Xn({encapsulation:0,styles:[["form[_ngcontent-%COMP%]{margin-top:15px}.no-history-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.no-history-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.top-history-margin[_ngcontent-%COMP%]{width:100%;height:15px}.history-button-content[_ngcontent-%COMP%]{text-align:left;padding:5px 0}"]],data:{}});function HA(t){return pl(0,[(t()(),Go(0,0,null,null,2,null,null,null,null,null,null,null)),(t()(),cl(1,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,1,0,Jn(e,1,0,Zi(e,2).transform("apps.skysocks-client-settings.remote-key-length-error")))}))}function zA(t){return pl(0,[(t()(),cl(0,null,[" "," "])),cr(131072,qg,[Wg,De])],null,(function(t,e){t(e,0,0,Jn(e,0,0,Zi(e,1).transform("apps.skysocks-client-settings.remote-key-chars-error")))}))}function VA(t){return pl(0,[(t()(),Go(0,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,6,"div",[["class","no-history-text"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Xk,$k)),ur(3,9158656,null,0,Jk,[an,zk,[8,null],[2,Uk],[2,$t]],{inline:[0,"inline"]},null),(t()(),cl(-1,0,["error"])),(t()(),cl(5,null,[" "," "])),sl(6,{number:0}),cr(131072,qg,[Wg,De])],(function(t,e){t(e,3,0,!0)}),(function(t,e){var n=e.component;t(e,2,0,Zi(e,3).inline,"primary"!==Zi(e,3).color&&"accent"!==Zi(e,3).color&&"warn"!==Zi(e,3).color);var i=Jn(e,5,0,Zi(e,7).transform("apps.skysocks-client-settings.no-history",t(e,6,0,n.maxHistoryElements)));t(e,5,0,i)}))}function BA(t){return pl(0,[(t()(),Go(0,0,null,null,0,"div",[["class","top-history-margin"]],null,null,null,null,null))],null,null)}function WA(t){return pl(0,[(t()(),Go(0,0,null,null,5,null,null,null,null,null,null,null)),(t()(),Go(1,0,null,null,4,"button",[["class","grey-button-background w-100"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.saveChanges(t.context.$implicit)&&i),i}),pb,hb)),ur(2,180224,null,0,H_,[an,lg,[2,ub]],null,null),(t()(),Go(3,0,null,0,2,"div",[["class","history-button-content"]],null,null,null,null,null)),(t()(),Go(4,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),cl(5,null,["",""]))],null,(function(t,e){t(e,1,0,Zi(e,2).disabled||null,"NoopAnimations"===Zi(e,2)._animationMode),t(e,5,0,e.context.$implicit)}))}function UA(t){return pl(0,[Qo(671088640,1,{button:0}),Qo(671088640,2,{firstInput:0}),(t()(),Go(2,0,null,null,57,"app-dialog",[],null,null,null,nO,JT)),ur(3,49152,null,0,GT,[],{headline:[0,"headline"]},null),cr(131072,qg,[Wg,De]),(t()(),Go(5,0,null,0,54,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,TE,xE)),ur(6,3325952,null,1,yE,[an,De,[2,_E],[2,ub]],null,null),Qo(603979776,3,{_tabs:1}),(t()(),Go(8,16777216,null,null,40,"mat-tab",[],null,null,null,jE,AE)),ur(9,770048,[[3,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,4,{templateLabel:0}),Qo(335544320,5,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Go(13,0,null,0,35,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Zi(t,15).onSubmit(n)&&i),"reset"===e&&(i=!1!==Zi(t,15).onReset()&&i),i}),null,null)),ur(14,16384,null,0,qw,[],null,null),ur(15,540672,null,0,Jw,[[8,null],[8,null]],{form:[0,"form"]},null),dr(2048,null,Qb,null,[Jw]),ur(17,16384,null,0,rw,[[4,Qb]],null,null),(t()(),Go(18,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,JD,jD)),ur(19,7520256,null,9,AD,[an,De,[2,j_],[2,W_],[2,YD],Zf,co,[2,ub]],null,null),Qo(603979776,6,{_controlNonStatic:0}),Qo(335544320,7,{_controlStatic:0}),Qo(603979776,8,{_labelChildNonStatic:0}),Qo(335544320,9,{_labelChildStatic:0}),Qo(603979776,10,{_placeholderChild:0}),Qo(603979776,11,{_errorChildren:1}),Qo(603979776,12,{_hintChildren:1}),Qo(603979776,13,{_prefixChildren:1}),Qo(603979776,14,{_suffixChildren:1}),(t()(),Go(29,0,[[2,0],["firstInput",1]],1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","pk"],["id","pk"],["matInput",""],["maxlength","66"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Zi(t,30)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,30).onTouched()&&i),"compositionstart"===e&&(i=!1!==Zi(t,30)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Zi(t,30)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==Zi(t,37)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==Zi(t,37)._focusChanged(!0)&&i),"input"===e&&(i=!1!==Zi(t,37)._onInput()&&i),i}),null,null)),ur(30,16384,null,0,$b,[hn,an,[2,Zb]],null,null),ur(31,540672,null,0,tk,[],{maxlength:[0,"maxlength"]},null),dr(1024,null,lw,(function(t){return[t]}),[tk]),dr(1024,null,Gb,(function(t){return[t]}),[$b]),ur(34,671744,null,0,Qw,[[3,Qb],[6,lw],[8,null],[6,Gb],[2,Kw]],{name:[0,"name"]},null),dr(2048,null,ew,null,[Qw]),ur(36,16384,null,0,iw,[[4,ew]],null,null),ur(37,999424,null,0,yT,[an,Zf,[6,ew],[2,Bw],[2,Jw],d_,[8,null],fT,co],{id:[0,"id"],placeholder:[1,"placeholder"]},null),cr(131072,qg,[Wg,De]),dr(2048,[[6,4],[7,4]],OD,null,[yT]),(t()(),Go(40,0,null,5,3,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),ur(41,16384,[[11,4]],0,TD,[],null,null),(t()(),Ko(16777216,null,null,1,null,HA)),ur(43,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),Ko(0,[["hexError",2]],1,0,null,zA)),(t()(),Go(45,0,null,null,3,"app-button",[["class","float-right"],["color","primary"],["type","mat-raised-button"]],null,[[null,"action"]],(function(t,e,n){var i=!0;return"action"===e&&(i=!1!==t.component.saveChanges()&&i),i}),$x,Vx)),ur(46,180224,[[1,4],["button",4]],0,zx,[],{type:[0,"type"],disabled:[1,"disabled"],color:[2,"color"]},{action:"action"}),(t()(),cl(47,0,[" "," "])),cr(131072,qg,[Wg,De]),(t()(),Go(49,16777216,null,null,10,"mat-tab",[],null,null,null,jE,AE)),ur(50,770048,[[3,4]],2,hE,[In],{textLabel:[0,"textLabel"]},null),Qo(603979776,15,{templateLabel:0}),Qo(335544320,16,{_explicitContent:0}),cr(131072,qg,[Wg,De]),(t()(),Ko(16777216,null,0,1,null,VA)),ur(55,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,BA)),ur(57,16384,null,0,vs,[In,Pn],{ngIf:[0,"ngIf"]},null),(t()(),Ko(16777216,null,0,1,null,WA)),ur(59,278528,null,0,_s,[In,Pn,Cn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,3,0,Jn(e,3,0,Zi(e,4).transform("apps.skysocks-client-settings.title"))),t(e,9,0,Jn(e,9,0,Zi(e,12).transform("apps.skysocks-client-settings.remote-visor-tab"))),t(e,15,0,n.form),t(e,31,0,"66"),t(e,34,0,"pk"),t(e,37,0,"pk",Jn(e,37,1,Zi(e,38).transform("apps.skysocks-client-settings.public-key"))),t(e,43,0,!n.form.get("pk").hasError("pattern"),Zi(e,44)),t(e,46,0,"mat-raised-button",!n.form.valid,"primary"),t(e,50,0,Jn(e,50,0,Zi(e,53).transform("apps.skysocks-client-settings.history-tab"))),t(e,55,0,0===n.history.length),t(e,57,0,n.history.length>0),t(e,59,0,n.history)}),(function(t,e){t(e,5,0,Zi(e,6).dynamicHeight,"below"===Zi(e,6).headerPosition),t(e,13,0,Zi(e,17).ngClassUntouched,Zi(e,17).ngClassTouched,Zi(e,17).ngClassPristine,Zi(e,17).ngClassDirty,Zi(e,17).ngClassValid,Zi(e,17).ngClassInvalid,Zi(e,17).ngClassPending),t(e,18,1,["standard"==Zi(e,19).appearance,"fill"==Zi(e,19).appearance,"outline"==Zi(e,19).appearance,"legacy"==Zi(e,19).appearance,Zi(e,19)._control.errorState,Zi(e,19)._canLabelFloat,Zi(e,19)._shouldLabelFloat(),Zi(e,19)._hasFloatingLabel(),Zi(e,19)._hideControlPlaceholder(),Zi(e,19)._control.disabled,Zi(e,19)._control.autofilled,Zi(e,19)._control.focused,"accent"==Zi(e,19).color,"warn"==Zi(e,19).color,Zi(e,19)._shouldForward("untouched"),Zi(e,19)._shouldForward("touched"),Zi(e,19)._shouldForward("pristine"),Zi(e,19)._shouldForward("dirty"),Zi(e,19)._shouldForward("valid"),Zi(e,19)._shouldForward("invalid"),Zi(e,19)._shouldForward("pending"),!Zi(e,19)._animationsEnabled]),t(e,29,1,[Zi(e,31).maxlength?Zi(e,31).maxlength:null,Zi(e,36).ngClassUntouched,Zi(e,36).ngClassTouched,Zi(e,36).ngClassPristine,Zi(e,36).ngClassDirty,Zi(e,36).ngClassValid,Zi(e,36).ngClassInvalid,Zi(e,36).ngClassPending,Zi(e,37)._isServer,Zi(e,37).id,Zi(e,37).placeholder,Zi(e,37).disabled,Zi(e,37).required,Zi(e,37).readonly&&!Zi(e,37)._isNativeSelect||null,Zi(e,37)._ariaDescribedby||null,Zi(e,37).errorState,Zi(e,37).required.toString()]),t(e,40,0,Zi(e,41).id),t(e,47,0,Jn(e,47,0,Zi(e,48).transform("apps.skysocks-client-settings.save")))}))}function qA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-skysocks-client-settings",[],null,null,null,UA,NA)),ur(1,245760,null,0,AL,[Tb,Db,PL,nk,Lg,Ib],null,null)],(function(t,e){t(e,1,0)}),null)}var KA=Ni("app-skysocks-client-settings",AL,qA,{},{},[]),GA=Xn({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}"]],data:{}});function JA(t){return pl(0,[(t()(),Go(0,0,null,null,2,"div",[["class","flex-1"]],null,null,null,null,null)),(t()(),Go(1,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ur(2,212992,null,0,mp,[fp,In,nn,[8,null],De],null,null)],(function(t,e){t(e,2,0)}),null)}function ZA(t){return pl(0,[(t()(),Go(0,0,null,null,1,"app-root",[],null,null,null,JA,GA)),ur(1,49152,null,0,Zg,[Fp,Oa,cp,Lg,Ib,Jg],null,null)],null,null)}var $A=Ni("app-root",Zg,ZA,{},{},[]),XA=function(){function t(){}return t.prototype.getTranslation=function(t){return V(n("5ey7")("./"+t+".json"))},t}(),QA=function(){return function(){}}(),tR=function(){function t(t,e,n){this.authService=t,this.router=e,this.matDialog=n}return t.prototype.canActivate=function(t,e){return this.checkIfCanActivate(t)},t.prototype.canActivateChild=function(t,e){return this.checkIfCanActivate(t)},t.prototype.checkIfCanActivate=function(t){var e=this;return this.authService.checkLogin().pipe(hu((function(){return Hs(ix.AuthDisabled)})),F((function(n){return"login"!==t.routeConfig.path||n!==ix.Logged&&n!==ix.AuthDisabled?"login"===t.routeConfig.path||n===ix.Logged||n===ix.AuthDisabled||(e.router.navigate(["login"],{replaceUrl:!0}),e.matDialog.closeAll(),!1):(e.router.navigate(["nodes"],{replaceUrl:!0}),!1)})))},t.ngInjectableDef=ht({factory:function(){return new t(At(rx),At(cp),At(Ib))},token:t,providedIn:"root"}),t}(),eR=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return!1},t}(),nR=function(){return function(){}}(),iR=function(){return function(){}}(),rR=new St("mat-chips-default-options"),oR=function(){return function(){}}(),lR=va(Sa,[Zg],(function(t){return function(t){for(var e={},n=[],i=!1,r=0;r=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,0]]]);